SPECS: dspam.spec - fix webui permissions

glen glen at pld-linux.org
Sun May 7 16:25:28 CEST 2006


Author: glen                         Date: Sun May  7 14:25:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix webui permissions

---- Files affected:
SPECS:
   dspam.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: SPECS/dspam.spec
diff -u SPECS/dspam.spec:1.58 SPECS/dspam.spec:1.59
--- SPECS/dspam.spec:1.58	Sun May  7 15:50:24 2006
+++ SPECS/dspam.spec	Sun May  7 16:25:23 2006
@@ -17,7 +17,7 @@
 Summary(pl):	Biblioteka i MDA do bayesowskiego filtrowania spamu
 Name:		dspam
 Version:	3.6.5
-Release:	0.14
+Release:	0.20
 License:	GPL
 Group:		Applications/Mail
 Source0:	http://www.nuclearelephant.com/projects/dspam/sources/%{name}-%{version}.tar.gz
@@ -224,9 +224,11 @@
 Sterownik SQLite dla DSPAM-a.
 
 %package webui
-Summary:	Dspam Web UI
+Summary:	DSPAM Web UI
 Group:		Applications/WWW
 Requires:	webapps
+# needs dspam binary
+Requires:	%{name} = %{version}-%{release}
 
 %description webui
 The Web UI (CGI client) can be run from any executable location on a
@@ -259,6 +261,7 @@
 %{?with_sqlite:sqlite_drv}
 "
 %configure \
+	--disable-dependency-tracking \
 	%{?debug: --enable-debug --enable-bnr-debug --enable-verbose-debug} \
 	--enable-trusted-user-security \
 	--enable-bias \
@@ -272,7 +275,6 @@
 	--with-dspam-owner=none \
 	--with-dspam-group=none \
 	--with-signature-life=14 \
-	--disable-dependency-tracking \
 	--enable-ldap \
 	--enable-clamav \
 	--enable-preferences-extension \
@@ -515,10 +517,10 @@
 %dir %attr(750,root,http) %{_webapps}/%{_webapp}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/admins
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/configure.pl
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/default.prefs
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/admins
+%attr(660,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/default.prefs
+%config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/configure.pl
 
 %dir %{_datadir}/dspam
 %dir %{_datadir}/dspam/cgi
@@ -532,6 +534,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2006/05/07 14:25:23  glen
+- fix webui permissions
+
 Revision 1.58  2006/05/07 13:50:24  glen
 - created -webui subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dspam.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list