FreeBSD Bugzilla – Attachment 85487 Details for
Bug 121710
[PATCH] Add flexible response support to security/snort_inline
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.92 KB, created by
Yousif Hassan
on 2008-03-14 19:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yousif Hassan
Created:
2008-03-14 19:10:01 UTC
Size:
1.92 KB
patch
obsolete
>--- Makefile.orig 2008-03-14 14:47:14.000000000 -0400 >+++ Makefile 2008-03-14 14:44:25.000000000 -0400 >@@ -22,6 +22,13 @@ > > LIB_DEPENDS+= dnet:${PORTSDIR}/net/libdnet > >+OPTIONS= MYSQL "With MySQL support" off \ >+ ODBC "With ODBC support" off \ >+ POSTGRESQL "With POSTGRESQL support" off \ >+ FLEXRESP "With flexible responses (resp. w/packet resets)" off >+ >+.include <bsd.port.pre.mk> >+ > .if defined(WITH_MYSQL) > USE_MYSQL= yes > CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} >@@ -47,6 +54,23 @@ > CONFIGURE_ARGS+= --with-postgresql=no > .endif > >+ >+.if defined(WITH_FLEXRESP) >+LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config >+ >+.if exists(${LIBNET_CONFIG}) >+LIBNET_CFLAGS!= ${LIBNET_CONFIG} --cflags >+LIBNET_LIBS!= ${LIBNET_CONFIG} --libs >+LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} >+LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} >+.endif >+ >+BUILD_DEPENDS+= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 >+CONFIGURE_ARGS+= --enable-flexresp \ >+ --with-libnet-includes=${LIBNET_INCDIR} \ >+ --with-libnet-libraries=${LIBNET_LIBDIR} >+.endif >+ > MAN8= snort.8 snort_inline.8 > DOCS= ChangeLog doc/AUTHORS doc/BUGS doc/CREDITS doc/faq* doc/NEWS \ > doc/README* doc/TODO doc/USAGE doc/*.pdf >@@ -61,12 +85,9 @@ > ${REINPLACE_CMD} "s,$RULE_PATH/classification.config,${DATADIR}/classification.config," ${WRKSRC}/etc/snort_inline.conf > ${REINPLACE_CMD} "s,$RULE_PATH/reference.config,${DATADIR}/reference.config," ${WRKSRC}/etc/snort_inline.conf > ${REINPLACE_CMD} -e "s/^unicode.map/\/usr\/local\/share\/snort_inline\/unicode.map/" ${WRKSRC}/etc/snort_inline.conf >- >-pre-configure: >- @${ECHO} "" >- @${ECHO} "Set WITH_MYSQL, WITH_ODBC or WITH_POSTGRESQL" >- @${ECHO} "to get additional support." >- @${ECHO} "" >+.if defined(WITH_FLEXRESP) >+ ${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|g' ${WRKSRC}/configure >+.endif > > post-install: > @${MKDIR} ${DATADIR} >@@ -97,4 +118,4 @@ > .endif > @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 121710
: 85487