Browse Source

* relocated current package database to the trunk of the package sub-project

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20072 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
commit
12b79fecfa
  1. 39
      alpha/aboot/aboot.desc
  2. 76
      alpha/aboot/aboot.setup
  3. 20
      archiver/7zip/7zip.cache
  4. 21
      archiver/7zip/7zip.conf
  5. 40
      archiver/7zip/7zip.desc
  6. 27
      archiver/7zip/install.patch
  7. 19
      archiver/afio/afio.cache
  8. 34
      archiver/afio/afio.desc
  9. 28
      archiver/afio/install.patch
  10. 19
      archiver/alien/alien.cache
  11. 41
      archiver/alien/alien.desc
  12. 15
      archiver/bize/bize.cache
  13. 28
      archiver/bize/bize.conf
  14. 32
      archiver/bize/bize.desc
  15. 92
      archiver/bize/bize.man
  16. 179
      archiver/bize/bize.sh
  17. 18
      archiver/bzip2/bzip2.cache
  18. 29
      archiver/bzip2/bzip2.conf
  19. 43
      archiver/bzip2/bzip2.desc
  20. 27
      archiver/bzip2/fix_shared.patch
  21. 125
      archiver/bzip2/makefile.patch
  22. 23
      archiver/cabextract/cabextract.cache
  23. 38
      archiver/cabextract/cabextract.desc
  24. 26
      archiver/cpio/cpio.cache
  25. 15
      archiver/cpio/cpio.conf
  26. 41
      archiver/cpio/cpio.desc
  27. 46
      archiver/cpio/lstat.patch
  28. 27
      archiver/cpio/no-mt-man.patch
  29. 29
      archiver/cpio/no_rmt.patch
  30. 28
      archiver/dpkg/dpkg.cache
  31. 22
      archiver/dpkg/dpkg.conf
  32. 44
      archiver/dpkg/dpkg.desc
  33. 16
      archiver/flexbackup/flexbackup.cache
  34. 32
      archiver/flexbackup/flexbackup.desc
  35. 295
      archiver/gzip/gzip-1.3-rsync.patch
  36. 31
      archiver/gzip/gzip-1.3.3-window-size.patch
  37. 25
      archiver/gzip/gzip.cache
  38. 32
      archiver/gzip/gzip.conf
  39. 42
      archiver/gzip/gzip.desc
  40. 29
      archiver/libmspack/libmspack.cache
  41. 43
      archiver/libmspack/libmspack.desc
  42. 23
      archiver/libtar/libtar.cache
  43. 32
      archiver/libtar/libtar.desc
  44. 18
      archiver/lxsplit/lxsplit.cache
  45. 17
      archiver/lxsplit/lxsplit.conf
  46. 33
      archiver/lxsplit/lxsplit.desc
  47. 19
      archiver/lzma/lzma.cache
  48. 41
      archiver/lzma/lzma.desc
  49. 23
      archiver/lzo/lzo.cache
  50. 41
      archiver/lzo/lzo.desc
  51. 24
      archiver/lzop/lzop.cache
  52. 20
      archiver/lzop/lzop.conf
  53. 33
      archiver/lzop/lzop.desc
  54. 333
      archiver/mine/any-archiver.patch
  55. 146
      archiver/mine/gasgui-any-archiver.patch
  56. 25
      archiver/mine/install_static.patch
  57. 25
      archiver/mine/mine.cache
  58. 32
      archiver/mine/mine.conf
  59. 36
      archiver/mine/mine.desc
  60. 32
      archiver/mine/ncurses.patch
  61. 53
      archiver/mine/net-install.patch
  62. 51
      archiver/mine/sanitize-retry-skip.patch
  63. 29
      archiver/ncompress/CVE-2006-1168.patch
  64. 42
      archiver/ncompress/config.patch
  65. 49
      archiver/ncompress/gcc34.patch
  66. 20
      archiver/ncompress/ncompress.cache
  67. 26
      archiver/ncompress/ncompress.conf
  68. 36
      archiver/ncompress/ncompress.desc
  69. 37
      archiver/partimage/hotfix-fs_xfs-__u64.patch
  70. 36
      archiver/partimage/partimage.cache
  71. 21
      archiver/partimage/partimage.conf
  72. 37
      archiver/partimage/partimage.desc
  73. 33
      archiver/partimage/partimage.init
  74. 17
      archiver/partimage/postsysfiles.in
  75. 27
      archiver/rpm/configdir-fix.patch
  76. 37
      archiver/rpm/gcc34.patch
  77. 38
      archiver/rpm/no_install_beecrypt.patch
  78. 28
      archiver/rpm/no_install_libelf.patch
  79. 29
      archiver/rpm/no_install_popt.patch
  80. 54
      archiver/rpm/no_src_redhat.patch
  81. 221
      archiver/rpm/python24.patch
  82. 35
      archiver/rpm/rpm.cache
  83. 25
      archiver/rpm/rpm.conf
  84. 36
      archiver/rpm/rpm.desc
  85. 20
      archiver/rzip/rzip.cache
  86. 35
      archiver/rzip/rzip.desc
  87. 26
      archiver/taper/install_man.patch
  88. 21
      archiver/taper/taper.cache
  89. 41
      archiver/taper/taper.desc
  90. 29
      archiver/tar/compar_does_not_need_fd.h.patch
  91. 25
      archiver/tar/fix_getdate_c.patch
  92. 356
      archiver/tar/tar-1.13.18-manpage.patch
  93. 59
      archiver/tar/tar-bzip2.patch
  94. 25
      archiver/tar/tar.cache
  95. 25
      archiver/tar/tar.conf
  96. 38
      archiver/tar/tar.desc
  97. 24
      archiver/tnef/tnef.cache
  98. 38
      archiver/tnef/tnef.desc
  99. 22
      archiver/ucl/ucl.cache
  100. 39
      archiver/ucl/ucl.desc
  101. Some files were not shown because too many files have changed in this diff Show More

39
alpha/aboot/aboot.desc

@ -0,0 +1,39 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../aboot/aboot.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] Bootloader for the Alpha architecture
[T] Aboot is the Linux bootloader for Alpha systems using the SRM console.
[T] This package also includes the utilities isomarkboot, swriteboot and
[T] sdisklabel.
[T] It is based on the standard Linux/Alpha bootloader, with extensions by
[T] David Mosberger and Michael Schwingen (prompt for arguments, kernel argument
[T] mapping using /etc/aboot.conf file).
[A] Will Woods <will.woods@compaq.com>
[U] http://sourceforge.net/projects/aboot/
[M] Miguel A. Bolaños <miguel@msdnetworks.com>
[C] base/boot
[R] + alpha
[L] GPL
[S] Stable
[P] X -----5---9 202.000
[V] 0.9b
[D] 2514910035 aboot-0.9b.tar.bz2 http://dl.sourceforge.net/sourceforge/aboot/

76
alpha/aboot/aboot.setup

@ -0,0 +1,76 @@
#!/bin/sh
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../aboot/aboot.setup
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
#
# ROCK Linux: /etc/setup.d/10-aboot
#
# Read /etc/setup.d/00-general for details about ROCK Linux setup scripts.
#
case "$1" in
setup)
;;
[a-z]*)
exit 0 ;;
*)
echo "Usage: $0 setup" ; exit 1 ;;
esac
echo -n 'WARNING: This script is for testing purposes only! No guarantee of correct work!\n\n'
echo -n 'YOU HAVE BEEN WARNED!!!\n\n'
echo -n 'Would you like to run the aboot setup script now? (YES/no) '
read in ; [[ "$in" == [nN]* ]] && exit 0 ; unset in
echo -e '\n==> ABOOT configuration <=='
echo -n 'Would you like me to create a /etc/aboot.conf file? (YES/no) '
read in
case "$in" in
[nN]*) echo ; exit ;;
*)
rootdev="`grep '^/dev/.* / ' /etc/mtab | tr ' ' '\t' | cut -f1`"
bootdev="`grep '^/dev/.* /boot ' /etc/mtab | tr ' ' '\t' | cut -f1`"
# check, ob rootdev != bootdev
if [ $rootdev != $bootdev ] ; then
notice="# NOTICE: You have a /boot partition. This means\
that\n# all kernel paths are relative to /boot/"
kernelpath="1:`echo -e $bootdev | sed 's/.*part//;'`/vmlinux"
fi
echo
{ echo -e '# aboot configuration file'
echo -e $notice'\n'
echo -e $kernelpath' root='$rootdev'\n'
} | tee /etc/aboot.conf.test | sed 's,^,> ,'
esac
echo -n 'Would you like me to install ABOOT now in the MBR? (YES/no) '
read in ; echo
case "$in" in
[nN]*) ;;
*)
bootdisc=`echo -e $bootdev | sed 's/part[0-9]$//;'`"disc"
switeboot -c`echo -e $bootdev | sed 's/.*part//;'` $bootdisc bootlx
abootconf $bootdisc
;;
esac

20
archiver/7zip/7zip.cache

@ -0,0 +1,20 @@
[TIMESTAMP] 1133882794 Tue Dec 6 16:26:34 2005
[BUILDTIME] 15 (9)
[SIZE] 1.04 MB, 13 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

21
archiver/7zip/7zip.conf

@ -0,0 +1,21 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../7zip/7zip.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
# 7zip does internally use CXX and co - thus we must not predefine it ...
makeopt="DEST_BIN=$root/$bindir DEST_SHARE=$root/$libdir/p7zip \
DEST_MAN=$root/$mandir"
makeinstopt="$makeopt install"
hook_add preconf 3 'mv makefile.{linux_x86_ppc_alpha,machine}'

40
archiver/7zip/7zip.desc

@ -0,0 +1,40 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../7zip/7zip.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A file compression utility
[T] 7z is the new archive format, providing high compression ratio, an open
[T] architecture, strong AES-256 encryption, ability of using any compression,
[T] conversion or encryption method, support for files with sizes up to
[T] 16000000000 GB, unicode file names, solid compression and archive headers
[T] compression.
[U] http://www.7-zip.org/
[U] http://p7zip.sourceforge.net/
[A] <myspace@users.sourceforge.net>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] LGPL
[S] Stable
[V] 4.43
[P] X -----5---9 108.600
[CV-PAT] p7zip_[0-9]*
[D] 3597178694 p7zip_4.43_src_all.tar.bz2 http://dl.sourceforge.net/sourceforge/p7zip/

27
archiver/7zip/install.patch

@ -0,0 +1,27 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../7zip/install.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- p7zip_4.18/install.sh.orig 2005-04-26 20:15:53.000000000 +0200
+++ p7zip_4.18/install.sh 2005-05-12 23:32:31.000000000 +0200
@@ -1,7 +1,7 @@
#! /bin/sh
# global install
-DEST_HOME=/usr/local
+DEST_HOME=/usr
# for testing
#DEST_HOME=${HOME}/INSTALL/usr/local
DEST_BIN=${DEST_HOME}/bin

19
archiver/afio/afio.cache

@ -0,0 +1,19 @@
[TIMESTAMP] 1133885378 Tue Dec 6 17:09:38 2005
[BUILDTIME] 5 (9)
[SIZE] 0.17 MB, 15 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

34
archiver/afio/afio.desc

