Date: Thu, 26 May 2005 10:19:09 +0400 From: "Boris B. Samorodov" <bsam@ipt.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/81492: security/aide: fix incomplete pkg-plist Message-ID: <E1DbBi1-0002M6-Tc@bsam.ru> Resent-Message-ID: <200505260620.j4Q6K2RG039168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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 +@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 +@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DbBi1-0002M6-Tc>