Hello community, here is the log from the commit of package apache2 checked in at Mon Sep 3 18:22:42 CEST 2007. -------- --- apache2/apache2.changes 2007-08-31 12:38:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/apache2/apache2.changes 2007-09-03 13:44:32.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 3 13:43:22 CEST 2007 - skh@suse.de + +- get_module_list: replace loadmodule.conf atomically [bnc #214863] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache2.spec ++++++ --- /var/tmp/diff_new_pack.T10897/_old 2007-09-03 18:21:52.000000000 +0200 +++ /var/tmp/diff_new_pack.T10897/_new 2007-09-03 18:21:52.000000000 +0200 @@ -55,7 +55,7 @@ Group: Productivity/Networking/Web/Servers %define realver 2.2.4 Version: 2.2.4 -Release: 59 +Release: 61 #Source0: http://www.apache.org/dist/httpd-%{version}.tar.bz2 Source0: http://httpd.apache.org/dev/dist/httpd-%{realver}.tar.bz2 Source10: SUSE-NOTICE @@ -1060,6 +1060,8 @@ fi %changelog +* Mon Sep 03 2007 - skh@suse.de +- get_module_list: replace loadmodule.conf atomically [bnc #214863] * Fri Aug 31 2007 - poeml@suse.de - replace httpd-2.2.3-AddDirectoryIndexCharset.patch with the upstream solution, httpd-2.2.4-mod_autoindex-charset-r570962.patch [#153557] ++++++ get_module_list ++++++ --- apache2/get_module_list 2006-04-28 17:00:39.000000000 +0200 +++ /mounts/work_src_done/STABLE/apache2/get_module_list 2007-09-03 13:13:48.000000000 +0200 @@ -19,7 +19,13 @@ fi #echo -n writing sysconfig.d/loadmodule.conf -exec 3>$sysconfdir/sysconfig.d/loadmodule.conf +TMPFILE=`/bin/mktemp /tmp/$pname.XXXXXXXXXXXX` +if [ -z "$TMPFILE" ]; then + echo >&2 Error: could not create temporary file for writing loadmodules.conf. + exit 1 +fi + +exec 3>$TMPFILE echo >&3 "# # Files in this directory are created at apache start time by /usr/sbin/rc$pname # Do not edit them! @@ -98,6 +104,8 @@ done echo >&3 -e "#\n" exec 3<&- +chmod 644 $TMPFILE +mv $TMPFILE $sysconfdir/sysconfig.d/loadmodule.conf #echo -n ". " ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de