![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package checkinstall checked in at Tue Jul 8 16:30:36 CEST 2008. -------- --- checkinstall/checkinstall.changes 2007-09-21 20:40:44.000000000 +0200 +++ checkinstall/checkinstall.changes 2008-07-03 13:29:22.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jul 3 13:28:03 CEST 2008 - pth@suse.de + +- Fix tmp race (bnc#404478) + +------------------------------------------------------------------- New: ---- checkinstall-installwatch_use_mktemp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ checkinstall.spec ++++++ --- /var/tmp/diff_new_pack.s31006/_old 2008-07-08 16:26:56.000000000 +0200 +++ /var/tmp/diff_new_pack.s31006/_new 2008-07-08 16:26:56.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package checkinstall (Version 1.6.1) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,10 +10,11 @@ # needsrootforbuild + Name: checkinstall Summary: "make install" Installation Tracker Version: 1.6.1 -Release: 35 +Release: 76 License: GPL v2 or later Group: Development/Tools/Building Url: http://asic-linux.com.mx/~izto/checkinstall/ @@ -31,6 +32,7 @@ Patch14: checkinstall-1.6.1-translations.patch Patch15: checkinstall-install_paths.patch Patch16: checkinstall-test_with_DESTDIR.patch +Patch17: checkinstall-installwatch_use_mktemp.patch Provides: installwatch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,12 +62,15 @@ %patch14 %patch15 %patch16 +%patch17 cp -t . %{S:1} %{S:2} rm -f checkinstall checkinstallrc-dist rename -no -nb locale/*.po %build make CFLAGS="%{optflags}" + +%check cd installwatch-* make CFLAGS="%{optflags}" PREFIX=%{_prefix} LIBDIR=%{_libdir} DESTDIR=%{buildroot} test @@ -73,6 +78,7 @@ make CFLAGS="%{optflags}" DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_prefix}/%_lib install chmod 555 %{buildroot}%{_sbindir}/checkinstall chown root:root %{buildroot}%{_sbindir}/checkinstall +chmod ugo-x %{buildroot}%{_sysconfdir}/checkinstallrc %{find_lang} %{name} %files -f %{name}.lang @@ -86,10 +92,13 @@ %docdir /usr/share/doc/packages/checkinstall /usr/share/locale/es/LC_MESSAGES/checkinstall.mo %doc doc-pak/* + %changelog -* Fri Sep 14 2007 - bk@suse.de +* Thu Jul 03 2008 pth@suse.de +- Fix tmp race (bnc#404478) +* Fri Sep 14 2007 bk@suse.de - Trivial: rpm does not allow "-" in version, skip them in proposal -* Thu Mar 29 2007 - pth@suse.de +* Thu Mar 29 2007 pth@suse.de - Update to 1.6.1: - Fixed the famous getcwd() bug - Added translations for Indonesianj, Italian, Norwegian, German, @@ -98,81 +107,81 @@ - Substitute paths in checkinstallrc-dist and checkinstll as configured for building. - Make test work when DESTDIR is used. -* Mon Feb 12 2007 - ro@suse.de +* Mon Feb 12 2007 ro@suse.de - build as root for now -* Thu Apr 06 2006 - ro@suse.de +* Thu Apr 06 2006 ro@suse.de - use ssize_t as return type for readlink as in glibc -* Fri Mar 24 2006 - ro@suse.de +* Fri Mar 24 2006 ro@suse.de - fix build on s390x -* Wed Mar 01 2006 - bk@suse.de +* Wed Mar 01 2006 bk@suse.de - Fix package version proposal when retrieved from config.log -* Fri Feb 10 2006 - bk@suse.de +* Fri Feb 10 2006 bk@suse.de - Fix avoid_buildroot_symlink.patch to set buildroot directory -* Thu Feb 09 2006 - pth@suse.de +* Thu Feb 09 2006 pth@suse.de - Update to 1.6.0. - Remove now obsolete patches. -* Thu Feb 02 2006 - seife@suse.de +* Thu Feb 02 2006 seife@suse.de - fix the "installed but unpackaged files found" error -* Wed Feb 01 2006 - pth@suse.de +* Wed Feb 01 2006 pth@suse.de - Use tag License instead of Copyright - Create correct %%files sections - Omit erroneous leading comma in Requires: -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Nov 07 2005 - pth@suse.de +* Mon Nov 07 2005 pth@suse.de - Fix _all_ cases where /usr/lib was hard-coded. -* Mon Nov 07 2005 - pth@suse.de +* Mon Nov 07 2005 pth@suse.de - Preload library from /usr/lib64 on biarch systems (fixes #132348) -* Wed Oct 19 2005 - pth@suse.de +* Wed Oct 19 2005 pth@suse.de - Installwatch can't be compiled with _FORTIFY_SOURCE, so undefine it -* Fri Jul 29 2005 - seife@suse.de +* Fri Jul 29 2005 seife@suse.de - fix the corrupted display after installation -* Thu Jul 28 2005 - seife@suse.de +* Thu Jul 28 2005 seife@suse.de - fix path /usr/local/bin => /usr/bin -* Tue Jun 28 2005 - pth@suse.de +* Tue Jun 28 2005 pth@suse.de - Update to 1.6.0beta4 - Use buildroot - Use DESTDIR - make it possible to pass in compiler flags -* Thu Apr 01 2004 - bk@suse.de +* Thu Apr 01 2004 bk@suse.de - change checkinstallrc to assume a recent rpm-based distribution, (if you don't pass -R, the group is not set and rpm build fails) -* Mon Mar 22 2004 - uli@suse.de +* Mon Mar 22 2004 uli@suse.de - installwatch.c: in multithreaded apps _init() seems not to be called when a new thread is started -> segfault; worked around by checking for sane func ptrs in every function using them - update -> 1.6.0beta3 -* Mon Sep 01 2003 - uli@suse.de +* Mon Sep 01 2003 uli@suse.de - call installwatch with translation off (broken) - replace /usr/doc with /usr/share/doc/packages as default doc path -* Wed Jul 30 2003 - aj@suse.de +* Wed Jul 30 2003 aj@suse.de - Fix chown usage. -* Tue Jul 29 2003 - uli@suse.de +* Tue Jul 29 2003 uli@suse.de - update -> 1.6.0beta2 (works with RPMv4) -* Wed Dec 11 2002 - bk@suse.de +* Wed Dec 11 2002 bk@suse.de - disable old workarounds for s390/ppc glibc problems in 2.2.4/2.2.5 (fixed with UL 2.2.5 CVS glibc), set LC_ALL to trigger it in case the bug shows up again. -* Fri Aug 30 2002 - meissner@suse.de +* Fri Aug 30 2002 meissner@suse.de - make sure the *64 functions are prototyped, or we get ftruncate64() creating terabyte files. -* Fri Jun 21 2002 - bk@suse.de +* Fri Jun 21 2002 bk@suse.de - update to checkinstall 1.5.2 -* Fri May 31 2002 - ro@suse.de +* Fri May 31 2002 ro@suse.de - fix build on lib64 platforms -* Mon Jan 21 2002 - bk@suse.de +* Mon Jan 21 2002 bk@suse.de - update to checkinstall 1.5.1, installwatch 0.6.3 -* Fri Dec 07 2001 - bk@suse.de +* Fri Dec 07 2001 bk@suse.de - cure some problems of the release on s390/ppc and enable test suite -* Mon Dec 03 2001 - bk@suse.de +* Mon Dec 03 2001 bk@suse.de - update to version 1.5.0 release - fixes some file descriptor leaks -* Thu Nov 08 2001 - bk@suse.de +* Thu Nov 08 2001 bk@suse.de - update to version 1.5.0beta2 - great updates, e.g. syscall trace -* Tue Oct 30 2001 - bk@suse.de +* Tue Oct 30 2001 bk@suse.de - fix execute permissions of checkinstall script -* Tue Aug 07 2001 - bk@suse.de +* Tue Aug 07 2001 bk@suse.de - update to version 1.4.1 -* Sun Apr 15 2001 - bk@suse.de +* Sun Apr 15 2001 bk@suse.de - update to version 1.3.1 -* Sun Mar 04 2001 - bk@suse.de +* Sun Mar 04 2001 bk@suse.de - initial package ++++++ checkinstall-installwatch_use_mktemp.patch ++++++ --- installwatch-0.7.0beta5/installwatch +++ installwatch-0.7.0beta5/installwatch @@ -82,32 +82,8 @@ function make_temp { local mkt_refdir=$1 - local mkt_wrkdir="" + local mkt_wrkdir=`mktemp -q -d -p ${BASE_TMP_DIR}` - mkt_wrkdir=${BASE_TMP_DIR}/\ -`awk 'BEGIN {\ - srand();\ - for (i=1;i<21;i++) {\ - a=95;\ - while (a > 90 && a < 97) {\ - a=65+int(50*rand())\ - };\ - printf("%c", a) \ - }\ -}'` - - [ -e "${mkt_wrkdir}" ] && rm -rf ${mkt_wrkdir} - if [ -e "${mkt_wrkdir}" ]; then - echo - echo "Error : My temp dir exists already. This looks like a symlink attack!" - echo - echo "*** Aborting ***" - echo - exit 1 - fi - - mkdir ${mkt_wrkdir} - chmod 0700 ${mkt_wrkdir} eval $mkt_refdir=\$mkt_wrkdir } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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