FreeBSD Bugzilla – Attachment 138535 Details for
Bug 184519
[PATCH] security/broccoli: Fix build with python
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
broccoli-2.2_1.patch
broccoli-2.2_1.patch (text/plain), 3.24 KB, created by
Mathieu Arnold
on 2013-12-05 15:20:00 UTC
(
hide
)
Description:
broccoli-2.2_1.patch
Filename:
MIME Type:
Creator:
Mathieu Arnold
Created:
2013-12-05 15:20:00 UTC
Size:
3.24 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 335671) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= broccoli > PORTVERSION= 2.2 >+PORTREVISION= 1 > CATEGORIES= security > MASTER_SITES= http://www.bro.org/downloads/release/ > DISTNAME= bro-${PORTVERSION} >@@ -14,59 +15,45 @@ > > BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \ > swig:${PORTSDIR}/devel/swig13 >-LIB_DEPENDS= GeoIP:${PORTSDIR}/net/GeoIP >+LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP > >-EXTRACT_AFTER_ARGS= ${DISTNAME}/aux/broccoli >+EXTRACT_AFTER_ARGS= ${DISTNAME}/aux/broccoli > >-USES= cmake:outsource perl5 >+USES= cmake:outsource > USE_LDCONFIG= yes >-NO_MTREE= yes > CMAKE_SOURCE_PATH= ${WRKSRC}/aux/broccoli > > .if defined(BRO_PREFIX) > PREFIX=${BRO_PREFIX} > PLIST_SUB+= CLEANUP_PREFIX="" >-NEED_ROOT= yes >+NO_MTREE= yes > .else > PLIST_SUB+= CLEANUP_PREFIX="@comment " > .endif > CMAKE_ARGS+= -D CMAKE_INSTALL_PREFIX:PATH=${PREFIX} \ >- -D BRO_ETC_INSTALL_DIR:PATH=${PREFIX}/etc \ >- -D PY_MOD_INSTALL_DIR:PATH=${PREFIX} >+ -D BRO_ETC_INSTALL_DIR:PATH=${PREFIX}/etc > > OPTIONS_DEFINE= DEBUG PYTHON RUBY >+OPTIONS_SUB= > > DEBUG_DESC= Compile in debugging mode > PYTHON_DESC= Build python bindings for broccoli > RUBY_DESC= Build ruby bindings for broccoli > >-.include <bsd.port.options.mk> >+DEBUG_CMAKE_ON= -D ENABLE_DEBUG:BOOL=true >+PYTHON_USE= python=yes >+PYTHON_CMAKE_ON= -D PY_MOD_INSTALL_DIR:PATH=${PYTHON_SITELIBDIR} >+PYTHON_CMAKE_OFF= -D DISABLE_PYTHON_BINDINGS:BOOL=true >+RUBY_USE= ruby=yes >+RUBY_CMAKE_ON= -D RB_INSTALL_DIR:PATH=${RUBY_SITELIBDIR} \ >+ -D RB_ARCH_INSTALL_DIR:PATH=${RUBY_SITEARCHLIBDIR} >+RUBY_CMAKE_OFF= -D DISABLE_RUBY_BINDINGS:BOOL=true > >-.if ${PORT_OPTIONS:MDEBUG} >-CMAKE_ARGS+= -D ENABLE_DEBUG:BOOL=true >-.endif >- >-.if ${PORT_OPTIONS:MPYTHON} >-USE_PYTHON= yes >-PLIST_SUB+= PYTHON="" >-.else >-CMAKE_ARGS+= -D DISABLE_PYTHON_BINDINGS:BOOL=true >-PLIST_SUB+= PYTHON="@comment " >-.endif >- >-.if ${PORT_OPTIONS:MRUBY} >-USE_RUBY= yes >-PLIST_SUB+= RUBY="" >-.else >-CMAKE_ARGS+= -D DISABLE_RUBY_BINDINGS:BOOL=true >-PLIST_SUB+= RUBY="@comment " >-.endif >- >-post-stage:: >+post-install:: > .if defined(BRO_PREFIX) >- @${MKDIR} ${PREFIX} >+ @${MKDIR} ${STAGEDIR}${PREFIX} > .endif > @${MKDIR} ${STAGEDIR}${PREFIX}/etc >- @${INSTALL_SCRIPT} ${WRKSRC}/aux/broccoli/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example >+ @${MV} ${STAGEDIR}${PREFIX}/etc/broccoli.conf ${STAGEDIR}${PREFIX}/etc/broccoli.conf.example > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 335671) >+++ pkg-plist (working copy) >@@ -7,9 +7,14 @@ > lib/libbroccoli.so > lib/libbroccoli.so.5 > lib/libbroccoli.so.5.1.0 >-%%PYTHON%%lib/python/_broccoli_intern.so >-%%PYTHON%%lib/python/broccoli.py >-%%RUBY%%lib/ruby/broccoli_ext.so >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/_broccoli_intern.so >+%%PYTHON%%%%PYTHON_SITELIBDIR%%/broccoli.py >+%%RUBY%%%%RUBY_SITELIBDIR%%/Broccoli/connection.rb >+%%RUBY%%%%RUBY_SITELIBDIR%%/Broccoli/event.rb >+%%RUBY%%%%RUBY_SITELIBDIR%%/Broccoli/record.rb >+%%RUBY%%%%RUBY_SITELIBDIR%%/broccoli.rb >+%%RUBY%%%%RUBY_SITEARCHLIBDIR%%/broccoli_ext.so >+%%RUBY%%@dirrmtry %%RUBY_SITELIBDIR%%/Broccoli > %%CLEANUP_PREFIX%%@dirrmtry lib > %%CLEANUP_PREFIX%%@dirrmtry include > %%CLEANUP_PREFIX%%@dirrmtry etc
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 184519
: 138535 |
138536
|
138537