]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- /etc/ntop directory permissions fixed auto/ac/ntop-3_0-2
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 14 Sep 2004 06:38:32 +0000 (06:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- plugins installed into the right directory

Changed files:
    ntop.spec -> 1.57

ntop.spec

index eaec04e95997898621f9af5bd5fc534fd273ef5f..4d2db2a5cf693ab2fef1207c334c6bb2cf55ffe0 100644 (file)
--- a/ntop.spec
+++ b/ntop.spec
@@ -2,7 +2,7 @@ Summary:        Network monitoring tool
 Summary(pl):   Narzêdzie do monitorowania sieci
 Name:          ntop
 Version:       3.0
-Release:       1
+Release:       2
 License:       GPL
 Group:         Networking
 Source0:       http://dl.sourceforge.net/ntop/%{name}-%{version}.tgz
@@ -88,6 +88,9 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ntop
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ntop
 install packages/RedHat/ntop.conf.sample $RPM_BUILD_ROOT/etc/ntop.conf
 
+mv $RPM_BUILD_ROOT%{_libdir}/lib*Plugin*.so $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
+rm $RPM_BUILD_ROOT%{_libdir}/*.a
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -145,5 +148,6 @@ fi
 %{_mandir}/man*/*
 %attr(754,root,root) /etc/rc.d/init.d/ntop
 %attr(640,root,root) /etc/sysconfig/ntop
-%attr(640,root,ntop) %config(noreplace) %verify(not size mtime md5) /etc/ntop
+%attr(750,root,ntop) %dir /etc/ntop
+%attr(640,root,ntop) %config(noreplace) %verify(not size mtime md5) /etc/ntop/*
 %attr(644,root,ntop) %config(noreplace) %verify(not size mtime md5) /etc/ntop.conf
This page took 0.072959 seconds and 4 git commands to generate.