initial commit of file from CVS for libnetfilter_acct on Fri 14 Jul 13:51:26 BST 2023

This commit is contained in:
Brian Read 2023-07-14 13:51:26 +01:00
parent 33a24269be
commit 987eaeafe9
7 changed files with 128 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.0.3.tar.bz2 filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: libnetfilter_acct
# $Id: Makefile,v 1.1 2021/03/03 23:16:34 jpp Exp $
NAME := libnetfilter_acct
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,3 +1,11 @@
# libnetfilter_acct
3rd Party (Maintained by Koozali) git repo for libnetfilter_acct smeserver
3rd Party (Maintained by Koozali) git repo for libnetfilter_acct smeserver
## Description
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
*Once it has been checked, then this comment will be deleted*
<br />
Libnetfilter_acct is a software package that provides the user with an API to manage the accounting subsystem in the Linux kernel. This subsystem allows the user to monitor and analyze data flowing through the network by capturing packet and byte counters for traffic that passes through the interface. Libnetfilter_acct provides a set of library functions that enable developers to easily access this accounting information. These library functions can be used to monitor the traffic passing through a network, as well as to generate reports and analyze trends.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

BIN
libnetfilter_acct-1.0.3.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

90
libnetfilter_acct.spec Normal file
View File

@ -0,0 +1,90 @@
Name: libnetfilter_acct
Version: 1.0.3
Release: 1%{?dist}
Summary: A library providing interface to extended accounting infrastructure
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.netfilter.org/projects/libnetfilter_acct/index.html
Source0: http://www.netfilter.org/projects/libnetfilter_acct/files/libnetfilter_acct-1.0.3.tar.bz2
BuildRequires: libmnl-devel
%description
libnetfilter_acct is the userspace library providing interface to extended
accounting infrastructure.
libnetfilter_acct is used by nfacct.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find examples '(' -name Makefile.in -o -name Makefile.am ')' -exec rm -f {} ';'
mv examples examples-%{_arch}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING README
%{_libdir}/*.so.*
%files devel
%doc COPYING
%doc examples-%{_arch}
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Fri Jul 14 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Wed Mar 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.2-4.sme
- Update to upstream 1.0.3
- import to SME 10 [SME: 11423]
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Sep 13 2013 Hushan Jia <hushan.jia@gmail.com> - 1.0.2-1
- Update to upstream 1.0.2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.0-2
- Fix Requires and BuildRequires Tag
- Fix el5 build requirement
* Thu Aug 16 2012 Hushan Jia <hushan.jia@gmail.com> - 1.0.0-1
- initial packaging