From 6ad4918459cec40762dfe7c9826e92c969a900b1 Mon Sep 17 00:00:00 2001 From: blogic Date: Sun, 17 Jun 2012 14:41:44 +0000 Subject: [PATCH] [packages] fixes pmacct dependencies git-svn-id: svn://svn.openwrt.org/openwrt/packages@32404 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- admin/pmacct/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/admin/pmacct/Makefile b/admin/pmacct/Makefile index deb413832..4299a8266 100644 --- a/admin/pmacct/Makefile +++ b/admin/pmacct/Makefile @@ -31,6 +31,7 @@ define Package/pmacct/Default CATEGORY:=Administration SUBMENU:=Pmacct suite URL:=http://www.pmacct.net/ + DEPENDS=+libpcap endef define Package/pmacct-client @@ -46,13 +47,11 @@ endef define Package/pmacctd/Default $(call Package/pmacct/Default) - DEPENDS+= +libpcap TITLE:=IP pcap-based accounting daemon endef define Package/sfacctd/Default $(call Package/pmacct/Default) - DEPENDS+= +libpcap TITLE:=sFlow accounting daemon endef @@ -173,7 +172,7 @@ $(eval $(call BuildPackage/Template,pgsql,pmacctd,-pgsql,with PostgreSQL support $(eval $(call BuildPackage/Template,pgsql,sfacctd,-pgsql,with PostgreSQL support,+libpq)) $(eval $(call BuildPackage/Template,pgsql,uacctd,-pgsql,with PostgreSQL support,+libpq)) -$(eval $(call BuildPackage/Template,sqlite,nfacctd,-sqlite,with SQLite support,+libsqlite3)) -$(eval $(call BuildPackage/Template,sqlite,pmacctd,-sqlite,with SQLite support,+libsqlite3)) -$(eval $(call BuildPackage/Template,sqlite,sfacctd,-sqlite,with SQLite support,+libsqlite3)) -$(eval $(call BuildPackage/Template,sqlite,uacctd,-sqlite,with SQLite support,+libsqlite3)) +$(eval $(call BuildPackage/Template,sqlite,nfacctd,-sqlite,with SQLite support,+libsqlite3 +zlib)) +$(eval $(call BuildPackage/Template,sqlite,pmacctd,-sqlite,with SQLite support,+libsqlite3 +zlib)) +$(eval $(call BuildPackage/Template,sqlite,sfacctd,-sqlite,with SQLite support,+libsqlite3 +zlib)) +$(eval $(call BuildPackage/Template,sqlite,uacctd,-sqlite,with SQLite support,+libsqlite3 +zlib))