head	1.23;
access;
symbols
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.20
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.14
	RELEASE_7_1_0:1.14
	RELEASE_6_4_0:1.14
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.8
	RELEASE_6_3_0:1.8
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.7
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.2;
locks; strict;
comment	@# @;


1.23
date	2011.04.04.19.40.00;	author ohauer;	state dead;
branches;
next	1.22;

1.22
date	2011.03.19.13.15.29;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.04.07.33.22;	author ade;	state Exp;
branches;
next	1.20;

1.20
date	2010.10.16.11.52.33;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2010.10.05.19.57.49;	author ade;	state Exp;
branches;
next	1.18;

1.18
date	2010.09.15.18.35.08;	author ade;	state Exp;
branches;
next	1.17;

1.17
date	2010.08.18.17.57.41;	author ohauer;	state Exp;
branches;
next	1.16;

1.16
date	2009.08.22.00.34.48;	author amdmi3;	state Exp;
branches;
next	1.15;

1.15
date	2009.07.06.07.45.04;	author itetcu;	state Exp;
branches;
next	1.14;

1.14
date	2008.08.21.06.18.12;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2008.08.20.00.57.12;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2008.06.21.12.30.35;	author miwi;	state Exp;
branches;
next	1.11;

1.11
date	2008.05.26.04.24.20;	author edwin;	state Exp;
branches;
next	1.10;

1.10
date	2008.05.09.21.32.19;	author itetcu;	state Exp;
branches;
next	1.9;

1.9
date	2008.01.04.12.48.36;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2007.09.30.04.47.24;	author linimon;	state Exp;
branches;
next	1.7;

1.7
date	2006.03.24.00.57.41;	author mnag;	state Exp;
branches;
next	1.6;

1.6
date	2006.01.26.10.17.08;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2005.11.15.06.50.54;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2005.04.12.03.26.26;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	2005.04.11.08.04.00;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	2005.03.15.21.56.07;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.10.00.16.31;	author pav;	state Exp;
branches;
next	;


desc
@@


1.23
log
@ - remove expired port security/barnyard
 - remove barnyard from security/Makefile
@
text
@# New ports collection makefile for:	barnyard
# Date created:				1 Feb 2005
# Whom:					pauls
#
# $FreeBSD: ports/security/barnyard/Makefile,v 1.22 2011/03/19 13:15:29 ale Exp $
#

PORTNAME=	barnyard
PORTVERSION=	0.2.0
PORTREVISION=	8
CATEGORIES=	security
MASTER_SITES=	SF/barnyard/barnyard-0.2/${PORTVERSION}

MAINTAINER=	pauls@@utdallas.edu
COMMENT?=	An output system for Snort

RUN_DEPENDS+=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort

OPTIONS=	MYSQL "Enable MySQL support" on \
		POSTGRESQL "Enable PostgreSQL support" off

DEPRECATED=	Use security/barnyard2 instead
EXPIRATION=	2010-12-31

USE_AUTOTOOLS=	autoheader aclocal
USE_RC_SUBR=	barnyard.sh
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="${LDFLAGS}"
SLAVEDIRS=	security/barnyard-sguil6
SUB_FILES=	pkg-message

DOCS=		AUTHORS COPYING LICENSE.QPL README
PORTDOCS=	BUGS ChangeLog FAQ INSTALL NEWS USAGE

.include <bsd.port.pre.mk>

.if defined(WITH_MYSQL)
USE_MYSQL=		yes
CONFIGURE_ARGS+=	--enable-mysql \
			--with-mysql-includes=${LOCALBASE}/include/mysql \
			--with-mysql-libraries=${LOCALBASE}/lib/mysql
.endif

.if defined(WITH_POSTGRESQL)
USE_PGSQL=		yes
CONFIGURE_ARGS+=	--enable-postgres
.endif

.if ${ARCH} == "amd64" || ${ARCH} =="ia64" || ${ARCH} == "sparc64"
EXTRA_PATCHES+=	${FILESDIR}/64-bit-barnyard.h \
		${FILESDIR}/64-bit-input-plugins-dp-alert.h \
		${FILESDIR}/64-bit-util.h \
		${FILESDIR}/64-bit-event.h \
		${FILESDIR}/64-bit-util.c
.endif

post-install:

.for f in barnyard.conf
	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}-sample
	[ -f ${PREFIX}/etc/${f} ] || \
	${INSTALL_DATA} ${WRKSRC}/etc/${f} ${PREFIX}/etc/${f}
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
	cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

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


1.22
log
@Bump PORTREVISION for ports linking to default libmysqlclient.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	7
@


1.20
log
@Punt autoconf267->autoconf268
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoheader:268 aclocal:111
@


1.19
log
@Round one migration of ports from automake{19,110} to automake111
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	autoheader:267 aclocal:111
@


1.18
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=	autoheader:267 aclocal:19
@


1.17
log
@ - mark port ad deprecated per 2010-12-31

PR:		149718
Submitted by:	Paul Schmehl <pauls _at_ utdallas.edu> (maintainer)
Approved by:	glarkin (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	6
d25 1
a25 1
USE_AUTOTOOLS=	autoheader:262 aclocal:19
@


1.16
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	5
d22 3
@


1.15
log
@Fix build with custom LOCALBASE.

Submitted by:	Sahil Tandon
Reported by:	QATty
Approved by:	maintainer
@
text
@d12 1
a12 1
MASTER_SITES=	SF
@


1.14
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d36 3
a38 1
CONFIGURE_ARGS+=	--enable-mysql
@


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

Tested by:	exp build run (erwin)
@
text
@a25 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.12
log
@- Fix start script

PR:		124122
Submitted by:	shuyaan@@gmail.com
Approved by:	maintainer
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	autoheader:261 aclocal:19
@


1.11
log
@security/barnyard, upgrade the startup script

	Improve the startup script to bring it in line with the correct
	way of doing rc.subr scripts, bump PORTREVISION in the Makefile
	and a minor change to pkg-message.

PR:		ports/123938
Submitted by:	Paul Schmehl <pauls@@utdallas.edu>
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.10
log
@- fix plist when NOPORTDOCS is defined
- use SF macro
- bump PORTREVISION

Submitted by:	maintainer (partially)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.9
log
@- Patches for 64-bit systems
- Toggle MySQL option to default to 'on'

PR:		ports/118873
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	barnyard
@


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

PR:		ports/116639
Submitted by:	aDe
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 1
OPTIONS=	MYSQL "Enable MySQL support" off \
d46 8
@


1.7
log
@- Correct use of autotools

PR:		94789
Submitted by:	maintainer
@
text
@d10 1
d23 1
a23 1
USE_AUTOTOOLS=	autoheader:259 aclocal:19
@


1.6
log
@- Modernize and prepare for slave port

PR:		ports/92239
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
@
text
@d22 1
a22 1
USE_AUTOTOOLS=	autoheader:259 autoconf:259
@


1.5
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@a12 1
#DISTNAME=	barnyard
d15 1
a15 1
COMMENT=	An output system for Snort
d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort
d23 1
a23 4
USE_REINPLACE=	yes
USE_RC_SUBR=	yes
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}

d27 2
d30 2
a31 2
DOCS=		AUTHORS COPYING LICENSE.QPL README docs/BUGS docs/ChangeLog \
		docs/FAQ docs/INSTALL docs/NEWS docs/USAGE
d45 1
a45 3
post-patch:
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/barnyard.sh > ${WRKDIR}/barnyard.sh
a46 2
post-install:
	${INSTALL_SCRIPT} -m 751 ${WRKDIR}/barnyard.sh ${PREFIX}/etc/rc.d/barnyard.sh
d55 1
@


1.4
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d23 1
a23 2
USE_AUTOCONF_VER=	259
USE_AUTOHEADER_VER=	259
@


1.3
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d31 1
a31 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.2
log
@- Fix PostgreSQL knob

PR:		ports/78843
Submitted by:	Paul Schmehl (pauls@@utdallas.edu) (maintainer)
@
text
@d31 1
a31 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.1
log
@Barnyard is output spool reader for Snort! It decouples output overhead
from the Snort network intrusion detection system and allows Snort to
run at full speed. It accepts binary inputs from snort and outputs
human readable files to disc or to a database.  At present, barnyard
is designed to accept binary inputs from snort and produce either human
readable files for parsing by log parsers or feed data directly to a
database (either mysql or postgresql at present.).

PR:		ports/77044, ports/77322
Submitted by:	Paul Schmehl <pauls@@utdallas.edu>
@
text
@d45 1
a45 1
CONFIGURE_ARGS+=	--enable-postgresql
@

