From nobody@FreeBSD.org  Sat Jul 15 19:20:29 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9F58516A67D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jul 2006 19:20:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8B58C43D7B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jul 2006 19:20:24 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6FJKOAV024250
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Jul 2006 19:20:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6FJKOhp024249;
	Sat, 15 Jul 2006 19:20:24 GMT
	(envelope-from nobody)
Message-Id: <200607151920.k6FJKOhp024249@www.freebsd.org>
Date: Sat, 15 Jul 2006 19:20:24 GMT
From: Nick Withers <nick@nickwithers.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: misc/downtime A GTK-based shutdown timer using shutdown(8)
X-Send-Pr-Version: www-2.3

>Number:         100352
>Category:       ports
>Synopsis:       New port: misc/downtime A GTK-based shutdown timer using shutdown(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 15 19:30:17 GMT 2006
>Closed-Date:    Mon Jul 17 08:56:41 GMT 2006
>Last-Modified:  Mon Jul 17 08:56:41 GMT 2006
>Originator:     Nick Withers
>Release:        6.1-RELEASE
>Organization:
>Environment:
FreeBSD shmick.shmon.net 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Tue Jun 20 16:56:09 EST 2006     nick@shmick.shmon.net:/usr/obj/usr/src/sys/SHMICK  i386
>Description:
DownTime is a relatively little application that serves primarily as a GTK front-end for shutdown(8).

NOTE: The Makefile in the DownTime 0.2.0 distribution needs some attention. In particular, a make && make install will actually fully compile DownTime twice. If this is a problem from a FreeBSD ports perspective, please hassle me. I'm keen on fixing it anyway but have very limited knowledge of make(1).
>How-To-Repeat:

>Fix:
%shar `find /usr/ports/misc/downtime`
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       /usr/ports/misc/downtime
#       /usr/ports/misc/downtime/distinfo
#       /usr/ports/misc/downtime/Makefile
#       /usr/ports/misc/downtime/pkg-descr
#
echo c - /usr/ports/misc/downtime
mkdir -p /usr/ports/misc/downtime > /dev/null 2>&1
echo x - /usr/ports/misc/downtime/distinfo
sed 's/^X//' >/usr/ports/misc/downtime/distinfo << 'END-of-/usr/ports/misc/downtime/distinfo'
XMD5 (downtime-0.2.0.tar.gz) = 6145eddc56d302190e5a86d10a9e7f0c
XSHA256 (downtime-0.2.0.tar.gz) = e951084d72815785c5d58c80dec428e301f3059af1e437e4b3550f086b0018ef
XSIZE (downtime-0.2.0.tar.gz) = 19443
END-of-/usr/ports/misc/downtime/distinfo
echo x - /usr/ports/misc/downtime/Makefile
sed 's/^X//' >/usr/ports/misc/downtime/Makefile << 'END-of-/usr/ports/misc/downtime/Makefile'
X# New ports collection makefile for:   downtime
X# Date created:                16 July 2006
X# Whom:                        Nick Withers (nick@nickwithers.com)
X#
X# $FreeBSD$
X#
X
XPORTNAME=      downtime
XPORTVERSION=   0.2.0
XCATEGORIES=    misc
XMASTER_SITES=  http://www.nickwithers.com/downtime/
X
XMAINTAINER=    nick@nickwithers.com
XCOMMENT=       A GTK-based shutdown timer using shutdown(8)
X
XUSE_X_PREFIX=  yes
XUSE_GNOME=     gtk20
X
XPLIST_FILES=   bin/downtime
X
XMAN1=          downtime.1
XMANCOMPRESSED= yes
X
X.include <bsd.port.mk>
END-of-/usr/ports/misc/downtime/Makefile
echo x - /usr/ports/misc/downtime/pkg-descr
sed 's/^X//' >/usr/ports/misc/downtime/pkg-descr << 'END-of-/usr/ports/misc/downtime/pkg-descr'
XDownTime is a GTK-based graphical utility for scheduling shutdowns,
Xreboots, et cetera.
X
XWWW: http://www.nickwithers.com/downtime
END-of-/usr/ports/misc/downtime/pkg-descr
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: novel 
Responsible-Changed-When: Sun Jul 16 06:16:49 UTC 2006 
Responsible-Changed-Why:  
I will take it. 

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

From: Roman Bogorodskiy <novel@FreeBSD.org>
To: bug-followup@FreeBSD.org, nick@nickwithers.com
Cc:  
Subject: Re: ports/100352: New port: misc/downtime A GTK-based shutdown timer using shutdown(8)
Date: Sun, 16 Jul 2006 20:09:52 +0000

 --NzB8fVQJ5HfG6fxh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Doesn't build on -CURRENT:
 
 http://tb3.droso.net/errors/7-novel/downtime-0.2.0.log
 
 Roman Bogorodskiy
 
 --NzB8fVQJ5HfG6fxh
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (FreeBSD)
 
 iQCVAwUBRLqdD4B0WzgdqspGAQLjngP+I4/f4mb/rvbcTXvNxL70b8oluw18bq4P
 TUz/rUFWLyofDtEI8BHddI3VBWZGMp3gjWTFrgdRGhLpe+haddIAVEleDF4+Vldo
 DaTV3pkxStr7afyE5oYWnuuGUGN6hwAouKVNQyuSAUnBRvGP81vrTEW8+5Q3flbf
 LLTflo90ZAw=
 =reSQ
 -----END PGP SIGNATURE-----
 
 --NzB8fVQJ5HfG6fxh--

From: Nick Withers <nick@nickwithers.com>
To: Roman Bogorodskiy <novel@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/100352: New port: misc/downtime A GTK-based shutdown
 timer using shutdown(8)
Date: Mon, 17 Jul 2006 09:22:05 +1000

 On Sun, 16 Jul 2006 20:09:52 +0000
 Roman Bogorodskiy <novel@FreeBSD.org> wrote:
 
 > Doesn't build on -CURRENT:
 > 
 > http://tb3.droso.net/errors/7-novel/downtime-0.2.0.log
 
 Cheers Roman,
 
 I believe the problem is that WIF*() macros actually take an
 int, not an (int *) as I've given (the waitpid(2) man page is
 a little ambiguous on this).
 
 I'll update my code in the next day or so, bump version numbers
 and update the PR (if this suits you).
 
 > Roman Bogorodskiy
 
 Thanks for your help, and quick handling of the PR!
 -- 
 Nick Withers
 email: nick@nickwithers.com
 Web: http://www.nickwithers.com
 Mobile: +61 414 397 446
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Mon Jul 17 08:56:38 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100352 
>Unformatted:
