OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 26-Oct-2006 21:51:25
Branch: HEAD Handle: 2006102620512301
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec rpmtool
Log:
fix number of CPU detection in rpmtool to support recent FreeBSDs &
NetBSDs
Summary:
Revision Changes Path
1.394 +1 -0 openpkg-src/openpkg/HISTORY
1.540 +1 -1 openpkg-src/openpkg/openpkg.spec
1.48 +2 -2 openpkg-src/openpkg/rpmtool
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.393 -r1.394 HISTORY
--- openpkg-src/openpkg/HISTORY 24 Oct 2006 08:36:29 -0000 1.393
+++ openpkg-src/openpkg/HISTORY 26 Oct 2006 19:51:23 -0000 1.394
@@ -2,6 +2,7 @@
2006
====
+20061026 fix number of CPU detection in rpmtool to support recent FreeBSDs &
NetBSDs
20061024 **** RELEASE AS PART OF OPENPKG 2.20061024 ***
20061024 try to workaround GNU tar build problems
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.539 -r1.540 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 24 Oct 2006 08:36:29 -0000 1.539
+++ openpkg-src/openpkg/openpkg.spec 26 Oct 2006 19:51:23 -0000 1.540
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20061024
+%define V_openpkg 20061026
# the used software versions
%define V_rpm 4.2.1
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpmtool
============================================================================
$ cvs diff -u -r1.47 -r1.48 rpmtool
--- openpkg-src/openpkg/rpmtool 13 May 2006 17:21:28 -0000 1.47
+++ openpkg-src/openpkg/rpmtool 26 Oct 2006 19:51:24 -0000 1.48
@@ -363,7 +363,7 @@
fi
fi
;;
- *:FreeBSD:[45].*:* )
+ *:FreeBSD:[4567].*:* )
n=`/sbin/sysctl hw.ncpu | awk '{ print $2; }'`
if [ ".$n" != . ]; then
if [ $n -gt 1 ]; then
@@ -375,7 +375,7 @@
fi
fi
;;
- *:NetBSD:1.[56]*:* )
+ *:NetBSD:1.[56]*:* | *:NetBSD:[234].*:* )
n=`/sbin/sysctl hw.ncpu | awk '{ print $3; }'`
if [ ".$n" != . ]; then
if [ $n -gt 1 ]; then
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]