@ -0,0 +1,34 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../afio/afio.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A cpio replacement with built-in compression
[T] Archiver & backup program with builtin compression. Afio makes cpio-
[T] format archives. Afio can make compressed archives that are much
[T] safer than compressed tar or cpio archives. Afio is best used as an
[T] `archive engine' in a backup script.
[A] Koen Holtman <koen@hep.caltech.edu>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] GPL
[S] Stable
[V] 2.5
[P] X -----5---9 109.600
[D] 3970381068 afio-2.5.tgz http://members.brabant.chello.nl/~k.holtman/

28
archiver/afio/install.patch

@ -0,0 +1,28 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../afio/install.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- afio-2.5/Makefile.vanilla 2003-12-21 11:23:51.000000000 +0100
+++ afio-2.5/Makefile 2005-08-09 17:58:47.000000000 +0200
@@ -88,8 +88,8 @@
cd regtest; /bin/sh regtest.clean
install: afio
- cp afio /usr/local/bin
- cp afio.1 /usr/share/man/man1
+ cp afio /usr/bin
+ cp afio.1 /usr/man/man1
# generate default list of -E extensions from manpage
# note: on sun, I had to change awk command below to nawk or gawk

19
archiver/alien/alien.cache

@ -0,0 +1,19 @@
[TIMESTAMP] 1133888953 Tue Dec 6 18:09:13 2005
[BUILDTIME] 5 (9)
[SIZE] 0.21 MB, 42 files
[DEP] bash
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] gzip
[DEP] make
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] tar

41
archiver/alien/alien.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../alien/alien.desc
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A package converter
[T] Alien is a program that converts between the rpm, dpkg, stampede slp,
[T] and slackware tgz file formats. If you want to use a package from
[T] another distribution than the one you have installed on your system, you
[T] can use alien to convert it to your preferred package format and install
[T] it.
[U] http://kitenet.net/~joey/code/alien.html
[A] Joey Hess <joeyh@debian.org>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/development
[L] GPL
[S] Stable
[V] 8.65
[P] X -----5---9 111.300
[O] var_append plconfopt ' ' "PREFIX=$root/$prefix"
[D] 1768726148 alien_8.65.tar.gz http://ftp.debian.org/debian/pool/main/a/alien/

15
archiver/bize/bize.cache

@ -0,0 +1,15 @@
[TIMESTAMP] 1133943004 Wed Dec 7 09:10:04 2005
[BUILDTIME] 5 (9)
[SIZE] 0.02 MB, 8 files
[DEP] 00-dirtree
[DEP] bash
[DEP] coreutils
[DEP] diffutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] sed
[DEP] sysfiles

28
archiver/bize/bize.conf

@ -0,0 +1,28 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../bize/bize.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
prefix=''
set_confopt
bize_install() {
install -m 0755 -o 0 -g 0 $confdir/bize.sh $root/$bindir/bize
install -m 0644 -o 0 -g 0 $confdir/bize.man $root/$mandir/man8/bize.8
}
srctar=none
makeopt=
makeinstopt=
hook_add postmake 5 'bize_install'

32
archiver/bize/bize.desc

@ -0,0 +1,32 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../bize/bize.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] ROCK-Linux .tar.bz2 package manager
[T] The tool 'bize' is used to install, update and remove ROCK-Linux
[T] .tar.bz2 packages.
[A] Dimitar Zhekov <jimmy@is-vn.bg>
[M] The OpenSDE Community <list@opensde.org>
[C] base/setup
[L] GPL
[S] Stable
[V] 0.7
[P] X -1---5---9 114.400

92
archiver/bize/bize.man

@ -0,0 +1,92 @@
.\" Copyright (c) 2004 Dimitar Toshkov Zhekov
.TH BIZE 8 "15 Mar 2004"
.SH NAME
bize \- ROCK-Linux .tar.bz2 package manager
.SH SYNOPSIS
.BI "bize -i [-t] [-v] [-f] [-R " root "] " package1.tar.bz2
.BI ...
.LP
.BI "bize -r [-t] [-v] [-f] [-R " root "] " package1 " ..."
.SH DESCRIPTION
.B bize
is a shell script capable of installing, updating and removing
ROCK-Linux .tar.bz2 package files. It implements a subset of
.B mine
options.
.SS Requirements
.BR which " (or " type "), " sort ", " rm ", " rmdir ", "
.BR mkdir ", " tar " and " bzip2 ", and also " md5sum ", "
unless
.B "\-f"
is specified.
All these are standard programs present in any Linux system, but
.B bize
checks for them on startup anyway.
.PP
The operating system must be able to remove files being in use.
All Linux systems have this ability.
.SS Compatibility
The .tar.bz2 and .gem formats are not compatible. Packages
installed with
.B bize
can be removed with
.B mine
and vice-versa.
.B bize
has not been tested with ROCK-Linux 1.6 or earlier. Some of the
ROCK-Linux 1.7.0+ targets produce .tar.bz2 packages only.
.SS Effectiveness
.B bize
installs packages slightly faster than
.BR "mine "
and removes them about 25% faster (but see
.BR BUGS).
More time is usually required to remove a package than to install
it, so
.B bize
is, overall, about 15% faster than
.BR mine .
Needless to say, your mileage may vary.
.PP
The .tar.bz2 packages are a bit smaller than the .gem packages and
are created a bit faster.
.SH OPTIONS
.TP
.B "\-i"
Install or update packages.
.TP
.B "\-r"
Remove packages.
.TP
.B "\-t"
Test mode. Show what will happen without doing it.
.TP
.B "\-v"
Be verbose.
.TP
.B "\-f"
Force removal/replacement of the modified files.
.TP
.BI "\-r " root
Use
.I root
as root directory instead of
.BR / .
.TP
.B "\-\-"
Terminate the option list.
.SH BUGS
.B bize
will try to compute md5sum for any file with an md5sum entry,
even for devices and pipes. A normally built and installed ROCK-
Linux package includes md5sum entries for the regular files only.
.PP
.B bize
doesn't make backups, because I don't like them (of course, any
modified files are preserved unless
.B "\-f"
is specified).
.B mine
makes backups, so this is listed as a bug.
.SH SEE ALSO
GEM-MINE

179
archiver/bize/bize.sh

@ -0,0 +1,179 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../bize/bize.sh
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
bize_usage()
{
echo "usage: bize -i [-t] [-v] [-f] [-R root] package1.tar.bz2 ..." 1>&2
echo " bize -r [-t] [-v] [-f] [-R root] package1 ..." 1>&2
}
bize_remove()
{
local line base tag md5s="$adm/md5sums/$pkg"
if [ "$keep" ] ; then
if [ ! -f "$md5s" ] ; then
echo "$0: $md5s: no such file, skipping remove" 1>&2
return
fi
(cd "$root/" && md5sum -c "var/adm/md5sums/$pkg" 2> /dev/null) |
while read line ; do
base="${line%: *}"
stat="${line##*: }"
file="$root/$base"
if [ -z "$base" -o -z "$stat" ] ; then
echo "$0: invalid md5sum output '$line'" 1>&2
elif [ -f "$file" -a ! -L "$file" ] ; then
if [ "$stat" = OK ] ; then
$unlink "$file"
elif [ "$stat" != FAILED ] ; then
echo "$0: $file: $stat"
elif [ "$test" ] ; then
echo "$0: $file: modified, skipping"
fi
fi
done
fi
sort -r "$list" | while read tag base ; do
file="$root/$base"
if [ "$tag" != "$pkg:" ] ; then
echo "$0: invalid tag '$tag' in $list" 1>&2
elif [ -z "$base" ] ; then
echo "$0: missing file name in $list" 1>&2
elif [ -L "$file" ] ; then
$unlink "$file"
elif [ -d "$file" ] ; then
$test rmdir $voption "$file"
elif [ "${base#var/adm/}" != "$base" -a -f "$file" ] ; then
$unlink "$file"
elif [ "$keep" -a -f "$file" ] ; then
[ "$test" ] || echo "$0: $file: modified, skipping"
else
$unlink "$file"
fi
done
}
bize_install()
{
if [ ! -f "$arch" ] ; then
echo "$0: $arch: no such file, skipping install" 1>&2
return
fi
pkg="${arch%.tar.bz2}"
if [ "$arch" = "$pkg" ] ; then
echo "$0: $arch: not a .tar.bz2 file" 1>&2
return
fi
pkg="${pkg%-[0-9]*}"
pkg="${pkg##*/}"
if [ -z "$pkg" ] ; then
echo "$0: $arch: missing package name" 1>&2
return
fi
[ "${arch#-}" = "$arch" ] || arch="./$arch"
list="$adm/flists/$pkg"
if [ -f "$list" ] ; then
[ "$verbose" ] && echo "updating $pkg ..."
bize_remove
else
[ "$verbose" ] && echo "installing $pkg ..."
fi
$test mkdir -p$verbose "$root/"
if [ "$test" ] ; then
echo "bzip2 -c -d $arch | tar $taropt -C $root/"
else
bzip2 -c -d "$arch" | tar $taropt -C "$root/"
fi
}
bize_uninstall()
{
[ "$verbose" ] && echo "removing $pkg"
list="$adm/flists/$pkg"
if [ -f "$list" ] ; then
bize_remove
else
echo "$0: $list: no such file, skipping remove" 1>&2
fi
}
bize_main()
{
local which=which file arch list="sort rm rmdir mkdir tar bzip2"
local install remove test verbose voption keep=k root=/ taropt
while [ "$1" ] ; do
case "$1" in
-i) install=1 ;;
-r) remove=1 ;;
-t) test=echo ;;
-f) keep="" ;;
-v) verbose=v ; voption=-v ;;
-R) shift ; root="$1" ;;
-R*) root="${1#-R}" ;;
--) break ;;
-*) bize_usage ; return 1 ;;
*) break;;
esac
shift
done
if type sh > /dev/null 2>&1 ; then
which=type
elif ! which sh > /dev/null ; then
echo "$0: unable to find 'type' or 'which'" 1>&2
return 1
fi
[ "$keep" ] && list="$list md5sum"
for file in $list ; do
if ! $which $file > /dev/null ; then
echo "$0: unable to find '$file'" 1>&2
return 1
fi
done
if [ "$install" = "$remove" -o -z "$root" -o -z "$*" ] ; then
bize_usage
return 1
fi
root="${root%/}"
[ "${root#-}" = "$root" ] || root="./$root"
local adm="$root/var/adm" unlink="$test rm -f$verbose" pkg
if [ "$install" ] ; then
taropt="xp${verbose}${keep}"
for arch do
bize_install
done
else
for pkg do
bize_uninstall
done
fi
return 0
}
bize_main "$@"

18
archiver/bzip2/bzip2.cache

@ -0,0 +1,18 @@
[TIMESTAMP] 1133882937 Tue Dec 6 16:28:57 2005
[BUILDTIME] 5 (9)
[SIZE] 1.83 MB, 40 files
[DEP] bash
[DEP] binutils
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

29
archiver/bzip2/bzip2.conf

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../bzip2/bzip2.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# apply the patches defined in the package description
var_append patchfiles ' ' "`match_source_file -p 'patch'`"
var_append makeopt ' ' "AR=$AR RANLIB=$RANLIB"
var_append makeinstopt ' ' "PREFIX=$root USRPREFIX=$root/usr"
if [ "$SDECFG_STATIC" != 1 -a "$SDECFG_DIETLIBC_bzip2" != 1 ] ; then
hook_add inmake 5 "$MAKE $makeopt -f Makefile-libbz2_so"
hook_add postmake 5 "cp -a libbz2.so.* $root/$libdir"
fi
hook_add postmake 5 "cp -v manual* bzip2.txt $root/$docdir"

43
archiver/bzip2/bzip2.desc

@ -0,0 +1,43 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../bzip2/bzip2.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A file compression utility
[T] bzip2 compresses files using the Burrows-Wheeler blocksorting text
[T] compression algorithm, and Huffman coding. Compression is generally
[T] considerably better than that achieved by more conventional LZ77/LZ78-based
[T] compressors, and approaches the performance of the PPM family of
[T] statistical compressors.
[U] http://www.bzip.org/
[A] Julian Seward <jseward@acm.org>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] DIETLIBC FPIC-QUIRK
[L] OpenSource
[S] Stable
[V] 1.0.3
[P] X -1---5---9 108.600
[CV-URL] http://www.bzip.org/downloads.html
[D] 2351367897 bzip2-1.0.3.tar.gz http://www.bzip.org/1.0.3/
[D] 3026285618 bzip2-1.0.3-bzgrep_security-1.patch http://www.linuxfromscratch.org/patches/downloads/bzip2/

27
archiver/bzip2/fix_shared.patch

@ -0,0 +1,27 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../bzip2/fix_shared.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- bzip2-1.0.3/Makefile-libbz2_so.orig 2006-01-03 14:42:47.000000000 -0300
+++ bzip2-1.0.3/Makefile-libbz2_so 2006-01-03 14:43:11.000000000 -0300
@@ -21,7 +21,7 @@
all: $(OBJS)
$(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.3 $(OBJS)
- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.3
+ $(CC) $(CFLAGS) -shared -o bzip2-shared bzip2.c libbz2.so.1.0.3
rm -f libbz2.so.1.0
ln -s libbz2.so.1.0.3 libbz2.so.1.0

125
archiver/bzip2/makefile.patch

@ -0,0 +1,125 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../bzip2/makefile.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./Makefile.orig Sat Jan 26 00:34:53 2002
+++ ./Makefile Wed Apr 3 01:35:16 2002
@@ -12,8 +12,8 @@
CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
# Where you want it installed when you do 'make install'
-PREFIX=/usr
-
+PREFIX=/
+USRPREFIX=/usr
OBJS= blocksort.o \
huffman.o \
@@ -23,7 +23,7 @@
decompress.o \
bzlib.o
-all: libbz2.a bzip2 bzip2recover test
+all: libbz2.a bzip2 bzip2recover
bzip2: libbz2.a bzip2.o
$(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
@@ -34,11 +34,7 @@
libbz2.a: $(OBJS)
rm -f libbz2.a
$(AR) cq libbz2.a $(OBJS)
- @if ( test -f $(RANLIB) -o -f /usr/bin/ranlib -o \
- -f /bin/ranlib -o -f /usr/ccs/bin/ranlib ) ; then \
- echo $(RANLIB) libbz2.a ; \
- $(RANLIB) libbz2.a ; \
- fi
+ $(RANLIB) libbz2.a
check: test
test: bzip2
@@ -59,42 +55,42 @@
install: bzip2 bzip2recover
if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
- if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
- if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
- if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 ; fi
- if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; fi
+ if ( test ! -d $(USRPREFIX)/lib ) ; then mkdir -p $(USRPREFIX)/lib ; fi
+ if ( test ! -d $(USRPREFIX)/man ) ; then mkdir -p $(USRPREFIX)/man ; fi
+ if ( test ! -d $(USRPREFIX)/man/man1 ) ; then mkdir -p $(USRPREFIX)/man/man1 ; fi
+ if ( test ! -d $(USRPREFIX)/include ) ; then mkdir -p $(USRPREFIX)/include ; fi
cp -f bzip2 $(PREFIX)/bin/bzip2
cp -f bzip2 $(PREFIX)/bin/bunzip2
cp -f bzip2 $(PREFIX)/bin/bzcat
- cp -f bzip2recover $(PREFIX)/bin/bzip2recover
+ cp -f bzip2recover $(USRPREFIX)/bin/bzip2recover
chmod a+x $(PREFIX)/bin/bzip2
chmod a+x $(PREFIX)/bin/bunzip2
chmod a+x $(PREFIX)/bin/bzcat
- chmod a+x $(PREFIX)/bin/bzip2recover
- cp -f bzip2.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/bzip2.1
- cp -f bzlib.h $(PREFIX)/include
- chmod a+r $(PREFIX)/include/bzlib.h
- cp -f libbz2.a $(PREFIX)/lib
- chmod a+r $(PREFIX)/lib/libbz2.a
- cp -f bzgrep $(PREFIX)/bin/bzgrep
- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
- ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
- chmod a+x $(PREFIX)/bin/bzgrep
- cp -f bzmore $(PREFIX)/bin/bzmore
- ln $(PREFIX)/bin/bzmore $(PREFIX)/bin/bzless
- chmod a+x $(PREFIX)/bin/bzmore
- cp -f bzdiff $(PREFIX)/bin/bzdiff
- ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
- chmod a+x $(PREFIX)/bin/bzdiff
- cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/bzgrep.1
- chmod a+r $(PREFIX)/man/man1/bzmore.1
- chmod a+r $(PREFIX)/man/man1/bzdiff.1
- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
- echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
- echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
- echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
+ chmod a+x $(USRPREFIX)/bin/bzip2recover
+ cp -f bzip2.1 $(USRPREFIX)/man/man1
+ chmod a+r $(USRPREFIX)/man/man1/bzip2.1
+ cp -f bzlib.h $(USRPREFIX)/include
+ chmod a+r $(USRPREFIX)/include/bzlib.h
+ cp -f libbz2.a $(USRPREFIX)/lib
+ chmod a+r $(USRPREFIX)/lib/libbz2.a
+ cp -f bzgrep $(USRPREFIX)/bin/bzgrep
+ ln -f $(USRPREFIX)/bin/bzgrep $(USRPREFIX)/bin/bzegrep
+ ln -f $(USRPREFIX)/bin/bzgrep $(USRPREFIX)/bin/bzfgrep
+ chmod a+x $(USRPREFIX)/bin/bzgrep
+ cp -f bzmore $(USRPREFIX)/bin/bzmore
+ ln -f $(USRPREFIX)/bin/bzmore $(USRPREFIX)/bin/bzless
+ chmod a+x $(USRPREFIX)/bin/bzmore
+ cp -f bzdiff $(USRPREFIX)/bin/bzdiff
+ ln -f $(USRPREFIX)/bin/bzdiff $(USRPREFIX)/bin/bzcmp
+ chmod a+x $(USRPREFIX)/bin/bzdiff
+ cp -f bzgrep.1 bzmore.1 bzdiff.1 $(USRPREFIX)/man/man1
+ chmod a+r $(USRPREFIX)/man/man1/bzgrep.1
+ chmod a+r $(USRPREFIX)/man/man1/bzmore.1
+ chmod a+r $(USRPREFIX)/man/man1/bzdiff.1
+ echo ".so man1/bzgrep.1" > $(USRPREFIX)/man/man1/bzegrep.1
+ echo ".so man1/bzgrep.1" > $(USRPREFIX)/man/man1/bzfgrep.1
+ echo ".so man1/bzmore.1" > $(USRPREFIX)/man/man1/bzless.1
+ echo ".so man1/bzdiff.1" > $(USRPREFIX)/man/man1/bzcmp.1
distclean: clean
clean:

23
archiver/cabextract/cabextract.cache

@ -0,0 +1,23 @@
[TIMESTAMP] 1133882073 Tue Dec 6 16:14:33 2005
[BUILDTIME] 10 (9)
[SIZE] 0.12 MB, 16 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

38
archiver/cabextract/cabextract.desc

@ -0,0 +1,38 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../cabextract/cabextract.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A program to extract Microsoft cabinet files
[T] cabextract is a program to extract Microsoft cabinet (.cab) files. It
[T] is useful if you need some files from your original Windows(R)
[T] program's CD - or if you want to extract the freely available Microsoft
[T] TrueType "web-core-fonts" ...
[U] http://www.kyz.uklinux.net/cabextract.php
[A] Stuart Caie <kyzer@4u.net>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/archive
[L] GPL
[S] Stable
[V] 1.2
[P] X -----5---9 108.200
[D] 4096883761 cabextract-1.2.tar.gz http://www.kyz.uklinux.net/downloads/

26
archiver/cpio/cpio.cache

@ -0,0 +1,26 @@
[TIMESTAMP] 1133859522 Tue Dec 6 09:58:42 2005
[BUILDTIME] 15 (9)
[SIZE] 0.37 MB, 34 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] gettext
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] patch
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

15
archiver/cpio/cpio.conf

@ -0,0 +1,15 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../cpio/cpio.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
[ $prefix = usr ] && bindir=/bin

41
archiver/cpio/cpio.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../cpio/cpio.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A GNU archiving program
[T] This is GNU cpio, a program to manage archives of files.
[T] As of version 2.0, it supports the features of the System V release 4
[T] cpio, including support for tar archives.
[T]
[T] This package also includes rmt, the remote tape server, and mt, a tape
[T] drive control program.
[U] http://www.gnu.org/software/cpio/cpio.html
[A] The GNU Project <gnu@gnu.org>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] DIETLIBC
[L] GPL
[S] Stable
[V] 2.7
[P] X 0----5---9 102.050
[D] 2372289839 cpio-2.7.tar.gz ftp://ftp.gnu.org/pub/gnu/cpio/

46
archiver/cpio/lstat.patch

@ -0,0 +1,46 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../cpio/lstat.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
without HAVE_LSTAT cpio will always dereference symlinks
- Alejandro
patch configure so the long autoconf cycle is not needed and
do not regenrate the other .in files we patch ...
- Rene
#--- ./configure.ac.orig 2006-06-25 15:58:15.000000000 +0200
#+++ ./configure.ac 2006-06-25 15:57:56.000000000 +0200
#@@ -92,7 +92,7 @@
# AC_CONFIG_LINKS(src/fnmatch.h:headers/fnmatch.h)
# fi
#
#-AC_CHECK_FUNCS(lchown endpwent endgrent)
#+AC_CHECK_FUNCS(lchown endpwent endgrent lstat)
# AC_FUNC_VPRINTF
# AC_FUNC_ALLOCA
# AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])
--- cpio-2.6/configure 2004-12-20 10:51:38.000000000 +0000
+++ cpio-2.6-fixed/configure 2006-07-03 14:55:01.000000000 +0000
@@ -12838,7 +12838,8 @@
-for ac_func in lchown endpwent endgrent
+
+for ac_func in lchown endpwent endgrent lstat
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5

27
archiver/cpio/no-mt-man.patch

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../cpio/no-mt-man.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- cpio-2.7/doc/Makefile.in.orig 2006-10-21 18:54:21.000000000 +0200
+++ cpio-2.7/doc/Makefile.in 2006-10-26 02:03:03.000000000 +0200
@@ -290,7 +290,7 @@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
info_TEXINFOS = cpio.texi
-man_MANS = cpio.1 mt.1
+man_MANS = cpio.1
EXTRA_DIST = $(man_MANS) gendocs_template
all: all-am

29
archiver/cpio/no_rmt.patch

@ -0,0 +1,29 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../cpio/no_rmt.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
rmt is installed by tar too, and we will prefer that
-mnemoc
--- ./Makefile.in.orig 2004-12-28 23:06:53.000000000 -0300
+++ ./Makefile.in 2004-12-28 23:07:06.000000000 -0300
@@ -217,7 +217,7 @@
target_alias = @target_alias@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = gnits 1.8 dist-bzip2 std-options
-SUBDIRS = doc headers lib rmt src po tests
+SUBDIRS = doc headers lib src po tests
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive

28
archiver/dpkg/dpkg.cache

@ -0,0 +1,28 @@
[TIMESTAMP] 1133945562 Wed Dec 7 09:52:42 2005
[BUILDTIME] 25 (9)
[SIZE] 5.68 MB, 217 files
[DEP] bash
[DEP] binutils
[DEP] bison
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] gettext
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] ncurses
[DEP] net-tools
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] zlib

22
archiver/dpkg/dpkg.conf

@ -0,0 +1,22 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dpkg/dpkg.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if pkginstalled libselinux; then
var_append GCC_WRAPPER_APPEND ' ' '-lselinux'
fi
confopt="$confopt --without-sgml-doc --without-start-stop-daemon"

44
archiver/dpkg/dpkg.desc

@ -0,0 +1,44 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../dpkg/dpkg.desc
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] The debian package manager
[T] The `dpkg' suite contains the programs which handle Debian (.deb)
[T] packages. It was developed on Debian GNU/Linux but can be used on all
[T] Linux distributions and most Unix systems. The `dpkg' command can be
[T] used to install, remove and manage .deb binary packages, and it
[T] maintains a package database which gets updated on changes. It is also a
[T] front-end to the low-level `dpkg-deb' tool, which is oriented towards
[T] manipulating archives. However, the primary interface to dpkg is the
[T] `dselect' program, which is used to get and display packages for the
[T] user to select for (de)installation.
[U] http://www.debian.org/Packages/unstable/admin/dpkg
[A] Jeff Covey
[M] The OpenSDE Community <list@opensde.org>
[C] extra/tool
[F] NOPARALLEL
[L] GPL
[S] Stable
[V] 1.13.25
[P] X -----5---9 221.000
[D] 4211674763 dpkg_1.13.25.tar.gz http://ftp.debian.org/debian/pool/main/d/dpkg/

16
archiver/flexbackup/flexbackup.cache

@ -0,0 +1,16 @@
[TIMESTAMP] 1133885515 Tue Dec 6 17:11:55 2005
[BUILDTIME] 5 (9)
[SIZE] 0.26 MB, 17 files
[DEP] bash
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] make
[DEP] sed
[DEP] sysfiles
[DEP] tar

32
archiver/flexbackup/flexbackup.desc

@ -0,0 +1,32 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../flexbackup/flexbackup.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A flexible backup tool
[T] flexbackup is for you if you have a single or small number of machines,
[T] amanda is "too much", and tarring things up by hand isn't nearly enough ...
[A] Edwin Huffstutler <edwinh@computer.org>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] GPL
[S] Stable
[V] 1.2.1
[P] X -----5---9 109.600
[D] 2208187626 flexbackup-1.2.1.tar.gz http://www.flexbackup.org/tarball/

295
archiver/gzip/gzip-1.3-rsync.patch

@ -0,0 +1,295 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../gzip/gzip-1.3-rsync.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Rsync friendly less changing compression - pulled from Fedora Core.
- Rene Rebe <reneÂ@exactcode.de>
--- gzip-1.3.2/deflate.c.rsync Fri Oct 8 08:46:28 1999
+++ gzip-1.3.2/deflate.c Sun Mar 10 12:35:00 2002
@@ -122,6 +122,14 @@
#endif
/* Matches of length 3 are discarded if their distance exceeds TOO_FAR */
+#ifndef RSYNC_WIN
+# define RSYNC_WIN 4096
+#endif
+/* Size of rsync window, must be < MAX_DIST */
+
+#define RSYNC_SUM_MATCH(sum) ((sum) % RSYNC_WIN == 0)
+/* Whether window sum matches magic value */
+
/* ===========================================================================
* Local data used by the "longest match" routines.
*/
@@ -203,6 +211,8 @@
unsigned near good_match;
/* Use a faster search when the previous match is longer than this */
+local ulg rsync_sum; /* rolling sum of rsync window */
+local ulg rsync_chunk_end; /* next rsync sequence point */
/* Values for max_lazy_match, good_match and max_chain_length, depending on
* the desired pack level (0..9). The values given below have been tuned to
@@ -301,6 +311,10 @@
#endif
/* prev will be initialized on the fly */
+ /* rsync params */
+ rsync_chunk_end = 0xFFFFFFFFUL;
+ rsync_sum = 0;
+
/* Set the default configuration parameters:
*/
max_lazy_match = configuration_table[pack_level].max_lazy;
@@ -537,6 +551,8 @@
memcpy((char*)window, (char*)window+WSIZE, (unsigned)WSIZE);
match_start -= WSIZE;
strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */
+ if (rsync_chunk_end != 0xFFFFFFFFUL)
+ rsync_chunk_end -= WSIZE;
block_start -= (long) WSIZE;
@@ -564,13 +580,46 @@
}
}
+local void rsync_roll(start, num)
+ unsigned start;
+ unsigned num;
+{
+ unsigned i;
+
+ if (start < RSYNC_WIN) {
+ /* before window fills. */
+ for (i = start; i < RSYNC_WIN; i++) {
+ if (i == start + num) return;
+ rsync_sum += (ulg)window[i];
+ }
+ num -= (RSYNC_WIN - start);
+ start = RSYNC_WIN;
+ }
+
+ /* buffer after window full */
+ for (i = start; i < start+num; i++) {
+ /* New character in */
+ rsync_sum += (ulg)window[i];
+ /* Old character out */
+ rsync_sum -= (ulg)window[i - RSYNC_WIN];
+ if (rsync_chunk_end == 0xFFFFFFFFUL && RSYNC_SUM_MATCH(rsync_sum))
+ rsync_chunk_end = i;
+ }
+}
+
+/* ===========================================================================
+ * Set rsync_chunk_end if window sum matches magic value.
+ */
+#define RSYNC_ROLL(s, n) \
+ do { if (rsync) rsync_roll((s), (n)); } while(0)
+
/* ===========================================================================
* Flush the current block, with given end-of-file flag.
* IN assertion: strstart is set to the end of the current match.
*/
#define FLUSH_BLOCK(eof) \
flush_block(block_start >= 0L ? (char*)&window[(unsigned)block_start] : \
- (char*)NULL, (long)strstart - block_start, (eof))
+ (char*)NULL, (long)strstart - block_start, flush-1, (eof))
/* ===========================================================================
* Processes a new input file and return its compressed length. This
@@ -581,7 +630,7 @@
local off_t deflate_fast()
{
IPos hash_head; /* head of the hash chain */
- int flush; /* set if current block must be flushed */
+ int flush; /* set if current block must be flushed, 2=>and padded */
unsigned match_length = 0; /* length of best match */
prev_length = MIN_MATCH-1;
@@ -610,6 +659,7 @@
lookahead -= match_length;
+ RSYNC_ROLL(strstart, match_length);
/* Insert new strings in the hash table only if the match length
* is not too large. This saves time but degrades compression.
*/
@@ -638,9 +688,14 @@
/* No match, output a literal byte */
Tracevv((stderr,"%c",window[strstart]));
flush = ct_tally (0, window[strstart]);
+ RSYNC_ROLL(strstart, 1);
lookahead--;
strstart++;
}
+ if (rsync && strstart > rsync_chunk_end) {
+ rsync_chunk_end = 0xFFFFFFFFUL;
+ flush = 2;
+ }
if (flush) FLUSH_BLOCK(0), block_start = strstart;
/* Make sure that we always have enough lookahead, except
@@ -713,6 +768,7 @@
*/
lookahead -= prev_length-1;
prev_length -= 2;
+ RSYNC_ROLL(strstart, prev_length+1);
do {
strstart++;
INSERT_STRING(strstart, hash_head);
@@ -725,24 +781,39 @@
match_available = 0;
match_length = MIN_MATCH-1;
strstart++;
- if (flush) FLUSH_BLOCK(0), block_start = strstart;
+ if (rsync && strstart > rsync_chunk_end) {
+ rsync_chunk_end = 0xFFFFFFFFUL;
+ flush = 2;
+ }
+ if (flush) FLUSH_BLOCK(0), block_start = strstart;
} else if (match_available) {
/* If there was no match at the previous position, output a
* single literal. If there was a match but the current match
* is longer, truncate the previous match to a single literal.
*/
Tracevv((stderr,"%c",window[strstart-1]));
- if (ct_tally (0, window[strstart-1])) {
- FLUSH_BLOCK(0), block_start = strstart;
- }
+ flush = ct_tally (0, window[strstart-1]);
+ if (rsync && strstart > rsync_chunk_end) {
+ rsync_chunk_end = 0xFFFFFFFFUL;
+ flush = 2;
+ }
+ if (flush) FLUSH_BLOCK(0), block_start = strstart;
+ RSYNC_ROLL(strstart, 1);
strstart++;
lookahead--;
} else {
/* There is no previous match to compare with, wait for
* the next step to decide.
*/
+ if (rsync && strstart > rsync_chunk_end) {
+ /* Reset huffman tree */
+ rsync_chunk_end = 0xFFFFFFFFUL;
+ flush = 2;
+ FLUSH_BLOCK(0), block_start = strstart;
+ }
match_available = 1;
+ RSYNC_ROLL(strstart, 1);
strstart++;
lookahead--;
}
--- gzip-1.3.2/gzip.c.rsync Mon Oct 1 07:28:16 2001
+++ gzip-1.3.2/gzip.c Sun Mar 10 12:35:00 2002
@@ -249,6 +249,7 @@
unsigned insize; /* valid bytes in inbuf */
unsigned inptr; /* index of next byte to be processed in inbuf */
unsigned outcnt; /* bytes in output buffer */
+int rsync = 0; /* make ryncable chunks */
struct option longopts[] =
{
@@ -278,6 +279,7 @@
{"best", 0, 0, '9'}, /* compress better */
{"lzw", 0, 0, 'Z'}, /* make output compatible with old compress */
{"bits", 1, 0, 'b'}, /* max number of bits per code (implies -Z) */
+ {"rsyncable", 0, 0, 'R'}, /* make rsync-friendly archive */
{ 0, 0, 0, 0 }
};
@@ -368,6 +370,7 @@
" -Z --lzw produce output compatible with old compress",
" -b --bits maxbits max number of bits per code (implies -Z)",
#endif
+ " --rsyncable Make rsync-friendly archive",
" file... files to (de)compress. If none given, use standard input.",
"Report bugs to <bug-gzip@gnu.org>.",
0};
@@ -546,6 +549,9 @@
#else
recursive = 1; break;
#endif
+ case 'R':
+ rsync = 1; break;
+
case 'S':
#ifdef NO_MULTIPLE_DOTS
if (*optarg == '.') optarg++;
--- gzip-1.3.2/gzip.h.rsync Mon Oct 1 07:24:52 2001
+++ gzip-1.3.2/gzip.h Sun Mar 10 12:36:12 2002
@@ -133,6 +133,7 @@
extern unsigned insize; /* valid bytes in inbuf */
extern unsigned inptr; /* index of next byte to be processed in inbuf */
extern unsigned outcnt; /* bytes in output buffer */
+extern int rsync; /* deflate into rsyncable chunks */
extern off_t bytes_in; /* number of input bytes */
extern off_t bytes_out; /* number of output bytes */
@@ -281,7 +282,7 @@
/* in trees.c */
void ct_init OF((ush *attr, int *method));
int ct_tally OF((int dist, int lc));
-off_t flush_block OF((char *buf, ulg stored_len, int eof));
+off_t flush_block OF((char *buf, ulg stored_len, int pad, int eof));
/* in bits.c */
void bi_init OF((file_t zipfile));
--- gzip-1.3.2/gzip.texi.rsync Sun Nov 4 08:39:35 2001
+++ gzip-1.3.2/gzip.texi Sun Mar 10 12:35:00 2002
@@ -340,6 +340,14 @@
into the directory and compress all the files it finds there (or
decompress them in the case of @code{gunzip}).
+@item --rsyncable
+While compressing, synchronize the output occasionally based on the
+input. This reduces compression by about 1 percent most cases, but
+means that the @code{rsync} program can take advantage of similarities
+in the uncompressed input when syncronizing two files compressed with
+this flag. @code{gunzip} cannot tell the difference between a
+compressed file created with this option, and one created without it.
+
@item --suffix @var{suf}
@itemx -S @var{suf}
Use suffix @samp{@var{suf}} instead of @samp{.gz}. Any suffix can be
--- gzip-1.3.2/trees.c.rsync Wed Oct 6 07:00:00 1999
+++ gzip-1.3.2/trees.c Sun Mar 10 12:37:05 2002
@@ -847,9 +847,10 @@
* trees or store, and output the encoded block to the zip file. This function
* returns the total compressed length for the file so far.
*/
-off_t flush_block(buf, stored_len, eof)
+off_t flush_block(buf, stored_len, pad, eof)
char *buf; /* input block, or NULL if too old */
ulg stored_len; /* length of input block */
+ int pad; /* pad output to byte boundary */
int eof; /* true if this is the last block for a file */
{
ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */
@@ -941,6 +942,10 @@
Assert (input_len == bytes_in, "bad input size");
bi_windup();
compressed_len += 7; /* align on byte boundary */
+ } else if (pad && (compressed_len % 8) != 0) {
+ send_bits((STORED_BLOCK<<1)+eof, 3); /* send block type */
+ compressed_len = (compressed_len + 3 + 7) & ~7L;
+ copy_block(buf, 0, 1); /* with header */
}
return compressed_len >> 3;

31
archiver/gzip/gzip-1.3.3-window-size.patch

@ -0,0 +1,31 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../gzip/gzip-1.3.3-window-size.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Fix possible buffer overrun with the rsyncable patch - pulled from Fedora Core.
- Rene Rebe <reneÂ@exactcode.de>
--- gzip-1.3.3/gzip.c.orig Thu Jan 30 21:19:36 2003
+++ gzip-1.3.3/gzip.c Thu Jan 30 21:09:52 2003
@@ -198,7 +198,7 @@
DECLARE(uch, inbuf, INBUFSIZ +INBUF_EXTRA);
DECLARE(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
DECLARE(ush, d_buf, DIST_BUFSIZE);
-DECLARE(uch, window, 2L*WSIZE);
+DECLARE(uch, window, 2L*WSIZE + 4096);
#ifndef MAXSEG_64K
DECLARE(ush, tab_prefix, 1L<<BITS);
#else

25
archiver/gzip/gzip.cache

@ -0,0 +1,25 @@
[TIMESTAMP] 1133859355 Tue Dec 6 09:55:55 2005
[BUILDTIME] 10 (9)
[SIZE] 0.38 MB, 41 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] patch
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] texinfo
[DEP] util-linux

32
archiver/gzip/gzip.conf

@ -0,0 +1,32 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gzip/gzip.conf
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# apply the patches defined in the gzip.desc
var_append patchfiles ' ' "`match_source_file -p patch`"
pm_move_to_bin() {
# move gzip to /bin and create gunzip/zcat links
mv -vf $root/usr/bin/gzip $root/bin/
rm -f $root/bin/{gunzip,zcat} $root/usr/bin/{gunzip,zcat}
ln $root/bin/gzip $root/bin/gunzip
ln $root/bin/gzip $root/bin/zcat
# correct the path used in the gzexe script
sed -i 's,"/usr/bin"/gzip,"/bin"/gzip,g' $root/usr/bin/gzexe
}
hook_add postmake 5 "pm_move_to_bin"

42
archiver/gzip/gzip.desc

@ -0,0 +1,42 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../gzip/gzip.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] The zip compression utility
[T] gzip (GNU zip) is a compression utility designed to be a replacement
[T] for 'compress'. Its main advantages over compress are much better
[T] compression and freedom from patented algorithms. The GNU Project
[T] uses it as the standard compression program for its system.
[T]
[T] gzip currently uses by default the LZ77 algorithm used in zip 1.9 (the
[T] portable pkzip compatible archiver). The gzip format was however
[T] designed to accommodate several compression algorithms.
[A] Jean-loup Gailly <jloup@chorus.fr>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] DIETLIBC
[L] GPL
[S] Stable
[V] 1.3.5
[P] X -1---5---9 102.040
[D] 4282551372 gzip-1.3.5.tar.gz ftp://alpha.gnu.org/gnu/gzip/
[D] 2618511932 gzip-1.3.5-security_fixes-1.patch http://www.linuxfromscratch.org/patches/downloads/gzip/

29
archiver/libmspack/libmspack.cache

@ -0,0 +1,29 @@
[TIMESTAMP] 1133796631 Mon Dec 5 16:30:31 2005
[BUILDTIME] 25 (5)
[SIZE] 0.24 MB, 20 files
[DEP] 00-dirtree
[DEP] autoconf
[DEP] automake
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] libtool
[DEP] linux-header
[DEP] m4
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

43
archiver/libmspack/libmspack.desc

@ -0,0 +1,43 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../libmspack/libmspack.desc
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A library for Microsoft compression formats
[T] The purpose of libmspack is to provide both compression and
[T] decompression of some loosely related file formats used by
[T] Microsoft. The intention is to support all of the following formats:
[T] * COMPRESS.EXE [SZDD]
[T] * Microsoft Help
[T] * COMPRESS.EXE [KWAJ]
[T] * Microsoft Cabinet
[T] * HTML Help
[T] * Microsoft eBook
[U] http://www.kyz.uklinux.net/libmspack/
[A] Stuart Caie <kyzer@4u.net>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/archive
[L] LGPL
[S] Alpha
[V] 20060902
[P] X -----5---9 800.000
[O] hook_add preconf 2 'autoreconf -i -W all'
[D] 4246577333 libmspack-0.0.20060920alpha.tar.gz http://www.kyz.uklinux.net/downloads/
#[D] X libmspack-cvs-2005-02-28.tar.gz cvs://:pserver:anonymous@cvs.sourceforge.net:/cvsroot/libmspack libmspack -D 2005-02-28

23
archiver/libtar/libtar.cache

@ -0,0 +1,23 @@
[TIMESTAMP] 1155420807 Sat Aug 12 22:13:27 2006
[BUILDTIME] 10 (5)
[SIZE] 0.12 MB, 79 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] zlib

32
archiver/libtar/libtar.desc

@ -0,0 +1,32 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../libtar/libtar.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A C library API for manipulating tar archives
[T] Libtar is a C library for manipulating tar archives. It supports both
[T] the strict POSIX tar format and many of the commonly-used GNU extensions.
[U] http://www.feep.net/libtar/
[A] Mark D. Roth <roth@feep.net>
[M] Alejandro Mery <amery@opensde.org>
[C] extra/base
[L] BSD
[S] Stable
[V] 1.2.11
[P] X -----5---9 300.000
[D] 1652929605 libtar-1.2.11.tar.gz ftp://ftp.feep.net/pub/software/libtar/

18
archiver/lxsplit/lxsplit.cache

@ -0,0 +1,18 @@
[TIMESTAMP] 1133844394 Tue Dec 6 05:46:34 2005
[BUILDTIME] 5 (5)
[SIZE] 0.02 MB, 10 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] make
[DEP] sed
[DEP] sysfiles
[DEP] tar

17
archiver/lxsplit/lxsplit.conf

@ -0,0 +1,17 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../lxsplit/lxsplit.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
makeinstopt=
hook_add postmake 5 "install lxsplit $root$bindir/"

33
archiver/lxsplit/lxsplit.desc

@ -0,0 +1,33 @@
[COPY] --- T2-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] T2 SDE: package/.../lxsplit/lxsplit.desc
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- T2-COPYRIGHT-NOTE-END ---
[I] Split up huge files into smaller pieces without compression
[T] This utility is used to split up huge files into smaller pieces without
[T] compression. It is fully compatable with HJSplit.
[U] http://www.freebyte.com/hjsplit/
[A] Richard Stellingwerff <remenic@remenic.2y.net>
[M] Leonel Ivan Saafigueroa <leonel@saafigueroa.com.ar>
[C] base/tool
[L] GPL
[S] Stable
[V] 0.1.1
[P] X -----5---9 800.117
[D] 970031954 lxsplit-0.1.1.tar.gz !http://www.freebyte.com/download/lxsplit.tar.gz

19
archiver/lzma/lzma.cache

@ -0,0 +1,19 @@
[TIMESTAMP] 1133883080 Tue Dec 6 16:31:20 2005
[BUILDTIME] 5 (9)
[SIZE] 0.32 MB, 42 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

41
archiver/lzma/lzma.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lzma/lzma.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A file compression utility using the LZMA algorithm
[T] LZMA utils in a nutshell. Average compression ratio of LZMA is about
[T] 30% better than that of gzip, and 15% better than that of bzip2.
[T] Decompression speed is only little slower than that of gzip, being two
[T] to five times faster than bzip2. In fast mode, compresses faster than
[T] bzip2 with a comparable compression ratio. However achieving the best
[T] compression ratios takes four to even twelve times longer than with bzip2.
[T] However, this doesn't affect decompressing speed.
[U] http://tukaani.org/lzma/
[A] Igor Pavlov
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] LGPL
[S] Stable
[V] 4.32.0beta3
[P] X -----5---9 108.600
[CV-URL] http://tukaani.org/lzma/download
[D] 1903884130 lzma-4.32.0beta3.tar.gz http://tukaani.org/lzma/

23
archiver/lzo/lzo.cache

@ -0,0 +1,23 @@
[TIMESTAMP] 1133881744 Tue Dec 6 16:09:04 2005
[BUILDTIME] 35 (9)
[SIZE] 0.36 MB, 31 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

41
archiver/lzo/lzo.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lzo/lzo.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A fast compression library
[T] LZO is a portable lossless data compression library written in ANSI C.
[T] It offers pretty fast compression and *extremly* fast decompression.
[T] Decompression requires no memory.
[T]
[T] In addition there are slower compression levels achieving a quite
[T] competitive compression ratio while still decompressing at this very high
[T] speed.
[U] http://www.oberhumer.com/opensource/lzo/
[A] Markus F.X.J. Oberhumer <markus@oberhumer.com>
[M] Alejandro Mery <amery@opensde.org>
[C] base/library
[F] FPIC-QUIRK
[L] GPL
[S] Stable
[V] 2.02
[P] X 01---5---9 108.020
[D] 1753091160 lzo-2.02.tar.gz http://www.oberhumer.com/opensource/lzo/download/

24
archiver/lzop/lzop.cache

@ -0,0 +1,24 @@
[TIMESTAMP] 1133881920 Tue Dec 6 16:12:00 2005
[BUILDTIME] 15 (9)
[SIZE] 0.14 MB, 16 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] lzo
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

20
archiver/lzop/lzop.conf

@ -0,0 +1,20 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../lzop/lzop.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
if atstage toolchain; then
var_append LDFLAGS " " "-L$root$libdir"
var_append CPPFLAGS " " "-I$root$includedir"
export LDFLAGS CPPFLAGS
fi

33
archiver/lzop/lzop.desc

@ -0,0 +1,33 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../lzop/lzop.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A LZO frontend
[T] LZOP is a command line frontend for the LZO compression library.
[A] Markus F.X.J. Oberhumer
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] DIETLIBC
[L] GPL
[S] Stable
[V] 1.02rc1
[P] X 01---5---9 108.040
[D] 3384210024 lzop-1.02rc1.tar.gz http://www.lzop.org/download/

333
archiver/mine/any-archiver.patch

@ -0,0 +1,333 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/any-archiver.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
this fixes a few bugs like crashing on non-existing file and reading the
package database before checking for the file.
Implements using any compressed tar package as archiver and not use the
bzip2 copy but the systen compressors.
(This is just a quick gap filler until we get rid of the whole mine mess.)
- Rene Rebe <rene@exactcode.de>
Index: install.c
===================================================================
--- ./install.c (revision 3)
+++ ./install.c (revision 13)
@@ -1,6 +1,7 @@
/*
* GEM MINE - The ROCK Linux Package Manager
* Copyright (C) 2002-2005 Clifford Wolf
+ * Copyright (C) 2005-2006 René Rebe
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -29,7 +30,6 @@
#include <fnmatch.h>
#include "cdb.h"
-#include "bzlib.h"
#include "libtar.h"
#include "mine.h"
@@ -60,70 +60,114 @@
int pos, len;
int rc;
- char *filename;
+ char *filename = 0;
+ char *decompressor = 0;
char buffer[1024];
char buffer2[1024];
char buffer3[1024];
TAR *t = NULL;
- BZFILE *b = NULL;
- if ( ! mode_force )
- md5sum_initdb(root, mode_verbose);
+ errno = 0;
- if ( (gem_fd = open(package, O_RDONLY)) < 0 ) goto error_errno;
- cdb_init(&c, gem_fd);
+ decompressor = strstr (package, ".tar");
+ if (decompressor) {
+ /* strip .tar. */
+ decompressor += 4;
+ // fprintf (stderr, "Decomp: '%s'\n", decompressor);
+ if (!*decompressor)
+ decompressor = "cat";
+ else if (strcmp (decompressor, ".bz2") == 0)
+ decompressor = "bzip2";
+ else if (strcmp (decompressor, ".gz") == 0)
+ decompressor = "gzip";
+ else if (strcmp (decompressor, ".lzo") == 0)
+ decompressor = "lzop";
+ else {
+ fprintf (stderr, "Unknown decompressor '%s'.\n",
+ decompressor);
+ return 1;
+ }
+ }
- rc = cdb_find(&c, "pkg_name", 8);
- if ( rc <= 0 ) goto error;
- pos = cdb_datapos(&c); len = cdb_datalen(&c);
- pname = malloc(len+1); pname[len] = 0;
- if (cdb_read(&c, pname, len, pos) == -1) goto error;
-
pipe(gem2bunzip);
- pipe(bunzip2tar);
- /*
- * Extract tar.bz2 from GEM file
- */
- if (!fork()) {
- close(gem2bunzip[0]);
- close(bunzip2tar[0]);
- close(bunzip2tar[1]);
+ if (!decompressor) {
+ decompressor = "bzip2"; /* let the generic code decompress it */
- rc = cdb_find(&c, "pkg_tarbz2", 10);
- if ( rc <= 0 ) exit(1);
+ if ( (gem_fd = open(package, O_RDONLY)) < 0 ) goto error_errno;
+ cdb_init(&c, gem_fd);
- pos = cdb_datapos(&c);
- len = cdb_datalen(&c);
- if (len <= 0) exit(1);
+ rc = cdb_find(&c, "pkg_name", 8);
+ if ( rc <= 0 ) goto error;
+ pos = cdb_datapos(&c); len = cdb_datalen(&c);
+ pname = malloc(len+1); pname[len] = 0;
+ if (cdb_read(&c, pname, len, pos) == -1) goto error;
- while (len > 0) {
- if ( cdb_read(&c, buffer, len>512 ? 512 : len,
- pos) == -1 ) goto error;
- write(gem2bunzip[1], buffer, len > 512 ? 512 : len);
- pos += len > 512 ? 512 : len;
- len -= 512;
+ /*
+ * Extract tar.bz2 from GEM file
+ */
+ if (!fork()) {
+ close(gem2bunzip[0]);
+
+ rc = cdb_find(&c, "pkg_tarbz2", 10);
+ if ( rc <= 0 ) exit(1);
+
+ pos = cdb_datapos(&c);
+ len = cdb_datalen(&c);
+ if (len <= 0) exit(1);
+
+ while (len > 0) {
+ if ( cdb_read(&c, buffer, len>512 ? 512 : len,
+ pos) == -1 ) goto error;
+ write(gem2bunzip[1], buffer, len > 512 ? 512 : len);
+ pos += len > 512 ? 512 : len;
+ len -= 512;
+ }
+
+ cdb_free(&c);
+ close(gem_fd);
+
+ exit(0);
}
+ }
+ else /* vanilla tar flavour */
+ {
+ if (!fork()) {
+ close(gem2bunzip[0]);
- cdb_free(&c);
- close(gem_fd);
+ int fd = open (package, O_RDONLY);
+ if (fd < 0) goto error_errno;
+ int len;
+ do {
+ len = read(fd, buffer, sizeof(buffer));
+ if (len < 0) goto error;
+ write(gem2bunzip[1], buffer, len);
- exit(0);
+ } while (len > 0);
+
+ close(fd);
+ exit(0);
+ }
}
+ pipe(bunzip2tar);
+
/*
- * Bunzip tar.bz2 file
+ * decompress
*/
if (!fork()) {
close(gem2bunzip[1]);
close(bunzip2tar[0]);
- b = BZ2_bzdopen(gem2bunzip[0], "r");
- while ( (rc=BZ2_bzread(b, buffer, 512)) > 0 )
- write(bunzip2tar[1], buffer, rc);
- BZ2_bzclose(b);
-
- exit(0);
+ dup2 (gem2bunzip[0], 0);
+ dup2 (bunzip2tar[1], 1);
+ close (gem2bunzip[0]);
+ close (bunzip2tar[1]);
+ if (strcmp (decompressor, "cat") == 0)
+ execlp (decompressor, decompressor, NULL);
+ else
+ execlp (decompressor, decompressor, "-d", "-c", NULL);
+ goto error_errno;
}
/*
@@ -133,6 +177,9 @@
close(gem2bunzip[1]);
close(bunzip2tar[1]);
+ if ( ! mode_force )
+ md5sum_initdb(root, mode_verbose);
+
if (tar_fdopen(&t, bunzip2tar[0], "pipe", NULL,
O_RDONLY, 0, 0) == -1) goto error_errno;
if ( mode_test && mode_verbose ) printf("-- %s --\n", pname);
@@ -225,7 +272,9 @@
error_errno:
fprintf(stderr, "While installing GEM file %s%s%s%s: %s\n", package,
- filename?" (":"", filename?filename:"", filename?"(":"",
+ filename ? " (" : "",
+ filename ? filename : "",
+ filename ? ")" : "",
errno ? strerror(errno) : "Unknown error");
if ( t != NULL) tar_close(t);
if ( gem_fd != -1 ) { cdb_free(&c); close(gem_fd); }
Index: Makefile
===================================================================
--- ./Makefile (revision 3)
+++ ./Makefile (revision 13)
@@ -6,12 +6,6 @@
CDB_OBJ = $(CDB_DIR)/cdb.a $(CDB_DIR)/alloc.a $(CDB_DIR)/buffer.a
CDB_OBJ += $(CDB_DIR)/byte.a $(CDB_DIR)/unix.a
-# LibBzip2 Sub-Package
-#
-BZIP2_VER = 1.0.2
-BZIP2_DIR = bzip2-$(BZIP2_VER)
-BZIP2_OBJ = $(BZIP2_DIR)/libbz2.a
-
# LibTar Sub-Package
#
LIBTAR_VER = 1.2.11
@@ -43,11 +37,11 @@
# The usual list of build targets
#
-MINE_ALL_OBJS = $(MINE_OBJ) $(CDB_OBJ) $(BZIP2_OBJ) $(LIBTAR_OBJ)
+MINE_ALL_OBJS = $(MINE_OBJ) $(CDB_OBJ) $(LIBTAR_OBJ)
# Set and configure the c-compiler
#
-CFLAGS = -I$(CDB_DIR) -I$(BZIP2_DIR) -I$(LIBTAR_DIR)/lib -I. -Wall -Os
+CFLAGS = -I$(CDB_DIR) -I/usr/include -I$(LIBTAR_DIR)/lib -I. -Wall -Os
CFLAGS += -I$(LIBTAR_DIR)/listhash -DMINE_VERSION=\"$(MINE_VER)\" -ggdb
CFLAGS += -DGEMCACHE=\"/var/cache/gem\" -DMINECURLOPT=\"/etc/mine.curlopt\"
ifeq ($(USE_AVL), 1)
@@ -86,7 +80,7 @@
$(CC) $(MINE_ALL_OBJS) -o mine
mine.static:
- $(CC) $(MINE_ALL_OBJS) -static -o mine.static
+ $(CC) -static $(MINE_ALL_OBJS) $(MINE_ALL_LIBS) -o mine.static
gasgui: $(GAS_OBJ)
$(CC) $(GAS_OBJ) -ldialog -lcurses -lm -o gasgui
@@ -100,22 +94,18 @@
endif
[ -f $(sysprefix)/etc/rocket.conf ] || cp rocket.conf $(sysprefix)/etc/
-$(MINE_OBJ): $(CDB_OBJ) $(BZIP2_OBJ) $(LIBTAR_OBJ)
+$(MINE_OBJ): $(CDB_OBJ) $(LIBTAR_OBJ)
$(CDB_OBJ):
$(BUILDCC) -o $(CDB_DIR)/auto-str $(CDB_DIR)/auto-str.c
$(MAKE) 'AR=$(AR)' 'RANLIB=$(RANLIB)' -C $(CDB_DIR)
-$(BZIP2_OBJ):
- $(MAKE) -C $(BZIP2_DIR) libbz2.a
-
$(LIBTAR_OBJ):
cd $(LIBTAR_DIR) && ./configure --without-zlib $(CONFOPT)
$(MAKE) -C $(LIBTAR_DIR)
patchfiles:
sh xdiff.sh $(CDB_DIR)/ > $(CDB_DIR).patch
-# sh xdiff.sh (BZIP2_DIR)/ > $(BZIP2_DIR).patch
sh xdiff.sh $(LIBTAR_DIR)/ > $(LIBTAR_DIR).patch
clean:
@@ -124,7 +114,6 @@
grep -qx "$${x#$(CDB_DIR)/}" $(CDB_DIR)/FILES || rm -v $$x ; \
done
@rm -vf *.o mine mine.static gasgui core
- -@make -C $(BZIP2_DIR) distclean
-@make -C $(LIBTAR_DIR) distclean
echo "GEM MINE $(MINE_VER)" > VERSION
--- ./readdb.c 2005-03-23 09:51:06.000000000 +0100
+++ ./readdb.c 2006-06-05 14:55:33.817538500 +0200
@@ -1,6 +1,7 @@
/*
* GEM MINE - The ROCK Linux Package Manager
* Copyright (C) 2002-2005 Clifford Wolf
+ * Copyright (C) 2006 René Rebe
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -215,11 +216,12 @@
}
if ( !dbf ) fclose(f);
- snprintf(line, 1024, "%s/pkgs/%s-%s.gem", config, p->name, p->version);
+ /* without extension, it is cut off above */
+ snprintf(line, 1024, "%s/pkgs/%s-%s", config, p->name, p->version);
if ( memdb_get(&files_on_disks, line) ) {
p->disk_number = atoi(memdb_search_result);
} else {
- snprintf(line, 1024, "%s/pkgs/%s.gem", config, p->name);
+ snprintf(line, 1024, "%s/pkgs/%s", config, p->name);
if ( memdb_get(&files_on_disks, line) )
p->disk_number = atoi(memdb_search_result);
}
@@ -420,7 +423,12 @@
snprintf(pkgdir, 200, "%s/pkgs/", config);
while ( fgets(line, 160, f) != NULL ) {
+ char* s;
sscanf(line, "disk%s %s", disk, filename);
+ /* cut the extension */
+ s = strstr (filename, ".tar.");
+ if ( !s ) s = strstr (filename, ".gem");
+ if ( s ) *s = 0;
if ( !strncmp(filename, pkgdir, strlen(pkgdir)) )
memdb_put(&files_on_disks, filename, disk);
if ( atoi(disk) > max_disk_number )

146
archiver/mine/gasgui-any-archiver.patch

@ -0,0 +1,146 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/gasgui-any-archiver.patch
# Copyright (C) 2005 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Likewise allow handling of any compressed tarball.
- Rene Rebe <rene@exactcode.de>
--- mine-0.23/gasgui.c 2005-03-23 09:51:06.000000000 +0100
+++ mine-0.23-patched/gasgui.c 2005-12-18 19:17:08.000000000 +0100
@@ -39,6 +39,8 @@
char * sourcedir = "/mnt/cdrom0";
char * sourceopt = "ro";
+char * sourcefmt = "tar.bz2";
+
char * mine_command = "mine";
char * mine_fopt = "";
@@ -68,6 +70,7 @@
" -D Read package db and dump the memory DB as tree (debug).\n"
" -T Don't really execute 'mine', print commands instead (debug).\n"
" -F Start mine with the '-f' option (used by install scripts).\n"
+" -S Source format, e.g. tar.bz2, tar.gz or gem\n"
"\n"
);
}
@@ -110,27 +113,27 @@
char command[1024];
while ( !strncmp(sourcedir, "http://", 7) || !strncmp(sourcedir, "ftp://", 6) ) {
- snprintf(gemfile, 1024, "%s/%s-%s.gem",
- targetdir, p->name, p->version);
+ snprintf(gemfile, 1024, "%s/%s-%s.%s",
+ targetdir, p->name, p->version, sourcefmt);
- snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s-%s.gem'",
- gemfile, sourcedir, config, p->name, p->version);
+ snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s-%s.%s'",
+ gemfile, sourcedir, config, p->name, p->version, sourcefmt);
system(command);
snprintf(command, 1024, "test -s '%s' || rm -f %s", gemfile, gemfile);
system(command);
if ( !access(gemfile, F_OK) ) return gemfile;
- snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s.gem'",
- gemfile, sourcedir, config, p->name);
+ snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s.%s'",
+ gemfile, sourcedir, config, p->name, sourcefmt);
system(command);
snprintf(command, 1024, "test -s '%s' || rm -f %s", gemfile, gemfile);
system(command);
if ( !access(gemfile, F_OK) ) return gemfile;
- printf("Can't find: %s/%s/pkgs/%s-%s.gem\n",
- sourcedir, config, p->name, p->version);
- printf("Can't find: %s/%s/pkgs/%s.gem\n",
- sourcedir, config, p->name);
+ printf("Can't find: %s/%s/pkgs/%s-%s.%s\n",
+ sourcedir, config, p->name, p->version, sourcefmt);
+ printf("Can't find: %s/%s/pkgs/%s.%s\n",
+ sourcedir, config, p->name, sourcefmt);
printf("Not found on webserver: %s\n\n", p->name);
while (1) {
printf("Skip or Retry (default=Retry) > ");
@@ -143,12 +146,12 @@
}
while (1) {
- snprintf(gemfile, 1024, "%s/%s/pkgs/%s-%s.gem",
- sourcedir, config, p->name, p->version);
+ snprintf(gemfile, 1024, "%s/%s/pkgs/%s-%s.%s",
+ sourcedir, config, p->name, p->version, sourcefmt);
if ( !access(gemfile, F_OK) ) return gemfile;
- snprintf(gemfile, 1024, "%s/%s/pkgs/%s.gem",
- sourcedir, config, p->name);
+ snprintf(gemfile, 1024, "%s/%s/pkgs/%s.%s",
+ sourcedir, config, p->name, sourcefmt);
if ( !access(gemfile, F_OK) ) return gemfile;
/* looks like there are sometimes races with asyncrounously running mine subprocesses or something
@@ -156,10 +159,10 @@
snprintf(command, 1024, "umount -v %s &> /dev/null || { sleep 1; umount -v %s; }", sourcedir, sourcedir);
system(command);
- printf("Can't find: %s/%s/pkgs/%s-%s.gem\n",
- sourcedir, config, p->name, p->version);
- printf("Can't find: %s/%s/pkgs/%s.gem\n",
- sourcedir, config, p->name);
+ printf("Can't find: %s/%s/pkgs/%s-%s.%s\n",
+ sourcedir, config, p->name, p->version, sourcefmt);
+ printf("Can't find: %s/%s/pkgs/%s.%s\n",
+ sourcedir, config, p->name, sourcefmt);
printf("Not found on current disk: %s\n\n", p->name);
printf("Please insert Disk #%d and press ENTER.\n\n",
p->disk_number);
@@ -174,12 +177,12 @@
eject_disk ();
}
- snprintf(gemfile, 1024, "%s/%s/pkgs/%s-%s.gem",
- sourcedir, config, p->name, p->version);
+ snprintf(gemfile, 1024, "%s/%s/pkgs/%s-%s.%s",
+ sourcedir, config, p->name, p->version, sourcefmt);
if ( !access(gemfile, F_OK) ) return gemfile;
- snprintf(gemfile, 1024, "%s/%s/pkgs/%s.gem",
- sourcedir, config, p->name);
+ snprintf(gemfile, 1024, "%s/%s/pkgs/%s.%s",
+ sourcedir, config, p->name, sourcefmt);
if ( !access(gemfile, F_OK) ) return gemfile;
snprintf(command, 1024, "mount -v -o %s %s %s",
@@ -237,7 +240,7 @@
struct package *p;
int opt, disk;
- while ( (opt = getopt(argc, argv, "c:t:d:s:o:DTF")) != -1 ) {
+ while ( (opt = getopt(argc, argv, "c:t:d:s:o:S:DTF")) != -1 ) {
switch (opt) {
case 'c':
config = optarg;
@@ -263,6 +266,9 @@
case 'F':
mine_fopt = "-f";
break;
+ case 'S':
+ sourcefmt = optarg;
+ break;
default:
help();
return 0;

25
archiver/mine/install_static.patch

@ -0,0 +1,25 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/install_static.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./Makefile.orig 2005-04-14 14:10:06.917896488 -0400
+++ ./Makefile 2005-04-14 14:10:31.174208968 -0400
@@ -93,6 +93,7 @@
install: all
install mine $(sysprefix)/bin/mine
+ install mine.static $(sysprefix)/bin/mine.static
install tarbz2gem.sh $(prefix)/sbin/tarbz2gem
install rocket.sh $(prefix)/sbin/rocket
ifeq ($(USE_GAS), 1)

25
archiver/mine/mine.cache

@ -0,0 +1,25 @@
[TIMESTAMP] 1133942854 Wed Dec 7 09:07:34 2005
[BUILDTIME] 10 (9)
[SIZE] 0.70 MB, 18 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] dialog
[DEP] diffutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] ncurses
[DEP] net-tools
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

32
archiver/mine/mine.conf

@ -0,0 +1,32 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/mine.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
makeopt="$makeopt CONFOPT=\"--build=\$arch_build --host=\$arch_target --cache-file=../config.cache\""
makeinstopt="$makeinstopt sysprefix=$root"
if atstage native && [ -f $root/var/adm/packages/dialog ]; then
makeopt="$makeopt USE_GAS=1"
makeinstopt="$makeinstopt USE_GAS=1"
else
makeopt="$makeopt USE_GAS=0"
makeinstopt="$makeinstopt USE_GAS=0"
hook_add premake 5 "create_config_cache > config.cache"
fi
var_append makeinstopt " " "prefix=$root/$prefix sysprefix=$root/"
# new ROCK 2.1 features inroduce regressions in the package.db with
# versions ending with a space
var_append GCC_WRAPPER_INSERT ' ' -DROCK20

36
archiver/mine/mine.desc

@ -0,0 +1,36 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../mine/mine.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] The ROCK Linux Package Manager
[T] ROCK Linux binary packages can be stored as simple .tar.bz2 files or as
[T] 'gem' package files. The tool 'mine' is used to install, update, remove
[T] and create such 'gem' packages.
[A] Clifford Wolf <clifford@clifford.at>
[M] The OpenSDE Community <list@opensde.org>
[F] NOPARALLEL
[C] base/setup
[L] GPL
[S] Stable
[V] 0.23
[P] X 01---5---9 114.300
[D] 2372097410 mine-0.23.tar.bz2 http://www.rocklinux.net/people/clifford/GEM-MINE/

32
archiver/mine/ncurses.patch

@ -0,0 +1,32 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mine/ncurses.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
link against ncurses, not just curses. libcurses was not found.
missing compatibility link?
amery
--- ./Makefile.orig 2006-09-06 11:12:35.000000000 +0000
+++ ./Makefile 2006-09-06 11:12:46.000000000 +0000
@@ -89,7 +89,7 @@
$(CC) $(MINE_ALL_OBJS) -static -o mine.static
gasgui: $(GAS_OBJ)
- $(CC) $(GAS_OBJ) -ldialog -lcurses -lm -o gasgui
+ $(CC) $(GAS_OBJ) -ldialog -lncurses -lm -o gasgui
install: all
install mine $(sysprefix)/bin/mine

53
archiver/mine/net-install.patch

@ -0,0 +1,53 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/net-install.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Of course we do not want curl in one place and wget at the other, also
there is no wget in the second stange anymore ...
- Rene Rebe <rene@exactcode.de>
diff -ur mine-0.23/gasgui.c mine-0.23-fixed/gasgui.c
--- mine-0.23/gasgui.c 2006-06-30 18:20:36.000000000 +0200
+++ mine-0.23-fixed/gasgui.c 2006-06-30 20:02:47.000000000 +0200
@@ -116,14 +116,14 @@
snprintf(gemfile, 1024, "%s/%s-%s.%s",
targetdir, p->name, p->version, sourcefmt);
- snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s-%s.%s'",
+ snprintf(command, 1024, "curl -s -S -o '%s' '%s/%s/pkgs/%s-%s.%s'",
gemfile, sourcedir, config, p->name, p->version, sourcefmt);
system(command);
snprintf(command, 1024, "test -s '%s' || rm -f %s", gemfile, gemfile);
system(command);
if ( !access(gemfile, F_OK) ) return gemfile;
- snprintf(command, 1024, "wget -O '%s' -q '%s/%s/pkgs/%s.%s'",
+ snprintf(command, 1024, "curl -s -S -o '%s' '%s/%s/pkgs/%s.%s'",
gemfile, sourcedir, config, p->name, sourcefmt);
system(command);
snprintf(command, 1024, "test -s '%s' || rm -f %s", gemfile, gemfile);
diff -ur mine-0.23/readdb.c mine-0.23-fixed/readdb.c
--- mine-0.23/readdb.c 2006-06-30 18:20:36.000000000 +0200
+++ mine-0.23-fixed/readdb.c 2006-06-30 18:10:59.000000000 +0200
@@ -441,7 +441,7 @@
snprintf(filename, PATH_MAX, "gzip -d < %s/%s/pkgs/packages.db",
sourcedir, config);
else
- snprintf(filename, PATH_MAX, "wget -O - -nv %s/%s/pkgs/packages.db | gzip -d",
+ snprintf(filename, PATH_MAX, "curl -s -S %s/%s/pkgs/packages.db | gzip -d",
sourcedir, config);
if ( (f = popen(filename, "r")) != NULL ) {
char *package, line[160];

51
archiver/mine/sanitize-retry-skip.patch

@ -0,0 +1,51 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../mine/sanitize-retry-skip.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Mark the default choise more obviously front (also alphabetically -
beside the Eject case).
- Rene Rebe <rene@exactcode.de>
diff -ur mine-0.23-vanilla/gasgui.c mine-0.23/gasgui.c
--- mine-0.23-vanilla/gasgui.c 2005-03-23 09:51:06.000000000 +0100
+++ mine-0.23/gasgui.c 2006-05-29 16:22:40.000000000 +0200
@@ -133,7 +133,7 @@
sourcedir, config, p->name);
printf("Not found on webserver: %s\n\n", p->name);
while (1) {
- printf("Skip or Retry (default=Retry) > ");
+ printf("Retry or Skip (default=Retry) > ");
fflush(stdout);
fgets(command, 1024, stdin);
if ( command[0] == 0 || command[0] == '\n' ||
@@ -164,7 +164,7 @@
printf("Please insert Disk #%d and press ENTER.\n\n",
p->disk_number);
while (1) {
- printf("Skip, Retry or Eject disk (default=Retry) > ");
+ printf("Retry, Eject or Skip disk (default=Retry) > ");
fflush(stdout);
fgets(command, 1024, stdin);
if ( command[0] == 0 || command[0] == '\n' ||
@@ -212,7 +212,7 @@
if ( rc ) {
printf("Error while installing package %s!\n\n", p->name);
while (1) {
- printf("Skip or Retry (default=Retry) > ");
+ printf("Retry or Skip (default=Retry) > ");
fflush(stdout);
fgets(command, 1024, stdin);
if ( command[0] == 0 || command[0] == '\n' ||

29
archiver/ncompress/CVE-2006-1168.patch

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ncompress/CVE-2006-1168.patch
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
diff -Nur ncompress-4.2.4-orig/compress42.c ncompress-4.2.4/compress42.c
--- ncompress-4.2.4-orig/compress42.c 1992-10-28 13:10:53.000000000 +0200
+++ ncompress-4.2.4/compress42.c 2006-08-16 11:02:28.000000000 +0300
@@ -1737,7 +1737,7 @@
code = oldcode;
}
- while ((cmp_code_int)code >= (cmp_code_int)256)
+ while ((cmp_code_int)code >= (cmp_code_int)256 && stackp >= &htabof(0))
{ /* Generate output characters in reverse order */
*--stackp = tab_suffixof(code);
code = tab_prefixof(code);

42
archiver/ncompress/config.patch

@ -0,0 +1,42 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../ncompress/config.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
ncompress uses a really nice build script with a few evil bugs ...
- Clifford
--- ./build Wed Oct 28 12:10:53 1992
+++ ./build.new Mon Aug 31 21:25:22 1998
@@ -278,8 +278,6 @@
[ -f /usr/include/sys/dir.h ] && { SYSDIR=yes; }
[ -f /usr/include/dirent.h ] && { DIRENT=yes; }
[ -f /usr/include/utime.h ] && { UTIME_H=yes; }
- [ -d /usr/local/bin ] && { BINDIR=/usr/local/bin; }
- [ -d /usr/local/man ] && { BINDIR=/usr/local/man/man1; }
[ -f /usr/bin/compress ] && { BINDIR=/usr/bin; }
if [ ".${CC}" = . ]
@@ -790,7 +788,7 @@
compress: Makefile compress42.c patchlevel.h
- $(CC) -o compress $(options) "-DCOMPILE_DATE=\"\`date\`\"" compress42.c $(LBOPT)
+ \$(CC) -o compress \$(options) "-DCOMPILE_DATE=\\"\`date\`\\"" compress42.c \$(LBOPT)
install: compress
[ -f \$(BINDIR)/compress ] && \\

49
archiver/ncompress/gcc34.patch

@ -0,0 +1,49 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../ncompress/gcc34.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
Some glibc-2.3.4 / gcc-3.4 changes.
- Rene Rebe <rene@exactcode.de>
--- ncompress-4.2.4/compress42.c.orig 2004-05-03 19:39:12.000000000 +0200
+++ ncompress-4.2.4/compress42.c 2004-05-03 19:42:08.000000000 +0200
@@ -172,7 +172,7 @@
extern void *malloc LARGS((int));
extern void free LARGS((void *));
#ifndef _IBMR2
- extern int open LARGS((char const *,int,...));
+ /* extern int open LARGS((const char *,int,...)); */
#endif
extern int close LARGS((int));
extern int read LARGS((int,void *,int));
@@ -638,7 +638,7 @@
} ;
#endif
-void main ARGS((int,char **));
+int main ARGS((int,char **));
void Usage ARGS((void));
void comprexx ARGS((char **));
void compdir ARGS((char *));
@@ -691,7 +691,7 @@
* deterministic, and can be done on the fly. Thus, the decompression
* procedure needs no input table, but tracks the way the table was built.
*/
-void
+int
main(argc, argv)
REG1 int argc;
REG2 char *argv[];

20
archiver/ncompress/ncompress.cache

@ -0,0 +1,20 @@
[TIMESTAMP] 1133887233 Tue Dec 6 17:40:33 2005
[BUILDTIME] 5 (9)
[SIZE] 0.05 MB, 13 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] ncurses
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

26
archiver/ncompress/ncompress.conf

@ -0,0 +1,26 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../ncompress/ncompress.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
nc_main() {
echo -en 'genmake\nq\n' | ./build
eval $MAKE compress
rm -f /usr/bin/compress /usr/bin/uncompress
cp compress /usr/bin/compress
ln -s /usr/bin/compress /usr/bin/uncompress
cp compress.1 /usr/share/man/man1/
}
custmain="nc_main"

36
archiver/ncompress/ncompress.desc

@ -0,0 +1,36 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../ncompress/ncompress.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] An improved version of compress
[T] Compress is a fast, simple LZW file compressor. Compress does not have
[T] the highest compression rate, but it is one of the fastest programs to
[T] compress data. Compress is the defacto standard in the UNIX community
[T] for compressing files.
[A] Peter Jannesen <peter@ncs.nl>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] OpenSource
[S] Stable
[V] 4.2.4-1
[P] X -----5---9 110.500
[D] 4270318534 ncompress-4.2.4-1.tar.gz !ftp://ftp.uni-bremen.de/pub/mirrors/sunsite/utils/compress/ncompress-4.2.4.tar.gz

37
archiver/partimage/hotfix-fs_xfs-__u64.patch

@ -0,0 +1,37 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../partimage/hotfix-fs_xfs-__u64.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./src/client/fs/fs_xfs.h.orig 2006-09-28 15:02:20.000000000 +0200
+++ ./src/client/fs/fs_xfs.h 2006-09-28 16:07:57.000000000 +0200
@@ -150,13 +150,13 @@
typedef __uint64_t xfs_dfiloff_t; // block number in a file
typedef __uint64_t xfs_dfilblks_t; // number of blocks in a file
-typedef uint64_t __u64;
-typedef int64_t __s64;
+//typedef uint64_t __u64;
+//typedef int64_t __s64;
-typedef __u64 xfs_off_t;
+typedef uint64_t xfs_off_t;
//typedef __s32 xfs32_off_t;
-typedef __u64 xfs_ino_t; // <inode> type
-typedef __s64 xfs_daddr_t; // <disk address> type
+typedef uint64_t xfs_ino_t; // <inode> type
+typedef int64_t xfs_daddr_t; // <disk address> type
typedef char * xfs_caddr_t; // <core address> type
typedef off_t linux_off_t;
//typedef __kernel_ino_t linux_ino_t;

36
archiver/partimage/partimage.cache

@ -0,0 +1,36 @@
[TIMESTAMP] 1133957545 Wed Dec 7 13:12:25 2005
[BUILDTIME] 20 (9)
[SIZE] 1.04 MB, 76 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] file
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] gettext
[DEP] glibc
[DEP] gnutls
[DEP] grep
[DEP] libgcrypt
[DEP] libgpg-error
[DEP] libprelude
[DEP] libtasn1
[DEP] linux-header
[DEP] m4
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] newt
[DEP] pam
[DEP] sed
[DEP] slang
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] zlib

21
archiver/partimage/partimage.conf

@ -0,0 +1,21 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../partimage/partimage.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ] ; then
prefix="opt/partimage"
set_confopt
fi
var_append extraconfopt " " "--disable-ssl"

37
archiver/partimage/partimage.desc

@ -0,0 +1,37 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../partimage/partimage.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A utility to save partitions into an image file
[T] Partition Image is a utility to save partitions (ext2/3fs, reiserfs,
[T] fat16, fat32, hpfs, ntfs) into an image file. Only used blocks of the
[T] partition are saved, and the image can be compressed in gzip or bzip2
[T] format. You can split the image into small files.
[U] http://www.partimage.org
[A] Francois Dupoux
[A] Franck Ladurelle <ladurelf@partimage.org>
[M] Aldas Nabazas <baldzius@gmail.com>
[C] extra/tool
[L] GPL
[S] Beta
[V] 0.6.5_beta3
[P] X -----5---9 120.200
[D] 943718575 partimage-0.6.5_beta3.tar.bz2 http://dl.sourceforge.net/sourceforge/partimage/

33
archiver/partimage/partimage.init

@ -0,0 +1,33 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../partimage/partimage.init
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
#
# T2 SDE /etc/rc.d/init.d/partimage
#
# Desc: Partimage daemon
# Runlevel: 80 rcX
#
main_begin
block_begin(start, `Starting Partimage daemon.')
check(`D_sbindir/partimaged -D')
block_end
block_begin(stop, `Stopping Partimage daemon.')
check(`killall partimaged')
block_end
main_end

17
archiver/partimage/postsysfiles.in

@ -0,0 +1,17 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../partimage/postsysfiles.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
safe_groupadd partimag 81
safe_useradd partimag 81 81 "Partimage daemon" /var/empty /bin/false "*"

27
archiver/rpm/configdir-fix.patch

@ -0,0 +1,27 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/configdir-fix.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
diff -Naur rpm-4.1.orig/configure.ac rpm-4.1/configure.ac
--- rpm-4.1.orig/configure.ac 2002-08-22 20:01:34.000000000 +0300
+++ rpm-4.1/configure.ac 2005-03-25 09:49:24.617917216 +0200
@@ -1138,7 +1138,7 @@
AC_SUBST(LOCALEDIR)
LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`"
AC_SUBST(LIBDIR)
-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
+RPMCONFIGDIR="`echo ${libdir}/rpm`"
AC_DEFINE_UNQUOTED(RPMCONFIGDIR, "$RPMCONFIGDIR",
[Full path to rpm global configuration directory (usually /usr/lib/rpm)])
AC_SUBST(RPMCONFIGDIR)

37
archiver/rpm/gcc34.patch

@ -0,0 +1,37 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/gcc34.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- rpm-4.1/lib/rpminstall.c.vanilla 2004-06-28 09:43:21.867093080 +0200
+++ rpm-4.1/lib/rpminstall.c 2004-06-28 09:43:46.076412704 +0200
@@ -724,7 +724,7 @@
/*@=bounds@*/
int rpmErase(rpmts ts,
- const struct rpmInstallArguments_s * ia,
+ struct rpmInstallArguments_s * ia,
const char ** argv)
{
int count;
--- rpm-4.1/lib/rpmcli.h.vanilla 2004-06-28 09:44:37.724560992 +0200
+++ rpm-4.1/lib/rpmcli.h 2004-06-28 09:44:56.856652472 +0200
@@ -557,7 +557,7 @@
* @param argv array of package file names (NULL terminated)
* @return 0 on success
*/
-int rpmErase(rpmts ts, const struct rpmInstallArguments_s * ia,
+int rpmErase(rpmts ts, struct rpmInstallArguments_s * ia,
/*@null@*/ const char ** argv)
/*@globals rpmGlobalMacroContext, fileSystem, internalState @*/
/*@modifies ts, ia, rpmGlobalMacroContext,

38
archiver/rpm/no_install_beecrypt.patch

@ -0,0 +1,38 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/no_install_beecrypt.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- rpm-4.1/beecrypt/Makefile.in.orig 2006-01-30 02:52:49.000000000 +0100
+++ rpm-4.1/beecrypt/Makefile.in 2006-01-30 02:53:50.000000000 +0100
@@ -532,14 +532,14 @@
check-am: all-am
check: check-recursive
all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
-installdirs: installdirs-recursive
+installdirs:
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(pkgincludedir)
-install: install-recursive
-install-exec: install-exec-recursive
-install-data: install-data-recursive
-uninstall: uninstall-recursive
+install:
+install-exec:
+install-data:
+uninstall:
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

28
archiver/rpm/no_install_libelf.patch

@ -0,0 +1,28 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/no_install_libelf.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./libelf/Makefile.in.orig 2003-01-06 22:08:11.000000000 +0100
+++ ./libelf/Makefile.in 2003-01-06 22:08:13.000000000 +0100
@@ -379,7 +379,7 @@
installdirs: installdirs-recursive
installdirs-am:
-install: install-recursive
+install: # install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

29
archiver/rpm/no_install_popt.patch

@ -0,0 +1,29 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/no_install_popt.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./popt/Makefile.in.orig 2003-01-07 12:51:56.000000000 +0100
+++ ./popt/Makefile.in 2003-01-07 12:52:18.000000000 +0100
@@ -680,7 +680,8 @@
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(man3dir) $(DESTDIR)$(includedir)
-install: install-recursive
+install:
+# install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

54
archiver/rpm/no_src_redhat.patch

@ -0,0 +1,54 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/no_src_redhat.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./Makefile.in.orig Fri Feb 15 00:58:07 2002
+++ ./Makefile.in Sun Mar 24 23:13:34 2002
@@ -918,34 +918,6 @@
rm -f $(DESTDIR)$(bindir)/rpm$$bf ; \
@LN_S@ ../lib/rpm/rpm$$bf $(DESTDIR)$(bindir)/rpm$$bf ; \
done
- @for dir in BUILD RPMS SOURCES SPECS SRPMS ; do\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/$$dir;\
- done
- @case "@host_cpu@" in \
- *86) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i386 ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i486 ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i586 ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/i686 ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/athlon ;;\
- alpha*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/alpha ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/alphaev6 ;;\
- sparc*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparc ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparcv9 ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/sparc64 ;;\
- ia64*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ia64 ;;\
- s390*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/s390 ;;\
- mipsel*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/mipsel ;;\
- mips*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/mips ;;\
- powerpc*) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ppc ;\
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/ppc64 ;;\
- *) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/@host_cpu@ ;;\
- esac
- $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/noarch
- @case "@host_os@" in \
- mint) $(mkinstalldirs) $(DESTDIR)$(pkgsrcdir)/RPMS/m68kmint ;;\
- solaris*|linux*) \
- chmod u+x ./installplatform; DESTDIR="$(DESTDIR)" pkglibdir="$(pkglibdir)" ./installplatform rpmrc macros platform ;; \
- esac
@$(mkinstalldirs) $(DESTDIR)/var/tmp
.PHONY: setperms

221
archiver/rpm/python24.patch

@ -0,0 +1,221 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/python24.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
diff -Nur rpm-4.1.orig/lib/rpmts.h rpm-4.1/lib/rpmts.h
--- rpm-4.1.orig/lib/rpmts.h 2002-08-23 21:35:49.000000000 +0200
+++ rpm-4.1/lib/rpmts.h 2005-10-09 14:40:22.000000000 +0300
@@ -10,7 +10,7 @@
/*@-exportlocal@*/
/*@unchecked@*/
-extern int _rpmts_debug;
+/*extern int _rpmts_debug;
/*@unchecked@*/
extern int _fps_debug;
/*@=exportlocal@*/
diff -Nur rpm-4.1.orig/python/header-py.c rpm-4.1/python/header-py.c
--- rpm-4.1.orig/python/header-py.c 2002-08-08 01:19:10.000000000 +0200
+++ rpm-4.1/python/header-py.c 2005-10-09 13:33:35.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/header-py.c
*/
-#include "system.h"
-
#include "Python.h"
+
+#undef _POSIX_C_SOURCE
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
@@ -429,7 +430,7 @@
while (extensions->name) {
if (extensions->type == HEADER_EXT_TAG
&& !xstrcasecmp(extensions->name + 7, str)) {
- (const struct headerSprintfExtension *) ext = extensions;
+ ext = extensions;
}
extensions++;
}
diff -Nur rpm-4.1.orig/python/rpmal-py.c rpm-4.1/python/rpmal-py.c
--- rpm-4.1.orig/python/rpmal-py.c 2002-07-14 23:24:28.000000000 +0200
+++ rpm-4.1/python/rpmal-py.c 2005-10-09 12:38:39.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmal-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmdb-py.c rpm-4.1/python/rpmdb-py.c
--- rpm-4.1.orig/python/rpmdb-py.c 2002-07-25 19:03:12.000000000 +0200
+++ rpm-4.1/python/rpmdb-py.c 2005-10-09 13:49:23.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmdb-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmds-py.c rpm-4.1/python/rpmds-py.c
--- rpm-4.1.orig/python/rpmds-py.c 2002-07-19 22:26:39.000000000 +0200
+++ rpm-4.1/python/rpmds-py.c 2005-10-09 13:49:52.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmds-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmfd-py.c rpm-4.1/python/rpmfd-py.c
--- rpm-4.1.orig/python/rpmfd-py.c 2002-07-14 23:24:28.000000000 +0200
+++ rpm-4.1/python/rpmfd-py.c 2005-10-09 13:50:21.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmfd-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmfi-py.c rpm-4.1/python/rpmfi-py.c
--- rpm-4.1.orig/python/rpmfi-py.c 2002-08-19 20:51:24.000000000 +0200
+++ rpm-4.1/python/rpmfi-py.c 2005-10-09 13:50:44.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmfi-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmmi-py.c rpm-4.1/python/rpmmi-py.c
--- rpm-4.1.orig/python/rpmmi-py.c 2002-08-10 01:14:10.000000000 +0200
+++ rpm-4.1/python/rpmmi-py.c 2005-10-09 13:51:07.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmmi-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmmodule.c rpm-4.1/python/rpmmodule.c
--- rpm-4.1.orig/python/rpmmodule.c 2002-08-13 18:37:52.000000000 +0200
+++ rpm-4.1/python/rpmmodule.c 2005-10-09 13:21:01.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmmodule.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
@@ -422,7 +423,7 @@
while (extensions->name) {
if (extensions->type == HEADER_EXT_TAG) {
- (const struct headerSprintfExtension *) ext = extensions;
+ ext = extensions;
PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
Py_DECREF(o);
PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
diff -Nur rpm-4.1.orig/python/rpmrc-py.c rpm-4.1/python/rpmrc-py.c
--- rpm-4.1.orig/python/rpmrc-py.c 2002-08-05 23:46:52.000000000 +0200
+++ rpm-4.1/python/rpmrc-py.c 2005-10-09 13:41:44.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmrc-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmte-py.c rpm-4.1/python/rpmte-py.c
--- rpm-4.1.orig/python/rpmte-py.c 2002-07-14 23:24:29.000000000 +0200
+++ rpm-4.1/python/rpmte-py.c 2005-10-09 13:48:27.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmte-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;
diff -Nur rpm-4.1.orig/python/rpmts-py.c rpm-4.1/python/rpmts-py.c
--- rpm-4.1.orig/python/rpmts-py.c 2002-09-03 14:26:09.000000000 +0200
+++ rpm-4.1/python/rpmts-py.c 2005-10-09 14:39:57.000000000 +0300
@@ -2,9 +2,10 @@
* \file python/rpmts-py.c
*/
-#include "system.h"
-
#include "Python.h"
+#undef _POSIX_C_SOURCE
+
+#include "system.h"
#ifdef __LCLINT__
#undef PyObject_HEAD
#define PyObject_HEAD int _PyObjectHead;

35
archiver/rpm/rpm.cache

@ -0,0 +1,35 @@
[TIMESTAMP] 1134016901 Thu Dec 8 05:41:41 2005
[BUILDTIME] 170 (9) ERROR
[SIZE] 7.65 MB, 226 files
[DEP] 00-dirtree
[DEP] autoconf
[DEP] bash
[DEP] beecrypt
[DEP] binutils
[DEP] bison
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] doxygen
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] gettext
[DEP] glibc
[DEP] grep
[DEP] libelf
[DEP] linux-header
[DEP] m4
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] patch
[DEP] perl
[DEP] python
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] zlib

25
archiver/rpm/rpm.conf

@ -0,0 +1,25 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../rpm/rpm.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
configprefix="LDFLAGS=-L$libdir"
var_append confopt " " "--with-python=2.4"
# rpm make doesn't like CC
var_remove_regex makeopt ' ' 'CC=.*'
# to fix:
# rpmrc.c:908: error: can't find a register in class `BREG' while reloading `asm'
var_append GCC_WRAPPER_APPEND " " "-DPIC"

36
archiver/rpm/rpm.desc

@ -0,0 +1,36 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../rpm/rpm.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] The RedHat Package Manager
[T] RPM is the RedHat Package Manager. ROCK Linux is _not_ based on RPM
[T] Packages. The program is only here for compatibility reasons.
[A] Erik Troan <ewt@redhat.com>
[A] Marc Ewing <marc@redhat.com>
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] FPIC-QUIRK
[L] GPL
[S] Stable
[V] 4.1
[P] X -----5---9 138.600
[D] 4089338970 rpm-4.1.tar.gz ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/

