Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 148213 Details for
Bug 229037
Proposing some spec file cleanups for vnStat
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Diff of vnstat spec files
vnstat.spec.diff (text/plain), 1.69 KB, created by
Robert Scheck
on 2007-02-16 17:39:22 UTC
(
hide
)
Description:
Diff of vnstat spec files
Filename:
MIME Type:
Creator:
Robert Scheck
Created:
2007-02-16 17:39:22 UTC
Size:
1.69 KB
patch
obsolete
>--- vnstat.spec 2006-09-15 21:49:50.000000000 +0200 >+++ vnstat.spec.rsc 2007-02-16 18:28:27.000000000 +0100 >@@ -8,16 +8,19 @@ > URL: http://humdi.net/vnstat/ > Source0: http://humdi.net/vnstat/vnstat-%{version}.tar.gz > Source1: FAQ.vnstat >+Requires(pre): /usr/sbin/useradd > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > > %description >-vnStat is a console-based network traffic monitor that uses the >-/proc -filesystem to get the needed information. This means that vnStat wont >-actually be sniffing any traffic. See the webpage for few 'screenshots'. >+vnStat is a console-based network traffic monitor that keeps a log of daily >+network traffic for the selected interface(s). vnStat isn't a packet sniffer. >+The traffic information is analyzed from the /proc-filesystem, so vnStat can >+be used without root permissions. See the webpage for few 'screenshots'. > > %prep > %setup -q > %{__cp} %{SOURCE1} FAQ >+%{__sed} -i 's/ifconfig/ip addr show/' src/vnstat.c > > %build > %{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" >@@ -36,7 +39,7 @@ > > %{__cat} >> $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name} << END > MAILTO=root >-# to enable intrerface monitoring via vnstat remove comment on next line >+# to enable interface monitoring via vnstat remove comment on next line > # */5 * * * * vnstat %{_sbindir}/%{name}.cron > END > >@@ -69,12 +72,7 @@ > %{__rm} -rf $RPM_BUILD_ROOT > > %pre >-useradd -r -s /sbin/nologin -d %{_localstatedir}/lib/%{name} -c 'vnstat user' %{name} >/dev/null 2>&1 ||: >- >-%preun >-if [ "$1" -eq "0" ]; then >- userdel %{name} >-fi >+%{_sbindir}/useradd -r -s /sbin/nologin -d %{_localstatedir}/lib/%{name} -M -c "vnStat user" %{name} > /dev/null 2>&1 || : > > %files > %defattr(-,root,root,-)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229037
: 148213