summaryrefslogtreecommitdiff
path: root/package/pmacct/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-09 20:05:43 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-09 20:05:43 +0200
commit1838aa2870cf0f876fc724231f31428f0d8b8bd0 (patch)
tree73aad0788a02d02fb6f67c514314b0e29f23e1c6 /package/pmacct/Makefile
parentcf65700059b7c82d883ea31cff2d379d580c8fcb (diff)
update and fix packages which got activated to autogenerated
package configuration menu.
Diffstat (limited to 'package/pmacct/Makefile')
-rw-r--r--package/pmacct/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/pmacct/Makefile b/package/pmacct/Makefile
index cb92cbe8f..0b9c6c1ae 100644
--- a/package/pmacct/Makefile
+++ b/package/pmacct/Makefile
@@ -4,9 +4,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= pmacct
-PKG_VERSION:= 0.11.6
+PKG_VERSION:= 0.12.2
PKG_RELEASE:= 1
-PKG_MD5SUM:= e0f3bcba9a73b7a70bbf5a303cd22f77
+PKG_MD5SUM:= 1c656ea9ca13455c54e8efb9f8299b3d
PKG_DESCR:= IP accounting daemons
PKG_SECTION:= net/misc
PKG_DEPENDS:= libpcap
@@ -20,7 +20,7 @@ endif
ifneq ($(ADK_COMPILE_PMACCT_SQLITE),)
PKG_BUILDDEP+= sqlite
endif
-PKG_URL:= http://www.pmacct.net
+PKG_URL:= http://www.pmacct.net/
PKG_SITES:= http://www.pmacct.net/
include $(TOPDIR)/mk/package.mk
@@ -30,16 +30,18 @@ $(eval $(call PKG_template,PMACCTD,pmacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_D
$(eval $(call PKG_template,SFACCTD,sfacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PMACCT_CLIENT,pmacct-client,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= --with-pcap-includes="$(STAGING_DIR)/usr/include" \
+CONFIGURE_ARGS+= --with-pcap-includes="$(STAGING_DIR)/usr/include" \
--with-pcap-libs="$(STAGING_DIR)/usr/lib"
post-install:
${INSTALL_DIR} $(IDIR_SFACCTD)/usr/sbin
${INSTALL_BIN} $(WRKINST)/usr/sbin/sfacctd $(IDIR_SFACCTD)/usr/sbin/
- ${INSTALL_DIR} $(IDIR_NFACCTD)/usr/sbin
+ ${INSTALL_DIR} $(IDIR_NFACCTD)/usr/sbin $(IDIR_NFACCTD)/etc
${INSTALL_BIN} $(WRKINST)/usr/sbin/nfacctd $(IDIR_NFACCTD)/usr/sbin/
- ${INSTALL_DIR} $(IDIR_PMACCTD)/usr/sbin
+ ${INSTALL_DATA} ./files/nfacctd.conf $(IDIR_NFACCTD)/etc
+ ${INSTALL_DIR} $(IDIR_PMACCTD)/usr/sbin $(IDIR_PMACCTD)/etc
${INSTALL_BIN} $(WRKINST)/usr/sbin/pmacctd $(IDIR_PMACCTD)/usr/sbin/
+ ${INSTALL_DATA} ./files/pmacctd.conf $(IDIR_PMACCTD)/etc
${INSTALL_DIR} $(IDIR_PMACCT_CLIENT)/usr/bin
${INSTALL_BIN} $(WRKINST)/usr/bin/pmacct $(IDIR_PMACCT_CLIENT)/usr/bin/