20
archiver/rzip/rzip.cache

@ -0,0 +1,20 @@
[TIMESTAMP] 1133883226 Tue Dec 6 16:33:46 2005
[BUILDTIME] 5 (9)
[SIZE] 0.12 MB, 10 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar

35
archiver/rzip/rzip.desc

@ -0,0 +1,35 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../rzip/rzip.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] An precompressor using bzip2 as backend
[T] Rzip is a compression program, similar in functionality to gzip or bzip2,
[T] but able to take advantage long distance redundencies in files, which can
[T] sometimes allow rzip to produce much better compression ratios than other
[T] programs.
[A] Andrew Tridgell
[A] Paul Russell
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[L] GPL
[S] Stable
[V] 2.1
[P] X -----5---9 108.600
[D] 3120756568 rzip-2.1.tar.gz http://rzip.samba.org/ftp/rzip/

26
archiver/taper/install_man.patch

@ -0,0 +1,26 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../taper/install_man.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- taper-6.9b/Makefile.orig 2005-09-06 12:58:10.000000000 -0700
+++ taper-6.9b/Makefile 2005-09-06 12:58:33.000000000 -0700
@@ -83,7 +83,7 @@
install --mode 755 --strip taper $(BINDIR)
install --mode 755 --strip bg_backup $(BINDIR)
install --mode 755 --strip bg_restore $(BINDIR)
- install --mode 644 docs/taper.8 $(MANDIR)
+ install -D --mode 644 docs/taper.8 $(MANDIR)/taper.8
ln -sf $(BINDIR)/taper $(ALTBIN)/taper
ln -sf $(BINDIR)/bg_backup $(ALTBIN)/bg_backup
ln -sf $(BINDIR)/bg_restore $(ALTBIN)/bg_restore

