OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 17-Jul-2007 12:36:11
Branch: HEAD Handle: 2007071711361000
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec rpm.patch.feature
Log:
during porting the OpenPKG patch set to our new rpm5.org code base I
stumbled over a very cruel bug in the implementation of the platform
detection. I'm more than surprised this central bug has not caused
horribly segfaults for years...
Summary:
Revision Changes Path
1.470 +1 -0 openpkg-src/openpkg/HISTORY
1.605 +1 -1 openpkg-src/openpkg/openpkg.spec
1.66 +5 -5 openpkg-src/openpkg/rpm.patch.feature
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.469 -r1.470 HISTORY
--- openpkg-src/openpkg/HISTORY 11 Jul 2007 05:49:29 -0000 1.469
+++ openpkg-src/openpkg/HISTORY 17 Jul 2007 10:36:10 -0000 1.470
@@ -2,6 +2,7 @@
2007
====
+20070717 fix a very long-standing cruel implementation bug in the platform
detection
20070711 upgrade to cURL 7.16.4
20070630 upgrade to GNU tar 1.18
20070625 upgrade to cURL 7.16.3
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.604 -r1.605 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 11 Jul 2007 05:49:30 -0000 1.604
+++ openpkg-src/openpkg/openpkg.spec 17 Jul 2007 10:36:10 -0000 1.605
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20070711
+%define V_openpkg 20070717
# the used software versions
%define V_rpm 4.2.1
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpm.patch.feature
============================================================================
$ cvs diff -u -r1.65 -r1.66 rpm.patch.feature
--- openpkg-src/openpkg/rpm.patch.feature 1 Jan 2007 17:40:19 -0000
1.65
+++ openpkg-src/openpkg/rpm.patch.feature 17 Jul 2007 10:36:10 -0000
1.66
@@ -1105,11 +1105,11 @@
+ /* utsname fields on some platforms (like HP-UX) are very small
+ (about 8 characters). This is too small for OpenPKG, so cheat! */
+ static struct {
-+ char *sysname[32];
-+ char *nodename[32];
-+ char *release[32];
-+ char *version[32];
-+ char *machine[32];
++ char sysname[32];
++ char nodename[32];
++ char release[32];
++ char version[32];
++ char machine[32];
+ } un;
+#else
static struct utsname un;
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]