diff options
author | clsung <clsung@FreeBSD.org> | 2008-05-17 09:36:54 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2008-05-17 09:36:54 +0800 |
commit | 3b73d3889203d9180fbad4b6f96d06e9f3d9f88e (patch) | |
tree | 5d99790d9ce51b30910937a8e1d542cc587d35fd /security/snort | |
parent | 964c18f2cdf125759592296574bd756913f9d0c4 (diff) | |
download | freebsd-ports-gnome-3b73d3889203d9180fbad4b6f96d06e9f3d9f88e.tar.gz freebsd-ports-gnome-3b73d3889203d9180fbad4b6f96d06e9f3d9f88e.tar.zst freebsd-ports-gnome-3b73d3889203d9180fbad4b6f96d06e9f3d9f88e.zip |
- add Performance Profiling option
- bump PORTREVISION
PR: by mail
Submitted by: Scott MacGregor <shadowbq_AT_gmail dot com>
Diffstat (limited to 'security/snort')
-rw-r--r-- | security/snort/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/snort/Makefile b/security/snort/Makefile index c18c9a8ce2a5..72e1ee94b166 100644 --- a/security/snort/Makefile +++ b/security/snort/Makefile @@ -7,6 +7,7 @@ PORTNAME= snort PORTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.snort.org/dl/current/ @@ -23,7 +24,8 @@ OPTIONS= DYNAMIC "Enable dynamic plugin support" on \ MYSQL "Enable MySQL support" off \ ODBC "Enable ODBC support" off \ POSTGRESQL "Enable PostgreSQL support" off \ - PRELUDE "Enable Prelude NIDS integration" off + PRELUDE "Enable Prelude NIDS integration" off \ + PERPROFILE "Enable Performance Profiling" off USE_RC_SUBR= snort.sh SUB_FILES= pkg-message @@ -124,6 +126,10 @@ CONFIGURE_ARGS+= --disable-prelude PLIST_SUB+= PRELUDE="@comment " .endif +.if defined(WITH_PERPROFILE) +CONFIGURE_ARGS+= --enable-perfprofiling +.endif + post-patch: ${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \ 's|lib/snort_|lib/snort/|g' |