net-mgmt/ipv6mon: unexpire by downloading from GitHub
Use the correct path in ipv6mon(8) and ipv6mon.conf(5) Bump PORTREVISION PR: 242414 Submitted by: takefu Approved by: maintainer timeout (hrs, 6 months) MFH: 2020Q2
This commit is contained in:
parent
a166bd252c
commit
7ed38c6f62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538214
3 changed files with 18 additions and 15 deletions
|
@ -2,22 +2,21 @@
|
|||
|
||||
PORTNAME= ipv6mon
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://www.si6networks.com/tools/ipv6mon/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
MAINTAINER= hrs@FreeBSD.org
|
||||
COMMENT= Tool for monitoring IPv6 address usage
|
||||
|
||||
BROKEN= unfetchable
|
||||
DEPRECATED= Broken for more than 6 months
|
||||
EXPIRATION_DATE= 2020-05-05
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
||||
|
||||
USES= uidfix
|
||||
GH_ACCOUNT= fgont
|
||||
GH_PROJECT= ipv6mon
|
||||
GH_TAGNAME= 454292a393ddd79db7131b6e7a8d005a7f49bd92
|
||||
USE_GCC= any
|
||||
USE_GITHUB= nodefault
|
||||
CFLAGS+= -DIPV6MON_CONF=\\\"${PREFIX}/etc/ipv6mon.conf\\\"
|
||||
USERS= ${PORTNAME}
|
||||
GROUPS= ${PORTNAME}
|
||||
|
@ -28,12 +27,15 @@ PORTDOCS= README.TXT \
|
|||
ipv6mon-installation-notes.pdf \
|
||||
ipv6mon-manual.odt \
|
||||
ipv6mon-manual.pdf
|
||||
WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-extract:
|
||||
@${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
|
||||
@${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC}
|
||||
${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
|
||||
${INSTALL_DATA} ${WRKSRC}/manuals/* ${WRKSRC}
|
||||
@${REINPLACE_CMD} 's|/etc/|${PREFIX}/etc/|'\
|
||||
${WRKSRC}/ipv6mon.8 ${WRKSRC}/ipv6mon.conf.5
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (ipv6mon-v1.0.tar.gz) = f714a877de4fbf80126c4b8ad2e3496739695ee1eb3a914eae344fdd6325e138
|
||||
SIZE (ipv6mon-v1.0.tar.gz) = 211625
|
||||
TIMESTAMP = 1575355108
|
||||
SHA256 (ipv6mon-1.0.tar.gz) = 01545101a5032867363be9d89a0dbf7f9c9eb3d67277e406b56889a9856c2ef8
|
||||
SIZE (ipv6mon-1.0.tar.gz) = 207872
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- ipv6mon.c.orig 2012-09-20 13:02:24.000000000 +0900
|
||||
+++ ipv6mon.c 2012-09-20 13:02:26.000000000 +0900
|
||||
@@ -277,7 +277,7 @@
|
||||
--- ipv6mon.c.orig 2012-10-26 09:06:17 UTC
|
||||
+++ ipv6mon.c
|
||||
@@ -277,7 +277,7 @@ int main(int argc, char **argv){
|
||||
}
|
||||
|
||||
if(!configfile_f){
|
||||
|
@ -9,7 +9,7 @@
|
|||
}
|
||||
|
||||
if(process_config_file(configfile) == -1)
|
||||
@@ -888,7 +888,8 @@
|
||||
@@ -888,7 +888,8 @@ void print_help(void){
|
||||
usage();
|
||||
|
||||
puts("\nOPTIONS:\n"
|
||||
|
|
Loading…
Reference in a new issue