From 116c464882ff6a256d9079bdc0b5346eef7f41ad Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 10 Jun 2015 16:46:46 +0000 Subject: - Update to 0.56 - Update manpages - Update maintainer section Changes: http://joeyh.name/code/moreutils/news/version_0.56/ --- sysutils/moreutils/Makefile | 4 +-- sysutils/moreutils/distinfo | 4 +-- sysutils/moreutils/files/errno.1 | 2 +- sysutils/moreutils/files/moreutils-parallel.1 | 3 +++ sysutils/moreutils/files/patch-ifdata.c | 35 +++++++++++++++++++++++++++ sysutils/moreutils/files/sponge.1 | 28 +++++++++++++++++---- 6 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 sysutils/moreutils/files/patch-ifdata.c (limited to 'sysutils/moreutils') diff --git a/sysutils/moreutils/Makefile b/sysutils/moreutils/Makefile index 417321a3c0e3..7433f82c7586 100644 --- a/sysutils/moreutils/Makefile +++ b/sysutils/moreutils/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= moreutils -PORTVERSION= 0.55 +PORTVERSION= 0.56 CATEGORIES= sysutils MASTER_SITES= DEBIAN_POOL DISTNAME= ${PORTNAME}_${PORTVERSION}.orig @@ -64,10 +64,10 @@ do-install: # require: docbook-xsl, libxml2, libxslt updateman: do-clean extract - ${MV} ${WRKSRC}/parallel.docbook ${WRKSRC}/moreutils-parallel.docbook .for man in ${CANNED_MANPAGES:R} ${LOCALBASE}/bin/xmllint --noout --valid ${WRKSRC}/${man}.docbook && \ ${LOCALBASE}/bin/xsltproc --output ${FILESDIR}/${man}.1 --param man.authors.section.enabled 0 ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl ${WRKSRC}/${man}.docbook .endfor + ${MV} ${FILESDIR}/parallel.1 ${FILESDIR}/moreutils-parallel.1 .include diff --git a/sysutils/moreutils/distinfo b/sysutils/moreutils/distinfo index 1e274015d521..6ccfffe49a43 100644 --- a/sysutils/moreutils/distinfo +++ b/sysutils/moreutils/distinfo @@ -1,2 +1,2 @@ -SHA256 (moreutils_0.55.orig.tar.gz) = da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5 -SIZE (moreutils_0.55.orig.tar.gz) = 46500 +SHA256 (moreutils_0.56.orig.tar.gz) = ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f +SIZE (moreutils_0.56.orig.tar.gz) = 46704 diff --git a/sysutils/moreutils/files/errno.1 b/sysutils/moreutils/files/errno.1 index 6bcb6e233600..3944240b4f62 100644 --- a/sysutils/moreutils/files/errno.1 +++ b/sysutils/moreutils/files/errno.1 @@ -43,7 +43,7 @@ errno \- look up errno names and descriptions \fBerrno\fR looks up errno macro names, errno codes, and the corresponding descriptions\&. For example, if given ENOENT -on a Linux system, it prints out the code 2 and the description "No such file or directory"\&. If given the code 2, it printes +on a Linux system, it prints out the code 2 and the description "No such file or directory"\&. If given the code 2, it prints ENOENT and the same description\&. .SH "OPTIONS" diff --git a/sysutils/moreutils/files/moreutils-parallel.1 b/sysutils/moreutils/files/moreutils-parallel.1 index 3856042d8fd1..796dba7324a2 100644 --- a/sysutils/moreutils/files/moreutils-parallel.1 +++ b/sysutils/moreutils/files/moreutils-parallel.1 @@ -82,6 +82,9 @@ This runs three independent commands in parallel\&. Its exit status is the combination of the exit statuses of each command ran, ORed together\&. (Thus, if any one command exits nonzero, \fBparallel\fR as a whole will exit nonzero\&.) +.SH "NOTES" +.PP +All output to stdout and stderr is serialised through a corresponding internal pipe, in order to prevent annoying concurrent output behaviour\&. Note that serialisation is not done on any other file descriptors and file position based access to a nonstandard file descriptor might have unexpected results\&. .SH "AUTHOR" .PP Tollef Fog Heen diff --git a/sysutils/moreutils/files/patch-ifdata.c b/sysutils/moreutils/files/patch-ifdata.c new file mode 100644 index 000000000000..1ae89835fd07 --- /dev/null +++ b/sysutils/moreutils/files/patch-ifdata.c @@ -0,0 +1,35 @@ +--- ifdata.c.orig 2015-06-03 16:04:42 UTC ++++ ifdata.c +@@ -1,4 +1,4 @@ +-#include ++#include + #include + #include + #include +@@ -19,7 +19,7 @@ + #include + #endif + +-#if defined(__APPLE__) ++#if defined(__FreeBSD__) + #define s6_addr16 __u6_addr.__u6_addr16 + #include + #endif +@@ -130,7 +130,7 @@ static int do_socket_ioctl(const char *i + *ioctl_errno = errno; + if (print_error == PRINT_ERROR) { + if (errno == ENODEV) +- error(EXIT_FAILURE, 0, ++ err(EXIT_FAILURE, + "No such network interface: %s", ifname); + else + fprintf(stderr, "ioctl on %s: %s\n", ifname, +@@ -392,7 +392,7 @@ void please_do(int ndo, int *todo, const + for (i=0; i