Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2:Ports
netacct
netacct.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netacct.spec of Package netacct
# # spec file for package netacct # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: netacct Version: 0.71 Release: 0 Summary: Network Accounting License: GPL-2.0+ Group: Productivity/Networking/Diagnostic Url: http://exorsus.net/projects/net-acct/ Source: net-acct_%{version}.tar.bz2 Source1: nacctd.8 Patch: net-acct_%{version}.dif Patch1: net-acct-0.71-glibc2-optflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: net-acct %description This package logs network traffic. It provides a daemon (nacctd) that logs all traffic passing through the machine it runs on (similar to what tcpdump does). %prep %setup -q -n net-acct-%{version}-glibc2 chmod a-x tools/* contrib/* %patch %patch1 %build cd src CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" \ make %{?_smp_mflags} %install install -d -m 755 $RPM_BUILD_ROOT{/usr/sbin,/etc,%{_mandir}/man8} install -m 644 %{S:1} $RPM_BUILD_ROOT/%{_mandir}/man8 cd src install -m 644 naccttab.sample $RPM_BUILD_ROOT/etc/naccttab install -m 644 naccttab.sample.pcap $RPM_BUILD_ROOT/etc/naccttab.pcap install -m 755 nacctd $RPM_BUILD_ROOT/usr/sbin %files %defattr(-,root,root) /usr/sbin/nacctd %config /etc/naccttab %config /etc/naccttab.pcap %doc CHANGES COPYING README contrib tools %{_mandir}/man8/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor