aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ipv6calc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-02-26 23:09:58 +0000
committerPatrick Li <pat@FreeBSD.org>2002-02-26 23:09:58 +0000
commit518410cd6949787fc197fecaffa82d9a57e5189a (patch)
treec5ad69f66d6a9df093f2ac86e21bb127ee1f3c7f /net-mgmt/ipv6calc
parent1eaca1eb5eabbc30b9ede5ba9d872e2bb5a9da76 (diff)
downloadports-518410cd6949787fc197fecaffa82d9a57e5189a.tar.gz
ports-518410cd6949787fc197fecaffa82d9a57e5189a.zip
Notes
Diffstat (limited to 'net-mgmt/ipv6calc')
-rw-r--r--net-mgmt/ipv6calc/Makefile2
-rw-r--r--net-mgmt/ipv6calc/distinfo2
-rw-r--r--net-mgmt/ipv6calc/files/patch-Makefile.in37
-rw-r--r--net-mgmt/ipv6calc/files/patch-ipv6calc.h.in8
4 files changed, 29 insertions, 20 deletions
diff --git a/net-mgmt/ipv6calc/Makefile b/net-mgmt/ipv6calc/Makefile
index 55465de8bcc8..9a3be5268277 100644
--- a/net-mgmt/ipv6calc/Makefile
+++ b/net-mgmt/ipv6calc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ipv6calc
-PORTVERSION= 0.34
+PORTVERSION= 0.38
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
diff --git a/net-mgmt/ipv6calc/distinfo b/net-mgmt/ipv6calc/distinfo
index aa7c41937637..3821b95e54a3 100644
--- a/net-mgmt/ipv6calc/distinfo
+++ b/net-mgmt/ipv6calc/distinfo
@@ -1 +1 @@
-MD5 (ipv6calc-0.34.tar.gz) = 220977ee0bb2ff4202e86b97ac917731
+MD5 (ipv6calc-0.38.tar.gz) = 8d980acc620f7419358982789bd5979b
diff --git a/net-mgmt/ipv6calc/files/patch-Makefile.in b/net-mgmt/ipv6calc/files/patch-Makefile.in
index 9e3975727279..3b673a69521b 100644
--- a/net-mgmt/ipv6calc/files/patch-Makefile.in
+++ b/net-mgmt/ipv6calc/files/patch-Makefile.in
@@ -1,25 +1,34 @@
---- Makefile.in.orig Thu Jan 24 17:01:10 2002
-+++ Makefile.in Wed Jan 30 15:47:31 2002
-@@ -8,11 +8,9 @@
+--- Makefile.in.orig Mon Feb 25 16:40:18 2002
++++ Makefile.in Tue Feb 26 18:06:30 2002
+@@ -9,16 +9,13 @@
+ #
# Compiler and Linker Options
- #COPTS = -O2 -Wall -g # old one
-COPTS = -O2 -Wall -g -ansi # ANSI compatible
-+COPTS = -ansi -I${LOCALBASE}/include # ANSI compatible
++COPTS = -Wall -ansi # ANSI compatible
+
+-CFLAGS = $(COPTS) -Igetopt/
++CFLAGS += $(COPTS) -I${LOCALBASE}/include
--CFLAGS = $(COPTS)
--
-CC = gcc
-+CFLAGS += $(COPTS)
- #OBJS = ipv6calc.o addr_to_compressed.o addr_to_uncompressed.o addr_to_fulluncompressed.o addr_to_ifinet6.o addr_to_ip6int.o ifinet6_to_compressed.o libipv6calc.o addr_to_base85.o librfc1924.o base85_to_addr.o librfc1884.o libmac.o libeui64.o mac_to_eui64.o eui64_to_privacy.o librfc3041.o showinfo.o ipv6types.o
- OBJS = ipv6calc.o addr_to_compressed.o addr_to_uncompressed.o addr_to_fulluncompressed.o addr_to_ifinet6.o addr_to_ip6int.o ifinet6_to_compressed.o libipv6calc.o addr_to_base85.o librfc1924.o base85_to_addr.o librfc1884.o libmac.o libeui64.o mac_to_eui64.o eui64_to_privacy.o librfc3041.o showinfo.o libipv6addr.o
-@@ -25,7 +23,7 @@
- $(OBJS): ipv6calc.h libipv6addr.h librfc1884.h
+ OBJS = ipv6calc.o addr_to_compressed.o addr_to_uncompressed.o addr_to_fulluncompressed.o addr_to_ifinet6.o addr_to_ip6int.o addr_to_bitstring.o ifinet6_to_compressed.o libipv6calc.o addr_to_base85.o librfc1924.o base85_to_addr.o librfc1884.o libmac.o libeui64.o mac_to_eui64.o eui64_to_privacy.o librfc3041.o showinfo.o libipv6addr.o librfc2874.o libhelp.o librfc1886.o
+
+-GETOBJS = getopt/getopt.o getopt/getopt1.o
+-
+ all: ipv6calc
+
+ .c.o:
+@@ -26,9 +23,9 @@
+
+ $(OBJS): ipv6calc.h libipv6addr.h librfc1884.h librfc2874.h addr_to_fulluncompressed.h base85_to_addr.h addr_to_base85.h addr_to_ifinet6.h libeui64.h libmac.h librfc3041.h addr_to_bitstring.h addr_to_ip6int.h eui64_to_privacy.h libhelp.h mac_to_eui64.h addr_to_compressed.h addr_to_uncompressed.h ifinet6_to_compressed.h libipv6addr.h librfc1924.h showinfo.h librfc1886.h
- ipv6calc: $(OBJS)
-- $(CC) -o ipv6calc $(OBJS) -lcrypto
+-ipv6calc: $(OBJS) getopt-make
+- $(CC) -o ipv6calc $(OBJS) $(GETOBJS) -lcrypto
+- $(CC) -o ipv6calc-static $(OBJS) $(GETOBJS) -lcrypto -static
++ipv6calc: $(OBJS)
+ $(CC) -o ipv6calc $(OBJS) -lcrypto -lgnugetopt -L${LOCALBASE}/lib
++ $(CC) -o ipv6calc-static $(OBJS) -lgnugetopt -lcrypto -static -L${LOCALBASE}/lib
distclean:
make clean
diff --git a/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in b/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in
index 86d563f6f5a4..519bc029bf5f 100644
--- a/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in
+++ b/net-mgmt/ipv6calc/files/patch-ipv6calc.h.in
@@ -1,7 +1,7 @@
---- ipv6calc.h.in.orig Wed Jan 30 19:22:13 2002
-+++ ipv6calc.h.in Wed Jan 30 19:25:11 2002
-@@ -20,6 +20,7 @@
- #define PROGRAM_COPYRIGHT "(P) & (C) 2001-2002 by Peter Bieringer <pb@bieringer.de>\n published under GNU GPL"
+--- ipv6calc.h.in.orig Wed Feb 27 09:51:19 2002
++++ ipv6calc.h.in Wed Feb 27 09:50:48 2002
+@@ -19,6 +19,7 @@
+ #define PROGRAM_COPYRIGHT "(P) & (C) 2001-2002 by Peter Bieringer <pb (at) bieringer.de>\n published under GNU GPL"
/* global includes */
+#include <sys/types.h>