nfacct: add new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 30 Oct 2012 02:29:50 +0000 (02:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Nov 2012 18:12:42 +0000 (19:12 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/nfacct/Config.in [new file with mode: 0644]
package/nfacct/nfacct.mk [new file with mode: 0644]

index f5ccf0ac98a14b2a51b99488f7cf2e421dd8bb6a..ab0c2058cea98469a2b81ce86deb62c377bc7066 100644 (file)
@@ -607,6 +607,7 @@ source "package/netplug/Config.in"
 source "package/netsnmp/Config.in"
 source "package/netstat-nat/Config.in"
 source "package/network-manager/Config.in"
+source "package/nfacct/Config.in"
 source "package/noip/Config.in"
 source "package/ngircd/Config.in"
 source "package/ngrep/Config.in"
diff --git a/package/nfacct/Config.in b/package/nfacct/Config.in
new file mode 100644 (file)
index 0000000..ac437da
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_NFACCT
+       bool "nfacct"
+       depends on BR2_LARGEFILE
+       select BR2_PACKAGE_LIBNETFILTER_ACCT
+       help
+         nfacct is the command line tool to create/retrieve/delete
+         netfilter accounting objects.
+
+         http://www.netfilter.org/projects/nfacct/
+
+comment "nfacct requires a toolchain with LARGEFILE support"
+       depends on !BR2_LARGEFILE
diff --git a/package/nfacct/nfacct.mk b/package/nfacct/nfacct.mk
new file mode 100644 (file)
index 0000000..60c6e44
--- /dev/null
@@ -0,0 +1,15 @@
+#############################################################
+#
+# nfacct
+#
+#############################################################
+
+NFACCT_VERSION = 1.0.0
+NFACCT_SOURCE = nfacct-$(NFACCT_VERSION).tar.bz2
+NFACCT_SITE = http://www.netfilter.org/projects/nfacct/files
+NFACCT_DEPENDENCIES = host-pkgconf \
+       libnetfilter_acct
+NFACCT_LICENSE = GPLv2
+NFACCT_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))