pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libprelude Update to 0.9.24. No normal upstre...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/669b3f42d670
branches:  trunk
changeset: 398090:669b3f42d670
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Sun Aug 23 18:56:34 2009 +0000

description:
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:

 security/libprelude/DESCR            |   3 +
 security/libprelude/Makefile         |  62 ++++++++---------------------------
 security/libprelude/Makefile.common  |  55 +++++++++++++++++++++++++++++++
 security/libprelude/PLIST            |  17 +++++++++-
 security/libprelude/PLIST.py         |   5 --
 security/libprelude/distinfo         |  19 ++++++----
 security/libprelude/options.mk       |  35 --------------------
 security/libprelude/patches/patch-aa |  21 +++++------
 security/libprelude/patches/patch-ac |  13 +++++++
 security/libprelude/patches/patch-ad |  21 ++++++-----
 security/libprelude/patches/patch-ae |  10 ++--
 security/libprelude/patches/patch-af |  19 +++++++++++
 security/libprelude/patches/patch-ag |  22 ++++++++++++
 security/libprelude/patches/patch-ah |  13 +++++++
 security/libprelude/patches/patch-ai |  22 ++++++++++++
 15 files changed, 215 insertions(+), 122 deletions(-)

diffs (truncated from 455 to 300 lines):

diff -r 7358f554199c -r 669b3f42d670 security/libprelude/DESCR
--- a/security/libprelude/DESCR Sun Aug 23 18:14:38 2009 +0000
+++ b/security/libprelude/DESCR Sun Aug 23 18:56:34 2009 +0000
@@ -3,3 +3,6 @@
 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 -r 7358f554199c -r 669b3f42d670 security/libprelude/Makefile
--- a/security/libprelude/Makefile      Sun Aug 23 18:14:38 2009 +0000
+++ b/security/libprelude/Makefile      Sun Aug 23 18:56:34 2009 +0000
@@ -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@localhost
-HOMEPAGE=              http://www.prelude-ids.org/download/releases/
-COMMENT=               Provides the framework for using the Prelude system
-
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-.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
+.include "../../security/libprelude/Makefile.common"
+.include "../../mk/bsd.prefs.mk"
 
-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
 
-INSTALLATION_DIRS=     share/examples/libprelude
+.include "../../mk/bsd.options.mk"
 
+.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 -r 7358f554199c -r 669b3f42d670 security/libprelude/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libprelude/Makefile.common       Sun Aug 23 18:56:34 2009 +0000
@@ -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@localhost
+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 -r 7358f554199c -r 669b3f42d670 security/libprelude/PLIST
--- a/security/libprelude/PLIST Sun Aug 23 18:14:38 2009 +0000
+++ b/security/libprelude/PLIST Sun Aug 23 18:56:34 2009 +0000
@@ -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-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/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 -r 7358f554199c -r 669b3f42d670 security/libprelude/PLIST.py
--- a/security/libprelude/PLIST.py      Sun Aug 23 18:14:38 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 7358f554199c -r 669b3f42d670 security/libprelude/distinfo
--- a/security/libprelude/distinfo      Sun Aug 23 18:14:38 2009 +0000
+++ b/security/libprelude/distinfo      Sun Aug 23 18:56:34 2009 +0000
@@ -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 -r 7358f554199c -r 669b3f42d670 security/libprelude/options.mk
--- a/security/libprelude/options.mk    Sun Aug 23 18:14:38 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 7358f554199c -r 669b3f42d670 security/libprelude/patches/patch-aa
--- a/security/libprelude/patches/patch-aa      Sun Aug 23 18:14:38 2009 +0000
+++ b/security/libprelude/patches/patch-aa      Sun Aug 23 18:56:34 2009 +0000
@@ -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 @@
 -      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 -r 7358f554199c -r 669b3f42d670 security/libprelude/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libprelude/patches/patch-ac      Sun Aug 23 18:56:34 2009 +0000
@@ -0,0 +1,13 @@



Home | Main Index | Thread Index | Old Index