21
archiver/taper/taper.cache

@ -0,0 +1,21 @@
[TIMESTAMP] 1134254107 Sat Dec 10 23:35:07 2005
[BUILDTIME] 10 (9)
[SIZE] 0.40 MB, 15 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] ncurses
[DEP] patch
[DEP] sed
[DEP] sysfiles
[DEP] tar

41
archiver/taper/taper.desc

@ -0,0 +1,41 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../taper/taper.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] Tape backup and restore program with a friendly user interface
[T] Taper is a tape backup and restore program that provides a friendly user
[T] interface to allow backing/restoring files to a tape drive. Alternatively,
[T] files can be backed up to hard disk files. Selecting files for backup and
[T] restore is very similar to the Midnight Commander interface and allows easy
[T] traversal of directories. Recursively selected directories are supported.
[T] Incremental backup and automatic most recent restore are defaults settings.
[T] SCSI, ftape, zftape, and removable drives are supported.
[U] http://taper.sourceforge.net/
[A] Yusuf Nagree <yusuf@nagree.net>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 6.9b
[P] X -----5---9 193.600
[D] 3175851679 taper-6.9b.tar.gz http://dl.sourceforge.net/sourceforge/taper/

29
archiver/tar/compar_does_not_need_fd.h.patch

@ -0,0 +1,29 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/compar_does_not_need_fd.h.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./src/compare.c.orig 2004-06-24 13:49:08.444825752 +0200
+++ ./src/compare.c 2004-06-24 13:47:15.575984424 +0200
@@ -31,9 +31,11 @@
};
#endif
+#if 0
#if HAVE_LINUX_FD_H
# include <linux/fd.h>
#endif
+#endif
#include <quotearg.h>

