aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-09 21:33:40 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-05-09 21:33:40 +0000
commit7f15dd50e494c54333d1d276157e1a4b10ca6808 (patch)
tree77463d924d77022f307a585ee194329110818d07
parentdae5035a85a4fb95adf403446c1893aab8e8226e (diff)
downloadports-7f15dd50e494c54333d1d276157e1a4b10ca6808.tar.gz
ports-7f15dd50e494c54333d1d276157e1a4b10ca6808.zip
Notes
-rw-r--r--security/barnyard-sguil/Makefile1
-rw-r--r--security/barnyard-sguil/files/patch-configure.in29
2 files changed, 21 insertions, 9 deletions
diff --git a/security/barnyard-sguil/Makefile b/security/barnyard-sguil/Makefile
index 9601cf028974..d36e76a43c92 100644
--- a/security/barnyard-sguil/Makefile
+++ b/security/barnyard-sguil/Makefile
@@ -7,6 +7,7 @@
PKGNAMESUFFIX= -sguil
COMMENT= An output system for Snort (patched for sguil)
+PORTREVISION= 1
LIB_DEPENDS+= tcl84.1:${PORTSDIR}/lang/tcl84
diff --git a/security/barnyard-sguil/files/patch-configure.in b/security/barnyard-sguil/files/patch-configure.in
index aad901a05648..b6c4f44c6785 100644
--- a/security/barnyard-sguil/files/patch-configure.in
+++ b/security/barnyard-sguil/files/patch-configure.in
@@ -1,12 +1,12 @@
---- configure.in.orig Sat May 1 11:43:29 2004
-+++ configure.in Mon Jan 23 14:32:54 2006
+--- configure.in.orig 2004-05-01 11:43:29.000000000 -0500
++++ configure.in 2008-05-03 19:38:01.000000000 -0500
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.17 2004/05/01 16:43:29 andrewbaker Exp $
+# $Id: configure.in,v 1.2 2005/03/08 20:37:40 bamm Exp $
AC_INIT(src/barnyard.c)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(barnyard,0.2.0)
-@@ -281,13 +281,53 @@
+@@ -281,7 +281,7 @@
dnl check for the header
LDFLAGS="${LDFLAGS} -L${MYSQL_LIB_DIR}"
@@ -15,11 +15,20 @@
AC_CHECK_LIB(mysqlclient, mysql_real_connect, FOUND=yes, FOUND=no)
if test "$FOUND" = "no"; then
- FAIL_MESSAGE("mysqlclient library", "$MYSQL_LIB_DIR")
- fi
+@@ -290,8 +290,8 @@
-+fi
+ fi
+
+-
+ dnl mysql support
+
+ AC_ARG_ENABLE(postgres,
+ [ --enable-postgres PostgreSQL database support])
+ AC_ARG_WITH(postgres_includes,
+@@ -338,6 +338,46 @@
+
+ fi
+
+AC_ARG_ENABLE(tcl,
+ [ --enable-tcl Enable Tcl language support.],,
+ [enable_tcl="no"])
@@ -58,6 +67,8 @@
+ TCL_INCLUDE="$TCL_PREFIX/include/tcl$TCL_VERSION"
+ CPPFLAGS="$CPPFLAGS -I$TCL_INCLUDE -DENABLE_TCL";
+ fi
- fi
-
-
++fi
++
+ if test "$tru64_types" = "yes"; then
+ AC_CHECK_TYPE(u_int8_t, unsigned char)
+ AC_CHECK_TYPE(u_int16_t, unsigned short)