Share distinfo file between libprelude-* and similar for

libpreludedb-*. Shuffle stuff a bit around in the Makefile.common,
define PATCHDIR in that, don't define user-destdir support there.
This commit is contained in:
joerg 2009-10-07 19:39:42 +00:00
parent 3c9bba8359
commit 85920d02fb
20 changed files with 70 additions and 146 deletions

View file

@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/08/23 19:03:34 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:42 joerg Exp $
PKGNAME= libprelude-lua-${VERSION}
COMMENT= Lua bindings to LibPrelude
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libprelude/patches
PKGNAME= libprelude-lua-${VERSION}
COMMENT= Lua bindings to LibPrelude
CONFIGURE_ARGS+= --with-lua

View file

@ -1,15 +0,0 @@
$NetBSD: distinfo,v 1.2 2009/10/05 04:31:52 taca Exp $
SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
Size (libprelude-0.9.24.1.tar.gz) = 2582719 bytes
SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158
SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16
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
SHA1 (patch-aj) = e4019c1a71ecdf33540d603ba2e0ba09bd2b6f7b

View file

@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/08/23 19:05:00 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:42 joerg Exp $
PKGNAME= libprelude-perl-${VERSION}
COMMENT= Perl bindings to LibPrelude
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libprelude/patches
PKGNAME= libprelude-perl-${VERSION}
COMMENT= Perl bindings to LibPrelude
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
CONFIGURE_ARGS+= --with-perl-installdirs=vendor

View file

@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/08/23 19:05:56 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:42 joerg Exp $
PKGNAME= libprelude-python-${VERSION}
COMMENT= Python bindings to LibPrelude
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libprelude/patches
PKGNAME= libprelude-python-${VERSION}
COMMENT= Python bindings to LibPrelude
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}

View file

@ -1,15 +0,0 @@
$NetBSD: distinfo,v 1.2 2009/10/05 04:31:52 taca Exp $
SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
Size (libprelude-0.9.24.1.tar.gz) = 2582719 bytes
SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158
SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16
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
SHA1 (patch-aj) = e4019c1a71ecdf33540d603ba2e0ba09bd2b6f7b

View file

@ -1,12 +1,11 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/08/23 19:07:19 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
PKGNAME= libprelude-ruby-${VERSION}
COMMENT= Ruby bindings to LibPrelude
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libprelude/patches
PKGNAME= libprelude-ruby-${VERSION}
COMMENT= Ruby bindings to LibPrelude
BUILD_DIRS= bindings/ruby

View file

@ -1,15 +0,0 @@
$NetBSD: distinfo,v 1.2 2009/10/05 04:31:52 taca Exp $
SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
Size (libprelude-0.9.24.1.tar.gz) = 2582719 bytes
SHA1 (patch-aa) = 4781d5d5f726b74e3e2179217ff2db9672c12158
SHA1 (patch-ab) = 96418b2ce697bdfef83780e0dbc47d95568d3a16
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
SHA1 (patch-aj) = e4019c1a71ecdf33540d603ba2e0ba09bd2b6f7b

View file

@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.37 2009/08/23 18:56:34 hasso Exp $
# $NetBSD: Makefile,v 1.38 2009/10/07 19:39:42 joerg Exp $
#
.include "../../security/libprelude/Makefile.common"
.include "../../mk/bsd.prefs.mk"
COMMENT= LibPrelude libraries and c++ easy bindings
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
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

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.2 2009/10/02 09:46:42 hasso Exp $
# $NetBSD: Makefile.common,v 1.3 2009/10/07 19:39:42 joerg Exp $
#
# used by security/libprelude/Makefile
# used by security/libprelude-lua/Makefile
@ -16,6 +16,9 @@ HOMEPAGE= http://www.prelude-ids.org/download/releases/
PKG_DESTDIR_SUPPORT= user-destdir
PATCHDIR= ${.CURDIR}/../security/libprelude/patches
DISTINFO_FILE= ${.CURDIR}/../security/libprelude/distinfo
BUILD_DEFS+= VARBASE
USE_PKGLOCALEDIR= yes
@ -53,3 +56,5 @@ SUBST_FILES.make= Makefile.in
SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
INSTALLATION_DIRS= share/examples/libprelude
.include "../../mk/bsd.prefs.mk"

