ports/81492: security/aide: fix incomplete pkg-plist
Boris B. Samorodov
bsam at ipt.ru
Thu May 26 06:20:03 UTC 2005
>Number: 81492
>Category: ports
>Synopsis: security/aide: fix incomplete pkg-plist
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 26 06:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Boris B. Samorodov
>Release: FreeBSD 5.3-STABLE i386
>Organization:
InPharmtech
>Environment:
System: FreeBSD srv.sem.ipt.ru 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed May 25 14:51:41 MSD 2005 bsam at srv.sem.ipt.ru:/usr/obj/usr/src/sys/SRV i386
>Description:
The port security/aide is marked as broken (incomplete PLIST).
Next patch fixes it.
Hints:
o the patch should be applied to the port itself;
o I don't think that PORTREVISION should be bumpted.
>How-To-Repeat:
Look at the port's tree.
>Fix:
----- patch start -----
diff -u aide.orig/Makefile aide/Makefile
--- aide.orig/Makefile Sat May 7 06:45:57 2005
+++ aide/Makefile Thu May 26 09:53:20 2005
@@ -26,8 +26,6 @@
MAINTAINER= cy at FreeBSD.org
COMMENT= A replacement and extension for Tripwire
-BROKEN= Incomplete pkg-plist
-
LIB_DEPENDS= mhash.2:${PORTSDIR}/security/mhash
USE_GMAKE= yes
Only in aide: README.html
Common subdirectories: aide.orig/files and aide/files
diff -u aide.orig/pkg-plist aide/pkg-plist
--- aide.orig/pkg-plist Fri Apr 22 05:14:57 2005
+++ aide/pkg-plist Thu May 26 09:51:58 2005
@@ -1,5 +1,7 @@
bin/aide
+ at unexec if cmp -s %D/etc/aide.conf %D/etc/aide.conf.sample; then rm -f %D/etc/aide.conf; fi
etc/aide.conf.sample
+ at exec [ -f %B/aide.conf ] || cp %B/%f %B/aide.conf
@exec /bin/mkdir -p /var/db/aide/databases
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide
@exec [ -f /var/db/aide/aide.conf ] || /usr/sbin/chown root:wheel /var/db/aide/databases
----- patch stop -----
WBR
--
bsam
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list