Date: Tue, 29 Jul 2008 15:54:54 +0300 From: "Andy Fawcett" <andy@athame.co.uk> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/126074: [maintainer update] Make sysutiles/uptimed create a needed working directory Message-ID: <1217336094.79929@ping.int.athame.co.uk> Resent-Message-ID: <200807291340.m6TDe2ub057175@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126074 >Category: ports >Synopsis: [maintainer update] Make sysutiles/uptimed create a needed working directory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 29 13:40:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Andy Fawcett >Release: FreeBSD 7.0-STABLE amd64 >Organization: >Environment: System: FreeBSD 7.0-STABLE #7: Tue Jun 3 07:39:48 EEST 2008 root@ping.int.athame.co.uk:/usr/obj/usr/src/sys/IGOR >Description: uptimed needs /var/spool/uptimed to be created for it to function correctly. This update ensures that the directory is created when making a build from ports, or installing from a package. >How-To-Repeat: >Fix: --- uptimed.diff begins here --- diff -ruN uptimed-orig/Makefile uptimed/Makefile --- uptimed-orig/Makefile 2008-07-29 15:12:50.000000000 +0300 +++ uptimed/Makefile 2008-07-29 15:14:38.000000000 +0300 @@ -6,6 +6,7 @@ PORTNAME= uptimed PORTVERSION= 0.3.12 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://podgorny.cz/uptimed/releases/ @@ -27,6 +28,7 @@ post-install: ${MKDIR} ${PREFIX}/www/cgi-bin + ${MKDIR} /var/spool/uptimed ${INSTALL_PROGRAM} ${PREFIX}/bin/uprecords ${PREFIX}/www/cgi-bin/uprecords.cgi ${INSTALL_DATA} ${WRKSRC}/sample-cgi/* ${PREFIX}/www/cgi-bin/ diff -ruN uptimed-orig/pkg-plist uptimed/pkg-plist --- uptimed-orig/pkg-plist 2008-07-29 15:12:50.000000000 +0300 +++ uptimed/pkg-plist 2008-07-29 15:33:49.000000000 +0300 @@ -1,3 +1,4 @@ +@exec mkdir -p /var/spool/uptimed bin/uprecords etc/uptimed.conf-dist lib/libuptimed.a @@ -10,3 +11,4 @@ www/cgi-bin/uprecords.footer www/cgi-bin/uprecords.header @dirrmtry www/cgi-bin +@dirrmtry /var/spool/uptimed --- uptimed.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1217336094.79929>