SPECS: squirrelmail-plugin-vacation_local.spec - removed all suid ...
hawk
hawk at pld-linux.org
Tue May 30 23:36:54 CEST 2006
Author: hawk Date: Tue May 30 21:36:54 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- removed all suid stuff (binary, patch, warnings in descriptions),
now this plugin supports sudo instead, works ok
- added config patch
- noarch
---- Files affected:
SPECS:
squirrelmail-plugin-vacation_local.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/squirrelmail-plugin-vacation_local.spec
diff -u SPECS/squirrelmail-plugin-vacation_local.spec:1.3 SPECS/squirrelmail-plugin-vacation_local.spec:1.4
--- SPECS/squirrelmail-plugin-vacation_local.spec:1.3 Tue May 30 12:34:42 2006
+++ SPECS/squirrelmail-plugin-vacation_local.spec Tue May 30 23:36:49 2006
@@ -11,12 +11,14 @@
Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{version}-%{mversion}.tar.gz
# Source0-md5: c050a2e9c066b7aa1d008edd74796c93
Patch0: %{name}-Makefile.patch
-Patch1: %{name}-binary-fix.patch
+Patch1: %{name}-config.patch
+Patch2: %{name}-sudo.patch
URL: http://www.squirrelmail.org/
Requires: php-ftp
-Requires: squirrelmail >= 1.4.6-1
+Requires: squirrelmail >= 1.4.6-2
Obsoletes: squirrelmail-plugin-vacation
Obsoletes: squirrelmail-vacation
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir %{_datadir}/squirrelmail/plugins/%{_plugin}
@@ -26,30 +28,20 @@
This plugin allows users to create an auto-respond message to all
incoming email while they're away.
-Warning: This package contains file with suid bit set!
-
%description -l pl
Ta wtyczka umożliwia użytkownikom stworzenie i włączenie automatycznej
odpowiedzi na wszystkie przychodzące maile.
-Uwaga: ten pakiet zawiera plik z ustawionym bitem suid!
-
%prep
%setup -q -n %{_plugin}
%patch0 -p1
%patch1 -p1
-
-%build
-%{__make} -C vacation_binary \
- CFLAGS="%{rpmcflags}" \
- LFLAGS="%{rpmldflags}"
+%patch2 -p1
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir} \
- $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir}
-install vacation_binary/squirrelmail_vacation_proxy $RPM_BUILD_ROOT%{_sbindir}
install *.php $RPM_BUILD_ROOT%{_plugindir}
mv config.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/vacation_local_config.php
ln -s %{_sysconfdir}/vacation_local_config.php $RPM_BUILD_ROOT%{_plugindir}/config.php
@@ -59,8 +51,7 @@
%files
%defattr(644,root,root,755)
-%doc INSTALL README
-%attr(4755,root,root) %{_sbindir}/squirrelmail_vacation_proxy
+%doc INSTALL README README.sudo
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vacation_local_config.php
%dir %{_plugindir}
%{_plugindir}/*.php
@@ -71,6 +62,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/05/30 21:36:49 hawk
+- removed all suid stuff (binary, patch, warnings in descriptions),
+ now this plugin supports sudo instead, works ok
+- added config patch
+- noarch
+
Revision 1.3 2006/05/30 10:34:42 hawk
- eh... updated previous commit log
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/squirrelmail-plugin-vacation_local.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list