-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7f43b05
Showing
587 changed files
with
10,284 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
( | ||
|
||
if [ "$ENABLE_LARGEFILE" == "y" ]; then | ||
CFLAGS+=" \$(BIGFILES)" | ||
fi | ||
|
||
sedit "s/^CFLAGS=.*$/CFLAGS=$CFLAGS -fPIC/" Makefile && | ||
sedit "s/ln/ln -f/" Makefile && | ||
sedit "s/\$(PREFIX)\/man/\$(PREFIX)\/share\/man/g" Makefile && | ||
|
||
# Makefile hack to not install static lib | ||
sedit "s/all: libbz2.a/all:/g" Makefile && | ||
sedit "s/bzip2: libbz2.a/bzip2:/g" Makefile && | ||
sedit "/cp -f libbz2.a/d" Makefile && | ||
sedit "/chmod a+r \$(PREFIX)\/lib\/libbz2.a/d" Makefile && | ||
|
||
# build shared lib first so the app part will | ||
# not complain about the missing static lib | ||
make -f Makefile-libbz2_so PREFIX=/usr && | ||
make PREFIX=/usr && | ||
|
||
prepare_install && | ||
make PREFIX=/usr install && | ||
|
||
# shared libs have to be installed separately | ||
install -m755 libbz2.so.1.0.6 /usr/lib/libbz2.so.1.0.6 && | ||
ln -sf /usr/lib/libbz2.so.1.0.6 /usr/lib/libbz2.so.1.0 && | ||
ln -sf /usr/lib/libbz2.so.1.0 /usr/lib/libbz2.so.1 && | ||
ln -sf /usr/lib/libbz2.so.1 /usr/lib/libbz2.so && | ||
|
||
strip /usr/bin/bzip2 /usr/bin/bzip2recover /usr/bin/bzcat /usr/bin/bunzip2 | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mquery ENABLE_LARGEFILE "Enable large file support?" y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
MODULE=bzip2 | ||
VERSION=1.0.6 | ||
SOURCE=$MODULE-$VERSION.tar.gz | ||
SOURCE_URL=http://www.bzip.org/$VERSION | ||
SOURCE_VFY=sha1:3f89f861209ce81a6bab1fd1998c0ef311712002 | ||
WEB_SITE=http://www.bzip.org | ||
ENTERED=20020218 | ||
UPDATED=20080920 | ||
SHORT="High-quality data compressor" | ||
|
||
cat << EOF | ||
Bzip2 is a freely available, patent free (see below), high-quality data | ||
compressor. It typically compresses files to within 10% to 15% of the | ||
best available techniques (the PPM family of statistical compressors), | ||
whilst being around twice as fast at compression and six times faster | ||
at decompression. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
( | ||
|
||
default_config && | ||
if module_installed mt-st ; then | ||
sedit 's/install:: installdirs all/install:: installdirs/' Makefile && | ||
make cpio rmt | ||
else | ||
make | ||
fi && | ||
prepare_install && | ||
make install | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
optional_depends "mt-st" "" "" "To use the BSD mt instead of the GNU-linux mt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
MODULE=cpio | ||
VERSION=2.11 | ||
SOURCE=$MODULE-$VERSION.tar.bz2 | ||
SOURCE_URL[0]=$GNU_URL/$MODULE | ||
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/$MODULE | ||
SOURCE_VFY=sha1:6f1934b0079dc1e85ddff89cabdf01adb3a74abb | ||
WEB_SITE=http://www.gnu.org/software/cpio/cpio.html | ||
ENTERED=20011004 | ||
UPDATED=20100711 | ||
SHORT="cpio creates cpio archives and have rmt" | ||
|
||
cat << EOF | ||
GNU cpio - Creates cpio or tar archives and provides rmt. | ||
cpio equivalent to tar with a couple of buts and depends. | ||
this also provides the rmt command. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
install-info --delete cpio --info-dir /usr/info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
( | ||
|
||
./configure --build=$BUILD \ | ||
--prefix=/usr \ | ||
--bindir=/bin \ | ||
--infodir=/usr/share/info \ | ||
--mandir=/usr/share/man \ | ||
$OPTS && | ||
|
||
default_make | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
MODULE=gzip | ||
VERSION=1.4 | ||
SOURCE=$MODULE-$VERSION.tar.gz | ||
SOURCE_URL[0]=ftp://ftp.gnu.org/pub/gnu/$MODULE | ||
SOURCE_URL[1]=http://www.funet.fi/pub/gnu/alpha/gnu/$MODULE | ||
SOURCE_VFY=sha1:1d398dac6a7920a7de6e2685fe472a840eb2ce6e | ||
WEB_SITE=http://www.gzip.org | ||
ENTERED=20010922 | ||
UPDATED=20100121 | ||
SHORT="Compression utility designed to replace compress" | ||
|
||
cat << EOF | ||
gzip - Compresses and decompresses files | ||
A compression utility designed to replace compress. Much better | ||
compression and freedom from patented algorithms are its main advantages | ||
over compress. Gzip decompresses files created by gzip, compress, or | ||
pack; it detects the input format automatically. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
install-info --delete gzip --info-dir /usr/info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
depends bzip2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
MODULE=pbzip2 | ||
VERSION=1.1.6 | ||
SOURCE=$MODULE-$VERSION.tar.gz | ||
SOURCE_URL=http://compression.ca/pbzip2 | ||
SOURCE_VFY=sha1:3b4d0ffa3ac362c3702793cc5d9e61664d468aeb | ||
WEB_SITE=http://compression.ca/pbzip2 | ||
ENTERED=20110221 | ||
UPDATED=20111102 | ||
SHORT="parallel implementation of the bzip2 compressor" | ||
|
||
cat << EOF | ||
pbzip2 is a parallel implementation of the bzip2 block-sorting | ||
file compressor that uses pthreads and achieves near-linear | ||
speedup on SMP machines. The output of this version is fully | ||
compatible with bzip2 v1.0.2 or newer (ie: anything compressed | ||
with pbzip2 can be decompressed with bzip2). | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
( | ||
|
||
cp ${SOURCE_CACHE}/$SOURCE2 rpm2cpio && | ||
patch_it $SOURCE3 0 && | ||
make && | ||
prepare_install && | ||
install -m755 -s rpmunpack /usr/bin/ && | ||
|
||
if ! module_installed rpm && ! module_installed rpm-old ; then | ||
# rpm module provides /usr/bin/rpm2cpio | ||
install -m755 rpm2cpio /usr/bin/ | ||
fi | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
depends cpio | ||
depends xz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MODULE=rpmunpack | ||
VERSION=0 | ||
SOURCE=$MODULE.tar.gz | ||
SOURCE2=rpm2cpio | ||
SOURCE3=rpmunpack_lzma-2.patch | ||
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE | ||
SOURCE_URL=http://www.ibiblio.org/pub/Linux/utils/package | ||
SOURCE2_URL=http://www.iagora.com/~espel | ||
SOURCE3_URL=$PATCH_URL | ||
SOURCE_VFY=sha1:2ac43b6727d149c64347faade0827ec0f7a839e2 | ||
SOURCE2_VFY=sha1:e100284331132245b9dbb9e9c11af7d41e65940f | ||
SOURCE3_VFY=sha1:3a9f9109c7e2aeaa06d9136b2ec0efc3921c970b | ||
WEB_SITE=unknown | ||
ENTERED=20011017 | ||
UPDATED=20100417 | ||
SHORT="Program to extract an archive from a RPM file" | ||
|
||
cat << EOF | ||
This program converts rpm archives to cpio archives for cpio or afio. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
############################################################# | ||
# # | ||
# unpack-rpm.plugin - generic plugin that unpacks rpmfiles # | ||
# # | ||
############################################################# | ||
# # | ||
# Copyright 2005 by Auke Kok under GPLv2 # | ||
# Copyright 2009 by Stefan Wold under GPLv2 # | ||
# # | ||
############################################################# | ||
|
||
|
||
plugin_unpack_rpm() { | ||
case $1 in | ||
*.rpm) | ||
if [ ! -x /usr/bin/rpm2cpio ]; then | ||
message "${PROBLEM_COLOR}! Cannot unpack rpm files without ${MODULE_COLOR}rpmunpack${DEFAULT_COLOR}${PROBLEM_COLOR} installed${DEFAULT_COLOR}"; | ||
exit 1 | ||
fi | ||
debug_msg "Unpacking rpm file \"$1\"" | ||
rpm2cpio $1 | cpio -idm || return 1 | ||
;; | ||
*) | ||
# fallback: we don't know what to do! | ||
return 2 | ||
;; | ||
esac | ||
# return success! | ||
return 0 | ||
} | ||
|
||
|
||
plugin_register SOURCE_UNPACK plugin_unpack_rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
( | ||
|
||
export FORCE_UNSAFE_CONFIGURE=1 && | ||
cp $SOURCE_CACHE/$SOURCE2 tar.1.gz && | ||
# this sedit restores the tar --list to its older 1.15.1 format | ||
sedit "s/tartime (st->mtime, false)/tartime (st->mtime, true)/" src/list.c && | ||
./configure --build=$BUILD \ | ||
--prefix=/usr \ | ||
--libexecdir=/bin \ | ||
--bindir=/bin \ | ||
--infodir=/usr/share/info \ | ||
$OPTS && | ||
default_make | ||
install -c -m644 tar.1.gz /usr/share/man/man1 | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# actually optional, but since most sources are archived | ||
# as *.tar.gz or *.tar.bz2 we're setting both to required | ||
depends gzip | ||
depends bzip2 | ||
|
||
optional_depends "pbzip2" "--with-bzip2=/usr/bin/pbzip2" "" "for parallel bzip2 (de)compression (speedup on multi-core systems)" | ||
optional_depends "xz" "--with-xz=/usr/bin/xz" "" "for xz compression support" | ||
optional_depends "lzip" "--with-lzip=/usr/bin/lzip" "" "for lzip compression support" | ||
optional_depends "texinfo" "" "" "for info docs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
MODULE=tar | ||
VERSION=1.26 | ||
SOURCE=$MODULE-$VERSION.tar.bz2 | ||
SOURCE2=$MODULE.1-1.26.gz | ||
SOURCE_URL[0]=$GNU_URL/$MODULE | ||
SOURCE_URL[1]=ftp://ftp.gnu.org/gnu/$MODULE | ||
SOURCE2_URL=$PATCH_URL | ||
SOURCE_VFY=sha1:70f298c3cd997b694864c55e6d8655324c87a0cc | ||
SOURCE2_VFY=sha1:b1c90348615507bf8c5c281705090f69be365082 | ||
WEB_SITE=http://www.gnu.org/software/tar/tar.html | ||
ENTERED=20010922 | ||
UPDATED=20110417 | ||
SHORT="Creates GNU tar archives" | ||
|
||
cat << EOF | ||
GNU tar - Creates tar archives | ||
Can create tar archives, as well as other forms of manipulation. For | ||
example, you can use tar on previously created archives to extract | ||
files, store additional files, or update or list files which were | ||
already stored. | ||
Tar can direct its output to available devices, files, or other programs | ||
(using pipes); tar can even access remote devices or files (as | ||
archives). | ||
The program saves many files together into a single tape or disk | ||
archive, and can restore individual files from the archive. It includes | ||
multivolume support, the ability to archive sparse files, automatic | ||
archive compression/decompression, remote archives and special features | ||
that allow 'tar' to be used for incremental and full backups. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
install-info --delete tar --info-dir /usr/share/info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
( | ||
|
||
sedit "s/-O3/$CFLAGS/" unix/configure unix/Makefile && | ||
sedit "s/MANDIR = \$(prefix)\/man/MANDIR = \$(prefix)\/share\/man/" unix/Makefile && | ||
sedit 's@/usr/local@/usr@g' unix/Makefile unix/configure && | ||
cp -rf unix/* . && | ||
./configure && | ||
make linux_shlib && | ||
make linux && | ||
prepare_install && | ||
make install && | ||
cp -af libunzip.s* /usr/lib && | ||
gather_docs BUGS WHERE ToDo | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
( | ||
|
||
sedit "s/-O3/$CFLAGS/" unix/configure unix/Makefile && | ||
sedit "s/MANDIR = \$(prefix)\/man/MANDIR = \$(prefix)\/share\/man/" unix/Makefile && | ||
sedit 's@/usr/local@/usr@g' unix/Makefile unix/configure && | ||
cp -rf unix/* . && | ||
./configure && | ||
#make linux_shlib && | ||
make linux_noasm && | ||
prepare_install && | ||
make install && | ||
#cp -af libunzip.s* /usr/lib && | ||
gather_docs BUGS WHERE ToDo | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
MODULE=unzip | ||
VERSION=60 | ||
SOURCE=$MODULE$VERSION.tar.gz | ||
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE$VERSION | ||
SOURCE_URL[0]=$SFORGE_URL/infozip/ | ||
SOURCE_VFY=sha1:abf7de8a4018a983590ed6f5cbd990d4740f8a22 | ||
WEB_SITE=http://www.info-zip.org/UnZip.html | ||
ENTERED=20010922 | ||
UPDATED=20090525 | ||
SHORT="PKWARE compatible decompressor" | ||
|
||
cat << EOF | ||
Info-ZIP's purpose is to provide free, portable, high-quality versions | ||
of the Zip and UnZip compressor-archiver utilities that are compatible | ||
with the DOS-based PKZIP by PKWARE, Inc. | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
############################################################# | ||
# # | ||
# unpack-zip.plugin - generic plugin that unpacks zipfiles # | ||
# # | ||
############################################################# | ||
# # | ||
# Copyright 2005 by Auke Kok under GPLv2 # | ||
# # | ||
############################################################# | ||
|
||
|
||
plugin_unpack_zip() { | ||
case $1 in | ||
*.zip) | ||
if [ ! -x /usr/bin/unzip ]; then | ||
message "${PROBLEM_COLOR}! Cannot unpack zip-files without ${MODULE_COLOR}unzip${DEFAULT_COLOR}${PROBLEM_COLOR} installed${DEFAULT_COLOR}"; | ||
exit 1 | ||
fi | ||
debug_msg "Unpacking zip file \"$1\"" | ||
unzip -q -o $1 || return 1 | ||
;; | ||
*) | ||
# fallback: we don't know what to do! | ||
return 2 | ||
;; | ||
esac | ||
# return success! | ||
return 0 | ||
} | ||
|
||
|
||
plugin_register SOURCE_UNPACK plugin_unpack_zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
( | ||
|
||
sedit "s:\$(libdir)/pkgconfig:/usr/lib/pkgconfig:" src/liblzma/Makefile.am src/liblzma/Makefile.in && | ||
|
||
OPTS+=" --disable-static --libdir=/lib " && | ||
|
||
default_build | ||
|
||
) > $C_FIFO 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
depends pkgconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
MODULE=xz | ||
VERSION=5.0.3 | ||
SOURCE=$MODULE-$VERSION.tar.bz2 | ||
SOURCE_URL=http://tukaani.org/$MODULE | ||
SOURCE_VFY=sha1:79661fd1c24603437e325d76732046b1da683b32 | ||
WEB_SITE=http://tukaani.org/xz | ||
ENTERED=20090224 | ||
UPDATED=20120304 | ||
SHORT="Utils for XZ archive format" | ||
|
||
cat << EOF | ||
XZ Utils (new name for the improved format/tools) is the successor to lzma. | ||
New suffix, ".xz" replaces ".lzma". Note the better-compressed tar ball name | ||
has the ".xz" suffix instead of lzma. | ||
EOF |
Oops, something went wrong.