View | Details | Raw Unified | Return to bug 166588
Collapse All | Expand All

(-)ports-mgmt/fbsdmon/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	fbsdmon
8
PORTNAME=	fbsdmon
9
PORTVERSION=	0.90
9
PORTVERSION=	0.91
10
PORTREVISION=	1
11
CATEGORIES=	ports-mgmt sysutils
10
CATEGORIES=	ports-mgmt sysutils
12
MASTER_SITES=	http://files.roorback.net/
11
MASTER_SITES=	http://files.roorback.net/
13
12
(-)ports-mgmt/fbsdmon/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (fbsdmon-0.90.tar.gz) = 5143eb51b241bef6c30e26a5fac54308ca36db76b865da208f33edab92c13b78
1
SHA256 (fbsdmon-0.91.tar.gz) = 3ae83e7e3a73ff363095edbbbcecad037e14c0ce3128b6e4e891ec579b63b419
2
SIZE (fbsdmon-0.90.tar.gz) = 3692
2
SIZE (fbsdmon-0.91.tar.gz) = 3607
(-)ports-mgmt/fbsdmon/files/600.fbsdmon.in (-1 / +1 lines)
Lines 16-22 Link Here
16
        echo ""
16
        echo ""
17
        echo "Sending statistic to fbsdmon.org"
17
        echo "Sending statistic to fbsdmon.org"
18
18
19
        %%PREFIX%%/sbin/fbsdmon
19
        %%PREFIX%%/sbin/fbsdmon -D -s
20
        rc=$?;;
20
        rc=$?;;
21
21
22
    *)  rc=0;;
22
    *)  rc=0;;
(-)ports-mgmt/fbsdmon/files/fbsdmon.in (-5 / +2 lines)
Lines 21-30 Link Here
21
load_rc_config "$name"
21
load_rc_config "$name"
22
: ${fbsdmon_enable="NO"}
22
: ${fbsdmon_enable="NO"}
23
23
24
pidfile="/var/run/$name.pid"
24
command="%%PREFIX%%/sbin/$name"
25
procname="%%PREFIX%%/sbin/$name"
25
command_args="-D"
26
command="/usr/sbin/daemon"
27
command_args="-c -f -p $pidfile $procname"
28
stop_postcmd="/bin/rm -f $pidfile"
29
26
30
run_rc_command "$1"
27
run_rc_command "$1"
(-)ports-mgmt/fbsdmon/files/patch-src__io.c (-11 lines)
Lines 1-11 Link Here
1
--- ./src/io.c.orig	2012-01-30 12:34:26.000000000 -0800
2
+++ ./src/io.c	2012-01-30 12:34:36.000000000 -0800
3
@@ -47,7 +47,7 @@
4
 extern char* gz_data(char *data)
5
 {
6
     char *fn = strdup("/tmp/fbsdmon.XXXXXX");
7
-    mktemp(fn);
8
+    mkstemp(fn);
9
 
10
     gzFile *gz = gzopen(fn, "wb");
11
     gzputs(gz, data);

Return to bug 166588