Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2001 22:13:13 -0500 (CDT)
From:      dwcjr@inethouston.net
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        fullermd@over-yonder.net
Subject:   ports/27551: UPDATE x11/bgrot
Message-ID:  <20010523031313.3FB0A10F410@leviathan.inethouston.net>

next in thread | raw e-mail | index | archive | help

>Number:         27551
>Category:       ports
>Synopsis:       UPDATE x11/bgrot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 22 20:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David W. Chapman Jr.
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Raintree Network Services, Inc. 
>Environment:
System: FreeBSD leviathan.inethouston.net 4.3-STABLE FreeBSD 4.3-STABLE #4: Fri May 11 10:49:15 CDT 2001 poseiden@leviathan.inethouston.net:/stripe1/compile/src/sys/compile/LEVIATHAN i386

>Description:

Add logic to delete .conf file if not modified

>How-To-Repeat:
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/bgrot/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2001/02/05 16:17:56	1.6
+++ Makefile	2001/05/23 03:12:03
@@ -20,4 +20,7 @@
 MAN1=		bgrot.1
 MANCOMPRESSED=	yes
 
+post-install:
+	@${INSTALL_DATA} ${WRKSRC}/bgrot.conf.skel ${PREFIX}/etc/
+
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/x11/bgrot/pkg-plist,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 pkg-plist
--- pkg-plist	1999/01/18 04:46:23	1.1.1.1
+++ pkg-plist	2001/05/23 03:12:03
@@ -1,5 +1,7 @@
+@unexec if cmp -s %D/etc/bgrot.conf %D/etc/bgrot.conf.skel; then rm -f %D/etc/bgrot.conf; fi
 bin/background.sh
 bin/bgrandom.pl
 bin/createlist.sh
 bin/masterlistgen.sh
 bin/bgrotman.pl
+etc/bgrot.conf.skel

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010523031313.3FB0A10F410>