head	1.35;
access;
symbols
	RELEASE_8_3_0:1.31
	RELEASE_9_0_0:1.31
	RELEASE_7_4_0:1.30
	RELEASE_8_2_0:1.30
	RELEASE_6_EOL:1.29
	RELEASE_8_1_0:1.27
	RELEASE_7_3_0:1.27
	RELEASE_8_0_0:1.27
	RELEASE_7_2_0:1.26
	RELEASE_7_1_0:1.26
	RELEASE_6_4_0:1.26
	RELEASE_5_EOL:1.25
	RELEASE_7_0_0:1.25
	RELEASE_6_3_0:1.25
	PRE_XORG_7:1.21
	RELEASE_4_EOL:1.21
	RELEASE_6_2_0:1.21
	RELEASE_6_1_0:1.21
	RELEASE_5_5_0:1.21
	RELEASE_6_0_0:1.20
	RELEASE_5_4_0:1.15
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.12
	RELEASE_4_8_0:1.12
	RELEASE_5_0_0:1.11
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2;
locks; strict;
comment	@# @;


1.35
date	2013.03.08.21.56.49;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2012.12.12.20.42.48;	author svnexp;	state Exp;
branches;
next	1.33;

1.33
date	2012.11.17.06.01.00;	author svnexp;	state Exp;
branches;
next	1.32;

1.32
date	2012.09.05.14.26.25;	author cy;	state Exp;
branches;
next	1.31;

1.31
date	2011.09.23.22.25.08;	author amdmi3;	state Exp;
branches;
next	1.30;

1.30
date	2010.12.04.07.33.21;	author ade;	state Exp;
branches;
next	1.29;

1.29
date	2010.10.16.11.52.33;	author ade;	state Exp;
branches;
next	1.28;

1.28
date	2010.09.15.18.35.08;	author ade;	state Exp;
branches;
next	1.27;

1.27
date	2009.08.22.00.34.47;	author amdmi3;	state Exp;
branches;
next	1.26;

1.26
date	2008.08.20.00.57.12;	author ade;	state Exp;
branches;
next	1.25;

1.25
date	2007.12.03.17.25.05;	author cy;	state Exp;
branches;
next	1.24;

1.24
date	2007.10.17.10.12.55;	author ade;	state Exp;
branches;
next	1.23;

1.23
date	2007.10.09.06.18.27;	author cy;	state Exp;
branches;
next	1.22;

1.22
date	2007.09.30.04.47.23;	author linimon;	state Exp;
branches;
next	1.21;

1.21
date	2006.02.23.05.05.38;	author cy;	state Exp;
branches;
next	1.20;

1.20
date	2005.07.24.05.28.11;	author nork;	state Exp;
branches;
next	1.19;

1.19
date	2005.07.23.22.53.23;	author nork;	state Exp;
branches;
next	1.18;

1.18
date	2005.07.20.11.57.36;	author pav;	state Exp;
branches;
next	1.17;

1.17
date	2005.05.07.02.45.57;	author kris;	state Exp;
branches;
next	1.16;

1.16
date	2005.04.22.01.14.57;	author cy;	state Exp;
branches;
next	1.15;

1.15
date	2005.02.28.00.14.15;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2004.03.11.21.48.10;	author cy;	state Exp;
branches;
next	1.13;

1.13
date	2004.02.04.05.08.42;	author marcus;	state Exp;
branches;
next	1.12;

1.12
date	2003.03.07.06.10.37;	author ade;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.10.16.47.48;	author lioux;	state Exp;
branches;
next	1.10;

1.10
date	2002.11.07.05.46.02;	author cy;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.05.13.46.25;	author cy;	state Exp;
branches;
next	1.8;

1.8
date	2002.06.08.19.39.39;	author cy;	state Exp;
branches;
next	1.7;

1.7
date	2002.03.15.15.15.05;	author cy;	state Exp;
branches;
next	1.6;

1.6
date	2001.04.04.18.14.12;	author sobomax;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.29.16.34.39;	author sobomax;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.06.13.17.00;	author olgeni;	state Exp;
branches;
next	1.3;

1.3
date	2001.01.16.17.32.15;	author sobomax;	state Exp;
branches;
next	1.2;

1.2
date	2000.07.15.16.23.55;	author will;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.14.16.11.47;	author will;	state Exp;
branches;
next	;


desc
@@


1.35
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Cy Schubert (Cy.Schubert@@uumail.gov.bc.ca)
# $FreeBSD: head/security/aide/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	aide
PORTVERSION=	0.15.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	SF \
		http://www.cs.tut.fi/~rammer/


MAINTAINER=	cy@@FreeBSD.org
COMMENT=	A replacement and extension for Tripwire

LIB_DEPENDS=	mhash.2:${PORTSDIR}/security/mhash

.include <bsd.port.pre.mk>

USE_GMAKE=	yes
USES=		bison
USE_AUTOTOOLS=	autoconf
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-mhash \
		--with-zlib \
		--mandir=${MANPREFIX}/man \
		--with-config_file=${PREFIX}/etc/aide.conf

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 ${PREFIX}/etc/aide.conf.sample
	@@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 \
		${MKDIR} /var/db/aide/databases; \
		${CHOWN} root:wheel /var/db/aide ; \
		${CHOWN} root:wheel /var/db/aide/databases ; \
		${CHMOD} 0700 /var/db/aide ; \
		${CHMOD} 0700 /var/db/aide/databases ; \
	fi
	@@${ECHO}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO}
.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

.include <bsd.port.post.mk>
@


1.34
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308793
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308793 | cy | 2012-12-12 20:39:52 +0000 (Wed, 12 Dec 2012) | 5 lines
## SVN ##
## SVN ## Fix FreeBSD 8.X compile issue discussed in aide mailing list
## SVN ## (http://www.mail-archive.com/aide@@cs.tut.fi/msg01621.html).
## SVN ##
## SVN ## Submitted by:	ume
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 6
# New ports collection makefile for:	aide
# Date created:				Tue Jan  4 11:45:29 PST 2000
# Whom:					Cy Schubert (Cy.Schubert@@uumail.gov.bc.ca)
#
# $FreeBSD: head/security/aide/Makefile 308793 2012-12-12 20:39:52Z cy $
#
d20 1
a20 1
USE_BISON=	build
@


1.33
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/aide/Makefile 303708 2012-09-05 14:26:25Z cy $
d10 1
@


1.32
log
@SVN rev 303708 on 2012-09-05 14:26:25Z by cy

Update 0.13.1 --> 0.15.1
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.31
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 2
PORTVERSION=	0.13.1
PORTREVISION=	3
@


1.30
log
@Sync to new bsd.autotools.mk
@
text
@d32 2
a33 2
CONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@


1.29
log
@Punt autoconf267->autoconf268
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoconf:268
@


1.28
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoconf:267
@


1.27
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	2
d25 1
a25 1
USE_AUTOTOOLS=	autoconf:262
@


1.26
log
@Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
@
text
@d12 1
a12 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
d14 1
a14 1
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.25
log
@PORTREVISION bump in support of pkg-plist revision 1.5.

Approved by:	portsmgr (ewin)
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoconf:261
@


1.24
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.23
log
@Update 0.11 --> 0.13.1
@
text
@d10 1
d24 1
a24 1
USE_BISON=	yes
@


1.22
log
@Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
@
text
@d9 1
a9 2
PORTVERSION=	0.11
PORTREVISION=	1
d20 2
d28 1
d66 1
a66 1
.include <bsd.port.mk>
@


1.21
log
@Update 0.10 --> 0.11
@
text
@d10 1
d23 1
a23 1
USE_AUTOTOOLS=	autoconf:259
@


1.20
log
@[forced commit]
I used a 'by' instead of 'to'.  I missed a preposition..

	Damaged and Wept to:	ume

Pointy hat to:	myself
Pointed out by:	ume
@
text
@d9 1
a9 2
PORTVERSION=	0.10
PORTREVISION=	1
d22 1
d28 2
a29 1
CONFIGURE_ENV+=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
@


1.19
log
@Don't overwrite installed aide.conf by using -f FILE
instead of -d FILE.

Damaged by:	ume
Wept by:	ume
Approved by:	maintainer slience
@
text
@@


1.18
log
@- Fix plist and unbreak [1, 2]
- Clean up Makefile and update pkg-message handling

PR:		ports/81492 [1], ports/83128 [2]
Submitted by:	Boris B. Samorodov <bsam@@ipt.ru>,
		Norikatsu Shigemura <n-shigemura@@ensure.jp>
Approved by:	maintainer timeout (2 months)
@
text
@d37 1
a37 1
	@@if [ ! -d ${PREFIX}/etc/aide.conf ]; then \
@


1.17
log
@BROKEN: Incomplete pkg-plist
@
text
@d12 2
a13 10
MASTER_SITE_SOURCEFORGE+= http://unc.dl.sourceforge.net/%SUBDIR%/ \
		http://umn.dl.sourceforge.net/%SUBDIR%/ \
		http://twtelecom.dl.sourceforge.net/%SUBDIR%/ \
		http://aleron.dl.sourceforge.net/%SUBDIR%/ \
		http://easynews.dl.sourceforge.net/%SUBDIR%/ \
		http://switch.dl.sourceforge.net/%SUBDIR%/ \
		http://cesnet.dl.sourceforge.net/%SUBDIR%/ \
		http://flow.dl.sourceforge.net/%SUBDIR%/ \
		http://keihanna.dl.sourceforge.net/%SUBDIR%/ \
		http://heanet.dl.sourceforge.net/%SUBDIR%/ 
a14 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
		http://www.cs.tut.fi/~rammer/ \
a18 2
BROKEN=		Incomplete pkg-plist

d33 2
d41 1
a41 1
		${MKDIR} -p /var/db/aide/databases; \
@


1.16
log
@- Package list fixes

- aide.conf moved from /var/db/aide to PREFIX/etc
@
text
@d29 2
@


1.15
log
@Incomplete pkg-plist (installs files into nonstandard locale directory)
@
text
@d10 1
a30 2
BROKEN=		"Incomplete pkg-plist (installs files into nonstandard locale directory)"

d36 1
a36 1
		--with-config_file=/var/db/aide/aide.conf
d45 5
a49 2
	@@${MKDIR} /var/db/aide/databases
	@@if [ ! -f /var/db/aide/aide.conf ]; then \
@


1.14
log
@Update aide 0.9 --> 0.10.
@
text
@a24 1

d30 2
@


1.13
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	0.9
PORTREVISION=	1
d11 14
a24 2
MASTER_SITES=	http://www.cs.tut.fi/~rammer/ \
		ftp://ftp.cs.tut.fi/pub/src/gnu/
d31 1
@


1.12
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
@


1.11
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d15 1
@


1.10
log
@Use PORTCOMMENT.
@
text
@a15 2
PORTCOMMENT=	A replacement and extension for Tripwire

@


1.9
log
@Update 0.7 --> 0.9

The aide database was in /var/adm/aide and is now in /var/db/aide. /var/adm
is a SYSV directory that does not exist on FreeBSD.
@
text
@d16 2
@


1.8
log
@The default aide.conf silently fails to check subdirectories, even though
it appears to be configured to do so.

Submitted by:	Oliver Crow <ocrow@@simplexity.net>
@
text
@d9 1
a9 2
PORTVERSION=	0.7
PORTREVISION=	1
d22 1
a22 1
		--with-config_file=/var/adm/aide/aide.conf
d31 6
a36 6
	@@${MKDIR} /var/adm/aide/databases
	@@if [ ! -f /var/adm/aide/aide.conf ]; then \
		${CHOWN} root:wheel /var/adm/aide ; \
		${CHOWN} root:wheel /var/adm/aide/databases ; \
		${CHMOD} 0700 /var/adm/aide ; \
		${CHMOD} 0700 /var/adm/aide/databases ; \
d46 2
a47 2
	@@${CP} -p /var/adm/aide/aide.conf /mnt/aide.conf
	@@${CP} < /var/adm/aide/databases/aide.db /mnt/aide.db
@


1.7
log
@Change MAINTAINER from me at work to me at FreeBSD.org.
@
text
@d10 1
@


1.6
log
@Fix another PTHREAD_LIBS conversion victim.

Prompted by:	maintainer
@
text
@d14 1
a14 1
MAINTAINER=	Cy.Schubert@@uumail.gov.bc.ca
@


1.5
log
@-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS}

Note: my first intention was to test this out on bento/beta, but per ade's
requiest I opted to do it quickly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/aide/Makefile,v 1.4 2001/02/06 13:17:00 olgeni Exp $
d24 1
a24 1
CONFIGURE_ENV+=	LIBS='-L${LOCALBASE}/lib ${PTHREAD_LIBS}'
@


1.4
log
@Misc. port cleanups and some manpage fixes (correct FILES section).

PR:		20997 (slightly modified for new port layout)
Submitted by:	olgeni
Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/aide/Makefile,v 1.3 2001/01/16 17:32:15 sobomax Exp $
d24 1
a24 1
CONFIGURE_ENV+=	LIBS='-L${LOCALBASE}/lib -pthread'
@


1.3
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/aide/Makefile,v 1.2 2000/07/15 16:23:55 will Exp $
d30 8
a37 1
	${INSTALL_DATA} ${FILESDIR}/aide.conf.freebsd ${PREFIX}/etc/aide.conf.sample
d39 1
a39 8
	@@${ECHO} "If you want to finish setting up AIDE, don't forget to make"
	@@${ECHO} "a new directory called /var/adm/aide and then create your own"
	@@${ECHO} "aide.conf based on ${PREFIX}/etc/aide.conf.sample and then"
	@@${ECHO} "copy it to that directory.  You will also need to make the"
	@@${ECHO} "databases directory, /var/adm/aide/databases, and run the"
	@@${ECHO} "following command:"
	@@${ECHO}
	@@${ECHO} "	cd /var/adm/aide;aide --init;mv databases/aide.db.new databases/aide.db"
@


1.2
log
@Add USE_BISON.

PR:		19948
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/aide/Makefile,v 1.1 2000/07/14 16:11:47 will Exp $
d14 1
a14 1
MAINTAINER=     Cy.Schubert@@uumail.gov.bc.ca
@


1.1
log
@Finally add AIDE, a security tool similar to Tripwire but much improved.

PR:		15894
Submitted by:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@d5 1
a5 1
# $FreeBSD$
d18 1
@

