summaryrefslogtreecommitdiff
path: root/net-mgmt/cidr
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-04 03:17:12 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-04 03:17:12 +0000
commitb28335a0f8bd5bf24abd5da5bc3a491b4ea3e3d1 (patch)
tree4e2d00c6f0a3d0b0d1c735798d3040d67cbb4227 /net-mgmt/cidr
parentUnbreak on current by using ${CXX} to compile instead of ${CC}, (diff)
Update to 2.3.2
Approved by: 2 week timeout
Notes
Notes: svn path=/head/; revision=60568
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 53fd1d57e889..bfed7e3061de 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 eabd006124b3..00c902052a58 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 a9d1ec738e0e..5434f36f13cb 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 486dc316e448..24725bf475fe 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