diff --git a/README.md b/README.md index a82ff4d..0851251 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # nfacct +nfacct is the command line tool to create/retrieve/delete accounting objects. +It requires kernel that features the nfnetlink_acct subsystem. +For officially released kernels, this means 3.3. +Main Features: +* listing the objects of the nfacct table in plain text/XML +* atomically get and reset objects of the nfacct table +* adding new objects to the nfacct table +* deleting objects from the nfacct table + diff --git a/nfacct.spec b/nfacct.spec new file mode 100644 index 0000000..76a4226 --- /dev/null +++ b/nfacct.spec @@ -0,0 +1,56 @@ +Name: nfacct +Version: 1.0.1 +Release: 1mamba +Summary: The netfilter command line tool to create/retrieve/delete accounting objects +Group: Network/Security +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://netfilter.org/projects/nfacct/ +Source: http://netfilter.org/projects/nfacct/files/nfacct-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmnl-devel +BuildRequires: libnetfilter_acct-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +nfacct is the command line tool to create/retrieve/delete accounting objects. +It requires kernel that features the nfnetlink_acct subsystem. +For officially released kernels, this means 3.3. +Main Features: +* listing the objects of the nfacct table in plain text/XML +* atomically get and reset objects of the nfacct table +* adding new objects to the nfacct table +* deleting objects from the nfacct table + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}/nfacct +%{_mandir}/man8/nfacct.* +%doc COPYING + +%changelog +* Thu Apr 25 2013 Automatic Build System 1.0.1-1mamba +- update to 1.0.1 + +* Mon Apr 30 2012 Davide Madrisan 1.0.0-1mamba +- package created by autospec