aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-01-20 22:21:37 +0800
committerPav Lucistnik <pav@FreeBSD.org>2011-01-20 22:21:37 +0800
commitf60fc70a4c81ca3adace9d936183357c8c9ee6bd (patch)
tree5439c03b7dfcd61b131021db598c5c223af0122c
parentdb363c4d48e300576632048753b565af486cd077 (diff)
downloadfreebsd-ports-gnome-f60fc70a4c81ca3adace9d936183357c8c9ee6bd.tar.gz
freebsd-ports-gnome-f60fc70a4c81ca3adace9d936183357c8c9ee6bd.tar.zst
freebsd-ports-gnome-f60fc70a4c81ca3adace9d936183357c8c9ee6bd.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
-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