From root@lupe-christoph.de  Sun Jul 24 14:03:48 2005
Return-Path: <root@lupe-christoph.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0C12C16A41F;
	Sun, 24 Jul 2005 14:03:48 +0000 (GMT)
	(envelope-from root@lupe-christoph.de)
Received: from buexe.b-5.de (buexe.b-5.de [84.19.0.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 653D543D48;
	Sun, 24 Jul 2005 14:03:47 +0000 (GMT)
	(envelope-from root@lupe-christoph.de)
Received: from antalya.lupe-christoph.de (antalya.lupe-christoph.de [172.17.0.9])
	by buexe.b-5.de (8.12.3/8.12.3/b-5/buexe-3.4) with ESMTP id j6OE3jqi010596;
	Sun, 24 Jul 2005 16:03:46 +0200
Received: from localhost (localhost [127.0.0.1])
	by antalya.lupe-christoph.de (Postfix) with ESMTP id 83FDB34B5F;
	Sun, 24 Jul 2005 16:03:40 +0200 (CEST)
Received: from antalya.lupe-christoph.de ([127.0.0.1])
	by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 23869-08-3; Sun, 24 Jul 2005 16:03:36 +0200 (CEST)
Received: from firewally.lupe-christoph.de (firewally.lupe-christoph.de [172.17.0.7])
	by antalya.lupe-christoph.de (Postfix) with ESMTP id 55E7934B5E;
	Sun, 24 Jul 2005 16:03:36 +0200 (CEST)
Received: by firewally.lupe-christoph.de (Postfix, from userid 0)
	id 147B4A759; Sun, 24 Jul 2005 16:03:36 +0200 (CEST)
Message-Id: <20050724140336.147B4A759@firewally.lupe-christoph.de>
Date: Sun, 24 Jul 2005 16:03:36 +0200 (CEST)
From: Lupe Christoph <lupe@lupe-christoph.de>
Reply-To: Lupe Christoph <lupe@lupe-christoph.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: cy@freebsd.org
Subject: Aide clobbers /usr/local/etc/aide.conf
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84002
>Category:       ports
>Synopsis:       Aide clobbers /usr/local/etc/aide.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 24 14:10:02 GMT 2005
>Closed-Date:    Sun Jul 24 14:33:14 GMT 2005
>Last-Modified:  Sun Jul 24 14:33:14 GMT 2005
>Originator:     Lupe Christoph
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD firewally.lupe-christoph.de 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #2: Sat Dec 11 17:38:51 CET 2004 lupe@firewally.lupe-christoph.de:/usr/obj/usr/src/sys/FIREWALLY i386


	
>Description:
	Because of a typo, upgrading aide will clobber it's
	configuration file, potentially compromising security
>How-To-Repeat:
	Install aide. Change /usr/local/etc/aide.conf. Reinstall.
>Fix:

--- aide.patch begins here ---
--- Makefile.orig	Sat May 14 03:28:48 2005
+++ Makefile	Sun Jul 24 15:58:22 2005
@@ -44,7 +44,7 @@
 
 post-install:
 	@${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf.sample
-	@if [ ! -d ${PREFIX}/etc/aide.conf ]; then \
+	@if [ ! -f ${PREFIX}/etc/aide.conf ]; then \
 		${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf ; \
 	fi
 	@if [ ! -d /var/db/aide/databases ]; then \
--- aide.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nork 
State-Changed-When: Sun Jul 24 14:32:42 GMT 2005 
State-Changed-Why:  
Thank you.  Alread fixed.  Please update your ports. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84002 
>Unformatted:
