Date: Sun, 10 May 2015 20:15:53 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r385976 - in head/sysutils/moreutils: . files Message-ID: <201505102015.t4AKFriv035466@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun May 10 20:15:53 2015 New Revision: 385976 URL: https://svnweb.freebsd.org/changeset/ports/385976 Log: - Update to 0.55 Changes: http://joeyh.name/code/moreutils/news/version_0.55/ http://joeyh.name/code/moreutils/news/version_0.54/ PR: 200104 Submitted by: olgeni Modified: head/sysutils/moreutils/Makefile head/sysutils/moreutils/distinfo head/sysutils/moreutils/files/patch-moreutils-parallel.c Modified: head/sysutils/moreutils/Makefile ============================================================================== --- head/sysutils/moreutils/Makefile Sun May 10 19:41:34 2015 (r385975) +++ head/sysutils/moreutils/Makefile Sun May 10 20:15:53 2015 (r385976) @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= moreutils -PORTVERSION= 0.53 -PORTREVISION= 1 +PORTVERSION= 0.55 CATEGORIES= sysutils MASTER_SITES= DEBIAN_POOL -DISTNAME= ${PORTNAME}_${PORTVERSION} +DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= sunpoet@FreeBSD.org COMMENT= Additional Unix utilities @@ -21,7 +20,7 @@ OPTIONS_SUB= yes ALL_TARGET= errnos.h ${CANNED_MANPAGES:R} USES= perl5 shebangfix -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} CANNED_MANPAGES=errno.1 \ ifdata.1 \ @@ -42,14 +41,14 @@ PERL_MANPAGES= chronic.1 \ SHEBANG_FILES= ${PERL_MANPAGES:R} post-extract: - @${MV} ${WRKSRC}/ts ${WRKSRC}/moreutils-ts +.for file in parallel.c parallel.docbook ts + @${MV} ${WRKSRC}/${file} ${WRKSRC}/moreutils-${file} +.endfor post-patch: @${REINPLACE_CMD} -e 's|parallel|moreutils-&|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|__APPLE__|__${OPSYS}__|' ${WRKSRC}/ifdata.c @cd ${FILESDIR}/ && ${CP} ${CANNED_MANPAGES} ${WRKSRC}/ - @${MV} ${WRKSRC}/parallel.c ${WRKSRC}/moreutils-parallel.c - @${MV} ${WRKSRC}/parallel.docbook ${WRKSRC}/moreutils-parallel.docbook post-build: .for man in ${PERL_MANPAGES:R} Modified: head/sysutils/moreutils/distinfo ============================================================================== --- head/sysutils/moreutils/distinfo Sun May 10 19:41:34 2015 (r385975) +++ head/sysutils/moreutils/distinfo Sun May 10 20:15:53 2015 (r385976) @@ -1,2 +1,2 @@ -SHA256 (moreutils_0.53.tar.gz) = 4f1842467759b6747f28a624c317a315f0b54a44440d2c8e2eec4d10144696fc -SIZE (moreutils_0.53.tar.gz) = 47613 +SHA256 (moreutils_0.55.orig.tar.gz) = da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5 +SIZE (moreutils_0.55.orig.tar.gz) = 46500 Modified: head/sysutils/moreutils/files/patch-moreutils-parallel.c ============================================================================== --- head/sysutils/moreutils/files/patch-moreutils-parallel.c Sun May 10 19:41:34 2015 (r385975) +++ head/sysutils/moreutils/files/patch-moreutils-parallel.c Sun May 10 20:15:53 2015 (r385976) @@ -1,6 +1,14 @@ ---- ./parallel.c.orig 2010-07-06 12:06:47.000000000 -0700 -+++ ./parallel.c 2010-11-17 15:49:57.000000000 -0800 -@@ -87,6 +87,7 @@ +--- moreutils-parallel.c.orig 2015-01-19 18:03:51 UTC ++++ moreutils-parallel.c +@@ -31,6 +31,7 @@ + #include <sys/types.h> + #include <sys/wait.h> + #include <unistd.h> ++#include <signal.h> + + #ifdef __sun + # include <sys/loadavg.h> /* getloadavg() */ +@@ -112,6 +113,7 @@ void exec_child(char **command, char **a return; } @@ -8,7 +16,7 @@ int wait_for_child(int options) { id_t id_ignored = 0; siginfo_t infop; -@@ -101,6 +102,18 @@ +@@ -126,6 +128,18 @@ int wait_for_child(int options) { } return 1; } @@ -25,5 +33,5 @@ +#endif + - int main(int argc, char **argv) { - int maxjobs = -1; + static int pipe_child(int fd, int orig_fd) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505102015.t4AKFriv035466>