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>.diff -r1.1.1.1 -r1.2 pkgsrc/security/libprelude/DESCR
(hasso)
@@ -1,5 +1,8 @@ | @@ -1,5 +1,8 @@ | |||
1 | Prelude is a hybrid IDS consisting of multiple | 1 | Prelude is a hybrid IDS consisting of multiple | |
2 | sensors, managers, and a display console. LibPrelude | 2 | sensors, managers, and a display console. LibPrelude | |
3 | is the glue that binds all aspects of Prelude together. | 3 | is the glue that binds all aspects of Prelude together. | |
4 | LibPrelude is a library which enables Prelude | 4 | LibPrelude is a library which enables Prelude | |
5 | components to communicate in a standard IDMEF method. | 5 | components to communicate in a standard IDMEF method. | |
6 | ||||
7 | This is just the base packages which installs | |||
8 | LibPrelude's libraries and c++ easy bindings. |
@@ -1,63 +1,29 @@ | @@ -1,63 +1,29 @@ | |||
1 | # $NetBSD: Makefile,v 1.36 2009/07/03 10:27:02 drochner Exp $ | 1 | # $NetBSD: Makefile,v 1.37 2009/08/23 18:56:34 hasso Exp $ | |
2 | # | 2 | # | |
3 | DISTNAME= libprelude-0.9.21.1 | |||
4 | CATEGORIES= security | |||
5 | MASTER_SITES= http://www.prelude-ids.com/download/releases/libprelude/ | |||
6 | ||||
7 | MAINTAINER= shannonjr@NetBSD.org | |||
8 | HOMEPAGE= http://www.prelude-ids.org/download/releases/ | |||
9 | COMMENT= Provides the framework for using the Prelude system | |||
10 | ||||
11 | PKG_DESTDIR_SUPPORT= user-destdir | |||
12 | 3 | |||
4 | .include "../../security/libprelude/Makefile.common" | |||
13 | .include "../../mk/bsd.prefs.mk" | 5 | .include "../../mk/bsd.prefs.mk" | |
14 | .include "options.mk" | |||
15 | ||||
16 | PRELUDE_USER?= _prelude | |||
17 | PRELUDE_GROUP?= _prelude | |||
18 | ||||
19 | PKG_GROUPS_VARS+= PRELUDE_GROUP | |||
20 | PKG_USERS_VARS+= PRELUDE_USER | |||
21 | 6 | |||
22 | BUILD_DEFS+= VARBASE | 7 | COMMENT= LibPrelude libraries and c++ easy bindings | |
23 | ||||
24 | USE_PKGLOCALEDIR= yes | |||
25 | USE_LIBTOOL= yes | |||
26 | GNU_CONFIGURE= yes | |||
27 | USE_TOOLS+= chown make bison gawk gmake | |||
28 | PKG_SYSCONFSUBDIR= prelude | |||
29 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR:Q} | |||
30 | CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} | |||
31 | CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc | |||
32 | PRELUDE_USER?= _prelude | |||
33 | PRELUDE_GROUP?= _prelude | |||
34 | PRELUDE_HOME?= ${VARBASE}/spool/prelude | |||
35 | ||||
36 | PKG_GROUPS= ${PRELUDE_GROUP} | |||
37 | PKG_USERS= ${PRELUDE_USER}:${PRELUDE_GROUP} | |||
38 | ||||
39 | PKG_GECOS.${PRELUDE_USER}= Prelude IDS | |||
40 | PKG_HOME.${PRELUDE_USER}= ${PRELUDE_HOME} | |||
41 | ||||
42 | OWN_DIRS_PERMS+= ${PRELUDE_HOME} ${PRELUDE_USER} ${PRELUDE_GROUP} 0755 | |||
43 | EGDIR= ${PREFIX}/share/examples/libprelude | |||
44 | REQD_DIRS= ${EGDIR} | |||
45 | MAKE_DIRS= ${PKG_SYSCONFDIR}/default ${PKG_SYSCONFDIR}/profile | |||
46 | MAKE_DIRS_PERMS+= ${PKG_SYSCONFDIR}/profile ${ROOT_USER} ${ROOT_GROUP} 0711 | |||
47 | 8 | |||
48 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf | 9 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/client.conf ${PKG_SYSCONFDIR}/default/client.conf | |
49 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf | 10 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/global.conf ${PKG_SYSCONFDIR}/default/global.conf | |
50 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf | 11 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/idmef-client.conf ${PKG_SYSCONFDIR}/default/idmef-client.conf | |
51 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf | 12 | CONF_FILES+= ${PREFIX}/share/examples/libprelude/tls.conf ${PKG_SYSCONFDIR}/default/tls.conf | |
52 | 13 | |||
53 | SUBST_CLASSES+= make | 14 | PKGCONFIG_OVERRIDE+= src/libprelude.pc.in | |
54 | SUBST_STAGE.make= post-patch | 15 | ||
55 | SUBST_FILES.make= Makefile.in | 16 | PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude | |
56 | SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g' | 17 | PKG_SUPPORTED_OPTIONS= debug | |
18 | ||||
19 | .include "../../mk/bsd.options.mk" | |||
57 | 20 | |||
58 | INSTALLATION_DIRS= share/examples/libprelude | 21 | .if !empty(PKG_OPTIONS:Mdebug) | |
22 | CFLAGS= -O0 -ggdb | |||
23 | .endif | |||
59 | 24 | |||
25 | .include "../../devel/libltdl/convenience.mk" | |||
60 | .include "../../security/gnutls/buildlink3.mk" | 26 | .include "../../security/gnutls/buildlink3.mk" | |
61 | .include "../../security/gnutls/libgnutls-config.mk" | 27 | .include "../../security/gnutls/libgnutls-config.mk" | |
62 | .include "../../mk/pthread.buildlink3.mk" | 28 | .include "../../mk/pthread.buildlink3.mk" | |
63 | .include "../../mk/bsd.pkg.mk" | 29 | .include "../../mk/bsd.pkg.mk" |
# $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
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.12 2009/06/14 18:13:32 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.13 2009/08/23 18:56:34 hasso Exp $ | |
2 | bin/libprelude-config | 2 | bin/libprelude-config | |
3 | bin/prelude-adduser | 3 | bin/prelude-adduser | |
4 | bin/prelude-admin | 4 | bin/prelude-admin | |
5 | include/libprelude/common.h | 5 | include/libprelude/common.h | |
6 | include/libprelude/daemonize.h | 6 | include/libprelude/daemonize.h | |
7 | include/libprelude/idmef-additional-data.h | 7 | include/libprelude/idmef-additional-data.h | |
8 | include/libprelude/idmef-class.h | 8 | include/libprelude/idmef-class.h | |
9 | include/libprelude/idmef-criteria.h | 9 | include/libprelude/idmef-criteria.h | |
10 | include/libprelude/idmef-criterion-value.h | 10 | include/libprelude/idmef-criterion-value.h | |
11 | include/libprelude/idmef-data.h | 11 | include/libprelude/idmef-data.h | |
12 | include/libprelude/idmef-message-helpers.h | 12 | include/libprelude/idmef-message-helpers.h | |
13 | include/libprelude/idmef-message-id.h | 13 | include/libprelude/idmef-message-id.h | |
14 | include/libprelude/idmef-message-print.h | 14 | include/libprelude/idmef-message-print.h | |
@@ -38,26 +38,27 @@ include/libprelude/prelude-linked-object | @@ -38,26 +38,27 @@ include/libprelude/prelude-linked-object | |||
38 | include/libprelude/prelude-list.h | 38 | include/libprelude/prelude-list.h | |
39 | include/libprelude/prelude-log.h | 39 | include/libprelude/prelude-log.h | |
40 | include/libprelude/prelude-message-id.h | 40 | include/libprelude/prelude-message-id.h | |
41 | include/libprelude/prelude-msg.h | 41 | include/libprelude/prelude-msg.h | |
42 | include/libprelude/prelude-msgbuf.h | 42 | include/libprelude/prelude-msgbuf.h | |
43 | include/libprelude/prelude-option-wide.h | 43 | include/libprelude/prelude-option-wide.h | |
44 | include/libprelude/prelude-option.h | 44 | include/libprelude/prelude-option.h | |
45 | include/libprelude/prelude-plugin.h | 45 | include/libprelude/prelude-plugin.h | |
46 | include/libprelude/prelude-string.h | 46 | include/libprelude/prelude-string.h | |
47 | include/libprelude/prelude-thread.h | 47 | include/libprelude/prelude-thread.h | |
48 | include/libprelude/prelude-timer.h | 48 | include/libprelude/prelude-timer.h | |
49 | include/libprelude/prelude.h | 49 | include/libprelude/prelude.h | |
50 | lib/libprelude.la | 50 | lib/libprelude.la | |
51 | lib/pkgconfig/libprelude.pc | |||
51 | share/aclocal/libprelude.m4 | 52 | share/aclocal/libprelude.m4 | |
52 | share/doc/libprelude/ch01.html | 53 | share/doc/libprelude/ch01.html | |
53 | share/doc/libprelude/ch02.html | 54 | share/doc/libprelude/ch02.html | |
54 | share/doc/libprelude/ch03.html | 55 | share/doc/libprelude/ch03.html | |
55 | share/doc/libprelude/ch04.html | 56 | share/doc/libprelude/ch04.html | |
56 | share/doc/libprelude/home.png | 57 | share/doc/libprelude/home.png | |
57 | share/doc/libprelude/index.html | 58 | share/doc/libprelude/index.html | |
58 | share/doc/libprelude/index.sgml | 59 | share/doc/libprelude/index.sgml | |
59 | share/doc/libprelude/left.png | 60 | share/doc/libprelude/left.png | |
60 | share/doc/libprelude/libprelude-idmef-additional-data.html | 61 | share/doc/libprelude/libprelude-idmef-additional-data.html | |
61 | share/doc/libprelude/libprelude-idmef-criteria.html | 62 | share/doc/libprelude/libprelude-idmef-criteria.html | |
62 | share/doc/libprelude/libprelude-idmef-criterion-value.html | 63 | share/doc/libprelude/libprelude-idmef-criterion-value.html | |
63 | share/doc/libprelude/libprelude-idmef-data.html | 64 | share/doc/libprelude/libprelude-idmef-data.html | |
@@ -94,13 +95,27 @@ share/doc/libprelude/libprelude.devhelp | @@ -94,13 +95,27 @@ share/doc/libprelude/libprelude.devhelp | |||
94 | share/doc/libprelude/libprelude.devhelp2 | 95 | share/doc/libprelude/libprelude.devhelp2 | |
95 | share/doc/libprelude/pt01.html | 96 | share/doc/libprelude/pt01.html | |
96 | share/doc/libprelude/pt02.html | 97 | share/doc/libprelude/pt02.html | |
97 | share/doc/libprelude/pt03.html | 98 | share/doc/libprelude/pt03.html | |
98 | share/doc/libprelude/pt04.html | 99 | share/doc/libprelude/pt04.html | |
99 | share/doc/libprelude/right.png | 100 | share/doc/libprelude/right.png | |
100 | share/doc/libprelude/style.css | 101 | share/doc/libprelude/style.css | |
101 | share/doc/libprelude/up.png | 102 | share/doc/libprelude/up.png | |
102 | share/examples/libprelude/client.conf | 103 | share/examples/libprelude/client.conf | |
103 | share/examples/libprelude/global.conf | 104 | share/examples/libprelude/global.conf | |
104 | share/examples/libprelude/idmef-client.conf | 105 | share/examples/libprelude/idmef-client.conf | |
105 | share/examples/libprelude/tls.conf | 106 | share/examples/libprelude/tls.conf | |
106 | man/man1/prelude-admin.1 | 107 | man/man1/prelude-admin.1 | |
108 | include/libprelude/idmef-criteria.hxx | |||
109 | include/libprelude/idmef-path.hxx | |||
110 | include/libprelude/idmef-time.hxx | |||
111 | include/libprelude/idmef-value.hxx | |||
112 | include/libprelude/idmef.hxx | |||
113 | include/libprelude/prelude-client-easy.hxx | |||
114 | include/libprelude/prelude-client-profile.hxx | |||
115 | include/libprelude/prelude-client.hxx | |||
116 | include/libprelude/prelude-connection-pool.hxx | |||
117 | include/libprelude/prelude-connection.hxx | |||
118 | include/libprelude/prelude-error.hxx | |||
119 | include/libprelude/prelude-log.hxx | |||
120 | include/libprelude/prelude.hxx | |||
121 | lib/libpreludecpp.la |
@@ -1,9 +1,14 @@ | @@ -1,9 +1,14 @@ | |||
1 | $NetBSD: distinfo,v 1.27 2009/02/10 21:11:13 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.28 2009/08/23 18:56:34 hasso Exp $ | |
2 | 2 | |||
3 | SHA1 (libprelude-0.9.21.1.tar.gz) = 02aebd7010379b8ca2ee96a50facfbd882027eff | 3 | SHA1 (libprelude-0.9.24.tar.gz) = 0b9e73f94c30dc92a430de618ad3913034e25258 | |
4 | RMD160 (libprelude-0.9.21.1.tar.gz) = 9e62f5a27781eb9550ec623abd1302e72554e363 | 4 | RMD160 (libprelude-0.9.24.tar.gz) = a06493f130387c6b06a0ef7928d2e1ec1fcbeb6c | |
5 | Size (libprelude-0.9.21.1.tar.gz) = 2477295 bytes | 5 | Size (libprelude-0.9.24.tar.gz) = 2580548 bytes | |
6 | SHA1 (patch-aa) = 38a70aef1e9ebee60aa94e86c18641b710725356 | 6 | SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158 | |
7 | SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16 | 7 | SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16 | |
8 | SHA1 (patch-ad) = e89900459ed7834801ae22b7a4a711163ec3f86b | 8 | SHA1 (patch-ac) = 7474b2cf8cbb7fca81d85fe7c575f8ca99f90a43 | |
9 | SHA1 (patch-ae) = ec362a79320f8ab189597ddd4641e4718536c629 | 9 | SHA1 (patch-ad) = 195228e1e04918275a3ab1cccb838de081a9ec98 | |
10 | SHA1 (patch-ae) = d8b22cea826727a41108d65f84b594d0879397b2 | |||
11 | SHA1 (patch-af) = a484d36e26ca5aee225aca369c884f285c6ba15c | |||
12 | SHA1 (patch-ag) = 684bf8a217950b0a7fb38140b20643f81d464431 | |||
13 | SHA1 (patch-ah) = df9293d56869bcc20c4be12f9922160d8f2aa01e | |||
14 | SHA1 (patch-ai) = 53a16f270a9048f74849c0cd02b517e821bdf08a |
@@ -1,27 +1,27 @@ | @@ -1,27 +1,27 @@ | |||
1 | $NetBSD: patch-aa,v 1.7 2009/02/10 21:11:13 joerg Exp $ | 1 | $NetBSD: patch-aa,v 1.8 2009/08/23 18:56:34 hasso Exp $ | |
2 | 2 | |||
3 | --- Makefile.in.orig 2008-04-24 04:50:26.000000000 -0600 | 3 | --- Makefile.in.orig 2009-07-08 16:37:14 +0200 | |
4 | +++ Makefile.in | 4 | +++ Makefile.in 2009-07-20 00:38:41 +0200 | |
5 | @@ -559,7 +559,7 @@ infodir = @infodir@ | 5 | @@ -865,7 +865,7 @@ | |
6 | install_sh = @install_sh@ | 6 | install_sh = @install_sh@ | |
7 | libdir = @libdir@ | 7 | libdir = @libdir@ | |
8 | libexecdir = @libexecdir@ | 8 | libexecdir = @libexecdir@ | |
9 | -localedir = @localedir@ | 9 | -localedir = @localedir@ | |
10 | +localedir = @prefix@/share/locale | 10 | +localedir = @prefix@/share/locale | |
11 | localstatedir = @localstatedir@ | 11 | localstatedir = @localstatedir@ | |
12 | mandir = @mandir@ | 12 | lt_ECHO = @lt_ECHO@ | |
13 | mkdir_p = @mkdir_p@ | 13 | ltdl_LIBOBJS = @ltdl_LIBOBJS@ | |
14 | @@ -1099,71 +1099,14 @@ prelude-config.h: $(top_builddir)/config | 14 | @@ -1525,71 +1525,13 @@ | |
15 | # Spool directory for report saving is mode | 15 | # Spool directory for report saving is mode | |
16 | 16 | |||
17 | install-data-local: | 17 | install-data-local: | |
18 | - $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_SPOOL_DIR); | 18 | - $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_SPOOL_DIR); | |
19 | - $(INSTALL) -d -m 755 $(DESTDIR)$(PRELUDE_CONFIG_DIR); | 19 | - $(INSTALL) -d -m 755 $(DESTDIR)$(PRELUDE_CONFIG_DIR); | |
20 | - $(INSTALL) -d -m 755 $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default; | 20 | - $(INSTALL) -d -m 755 $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default; | |
21 | - $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_CONFIG_DIR)/profile; | 21 | - $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_CONFIG_DIR)/profile; | |
22 | - @if test -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf; then \ | 22 | - @if test -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf; then \ | |
23 | - echo; \ | 23 | - echo; \ | |
24 | - echo "********************************************************************************"; \ | 24 | - echo "********************************************************************************"; \ | |
25 | - echo; \ | 25 | - echo; \ | |
26 | - echo "$(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf already exist..."; \ | 26 | - echo "$(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf already exist..."; \ | |
27 | - echo "Installing default configuration in $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf-dist"; \ | 27 | - echo "Installing default configuration in $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf-dist"; \ | |
@@ -75,17 +75,16 @@ $NetBSD: patch-aa,v 1.7 2009/02/10 21:11 | @@ -75,17 +75,16 @@ $NetBSD: patch-aa,v 1.7 2009/02/10 21:11 | |||
75 | - $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default; \ | 75 | - $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default; \ | |
76 | - fi | 76 | - fi | |
77 | + $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_SPOOL_DIR) | 77 | + $(INSTALL) -d -m 711 $(DESTDIR)$(PRELUDE_SPOOL_DIR) | |
78 | + $(BSD_INSTALL_DATA) $(top_srcdir)/client.conf ${DESTDIR}@EGDIR@ | 78 | + $(BSD_INSTALL_DATA) $(top_srcdir)/client.conf ${DESTDIR}@EGDIR@ | |
79 | + $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf ${DESTDIR}@EGDIR@ | 79 | + $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf ${DESTDIR}@EGDIR@ | |
80 | + $(BSD_INSTALL_DATA) $(top_srcdir)/idmef-client.conf ${DESTDIR}@EGDIR@ | 80 | + $(BSD_INSTALL_DATA) $(top_srcdir)/idmef-client.conf ${DESTDIR}@EGDIR@ | |
81 | + $(BSD_INSTALL_DATA) $(top_srcdir)/tls.conf ${DESTDIR}@EGDIR@ | 81 | + $(BSD_INSTALL_DATA) $(top_srcdir)/tls.conf ${DESTDIR}@EGDIR@ | |
82 | 82 | |||
83 | uninstall-local: | 83 | uninstall-local: | |
84 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf | 84 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/client.conf | |
85 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/global.conf | 85 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/global.conf | |
86 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/idmef-client.conf | 86 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/idmef-client.conf | |
87 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/tls.conf | 87 | - rm -f $(DESTDIR)$(PRELUDE_CONFIG_DIR)/default/tls.conf | |
88 | + | 88 | ||
89 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | 89 | dist-hook: | |
90 | # Otherwise a system limit (for SysV at least) may be exceeded. | 90 | @if test -d "$(srcdir)/.git"; then \ | |
91 | .NOEXPORT: |
$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
@@ -1,13 +1,14 @@ | @@ -1,13 +1,14 @@ | |||
1 | $NetBSD: patch-ad,v 1.5 2007/09/15 08:30:51 joerg Exp $ | 1 | $NetBSD: patch-ad,v 1.6 2009/08/23 18:56:34 hasso Exp $ | |
2 | 2 | |||
3 | --- src/prelude-failover.c.orig 2007-09-15 08:00:29.000000000 +0000 | 3 | From Till Dörges on the prelude-devel ML. | |
4 | +++ src/prelude-failover.c | 4 | ||
5 | @@ -381,7 +381,7 @@ static int get_failover_data_filename_an | 5 | --- libprelude-config.in.orig 2009-07-21 00:31:43 +0200 | |
6 | 6 | +++ libprelude-config.in 2009-07-21 00:31:58 +0200 | ||
7 | while ( (de = readdir(dir)) && ret != 1 ) { | 7 | @@ -70,6 +70,7 @@ | |
8 | ;; | |||
8 | 9 | |||
9 | - if ( de->d_reclen <= 4 || ! isdigit(de->d_name[4]) ) | 10 | --ldflags) | |
10 | + if (! isdigit(de->d_name[4]) ) | 11 | + echo "-Wl,-rpath -Wl,@libdir@" | |
11 | continue; | 12 | ;; | |
12 | 13 | |||
13 | if ( strncmp(de->d_name, "data", 4) != 0 || strchr(de->d_name, '.') ) | 14 | --c++) |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-ae,v 1.1 2008/04/28 10:52:40 shannonjr Exp $ | 1 | $NetBSD: patch-ae,v 1.2 2009/08/23 18:56:34 hasso Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2008-04-25 07:08:22.000000000 -0600 | 3 | --- configure.orig 2008-04-25 07:08:22.000000000 -0600 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -44961,7 +44961,7 @@ fi | 5 | @@ -44961,7 +44961,7 @@ fi | |
6 | 6 | |||
7 | { echo "$as_me:$LINENO: checking for cpu-specific compiler flags" >&5 | 7 | { $as_echo "$as_me:$LINENO: checking for cpu-specific compiler flags" >&5 | |
8 | echo $ECHO_N "checking for cpu-specific compiler flags... $ECHO_C" >&6; } | 8 | $as_echo_n "checking for cpu-specific compiler flags... " >&6; } | |
9 | -if test "$host_cpu" == "x86_64" && test $enable_static = "yes"; then | 9 | -if test "$host_cpu" == "x86_64" && test $enable_static = "yes"; then | |
10 | +if test "$host_cpu" = "x86_64" && test $enable_static = "yes"; then | 10 | +if test "$host_cpu" = "x86_64" && test $enable_static = "yes"; then | |
11 | { echo "$as_me:$LINENO: result: x86_64/static: adding -fPIC" >&5 | 11 | { $as_echo "$as_me:$LINENO: result: x86_64/static: adding -fPIC" >&5 | |
12 | echo "${ECHO_T}x86_64/static: adding -fPIC" >&6; } | 12 | $as_echo "x86_64/static: adding -fPIC" >&6; } | |
13 | 13 |
$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() \
$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
$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@") ) {
$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