ports/107080: [MAINTAINER] security/prelude-lml: fix post installment for configuration files
Robin Gruyters
r.gruyters at yirdis.nl
Fri Dec 22 08:10:25 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list