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 Date: 14-Jan-2003 21:28:17
Branch: HEAD Handle: 2003011420281600
Modified files:
openpkg-src/openpkg README aux.wrapsrc.sh openpkg.boot
Log:
kick out remaining compress stuff, too -- we do not benefit from it at
all
Summary:
Revision Changes Path
1.13 +9 -10 openpkg-src/openpkg/README
1.4 +1 -23 openpkg-src/openpkg/aux.wrapsrc.sh
1.17 +1 -1 openpkg-src/openpkg/openpkg.boot
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/README
============================================================================
$ cvs diff -u -r1.12 -r1.13 README
--- openpkg-src/openpkg/README 9 Jan 2003 13:38:24 -0000 1.12
+++ openpkg-src/openpkg/README 14 Jan 2003 20:28:16 -0000 1.13
@@ -125,12 +125,11 @@
After this procedure, the build root contains the target filesystem
hierarchy with RPM installed with itself. What is now remaining is to
roll a bootstrap package with this stuff for initial installation. For
- this the build root is packed into a tarball, compressed, uuencoded,
- and finally wrapped into a self-extracting shell script. The result
- is the binary bootstrap script openpkg-X.X-X.YYYY-YYYYYYY-ZZ.sh
- which can be used to bootstrap the target hierarchy from
- scratch. If one later wants to upgrade this hierarchy one uses
- openpkg-X.X-X.YYYY-YYYYYYY-ZZ.rpm.
+ this the build root is packed into a tarball, uuencoded, and finally
+ wrapped into a self-extracting shell script. The result is the binary
+ bootstrap script openpkg-X.X-X.YYYY-YYYYYYY-ZZ.sh which can be used
+ to bootstrap the target hierarchy from scratch. If one later wants to
+ upgrade this hierarchy one uses openpkg-X.X-X.YYYY-YYYYYYY-ZZ.rpm.
To allow one to easily repeat this from-source bootstrapping procedure
on other machines, one can run "./openpkg.boot -s" which rolls a
@@ -146,10 +145,10 @@
_______ Supported ________
Operating System Still Official Already
----------------- -------- -------- --------
- FreeBSD 4.[0-4] 4.5 5.0-C
- Debian GNU/Linux - 2.2 3.0-pre
- RedHat Linux 7.[01] 7.2 -
- Solaris 2.[67] 2.8 2.9
+ FreeBSD 4.[0-6] 4.7 5.0
+ Debian GNU/Linux 2.2 3.0 -
+ RedHat Linux 7.[01] 7.2 8.0
+ Solaris 2.[678] 2.9 -
----------------- -------- -------- --------
NetBSD 1.5.[01] 1.5.2 -
OpenBSD - 2.9 -
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/aux.wrapsrc.sh
============================================================================
$ cvs diff -u -r1.3 -r1.4 aux.wrapsrc.sh
--- openpkg-src/openpkg/aux.wrapsrc.sh 30 Dec 2002 22:05:34 -0000 1.3
+++ openpkg-src/openpkg/aux.wrapsrc.sh 14 Jan 2003 20:28:16 -0000 1.4
@@ -74,34 +74,12 @@
cgrp="$cusr"
fi
-# determine uncompression tool
-uncompress=""
-for t in uncompress gunzip gzip; do
- for p in `IFS=":"; echo . $PATH /bin /sbin /usr/bin /usr/sbin`; do
- if [ -f "$p/$t" ]; then
- uncompress="$p/$t"
- if [ ".$t" = .gzip ]; then
- uncompress="$uncompress -d"
- fi
- break
- fi
- done
- if [ ".$uncompress" != . ]; then
- break
- fi
-done
-if [ ".$uncompress" = . ]; then
- echo "$0:FAILED: required uncompress, gunzip or gzip tool not found"
- exit 1
-fi
-
# extract the tarball
echo "$me: extracting to $dir..."
uudecode $me
rm -rf $dir >/dev/null 2>&1
mkdir $dir || exit 1
-$uncompress <$tgz |\
-(cd $dir; tar x${v}f - 2>/dev/null)
+cat $tgz | (cd $dir; tar x${v}f - 2>/dev/null)
if [ ".$cusr" = .root ]; then
( cd $dir
chown -R -h $cusr . >/dev/null 2>&1 || true
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.boot
============================================================================
$ cvs diff -u -r1.16 -r1.17 openpkg.boot
--- openpkg-src/openpkg/openpkg.boot 13 Jan 2003 14:09:23 -0000 1.16
+++ openpkg-src/openpkg/openpkg.boot 14 Jan 2003 20:28:16 -0000 1.17
@@ -142,7 +142,7 @@
rm -f $tmpdir/.sh
sed <$srcdir/aux.wrapsrc.sh >$pkgdir/$name-$version-$release.src.sh \
-e "s;@DIR@;$name-$version-$release.src;" -e
"s;@TGZ@;$name-$version-$release.src.tar.Z;"
- (cd $tmpdir && tar cf - *) | compress |\
+ (cd $tmpdir && tar cf - *) |\
uuencode $name-$version-$release.src.tar.Z |\
dd bs=64000 2>/dev/null >>$pkgdir/$name-$version-$release.src.sh
exit 0
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]