ports/94935: security/aide

Douglas K. Rand rand at meridian-enviro.com
Sat Mar 25 21:10:13 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list