From 6f95636f433ee9a1fa85086027f15c777ebdb4f0 Mon Sep 17 00:00:00 2001 From: cheusov Date: Sun, 25 Aug 2013 14:59:17 +0000 Subject: Update to 0.19.0 This release of paexec was successfully tested on the following platforms: NetBSD-6.1/amd64, OpenBSD-5.3/i386, FreeBSD-8.3/i386, Solaris-10/sparc, Solaris-11/amd64 and diverse Linux/{i386,amd64}. paexec is now selfcontained, libmaa is not needed anymore. Presentation paexec.pdf was added to presentation/. I hope it will help easier understand how "paexec" works. It is installed to ${DOCDIR}. paexec: - POSIX-2008 getline(3) is used for reading lines instead of home-made function. - t '' is equivalent to "no transport", spaces are trimmed. - "-n +NNN" has higher priority than -t, i.e. if they both are specified, transport is ignored. - Fix for -W1. - Environment variable PAEXEC_EOT was introduced. - Option -y was added to paexec(1) and paexec_reorder(1). - Option -C was added to paexec(1). paexec_reorder: - Option -x was added to paexec_reorder(1). A number of fixes and improvements in regression tests. --- parallel/paexec/Makefile | 11 +++++---- parallel/paexec/PLIST | 35 ++++++++++++++------------- parallel/paexec/distinfo | 9 +++---- parallel/paexec/patches/patch-paexec_paexec.c | 15 ------------ 4 files changed, 28 insertions(+), 42 deletions(-) delete mode 100644 parallel/paexec/patches/patch-paexec_paexec.c (limited to 'parallel') diff --git a/parallel/paexec/Makefile b/parallel/paexec/Makefile index 6d25fa2a757..a57e3a46528 100644 --- a/parallel/paexec/Makefile +++ b/parallel/paexec/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2013/03/08 14:06:30 cheusov Exp $ +# $NetBSD: Makefile,v 1.13 2013/08/25 14:59:17 cheusov Exp $ # -DISTNAME= paexec-0.18.0 -PKGREVISION= 1 +DISTNAME= paexec-0.19.0 CATEGORIES= parallel sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=paexec/} \ http://mova.org/~cheusov/pub/paexec/ @@ -31,7 +30,9 @@ MAKE_ENV+= EGDIR=${EGDIR} REPLACE_SH+= examples/cc_wrapper/cc_wrapper_cmd \ tests/broken_echo/transport_broken_echo2 -.include "../../devel/mk-configure/mk-c.mk" +post-install: + set -e; cd ${WRKSRC}; \ + ${INSTALL_DATA} presentation/paexec.pdf ${DESTDIR}${PREFIX}/share/doc/paexec/ -.include "../../devel/libmaa/buildlink3.mk" +.include "../../devel/mk-configure/mk-c.mk" .include "../../mk/bsd.pkg.mk" diff --git a/parallel/paexec/PLIST b/parallel/paexec/PLIST index 90b0705c871..9d19396f2fa 100644 --- a/parallel/paexec/PLIST +++ b/parallel/paexec/PLIST @@ -1,35 +1,36 @@ -@comment $NetBSD: PLIST,v 1.2 2012/09/09 23:30:26 cheusov Exp $ +@comment $NetBSD: PLIST,v 1.3 2013/08/25 14:59:17 cheusov Exp $ bin/paexec bin/paexec_reorder man/man1/paexec.1 man/man1/paexec_reorder.1 share/doc/paexec/COPYRIGHT -share/doc/paexec/ChangeLog share/doc/paexec/NEWS share/doc/paexec/README share/doc/paexec/TODO -share/examples/paexec/all_substr/cmd -share/examples/paexec/all_substr/run -share/examples/paexec/cc_wrapper/cmd +share/doc/paexec/paexec.pdf +share/examples/paexec/all_substr/cmd_all_substr +share/examples/paexec/all_substr/run_all_substr +share/examples/paexec/cc_wrapper/cmd_cc_wrapper share/examples/paexec/cc_wrapper/func1.c share/examples/paexec/cc_wrapper/func2.c share/examples/paexec/cc_wrapper/func3.c -share/examples/paexec/cc_wrapper/run +share/examples/paexec/cc_wrapper/run_cc_wrapper share/examples/paexec/cc_wrapper2/func1.c share/examples/paexec/cc_wrapper2/func2.c share/examples/paexec/cc_wrapper2/func3.c -share/examples/paexec/cc_wrapper2/run -share/examples/paexec/dirtest/run +share/examples/paexec/cc_wrapper2/run_cc_wrapper2 +share/examples/paexec/dirtest/run_dirtest share/examples/paexec/dirtest/tasks -share/examples/paexec/divide/cmd -share/examples/paexec/divide/cmd2 -share/examples/paexec/divide/run -share/examples/paexec/make_package/cmd -share/examples/paexec/make_package/cmd__xxx_failed -share/examples/paexec/make_package/run -share/examples/paexec/make_package/run_cycle +share/examples/paexec/divide/cmd_divide +share/examples/paexec/divide/cmd_divide2 +share/examples/paexec/divide/run_divide +share/examples/paexec/divide/run_divide2 +share/examples/paexec/make_package/cmd_make_package +share/examples/paexec/make_package/cmd_xxx_failed_make_package +share/examples/paexec/make_package/run_cycle_make_package +share/examples/paexec/make_package/run_make_package share/examples/paexec/make_package/tasks share/examples/paexec/make_package/tasks2 share/examples/paexec/make_package/tasks_cycle -share/examples/paexec/toupper/cmd -share/examples/paexec/toupper/run +share/examples/paexec/toupper/cmd_toupper +share/examples/paexec/toupper/run_toupper diff --git a/parallel/paexec/distinfo b/parallel/paexec/distinfo index 1267d00dc1c..f94494045f3 100644 --- a/parallel/paexec/distinfo +++ b/parallel/paexec/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.5 2013/03/08 14:06:30 cheusov Exp $ +$NetBSD: distinfo,v 1.6 2013/08/25 14:59:17 cheusov Exp $ -SHA1 (paexec-0.18.0.tar.gz) = f67ed51c123db17845eaed4f513b334bbe29b0fa -RMD160 (paexec-0.18.0.tar.gz) = ffd14acfa995bb81e2a4f50b03e6056621a8543e -Size (paexec-0.18.0.tar.gz) = 74183 bytes -SHA1 (patch-paexec_paexec.c) = f44c5365c3f8505d54ca7a6650372e4606378086 +SHA1 (paexec-0.19.0.tar.gz) = b114be85107f8d2b710491e39f14f764f1f1e29b +RMD160 (paexec-0.19.0.tar.gz) = 21a4b42c05161881ddd337732dd80a766fa3ddb1 +Size (paexec-0.19.0.tar.gz) = 148938 bytes diff --git a/parallel/paexec/patches/patch-paexec_paexec.c b/parallel/paexec/patches/patch-paexec_paexec.c deleted file mode 100644 index d33738438fb..00000000000 --- a/parallel/paexec/patches/patch-paexec_paexec.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-paexec_paexec.c,v 1.1 2013/03/08 14:06:30 cheusov Exp $ - --t '' is equivalent to "no transport" ---- paexec/paexec.c.orig 2013-03-07 12:24:17.000000000 +0000 -+++ paexec/paexec.c -@@ -955,7 +955,8 @@ static void process_args (int *argc, cha - arg_cmd = xstrdup (optarg); - break; - case 't': -- arg_transport = xstrdup (optarg); -+ if (optarg [0]) -+ arg_transport = xstrdup (optarg); - break; - case 'p': - show_pid = 1; -- cgit v1.2.3