25
archiver/tar/fix_getdate_c.patch

@ -0,0 +1,25 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/fix_getdate_c.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./lib/getdate.c.orig 2004-06-24 13:40:15.672819408 +0200
+++ ./lib/getdate.c 2004-06-24 13:43:11.842037616 +0200
@@ -54,6 +54,7 @@
#endif
#include <alloca.h>
+#include <stdio.h>
/* Since the code of getdate.y is not included in the Emacs executable
itself, there is no need to #define static in this file. Even if

356
archiver/tar/tar-1.13.18-manpage.patch

@ -0,0 +1,356 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/tar-1.13.18-manpage.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./tar.1.manpage Mon Oct 30 12:52:03 2000
+++ ./tar.1 Mon Oct 30 12:56:15 2000
@@ -0,0 +1,336 @@
+.\" @(#)tar.1 1.13.14 2000/10/30 Bero;
+.TH TAR 1 "30 October 2000"
+.SH NAME
+tar \- The GNU version of the tar archiving utility
+.SH SYNOPSIS
+.B tar
+[
+.B \-
+]
+.B A --catenate --concatenate \||\| c --create \||\| d --diff --compare \||\| r --append \||\| t --list \||\| u --update \||\| x -extract --get
+[
+.B --atime-preserve
+]
+[
+.B -b, --block-size N
+]
+[
+.B -B, --read-full-blocks
+]
+[
+.B -C, --directory DIR
+]
+[
+.B --checkpoint
+]
+[
+.B -f, --file [HOSTNAME:]F
+]
+[
+.B --force-local
+]
+[
+.B -F, --info-script F --new-volume-script F
+]
+[
+.B -G, --incremental
+]
+[
+.B -g, --listed-incremental F
+]
+[
+.B -h, --dereference
+]
+[
+.B -i, --ignore-zeros
+]
+[
+.B -j, -I, --bzip
+]
+[
+.B --ignore-failed-read
+]
+[
+.B -k, --keep-old-files
+]
+[
+.B -K, --starting-file F
+]
+[
+.B -l, --one-file-system
+]
+[
+.B -L, --tape-length N
+]
+[
+.B -m, --modification-time
+]
+[
+.B -M, --multi-volume
+]
+[
+.B -N, --after-date DATE, --newer DATE
+]
+[
+.B -o, --old-archive, --portability
+]
+[
+.B -O, --to-stdout
+]
+[
+.B -p, --same-permissions, --preserve-permissions
+]
+[
+.B -P, --absolute-paths
+]
+[
+.B --preserve
+]
+[
+.B -R, --record-number
+]
+[
+.B --remove-files
+]
+[
+.B -s, --same-order, --preserve-order
+]
+[
+.B --same-owner
+]
+[
+.B -S, --sparse
+]
+[
+.B -T, --files-from=F
+]
+[
+.B --null
+]
+[
+.B --totals
+]
+[
+.B -v, --verbose
+]
+[
+.B -V, --label NAME
+]
+[
+.B --version
+]
+[
+.B -w, --interactive, --confirmation
+]
+[
+.B -W, --verify
+]
+[
+.B --exclude FILE
+]
+[
+.B -X, --exclude-from FILE
+]
+[
+.B -Z, --compress, --uncompress
+]
+[
+.B -z, --gzip, --ungzip
+]
+[
+.B --use-compress-program PROG
+]
+[
+.B --block-compress
+]
+[
+.B -[0-7][lmh]
+]
+.TP
+.I filename1 [ filename2, ... filenameN ]
+.TP
+.I directory1 [ directory2, ...directoryN ]
+.SH DESCRIPTION
+.LP
+This manual page documents the GNU version of
+.B tar
+, an archiving program designed to store and extract files from
+an archive file known as a
+.IR tarfile.
+A
+.IR tarfile
+may be made on a tape drive, however, it is also common
+to write a
+.IR tarfile
+to a normal file.
+The first argument to
+.B tar
+must be one of the options:
+.BR Acdrtux ,
+followed by any optional functions.
+The final arguments to
+.B tar
+are the names of the files or directories which should be archived. The use
+of a directory name always implies that the subdirectories below should be
+included in the archive.
+.SH "FUNCTION LETTERS"
+.TP
+.B One of the following options must be used:
+.TP
+.B -A, --catenate, --concatenate
+append tar files to an archive
+.TP
+.B -c, --create
+create a new archive
+.TP
+.B -d, --diff, --compare
+find differences between archive and file system
+.TP
+.B --delete
+delete from the archive (not for use on mag tapes!)
+.TP
+.B -r, --append
+append files to the end of an archive
+.TP
+.B -t, --list
+list the contents of an archive
+.TP
+.B -u, --update
+only append files that are newer than copy in archive
+.TP
+.B -x, --extract, --get
+extract files from an archive
+.SH "OTHER OPTIONS"
+.TP
+.B --atime-preserve
+don't change access times on dumped files
+.TP
+.B -b, --block-size N
+block size of Nx512 bytes (default N=20)
+.TP
+.B -B, --read-full-blocks
+reblock as we read (for reading 4.2BSD pipes)
+.TP
+.B -C, --directory DIR
+change to directory DIR
+.TP
+.B --checkpoint
+print directory names while reading the archive
+.TP
+.B -f, --file [HOSTNAME:]F
+use archive file or device F (default /dev/rmt0)
+.TP
+.B --force-local
+archive file is local even if has a colon
+.TP
+.B -F, --info-script F --new-volume-script F
+run script at end of each tape (implies -M)
+.TP
+.B -G, --incremental
+create/list/extract old GNU-format incremental backup
+.TP
+.B -g, --listed-incremental F
+create/list/extract new GNU-format incremental backup
+.TP
+.B -h, --dereference
+don't dump symlinks; dump the files they point to
+.TP
+.B -i, --ignore-zeros
+ignore blocks of zeros in archive (normally mean EOF)
+.TP
+.B -j, -I, --bzip
+filter the archive through bzip2. Note: -I is deprecated and may get a
+different meaning in the near future.
+.TP
+.B --ignore-failed-read
+don't exit with non-zero status on unreadable files
+.TP
+.B -k, --keep-old-files
+keep existing files; don't overwrite them from archive
+.TP
+.B -K, --starting-file F
+begin at file F in the archive
+.TP
+.B -l, --one-file-system
+stay in local file system when creating an archive
+.TP
+.B -L, --tape-length N
+change tapes after writing N*1024 bytes
+.TP
+.B -m, --modification-time
+don't extract file modified time
+.TP
+.B -M, --multi-volume
+create/list/extract multi-volume archive
+.TP
+.B -N, --after-date DATE, --newer DATE
+only store files newer than DATE
+.TP
+.B -o, --old-archive, --portability
+write a V7 format archive, rather than ANSI format
+.TP
+.B -O, --to-stdout
+extract files to standard output
+.TP
+.B -p, --same-permissions, --preserve-permissions
+extract all protection information
+.TP
+.B -P, --absolute-paths
+don't strip leading `/'s from file names
+.TP
+.B --preserve
+like -p -s
+.TP
+.B -R, --record-number
+show record number within archive with each message
+.TP
+.B --remove-files
+remove files after adding them to the archive
+.TP
+.B -s, --same-order, --preserve-order
+list of names to extract is sorted to match archive
+.TP
+.B --same-owner
+create extracted files with the same ownership
+.TP
+.B -S, --sparse
+handle sparse files efficiently
+.TP
+.B -T, --files-from=F
+get names to extract or create from file F
+.TP
+.B --null
+-T reads null-terminated names, disable -C
+.TP
+.B --totals
+print total bytes written with --create
+.TP
+.B -v, --verbose
+verbosely list files processed
+.TP
+.B -V, --label NAME
+create archive with volume name NAME
+.TP
+.B --version
+print tar program version number
+.TP
+.B -w, --interactive, --confirmation
+ask for confirmation for every action
+.TP
+.B -W, --verify
+attempt to verify the archive after writing it
+.TP
+.B --exclude FILE
+exclude file FILE
+.TP
+.B -X, --exclude-from FILE
+exclude files listed in FILE
+.TP
+.B -Z, --compress, --uncompress
+filter the archive through compress
+.TP
+.B -z, --gzip, --ungzip
+filter the archive through gzip
+.TP
+.B --use-compress-program PROG
+filter the archive through PROG (which must accept -d)

59
archiver/tar/tar-bzip2.patch

@ -0,0 +1,59 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/tar-bzip2.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
This adds some historic compatibility for -I and -y to tar. One day we should
obsolete this ...
- Rene Rebe <rene@exactcode.de>
--- tar-1.15/src/tar.c 2004-12-18 21:01:07.000000000 +0100
+++ tar-1.15-patched/src/tar.c 2004-12-22 08:27:07.469445784 +0100
@@ -431,6 +431,10 @@
N_("create archive with volume name NAME. At list/extract time, use TEXT as a globbing pattern"), 68 },
{"bzip2", 'j', 0, 0,
N_("filter the archive through bzip2"), 68 },
+ {"bzip2", 'I', 0, 0,
+ N_("filter the archive through bzip2"), 68 },
+ {"bzip2", 'y', 0, 0,
+ N_("filter the archive through bzip2"), 68 },
{"gzip", 'z', 0, 0,
N_("filter the archive through gzip"), 68 },
{"gunzip", 0, 0, OPTION_ALIAS, NULL, 68 },
@@ -709,11 +713,9 @@
break;
case 'I':
- USAGE_ERROR ((0, 0,
- _("Warning: the -I option is not supported;"
- " perhaps you meant -j or -T?")));
+ set_use_compress_program_option ("bzip2");
break;
-
+
case 'j':
set_use_compress_program_option ("bzip2");
break;
@@ -901,9 +903,7 @@
break;
case 'y':
- USAGE_ERROR ((0, 0,
- _("Warning: the -y option is not supported;"
- " perhaps you meant -j?")));
+ set_use_compress_program_option ("bzip2");
break;
case 'z':

25
archiver/tar/tar.cache

@ -0,0 +1,25 @@
[TIMESTAMP] 1133882439 Tue Dec 6 16:20:39 2005
[BUILDTIME] 25 (9)
[SIZE] 2.04 MB, 54 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] gettext
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] patch
[DEP] perl
[DEP] sed
[DEP] sysfiles
[DEP] util-linux

25
archiver/tar/tar.conf

@ -0,0 +1,25 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../tar/tar.conf
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
var_append confopt ' ' '-C'
if ! atstage toolchain; then
hook_add postmake 5 "mv -v $root/usr/bin/tar $root/bin/tar ; \
install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/"
fi
# we never want this file
var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,.*/lib/charset.alias,/tmp/x,'"

