From f60fc70a4c81ca3adace9d936183357c8c9ee6bd Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 20 Jan 2011 14:21:37 +0000 Subject: [PATCH] - 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 (maintainer) Feature safe: yes --- sysutils/downtimed/Makefile | 5 +++-- sysutils/downtimed/distinfo | 4 ++-- sysutils/downtimed/files/downtimed.in | 1 - sysutils/downtimed/pkg-plist | 1 + 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 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