cloud/contrib/: [Changelog] exim-4.30-3gd.src.rpm

root root@xxxxxxxxxxxxxxxxxxxxxxxxx
Mon Dec 8 23:01:01 CET 2003


 Changelog for exim-4.30-3gd.src.rpm:
    * Mon Dec 08 2003 Gerald Dachs <gda at trustix dot org> 4.30-3gd

- new try to make build as non root user possible

* Mon Dec 08 2003 Gerald Dachs <gda at trustix dot org> 4.30-2gd

- cleaned up spec file
- made build as non root user possible
- fixed %preun script 
-------------- next part --------------
--- exim.spec	2003-12-08 23:01:01.000000000 +0100
+++ exim.spec.new	2003-12-08 23:01:00.000000000 +0100
@@ -1,10 +1,10 @@
-%define ExiscanVersion 12
+%define ExiscanVersion 14
 %define doc_version 4.20
 
 Summary: Exim is an full featured, secure and easy to configure MTA
 Name:    exim
-Version: 4.24
-Release: 6bg
+Version: 4.30
+Release: 3gd
 URL:     http://www.exim.org
 Source0: ftp://ftp.exim.org/pub/exim/exim4/exim-%{version}.tar.bz2
 Source1: exim.conf
@@ -12,9 +12,8 @@
 Source3: exim-4.24.MAKEFILE
 Source4: exim-sysconfig
 Source5: ftp://ftp.exim.org/pub/exim/exim4/exim-html-%{doc_version}.tar.bz2
-Patch0:  http://duncanthrax.net/exiscan-acl/exiscan-acl-%{version}-%{ExiscanVersion}.patch
-Patch1:  exim-4.24-ldap-debug.patch
-Patch2:  exim-4.24-dynamic-load.patch
+Patch0:  http://duncanthrax.net/exiscan-acl/exiscan-acl-%{version}-%{ExiscanVersion}.patch.bz2
+Patch1:  exim-4.30-dynamic-load.patch
 Group:   Network/Services
 License: GPL
 Requires: openssl >= 0.9.7
@@ -90,20 +89,14 @@
 %setup -q -a 5
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 
 %build
-if [ -z "`getent group %{group_name}`" ] ; then
-    /usr/sbin/groupadd -g %{group_id} %{group_name}
-fi
-if [ -z "`getent passwd %{user_name}`" ] ; then
-    /usr/sbin/useradd -M -d /var/spool/exim -g %{group_name} -s /bin/false \
-                      -u %{user_id} %{user_name}
-fi
 %{__mkdir_p} Local
 %{__cp} %{SOURCE3} Local/Makefile
 %{__make} makefile
+export EXIM_UID=%{user_id}
+export EXIM_GID=%{group_id}
 %{__make}
 
 
@@ -122,7 +115,8 @@
 
 %{__make} install INST_BIN_DIRECTORY=$RPM_BUILD_ROOT%{_sbindir} \
                   INST_INFO_DIRECTORY=$RPM_BUILD_ROOT/usr/local/info \
-                  INST_CONFIGURE_FILE=$RPM_BUILD_ROOT%{_sysconfdir}/exim/exim.conf
+                  INST_CONFIGURE_FILE=$RPM_BUILD_ROOT%{_sysconfdir}/exim/exim.conf \
+		  INSTALL_ARG="-no_chown"
 %{__ln_s} %{_sbindir}/exim         $RPM_BUILD_ROOT%{_sbindir}/sendmail
 %{__ln_s} %{_sbindir}/exim         $RPM_BUILD_ROOT%{_bindir}/sendmail
 %{__ln_s} %{_sbindir}/exim         $RPM_BUILD_ROOT%{_libdir}/sendmail
@@ -164,7 +158,7 @@
 
 %preun
 if [ "$1" = "0" ]; then
-    /sbin/services exim stop 2>&1
+    /sbin/service exim stop 2>&1
     /sbin/chkconfig --del exim
 fi
 
@@ -241,6 +235,19 @@
 
 
 %Changelog
+* Mon Dec  8 2003 Gerald Dachs <gda at trustix dot org> 4.30-3gd
+- new try to make build as non root user possible
+
+* Mon Dec  8 2003 Gerald Dachs <gda at trustix dot org> 4.30-2gd
+- cleaned up spec file
+- made build as non root user possible
+- fixed %preun script
+
+* Wed Nov 03 2003 Nico Erfurth <masta at trustix dot org> 4.30-1ne
+- New upstream version and exiscan-acl -14 added
+- Removed LDAP-fix
+- updated dynamic-loader patch
+
 * Wed Oct 29 2003 Goetz Bock <bg at tawie dot org> 4.24-6bg
 - made documentation dir readable
 


More information about the tsl-contrib-announce mailing list