From f30270f4b101ec545e4966ccbdb6d68cef8238e9 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Fri, 27 Mar 2009 22:21:06 +0000 Subject: [PATCH] Update to prips-0.9.5, released by me after adopting the upstream package. --- sysutils/prips/Makefile | 11 +++--- sysutils/prips/distinfo | 6 ++-- sysutils/prips/files/patch-except.c | 9 ----- sysutils/prips/files/patch-main.c | 52 ----------------------------- sysutils/prips/files/patch-prips.c | 12 ------- sysutils/prips/pkg-descr | 2 +- 6 files changed, 9 insertions(+), 83 deletions(-) delete mode 100644 sysutils/prips/files/patch-except.c delete mode 100644 sysutils/prips/files/patch-main.c delete mode 100644 sysutils/prips/files/patch-prips.c diff --git a/sysutils/prips/Makefile b/sysutils/prips/Makefile index dc77cd2c850d..697ff499b944 100644 --- a/sysutils/prips/Makefile +++ b/sysutils/prips/Makefile @@ -6,24 +6,23 @@ # PORTNAME= prips -PORTVERSION= 0.9.4 +PORTVERSION= 0.9.5 CATEGORIES= sysutils -MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} -DISTNAME= ${PORTNAME}_${PORTVERSION}.orig +MASTER_SITES= http://devel.ringlet.net/sysutils/prips/ MAINTAINER= roam@FreeBSD.org COMMENT= Prints IP subnet ranges by list or CIDR -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" - PORTDOCS= README PLIST_FILES= bin/prips +MAN1= prips.1 +MANCOMPRESSED= yes .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/prips.1.gz ${PREFIX}/man/man1/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/sysutils/prips/distinfo b/sysutils/prips/distinfo index e17c4de8157e..c3e64642312a 100644 --- a/sysutils/prips/distinfo +++ b/sysutils/prips/distinfo @@ -1,3 +1,3 @@ -MD5 (prips_0.9.4.orig.tar.gz) = e09f2825c81c44a7e27528b942989d61 -SHA256 (prips_0.9.4.orig.tar.gz) = 0bc9b696810f3b05bd5b174fa60a393a37884831b3bbed3ec2fc690d21beb87b -SIZE (prips_0.9.4.orig.tar.gz) = 6292 +MD5 (prips-0.9.5.tar.gz) = 1c9a569abca6e1f1181cda5389313b35 +SHA256 (prips-0.9.5.tar.gz) = 7715a5fcf65750b9143c8b2020f08259fb51f909eefd26b310e1e38dc27b2761 +SIZE (prips-0.9.5.tar.gz) = 15168 diff --git a/sysutils/prips/files/patch-except.c b/sysutils/prips/files/patch-except.c deleted file mode 100644 index e9fd58ae7681..000000000000 --- a/sysutils/prips/files/patch-except.c +++ /dev/null @@ -1,9 +0,0 @@ ---- except.c.orig Wed Jun 2 10:50:51 1999 -+++ except.c Fri May 26 03:59:25 2006 -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - #include - #include diff --git a/sysutils/prips/files/patch-main.c b/sysutils/prips/files/patch-main.c deleted file mode 100644 index 78d8f7db81a6..000000000000 --- a/sysutils/prips/files/patch-main.c +++ /dev/null @@ -1,52 +0,0 @@ ---- main.c.orig Mon Oct 20 17:59:26 2003 -+++ main.c Mon Oct 20 18:02:56 2003 -@@ -1,9 +1,9 @@ - /* program that prints IP address ranges */ -+#include "prips.h" - #include - #include - #include - #include --#include "prips.h" - #include "except.h" - - typedef enum { -@@ -16,11 +16,11 @@ - - const char *MAINTAINER = "dan@vertekcorp.com"; - const char *VERSION = -- "\rprips 0.9.4 -- \rThis program comes with NO WARRANTY, -- \rto the extent permitted by law. -- \rYou may redistribute copies under -- \rthe terms of the GNU General Public License.\n"; -+ "\rprips 0.9.4\n"\ -+" \rThis program comes with NO WARRANTY,\n"\ -+" \rto the extent permitted by law.\n"\ -+" \rYou may redistribute copies under\n"\ -+" \rthe terms of the GNU General Public License.\n"; - - void usage(char *prog); - AddrFormat get_format(char *format); -@@ -166,14 +166,13 @@ - - void usage(char *prog) - { -- fprintf(stderr, "usage: %s [options] -- -c print range in CIDR notation -- -d set the delimeter 'x' where 0 =< x =< 255 -- -f set the format of addresses (hex, dec, or dot) -- -i set the increment to 'x' -- -e e.g. -e ..4. will not print 192.168.4.[0-255] -- -- \rReport bugs to %s\n", -+ fprintf(stderr, "usage: %s [options] \n"\ -+" -c print range in CIDR notation\n"\ -+" -d set the delimeter 'x' where 0 =< x =< 255\n"\ -+" -f set the format of addresses (hex, dec, or dot)\n"\ -+" -i set the increment to 'x'\n"\ -+" -e e.g. -e ..4. will not print 192.168.4.[0-255]\n\n"\ -+" \rReport bugs to %s\n", - prog, MAINTAINER); - } - diff --git a/sysutils/prips/files/patch-prips.c b/sysutils/prips/files/patch-prips.c deleted file mode 100644 index 97f6faa78f3a..000000000000 --- a/sysutils/prips/files/patch-prips.c +++ /dev/null @@ -1,12 +0,0 @@ ---- prips.c.orig Tue Dec 14 12:44:46 1999 -+++ prips.c Fri May 26 03:56:39 2006 -@@ -1,8 +1,7 @@ -+#include "prips.h" - #include - #include - #include --#include --#include "prips.h" - - #if !defined(INET_ADDRSTRLEN) - #define INET_ADDRSTRLEN 16 diff --git a/sysutils/prips/pkg-descr b/sysutils/prips/pkg-descr index d4e3652243ec..facd6aee93dd 100644 --- a/sysutils/prips/pkg-descr +++ b/sysutils/prips/pkg-descr @@ -2,6 +2,6 @@ prips is a tool that can be used to print all of the IP address on a given range. It can enhance the usability of tools that are made to work on only one host at a time (e.g. whois). -WWW: http://directory.fsf.org/ipsc.html +WWW: http://devel.ringlet.net/sysutils/prips/ -Jeremy