mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
More modded PKGBUILDs x2
This commit is contained in:
parent
6709bd8150
commit
c610cec5bd
51 changed files with 138 additions and 1590 deletions
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=diffutils
|
||||
pkgver=2.8.1
|
||||
|
@ -8,15 +9,15 @@ arch=(arm)
|
|||
license=('GPL')
|
||||
groups=('base')
|
||||
url="http://www.gnu.org/software/diffutils"
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('71f9c5ae19b60608f6c7f162da86a428')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/diffutils-${pkgver}
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man --infodir=/usr/share/info || return 1
|
||||
./configure --prefix=/opt \
|
||||
--mandir=/opt/share/man --infodir=/opt/share/info || return 1
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=dropbear
|
||||
pkgver=0.52
|
||||
|
@ -15,20 +16,18 @@ md5sums=('a1fc7adf601bca53330a792a9c873439')
|
|||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
./configure --prefix=/usr --disable-shadow \
|
||||
./configure --prefix=/opt --disable-shadow \
|
||||
--disable-lastlog --disable-utmp --disable-utmpx \
|
||||
--disable-wtmp --disable-wtmpx --disable-loginfunc \
|
||||
--disable-pututline --disable-pututxline || return 1
|
||||
make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
|
||||
MULTI=1 || return 1
|
||||
#we are using dropbears multibinary compilation, so make install won't work
|
||||
#just copy the binary and the create the links
|
||||
cd $pkgdir
|
||||
mkdir -p usr/bin
|
||||
install -m644 $srcdir/$pkgname-$pkgver/dropbearmulti usr/bin/
|
||||
ln -s usr/bin/dropbearmulti usr/bin/dropbear
|
||||
ln -s usr/bin/dropbearmulti usr/bin/dbclient
|
||||
ln -s usr/bin/dropbearmulti usr/bin/dropbearkey
|
||||
ln -s usr/bin/dropbearmulti usr/bin/dropbearconvert
|
||||
ln -s usr/bin/dropbearmulti usr/bin/scp
|
||||
mkdir -p opt/bin
|
||||
install -m644 $srcdir/$pkgname-$pkgver/dropbearmulti opt/bin/
|
||||
ln -s opt/bin/dropbearmulti opt/bin/dropbear
|
||||
ln -s opt/bin/dropbearmulti opt/bin/dbclient
|
||||
ln -s opt/bin/dropbearmulti opt/bin/dropbearkey
|
||||
ln -s opt/bin/dropbearmulti opt/bin/dropbearconvert
|
||||
ln -s opt/bin/dropbearmulti opt/bin/scp
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
# Does not work? Clock skew detected while cross-compiling.
|
||||
|
||||
pkgname=e2fsprogs
|
||||
pkgver=1.41.4
|
||||
|
@ -8,11 +10,11 @@ arch=('arm')
|
|||
license=('GPL' 'LGPL' 'MIT')
|
||||
url="http://e2fsprogs.sourceforge.net"
|
||||
groups=('base')
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
makedepends=('bc' 'gawk' 'make')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
||||
'Makefile-fsck.static.patch')
|
||||
backup=('etc/mke2fs.conf')
|
||||
backup=('opt/etc/mke2fs.conf')
|
||||
md5sums=('59033388df36987d2b9c9bbf7e19bd57'
|
||||
'ce2b0daf84e17e8c7880ba3d43020ea3')
|
||||
|
||||
|
@ -22,7 +24,7 @@ build() {
|
|||
# Remove unnecessary init.d directory
|
||||
sed -i '/init\.d/s|^|#|' misc/Makefile.in
|
||||
|
||||
./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs
|
||||
./configure --prefix=/opt --with-root-prefix="" --enable-elf-shlibs
|
||||
|
||||
# add fsck.static for mkinitrd use
|
||||
patch -Np1 -i ../Makefile-fsck.static.patch || return 1
|
||||
|
@ -32,8 +34,7 @@ build() {
|
|||
make -C ${srcdir}/${pkgname}-${pkgver}/misc fsck.static || return 1
|
||||
|
||||
install -D -m755 ${srcdir}/${pkgname}-${pkgver}/misc/fsck.static \
|
||||
${pkgdir}/sbin/fsck.static || return 1
|
||||
${pkgdir}/opt/sbin/fsck.static || return 1
|
||||
|
||||
sed -i -e 's/^AWK=.*/AWK=awk/' ${pkgdir}/usr/bin/compile_et || return 1
|
||||
sed -i -e 's/^AWK=.*/AWK=awk/' ${pkgdir}/opt/bin/compile_et || return 1
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=eventlog
|
||||
pkgver=0.2.9
|
||||
|
@ -7,7 +8,7 @@ pkgdesc="A new API to format and send structured log messages"
|
|||
arch=(arm)
|
||||
url="http://www.balabit.com/support/community/products/"
|
||||
license=('BSD')
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
options=('!libtool')
|
||||
source=(http://www.balabit.com/downloads/files/eventlog/${pkgver%.*}/eventlog_${pkgver}.tar.gz)
|
||||
md5sums=('76e3d7a0b8f335c12099e9b91191fbf1')
|
||||
|
@ -15,9 +16,9 @@ sha1sums=('2cc6a4d1dc07ab84832f2cd44822ee7b339deb51')
|
|||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
|
||||
./configure --prefix=/opt --sysconfdir=/opt/etc --localstatedir=/opt/var || return 1
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $Id: PKGBUILD 16357 2008-10-21 12:43:42Z jgc $
|
||||
# Maintainer: dorphell <dorphell@archlinux.org>
|
||||
# Committer: Judd Vinet <jvinet@zeroflux.org>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=expat
|
||||
pkgver=2.0.1
|
||||
|
@ -8,7 +8,7 @@ pkgrel=2
|
|||
pkgdesc="An XML Parser library written in C"
|
||||
arch=(arm)
|
||||
license=('custom')
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
options=('!libtool')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
|
||||
url="http://expat.sourceforge.net/"
|
||||
|
@ -16,9 +16,9 @@ md5sums=('ee8b492592568805593f81f8cdf2a04c')
|
|||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
||||
./configure --prefix=/opt --mandir=/opt/share/man || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
||||
install -m755 -d "${pkgdir}/opt/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/opt/share/licenses/${pkgname}/" || return 1
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=fakeroot
|
||||
pkgver=1.12.4
|
||||
|
@ -9,17 +10,17 @@ license=('GPL')
|
|||
url="http://packages.debian.org/fakeroot"
|
||||
groups=('base-devel')
|
||||
install=fakeroot.install
|
||||
depends=('glibc' 'filesystem' 'grep' 'sed' 'sh')
|
||||
depends=('grep' 'sed')
|
||||
options=('!libtool')
|
||||
source=(http://ftp.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz)
|
||||
md5sums=('aaefede2405a40c87438e7e833d69b70')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot \
|
||||
./configure --prefix=/opt --libdir=/opt/lib/libfakeroot \
|
||||
--disable-static --with-ipc=sysv
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
# install README for sysv/tcp usage
|
||||
install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/usr/share/doc/$pkgname/README
|
||||
install -Dm644 $srcdir/$pkgname-$pkgver/README $pkgdir/opt/share/doc/$pkgname/README
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
# Modified by OpenPogo
|
||||
# arg 1: the new package version
|
||||
post_install() {
|
||||
if [ ! "`grep /usr/lib/libfakeroot etc/ld.so.conf`" ]; then
|
||||
echo -n "updating /etc/ld.so.conf... "
|
||||
echo "/usr/lib/libfakeroot" >>etc/ld.so.conf
|
||||
if [ ! "`grep /opt/lib/libfakeroot opt/etc/ld.so.conf`" ]; then
|
||||
echo -n "updating /opt/etc/ld.so.conf... "
|
||||
echo "/opt/lib/libfakeroot" >>opt/etc/ld.so.conf
|
||||
sbin/ldconfig -r .
|
||||
echo "done."
|
||||
fi
|
||||
|
@ -18,8 +19,8 @@ post_upgrade() {
|
|||
|
||||
# arg 1: the old package version
|
||||
pre_remove() {
|
||||
echo -ne "\nupdating /etc/ld.so.conf... "
|
||||
sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
|
||||
echo -ne "\nupdating /opt/etc/ld.so.conf... "
|
||||
sed -i -e '/\/opt\/lib\/libfakeroot/d' opt/etc/ld.so.conf
|
||||
sbin/ldconfig -r .
|
||||
echo "done."
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=file
|
||||
pkgver=5.00
|
||||
|
@ -8,7 +9,7 @@ arch=('arm')
|
|||
license=('custom')
|
||||
groups=('base-devel')
|
||||
url="http://www.darwinsys.com/file/"
|
||||
depends=('glibc' 'zlib')
|
||||
depends=('zlib')
|
||||
options=('!libtool')
|
||||
source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('fd0b4ce55a756151629e06eaa3411e0c')
|
||||
|
@ -16,11 +17,9 @@ md5sums=('fd0b4ce55a756151629e06eaa3411e0c')
|
|||
build() {
|
||||
cd ${srcdir}/file-$pkgver
|
||||
|
||||
./configure --prefix=/usr --datadir=/usr/share/misc
|
||||
./configure --prefix=/opt --datadir=/opt/share/misc
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
|
||||
install -D -m644 COPYING ${pkgdir}/opt/share/licenses/${pkgname}/COPYING
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
|
|
|
@ -1,88 +0,0 @@
|
|||
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
pkgname=filesystem
|
||||
pkgver=2009.01
|
||||
pkgrel=3
|
||||
pkgdesc="Base filesystem"
|
||||
arch=(arm)
|
||||
license=('GPL')
|
||||
url="http://www.archlinux.org"
|
||||
groups=('base')
|
||||
install=filesystem.install
|
||||
#depends=('sh' 'coreutils')
|
||||
backup=(etc/fstab etc/crypttab etc/group etc/hosts etc/ld.so.conf etc/passwd
|
||||
etc/shadow etc/gshadow etc/resolv.conf etc/motd etc/nsswitch.conf
|
||||
etc/shells etc/host.conf etc/securetty etc/profile etc/issue)
|
||||
source=(group issue nsswitch.conf securetty host.conf ld.so.conf
|
||||
passwd shadow fstab crypttab hosts motd resolv.conf shells
|
||||
gshadow services protocols profile modprobe.d.usb-load-ehci-first)
|
||||
md5sums=('f4cf8d0a2de2658165148d5f64d81675'
|
||||
'1bdc5dba66947d74866a5df8ce9ef3b1'
|
||||
'775464ba7588b4976e0c2a02b83123f4'
|
||||
'655071da46d2ac03e0fb8a071bf193ea'
|
||||
'f28150d4c0b22a017be51b9f7f9977ed'
|
||||
'2c24792d97ef3cf0d73b60d4c429730b'
|
||||
'8a9042a2cedf6b6b47eb8973f14289cb'
|
||||
'46bc1c4b941f19c1505102bb5bbddb8c'
|
||||
'9af6f8ff49738b15de40e7aee8ee6fed'
|
||||
'e5d8323a4dbee7a6d0d2a19cbf4b819f'
|
||||
'81b3cb42a6ddabc2ed2310511ee9c859'
|
||||
'd41d8cd98f00b204e9800998ecf8427e'
|
||||
'934962f05e8d50af883901ea076f4660'
|
||||
'40dac0de4c6b99c8ca97effbd7527c84'
|
||||
'ab9c2a40eba287b2918589ab8e0b2fbf'
|
||||
'f436d2e0ed02b7b73bd10c6693e95ac3'
|
||||
'65d78e621ed69eed69f854c3ee2e5942'
|
||||
'288a2e8d63c5ea2c2d852c7147e59d28'
|
||||
'8098ffd9fbf890468d3198277596b85a')
|
||||
|
||||
build()
|
||||
{
|
||||
cd $startdir/pkg
|
||||
mkdir -p bin boot dev etc home lib mnt proc root sbin tmp usr var opt srv sys
|
||||
chmod 555 proc
|
||||
mkdir -p media/{fl,cd,dvd}
|
||||
mkdir -p usr/{bin,include,lib,sbin,share/misc,src,man}
|
||||
|
||||
# fhs compliance
|
||||
mkdir -p usr/local/{bin,games,include,lib,man,sbin,share,src}
|
||||
ln -s ../man $startdir/pkg/usr/local/share/man
|
||||
mkdir -p var/{cache/man,local,lock,opt,run,spool/mail,tmp,games}
|
||||
chmod 1777 var/lock
|
||||
mkdir -p var/log/old
|
||||
mkdir -p etc/{skel,profile.d}
|
||||
mkdir -p lib/modules
|
||||
(cd $startdir/pkg/usr; ln -s ../var var)
|
||||
(cd $startdir/pkg/var; ln -s spool/mail mail)
|
||||
|
||||
# vsftpd won't run with write perms on /srv/ftp
|
||||
mkdir -p srv/ftp
|
||||
chown root.ftp srv/ftp
|
||||
chmod 555 srv/ftp
|
||||
|
||||
install -d -o root -g root -m 755 srv/http
|
||||
|
||||
chmod 1777 var/spool/mail tmp var/tmp
|
||||
chmod 0750 root
|
||||
|
||||
#Allow setgid games to write scores:
|
||||
chmod 775 ${startdir}/pkg/var/games
|
||||
chown root:50 ${startdir}/pkg/var/games
|
||||
|
||||
cd $startdir/src
|
||||
cp fstab crypttab group host.conf hosts issue ld.so.conf motd nsswitch.conf \
|
||||
passwd protocols resolv.conf securetty services shadow shells profile \
|
||||
$startdir/pkg/etc/
|
||||
install -m 600 $startdir/src/gshadow $startdir/pkg/etc/gshadow
|
||||
chmod 600 $startdir/pkg/etc/shadow
|
||||
chmod 600 $startdir/pkg/etc/crypttab
|
||||
|
||||
# no version any more
|
||||
#cat issue | sed "s/#VERSION#/$pkgver/" >$startdir/pkg/etc/issue
|
||||
|
||||
# re-add /etc/arch-release, some software uses it
|
||||
# to check whether arch is running
|
||||
touch $startdir/pkg/etc/arch-release
|
||||
|
||||
# Add /etc/modprobe.d/
|
||||
install -D -m644 ${srcdir}/modprobe.d.usb-load-ehci-first ${pkgdir}/etc/modprobe.d/usb-load-ehci-first
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
# crypttab: Mappings for encrypted partitions
|
||||
#
|
||||
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
|
||||
# should use the /dev/mapper/{NAME} paths for encrypted devices.
|
||||
#
|
||||
# Each PASSWORD field can be an absolute pathname to a key file (starting
|
||||
# with a slash, recommended) or a literal string that will be used as
|
||||
# a passphrase. To use special characters in the passphrase, surround it
|
||||
# by quotes, the usual bash quoting rules apply.
|
||||
# There are two special keywords that cannot be used as passphrases:
|
||||
# - ASK ask for a passphrase on boot
|
||||
# - SWAP use a random key and create a swapspace afterwards
|
||||
# WARNING: use the SWAP keyword carefully, as it overwrites the data
|
||||
# on the specified partition
|
||||
#
|
||||
# To create a key file:
|
||||
# hashalot -n 32 ripemd160 >/etc/crytfs.key
|
||||
# or
|
||||
# dd if=/dev/urandom of=/etc/cryptfs.key bs=256 count=1
|
||||
#
|
||||
# To pass additional options to cryptsetup for non-LUKS partitions, use the
|
||||
# fourth column.
|
||||
#
|
||||
# NOTE: Do not list your root (/) partition here, it must be set up
|
||||
# beforehand by the initramfs (/etc/mkinitcpio.conf).
|
||||
|
||||
|
||||
# NAME SOURCE DEVICE PASSWORD OPTIONS
|
||||
#home /dev/hda4 mypassword
|
||||
#data1 /dev/hda3 "my \"password\""
|
||||
#data2 /dev/hda5 /etc/cryptfs.key
|
||||
#swap /dev/hdx4 SWAP -c aes-cbc-essiv:sha256 -s 256
|
||||
#vol /dev/hdb7 ASK
|
|
@ -1,60 +0,0 @@
|
|||
# arg 1: the new package version
|
||||
post_install() {
|
||||
[ -f var/log/lastlog ] || : >var/log/lastlog
|
||||
[ -f var/log/wtmp ] || : >var/log/wtmp
|
||||
[ -f var/run/utmp ] || : >var/run/utmp
|
||||
[ -f var/log/btmp ] || (: >var/log/btmp && bin/chmod 600 var/log/btmp)
|
||||
# workaround for bug #7194
|
||||
# readded due to bug #9465
|
||||
# please do not remove!
|
||||
chmod 1777 var/spool/mail tmp var/tmp var/lock
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
if [ ! "`grep ^optical: etc/group`" ]; then
|
||||
echo "adding new groups: audio optical"
|
||||
usr/sbin/groupadd -g 92 audio >/dev/null
|
||||
usr/sbin/groupadd -g 93 optical >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^video: etc/group`" ]; then
|
||||
echo "adding new groups: video floppy storage"
|
||||
usr/sbin/groupadd -g 91 video >/dev/null
|
||||
usr/sbin/groupadd -g 94 floppy >/dev/null
|
||||
usr/sbin/groupadd -g 95 storage >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^log: etc/group`" ]; then
|
||||
echo "adding new group: log"
|
||||
usr/sbin/groupadd -g 19 log >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^power: etc/group`" ]; then
|
||||
echo "adding new group: power"
|
||||
usr/sbin/groupadd -g 98 power >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^network: etc/group`" ]; then
|
||||
echo "adding new group: network"
|
||||
usr/sbin/groupadd -g 90 network >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^games: etc/group`" ]; then
|
||||
echo "adding new group: games"
|
||||
usr/sbin/groupadd -g 50 games >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^uucp: etc/group`" ]; then
|
||||
echo "adding new group: uucp"
|
||||
usr/sbin/groupadd -g 14 uucp >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^http: etc/group`" ]; then
|
||||
echo "adding new group: http"
|
||||
usr/sbin/groupadd -g 33 http >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^http: etc/passwd`" ]; then
|
||||
echo "adding new user http"
|
||||
usr/sbin/useradd -u 33 -d /srv/http -g http -s /bin/false http >/dev/null
|
||||
fi
|
||||
if [ ! "`grep ^scanner: etc/group`" ]; then
|
||||
echo "adding new group: scanner"
|
||||
usr/sbin/groupadd -g 96 scanner >/dev/null
|
||||
fi
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
#
|
||||
# /etc/fstab: static file system information
|
||||
#
|
||||
# <file system> <dir> <type> <options> <dump> <pass>
|
||||
none /dev/pts devpts defaults 0 0
|
||||
none /dev/shm tmpfs defaults 0 0
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
root::0:root
|
||||
bin::1:root,bin,daemon
|
||||
daemon::2:root,bin,daemon
|
||||
sys::3:root,bin
|
||||
adm::4:root,daemon
|
||||
tty::5:
|
||||
disk::6:root
|
||||
lp::7:daemon
|
||||
mem::8:
|
||||
kmem::9:
|
||||
wheel::10:root
|
||||
ftp::11:
|
||||
mail::12:
|
||||
uucp::14:
|
||||
log::19:root
|
||||
locate::21:
|
||||
smmsp::25:
|
||||
http::33:
|
||||
games::50:
|
||||
network:x:90:
|
||||
video:x:91:
|
||||
audio::92:
|
||||
optical::93:
|
||||
floppy:x:94:
|
||||
storage:x:95:
|
||||
scanner:x:96:
|
||||
power:x:98:
|
||||
nobody::99:
|
||||
users::100:
|
|
@ -1,27 +0,0 @@
|
|||
root:::root
|
||||
bin:::root,bin,daemon
|
||||
daemon:::root,bin,daemon
|
||||
sys:::root,bin
|
||||
adm:::root,daemon
|
||||
tty:::
|
||||
disk:::root
|
||||
lp:::daemon
|
||||
mem:::
|
||||
kmem:::
|
||||
wheel:::root
|
||||
ftp:::
|
||||
mail:::
|
||||
log:::root
|
||||
smmsp:::
|
||||
http:::
|
||||
games:::
|
||||
network:x::
|
||||
video:x::
|
||||
audio:::
|
||||
optical:::
|
||||
floppy:x::
|
||||
storage:x::
|
||||
scanner:x::
|
||||
power:x::
|
||||
nobody:::
|
||||
users:::
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# /etc/host.conf
|
||||
#
|
||||
|
||||
order hosts,bind
|
||||
multi on
|
||||
|
||||
# End of file
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# /etc/hosts: static lookup table for host names
|
||||
#
|
||||
|
||||
#<ip-address> <hostname.domain.org> <hostname>
|
||||
127.0.0.1 localhost.localdomain localhost
|
||||
|
||||
# End of file
|
|
@ -1,3 +0,0 @@
|
|||
[H[2J
|
||||
Arch Linux \r (\n) (\l)
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#
|
||||
# /etc/ld.so.conf
|
||||
#
|
||||
|
||||
# End of file
|
|
@ -1,2 +0,0 @@
|
|||
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install ohci_hcd $CMDLINE_OPTS
|
||||
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe --ignore-install uhci_hcd $CMDLINE_OPTS
|
|
@ -1,19 +0,0 @@
|
|||
# Begin /etc/nsswitch.conf
|
||||
|
||||
passwd: files
|
||||
group: files
|
||||
shadow: files
|
||||
|
||||
publickey: files
|
||||
|
||||
hosts: files dns
|
||||
networks: files
|
||||
|
||||
protocols: db files
|
||||
services: db files
|
||||
ethers: db files
|
||||
rpc: db files
|
||||
|
||||
netgroup: db files
|
||||
|
||||
# End /etc/nsswitch.conf
|
|
@ -1,7 +0,0 @@
|
|||
root:x:0:0:root:/root:/bin/bash
|
||||
bin:x:1:1:bin:/bin:/bin/false
|
||||
daemon:x:2:2:daemon:/sbin:/bin/false
|
||||
mail:x:8:12:mail:/var/spool/mail:/bin/false
|
||||
ftp:x:14:11:ftp:/srv/ftp:/bin/false
|
||||
http:x:33:33:http:/srv/http:/bin/false
|
||||
nobody:x:99:99:nobody:/:/bin/false
|
|
@ -1,61 +0,0 @@
|
|||
#
|
||||
# /etc/profile
|
||||
#
|
||||
# This file is intended to be used for ALL common
|
||||
# Bourne-compatible shells. Shell specifics should be
|
||||
# handled in /etc/profile.$SHELL where $SHELL is the name
|
||||
# of the binary being run (discounting symlinks)
|
||||
#
|
||||
# Sections taken from SuSe's /etc/profile
|
||||
# Note the explicit use of 'test' to cover all bases
|
||||
# and potentially incompatible shells
|
||||
|
||||
#Determine our shell without using $SHELL, which may lie
|
||||
shell="sh"
|
||||
if test -f /proc/mounts; then
|
||||
case $(/bin/ls -l /proc/$$/exe) in
|
||||
*bash) shell=bash ;;
|
||||
*dash) shell=dash ;;
|
||||
*ash) shell=ash ;;
|
||||
*ksh) shell=ksh ;;
|
||||
*zsh) shell=zsh ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Load shell specific profile settings
|
||||
test -f "/etc/profile.$shell" && . "/etc/profile.$shell"
|
||||
|
||||
#Set our umask
|
||||
umask 022
|
||||
|
||||
# Set our default path
|
||||
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
||||
export PATH
|
||||
|
||||
# Export default pkg-config path
|
||||
PKG_CONFIG_PATH="/usr/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
# Some readline stuff that is fairly common
|
||||
HISTSIZE=1000
|
||||
HISTCONTROL="erasedups"
|
||||
|
||||
INPUTRC="/etc/inputrc"
|
||||
LESS="-R"
|
||||
LC_COLLATE="C"
|
||||
|
||||
export HISTSIZE HISTCONTROL INPUTRC LESS LC_COLLATE
|
||||
|
||||
# Load profiles from /etc/profile.d
|
||||
if test -d /etc/profile.d/; then
|
||||
for profile in /etc/profile.d/*.sh; do
|
||||
test -x $profile && . $profile
|
||||
done
|
||||
unset profile
|
||||
fi
|
||||
|
||||
# Termcap is outdated, old, and crusty, kill it.
|
||||
unset TERMCAP
|
||||
|
||||
# Man is much better than us at figuring this out
|
||||
unset MANPATH
|
|
@ -1,57 +0,0 @@
|
|||
# Internet (IP) protocols
|
||||
#
|
||||
# Updated from http://www.iana.org/assignments/protocol-numbers and other
|
||||
# sources.
|
||||
# New protocols will be added on request if they have been officially
|
||||
# assigned by IANA and are not historical.
|
||||
# If you need a huge list of used numbers please install the nmap package.
|
||||
|
||||
ip 0 IP # internet protocol, pseudo protocol number
|
||||
#hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883]
|
||||
icmp 1 ICMP # internet control message protocol
|
||||
igmp 2 IGMP # Internet Group Management
|
||||
ggp 3 GGP # gateway-gateway protocol
|
||||
ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'')
|
||||
st 5 ST # ST datagram mode
|
||||
tcp 6 TCP # transmission control protocol
|
||||
egp 8 EGP # exterior gateway protocol
|
||||
igp 9 IGP # any private interior gateway (Cisco)
|
||||
pup 12 PUP # PARC universal packet protocol
|
||||
udp 17 UDP # user datagram protocol
|
||||
hmp 20 HMP # host monitoring protocol
|
||||
xns-idp 22 XNS-IDP # Xerox NS IDP
|
||||
rdp 27 RDP # "reliable datagram" protocol
|
||||
iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905]
|
||||
xtp 36 XTP # Xpress Transfer Protocol
|
||||
ddp 37 DDP # Datagram Delivery Protocol
|
||||
idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport
|
||||
ipv6 41 IPv6 # Internet Protocol, version 6
|
||||
ipv6-route 43 IPv6-Route # Routing Header for IPv6
|
||||
ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6
|
||||
idrp 45 IDRP # Inter-Domain Routing Protocol
|
||||
rsvp 46 RSVP # Reservation Protocol
|
||||
gre 47 GRE # General Routing Encapsulation
|
||||
esp 50 IPSEC-ESP # Encap Security Payload [RFC2406]
|
||||
ah 51 IPSEC-AH # Authentication Header [RFC2402]
|
||||
skip 57 SKIP # SKIP
|
||||
ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6
|
||||
ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6
|
||||
ipv6-opts 60 IPv6-Opts # Destination Options for IPv6
|
||||
rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB)
|
||||
vmtp 81 VMTP # Versatile Message Transport
|
||||
eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco)
|
||||
ospf 89 OSPFIGP # Open Shortest Path First IGP
|
||||
ax.25 93 AX.25 # AX.25 frames
|
||||
ipip 94 IPIP # IP-within-IP Encapsulation Protocol
|
||||
etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378]
|
||||
encap 98 ENCAP # Yet Another IP encapsulation [RFC1241]
|
||||
# 99 # any private encryption scheme
|
||||
pim 103 PIM # Protocol Independent Multicast
|
||||
ipcomp 108 IPCOMP # IP Payload Compression Protocol
|
||||
vrrp 112 VRRP # Virtual Router Redundancy Protocol
|
||||
l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661]
|
||||
isis 124 ISIS # IS-IS over IPv4
|
||||
sctp 132 SCTP # Stream Control Transmission Protocol
|
||||
fc 133 FC # Fibre Channel
|
||||
udplite 136 UDPLite # UDP-Lite
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
#
|
||||
# /etc/resolv.conf
|
||||
#
|
||||
|
||||
nameserver 208.67.222.222
|
||||
nameserver 208.67.220.220
|
||||
|
||||
# End of file
|
|
@ -1,13 +0,0 @@
|
|||
#
|
||||
# /etc/securetty
|
||||
#
|
||||
|
||||
console
|
||||
vc/1
|
||||
vc/2
|
||||
vc/3
|
||||
vc/4
|
||||
vc/5
|
||||
vc/6
|
||||
|
||||
# End of file
|
|
@ -1,557 +0,0 @@
|
|||
# Network services, Internet style
|
||||
#
|
||||
# Note that it is presently the policy of IANA to assign a single well-known
|
||||
# port number for both TCP and UDP; hence, officially ports have two entries
|
||||
# even if the protocol doesn't support UDP operations.
|
||||
#
|
||||
# Updated from http://www.iana.org/assignments/port-numbers and other
|
||||
# sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services .
|
||||
# New ports will be added on request if they have been officially assigned
|
||||
# by IANA and used in the real-world or are needed by a debian package.
|
||||
# If you need a huge list of used numbers please install the nmap package.
|
||||
|
||||
tcpmux 1/tcp # TCP port service multiplexer
|
||||
echo 7/tcp
|
||||
echo 7/udp
|
||||
discard 9/tcp sink null
|
||||
discard 9/udp sink null
|
||||
systat 11/tcp users
|
||||
daytime 13/tcp
|
||||
daytime 13/udp
|
||||
netstat 15/tcp
|
||||
qotd 17/tcp quote
|
||||
msp 18/tcp # message send protocol
|
||||
msp 18/udp
|
||||
chargen 19/tcp ttytst source
|
||||
chargen 19/udp ttytst source
|
||||
ftp-data 20/tcp
|
||||
ftp 21/tcp
|
||||
fsp 21/udp fspd
|
||||
ssh 22/tcp # SSH Remote Login Protocol
|
||||
ssh 22/udp
|
||||
telnet 23/tcp
|
||||
smtp 25/tcp mail
|
||||
time 37/tcp timserver
|
||||
time 37/udp timserver
|
||||
rlp 39/udp resource # resource location
|
||||
nameserver 42/tcp name # IEN 116
|
||||
whois 43/tcp nicname
|
||||
tacacs 49/tcp # Login Host Protocol (TACACS)
|
||||
tacacs 49/udp
|
||||
re-mail-ck 50/tcp # Remote Mail Checking Protocol
|
||||
re-mail-ck 50/udp
|
||||
domain 53/tcp # name-domain server
|
||||
domain 53/udp
|
||||
mtp 57/tcp # deprecated
|
||||
tacacs-ds 65/tcp # TACACS-Database Service
|
||||
tacacs-ds 65/udp
|
||||
bootps 67/tcp # BOOTP server
|
||||
bootps 67/udp
|
||||
bootpc 68/tcp # BOOTP client
|
||||
bootpc 68/udp
|
||||
tftp 69/udp
|
||||
gopher 70/tcp # Internet Gopher
|
||||
gopher 70/udp
|
||||
rje 77/tcp netrjs
|
||||
finger 79/tcp
|
||||
www 80/tcp http # WorldWideWeb HTTP
|
||||
www 80/udp # HyperText Transfer Protocol
|
||||
link 87/tcp ttylink
|
||||
kerberos 88/tcp kerberos5 krb5 kerberos-sec # Kerberos v5
|
||||
kerberos 88/udp kerberos5 krb5 kerberos-sec # Kerberos v5
|
||||
supdup 95/tcp
|
||||
hostnames 101/tcp hostname # usually from sri-nic
|
||||
iso-tsap 102/tcp tsap # part of ISODE
|
||||
acr-nema 104/tcp dicom # Digital Imag. & Comm. 300
|
||||
acr-nema 104/udp dicom # Digital Imag. & Comm. 300
|
||||
csnet-ns 105/tcp cso-ns # also used by CSO name server
|
||||
csnet-ns 105/udp cso-ns
|
||||
rtelnet 107/tcp # Remote Telnet
|
||||
rtelnet 107/udp
|
||||
pop2 109/tcp postoffice pop-2 # POP version 2
|
||||
pop2 109/udp pop-2
|
||||
pop3 110/tcp pop-3 # POP version 3
|
||||
pop3 110/udp pop-3
|
||||
sunrpc 111/tcp portmapper # RPC 4.0 portmapper
|
||||
sunrpc 111/udp portmapper
|
||||
auth 113/tcp authentication tap ident
|
||||
sftp 115/tcp
|
||||
uucp-path 117/tcp
|
||||
nntp 119/tcp readnews untp # USENET News Transfer Protocol
|
||||
ntp 123/tcp
|
||||
ntp 123/udp # Network Time Protocol
|
||||
pwdgen 129/tcp # PWDGEN service
|
||||
pwdgen 129/udp # PWDGEN service
|
||||
loc-srv 135/tcp epmap # Location Service
|
||||
loc-srv 135/udp epmap
|
||||
netbios-ns 137/tcp # NETBIOS Name Service
|
||||
netbios-ns 137/udp
|
||||
netbios-dgm 138/tcp # NETBIOS Datagram Service
|
||||
netbios-dgm 138/udp
|
||||
netbios-ssn 139/tcp # NETBIOS session service
|
||||
netbios-ssn 139/udp
|
||||
imap2 143/tcp imap # Interim Mail Access P 2 and 4
|
||||
imap2 143/udp imap
|
||||
snmp 161/tcp # Simple Net Mgmt Protocol
|
||||
snmp 161/udp # Simple Net Mgmt Protocol
|
||||
snmp-trap 162/tcp snmptrap # Traps for SNMP
|
||||
snmp-trap 162/udp snmptrap # Traps for SNMP
|
||||
cmip-man 163/tcp # ISO mgmt over IP (CMOT)
|
||||
cmip-man 163/udp
|
||||
cmip-agent 164/tcp
|
||||
cmip-agent 164/udp
|
||||
mailq 174/tcp # Mailer transport queue for Zmailer
|
||||
mailq 174/udp # Mailer transport queue for Zmailer
|
||||
xdmcp 177/tcp # X Display Mgr. Control Proto
|
||||
xdmcp 177/udp
|
||||
nextstep 178/tcp NeXTStep NextStep # NeXTStep window
|
||||
nextstep 178/udp NeXTStep NextStep # server
|
||||
bgp 179/tcp # Border Gateway Protocol
|
||||
bgp 179/udp
|
||||
prospero 191/tcp # Cliff Neuman's Prospero
|
||||
prospero 191/udp
|
||||
irc 194/tcp # Internet Relay Chat
|
||||
irc 194/udp
|
||||
smux 199/tcp # SNMP Unix Multiplexer
|
||||
smux 199/udp
|
||||
at-rtmp 201/tcp # AppleTalk routing
|
||||
at-rtmp 201/udp
|
||||
at-nbp 202/tcp # AppleTalk name binding
|
||||
at-nbp 202/udp
|
||||
at-echo 204/tcp # AppleTalk echo
|
||||
at-echo 204/udp
|
||||
at-zis 206/tcp # AppleTalk zone information
|
||||
at-zis 206/udp
|
||||
qmtp 209/tcp # Quick Mail Transfer Protocol
|
||||
qmtp 209/udp # Quick Mail Transfer Protocol
|
||||
z3950 210/tcp wais # NISO Z39.50 database
|
||||
z3950 210/udp wais
|
||||
ipx 213/tcp # IPX
|
||||
ipx 213/udp
|
||||
imap3 220/tcp # Interactive Mail Access
|
||||
imap3 220/udp # Protocol v3
|
||||
pawserv 345/tcp # Perf Analysis Workbench
|
||||
pawserv 345/udp
|
||||
zserv 346/tcp # Zebra server
|
||||
zserv 346/udp
|
||||
fatserv 347/tcp # Fatmen Server
|
||||
fatserv 347/udp
|
||||
rpc2portmap 369/tcp
|
||||
rpc2portmap 369/udp # Coda portmapper
|
||||
codaauth2 370/tcp
|
||||
codaauth2 370/udp # Coda authentication server
|
||||
clearcase 371/tcp Clearcase
|
||||
clearcase 371/udp Clearcase
|
||||
ulistserv 372/tcp # UNIX Listserv
|
||||
ulistserv 372/udp
|
||||
ldap 389/tcp # Lightweight Directory Access Protocol
|
||||
ldap 389/udp
|
||||
imsp 406/tcp # Interactive Mail Support Protocol
|
||||
imsp 406/udp
|
||||
https 443/tcp # http protocol over TLS/SSL
|
||||
https 443/udp
|
||||
snpp 444/tcp # Simple Network Paging Protocol
|
||||
snpp 444/udp
|
||||
microsoft-ds 445/tcp # Microsoft Naked CIFS
|
||||
microsoft-ds 445/udp
|
||||
kpasswd 464/tcp
|
||||
kpasswd 464/udp
|
||||
saft 487/tcp # Simple Asynchronous File Transfer
|
||||
saft 487/udp
|
||||
isakmp 500/tcp # IPsec - Internet Security Association
|
||||
isakmp 500/udp # and Key Management Protocol
|
||||
rtsp 554/tcp # Real Time Stream Control Protocol
|
||||
rtsp 554/udp # Real Time Stream Control Protocol
|
||||
nqs 607/tcp # Network Queuing system
|
||||
nqs 607/udp
|
||||
npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
|
||||
npmp-local 610/udp dqs313_qmaster
|
||||
npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
|
||||
npmp-gui 611/udp dqs313_execd
|
||||
hmmp-ind 612/tcp dqs313_intercell # HMMP Indication / DQS
|
||||
hmmp-ind 612/udp dqs313_intercell
|
||||
ipp 631/tcp # Internet Printing Protocol
|
||||
ipp 631/udp
|
||||
#
|
||||
# UNIX specific services
|
||||
#
|
||||
exec 512/tcp
|
||||
biff 512/udp comsat
|
||||
login 513/tcp
|
||||
who 513/udp whod
|
||||
shell 514/tcp cmd # no passwords used
|
||||
syslog 514/udp
|
||||
printer 515/tcp spooler # line printer spooler
|
||||
talk 517/udp
|
||||
ntalk 518/udp
|
||||
route 520/udp router routed # RIP
|
||||
timed 525/udp timeserver
|
||||
tempo 526/tcp newdate
|
||||
courier 530/tcp rpc
|
||||
conference 531/tcp chat
|
||||
netnews 532/tcp readnews
|
||||
netwall 533/udp # for emergency broadcasts
|
||||
gdomap 538/tcp # GNUstep distributed objects
|
||||
gdomap 538/udp
|
||||
uucp 540/tcp uucpd # uucp daemon
|
||||
klogin 543/tcp # Kerberized `rlogin' (v5)
|
||||
kshell 544/tcp krcmd # Kerberized `rsh' (v5)
|
||||
afpovertcp 548/tcp # AFP over TCP
|
||||
afpovertcp 548/udp
|
||||
remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
|
||||
nntps 563/tcp snntp # NNTP over SSL
|
||||
nntps 563/udp snntp
|
||||
submission 587/tcp # Submission [RFC2476]
|
||||
submission 587/udp
|
||||
ldaps 636/tcp # LDAP over SSL
|
||||
ldaps 636/udp
|
||||
tinc 655/tcp # tinc control port
|
||||
tinc 655/udp
|
||||
silc 706/tcp
|
||||
silc 706/udp
|
||||
kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
|
||||
#
|
||||
webster 765/tcp # Network dictionary
|
||||
webster 765/udp
|
||||
rsync 873/tcp
|
||||
rsync 873/udp
|
||||
ftps-data 989/tcp # FTP over SSL (data)
|
||||
ftps 990/tcp
|
||||
telnets 992/tcp # Telnet over SSL
|
||||
telnets 992/udp
|
||||
imaps 993/tcp # IMAP over SSL
|
||||
imaps 993/udp
|
||||
ircs 994/tcp # IRC over SSL
|
||||
ircs 994/udp
|
||||
pop3s 995/tcp # POP-3 over SSL
|
||||
pop3s 995/udp
|
||||
#
|
||||
# From ``Assigned Numbers'':
|
||||
#
|
||||
#> The Registered Ports are not controlled by the IANA and on most systems
|
||||
#> can be used by ordinary user processes or programs executed by ordinary
|
||||
#> users.
|
||||
#
|
||||
#> Ports are used in the TCP [45,106] to name the ends of logical
|
||||
#> connections which carry long term conversations. For the purpose of
|
||||
#> providing services to unknown callers, a service contact port is
|
||||
#> defined. This list specifies the port used by the server process as its
|
||||
#> contact port. While the IANA can not control uses of these ports it
|
||||
#> does register or list uses of these ports as a convienence to the
|
||||
#> community.
|
||||
#
|
||||
socks 1080/tcp # socks proxy server
|
||||
socks 1080/udp
|
||||
proofd 1093/tcp
|
||||
proofd 1093/udp
|
||||
rootd 1094/tcp
|
||||
rootd 1094/udp
|
||||
openvpn 1194/tcp
|
||||
openvpn 1194/udp
|
||||
rmiregistry 1099/tcp # Java RMI Registry
|
||||
rmiregistry 1099/udp
|
||||
kazaa 1214/tcp
|
||||
kazaa 1214/udp
|
||||
nessus 1241/tcp # Nessus vulnerability
|
||||
nessus 1241/udp # assessment scanner
|
||||
lotusnote 1352/tcp lotusnotes # Lotus Note
|
||||
lotusnote 1352/udp lotusnotes
|
||||
ms-sql-s 1433/tcp # Microsoft SQL Server
|
||||
ms-sql-s 1433/udp
|
||||
ms-sql-m 1434/tcp # Microsoft SQL Monitor
|
||||
ms-sql-m 1434/udp
|
||||
ingreslock 1524/tcp
|
||||
ingreslock 1524/udp
|
||||
prospero-np 1525/tcp # Prospero non-privileged
|
||||
prospero-np 1525/udp
|
||||
datametrics 1645/tcp old-radius
|
||||
datametrics 1645/udp old-radius
|
||||
sa-msg-port 1646/tcp old-radacct
|
||||
sa-msg-port 1646/udp old-radacct
|
||||
kermit 1649/tcp
|
||||
kermit 1649/udp
|
||||
l2f 1701/tcp l2tp
|
||||
l2f 1701/udp l2tp
|
||||
radius 1812/tcp
|
||||
radius 1812/udp
|
||||
radius-acct 1813/tcp radacct # Radius Accounting
|
||||
radius-acct 1813/udp radacct
|
||||
msnp 1863/tcp # MSN Messenger
|
||||
msnp 1863/udp
|
||||
unix-status 1957/tcp # remstats unix-status server
|
||||
log-server 1958/tcp # remstats log server
|
||||
remoteping 1959/tcp # remstats remoteping server
|
||||
nfs 2049/tcp # Network File System
|
||||
nfs 2049/udp # Network File System
|
||||
rtcm-sc104 2101/tcp # RTCM SC-104 IANA 1/29/99
|
||||
rtcm-sc104 2101/udp
|
||||
cvspserver 2401/tcp # CVS client/server operations
|
||||
cvspserver 2401/udp
|
||||
venus 2430/tcp # codacon port
|
||||
venus 2430/udp # Venus callback/wbc interface
|
||||
venus-se 2431/tcp # tcp side effects
|
||||
venus-se 2431/udp # udp sftp side effect
|
||||
codasrv 2432/tcp # not used
|
||||
codasrv 2432/udp # server port
|
||||
codasrv-se 2433/tcp # tcp side effects
|
||||
codasrv-se 2433/udp # udp sftp side effect
|
||||
mon 2583/tcp # MON
|
||||
mon 2583/udp
|
||||
dict 2628/tcp # Dictionary server
|
||||
dict 2628/udp
|
||||
gpsd 2947/tcp
|
||||
gpsd 2947/udp
|
||||
gds_db 3050/tcp # InterBase server
|
||||
gds_db 3050/udp
|
||||
icpv2 3130/tcp icp # Internet Cache Protocol
|
||||
icpv2 3130/udp icp
|
||||
mysql 3306/tcp
|
||||
mysql 3306/udp
|
||||
nut 3493/tcp # Network UPS Tools
|
||||
nut 3493/udp
|
||||
distcc 3632/tcp # distributed compiler
|
||||
distcc 3632/udp
|
||||
daap 3689/tcp # Digital Audio Access Protocol
|
||||
daap 3689/udp
|
||||
svn 3690/tcp subversion # Subversion protocol
|
||||
svn 3690/udp subversion
|
||||
suucp 4013/tcp # UUCP over SSL
|
||||
suucp 4013/udp # UUCP over SSL
|
||||
sysrqd 4094/tcp # sysrq daemon
|
||||
sysrqd 4094/udp # sysrq daemon
|
||||
iax 4569/tcp # Inter-Asterisk eXchange
|
||||
iax 4569/udp
|
||||
radmin-port 4899/tcp # RAdmin Port
|
||||
radmin-port 4899/udp
|
||||
rfe 5002/udp # Radio Free Ethernet
|
||||
rfe 5002/tcp
|
||||
mmcc 5050/tcp # multimedia conference control tool (Yahoo IM)
|
||||
mmcc 5050/udp
|
||||
sip 5060/tcp # Session Initiation Protocol
|
||||
sip 5060/udp
|
||||
sip-tls 5061/tcp
|
||||
sip-tls 5061/udp
|
||||
aol 5190/tcp # AIM
|
||||
aol 5190/udp
|
||||
xmpp-client 5222/tcp jabber-client # Jabber Client Connection
|
||||
xmpp-client 5222/udp jabber-client
|
||||
xmpp-server 5269/tcp jabber-server # Jabber Server Connection
|
||||
xmpp-server 5269/udp jabber-server
|
||||
cfengine 5308/tcp
|
||||
cfengine 5308/udp
|
||||
mdns 5353/tcp # Multicast DNS
|
||||
mdns 5353/udp # Multicast DNS
|
||||
postgresql 5432/tcp postgres # PostgreSQL Database
|
||||
postgresql 5432/udp postgres
|
||||
ggz 5688/tcp # GGZ Gaming Zone
|
||||
ggz 5688/udp # GGZ Gaming Zone
|
||||
x11 6000/tcp x11-0 # X Window System
|
||||
x11 6000/udp x11-0
|
||||
x11-1 6001/tcp
|
||||
x11-1 6001/udp
|
||||
x11-2 6002/tcp
|
||||
x11-2 6002/udp
|
||||
x11-3 6003/tcp
|
||||
x11-3 6003/udp
|
||||
x11-4 6004/tcp
|
||||
x11-4 6004/udp
|
||||
x11-5 6005/tcp
|
||||
x11-5 6005/udp
|
||||
x11-6 6006/tcp
|
||||
x11-6 6006/udp
|
||||
x11-7 6007/tcp
|
||||
x11-7 6007/udp
|
||||
gnutella-svc 6346/tcp # gnutella
|
||||
gnutella-svc 6346/udp
|
||||
gnutella-rtr 6347/tcp # gnutella
|
||||
gnutella-rtr 6347/udp
|
||||
sge_qmaster 6444/tcp # Grid Engine Qmaster Service
|
||||
sge_qmaster 6444/udp # Grid Engine Qmaster Service
|
||||
sge_execd 6445/tcp # Grid Engine Execution Service
|
||||
sge_execd 6445/udp # Grid Engine Execution Service
|
||||
afs3-fileserver 7000/tcp bbs # file server itself
|
||||
afs3-fileserver 7000/udp bbs
|
||||
afs3-callback 7001/tcp # callbacks to cache managers
|
||||
afs3-callback 7001/udp
|
||||
afs3-prserver 7002/tcp # users & groups database
|
||||
afs3-prserver 7002/udp
|
||||
afs3-vlserver 7003/tcp # volume location database
|
||||
afs3-vlserver 7003/udp
|
||||
afs3-kaserver 7004/tcp # AFS/Kerberos authentication
|
||||
afs3-kaserver 7004/udp
|
||||
afs3-volser 7005/tcp # volume managment server
|
||||
afs3-volser 7005/udp
|
||||
afs3-errors 7006/tcp # error interpretation service
|
||||
afs3-errors 7006/udp
|
||||
afs3-bos 7007/tcp # basic overseer process
|
||||
afs3-bos 7007/udp
|
||||
afs3-update 7008/tcp # server-to-server updater
|
||||
afs3-update 7008/udp
|
||||
afs3-rmtsys 7009/tcp # remote cache manager service
|
||||
afs3-rmtsys 7009/udp
|
||||
font-service 7100/tcp xfs # X Font Service
|
||||
font-service 7100/udp xfs
|
||||
bacula-dir 9101/tcp # Bacula Director
|
||||
bacula-dir 9101/udp
|
||||
bacula-fd 9102/tcp # Bacula File Daemon
|
||||
bacula-fd 9102/udp
|
||||
bacula-sd 9103/tcp # Bacula Storage Daemon
|
||||
bacula-sd 9103/udp
|
||||
amanda 10080/tcp # amanda backup services
|
||||
amanda 10080/udp
|
||||
hkp 11371/tcp # OpenPGP HTTP Keyserver
|
||||
hkp 11371/udp # OpenPGP HTTP Keyserver
|
||||
bprd 13720/tcp # VERITAS NetBackup
|
||||
bprd 13720/udp
|
||||
bpdbm 13721/tcp # VERITAS NetBackup
|
||||
bpdbm 13721/udp
|
||||
bpjava-msvc 13722/tcp # BP Java MSVC Protocol
|
||||
bpjava-msvc 13722/udp
|
||||
vnetd 13724/tcp # Veritas Network Utility
|
||||
vnetd 13724/udp
|
||||
bpcd 13782/tcp # VERITAS NetBackup
|
||||
bpcd 13782/udp
|
||||
vopied 13783/tcp # VERITAS NetBackup
|
||||
vopied 13783/udp
|
||||
wnn6 22273/tcp # wnn6
|
||||
wnn6 22273/udp
|
||||
|
||||
#
|
||||
# Datagram Delivery Protocol services
|
||||
#
|
||||
rtmp 1/ddp # Routing Table Maintenance Protocol
|
||||
nbp 2/ddp # Name Binding Protocol
|
||||
echo 4/ddp # AppleTalk Echo Protocol
|
||||
zip 6/ddp # Zone Information Protocol
|
||||
|
||||
#=========================================================================
|
||||
# The remaining port numbers are not as allocated by IANA.
|
||||
#=========================================================================
|
||||
|
||||
# Kerberos (Project Athena/MIT) services
|
||||
# Note that these are for Kerberos v4, and are unofficial. Sites running
|
||||
# v4 should uncomment these and comment out the v5 entries above.
|
||||
#
|
||||
kerberos4 750/udp kerberos-iv kdc # Kerberos (server)
|
||||
kerberos4 750/tcp kerberos-iv kdc
|
||||
kerberos_master 751/udp # Kerberos authentication
|
||||
kerberos_master 751/tcp
|
||||
passwd_server 752/udp # Kerberos passwd server
|
||||
krb_prop 754/tcp krb5_prop hprop # Kerberos slave propagation
|
||||
krbupdate 760/tcp kreg # Kerberos registration
|
||||
swat 901/tcp # swat
|
||||
kpop 1109/tcp # Pop with Kerberos
|
||||
knetd 2053/tcp # Kerberos de-multiplexor
|
||||
zephyr-srv 2102/udp # Zephyr server
|
||||
zephyr-clt 2103/udp # Zephyr serv-hm connection
|
||||
zephyr-hm 2104/udp # Zephyr hostmanager
|
||||
eklogin 2105/tcp # Kerberos encrypted rlogin
|
||||
# Hmmm. Are we using Kv4 or Kv5 now? Worrying.
|
||||
# The following is probably Kerberos v5 --- ajt@debian.org (11/02/2000)
|
||||
kx 2111/tcp # X over Kerberos
|
||||
iprop 2121/tcp # incremental propagation
|
||||
#
|
||||
# Unofficial but necessary (for NetBSD) services
|
||||
#
|
||||
supfilesrv 871/tcp # SUP server
|
||||
supfiledbg 1127/tcp # SUP debugging
|
||||
|
||||
#
|
||||
# Services added for the Debian GNU/Linux distribution
|
||||
#
|
||||
linuxconf 98/tcp # LinuxConf
|
||||
poppassd 106/tcp # Eudora
|
||||
poppassd 106/udp
|
||||
ssmtp 465/tcp smtps # SMTP over SSL
|
||||
moira_db 775/tcp # Moira database
|
||||
moira_update 777/tcp # Moira update protocol
|
||||
moira_ureg 779/udp # Moira user registration
|
||||
spamd 783/tcp # spamassassin daemon
|
||||
omirr 808/tcp omirrd # online mirror
|
||||
omirr 808/udp omirrd
|
||||
customs 1001/tcp # pmake customs server
|
||||
customs 1001/udp
|
||||
skkserv 1178/tcp # skk jisho server port
|
||||
predict 1210/udp # predict -- satellite tracking
|
||||
rmtcfg 1236/tcp # Gracilis Packeten remote config server
|
||||
wipld 1300/tcp # Wipl network monitor
|
||||
xtel 1313/tcp # french minitel
|
||||
xtelw 1314/tcp # french minitel
|
||||
support 1529/tcp # GNATS
|
||||
sieve 2000/tcp # Sieve mail filter daemon
|
||||
cfinger 2003/tcp # GNU Finger
|
||||
ndtp 2010/tcp # Network dictionary transfer protocol
|
||||
frox 2121/tcp # frox: caching ftp proxy
|
||||
ninstall 2150/tcp # ninstall service
|
||||
ninstall 2150/udp
|
||||
zebrasrv 2600/tcp # zebra service
|
||||
zebra 2601/tcp # zebra vty
|
||||
ripd 2602/tcp # ripd vty (zebra)
|
||||
ripngd 2603/tcp # ripngd vty (zebra)
|
||||
ospfd 2604/tcp # ospfd vty (zebra)
|
||||
bgpd 2605/tcp # bgpd vty (zebra)
|
||||
ospf6d 2606/tcp # ospf6d vty (zebra)
|
||||
ospfapi 2607/tcp # OSPF-API
|
||||
isisd 2608/tcp # ISISd vty (zebra)
|
||||
afbackup 2988/tcp # Afbackup system
|
||||
afbackup 2988/udp
|
||||
afmbackup 2989/tcp # Afmbackup system
|
||||
afmbackup 2989/udp
|
||||
xtell 4224/tcp # xtell server
|
||||
fax 4557/tcp # FAX transmission service (old)
|
||||
hylafax 4559/tcp # HylaFAX client-server protocol (new)
|
||||
distmp3 4600/tcp # distmp3host daemon
|
||||
munin 4949/tcp lrrd # Munin
|
||||
enbd-cstatd 5051/tcp # ENBD client statd
|
||||
enbd-sstatd 5052/tcp # ENBD server statd
|
||||
pcrd 5151/tcp # PCR-1000 Daemon
|
||||
noclog 5354/tcp # noclogd with TCP (nocol)
|
||||
noclog 5354/udp # noclogd with UDP (nocol)
|
||||
hostmon 5355/tcp # hostmon uses TCP (nocol)
|
||||
hostmon 5355/udp # hostmon uses UDP (nocol)
|
||||
rplay 5555/udp # RPlay audio service
|
||||
rplay 5555/tcp
|
||||
rptp 5556/udp # Remote Play Transfer Protocol
|
||||
rptp 5556/tcp
|
||||
nsca 5667/tcp # Nagios Agent - NSCA
|
||||
mrtd 5674/tcp # MRT Routing Daemon
|
||||
bgpsim 5675/tcp # MRT Routing Simulator
|
||||
canna 5680/tcp # cannaserver
|
||||
sane-port 6566/tcp sane saned # SANE network scanner daemon
|
||||
ircd 6667/tcp # Internet Relay Chat
|
||||
zope-ftp 8021/tcp # zope management by ftp
|
||||
webcache 8080/tcp # WWW caching service
|
||||
tproxy 8081/tcp # Transparent Proxy
|
||||
omniorb 8088/tcp # OmniORB
|
||||
omniorb 8088/udp
|
||||
clc-build-daemon 8990/tcp # Common lisp build daemon
|
||||
xinetd 9098/tcp
|
||||
mandelspawn 9359/udp mandelbrot # network mandelbrot
|
||||
git 9418/tcp # Git Version Control System
|
||||
zope 9673/tcp # zope server
|
||||
webmin 10000/tcp
|
||||
kamanda 10081/tcp # amanda backup services (Kerberos)
|
||||
kamanda 10081/udp
|
||||
amandaidx 10082/tcp # amanda backup services
|
||||
amidxtape 10083/tcp # amanda backup services
|
||||
smsqp 11201/tcp # Alamin SMS gateway
|
||||
smsqp 11201/udp
|
||||
xpilot 15345/tcp # XPilot Contact Port
|
||||
xpilot 15345/udp
|
||||
sgi-cmsd 17001/udp # Cluster membership services daemon
|
||||
sgi-crsd 17002/udp
|
||||
sgi-gcd 17003/udp # SGI Group membership daemon
|
||||
sgi-cad 17004/tcp # Cluster Admin daemon
|
||||
isdnlog 20011/tcp # isdn logging system
|
||||
isdnlog 20011/udp
|
||||
vboxd 20012/tcp # voice box system
|
||||
vboxd 20012/udp
|
||||
binkp 24554/tcp # binkp fidonet protocol
|
||||
asp 27374/tcp # Address Search Protocol
|
||||
asp 27374/udp
|
||||
csync2 30865/tcp # cluster synchronization tool
|
||||
dircproxy 57000/tcp # Detachable IRC Proxy
|
||||
tfido 60177/tcp # fidonet EMSI over telnet
|
||||
fido 60179/tcp # fidonet EMSI over TCP
|
||||
|
||||
# Local services
|
|
@ -1,7 +0,0 @@
|
|||
root:$1$0AuMK5cY$kJp3hJ8p6igN2mc8tC6fE/:14412::::::
|
||||
bin:x:0::::::
|
||||
daemon:x:0::::::
|
||||
mail:x:0::::::
|
||||
ftp:x:0::::::
|
||||
http:x:0::::::
|
||||
nobody:x:0::::::
|
|
@ -1,9 +0,0 @@
|
|||
#
|
||||
# /etc/shells
|
||||
#
|
||||
|
||||
/bin/sh
|
||||
/bin/bash
|
||||
/bin/dash
|
||||
|
||||
# End of file
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=findutils
|
||||
pkgver=4.4.0
|
||||
pkgrel=1
|
||||
|
@ -6,25 +8,24 @@ pkgdesc="GNU utilities to locate files"
|
|||
arch=(arm)
|
||||
license=('GPL3')
|
||||
groups=('base')
|
||||
depends=('glibc>=2.8')
|
||||
depends=()
|
||||
url="http://www.gnu.org/software/findutils"
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/findutils/findutils-$pkgver.tar.gz)
|
||||
md5sums=('49e769ac4382fae6f104f99d54d0a112')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/opt
|
||||
make || return 1
|
||||
# believe it or not, the Makefile really wants to remove /usr/var, so
|
||||
# believe it or not, the Makefile really wants to remove /opt/var, so
|
||||
# we let it...
|
||||
mkdir -p $startdir/pkg/usr/var
|
||||
mkdir -p $startdir/pkg/opt/var
|
||||
make DESTDIR=$startdir/pkg install
|
||||
rm -rf $startdir/pkg/usr/libexec
|
||||
rm -rf $startdir/pkg/opt/libexec
|
||||
|
||||
# remove locate utils (we use slocate instead)
|
||||
rm -f $startdir/pkg/usr/bin/{locate,updatedb}
|
||||
rm -f $startdir/pkg/usr/share/man/man1/{updatedb.1,locate.1}
|
||||
rm -f $startdir/pkg/usr/share/man/man5/locatedb.5
|
||||
rmdir $startdir/pkg/usr/var
|
||||
|
||||
rm -f $startdir/pkg/opt/bin/{locate,updatedb}
|
||||
rm -f $startdir/pkg/opt/share/man/man1/{updatedb.1,locate.1}
|
||||
rm -f $startdir/pkg/opt/share/man/man5/locatedb.5
|
||||
rmdir $startdir/pkg/opt/var
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=flex
|
||||
pkgver=2.5.35
|
||||
pkgrel=1
|
||||
|
@ -7,23 +9,20 @@ arch=('arm')
|
|||
url="http://flex.sourceforge.net"
|
||||
license=('custom')
|
||||
groups=('base-devel')
|
||||
depends=('glibc' 'sh')
|
||||
depends=()
|
||||
source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2
|
||||
lex.sh)
|
||||
md5sums=('10714e50cea54dc7a227e3eddcd44d57' 'f725259ec23a9e87ee29e2ef82eda9a5')
|
||||
md5sums=('10714e50cea54dc7a227e3eddcd44d57'
|
||||
'b727b22e44d136e7ef472406cd6f6cfa')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-$pkgver || return 1
|
||||
|
||||
# configure
|
||||
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
||||
|
||||
# build and install
|
||||
./configure --prefix=/opt --mandir=/opt/share/man || return 1
|
||||
make || return 1
|
||||
make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1
|
||||
install -D -m755 $startdir/src/lex.sh $startdir/pkg/usr/bin/lex || return 1
|
||||
make prefix=$startdir/pkg/opt mandir=$startdir/pkg/opt/share/man install || return 1
|
||||
install -D -m755 $startdir/src/lex.sh $startdir/pkg/opt/bin/lex || return 1
|
||||
|
||||
# install license
|
||||
install -D -m644 COPYING \
|
||||
$startdir/pkg/usr/share/licenses/$pkgname/license.txt || return 1
|
||||
$startdir/pkg/opt/share/licenses/$pkgname/license.txt || return 1
|
||||
}
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
diff -Naur flex-2.5.31-orig/flex.skl flex-2.5.31/flex.skl
|
||||
--- flex-2.5.31-orig/flex.skl 2003-03-31 17:51:38.000000000 -0800
|
||||
+++ flex-2.5.31/flex.skl 2004-04-11 12:19:10.000000000 -0700
|
||||
@@ -3280,7 +3280,6 @@
|
||||
#undef yy_set_bol
|
||||
#undef yy_new_buffer
|
||||
#undef yy_set_interactive
|
||||
-#undef yytext_ptr
|
||||
#undef YY_DO_BEFORE_ACTION
|
||||
|
||||
#ifdef YY_DECL_IS_OURS
|
||||
diff -Naur flex-2.5.31-orig/gen.c flex-2.5.31/gen.c
|
||||
--- flex-2.5.31-orig/gen.c 2003-03-30 11:58:44.000000000 -0800
|
||||
+++ flex-2.5.31/gen.c 2004-04-11 12:19:38.000000000 -0700
|
||||
@@ -1812,7 +1812,6 @@
|
||||
if (yytext_is_array) {
|
||||
if (!reentrant){
|
||||
indent_puts ("static int yy_more_offset = 0;");
|
||||
- }else{
|
||||
indent_puts ("static int yy_prev_more_offset = 0;");
|
||||
}
|
||||
}
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/flex -l "$@"
|
||||
exec /opt/bin/flex -l "$@"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gawk
|
||||
pkgver=3.1.6
|
||||
|
@ -10,19 +11,18 @@ license=('GPL')
|
|||
groups=('base')
|
||||
provides=('awk')
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
||||
depends=('bash' 'glibc')
|
||||
depends=()
|
||||
md5sums=('b237751aef53c9ead9644e376bc53386')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/opt
|
||||
make || return 1
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
mv "${pkgdir}/usr/libexec" "${pkgdir}/usr/lib"
|
||||
install -dm755 "${pkgdir}/bin"
|
||||
mv ${pkgdir}/usr/bin/gawk* "${pkgdir}/bin/"
|
||||
mv ${pkgdir}/usr/bin/awk "${pkgdir}/bin/"
|
||||
mv "${pkgdir}/opt/libexec" "${pkgdir}/opt/lib"
|
||||
install -dm755 "${pkgdir}/opt/bin"
|
||||
# mv ${pkgdir}/opt/bin/gawk* "${pkgdir}/bin/"
|
||||
# mv ${pkgdir}/opt/bin/awk "${pkgdir}/bin/"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgbase=gcc
|
||||
pkgname=('gcc' 'gcc-libs')
|
||||
|
@ -20,11 +21,11 @@ build() {
|
|||
mkdir -p $srcdir/gcc-build
|
||||
cd $srcdir/gcc-build
|
||||
|
||||
../gcc-$pkgver/configure --prefix=/usr \
|
||||
../gcc-$pkgver/configure --prefix=/opt \
|
||||
--enable-languages=c,c++,fortran,objc,obj-c++ \
|
||||
--build=i686-pc-linux-gnu \
|
||||
--host=arm-softfloat-linux-gnueabi \
|
||||
--target=arm-softfloat-linux-gnueabi \
|
||||
--host=arm-none-linux-gnueabi \
|
||||
--target=arm-none-linux-gnueabi \
|
||||
--disable-libstdcxx-pch \
|
||||
--enable-__cxa_atexit \
|
||||
--with-arch=armv4t \
|
||||
|
@ -41,33 +42,31 @@ package_gcc() {
|
|||
cd $srcdir/gcc-build
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
|
||||
ln -sf gcc $pkgdir/usr/bin/cc
|
||||
ln -sf g++ $pkgdir/usr/bin/c++
|
||||
ln -sf gcc $pkgdir/opt/bin/cc
|
||||
ln -sf g++ $pkgdir/opt/bin/c++
|
||||
|
||||
# Remove libraries provided by gcc-libs.
|
||||
rm -f $pkgdir/usr/lib/lib*
|
||||
rm -f $pkgdir/opt/lib/lib*
|
||||
}
|
||||
|
||||
package_gcc-libs() {
|
||||
depends=('glibc>=2.10.1')
|
||||
depends=()
|
||||
groups=(base)
|
||||
pkgdesc='Runtime libraries shipped by GCC for C and C++ languages'
|
||||
license=(LGPL custom)
|
||||
|
||||
cd $srcdir/gcc-build
|
||||
make DESTDIR=$pkgdir install-target-libgcc install-target-libmudflap install-target-libssp install-target-libstdc++-v3 install-target-libgomp install-target-libgfortran install-target-libobjc || return 1
|
||||
make DESTDIR=$pkgdir/opt install-target-libgcc install-target-libmudflap install-target-libssp install-target-libstdc++-v3 install-target-libgomp install-target-libgfortran install-target-libobjc || return 1
|
||||
|
||||
# make target `install-target-libstdc++-v3' installs include files.
|
||||
# Those are provided by gcc.
|
||||
rm -rf $pkgdir/usr/include
|
||||
rm -rf $pkgdir/opt/include
|
||||
|
||||
# make target `install-target-libgomp' installs include files as well.
|
||||
# Those, too, should be provided by gcc.
|
||||
rm -rf $pkgdir/usr/lib/gcc
|
||||
rm -rf $pkgdir/opt/lib/gcc
|
||||
|
||||
# Install Runtime Library Exception license.
|
||||
install -Dm644 ../gcc-$pkgver/COPYING.RUNTIME \
|
||||
$pkgdir/usr/share/licenses/$pkgname/RUNTIME.LIBRARY.EXCEPTION
|
||||
$pkgdir/opt/share/licenses/$pkgname/RUNTIME.LIBRARY.EXCEPTION
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gdbm
|
||||
pkgver=1.8.3
|
||||
pkgrel=1
|
||||
|
@ -7,16 +9,16 @@ url="http://www.gnu.org/software/gdbm/gdbm.html"
|
|||
license=('GPL')
|
||||
arch=(arm)
|
||||
groups=('base')
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
source=(ftp://ftp.gnu.org/gnu/gdbm/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('1d1b1d5c0245b1c00aff92da751e9aa1')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make prefix=/usr || return 1
|
||||
make prefix=$startdir/pkg/usr install
|
||||
make prefix=$startdir/pkg/usr install-compat
|
||||
chown root.root $startdir/pkg/usr/include/{dbm.h,gdbm.h,ndbm.h}
|
||||
./configure --prefix=/opt
|
||||
make prefix=/opt || return 1
|
||||
make prefix=$startdir/pkg/opt install
|
||||
make prefix=$startdir/pkg/opt install-compat
|
||||
chown root.root $startdir/pkg/opt/include/{dbm.h,gdbm.h,ndbm.h}
|
||||
find $startdir/pkg -name '*.la' -exec rm {} \;
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
DESTDIR =
|
||||
PREFIX = /
|
||||
PREFIX = /opt/
|
||||
|
||||
MKDIR = /bin/mkdir
|
||||
INSTALL = /bin/install -c -m 755
|
||||
MKDIR = /opt/bin/mkdir
|
||||
INSTALL = /opt/bin/install -c -m 755
|
||||
|
||||
CC = /usr/bin/gcc
|
||||
LD = /usr/bin/gcc
|
||||
CC = /opt/bin/gcc
|
||||
LD = /opt/bin/gcc
|
||||
|
||||
CFLAGS += -Wall -Wstrict-prototypes -Wsign-compare -Wchar-subscripts \
|
||||
-Wpointer-arith -Wcast-align -Wsign-compare
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
|
||||
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
|
||||
# arm Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gen-init-cpio
|
||||
pkgver=2.6.17
|
||||
|
@ -10,9 +10,9 @@ arch=(arm)
|
|||
license=('custom:none')
|
||||
groups=('base')
|
||||
url="http://www.kernel.org/"
|
||||
depends=('glibc')
|
||||
depends=()
|
||||
source=(Makefile gen_init_cpio.c)
|
||||
md5sums=('8e3a142a522d65121c3bead41013be98' 'fe53a05f5fcfca9e4dd8d67d29190f6e')
|
||||
md5sums=('cd2d06c078f4cd8f90edf31aa12fb1c3' 'fe53a05f5fcfca9e4dd8d67d29190f6e')
|
||||
|
||||
build()
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gettext
|
||||
pkgver=0.17
|
||||
|
@ -8,8 +9,7 @@ arch=(arm)
|
|||
url="http://www.gnu.org/software/gettext"
|
||||
license=('GPL')
|
||||
groups=('base')
|
||||
#depends=('gcc-libs>=2.2' ncurses 'expat>=1.95' acl)
|
||||
depends=(gcc-libs ncurses 'expat>=1.95' acl)
|
||||
depends=(ncurses 'expat>=1.95' acl)
|
||||
options=(!libtool)
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/gettext/gettext-${pkgver}.tar.gz)
|
||||
md5sums=('58a2bc6d39c0ba57823034d55d65d606')
|
||||
|
@ -17,7 +17,7 @@ md5sums=('58a2bc6d39c0ba57823034d55d65d606')
|
|||
build() {
|
||||
cd $srcdir/gettext-$pkgver
|
||||
|
||||
./configure --prefix=/usr \
|
||||
./configure --prefix=/opt \
|
||||
--with-included-libcroco \
|
||||
--with-included-libxml \
|
||||
--disable-jave \
|
||||
|
@ -25,5 +25,3 @@ build() {
|
|||
make || return 1
|
||||
make DESTDIR=$pkgdir install || return 1
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
|
|
|
@ -15,21 +15,19 @@ md5sums=('bdc9b8be7d56a3beabad2d228f2e8e9a')
|
|||
build() {
|
||||
cd "$srcdir/git-$pkgver"
|
||||
|
||||
make prefix=/usr gitexecdir=/usr/lib/git-core || return 1
|
||||
make prefix=/usr gitexecdir=/usr/lib/git-core \
|
||||
make prefix=/opt gitexecdir=/opt/lib/git-core || return 1
|
||||
make prefix=/opt gitexecdir=/opt/lib/git-core \
|
||||
INSTALLDIRS=vendor DESTDIR="$pkgdir" install || return 1
|
||||
|
||||
# let's plop gitweb in /usr/share
|
||||
mkdir -p "$pkgdir/usr/share/"
|
||||
cp -dR ./gitweb "$pkgdir/usr/share/gitweb" || return 1
|
||||
# let's plop gitweb in /opt/share
|
||||
mkdir -p "$pkgdir/opt/share/"
|
||||
cp -dR ./gitweb "$pkgdir/opt/share/gitweb" || return 1
|
||||
|
||||
# bash completion
|
||||
mkdir -p $pkgdir/etc/bash_completion.d/
|
||||
mkdir -p $pkgdir/opt/etc/bash_completion.d/
|
||||
install -m644 ./contrib/completion/git-completion.bash \
|
||||
"$pkgdir/etc/bash_completion.d/git" || return 1
|
||||
"$pkgdir/opt/etc/bash_completion.d/git" || return 1
|
||||
|
||||
# remove perllocal.pod, .packlist, and empty directories.
|
||||
rm -rf $pkgdir/usr/lib/perl5
|
||||
rm -rf $pkgdir/opt/lib/perl5
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# Maintainer: Rotter Manuel <rotter.manuel@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=glib2
|
||||
pkgver=2.20.2
|
||||
|
@ -12,18 +13,18 @@ makedepends=('pkgconfig')
|
|||
options=('!libtool' '!docs')
|
||||
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/2.20/glib-${pkgver}.tar.bz2)
|
||||
#glib2.sh
|
||||
#glib2.csh)
|
||||
md5sums=('468054db4e28af3eac541b36c9d07c31'
|
||||
'803017b365bd35dc20b092ce43b8c8c5'
|
||||
'90c7b830bef4baf225c2eb8b7ead0cab')
|
||||
#glib2.csh
|
||||
md5sums=('468054db4e28af3eac541b36c9d07c31')
|
||||
#'803017b365bd35dc20b092ce43b8c8c5'
|
||||
#'90c7b830bef4baf225c2eb8b7ead0cab'
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/glib-${pkgver}"
|
||||
./configure --prefix=/usr --enable-static --enable-shared --with-pcre=system --disable-fam || return 1
|
||||
./configure --prefix=/opt --enable-static --enable-shared --with-pcre=system --disable-fam || return 1
|
||||
make || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
install -d "${pkgdir}/etc/profile.d"
|
||||
install -m755 "${srcdir}/glib2.sh" "${pkgdir}/etc/profile.d/" || return 1
|
||||
install -m755 "${srcdir}/glib2.csh" "${pkgdir}/etc/profile.d/" || return 1
|
||||
install -d "${pkgdir}/opt/etc/profile.d"
|
||||
install -m755 "${srcdir}/glib2.sh" "${pkgdir}/opt/etc/profile.d/" || return 1
|
||||
install -m755 "${srcdir}/glib2.csh" "${pkgdir}/opt/etc/profile.d/" || return 1
|
||||
}
|
||||
|
|
|
@ -1,89 +0,0 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
|
||||
# toolchain build order:
|
||||
# kernel-headers -> glibc -> binutils -> gcc-libs -> gcc -> binutils -> glibc
|
||||
|
||||
pkgname=glibc
|
||||
pkgver=2.10.1
|
||||
pkgrel=2
|
||||
install=glibc.install
|
||||
backup=(etc/locale.gen
|
||||
etc/nscd.conf)
|
||||
pkgdesc="GNU C Library"
|
||||
arch=('arm')
|
||||
license=('GPL' 'LGPL')
|
||||
url="http://www.gnu.org/software/libc"
|
||||
groups=('base' 'small-base')
|
||||
depends=('kernel-headers>=2.6.29' 'tzdata')
|
||||
makedepends=('gcc>=4.4.0')
|
||||
source=(http://ftp.gnu.org/gnu/glibc/glibc-ports-$pkgver.tar.gz
|
||||
http://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.gz
|
||||
nscd locale.gen.txt locale-gen)
|
||||
|
||||
build() {
|
||||
cd $srcdir/glibc-$pkgver
|
||||
ln -s $srcdir/glibc-ports-$pkgver .
|
||||
|
||||
install -dm755 $pkgdir/etc
|
||||
touch $pkgdir/etc/ld.so.conf
|
||||
|
||||
# Remove timezone from build targets. This is supplied by the tzdata
|
||||
# package.
|
||||
sed -i '/^all-subdirs =/,/^$/s/timezone //' Makeconfig
|
||||
|
||||
mkdir glibc-build
|
||||
cd glibc-build
|
||||
|
||||
echo "slibdir=/lib" >> configparms
|
||||
|
||||
../configure --prefix=/usr \
|
||||
--host=arm-unknown-linux-gnueabi \
|
||||
--build=arm-unknown-linux-gnueabi \
|
||||
--enable-add-ons \
|
||||
--enable-kernel=2.6.16 \
|
||||
--enable-bind-now \
|
||||
--disable-profile \
|
||||
--disable-debug \
|
||||
--disable-gd \
|
||||
--libexecdir=/usr/lib \
|
||||
--libdir=/usr/lib \
|
||||
--with-tls \
|
||||
--with-__thread \
|
||||
--with-headers=/usr/include \
|
||||
--without-cvs \
|
||||
--without-gd \
|
||||
--without-fp \
|
||||
--without-selinux || return 1
|
||||
|
||||
make || return 1
|
||||
make install_root="$pkgdir" install || return 1
|
||||
|
||||
rm -f "$pkgdir/etc/ld.so.cache" "$pkgdir/etc/ld.so.conf" \
|
||||
"$pkgdir/etc/localtime"
|
||||
|
||||
install -dm755 ${pkgdir}/etc/rc.d
|
||||
install -dm755 ${pkgdir}/usr/sbin
|
||||
install -dm755 ${pkgdir}/usr/lib/locale
|
||||
install -Dm644 "$srcdir/glibc-$pkgver/nscd/nscd.conf" \
|
||||
"$pkgdir/etc/nscd.conf"
|
||||
install -Dm755 "$srcdir/nscd" "$pkgdir/etc/rc.d/nscd"
|
||||
install -Dm755 "$srcdir/locale-gen" "$pkgdir/usr/sbin/locale-gen"
|
||||
|
||||
sed -i -e 's/^\tserver-user/#\tserver-user/' \
|
||||
"$pkgdir/etc/nscd.conf" || return 1
|
||||
|
||||
# Create /etc/locale.gen
|
||||
install -m644 "$srcdir/locale.gen.txt" "$pkgdir/etc/locale.gen"
|
||||
sed -i 's|/| |g' "$srcdir/libc/localedata/SUPPORTED"
|
||||
sed -i 's|\\| |g' "$srcdir/libc/localedata/SUPPORTED"
|
||||
sed -i 's|SUPPORTED-LOCALES=||' "$srcdir/libc/localedata/SUPPORTED"
|
||||
cat "$srcdir/libc/localedata/SUPPORTED" >> "$pkgdir/etc/locale.gen"
|
||||
sed -i 's|^|#|g' "$pkgdir/etc/locale.gen"
|
||||
}
|
||||
|
||||
# vim: set ft=sh ts=2 sw=2 et:
|
||||
md5sums=('3daabbcd79f88866cdce4e7a93388459'
|
||||
'f95368cff696baa854fd41ba69d70f3a'
|
||||
'b587ee3a70c9b3713099295609afde49'
|
||||
'07ac979b6ab5eeb778d55f041529d623'
|
||||
'476e9113489f93b348b21e144b6a8fcf')
|
|
@ -1,5 +0,0 @@
|
|||
post_upgrade() {
|
||||
ldconfig -r .
|
||||
init u
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
LOCALEGEN=/etc/locale.gen
|
||||
LOCALES=/usr/share/i18n/locales
|
||||
if [ -n "$POSIXLY_CORRECT" ]; then
|
||||
unset POSIXLY_CORRECT
|
||||
fi
|
||||
|
||||
|
||||
[ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0;
|
||||
|
||||
# Remove all old locale dir and locale-archive before generating new
|
||||
# locale data.
|
||||
rm -rf /usr/lib/locale/* || true
|
||||
|
||||
umask 022
|
||||
|
||||
is_entry_ok() {
|
||||
if [ -n "$locale" -a -n "$charset" ] ; then
|
||||
true
|
||||
else
|
||||
echo "error: Bad entry '$locale $charset'"
|
||||
false
|
||||
fi
|
||||
}
|
||||
|
||||
echo "Generating locales..."
|
||||
while read locale charset; do \
|
||||
case $locale in \#*) continue;; "") continue;; esac; \
|
||||
is_entry_ok || continue
|
||||
echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"; \
|
||||
echo -n ".$charset"; \
|
||||
echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \
|
||||
echo -n '...'; \
|
||||
if [ -f $LOCALES/$locale ]; then input=$locale; else \
|
||||
input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \
|
||||
localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale; \
|
||||
echo ' done'; \
|
||||
done < $LOCALEGEN
|
||||
echo "Generation complete."
|
|
@ -1,23 +0,0 @@
|
|||
# Configuration file for locale-gen
|
||||
#
|
||||
# lists of locales that are to be generated by the locale-gen command.
|
||||
#
|
||||
# Each line is of the form:
|
||||
#
|
||||
# <locale> <charset>
|
||||
#
|
||||
# where <locale> is one of the locales given in /usr/share/i18n/locales
|
||||
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
|
||||
#
|
||||
# Examples:
|
||||
# en_US ISO-8859-1
|
||||
# en_US.UTF-8 UTF-8
|
||||
# de_DE ISO-8859-1
|
||||
# de_DE@euro ISO-8859-15
|
||||
#
|
||||
# The locale-gen command will generate all the locales,
|
||||
# placing them in /usr/lib/locale.
|
||||
#
|
||||
# A list of supported locales is included in this file.
|
||||
# Uncomment the ones you need.
|
||||
#
|
|
@ -1,40 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
PID=`pidof -o %PPID /usr/sbin/nscd`
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting nscd"
|
||||
# create necessary directories if they don't already exist
|
||||
mkdir -p /var/run/nscd /var/db/nscd 2>/dev/null
|
||||
# remove stale files
|
||||
rm -f /var/db/nscd/* /var/run/nscd/* 2>/dev/null
|
||||
[ -z "$PID" ] && /usr/sbin/nscd
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon nscd
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping nscd"
|
||||
[ ! -z "$PID" ] && kill $PID &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon nscd
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
esac
|
||||
exit 0
|
|
@ -1,11 +1,13 @@
|
|||
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gmp
|
||||
pkgver=4.2.4
|
||||
pkgrel=1
|
||||
pkgdesc="A free library for arbitrary precision arithmetic"
|
||||
arch=(arm)
|
||||
depends=('gcc-libs' 'texinfo')
|
||||
depends=('texinfo')
|
||||
# depends=('gcc-libs' 'texinfo')
|
||||
makedepends=('m4')
|
||||
license=('LGPL3')
|
||||
options=(!libtool)
|
||||
|
@ -16,9 +18,8 @@ md5sums=('fc1e3b3a2a5038d4d74138d0b9cf8dbe')
|
|||
build() {
|
||||
cd "${srcdir}/gmp-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr --enable-cxx --infodir=/usr/share/info || return 1
|
||||
./configure --prefix=/opt --enable-cxx --infodir=/opt/share/info || return 1
|
||||
make || return 1
|
||||
make check || return 1
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Philipp Scholl <pscholl@bawue.de>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=grep
|
||||
pkgver=2.5.4
|
||||
pkgrel=1
|
||||
|
@ -12,8 +14,6 @@ makedepends=('texinfo>=4.8a')
|
|||
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
14-mem-exhausted.patch
|
||||
15-empty-pattern.patch
|
||||
# fix for FS#7141 , extracted from debian diff.gz :
|
||||
# http://ftp.debian.org/debian/pool/main/g/grep/
|
||||
64-egf-speedup.patch)
|
||||
md5sums=('92258031d98d4f12dfc6a6d24057e672'
|
||||
'bc937da562d468f32c1fef2894610283'
|
||||
|
@ -25,7 +25,7 @@ build() {
|
|||
for i in ../*.patch; do
|
||||
patch -Np1 -i ../$i
|
||||
done
|
||||
./configure --prefix=/usr --bindir=/bin
|
||||
./configure --prefix=/opt --bindir=/opt/bin
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
||||
# Modified by OpenPogo
|
||||
|
||||
pkgname=gzip
|
||||
pkgver=1.3.12
|
||||
pkgrel=1
|
||||
|
@ -7,25 +9,21 @@ arch=(arm)
|
|||
url="http://www.gzip.org"
|
||||
license=('GPL')
|
||||
groups=('base')
|
||||
depends=('glibc' 'bash')
|
||||
depends=()
|
||||
makedepends=('patch')
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/gzip/gzip-$pkgver.tar.gz
|
||||
gzip-fixutimens.patch)
|
||||
md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
|
||||
'cb592761476921018386031d91625153')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-$pkgver
|
||||
patch -Np1 -i ${startdir}/src/gzip-fixutimens.patch || return 1
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/opt
|
||||
make || return 1
|
||||
mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
|
||||
make prefix=$startdir/pkg/usr install
|
||||
cd $startdir/pkg/usr/bin
|
||||
mv $pkgname $startdir/pkg/bin
|
||||
mv gunzip zcat uncompress $startdir/pkg/bin
|
||||
cd $startdir/pkg/bin
|
||||
mkdir -p $startdir/pkg/opt/bin
|
||||
make prefix=$startdir/pkg/opt install
|
||||
cd $startdir/pkg/opt/bin
|
||||
ln -sf $pkgname compress
|
||||
|
||||
}
|
||||
md5sums=('b5bac2d21840ae077e0217bc5e4845b1'
|
||||
'cb592761476921018386031d91625153')
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
diff -Naur gzip-1.2.4a-orig/Makefile.in gzip-1.2.4a/Makefile.in
|
||||
--- gzip-1.2.4a-orig/Makefile.in 1993-08-17 10:12:40.000000000 -0700
|
||||
+++ gzip-1.2.4a/Makefile.in 2005-04-21 11:45:27.000000000 -0700
|
||||
@@ -348,27 +348,27 @@
|
||||
rm -f _match.s
|
||||
|
||||
$(G)zdiff: zdiff.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/zdiff.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/zdiff.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
$(G)zgrep: zgrep.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/zgrep.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/zgrep.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
$(G)zmore: zmore.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/zmore.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/zmore.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
$(G)znew: znew.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/znew.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/znew.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
$(G)zforce: zforce.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/zforce.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/zforce.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
gzexe: gzexe.in
|
||||
- sed -e "$(SEDCMD)" -e "s|BINDIR|$(bindir)|" $(srcdir)/gzexe.in > $@
|
||||
+ sed -e "$(SEDCMD)" -e "s|BINDIR|/bin|" $(srcdir)/gzexe.in > $@
|
||||
chmod 755 $@
|
||||
|
||||
gzip.info: gzip.texi
|
|
@ -1,186 +0,0 @@
|
|||
Only in gzip-1.3.5: cscope.out
|
||||
diff -ru gzip-1.3.5.orig/gzip.h gzip-1.3.5/gzip.h
|
||||
--- gzip-1.3.5.orig/gzip.h 2001-10-01 07:53:41.000000000 +0100
|
||||
+++ gzip-1.3.5/gzip.h 2006-08-18 22:44:38.755598000 +0100
|
||||
@@ -198,6 +198,8 @@
|
||||
extern int to_stdout; /* output to stdout (-c) */
|
||||
extern int save_orig_name; /* set if original name must be saved */
|
||||
|
||||
+#define MIN(a,b) ((a) <= (b) ? (a) : (b))
|
||||
+
|
||||
#define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(0))
|
||||
#define try_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf(1))
|
||||
|
||||
diff -ru gzip-1.3.5.orig/inflate.c gzip-1.3.5/inflate.c
|
||||
--- gzip-1.3.5.orig/inflate.c 2002-09-25 22:20:13.000000000 +0100
|
||||
+++ gzip-1.3.5/inflate.c 2006-07-21 09:10:43.350376000 +0100
|
||||
@@ -337,7 +337,7 @@
|
||||
{
|
||||
*t = (struct huft *)NULL;
|
||||
*m = 0;
|
||||
- return 0;
|
||||
+ return 2;
|
||||
}
|
||||
|
||||
|
||||
Only in gzip-1.3.5: testcases
|
||||
diff -ru gzip-1.3.5.orig/unlzh.c gzip-1.3.5/unlzh.c
|
||||
--- gzip-1.3.5.orig/unlzh.c 1999-10-06 06:00:00.000000000 +0100
|
||||
+++ gzip-1.3.5/unlzh.c 2006-08-18 22:56:19.446997000 +0100
|
||||
@@ -149,13 +149,17 @@
|
||||
unsigned i, k, len, ch, jutbits, avail, nextcode, mask;
|
||||
|
||||
for (i = 1; i <= 16; i++) count[i] = 0;
|
||||
- for (i = 0; i < (unsigned)nchar; i++) count[bitlen[i]]++;
|
||||
+ for (i = 0; i < (unsigned)nchar; i++) {
|
||||
+ if (bitlen[i] > 16)
|
||||
+ error("Bad table (case a)\n");
|
||||
+ else count[bitlen[i]]++;
|
||||
+ }
|
||||
|
||||
start[1] = 0;
|
||||
for (i = 1; i <= 16; i++)
|
||||
start[i + 1] = start[i] + (count[i] << (16 - i));
|
||||
- if ((start[17] & 0xffff) != 0)
|
||||
- error("Bad table\n");
|
||||
+ if ((start[17] & 0xffff) != 0 || tablebits > 16) /* 16 for weight below */
|
||||
+ error("Bad table (case b)\n");
|
||||
|
||||
jutbits = 16 - tablebits;
|
||||
for (i = 1; i <= (unsigned)tablebits; i++) {
|
||||
@@ -169,15 +173,15 @@
|
||||
|
||||
i = start[tablebits + 1] >> jutbits;
|
||||
if (i != 0) {
|
||||
- k = 1 << tablebits;
|
||||
- while (i != k) table[i++] = 0;
|
||||
+ k = MIN(1 << tablebits, DIST_BUFSIZE);
|
||||
+ while (i < k) table[i++] = 0;
|
||||
}
|
||||
|
||||
avail = nchar;
|
||||
mask = (unsigned) 1 << (15 - tablebits);
|
||||
for (ch = 0; ch < (unsigned)nchar; ch++) {
|
||||
if ((len = bitlen[ch]) == 0) continue;
|
||||
- nextcode = start[len] + weight[len];
|
||||
+ nextcode = MIN(start[len] + weight[len], DIST_BUFSIZE);
|
||||
if (len <= (unsigned)tablebits) {
|
||||
for (i = start[len]; i < nextcode; i++) table[i] = ch;
|
||||
} else {
|
||||
@@ -218,7 +222,7 @@
|
||||
for (i = 0; i < 256; i++) pt_table[i] = c;
|
||||
} else {
|
||||
i = 0;
|
||||
- while (i < n) {
|
||||
+ while (i < MIN(n,NPT)) {
|
||||
c = bitbuf >> (BITBUFSIZ - 3);
|
||||
if (c == 7) {
|
||||
mask = (unsigned) 1 << (BITBUFSIZ - 1 - 3);
|
||||
@@ -228,7 +232,7 @@
|
||||
pt_len[i++] = c;
|
||||
if (i == i_special) {
|
||||
c = getbits(2);
|
||||
- while (--c >= 0) pt_len[i++] = 0;
|
||||
+ while (--c >= 0 && i < NPT) pt_len[i++] = 0;
|
||||
}
|
||||
}
|
||||
while (i < nn) pt_len[i++] = 0;
|
||||
@@ -248,7 +252,7 @@
|
||||
for (i = 0; i < 4096; i++) c_table[i] = c;
|
||||
} else {
|
||||
i = 0;
|
||||
- while (i < n) {
|
||||
+ while (i < MIN(n,NC)) {
|
||||
c = pt_table[bitbuf >> (BITBUFSIZ - 8)];
|
||||
if (c >= NT) {
|
||||
mask = (unsigned) 1 << (BITBUFSIZ - 1 - 8);
|
||||
@@ -256,14 +260,14 @@
|
||||
if (bitbuf & mask) c = right[c];
|
||||
else c = left [c];
|
||||
mask >>= 1;
|
||||
- } while (c >= NT);
|
||||
+ } while (c >= NT && (mask || c != left[c]));
|
||||
}
|
||||
fillbuf((int) pt_len[c]);
|
||||
if (c <= 2) {
|
||||
if (c == 0) c = 1;
|
||||
else if (c == 1) c = getbits(4) + 3;
|
||||
else c = getbits(CBIT) + 20;
|
||||
- while (--c >= 0) c_len[i++] = 0;
|
||||
+ while (--c >= 0 && i < NC) c_len[i++] = 0;
|
||||
} else c_len[i++] = c - 2;
|
||||
}
|
||||
while (i < NC) c_len[i++] = 0;
|
||||
@@ -292,7 +296,7 @@
|
||||
if (bitbuf & mask) j = right[j];
|
||||
else j = left [j];
|
||||
mask >>= 1;
|
||||
- } while (j >= NC);
|
||||
+ } while (j >= NC && (mask || j != left[j]));
|
||||
}
|
||||
fillbuf((int) c_len[j]);
|
||||
return j;
|
||||
@@ -309,7 +313,7 @@
|
||||
if (bitbuf & mask) j = right[j];
|
||||
else j = left [j];
|
||||
mask >>= 1;
|
||||
- } while (j >= NP);
|
||||
+ } while (j >= NP && (mask || j != left[j]));
|
||||
}
|
||||
fillbuf((int) pt_len[j]);
|
||||
if (j != 0) j = ((unsigned) 1 << (j - 1)) + getbits((int) (j - 1));
|
||||
@@ -356,7 +360,7 @@
|
||||
while (--j >= 0) {
|
||||
buffer[r] = buffer[i];
|
||||
i = (i + 1) & (DICSIZ - 1);
|
||||
- if (++r == count) return r;
|
||||
+ if (++r >= count) return r;
|
||||
}
|
||||
for ( ; ; ) {
|
||||
c = decode_c();
|
||||
@@ -366,14 +370,14 @@
|
||||
}
|
||||
if (c <= UCHAR_MAX) {
|
||||
buffer[r] = c;
|
||||
- if (++r == count) return r;
|
||||
+ if (++r >= count) return r;
|
||||
} else {
|
||||
j = c - (UCHAR_MAX + 1 - THRESHOLD);
|
||||
i = (r - decode_p() - 1) & (DICSIZ - 1);
|
||||
while (--j >= 0) {
|
||||
buffer[r] = buffer[i];
|
||||
i = (i + 1) & (DICSIZ - 1);
|
||||
- if (++r == count) return r;
|
||||
+ if (++r >= count) return r;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff -ru gzip-1.3.5.orig/unpack.c gzip-1.3.5/unpack.c
|
||||
--- gzip-1.3.5.orig/unpack.c 1999-10-06 06:00:00.000000000 +0100
|
||||
+++ gzip-1.3.5/unpack.c 2006-07-21 15:49:48.615190000 +0100
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "gzip.h"
|
||||
#include "crypt.h"
|
||||
|
||||
-#define MIN(a,b) ((a) <= (b) ? (a) : (b))
|
||||
/* The arguments must not have side effects. */
|
||||
|
||||
#define MAX_BITLEN 25
|
||||
@@ -133,7 +132,7 @@
|
||||
/* Remember where the literals of this length start in literal[] : */
|
||||
lit_base[len] = base;
|
||||
/* And read the literals: */
|
||||
- for (n = leaves[len]; n > 0; n--) {
|
||||
+ for (n = leaves[len]; n > 0 && base < LITERALS; n--) {
|
||||
literal[base++] = (uch)get_byte();
|
||||
}
|
||||
}
|
||||
@@ -169,7 +168,7 @@
|
||||
prefixp = &prefix_len[1<<peek_bits];
|
||||
for (len = 1; len <= peek_bits; len++) {
|
||||
int prefixes = leaves[len] << (peek_bits-len); /* may be 0 */
|
||||
- while (prefixes--) *--prefixp = (uch)len;
|
||||
+ while (prefixes-- && prefixp > prefix_len) *--prefixp = (uch)len;
|
||||
}
|
||||
/* The length of all other codes is unknown: */
|
||||
while (prefixp > prefix_len) *--prefixp = 0;
|
Loading…
Reference in a new issue