FreeBSD Bugzilla – Attachment 71778 Details for
Bug 104466
[PATCH] net-mgmt/fprobe: Apply rcfile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fprobe-1.1_1.patch
fprobe-1.1_1.patch (text/plain), 1.67 KB, created by
gslin
on 2006-10-16 15:00:32 UTC
(
hide
)
Description:
fprobe-1.1_1.patch
Filename:
MIME Type:
Creator:
gslin
Created:
2006-10-16 15:00:32 UTC
Size:
1.67 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/net-mgmt/fprobe/Makefile /home/staff/gslin/work/ports/fprobe/Makefile >--- /usr/ports/net-mgmt/fprobe/Makefile Fri May 12 06:49:39 2006 >+++ /home/staff/gslin/work/ports/fprobe/Makefile Mon Oct 16 21:17:14 2006 >@@ -7,6 +7,7 @@ > > PORTNAME= fprobe > PORTVERSION= 1.1 >+PORTREVISION= 1 > CATEGORIES= net-mgmt > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >@@ -14,17 +15,18 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= Tool that collects network traffic data > >-GNU_CONFIGURE= yes > CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} >+GNU_CONFIGURE= yes >+PLIST_FILES= sbin/fprobe >+PORTDOCS= ChangeLog README >+SUB_LIST= NAME=${PORTNAME} > USE_BZIP2= yes >+USE_RC_SUBR= fprobe.sh > > MAN8= fprobe.8 > > post-patch: > @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure >- >-PORTDOCS= ChangeLog README >-PLIST_FILES= sbin/fprobe > > post-install: > .if !defined(NOPORTDOCS) >diff -ruN --exclude=CVS /usr/ports/net-mgmt/fprobe/files/fprobe.sh.in /home/staff/gslin/work/ports/fprobe/files/fprobe.sh.in >--- /usr/ports/net-mgmt/fprobe/files/fprobe.sh.in Thu Jan 1 08:00:00 1970 >+++ /home/staff/gslin/work/ports/fprobe/files/fprobe.sh.in Mon Oct 16 21:19:03 2006 >@@ -0,0 +1,28 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+# PROVIDE: fprobe >+# REQUIRE: NETWORKING >+# KEYWORD: shutdown >+ >+# Add the following lines to /etc/rc.conf to enable %%NAME%%: >+# >+#%%NAME%%_enable="YES" >+# >+# See fprobe(8) for %%NAME%%_flags >+# >+ >+. "%%RC_SUBR%%" >+ >+name="%%NAME%%" >+rcvar=`set_rcvar` >+ >+command="%%PREFIX%%/sbin/fprobe" >+command_args="-i lo0 127.0.0.1:2055" >+pidfile="/var/run/$name.pid" >+ >+load_rc_config "$name" >+: ${fprobe_enable="NO"} >+ >+run_rc_command "$1"
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 104466
: 71778