- Update to 1.5.2.

- Add STAGEDIR support.
This commit is contained in:
Hiroki Sato 2014-01-16 18:54:26 +00:00
parent 8d3f501cc9
commit 236ff72c75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339963
6 changed files with 28 additions and 36 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ipv6toolkit
PORTVERSION= 1.4.1
PORTVERSION= 1.5.2
CATEGORIES= security ipv6
MASTER_SITES= http://www.si6networks.com/tools/ipv6toolkit/
DISTNAME= ipv6toolkit-v${PORTVERSION}
@ -15,16 +15,13 @@ MAKE_ENV= DATADIR=${DATADIR} WRKSRC=${WRKSRC}
SUB_FILES= BSDMakefile Makefile Makefile.lib
MAKEFILE= BSDMakefile
PORTDOCS= README.TXT CHANGES.TXT CONTRIB.TXT
MAN1= addr6.1 flow6.1 frag6.1 icmp6.1 jumbo6.1 na6.1 ni6.1 \
ns6.1 ra6.1 rd6.1 rs6.1 scan6.1 tcp6.1
MAN5= ipv6toolkit.conf.5
PROGDIRS= ${MAN1:S/.1//}
PROGDIRS= addr6 flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 ra6 rd6 rs6 \
scan6 tcp6
LIBDIRS= libipv6
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-extract:
@ -41,8 +38,8 @@ post-patch: apply-slist
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (ipv6toolkit-v1.4.1.tar.gz) = facf4ff7ff962644fcd37c04273000a480f3270eeb16b21e0c701032d2861b4f
SIZE (ipv6toolkit-v1.4.1.tar.gz) = 469374
SHA256 (ipv6toolkit-v1.5.2.tar.gz) = 299af685fad82f9b373ea0fc9daa53ca62c81b717d9ddeb59f7329ffa2ea8212
SIZE (ipv6toolkit-v1.5.2.tar.gz) = 422780

View file

@ -10,13 +10,13 @@ addr6 flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 ra6 rd6 rs6 scan6 tcp6: libipv6
FILESGROUPS= CONF DB
CONF= data/ipv6toolkit.conf
CONFDIR?= /etc
CONFDIR?= ${PREFIX}/etc
DB= data/oui.txt
DBDIR?= /share/ipv6toolkit
DBDIR?= ${PREFIX}/share/ipv6toolkit
PREFIX?= /usr/local
DESTDIR= ${PREFIX}
MANDIR?= /man/man
BINDIR?= ${PREFIX}/bin
MANDIR?= ${PREFIX}/man/man
MAN= ipv6toolkit.conf.5
NO_MANCOMPRESS=

View file

@ -2,13 +2,12 @@
PREFIX?= /usr/local
LOCALBASE?= /usr/local
DESTDIR= ${PREFIX}
.if ${.CURDIR:T} == addr6
BINDIR?= /bin
BINDIR?= ${PREFIX}/bin
.else
BINDIR?= /sbin
BINDIR?= ${PREFIX}/sbin
.endif
MANDIR?= /man/man
MANDIR?= ${PREFIX}/man/man
NO_MANCOMPRESS=
.PATH: ${.CURDIR}/../tools ${.CURDIR}/../manuals

View file

@ -1,18 +0,0 @@
--- tools/icmp6.c.orig 2013-08-27 18:35:24.000000000 +0900
+++ tools/icmp6.c 2013-10-03 17:02:09.000000000 +0900
@@ -47,6 +47,7 @@
#include <netinet/ip6.h>
#include <netinet/icmp6.h>
#include <pwd.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <ifaddrs.h>
#ifdef __linux__
@@ -54,7 +55,6 @@
#elif defined (__FreeBSD__) || defined(__NetBSD__) || defined (__OpenBSD__) || defined(__APPLE__)
#include <net/if_dl.h>
#endif
-#include <sys/socket.h>
#include "icmp6.h"
#include "ipv6toolkit.h"
#include <netinet/tcp.h>

View file

@ -13,5 +13,19 @@ sbin/rs6
sbin/scan6
sbin/tcp6
etc/ipv6toolkit.conf
man/man1/addr6.1.gz
man/man1/flow6.1.gz
man/man1/frag6.1.gz
man/man1/icmp6.1.gz
man/man1/jumbo6.1.gz
man/man1/na6.1.gz
man/man1/ni6.1.gz
man/man1/ns6.1.gz
man/man1/ra6.1.gz
man/man1/rd6.1.gz
man/man1/rs6.1.gz
man/man1/scan6.1.gz
man/man1/tcp6.1.gz
man/man5/ipv6toolkit.conf.5.gz
%%DATADIR%%/oui.txt
@dirrm %%DATADIR%%