OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 29-Jul-2003 10:44:06 Branch: HEAD Handle: 2003072909440401 Modified files: openpkg-src/openpkg HISTORY openpkg.spec rpm.patch.bugfix openpkg-web news.txt Log: fixed nasty filedescriptor leakage in RPM on script execution Summary: Revision Changes Path 1.23 +1 -0 openpkg-src/openpkg/HISTORY 1.185 +1 -1 openpkg-src/openpkg/openpkg.spec 1.4 +16 -0 openpkg-src/openpkg/rpm.patch.bugfix 1.5892 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/openpkg/HISTORY ============================================================================ $ cvs diff -u -r1.22 -r1.23 HISTORY --- openpkg-src/openpkg/HISTORY 28 Jul 2003 19:00:47 -0000 1.22 +++ openpkg-src/openpkg/HISTORY 29 Jul 2003 08:44:05 -0000 1.23 @@ -2,6 +2,7 @@ 2003 ==== +20030729 fixed nasty filedescriptor leakage in RPM on script execution 20030728 upgraded to cURL 7.10.6 20030728 rc: stop processing 'start' and 'restart' scripts if .rpmsave files exists 20030727 rc: do not export TMPDIR at all, it causes problems for applications once the directory is gone @@ . patch -p0 <<'@@ .' Index: openpkg-src/openpkg/openpkg.spec ============================================================================ $ cvs diff -u -r1.184 -r1.185 openpkg.spec --- openpkg-src/openpkg/openpkg.spec 28 Jul 2003 19:00:48 -0000 1.184 +++ openpkg-src/openpkg/openpkg.spec 29 Jul 2003 08:44:05 -0000 1.185 @@ -39,7 +39,7 @@ # o any cc(1) # the package version/release -%define V_openpkg 20030728 +%define V_openpkg 20030729 # the used software versions %define V_rpm 4.0.2 @@ . patch -p0 <<'@@ .' Index: openpkg-src/openpkg/rpm.patch.bugfix ============================================================================ $ cvs diff -u -r1.3 -r1.4 rpm.patch.bugfix --- openpkg-src/openpkg/rpm.patch.bugfix 15 Jul 2003 10:08:26 -0000 1.3 +++ openpkg-src/openpkg/rpm.patch.bugfix 29 Jul 2003 08:44:05 -0000 1.4 @@ -109,3 +109,19 @@ break; default: break; ++--------------------------------------------------------------------------- +| Make sure that spawned childs (%xxxx scripts) do not have +| a *copy* of the STDOUT filedescriptor of the RPM caller open. ++--------------------------------------------------------------------------- +--- lib/uninstall.c.orig Mon Jan 22 16:59:13 2001 ++++ lib/uninstall.c Tue Jul 29 10:16:33 2003 +@@ -389,6 +389,9 @@ + Fclose (ts->scriptFd); + } + } ++ else { ++ Fclose(out); ++ } + + { const char *ipath = rpmExpand("PATH=%{_install_script_path}", NULL); + const char *path = SCRIPT_PATH; @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.5891 -r1.5892 news.txt --- openpkg-web/news.txt 29 Jul 2003 08:40:21 -0000 1.5891 +++ openpkg-web/news.txt 29 Jul 2003 08:44:04 -0000 1.5892 @@ -1,3 +1,4 @@ +29-Jul-2003: Upgraded package: P<openpkg-20030729-20030729> 29-Jul-2003: Upgraded package: P<pgadmin-0.8.0.20030729-20030729> 29-Jul-2003: Upgraded package: P<perl-xml-20030729-20030729> 29-Jul-2003: Upgraded package: P<perltidy-20030726-20030729> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]