38
archiver/tar/tar.desc

@ -0,0 +1,38 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../tar/tar.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] The GNU Tape ARchiver program
[T] GNU 'tar' saves many files together into a single tape or disk
[T] archive, and can restore individual files from the archive. It includes
[T] multivolume support, the ability to archive sparse files, automatic archive
[T] compression/decompression, remote archives and special features that allow
[T] 'tar' to be used for incremental and full backups.
[A] John Gilmore and Jay Fenlason
[M] The OpenSDE Community <list@opensde.org>
[C] base/tool
[F] DIETLIBC
[L] GPL
[S] Stable
[V] 1.15.1
[P] X 01---5---9 108.300
[D] 2115219120 tar-1.15.1.tar.bz2 ftp://ftp.gnu.org/gnu/tar/

24
archiver/tnef/tnef.cache

@ -0,0 +1,24 @@
[TIMESTAMP] 1133796773 Mon Dec 5 16:32:53 2005
[BUILDTIME] 10 (5)
[SIZE] 0.16 MB, 19 files
[DEP] 00-dirtree
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

38
archiver/tnef/tnef.desc

@ -0,0 +1,38 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../tnef/tnef.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A program for unpacking ms-tnef type MIME attachments
[T] TNEF provides a way to unpack those pesky Microsoft MS-TNEF MIME
[T] attachments. It operates like tar in order to upack any files which may
[T] have been put into the MS-TNEF attachment instead of being attached
[T] seperately.
[U] http://sourceforge.net/projects/tnef
[A] Mark Simpson <damned@world.std.com>
[M] Alejandro Mery <amery@opensde.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 1.4.3
[P] X -----5---9 800.000
[D] 3218269831 tnef-1.4.3.tar.gz http://dl.sourceforge.net/sourceforge/tnef/

22
archiver/ucl/ucl.cache

@ -0,0 +1,22 @@
[TIMESTAMP] 1134256896 Sun Dec 11 00:21:36 2005
[BUILDTIME] 25 (9)
[SIZE] 0.22 MB, 20 files
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] findutils
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] make
[DEP] mktemp
[DEP] net-tools
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux

39
archiver/ucl/ucl.desc

@ -0,0 +1,39 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../ucl/ucl.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A portable lossless data compression library
[T] UCL is a portable lossless data compression library written in ANSI C.
[T] Both the source code and the compressed data format are designed to
[T] be portable across platforms. UCL supports in-place decompression. It
[T] implements a number of compression algorithms that achieve an excellent
[T] compression ratio while allowing very fast decompression. Decompression
[T] requires no additional memory.
[U] http://www.oberhumer.com/opensource/ucl/
[A] Markus F.X.J. Oberhumer <markus@oberhumer.com>
[M] The OpenSDE Community <list@opensde.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 1.03
[P] X -----5---9 195.000
[D] 1980717669 ucl-1.03.tar.gz http://www.oberhumer.com/opensource/ucl/download/

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save