aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-10-30 02:29:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-03 19:12:42 +0100
commit05f081859eeeeaf8fa3843b1304a939eb7aa725a (patch)
tree038f3f20a3a8e97316cdf44897d1f72f26e11772
parentf16acce6d3e0b50ae5f9d29cd4118afa212cd077 (diff)
downloadbuildroot-novena-05f081859eeeeaf8fa3843b1304a939eb7aa725a.tar.gz
buildroot-novena-05f081859eeeeaf8fa3843b1304a939eb7aa725a.zip
nfacct: add new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/nfacct/Config.in12
-rw-r--r--package/nfacct/nfacct.mk15
3 files changed, 28 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index f5ccf0ac9..ab0c2058c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 000000000..ac437dac9
--- /dev/null
+++ b/package/nfacct/Config.in
@@ -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
index 000000000..60c6e44f6
--- /dev/null
+++ b/package/nfacct/nfacct.mk
@@ -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))