SPECS: phpIP.spec - pl fix, sh syntax in trigger, don't own /etc/h...

qboosh qboosh at pld-linux.org
Tue Oct 31 16:39:24 CET 2006


Author: qboosh                       Date: Tue Oct 31 15:39:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl fix, sh syntax in trigger, don't own /etc/httpd dir with wrong perms

---- Files affected:
SPECS:
   phpIP.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/phpIP.spec
diff -u SPECS/phpIP.spec:1.11 SPECS/phpIP.spec:1.12
--- SPECS/phpIP.spec:1.11	Mon Dec  5 00:10:18 2005
+++ SPECS/phpIP.spec	Tue Oct 31 16:39:18 2006
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+# TODO: webapps?
 Summary:	phpIP Manager - Management of IP Addresses
 Summary(pl):	phpIP Manager - zarządzanie adresami IP
 Name:		phpIP
@@ -27,8 +28,8 @@
 and customizable searches.
 
 %description -l pl
-phpIP Management jest narzędziem do zarządzania adresami IP. Posiada
-możliwość autentyfikacji przy dostępie do bazy IP, sprawdzanie
+phpIP Management jest narzędziem do zarządzania adresami IP. Ma
+możliwość uwierzytelniania przy dostępie do bazy IP, sprawdzanie
 poprawności danych w formularzach oraz konfigurowalne opcje szukania.
 
 %prep
@@ -36,11 +37,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_phpdir}/{img,includes,style} \
 	   $RPM_BUILD_ROOT{%{_sysconfdir},/etc/httpd}
 
-
 install *.php		$RPM_BUILD_ROOT%{_phpdir}
 install includes/*.php	$RPM_BUILD_ROOT%{_phpdir}/includes
 install style/*.css	$RPM_BUILD_ROOT%{_phpdir}/style
@@ -59,6 +58,7 @@
 %triggerpostun -- phpip
 if [ -f %{_sysconfdir}/config_inc.php.rpmsave ]; then
 	mv -f %{_sysconfdir}/config_inc.php.rpmsave %{_sysconfdir}/config_inc.php
+fi
 
 %files
 %defattr(644,root,root,755)
@@ -75,9 +75,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_phpdir}/includes/config_inc.php
 %{_phpdir}/includes/[!c]*.php
 
-%defattr(640,http,http,750)
-%dir /etc/httpd
-/etc/httpd/%{name}.conf
+%attr(640,http,http) /etc/httpd/%{name}.conf
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/10/31 15:39:18  qboosh
+- pl fix, sh syntax in trigger, don't own /etc/httpd dir with wrong perms
+
 Revision 1.11  2005/12/04 23:10:18  glen
 - adapterized (sorted %verify flags)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/phpIP.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list