diff options
author | hasso <hasso> | 2009-08-23 18:56:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-08-23 18:56:34 +0000 |
commit | 9f7eb26558088d9c1ba7082debdef941512d9981 (patch) | |
tree | d85360780cc4b0747739ec277ee990f090105a51 /security | |
parent | 8e407297aad61a177288ce9fa0ecff574da753dd (diff) | |
download | pkgsrc-9f7eb26558088d9c1ba7082debdef941512d9981.tar.gz |
Update to 0.9.24. No normal upstream changelog except git log. Splitted up
the package to the base (with c++ bindings) and scripting languages bindings.
All hard work done by Rumko <rumcic at gmail.com>.
Diffstat (limited to 'security')
-rw-r--r-- | security/libprelude/DESCR | 3 | ||||
-rw-r--r-- | security/libprelude/Makefile | 60 | ||||
-rw-r--r-- | security/libprelude/Makefile.common | 55 | ||||
-rw-r--r-- | security/libprelude/PLIST | 17 | ||||
-rw-r--r-- | security/libprelude/PLIST.py | 5 | ||||
-rw-r--r-- | security/libprelude/distinfo | 19 | ||||
-rw-r--r-- | security/libprelude/options.mk | 35 | ||||
-rw-r--r-- | security/libprelude/patches/patch-aa | 21 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ac | 13 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ad | 21 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ae | 10 | ||||
-rw-r--r-- | security/libprelude/patches/patch-af | 19 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ag | 22 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ah | 13 | ||||
-rw-r--r-- | security/libprelude/patches/patch-ai | 22 |
15 files changed, 214 insertions, 121 deletions
diff --git a/security/libprelude/DESCR b/security/libprelude/DESCR index 71bebdbaad3..2c0c2ebe633 100644 --- a/security/libprelude/DESCR +++ b/security/libprelude/DESCR @@ -3,3 +3,6 @@ sensors, managers, and a display console. LibPrelude is the glue that binds all aspects of Prelude together. LibPrelude is a library which enables Prelude components to communicate in a standard IDMEF method. + +This is just the base packages which installs +LibPrelude's libraries and c++ easy bindings. diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile index c2baaf8a4b8..c13a976da8d 100644 --- a/security/libprelude/Makefile +++ b/security/libprelude/Makefile @@ -1,62 +1,28 @@ -# $NetBSD: Makefile,v 1.36 2009/07/03 10:27:02 drochner Exp $ +# $NetBSD: Makefile,v 1.37 2009/08/23 18:56:34 hasso Exp $ # -DISTNAME= libprelude-0.9.21.1 -CATEGORIES= security -MASTER_SITES= http://www.prelude-ids.com/download/releases/libprelude/ - -MAINTAINER= shannonjr@NetBSD.org -HOMEPAGE= http://www.prelude-ids.org/download/releases/ -COMMENT= Provides the framework for using the Prelude system - -PKG_DESTDIR_SUPPORT= user-destdir +.include "../../security/libprelude/Makefile.common" .include "../../mk/bsd.prefs.mk" -.include "options.mk" - -PRELUDE_USER?= _prelude -PRELUDE_GROUP?= _prelude - -PKG_GROUPS_VARS+= PRELUDE_GROUP -PKG_USERS_VARS+= PRELUDE_USER - -BUILD_DEFS+= VARBASE -USE_PKGLOCALEDIR= yes -USE_LIBTOOL= yes -GNU_CONFIGURE= yes -USE_TOOLS+= chown make bison gawk gmake -PKG_SYSCONFSUBDIR= prelude -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} -CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} -CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc -PRELUDE_USER?= _prelude -PRELUDE_GROUP?= _prelude -PRELUDE_HOME?= ${VARBASE}/spool/prelude - -PKG_GROUPS= ${PRELUDE_GROUP} -PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP} - -PKG_GECOS.${PRELUDE_USER}= Prelude IDS -PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME} - -OWN_DIRS_PERMS+= ${PRELUDE_HOME} ${PRELUDE_USER} ${PRELUDE_GROUP} 0755 -EGDIR= ${PREFIX}/share/examples/libprelude -REQD_DIRS= ${EGDIR} -MAKE_DIRS= ${PKG_SYSCONFDIR}/default ${PKG_SYSCONFDIR}/profile -MAKE_DIRS_PERMS+= ${PKG_SYSCONFDIR}/profile ${ROOT_USER} ${ROOT_GROUP} 0711 +COMMENT= LibPrelude libraries and c++ easy bindings CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf -SUBST_CLASSES+= make -SUBST_STAGE.make= post-patch -SUBST_FILES.make= Makefile.in -SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g' +PKGCONFIG_OVERRIDE+= src/libprelude.pc.in + +PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude +PKG_SUPPORTED_OPTIONS= debug + +.include "../../mk/bsd.options.mk" -INSTALLATION_DIRS= share/examples/libprelude +.if !empty(PKG_OPTIONS:Mdebug) +CFLAGS= -O0 -ggdb +.endif +.include "../../devel/libltdl/convenience.mk" .include "../../security/gnutls/buildlink3.mk" .include "../../security/gnutls/libgnutls-config.mk" .include "../../mk/pthread.buildlink3.mk" diff --git a/security/libprelude/Makefile.common b/security/libprelude/Makefile.common new file mode 100644 index 00000000000..96bfb5bff57 --- /dev/null +++ b/security/libprelude/Makefile.common @@ -0,0 +1,55 @@ +# $NetBSD: Makefile.common,v 1.1 2009/08/23 18:56:34 hasso Exp $ +# +# used by security/libprelude/Makefile +# used by security/libprelude-lua/Makefile +# used by security/libprelude-perl/Makefile +# used by security/libprelude-python/Makefile +# used by security/libprelude-ruby/Makefile + +DISTNAME= libprelude-${VERSION} +VERSION= 0.9.24 +CATEGORIES= security +MASTER_SITES= http://www.prelude-ids.com/download/releases/libprelude/ + +MAINTAINER= shannonjr@NetBSD.org +HOMEPAGE= http://www.prelude-ids.org/download/releases/ + +PKG_DESTDIR_SUPPORT= user-destdir + +BUILD_DEFS+= VARBASE + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +USE_TOOLS+= chown bison gawk gmake pkg-config +USE_LANGUAGES= c c++ +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} +CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} +CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ARGS+= --enable-easy-bindings +PKG_SYSCONFSUBDIR= prelude + +PRELUDE_USER?= _prelude +PRELUDE_GROUP?= _prelude +PRELUDE_HOME?= ${VARBASE}/spool/prelude + +PKG_GROUPS= ${PRELUDE_GROUP} +PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP} + +PKG_GROUPS_VARS+= PRELUDE_GROUP +PKG_USERS_VARS+= PRELUDE_USER + +PKG_GECOS.${PRELUDE_USER}= Prelude IDS +PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME} + +EGDIR= ${PREFIX}/share/examples/libprelude +REQD_DIRS= ${EGDIR} +MAKE_DIRS= ${PKG_SYSCONFDIR}/default ${PKG_SYSCONFDIR}/profile +MAKE_DIRS_PERMS+= ${PKG_SYSCONFDIR}/profile ${ROOT_USER} ${ROOT_GROUP} 0711 + +SUBST_CLASSES+= make +SUBST_STAGE.make= post-patch +SUBST_FILES.make= Makefile.in +SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g' + +INSTALLATION_DIRS= share/examples/libprelude diff --git a/security/libprelude/PLIST b/security/libprelude/PLIST index 24c6be3323d..a7cb555c7e1 100644 --- a/security/libprelude/PLIST +++ b/security/libprelude/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2009/06/14 18:13:32 joerg Exp $ +@comment $NetBSD: PLIST,v 1.13 2009/08/23 18:56:34 hasso Exp $ bin/libprelude-config bin/prelude-adduser bin/prelude-admin @@ -48,6 +48,7 @@ include/libprelude/prelude-thread.h include/libprelude/prelude-timer.h include/libprelude/prelude.h lib/libprelude.la +lib/pkgconfig/libprelude.pc share/aclocal/libprelude.m4 share/doc/libprelude/ch01.html share/doc/libprelude/ch02.html @@ -104,3 +105,17 @@ share/examples/libprelude/global.conf share/examples/libprelude/idmef-client.conf share/examples/libprelude/tls.conf man/man1/prelude-admin.1 +include/libprelude/idmef-criteria.hxx +include/libprelude/idmef-path.hxx +include/libprelude/idmef-time.hxx +include/libprelude/idmef-value.hxx +include/libprelude/idmef.hxx +include/libprelude/prelude-client-easy.hxx +include/libprelude/prelude-client-profile.hxx +include/libprelude/prelude-client.hxx +include/libprelude/prelude-connection-pool.hxx +include/libprelude/prelude-connection.hxx +include/libprelude/prelude-error.hxx +include/libprelude/prelude-log.hxx +include/libprelude/prelude.hxx +lib/libpreludecpp.la diff --git a/security/libprelude/PLIST.py b/security/libprelude/PLIST.py deleted file mode 100644 index f5d37e69ed5..00000000000 --- a/security/libprelude/PLIST.py +++ /dev/null @@ -1,5 +0,0 @@ -@comment $NetBSD: PLIST.py,v 1.3 2006/10/11 14:46:10 shannonjr Exp $ -${PYSITELIB}/_prelude.so -${PYSITELIB}/prelude.py -${PYSITELIB}/prelude.pyc -${PYSITELIB}/prelude.py diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo index 804dccd1078..91837f86075 100644 --- a/security/libprelude/distinfo +++ b/security/libprelude/distinfo @@ -1,9 +1,14 @@ -$NetBSD: distinfo,v 1.27 2009/02/10 21:11:13 joerg Exp $ +$NetBSD: distinfo,v 1.28 2009/08/23 18:56:34 hasso Exp $ -SHA1 (libprelude-0.9.21.1.tar.gz) = 02aebd7010379b8ca2ee96a50facfbd882027eff -RMD160 (libprelude-0.9.21.1.tar.gz) = 9e62f5a27781eb9550ec623abd1302e72554e363 -Size (libprelude-0.9.21.1.tar.gz) = 2477295 bytes -SHA1 (patch-aa) = 38a70aef1e9ebee60aa94e86c18641b710725356 +SHA1 (libprelude-0.9.24.tar.gz) = 0b9e73f94c30dc92a430de618ad3913034e25258 +RMD160 (libprelude-0.9.24.tar.gz) = a06493f130387c6b06a0ef7928d2e1ec1fcbeb6c +Size (libprelude-0.9.24.tar.gz) = 2580548 bytes +SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158 SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16 -SHA1 (patch-ad) = e89900459ed7834801ae22b7a4a711163ec3f86b -SHA1 (patch-ae) = ec362a79320f8ab189597ddd4641e4718536c629 +SHA1 (patch-ac) = 7474b2cf8cbb7fca81d85fe7c575f8ca99f90a43 +SHA1 (patch-ad) = 195228e1e04918275a3ab1cccb838de081a9ec98 +SHA1 (patch-ae) = d8b22cea826727a41108d65f84b594d0879397b2 +SHA1 (patch-af) = a484d36e26ca5aee225aca369c884f285c6ba15c +SHA1 (patch-ag) = 684bf8a217950b0a7fb38140b20643f81d464431 +SHA1 (patch-ah) = df9293d56869bcc20c4be12f9922160d8f2aa01e +SHA1 (patch-ai) = 53a16f270a9048f74849c0cd02b517e821bdf08a diff --git a/security/libprelude/options.mk b/security/libprelude/options.mk deleted file mode 100644 index 0e384287deb..00000000000 --- a/security/libprelude/options.mk +++ /dev/null @@ -1,35 +0,0 @@ -# $NetBSD: options.mk,v 1.9 2008/12/09 11:58:59 obache Exp $ - -PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude -PKG_SUPPORTED_OPTIONS= perl python -PKG_OPTIONS.libprelude?= - -.include "../../mk/bsd.options.mk" - -### -### Whether to build with the perl and python plugins -### -### python is needed for prewikka -### - -PLIST_SRC= ${PKGDIR}/PLIST - -.if !empty(PKG_OPTIONS:Mperl) -CONFIGURE_ARGS+= --with-perl=${PERL5:Q} --with-perl-installdirs=vendor -USE_TOOLS+= perl:run -PERL5_PACKLIST= auto/Prelude/.packlist -PERL5_CONFIGURE= no -.include "../../lang/perl5/module.mk" -.else -CONFIGURE_ARGS+= --with-perl=no -.endif -.if !empty(PKG_OPTIONS:Mpython) -CONFIGURE_ARGS+= --with-python -CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} -PY_PATCHPLIST= yes -PLIST_SRC+= ${PKGDIR}/PLIST.py -.include "../../lang/python/application.mk" -.include "../../lang/python/extension.mk" -.else -CONFIGURE_ARGS+= --with-python=no -.endif diff --git a/security/libprelude/patches/patch-aa b/security/libprelude/patches/patch-aa index 215a0e86081..aa8b48fd33d 100644 --- a/security/libprelude/patches/patch-aa +++ b/security/libprelude/patches/patch-aa @@ -1,17 +1,17 @@ -$NetBSD: patch-aa,v 1.7 2009/02/10 21:11:13 joerg Exp $ +$NetBSD: patch-aa,v 1.8 2009/08/23 18:56:34 hasso Exp $ ---- Makefile.in.orig 2008-04-24 04:50:26.000000000 -0600 -+++ Makefile.in -@@ -559,7 +559,7 @@ infodir = @infodir@ +--- Makefile.in.orig 2009-07-08 16:37:14 +0200 ++++ Makefile.in 2009-07-20 00:38:41 +0200 +@@ -865,7 +865,7 @@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ -localedir = @localedir@ +localedir = @prefix@/share/locale localstatedir = @localstatedir@ - mandir = @mandir@ - mkdir_p = @mkdir_p@ -@@ -1099,71 +1099,14 @@ prelude-config.h: $(top_builddir)/config + lt_ECHO = @lt_ECHO@ + ltdl_LIBOBJS = @ltdl_LIBOBJS@ +@@ -1525,71 +1525,13 @@ # Spool directory for report saving is mode install-data-local: @@ -85,7 +85,6 @@ $NetBSD: patch-aa,v 1.7 2009/02/10 21:11:13 joerg Exp $ - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/global.conf - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/idmef-client.conf - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/tls.conf -+ - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: + + dist-hook: + @if test -d "$(srcdir)/.git"; then \ diff --git a/security/libprelude/patches/patch-ac b/security/libprelude/patches/patch-ac new file mode 100644 index 00000000000..bc94e926a66 --- /dev/null +++ b/security/libprelude/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.7 2009/08/23 18:56:34 hasso Exp $ + +--- src/Makefile.in.orig 2008-12-12 15:49:25 +0100 ++++ src/Makefile.in 2008-12-12 15:49:32 +0100 +@@ -183,7 +183,7 @@ + libprelude_la_OBJECTS = $(am_libprelude_la_OBJECTS) + libprelude_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ +- $(libprelude_la_LDFLAGS) $(LDFLAGS) -o $@ ++ $(libprelude_la_LDFLAGS) $(LDFLAGS) $(LIBMULTITHREAD) -o $@ + DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles diff --git a/security/libprelude/patches/patch-ad b/security/libprelude/patches/patch-ad index 6dafcc4c813..adc27478d51 100644 --- a/security/libprelude/patches/patch-ad +++ b/security/libprelude/patches/patch-ad @@ -1,13 +1,14 @@ -$NetBSD: patch-ad,v 1.5 2007/09/15 08:30:51 joerg Exp $ +$NetBSD: patch-ad,v 1.6 2009/08/23 18:56:34 hasso Exp $ ---- src/prelude-failover.c.orig 2007-09-15 08:00:29.000000000 +0000 -+++ src/prelude-failover.c -@@ -381,7 +381,7 @@ static int get_failover_data_filename_an - - while ( (de = readdir(dir)) && ret != 1 ) { +From Till Dörges on the prelude-devel ML. + +--- libprelude-config.in.orig 2009-07-21 00:31:43 +0200 ++++ libprelude-config.in 2009-07-21 00:31:58 +0200 +@@ -70,6 +70,7 @@ + ;; -- if ( de->d_reclen <= 4 || ! isdigit(de->d_name[4]) ) -+ if (! isdigit(de->d_name[4]) ) - continue; + --ldflags) ++ echo "-Wl,-rpath -Wl,@libdir@" + ;; - if ( strncmp(de->d_name, "data", 4) != 0 || strchr(de->d_name, '.') ) + --c++) diff --git a/security/libprelude/patches/patch-ae b/security/libprelude/patches/patch-ae index 26c844ee5ac..f8bd5faacc7 100644 --- a/security/libprelude/patches/patch-ae +++ b/security/libprelude/patches/patch-ae @@ -1,13 +1,13 @@ -$NetBSD: patch-ae,v 1.1 2008/04/28 10:52:40 shannonjr Exp $ +$NetBSD: patch-ae,v 1.2 2009/08/23 18:56:34 hasso Exp $ --- configure.orig 2008-04-25 07:08:22.000000000 -0600 +++ configure @@ -44961,7 +44961,7 @@ fi - { echo "$as_me:$LINENO: checking for cpu-specific compiler flags" >&5 - echo $ECHO_N "checking for cpu-specific compiler flags... $ECHO_C" >&6; } + { $as_echo "$as_me:$LINENO: checking for cpu-specific compiler flags" >&5 + $as_echo_n "checking for cpu-specific compiler flags... " >&6; } -if test "$host_cpu" == "x86_64" && test $enable_static = "yes"; then +if test "$host_cpu" = "x86_64" && test $enable_static = "yes"; then - { echo "$as_me:$LINENO: result: x86_64/static: adding -fPIC" >&5 - echo "${ECHO_T}x86_64/static: adding -fPIC" >&6; } + { $as_echo "$as_me:$LINENO: result: x86_64/static: adding -fPIC" >&5 + $as_echo "x86_64/static: adding -fPIC" >&6; } diff --git a/security/libprelude/patches/patch-af b/security/libprelude/patches/patch-af new file mode 100644 index 00000000000..822a2270362 --- /dev/null +++ b/security/libprelude/patches/patch-af @@ -0,0 +1,19 @@ +$NetBSD: patch-af,v 1.1 2009/08/23 18:56:34 hasso Exp $ + +--- src/include/prelude-plugin.h.orig 2009-07-21 11:20:33 +0200 ++++ src/include/prelude-plugin.h 2009-07-21 11:20:43 +0200 +@@ -55,14 +55,6 @@ + + + +-/* +- * Hack for plugin preloading, +- * without having the end program depend on ltdl. +- */ +-#ifdef PRELUDE_APPLICATION_USE_LIBTOOL2 +-# define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols +-#endif +- + extern const void *lt_preloaded_symbols[]; + + #define PRELUDE_PLUGIN_SET_PRELOADED_SYMBOLS() \ diff --git a/security/libprelude/patches/patch-ag b/security/libprelude/patches/patch-ag new file mode 100644 index 00000000000..23afa25f369 --- /dev/null +++ b/security/libprelude/patches/patch-ag @@ -0,0 +1,22 @@ +$NetBSD: patch-ag,v 1.1 2009/08/23 18:56:34 hasso Exp $ + +--- bindings/lua/Makefile.in.orig 2009-07-24 19:26:18 +0300 ++++ bindings/lua/Makefile.in 2009-07-24 19:27:20 +0300 +@@ -194,7 +194,7 @@ am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' + am__installdirs = "$(DESTDIR)$(PreludeEasydir)" + LTLIBRARIES = $(PreludeEasy_LTLIBRARIES) +-@HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_DEPENDENCIES = $(top_builddir)/bindings/c++/.libs/libpreludecpp.la ++@HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_DEPENDENCIES = $(top_builddir)/../.buildlink/lib/libpreludecpp.la + am__PreludeEasy_la_SOURCES_DIST = PreludeEasy.cxx + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@am_PreludeEasy_la_OBJECTS = \ + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@ PreludeEasy.lo +@@ -860,7 +860,7 @@ top_srcdir = @top_srcdir@ + @HAVE_EASY_BINDINGS_TRUE@EXTRA_DIST = libpreludecpp-lua.i PreludeEasy.cxx + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@AM_CPPFLAGS = -I@top_srcdir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include @LUA_CFLAGS@ -I@top_srcdir@/libmissing -I@top_builddir@/libmissing + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_LDFLAGS = -module -avoid-version @LUA_LIBS@ +-@HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_LIBADD = $(top_builddir)/bindings/c++/.libs/libpreludecpp.la ++@HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_LIBADD = $(top_builddir)/../.buildlink/lib/libpreludecpp.la + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_la_SOURCES = PreludeEasy.cxx + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasydir = $(libdir) + @HAVE_EASY_BINDINGS_TRUE@@HAVE_LUA_TRUE@PreludeEasy_LTLIBRARIES = PreludeEasy.la diff --git a/security/libprelude/patches/patch-ah b/security/libprelude/patches/patch-ah new file mode 100644 index 00000000000..c85c460e8df --- /dev/null +++ b/security/libprelude/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2009/08/23 18:56:34 hasso Exp $ + +--- bindings/perl/Makefile.PL.in.orig 2009-07-24 19:55:09 +0300 ++++ bindings/perl/Makefile.PL.in 2009-07-24 19:58:01 +0300 +@@ -6,7 +6,7 @@ use Cwd "abs_path"; + + my %attributs = (NAME => 'PreludeEasy', + INC => '-I@top_srcdir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include -I@top_srcdir@/libmissing -I@top_builddir@/libmissing', +- LIBS => ["-L@top_builddir@/src/.libs -lprelude -L@top_builddir@/bindings/c++/.libs -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ], ++ LIBS => ["-L@top_builddir@/../.buildlink/lib -lprelude -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ], + LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags}"); + + if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) { diff --git a/security/libprelude/patches/patch-ai b/security/libprelude/patches/patch-ai new file mode 100644 index 00000000000..9a64aaf9a74 --- /dev/null +++ b/security/libprelude/patches/patch-ai @@ -0,0 +1,22 @@ +$NetBSD: patch-ai,v 1.1 2009/08/23 18:56:34 hasso Exp $ + +--- bindings/ruby/Makefile.in.orig 2009-07-24 20:01:14 +0300 ++++ bindings/ruby/Makefile.in 2009-07-24 20:02:07 +0300 +@@ -195,7 +195,7 @@ am__base_list = \ + am__installdirs = "$(DESTDIR)$(rbexecdir)" + LTLIBRARIES = $(rbexec_LTLIBRARIES) + am__DEPENDENCIES_1 = +-@HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_DEPENDENCIES = $(top_builddir)/bindings/c++/.libs/libpreludecpp.la \ ++@HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_DEPENDENCIES = $(top_builddir)/../.buildlink/lib/libpreludecpp.la \ + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@ $(am__DEPENDENCIES_1) + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@nodist_PreludeEasy_la_OBJECTS = PreludeEasy_la-PreludeEasy.lo + PreludeEasy_la_OBJECTS = $(nodist_PreludeEasy_la_OBJECTS) +@@ -860,7 +860,7 @@ top_srcdir = @top_srcdir@ + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@rbexec_LTLIBRARIES = PreludeEasy.la + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_CPPFLAGS = $(RUBY_INCLUDES) $(RUBY_CCFLAGS) -I@top_builddir@ -I$(top_srcdir)/src/include -I$(top_builddir)/src/include -I@top_builddir@/src/libprelude-error -I$(top_srcdir)/bindings/c++/include -I@top_srcdir@/libmissing -I@top_builddir@/libmissing + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_LDFLAGS = -module -avoid-version +-@HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_LIBADD = $(top_builddir)/bindings/c++/.libs/libpreludecpp.la $(RUBY_LIBS) ++@HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@PreludeEasy_la_LIBADD = $(top_builddir)/../.buildlink/lib/libpreludecpp.la $(RUBY_LIBS) + @HAVE_EASY_BINDINGS_TRUE@@HAVE_RUBY_TRUE@nodist_PreludeEasy_la_SOURCES = PreludeEasy.cxx + all: all-am + |