View file

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:02:08 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libpreludedb/patches
PKGNAME= libpreludedb-mysql-${VERSION}
COMMENT= MySQL plugin for LibPreludeDB
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-sqlite3=no

View file

@ -1,9 +0,0 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:02:08 hasso Exp $
SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec
RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed
Size (libpreludedb-0.9.15.3.tar.gz) = 935457 bytes
SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa
SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855

View file

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 09:59:40 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libpreludedb/patches
PKGNAME= libpreludedb-perl-${VERSION}
COMMENT= Perl bindings for LibPreludeDB libraries
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-mysql=no
CONFIGURE_ARGS+= --with-postgresql=no

View file

@ -1,9 +0,0 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/02 09:59:40 hasso Exp $
SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec
RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed
Size (libpreludedb-0.9.15.3.tar.gz) = 935457 bytes
SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa
SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855

View file

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libpreludedb/patches
PKGNAME= libpreludedb-pgsql-${VERSION}
COMMENT= PostgreSQL plugin for LibPreludeDB
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-mysql=no

View file

@ -1,9 +0,0 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:03:08 hasso Exp $
SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec
RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed
Size (libpreludedb-0.9.15.3.tar.gz) = 935457 bytes
SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa
SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855

View file

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:04:48 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libpreludedb/patches
PKGNAME= libpreludedb-python-${VERSION}
COMMENT= Python bindings for LibPreludeDB libraries
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-mysql=no
CONFIGURE_ARGS+= --with-postgresql=no

View file

@ -1,13 +1,13 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/10/02 10:05:54 hasso Exp $
# $NetBSD: Makefile,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
PATCHDIR= ${.CURDIR}/../libpreludedb/patches
PKGNAME= libpreludedb-sqlite3-${VERSION}
COMMENT= Sqlite3 plugin for LibPreludeDB
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-mysql=no

View file

@ -1,9 +0,0 @@
$NetBSD: distinfo,v 1.1.1.1 2009/10/02 10:05:54 hasso Exp $
SHA1 (libpreludedb-0.9.15.3.tar.gz) = 617ca366401f461380ceff5de037efa7743ca1ec
RMD160 (libpreludedb-0.9.15.3.tar.gz) = 70af1692966a6b31d4b18a2342a74991d3e8bfed
Size (libpreludedb-0.9.15.3.tar.gz) = 935457 bytes
SHA1 (patch-aa) = 11cb4f1353a5dbfc046992d862230849aeb21afa
SHA1 (patch-ab) = 52fe326b51634cdc123d4ccb48ac054c7cf318c4
SHA1 (patch-ac) = d71fa2d8ec5c84692dc68801e06651bc70628e89
SHA1 (patch-ad) = abd409d4e955f202796a5cb9da3360a76e8d2855

View file

@ -1,11 +1,12 @@
# $NetBSD: Makefile,v 1.27 2009/10/02 09:50:38 hasso Exp $
# $NetBSD: Makefile,v 1.28 2009/10/07 19:39:43 joerg Exp $
#
.include "../../security/libpreludedb/Makefile.common"
.include "../../mk/bsd.prefs.mk"
COMMENT= LibPreludeDB libraries
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libpreludedb/Makefile.common"
CONFIGURE_ARGS+= --with-perl=no
CONFIGURE_ARGS+= --with-python=no
CONFIGURE_ARGS+= --with-mysql=no

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.1 2009/10/02 09:50:38 hasso Exp $
# $NetBSD: Makefile.common,v 1.2 2009/10/07 19:39:43 joerg Exp $
#
# used by security/libpreludedb/Makefile
# used by security/libpreludedb-mysql/Makefile
@ -16,7 +16,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://www.prelude-ids.org/download/releases/
COMMENT= Provides an interface to the database used to store IDMEF alerts
PKG_DESTDIR_SUPPORT= user-destdir
PATCHDIR= ${.CURDIR}/../security/libpreludedb/patches
DISTINFO_FILE= ${.CURDIR}/../security/libpreludedb/distinfo
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
@ -27,6 +28,7 @@ USE_LANGUAGES= c c++
PKG_OPTIONS_VAR= PKG_OPTIONS.libpreludedb
pre-configure:
${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la ${BUILDLINK_DIR}/lib/libltdlc.la
.include "../../mk/bsd.prefs.mk"