aboutsummaryrefslogtreecommitdiff
path: root/security/barnyard2
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-01-06 21:53:32 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-01-06 21:53:32 +0000
commitb983ea495b8e169abba744e08fdbebf9768a3b11 (patch)
tree0bc76aeb1d7400d5459b7c2e90c2bb81ecfa21dc /security/barnyard2
parent40bbc591ab4230ce37a786624e99bdd6ba4d25d0 (diff)
downloadports-b983ea495b8e169abba744e08fdbebf9768a3b11.tar.gz
ports-b983ea495b8e169abba744e08fdbebf9768a3b11.zip
Notes
Diffstat (limited to 'security/barnyard2')
-rw-r--r--security/barnyard2/Makefile6
-rw-r--r--security/barnyard2/files/barnyard2.sh.in4
2 files changed, 7 insertions, 3 deletions
diff --git a/security/barnyard2/Makefile b/security/barnyard2/Makefile
index 9cc620adeed5..9729caabbab4 100644
--- a/security/barnyard2/Makefile
+++ b/security/barnyard2/Makefile
@@ -37,11 +37,17 @@ USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql \
--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
+SUB_LIST+= MYSQL=" mysql"
+.else
+SUB_LIST+= MYSQL=""
.endif
.if defined(WITH_POSTGRESQL)
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql
+SUB_LIST+= PGSQL=" postgresql"
+.else
+SUB_LIST+= PGSQL=""
.endif
.if defined(WITH_SNORT)
diff --git a/security/barnyard2/files/barnyard2.sh.in b/security/barnyard2/files/barnyard2.sh.in
index b51d9f05e933..ecaa513a9ef4 100644
--- a/security/barnyard2/files/barnyard2.sh.in
+++ b/security/barnyard2/files/barnyard2.sh.in
@@ -2,9 +2,7 @@
#
# PROVIDE: barnyard2
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
+# REQUIRE: DAEMON%%MYSQL%%%%PGSQL%%
# Add the following lines to /etc/rc.conf to enable barnyard2:
# barnyard2_enable (bool): Set to YES to enable barnyard2