aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-01-20 22:21:37 +0800
committerpav <pav@FreeBSD.org>2011-01-20 22:21:37 +0800
commit6a9f7fc23e78fcc5edd937bddad9182720194619 (patch)
tree1c66af734f6f1ad0c9f18f5a8c7eb86925c8a459 /sysutils
parentca56c3bb9c28f4185c22f54e760a9753a47b4c80 (diff)
downloadfreebsd-ports-gnome-6a9f7fc23e78fcc5edd937bddad9182720194619.tar.gz
freebsd-ports-gnome-6a9f7fc23e78fcc5edd937bddad9182720194619.tar.zst
freebsd-ports-gnome-6a9f7fc23e78fcc5edd937bddad9182720194619.zip
- Update to 0.4
- Remove setting downtimed_flags by default to empty value in rc.d script - Create persistant data directory in port/package instead of on first run PR: ports/153436 Submitted by: Janne Snabb <snabb@epipe.com> (maintainer) Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/downtimed/Makefile5
-rw-r--r--sysutils/downtimed/distinfo4
-rw-r--r--sysutils/downtimed/files/downtimed.in1
-rw-r--r--sysutils/downtimed/pkg-plist1
4 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/downtimed/Makefile b/sysutils/downtimed/Makefile
index ca2f5b46cd12..02e29e07db0a 100644
--- a/sysutils/downtimed/Makefile
+++ b/sysutils/downtimed/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= downtimed
-PORTVERSION= 0.2
+PORTVERSION= 0.4
CATEGORIES= sysutils
MASTER_SITES= http://dist.epipe.com/${PORTNAME}/ \
- http://launchpadlibrarian.net/58217312/
+ http://launchpadlibrarian.net/61230833/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= snabb@epipe.com
@@ -25,6 +25,7 @@ USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
post-install:
+ @${MKDIR} /var/db/downtimed
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/downtimed/distinfo b/sysutils/downtimed/distinfo
index 8199f1e448ef..87bab55b806d 100644
--- a/sysutils/downtimed/distinfo
+++ b/sysutils/downtimed/distinfo
@@ -1,2 +1,2 @@
-SHA256 (downtimed-0.2.tar.xz) = 4ffd52e9b0dcc4513687ce0d9cfcd139732692001ba246a2552087ac80404e07
-SIZE (downtimed-0.2.tar.xz) = 73608
+SHA256 (downtimed-0.4.tar.xz) = 1f9f7f21c3f89ae5675575001fc0b3c6ed6b365d664d92d08507ccdc2c3d9017
+SIZE (downtimed-0.4.tar.xz) = 75912
diff --git a/sysutils/downtimed/files/downtimed.in b/sysutils/downtimed/files/downtimed.in
index 1c2a691922c1..86fe06bbd3e3 100644
--- a/sysutils/downtimed/files/downtimed.in
+++ b/sysutils/downtimed/files/downtimed.in
@@ -31,6 +31,5 @@ pidfile="/var/run/${name}.pid"
load_rc_config "$name"
: ${downtimed_enable="NO"}
-: ${downtimed_flags=""}
run_rc_command "$1"
diff --git a/sysutils/downtimed/pkg-plist b/sysutils/downtimed/pkg-plist
index 08d7a8fabca6..a34be79c32cc 100644
--- a/sysutils/downtimed/pkg-plist
+++ b/sysutils/downtimed/pkg-plist
@@ -1,4 +1,5 @@
@comment $FreeBSD$
bin/downtimes
sbin/downtimed
+@exec /bin/mkdir -p /var/db/downtimed
@unexec /bin/rmdir /var/db/downtimed 2>/dev/null || true