View | Details | Raw Unified | Return to bug 242414
Collapse All | Expand All

(-)./distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (ipv6mon-v1.0.tar.gz) = f714a877de4fbf80126c4b8ad2e3496739695ee1eb3a914eae344fdd6325e138
1
TIMESTAMP = 1575355108
2
SIZE (ipv6mon-v1.0.tar.gz) = 211625
2
SHA256 (ipv6mon-1.0.tar.gz) = 01545101a5032867363be9d89a0dbf7f9c9eb3d67277e406b56889a9856c2ef8
3
SIZE (ipv6mon-1.0.tar.gz) = 207872
(-)./files/patch-ipv6mon.c (-4 / +4 lines)
Lines 1-6 Link Here
1
--- ipv6mon.c.orig	2012-09-20 13:02:24.000000000 +0900
1
--- ipv6mon.c.orig	2012-10-26 09:06:17 UTC
2
+++ ipv6mon.c	2012-09-20 13:02:26.000000000 +0900
2
+++ ipv6mon.c
3
@@ -277,7 +277,7 @@
3
@@ -277,7 +277,7 @@ int main(int argc, char **argv){
4
 	}
4
 	}
5
 
5
 
6
 	if(!configfile_f){
6
 	if(!configfile_f){
Lines 9-15 Link Here
9
 	}
9
 	}
10
 
10
 
11
 	if(process_config_file(configfile) == -1)
11
 	if(process_config_file(configfile) == -1)
12
@@ -888,7 +888,8 @@
12
@@ -888,7 +888,8 @@ void print_help(void){
13
 	usage();
13
 	usage();
14
     
14
     
15
 	puts("\nOPTIONS:\n"
15
 	puts("\nOPTIONS:\n"
(-)./Makefile (-7 / +11 lines)
Lines 2-21 Link Here
2
2
3
PORTNAME=	ipv6mon
3
PORTNAME=	ipv6mon
4
PORTVERSION=	1.0
4
PORTVERSION=	1.0
5
PORTREVISION=	3
5
PORTREVISION=	4
6
CATEGORIES=	net-mgmt
6
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://www.si6networks.com/tools/ipv6mon/
8
DISTNAME=	${PORTNAME}-v${PORTVERSION}
9
7
10
MAINTAINER=	hrs@FreeBSD.org
8
MAINTAINER=	hrs@FreeBSD.org
11
COMMENT=	Tool for monitoring IPv6 address usage
9
COMMENT=	Tool for monitoring IPv6 address usage
12
10
13
BROKEN=		unfetchable
14
15
LICENSE=	GPLv3+
11
LICENSE=	GPLv3+
16
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
12
LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
17
13
18
USES=		uidfix
14
USES=		uidfix
15
GH_ACCOUNT=	fgont
16
GH_PROJECT=	ipv6mon
17
GH_TAGNAME=	454292a393ddd79db7131b6e7a8d005a7f49bd92
18
USE_GCC=	any
19
USE_GITHUB=     nodefault
19
CFLAGS+=	-DIPV6MON_CONF=\\\"${PREFIX}/etc/ipv6mon.conf\\\"
20
CFLAGS+=	-DIPV6MON_CONF=\\\"${PREFIX}/etc/ipv6mon.conf\\\"
20
USERS=		${PORTNAME}
21
USERS=		${PORTNAME}
21
GROUPS=		${PORTNAME}
22
GROUPS=		${PORTNAME}
Lines 26-37 PORTDOCS= README.TXT \ Link Here
26
		ipv6mon-installation-notes.pdf \
27
		ipv6mon-installation-notes.pdf \
27
		ipv6mon-manual.odt \
28
		ipv6mon-manual.odt \
28
		ipv6mon-manual.pdf
29
		ipv6mon-manual.pdf
30
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}
29
31
30
OPTIONS_DEFINE=	DOCS
32
OPTIONS_DEFINE=	DOCS
31
33
32
post-extract:
34
post-extract:
33
	@${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
35
	${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
34
	@${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC}
36
	${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC}
37
	@${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|'\
38
		${WRKSRC}/ipv6mon.8 ${WRKSRC}/ipv6mon.conf.5
35
39
36
post-install:
40
post-install:
37
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
41
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d

Return to bug 242414