From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 26 06:20:03 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0719A16A41C for ; Thu, 26 May 2005 06:20:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91CD043D4C for ; Thu, 26 May 2005 06:20:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4Q6K2kP039169 for ; Thu, 26 May 2005 06:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4Q6K2RG039168; Thu, 26 May 2005 06:20:02 GMT (envelope-from gnats) Resent-Date: Thu, 26 May 2005 06:20:02 GMT Resent-Message-Id: <200505260620.j4Q6K2RG039168@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Boris B. Samorodov" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E553B16A41C for ; Thu, 26 May 2005 06:18:01 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam.ru (gw.ipt.ru [80.253.10.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C22F43D48 for ; Thu, 26 May 2005 06:18:00 +0000 (GMT) (envelope-from bsam@bsam.ru) Received: from bsam by bsam.ru with local (Exim 4.30; FreeBSD) id 1DbBi1-0002M6-Tc for FreeBSD-gnats-submit@freebsd.org; Thu, 26 May 2005 10:19:09 +0400 Message-Id: Date: Thu, 26 May 2005 10:19:09 +0400 From: "Boris B. Samorodov" Sender: "Boris B. Samorodov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/81492: security/aide: fix incomplete pkg-plist X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Boris B. Samorodov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 06:20:03 -0000 >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: