summaryrefslogtreecommitdiff
path: root/package/ulogd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/ulogd
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/ulogd')
-rw-r--r--package/ulogd/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/package/ulogd/Makefile b/package/ulogd/Makefile
index ab516d1e8..6993fed64 100644
--- a/package/ulogd/Makefile
+++ b/package/ulogd/Makefile
@@ -9,26 +9,22 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 21143aecf8e39008d143a0fb0f742b0c
PKG_DESCR:= Netfilter userspace logging daemon
PKG_SECTION:= firewall
-PKG_MULTI:= 1
-PKG_NOPARALLEL:= 1
PKG_DEPENDS:= iptables libnetfilter-conntrack libnetfilter-log
-PKG_BUILDDEP+= iptables libnetfilter_conntrack libnetfilter_log
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_MYSQL),)
-PKG_BUILDDEP+= mysql
-endif
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_PGSQL),)
-PKG_BUILDDEP+= postgresql
-endif
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_SQLITE),)
-PKG_BUILDDEP+= sqlite
-endif
+PKG_BUILDDEP:= iptables libnetfilter_conntrack libnetfilter_log
PKG_URL:= http://www.netfilter.org/projects/ulogd/
PKG_SITES:= http://www.netfilter.org/projects/ulogd/files/
+PKG_MULTI:= 1
+PKG_NOPARALLEL:= 1
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+PKG_SUBPKGS:= ULOGD ULOGD_MOD_MYSQL ULOGD_MOD_PCAP ULOGD_MOD_PGSQL ULOGD_MOD_SQLITE ULOGD_MOD_EXTRA
+PKGSB_MOD_MYSQL:= mysql
+PKGSB_MOD_PGSQL:= postgresql
+PKGSB_MOD_SQLITE:= sqlite
PKG_HOST_DEPENDS:= !cygwin
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ULOGD,ulogd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))