Date: Fri, 22 Dec 2006 09:06:15 +0100 (CET) From: Robin Gruyters <r.gruyters@yirdis.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/107080: [MAINTAINER] security/prelude-lml: fix post installment for configuration files Message-ID: <200612220806.kBM86FRn088347@server.yirdis.net> Resent-Message-ID: <200612220810.kBM8AOA8091675@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107080 >Category: ports >Synopsis: [MAINTAINER] security/prelude-lml: fix post installment for configuration files >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: Fri Dec 22 08:10:24 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Robin Gruyters >Release: FreeBSD 6.1-RELEASE-p10 i386 >Organization: YIRDIS B.V. >Environment: System: FreeBSD server.yirdis.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Tue Oct 24 10:44:15 CEST 2006 >Description: Fix post installment for configuration files. (if not exists...) Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- prelude-lml-0.9.8.1_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/prelude-lml/Makefile /data2/FreeBSD/custom_ports/security/prelude-lml/Makefile --- /usr/ports/security/prelude-lml/Makefile Fri Dec 22 08:41:30 2006 +++ /data2/FreeBSD/custom_ports/security/prelude-lml/Makefile Fri Dec 22 08:47:57 2006 @@ -6,6 +6,7 @@ PORTNAME= prelude-lml PORTVERSION= 0.9.8.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ http://www.prelude-ids.org/download/releases/old/ @@ -34,11 +35,11 @@ .endif post-install: - @if [ -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \ + @if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \ ${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \ ${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \ fi - @if [ -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \ + @if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \ ${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \ ${PREFIX}/etc/prelude-lml/plugins.rules ; \ fi --- prelude-lml-0.9.8.1_1.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?200612220806.kBM86FRn088347>