Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 2006 15:01:44 -0600 (CST)
From:      "Douglas K. Rand" <rand@meridian-enviro.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        cy@FreeBSD.org
Subject:   ports/94935: security/aide
Message-ID:  <200603252101.k2PL1iiq026551@delta.meridian-enviro.com>
Resent-Message-ID: <200603252110.k2PLABf0007070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94935
>Category:       ports
>Synopsis:       security/aide
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 25 21:10:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Douglas K. Rand
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Meridian Environmental Technology, Inc.
>Environment:
System: FreeBSD delta.meridian-enviro.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Wed Mar 22 17:31:09 CST 2006 root@delta.meridian-enviro.com:/usr/obj/usr/src/sys/FCST i386

>Description:
	I store my aide.conf and aide.db files (along with the aide executable)
	on CD-RW media and mount them in CD-ROM drives on my exposed systems.
	(I re-write the CDs on a more trusted system.) I'd like to propose
	an AIDE_CONF knob for make.conf that would easily let me hard-code
	my preferred path to aide.conf.

>How-To-Repeat:
	Forget to edit Makefile to change the --with-config_file line when
	installing or updating aide.

>Fix:

--- Makefile.orig	Sat Mar 25 14:51:03 2006
+++ Makefile	Sat Mar 25 14:52:25 2006
@@ -17,13 +17,15 @@
 
 LIB_DEPENDS=	mhash.2:${PORTSDIR}/security/mhash
 
+AIDE_CONF?=	${PREFIX}/etc/aide.conf
+
 USE_GMAKE=	yes
 USE_BISON=	yes
 USE_AUTOTOOLS=	autoconf:259
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-mhash \
 		--with-zlib \
-		--with-config_file=${PREFIX}/etc/aide.conf
+		--with-config_file=${AIDE_CONF}
 
 CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603252101.k2PL1iiq026551>