summaryrefslogtreecommitdiffstats
path: root/net-mgmt/cidr
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-06-04 03:17:12 +0000
committerpat <pat@FreeBSD.org>2002-06-04 03:17:12 +0000
commit1c33743c0776b5a46503069bf4f5029b80b627c0 (patch)
treeca59cfd0205250c6152dfedf8a2b29472db437bd /net-mgmt/cidr
parent92788efe62657e2f0ca248fb92b3c5cdeef090d4 (diff)
downloadFreeBSD-ports-1c33743c0776b5a46503069bf4f5029b80b627c0.zip
FreeBSD-ports-1c33743c0776b5a46503069bf4f5029b80b627c0.tar.gz
Update to 2.3.2
Approved by: 2 week timeout
Diffstat (limited to 'net-mgmt/cidr')
-rw-r--r--net-mgmt/cidr/Makefile11
-rw-r--r--net-mgmt/cidr/distinfo2
-rw-r--r--net-mgmt/cidr/files/patch-aa34
-rw-r--r--net-mgmt/cidr/pkg-descr2
4 files changed, 34 insertions, 15 deletions
diff --git a/net-mgmt/cidr/Makefile b/net-mgmt/cidr/Makefile
index 53fd1d5..bfed7e3 100644
--- a/net-mgmt/cidr/Makefile
+++ b/net-mgmt/cidr/Makefile
@@ -5,21 +5,20 @@
# $FreeBSD$
PORTNAME= cidr
-PORTVERSION= 2.3.1
+PORTVERSION= 2.3.2
CATEGORIES= net
-MASTER_SITES= http://home.netcom.com/~naym/cidr/
+MASTER_SITES= http://geeksoul.com/robert/cidr/
DISTNAME= cidr-current
MAINTAINER= midom@dammit.lt
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
-
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= cidr
+MAN1= cidr.1
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cidr ${PREFIX}/bin/cidr
${INSTALL_MAN} ${WRKSRC}/cidr.1 ${PREFIX}/man/man1/cidr.1
-MAN1= cidr.1
-
.include <bsd.port.mk>
diff --git a/net-mgmt/cidr/distinfo b/net-mgmt/cidr/distinfo
index eabd006..00c9020 100644
--- a/net-mgmt/cidr/distinfo
+++ b/net-mgmt/cidr/distinfo
@@ -1 +1 @@
-MD5 (cidr-current.tar.gz) = 5954588563509305df07fd437b51e24a
+MD5 (cidr-current.tar.gz) = b349453a0196fddd3ffa0af5fbbacf54
diff --git a/net-mgmt/cidr/files/patch-aa b/net-mgmt/cidr/files/patch-aa
index a9d1ec7..5434f36 100644
--- a/net-mgmt/cidr/files/patch-aa
+++ b/net-mgmt/cidr/files/patch-aa
@@ -1,11 +1,29 @@
---- Makefile.old Wed Jul 19 12:44:39 2000
-+++ Makefile Sat Jun 17 14:26:22 2000
-@@ -4,7 +4,7 @@
- OBJS = cidr.o
+--- Makefile.orig Fri Jul 20 11:11:34 2001
++++ Makefile Sat May 18 04:21:47 2002
+@@ -1,9 +1,8 @@
+ VERSION=2.3.2
+ RELEASE=1
- cidr: $(OBJS)
-- gcc -Wall -o cidr cidr.c
-+ $(CC) -Wall -o cidr $(OBJS)
+-CC=gcc
+ STRIP=strip
+-CCFLAGS=-Wall
++CCFLAGS= $(CFLAGS)
+
+ SOL7FLAGS=-lsocket -lnsl
+ SOL8FLAGS=-lresolv -lnsl
+@@ -13,15 +12,12 @@
+
+ all :
+ $(CC) $(CCFLAGS) cidr.c -o cidr
+- $(STRIP) cidr
+
+ solaris8:
+ $(CC) $(CCFLAGS) $(SOL8FLAGS) cidr.c -o cidr
+- $(STRIP) cidr
+
+ solaris7:
+ $(CC) $(CCFLAGS) $(SOL7FLAGS) cidr.c -o cidr
+- $(STRIP) cidr
clean:
- rm $(OBJS) cidr
+ rm -f cidr cidr.o \
diff --git a/net-mgmt/cidr/pkg-descr b/net-mgmt/cidr/pkg-descr
index 486dc31..24725bf 100644
--- a/net-mgmt/cidr/pkg-descr
+++ b/net-mgmt/cidr/pkg-descr
@@ -4,3 +4,5 @@ outputs the network address, broadcast address, and total number of
addresses for the corresponding subnet. The IP can be in binary,
decimal, hex, or dotted quad. The mask can be in binary, decimal, hex,
dotted quad, or prefix.
+
+WWW: http://geeksoul.com/robert/cidr.html
OpenPOWER on IntegriCloud