[Midnightbsd-cvs] mports [18293] trunk/security/aide/Makefile: update aide plist

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Mar 24 08:25:04 EDT 2015


Revision: 18293
          http://svnweb.midnightbsd.org/mports/?rev=18293
Author:   laffer1
Date:     2015-03-24 08:25:03 -0400 (Tue, 24 Mar 2015)
Log Message:
-----------
update aide plist

Modified Paths:
--------------
    trunk/security/aide/Makefile

Modified: trunk/security/aide/Makefile
===================================================================
--- trunk/security/aide/Makefile	2015-03-24 12:23:30 UTC (rev 18292)
+++ trunk/security/aide/Makefile	2015-03-24 12:25:03 UTC (rev 18293)
@@ -2,6 +2,7 @@
 
 PORTNAME=	aide
 PORTVERSION=	0.15.1
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF \
 		http://www.cs.tut.fi/~rammer/
@@ -10,10 +11,9 @@
 COMMENT=	Replacement and extension for Tripwire
 LICENSE=	gpl2
 
-LIB_DEPENDS=	mhash.2:${PORTSDIR}/security/mhash
+LIB_DEPENDS=	libmhash.so:${PORTSDIR}/security/mhash
+USES=		bison gmake
 
-USE_GMAKE=	yes
-USE_BISON=	build
 USE_AUTOTOOLS=	autoconf
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-mhash \
@@ -20,26 +20,14 @@
 		--with-zlib \
 		--with-config_file=${PREFIX}/etc/aide.conf
 
-CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CFLAGS+=	-I${LOCALBASE}/include
 
-MAN1=		aide.1
-MAN5=		aide.conf.5
-
 SUB_FILES=	pkg-message
 
 post-install:
-	${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${FAKE_DESTDIR}${TRUE_PREFIX}/etc/aide.conf.sample
-.if defined(AIDE_FLOPPY)
-	@disklabel -w -B /dev/rfd0c fd1440
-	@newfs -u 0 -t 0 -i 196608 -m 0 -T minimum -o space /dev/rfd0c
-	@mount /dev/fd0c /mnt
-	@${CP} ${PREFIX}/bin/aide /mnt/aide
-	@${CP} -p /var/db/aide/aide.conf /mnt/aide.conf
-	@${CP} < /var/db/aide/databases/aide.db /mnt/aide.db
-	@${CHMOD} 555 /mnt/aide
-	@umount /mnt
-	@${ECHO} Do not forget to remove and write-protect the floppy.
-.endif
+	${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${STAGEDIR}${PREFIX}/etc/aide.conf.sample
+	${MKDIR} ${STAGEDIR}/var/db/aide/databases
+	${CHMOD} 0700 ${STAGEDIR}/var/db/aide ${STAGEDIR}/var/db/aide/databases
 
 .include <bsd.port.mk>



More information about the Midnightbsd-cvs mailing list