From snabb@tiktik.epipe.com  Sat Dec 25 03:36:53 2010
Return-Path: <snabb@tiktik.epipe.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id ADE6F106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Dec 2010 03:36:53 +0000 (UTC)
	(envelope-from snabb@tiktik.epipe.com)
Received: from tiktik.epipe.com (tiktik.epipe.com [IPv6:2001:1828:0:3::2])
	by mx1.freebsd.org (Postfix) with ESMTP id 741258FC16
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Dec 2010 03:36:53 +0000 (UTC)
Received: from tiktik.epipe.com (localhost [127.0.0.1])
	by tiktik.epipe.com (8.14.4/8.14.4) with ESMTP id oBP3annZ047428
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 25 Dec 2010 03:36:52 GMT
	(envelope-from snabb@tiktik.epipe.com)
Received: (from snabb@localhost)
	by tiktik.epipe.com (8.14.4/8.14.4/Submit) id oBP3an2I047000;
	Sat, 25 Dec 2010 03:36:49 GMT
	(envelope-from snabb)
Message-Id: <201012250336.oBP3an2I047000@tiktik.epipe.com>
Date: Sat, 25 Dec 2010 03:36:49 GMT
From: Janne Snabb <snabb@epipe.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER][PATCH] sysutils/downtimed: update to 0.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 25 03:40:04 UTC 2010
>Closed-Date:    Thu Jan 20 14:21:50 UTC 2011
>Last-Modified:  Thu Jan 20 14:30:11 UTC 2011
>Originator:     Janne Snabb <snabb@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@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
+@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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Jan 20 14:15:11 UTC 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153436 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/153436: commit references a PR
Date: Thu, 20 Jan 2011 14:21:42 +0000 (UTC)

 pav         2011-01-20 14:21:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/downtimed   Makefile distinfo pkg-plist 
     sysutils/downtimed/files downtimed.in 
   Log:
   - 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
   
   Revision  Changes    Path
   1.2       +3 -2      ports/sysutils/downtimed/Makefile
   1.2       +2 -2      ports/sysutils/downtimed/distinfo
   1.2       +1 -2      ports/sysutils/downtimed/files/downtimed.in
   1.2       +2 -1      ports/sysutils/downtimed/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
