FreeBSD Bugzilla – Attachment 71323 Details for
Bug 103913
[maintainer-update] ports sysutils/nagios-statd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nagiosstatd.patch
nagiosstatd.patch (text/plain), 3.87 KB, created by
Jim Shewmaker
on 2006-10-02 19:00:32 UTC
(
hide
)
Description:
nagiosstatd.patch
Filename:
MIME Type:
Creator:
Jim Shewmaker
Created:
2006-10-02 19:00:32 UTC
Size:
3.87 KB
patch
obsolete
>diff -rNP -C 3 nagios-statd.orig/Makefile nagios-statd/Makefile >*** nagios-statd.orig/Makefile Mon Sep 18 23:23:03 2006 >--- nagios-statd/Makefile Thu Sep 21 11:43:41 2006 >*************** >*** 6,12 **** > # > > PORTNAME= nagios-statd >! PORTVERSION= 3.11 > CATEGORIES= sysutils python net-mgmt > MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/ > >--- 6,12 ---- > # > > PORTNAME= nagios-statd >! PORTVERSION= 3.12 > CATEGORIES= sysutils python net-mgmt > MASTER_SITES= http://www.twoevils.org/files/netsaint_statd/ > >*************** >*** 14,19 **** >--- 14,20 ---- > COMMENT= Daemon/client to check remote host information for Nagios > > USE_PYTHON= yes >+ USE_RC_SUBR= nagiosstatd.sh > > MAN1= nagios-stat.1 > MAN8= nagios-statd.8 >*************** >*** 25,31 **** > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/bin/nagios-stat ${PREFIX}/bin > ${INSTALL_SCRIPT} ${WRKSRC}/sbin/nagios-statd ${PREFIX}/sbin >- ${INSTALL_SCRIPT} ${FILESDIR}/nagios-statd.sh.sample ${PREFIX}/etc/rc.d > ${INSTALL_MAN} ${WRKSRC}/share/man1/nagios-stat.1 ${PREFIX}/man/man1 > ${INSTALL_MAN} ${WRKSRC}/share/man8/nagios-statd.8 ${PREFIX}/man/man8 > >--- 26,31 ---- >diff -rNP -C 3 nagios-statd.orig/distinfo nagios-statd/distinfo >*** nagios-statd.orig/distinfo Mon Sep 18 23:23:40 2006 >--- nagios-statd/distinfo Thu Sep 21 11:52:40 2006 >*************** >*** 1,3 **** >! MD5 (nagios-statd-3.11.tar.gz) = aed145d2df7a261530d91ce23ae52cca >! SHA256 (nagios-statd-3.11.tar.gz) = 45813d546b143dfa19ce2cf8bfe660f701af1311260b5f485b7a0d58f581c0a1 >! SIZE (nagios-statd-3.11.tar.gz) = 10767 >--- 1,3 ---- >! MD5 (nagios-statd-3.12.tar.gz) = 8048cd2975d277079de34f65306cca04 >! SHA256 (nagios-statd-3.12.tar.gz) = 91560f7a7a8e0ee95fae622256951908d51d5a70744b5777973ce3dea7445166 >! SIZE (nagios-statd-3.12.tar.gz) = 11054 >diff -rNP -C 3 nagios-statd.orig/files/nagios-statd.sh.sample nagios-statd/files/nagios-statd.sh.sample >*** nagios-statd.orig/files/nagios-statd.sh.sample Sat Apr 17 15:15:42 2004 >--- nagios-statd/files/nagios-statd.sh.sample Wed Dec 31 16:00:00 1969 >*************** >*** 1,21 **** >- #!/bin/sh >- # $FreeBSD: ports/sysutils/nagios-statd/files/nagios-statd.sh.sample,v 1.2 2004/04/17 22:15:42 pav Exp $ >- >- case "${1}" in >- start) >- nagios-statd >- echo -n " nagios-statd" >- ;; >- stop) >- kill -3 `ps -x | grep nagios-statd | grep python | awk '{print $1}'` >- ;; >- restart) >- $0 stop >- $0 start >- ;; >- *) >- echo "Usage: $0 {start|stop|restart}" >- ;; >- esac >- >- exit 0 >--- 0 ---- >diff -rNP -C 3 nagios-statd.orig/files/nagiosstatd.sh.in nagios-statd/files/nagiosstatd.sh.in >*** nagios-statd.orig/files/nagiosstatd.sh.in Wed Dec 31 16:00:00 1969 >--- nagios-statd/files/nagiosstatd.sh.in Thu Sep 21 12:04:43 2006 >*************** >*** 0 **** >--- 1,35 ---- >+ #!/bin/sh >+ >+ # PROVIDE: nagiosstatd >+ # REQUIRE: DAEMON >+ # BEFORE: LOGIN >+ # KEYWORD: shutdown >+ # >+ # >+ # >+ # Add the following lines to /etc/rc.conf.local or /etc/rc.conf to enable nagiosstatd: >+ # nagiosstatd_enable (bool): Set to "NO" by default. >+ # Set it to "YES" to enable nagiosstatd >+ # >+ >+ nagiosstatd_enable=${nagiosstatd_enable-"NO"} >+ nagiosstatd_flags=${nagiosstatd_flags-""} >+ nagiosstatd_pidfile=${nagiosstatd_pidfile-"/var/run/nagiosstatd.pid"} >+ >+ . %%RC_SUBR%% >+ >+ name="nagiosstatd" >+ #rcvar=`set_rcvar` >+ rcvar=${name}_enable >+ >+ pidfile="${nagiosstatd_file}" >+ >+ >+ command=%%PREFIX%%/sbin/nagios-statd >+ >+ load_rc_config $name >+ >+ start_precmd="export PATH=\"$PATH:/usr/local/bin\"" >+ >+ run_rc_command "$1" >+ >diff -rNP -C 3 nagios-statd.orig/pkg-plist nagios-statd/pkg-plist >*** nagios-statd.orig/pkg-plist Tue Sep 19 02:32:01 2006 >--- nagios-statd/pkg-plist Thu Sep 21 12:21:22 2006 >*************** >*** 1,3 **** >--- 1,4 ---- > @comment $FreeBSD: ports/sysutils/nagios-statd/pkg-plist,v 1.1 2003/12/13 21:53:50 sergei Exp $ > bin/nagios-stat > sbin/nagios-statd >+ etc/rc.d/nagiosstatd
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 103913
: 71323