FreeBSD Bugzilla – Attachment 140077 Details for
Bug 186542
[patch] security/barnyard2: Add an option to build using libpcap from ports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.97 KB, created by
Renato Botelho
on 2014-02-07 17:40:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2014-02-07 17:40:00 UTC
Size:
3.97 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 343279) >+++ Makefile (working copy) >@@ -14,7 +14,7 @@ > GH_TAGNAME= v2-${PORTVERSION} > GH_COMMIT= 272eaf7 > >-OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PRELUDE PGSQL >+OPTIONS_DEFINE= 64BIT ARUBA BRO GRE IPV6 MPLS MYSQL MYSQL_SSL ODBC PRELUDE PGSQL PORT_PCAP > NO_OPTIONS_SORT=yes > > 64BIT_DESC= Enable 64bit compilation (experimental) >@@ -23,6 +23,7 @@ > GRE_DESC= Enable gre support > MYSQL_SSL_DESC= Enable mysql ssl support (experimental) > PRELUDE_DESC= Enable prelude support >+PORT_PCAP_DESC= Use libpcap from ports > > .if defined(SLAVE) > OPTIONS_DEFINE+= TCL >@@ -44,90 +45,34 @@ > PORTDOCS2= INSTALL README.aruba README.database README.sguil README.sig_suppress README.snortsam > EXAMPLES= SCHEMA_ACCESS create_db2 create_mssql create_mysql create_oracle.sql create_postgresql > >-.include <bsd.port.options.mk> >- >-.if ${PORT_OPTIONS:M64BIT} >-CONFIGURE_ARGS+= --enable-64bit-gcc >-.else >-CONFIGURE_ARGS+= --disable-64bit-gcc >-.endif >- >-.if ${PORT_OPTIONS:MARUBA} >-CONFIGURE_ARGS+= --enable-aruba >-.else >-CONFIGURE_ARGS+= --disable-aruba >-.endif >- >-.if ${PORT_OPTIONS:MBRO} >-LIB_DEPENDS+= libbroccoli.so:${PORTSDIR}/security/broccoli >-CONFIGURE_ARGS+= --enable-bro --with-broccoli=${LOCALBASE}/lib >-.else >-CONFIGURE_ARGS+= --disable-bro >-.endif >- >-.if ${PORT_OPTIONS:MGRE} >-CONFIGURE_ARGS+= --enable-gre >-.else >-CONFIGURE_ARGS+= --disable-gre >-.endif >- >-.if ${PORT_OPTIONS:MIPV6} >-CONFIGURE_ARGS+= --enable-ipv6 >-.else >-CONFIGURE_ARGS+= --disable-ipv6 >-.endif >- >-.if ${PORT_OPTIONS:MMPLS} >-CONFIGURE_ARGS+= --enable-mpls >-.else >-CONFIGURE_ARGS+= --disable-mpls >-.endif >- >-.if ${PORT_OPTIONS:MMYSQL} >-USE_MYSQL= yes >-CONFIGURE_ARGS+= --with-mysql \ >- --with-mysql-includes=${LOCALBASE}/include/mysql \ >+64BIT_CONFIGURE_ENABLE= 64bit-gcc >+ARUBA_CONFIGURE_ENABLE= aruba >+BRO_LIB_DEPENDS= libbroccoli.so:${PORTSDIR}/security/broccoli >+BRO_CONFIGURE_ON= --with-broccoli=${LOCALBASE}/lib >+BRO_CONFIGURE_ENABLE= bro >+GRE_CONFIGURE_ENABLE= gre >+IPV6_CONFIGURE_ENABLE= ipv6 >+MPLS_CONFIGURE_ENABLE= mpls >+MYSQL_USE= MYSQL=yes >+MYSQL_CONFIGURE_WITH= mysql >+MYSQL_CONFIGURE_ON= --with-mysql-includes=${LOCALBASE}/include/mysql \ > --with-mysql-libraries=${LOCALBASE}/lib/mysql >-.else >-CONFIGURE_ARGS+= --without-mysql >-.endif >- >-.if ${PORT_OPTIONS:MMYSQL_SSL} >-USE_MYSQL= yes >-CONFIGURE_ARGS+= --enable-mysql-ssl-support >-.else >-CONFIGURE_ARGS+= --disable-mysql-ssl-support >-.endif >- >-.if ${PORT_OPTIONS:MODBC} >-LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC >-CONFIGURE_ARGS+= --with-odbc >-.else >-CONFIGURE_ARGS+= --without-odbc >-.endif >- >-.if ${PORT_OPTIONS:MPRELUDE} >-BUILD_DEPENDS+= prelude-manager:${PORTSDIR}/security/prelude-manager >-CONFIGURE_ARGS+= --enable-prelude >-.else >-CONFIGURE_ARGS+= --disable-prelude >-.endif >- >-.if ${PORT_OPTIONS:MPGSQL} >-USE_PGSQL= yes >+MYSQL_SSL_CONFIGURE_ENABLE= mysql-ssl-support >+ODBC_LIB_DEPENDS= libodbc.so:${PORTSDIR}/databases/unixODBC >+ODBC_WITH= odbc >+PRELUDE_BUILD_DEPENDS= prelude-manager:${PORTSDIR}/security/prelude-manager >+PRELUDE_CONFIGURE_ENABLE= prelude >+PGSQL_USE= PGSQL=yes >+PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config --with-pgsql-includes=${LOCALBASE}/include/postgresql/server >+PGSQL_CONFIGURE_OFF= --without-postgresql >+TCL_USES= tcl >+TCL_CONFIGURE_ON= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} >+TCL_CONFIGURE_OFF= --without-tcl > WANT_PGSQL_VER= 92+ >-CONFIGURE_ARGS+= --with-postgresql=${LOCALBASE}/bin/pg_config --with-pgsql-includes=${LOCALBASE}/include/postgresql/server >-.else >-CONFIGURE_ARGS+= --without-postgresql >-.endif >+PORT_PCAP_LIB_DEPENDS= libpcap.so:${PORTSDIR}/net/libpcap >+PORT_PCAP_CONFIGURE_ON= --with-libpcap-includes=${LOCALBASE}/include \ >+ --with-libpcap-libraries=${LOCALBASE}/lib > >-.if ${PORT_OPTIONS:MTCL} >-USES+= tcl >-CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} >-.else >-CONFIGURE_ARGS+= --without-tcl >-.endif >- > post-patch: > @${REINPLACE_CMD} 's|/etc|${LOCALBASE}/etc|' \ > ${WRKSRC}/etc/barnyard2.conf
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 186542
: 140077