ports/153436: [MAINTAINER][PATCH] sysutils/downtimed: update to 0.4
Janne Snabb
snabb at epipe.com
Sat Dec 25 03:40:05 UTC 2010
>Number: 153436
>Category: ports
>Synopsis: [MAINTAINER][PATCH] sysutils/downtimed: update to 0.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 25 03:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Janne Snabb <snabb at epipe.com>
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
EPIPE Communications
>Environment:
System: FreeBSD tiktik.epipe.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sat Jul 24 09:20:35 UTC 2010
>Description:
- Update to 0.4 which fixes bugs (including on FreeBSD) and improves
portability.
The port is also improved:
- Removed setting downtimed_flags by default to empty value in
downtimed rc.d startup script. Thanks to Doug for pointing this out.
- The persistent data directory (/var/db/downtimed on FreeBSD) is
no longer silently created by the daemon if it does not exist.
Instead the port creates it now (by Makefile if using a port,
by pkg-plist if using a binary package). It is removed when
deinstalling only if the directory contents are empty (so that
past records are not lost when upgrading). Thanks to Matt for
pointing this out.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- downtimed-0.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/downtimed/Makefile /usr/home/snabb/src/downtimed/freebsd/Makefile
--- /usr/ports/sysutils/downtimed/Makefile 2010-12-23 16:41:19.000000000 +0000
+++ /usr/home/snabb/src/downtimed/freebsd/Makefile 2010-12-25 03:22:23.537039000 +0000
@@ -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 at epipe.com
@@ -25,6 +25,7 @@
GNU_CONFIGURE= yes
post-install:
+ @${MKDIR} /var/db/downtimed
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/downtimed/distinfo /usr/home/snabb/src/downtimed/freebsd/distinfo
--- /usr/ports/sysutils/downtimed/distinfo 2010-12-23 16:41:19.000000000 +0000
+++ /usr/home/snabb/src/downtimed/freebsd/distinfo 2010-12-25 03:22:23.537039000 +0000
@@ -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 -ruN --exclude=CVS /usr/ports/sysutils/downtimed/files/downtimed.in /usr/home/snabb/src/downtimed/freebsd/files/downtimed.in
--- /usr/ports/sysutils/downtimed/files/downtimed.in 2010-12-23 16:41:19.000000000 +0000
+++ /usr/home/snabb/src/downtimed/freebsd/files/downtimed.in 2010-12-25 03:22:23.537039000 +0000
@@ -31,6 +31,5 @@
load_rc_config "$name"
: ${downtimed_enable="NO"}
-: ${downtimed_flags=""}
run_rc_command "$1"
diff -ruN --exclude=CVS /usr/ports/sysutils/downtimed/pkg-plist /usr/home/snabb/src/downtimed/freebsd/pkg-plist
--- /usr/ports/sysutils/downtimed/pkg-plist 2010-12-23 16:41:19.000000000 +0000
+++ /usr/home/snabb/src/downtimed/freebsd/pkg-plist 2010-12-25 03:22:23.537039000 +0000
@@ -1,4 +1,5 @@
@comment $FreeBSD: ports/sysutils/downtimed/pkg-plist,v 1.1 2010/12/23 16:41:19 skreuzer Exp $
bin/downtimes
sbin/downtimed
+ at exec /bin/mkdir -p /var/db/downtimed
@unexec /bin/rmdir /var/db/downtimed 2>/dev/null || true
--- downtimed-0.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list