diff options
author | vs <vs@FreeBSD.org> | 2008-07-30 17:36:54 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2008-07-30 17:36:54 +0800 |
commit | 7d6455efe4a20fa70a78b65c3b2333dc5d43518c (patch) | |
tree | 43edfdfdfc55bb75b57f957ff670acca2f2ab634 /sysutils | |
parent | a652207926622c4781462feb711883ece03b3baf (diff) | |
download | freebsd-ports-gnome-7d6455efe4a20fa70a78b65c3b2333dc5d43518c.tar.gz freebsd-ports-gnome-7d6455efe4a20fa70a78b65c3b2333dc5d43518c.tar.zst freebsd-ports-gnome-7d6455efe4a20fa70a78b65c3b2333dc5d43518c.zip |
Uptimed needs /var/spool/uptimed to be created for it to function correctly.
PR: ports/126074
Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/uptimed/Makefile | 2 | ||||
-rw-r--r-- | sysutils/uptimed/pkg-plist | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile index ba3713079ef5..76ae3414a84c 100644 --- a/sysutils/uptimed/Makefile +++ b/sysutils/uptimed/Makefile @@ -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-patch: 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 --git a/sysutils/uptimed/pkg-plist b/sysutils/uptimed/pkg-plist index 5d49b5875451..f2490d44e63a 100644 --- a/sysutils/uptimed/pkg-plist +++ b/sysutils/uptimed/pkg-plist @@ -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.conf www/cgi-bin/uprecords.footer www/cgi-bin/uprecords.header @dirrmtry www/cgi-bin +@unexec rm -rf /var/spool/uptimed 2>/dev/null || true |