Browse Source

Mathieu <tenfingers@ifrance.com>:

really adds support for .Z files (tested this time, thx to dcc package)
it uses the fortunate support of .Z files by gunzip
it also fixes the dcc package


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1411 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Mathieu 21 years ago
parent
commit
0c410174e3
7 changed files with 9 additions and 20 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +0
    -12
      package/sirkull/dcc/dcc.conf
  3. +2
    -2
      package/sirkull/dcc/dcc.desc
  4. +1
    -1
      scripts/Build-Pkg
  5. +1
    -1
      scripts/Create-CkSumPatch
  6. +2
    -2
      scripts/Download
  7. +2
    -2
      scripts/functions

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -5,6 +5,7 @@
- improved the exim package to honor prefix, made it jail-able
- improvements and some tiny clenups in misc/jailing
- the stone isntall module now lists the guessed partition content
- Mathieu: (real) support for .Z files, fix for dcc
*) 2003-09-14 (2.0.0-rc1 - 2.0.0-rc2)

+ 0
- 12
package/sirkull/dcc/dcc.conf

@ -24,15 +24,3 @@ if [ $prefix_auto = 1 ] ; then
prefix="opt/dcc"
set_confopt
fi
dcc_custmain() {
tar zxf $archdir/dcc-dccd-$ver.tar.Z
cd dcc-dccd-$ver
./configure $confopt
$MAKE
$MAKE install
}
autoextract=0
custmain="dcc_custmain"

+ 2
- 2
package/sirkull/dcc/dcc.desc

@ -38,8 +38,8 @@
[L] BSD
[S] Stable
[V] 1.2.1
[V] 1.2.6
[P] X -----5---9 238.000
[D] 1814987215 dcc-dccd-1.2.1.tar.Z http://www.rhyolite.com/anti-spam/dcc/source/
[D] 3398545870 dcc-dccd-1.2.6.tar.Z http://www.rhyolite.com/anti-spam/dcc/source/

+ 1
- 1
scripts/Build-Pkg

@ -642,7 +642,7 @@ abort() {
(
set -e
for xsrctar in $( echo "$desc_D" | tr ' ' '\t' | \
tr -s '\t' | cut -f2 | sed 's,.\(t\?\)gz$,.\1bz2,' )
tr -s '\t' | cut -f2 | sed 's,.\(t\?\)\(gz\|Z\)$,.\1bz2,' )
do
if [ ! -f $archdir/$xsrctar ]; then
echo "File not found: ${archdir#$base/}/$xsrctar"

+ 1
- 1
scripts/Create-CkSumPatch

@ -48,7 +48,7 @@ echo -n > cksum.patch
./scripts/Download -list-cksums | grep '^00* ' | \
while read cksum gzfile ; do
bzfile="`echo "$gzfile" | sed 's,\.\(t\?\)gz$,.\1bz2,'`"
bzfile="`echo "$gzfile" | sed 's,\.\(t\?\)\(gz\|Z\)$,.\1bz2,'`"
if [ -f "$bzfile" ]
then

+ 2
- 2
scripts/Download

@ -265,7 +265,7 @@ download_file() {
# Make src directory for creating tar balls
mkdir -p src/
# Tar ball file name:
bzfile="`echo "$gzfile" | sed 's,\.\(t\?\)gz$,.\1bz2,'`"
bzfile="`echo "$gzfile" | sed 's,\.\(t\?\)\(gz\|Z\)$,.\1bz2,'`"
# Lock file name:
lkfile="src/down.lockfile.`echo $bzfile | tr / -`"
@ -534,7 +534,7 @@ download_file() {
# Convert a .gz to .bz2 and test checksum
#
if [ "$gzfile" != "$bzfile" ] ; then
echo "gzip->bzip2 + cksum-test: $gzfile"
echo "bzip'ing + cksum-test: $gzfile"
gunzip < "$gzfile" > src/down.$$.dat
if cksum_chk src/down.$$.dat $cksum "$gzfile" ; then
bzip2 < src/down.$$.dat > "$bzfile" ; rm -f "$gzfile"

+ 2
- 2
scripts/functions

@ -448,7 +448,7 @@ build_this_package() {
#
if [ $srctar = auto ] ; then
xsourceballs=$( echo "$desc_D" | head -1 | tr ' ' '\t' | tr -s '\t' | \
cut -f2 | sed 's,.\(t\?\)gz$,.\1bz2,' )
cut -f2 | sed 's,.\(t\?\)\(gz\|Z\)$,.\1bz2,' )
if [ -z "$xsourceballs" ] ; then
echo "Can't auto-detect srctar for package '$pkg'!"
false
@ -458,7 +458,7 @@ build_this_package() {
fi
else
sourceballs=$( echo "$desc_D" | tr ' ' '\t' | tr -s '\t' | \
cut -f2 | sed 's,.\(t\?\)gz$,.\1bz2,' )
cut -f2 | sed 's,.\(t\?\)\(gz\|Z\)$,.\1bz2,' )
xsrcpattern=$( echo "$desc_SRC" | tr ' ' '\t' | tr -s '\t' | tr '\t' '\n' )
xsourceballs=$( echo "$sourceballs" | grep -F "$xsrcpattern" )
fi

Loading…
Cancel
Save