Date: Mon, 26 Feb 2007 11:57:25 GMT From: Thomas Sandford <freebsduser@paradisegreen.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/109559: [PATCH] databases/usogres: UnBREAK, by fixing unremoved configuration file. Message-ID: <200702261157.l1QBvPH3034375@miriam.paradisegreen.co.uk> Resent-Message-ID: <200702261240.l1QCe5RG014708@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109559 >Category: ports >Synopsis: [PATCH] databases/usogres: UnBREAK, by fixing unremoved configuration file. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 12:40:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Thomas Sandford >Release: FreeBSD 6.2-RELEASE i386 >Organization: Paradise Green Technical Services >Environment: System: FreeBSD miriam.paradisegreen.co.uk 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 >Description: Don't install configuration file (which wasn't being removed on deinstall). Instead add an installation message pointing to the sample configuration file which is (still) installed. Remove BROKEN/DEPRECTAED/EXPIRATION lines as this patch fixes the BREAKage. Bump PORTREVISION Added file(s): - files/pkg-message.in Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- usogres-0.8.1_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/usogres-orig/Makefile /usr/ports/databases/usogres/Makefile --- /usr/ports/databases/usogres-orig/Makefile Mon Feb 26 11:10:51 2007 +++ /usr/ports/databases/usogres/Makefile Mon Feb 26 11:54:49 2007 @@ -7,20 +7,18 @@ PORTNAME= usogres PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://usogres.good-day.net/download/ MAINTAINER= kuriyama@FreeBSD.org COMMENT= Real-time backup utility for PostgreSQL -BROKEN= Leaves behind config file on deinstall -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2007-04-10 - USE_BZIP2= yes GNU_CONFIGURE= yes USE_GMAKE= yes +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message # To avoid syslogd load, add this parameter. #MAKE_ARGS= NDEBUG=yes @@ -29,7 +27,6 @@ cd ${WRKSRC}; ${CP} usogresrc usogresrc.sample post-install: - [ -f ${PREFIX}/etc/usogresrc ] || \ - ${INSTALL_DATA} ${WRKSRC}/usogresrc ${PREFIX}/etc + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/databases/usogres-orig/files/pkg-message.in /usr/ports/databases/usogres/files/pkg-message.in --- /usr/ports/databases/usogres-orig/files/pkg-message.in Thu Jan 1 01:00:00 1970 +++ /usr/ports/databases/usogres/files/pkg-message.in Mon Feb 26 11:38:36 2007 @@ -0,0 +1,9 @@ +A sample configuration file has been installed in + + %%PREFIX%%/etc/usogres.sample + +This file should be copied to + + %%PREFIX%%/etc/usogres + +and edited to suit your desired setup. --- usogres-0.8.1_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702261157.l1QBvPH3034375>