FreeBSD Bugzilla – Attachment 81619 Details for
Bug 116869
Update port: net-mgmt/darkstat to 3.0.707
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.76 KB, created by
Emil Mikulic
on 2007-10-03 14:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Emil Mikulic
Created:
2007-10-03 14:10:01 UTC
Size:
2.76 KB
patch
obsolete
>diff -Nur /usr/ports/net-mgmt/darkstat/Makefile darkstat/Makefile >--- /usr/ports/net-mgmt/darkstat/Makefile Mon Jul 23 19:36:20 2007 >+++ darkstat/Makefile Wed Oct 3 22:32:00 2007 >@@ -6,12 +6,14 @@ > # > > PORTNAME= darkstat >-PORTVERSION= 3.0.619 >+PORTVERSION= 3.0.707 > CATEGORIES= net-mgmt > MASTER_SITES= http://dmr.ath.cx/net/darkstat/ > > MAINTAINER= emil@cs.rmit.edu.au > COMMENT= Network statistics gatherer and reporter >+ >+USE_RC_SUBR= darkstat > > USE_BZIP2= yes > GNU_CONFIGURE= yes >diff -Nur /usr/ports/net-mgmt/darkstat/distinfo darkstat/distinfo >--- /usr/ports/net-mgmt/darkstat/distinfo Mon Apr 30 07:04:43 2007 >+++ darkstat/distinfo Wed Oct 3 21:54:39 2007 >@@ -1,3 +1,3 @@ >-MD5 (darkstat-3.0.619.tar.bz2) = b30e6b51cb3cf84254476c1140f08e17 >-SHA256 (darkstat-3.0.619.tar.bz2) = e50ad3431f8c3c8172c878b7b9073e99a4802ad202739a6dad792cb8f7cfc1be >-SIZE (darkstat-3.0.619.tar.bz2) = 82508 >+MD5 (darkstat-3.0.707.tar.bz2) = 91c70f96498dd679b21330214361e4dc >+SHA256 (darkstat-3.0.707.tar.bz2) = 243bd77f93acbb6832f5ef1cc4b03abe823006c129f88fe5724697e1c0857644 >+SIZE (darkstat-3.0.707.tar.bz2) = 90459 >diff -Nur /usr/ports/net-mgmt/darkstat/files/darkstat.in darkstat/files/darkstat.in >--- /usr/ports/net-mgmt/darkstat/files/darkstat.in Thu Jan 1 10:00:00 1970 >+++ darkstat/files/darkstat.in Wed Oct 3 22:33:47 2007 >@@ -0,0 +1,59 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+ >+# PROVIDE: darkstat >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+ >+# Add the following lines to /etc/rc.conf to enable `darkstat': >+# >+# darkstat_enable="YES" >+# darkstat_interface="fxp0" # change to suit your configuration >+# >+# Optional configuration flags: >+# >+# darkstat_dir="/var/run/darkstat" >+# darkstat_pidname="darkstat.pid" >+# darkstat_dropuser="nobody" >+# darkstat_flags="" >+# - examples: [ --no-promisc ] [ --no-dns ] [ -p port ] >+# [ -b bindaddr ] [ -f filter ] [ -l network/netmask ] >+# [ --daylog filename ] [ --import filename ] [ --export filename ] >+# >+# - DON'T pass -i, --chroot, --pidfile, or --user here >+# >+# Please refer to the darkstat(1) manual page for full documentation. >+ >+. %%RC_SUBR%% >+ >+name=darkstat >+rcvar=`set_rcvar` >+ >+command=%%PREFIX%%/sbin/$name >+start_precmd=darkstat_prestart >+ >+load_rc_config $name >+: ${darkstat_enable="NO"} >+: ${darkstat_dir="/var/run/darkstat"} >+: ${darkstat_pidname="darkstat.pid"} >+: ${darkstat_dropuser="nobody"} >+: ${darkstat_flags=""} >+pidfile="${darkstat_dir}/${darkstat_pidname}" >+ >+darkstat_prestart() >+{ >+ if [ "x${darkstat_interface}" = "x" ]; then >+ err 1 "You must define \$darkstat_interface." >+ fi >+ mkdir -p ${darkstat_dir} >+ chown ${darkstat_dropuser} ${darkstat_dir} >+ chmod u+wx ${darkstat_dir} >+} >+ >+darkstat_flags="-i ${darkstat_interface} --chroot ${darkstat_dir} \ >+--pidfile ${darkstat_pidname} --user ${darkstat_dropuser} \ >+${darkstat_flags}" >+ >+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 116869
: 81619