Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
nfsen
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 15
[-]
[+]
Changed
nfsen.spec
@@ -9,9 +9,7 @@ Source0: %{name}-%{pkgversion}.tar.bz2 Source1: nfsen-rpm.conf Patch0: nfsen-no-root.patch -##Patch1: nfsen-piddir.patch -##Patch2: nfsen-email-alert-subdom.patch -##Patch3: nfsen-libexecnfsync.patch +Patch1: nfsen-no-seminit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: nfsen_prepare_build >= 0.1 @@ -32,22 +30,21 @@ %prep %setup -n %{name}-%{pkgversion} %patch0 -##patch1 -##patch2 -##patch3 +%patch1 %build # user netflow if [ -z "`%__grep "^netflow" /etc/passwd 2>/dev/null`" ]; then %{_sbindir}/useradd -c "netflow" -d %{_datadir}/nfsen -g www -r -s /bin/false netflow fi + + +%install mkdir -p %{buildroot}%{_datadir} mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_localstatedir} mkdir -p %{buildroot}/srv/www/htdocs - -%install export DESTDIR=%{buildroot} ./install.pl %{S:1} rm -f %{buildroot}/srv/www/htdocs/nfsen/nfsen.php.orig @@ -161,6 +158,7 @@ %{_datadir}/nfsen/libexec/AbuseWhois.pm %{_datadir}/nfsen/libexec/Nfsync.pm %{_datadir}/nfsen/plugins/demoplugin.pm +%{_datadir}/nfsen/plugins/smily.jpg %defattr(-,netflow,www) %{_datadir}/nfsen/profiles-data/live/rt01/.nfstat %{_datadir}/nfsen/profiles-data/live/rt02/.nfstat