FreeBSD Bugzilla – Attachment 163003 Details for
Bug 204465
[patch] net/apinger: Respect DOCS and cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
apinger cleanup
apinger.diff (text/plain), 3.39 KB, created by
Renato Botelho
on 2015-11-11 11:43:19 UTC
(
hide
)
Description:
apinger cleanup
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2015-11-11 11:43:19 UTC
Size:
3.39 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 401091) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= apinger > PORTVERSION= 0.6.1 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= net ipv6 > MASTER_SITES= http://freebsdcluster.org/~mich/software/ \ > http://www.bnet.pl/~jajcus/apinger/ >@@ -16,17 +16,14 @@ > GNU_CONFIGURE= yes > USE_RC_SUBR= apinger > SUB_FILES= pkg-message >+PORTDOCS= AUTHORS NEWS README > >-OPTIONS_DEFINE= IPV6 >+OPTIONS_DEFINE= IPV6 DOCS > > USES= bison > >-.include <bsd.port.options.mk> >+IPV6_CONFIGURE_ENABLE= ipv6 > >-.if !${PORT_OPTIONS:MIPV6} >-CONFIGURE_ARGS+= --disable-ipv6 >-.endif >- > post-install: > ${INSTALL_DATA} ${WRKSRC}/src/apinger.conf ${STAGEDIR}${PREFIX}/etc/apinger.conf.sample > @${MKDIR} ${STAGEDIR}${DOCSDIR} >Index: files/apinger.in >=================================================================== >--- files/apinger.in (revision 401091) >+++ files/apinger.in (working copy) >@@ -9,20 +9,20 @@ > # Add the following lines to /etc/rc.conf.local or /etc/rc.conf > # to enable this service: > # >-# apinger_enable (bool): Set to NO by default. >-# Set it to YES to enable apinger. >+# apinger_enable (bool): Set to NO by default. >+# Set it to YES to enable apinger. > # > > . /etc/rc.subr > >-name="apinger" >+name=apinger > rcvar=apinger_enable > >+load_rc_config $name >+ >+: ${apinger_enable:=NO} >+ > command=%%PREFIX%%/sbin/${name} > pidfile=/var/run/${name}.pid > >-load_rc_config $name >- >-: ${apinger_enable="NO"} >- > run_rc_command "$1" >Index: files/patch-src_apinger.h >=================================================================== >--- files/patch-src_apinger.h (revision 401091) >+++ files/patch-src_apinger.h (working copy) >@@ -1,6 +1,6 @@ >---- src/apinger.h.old 2008-07-10 22:38:08.000000000 +0200 >-+++ src/apinger.h 2008-07-10 22:38:29.000000000 +0200 >-@@ -119,7 +119,7 @@ >+--- src/apinger.h.orig 2002-12-20 09:19:57 UTC >++++ src/apinger.h >+@@ -119,7 +119,7 @@ extern char *config_file; > > extern int icmp_sock; > extern int icmp6_sock; >Index: files/patch-src_icmp.c >=================================================================== >--- files/patch-src_icmp.c (revision 401091) >+++ files/patch-src_icmp.c (working copy) >@@ -1,6 +1,6 @@ >---- src/icmp.c.orig >+--- src/icmp.c.orig 2002-12-19 08:24:33 UTC > +++ src/icmp.c >-@@ -197,7 +197,7 @@ >+@@ -197,7 +197,7 @@ socklen_t sl; > debug("checking CMSG..."); > for (c = CMSG_FIRSTHDR(&msg); c; c = CMSG_NXTHDR(&msg, c)) { > debug("CMSG level: %i type: %i",c->cmsg_level,c->cmsg_type); >Index: files/patch-src_main.c >=================================================================== >--- files/patch-src_main.c (revision 401091) >+++ files/patch-src_main.c (working copy) >@@ -1,6 +1,6 @@ >---- src/main.c.old 2008-07-10 22:36:21.000000000 +0200 >-+++ src/main.c 2008-07-10 22:36:53.000000000 +0200 >-@@ -96,7 +96,7 @@ >+--- src/main.c.orig 2003-03-26 11:27:47 UTC >++++ src/main.c >+@@ -96,7 +96,7 @@ char *config_file=CONFIG; > > int icmp_sock; > int icmp6_sock; >@@ -9,7 +9,7 @@ > > struct timeval next_probe={0,0}; > >-@@ -277,7 +277,7 @@ >+@@ -277,7 +277,7 @@ char *graph_location="/apinger/"; > return 1; > } > >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 401091) >+++ pkg-plist (working copy) >@@ -1,5 +1,2 @@ > sbin/apinger >-etc/apinger.conf.sample >-%%DOCSDIR%%/README >-%%DOCSDIR%%/NEWS >-%%DOCSDIR%%/AUTHORS >+@sample etc/apinger.conf.sample
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204465
: 163003