diff options
author | itojun <itojun@pkgsrc.org> | 1999-11-25 01:54:01 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 1999-11-25 01:54:01 +0000 |
commit | b47f6b0a01368ac7a20f1e11bb8f1523c749ba15 (patch) | |
tree | 697c8ec0c4710bdbdad9c8d2d52261a84f5aaf90 /devel | |
parent | 52c5637d37d54705e561cdd05721353e1a66ca76 (diff) | |
download | pkgsrc-b47f6b0a01368ac7a20f1e11bb8f1523c749ba15.tar.gz |
from KAME/netbsd repository
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ipv6socket_scrub/Makefile | 29 | ||||
-rw-r--r-- | devel/ipv6socket_scrub/files/md5 | 3 | ||||
-rw-r--r-- | devel/ipv6socket_scrub/patches/patch-aa | 41 | ||||
-rw-r--r-- | devel/ipv6socket_scrub/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/ipv6socket_scrub/pkg/DESCR | 8 | ||||
-rw-r--r-- | devel/ipv6socket_scrub/pkg/PLIST | 3 |
6 files changed, 85 insertions, 0 deletions
diff --git a/devel/ipv6socket_scrub/Makefile b/devel/ipv6socket_scrub/Makefile new file mode 100644 index 00000000000..5d7191d9d33 --- /dev/null +++ b/devel/ipv6socket_scrub/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/25 01:54:01 itojun Exp $ +# + +DISTNAME= IPv6socket_scrub +PKGNAME= ipv6socket_scrub-1.0 +CATEGORIES= devel +# need to fetch on your own +#MASTER_SITES= +EXTRACT_SUFX= .tar + +MAINTAINER= itojun@kame.net +HOMEPAGE= http://www.sun.com/solaris/ipv6/ + +EXTRACT_BEFORE_ARGS= -xf +WRKSRC= ${WRKDIR}/${DISTNAME}/src +NO_CDROM= "not redistributable" +NO_PACKAGE= "not redistributable" +RESTRICTED= "not redistributable, license agreement required" + +do-fetch: + @${ECHO} "===> You need to sign the agreement on ${HOMEPAGE}" + @${ECHO} " and fetch on your own." + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/ipv6socket_scrub ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/../Docs/man/man1/ipv6socket_scrub.1 \ + ${PREFIX}/man/man1 + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ipv6socket_scrub/files/md5 b/devel/ipv6socket_scrub/files/md5 new file mode 100644 index 00000000000..c8be8e424be --- /dev/null +++ b/devel/ipv6socket_scrub/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/11/25 01:54:01 itojun Exp $ + +MD5 (IPv6socket_scrub.tar) = 5e61107af752b3e97ace852c481e45b7 diff --git a/devel/ipv6socket_scrub/patches/patch-aa b/devel/ipv6socket_scrub/patches/patch-aa new file mode 100644 index 00000000000..a8f67eb0050 --- /dev/null +++ b/devel/ipv6socket_scrub/patches/patch-aa @@ -0,0 +1,41 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/11/25 01:54:01 itojun Exp $ +--- ipv6socket_scrub.c- Thu Nov 25 10:06:57 1999 ++++ ipv6socket_scrub.c Thu Nov 25 10:07:26 1999 +@@ -308,7 +308,7 @@ + -e 's/#.*if/_#_if/' \ + -e 's/#.*else/_#_else/' \ + %s | \ +- /usr/ccs/lib/cpp -BP 2>&1 | \ ++ /usr/bin/cpp -BP 2>&1 | \ + /usr/bin/sed -e 's/_#_include/#include/' \ + -e 's/_#_end/#end/' \ + -e 's/_#_if/#if/' \ +@@ -664,8 +664,8 @@ + + + if ((stat("/usr/bin/sed", &statbuff) == -1) || +- stat("/usr/ccs/lib/cpp", &statbuff) == -1) { +- fprintf (stderr, "\nCannot find /usr/bin/sed and/or /usr/ccs/lib/cpp -BP.\n Terminating...\n"); ++ stat("/usr/bin/cpp", &statbuff) == -1) { ++ fprintf (stderr, "\nCannot find /usr/bin/sed and/or /usr/bin/cpp -BP.\n Terminating...\n"); + exit (2); + + } +@@ -1343,7 +1343,7 @@ + } + + if (check_file (buf,ignore_conf,pri_conf,sec_conf,fo1,fo2,tmpfile)) { +- fprintf (stderr, "\nCannot process file %s. Cannot find /usr/bin/sed and/or /usr/ccs/lib/cpp -BP.\n Terminating...\n",buf); ++ fprintf (stderr, "\nCannot process file %s. Cannot find /usr/bin/sed and/or /usr/bin/cpp -BP.\n Terminating...\n",buf); + unlink(tmpfile); + exit (2); + } +--- Makefile- Thu Nov 25 10:08:47 1999 ++++ Makefile Thu Nov 25 10:08:50 1999 +@@ -1,5 +1,5 @@ + CC = cc +-CFLAGS = -xO3 ++CFLAGS = -O3 + LDFLAGS = + + PROG = ipv6socket_scrub diff --git a/devel/ipv6socket_scrub/pkg/COMMENT b/devel/ipv6socket_scrub/pkg/COMMENT new file mode 100644 index 00000000000..e9e720eb429 --- /dev/null +++ b/devel/ipv6socket_scrub/pkg/COMMENT @@ -0,0 +1 @@ +checks IPv6 portabilty in source code diff --git a/devel/ipv6socket_scrub/pkg/DESCR b/devel/ipv6socket_scrub/pkg/DESCR new file mode 100644 index 00000000000..3c4ff9cf2e2 --- /dev/null +++ b/devel/ipv6socket_scrub/pkg/DESCR @@ -0,0 +1,8 @@ +Sun IPv6socket_scrub program +============================ + +The ipv6socket_scrub utility searches recursively through +the current directory (the default) or any specified +directory or file to find IPv4 socket code that may be a +candidate for modification when porting to the IPv6 socket API. +The utility is designed to run from a Solaris machine. diff --git a/devel/ipv6socket_scrub/pkg/PLIST b/devel/ipv6socket_scrub/pkg/PLIST new file mode 100644 index 00000000000..ca7175f61e7 --- /dev/null +++ b/devel/ipv6socket_scrub/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/25 01:54:01 itojun Exp $ +bin/ipv6socket_scrub +man/man1/ipv6socket_scrub.1 |