1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- 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
This commit is contained in:
Pav Lucistnik 2011-01-20 14:21:37 +00:00
parent db363c4d48
commit f60fc70a4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268045
4 changed files with 6 additions and 5 deletions

View File

@ -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>

View File

@ -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

View File

@ -31,6 +31,5 @@ pidfile="/var/run/${name}.pid"
load_rc_config "$name"
: ${downtimed_enable="NO"}
: ${downtimed_flags=""}
run_rc_command "$1"

View File

@ -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