diff options
Diffstat (limited to 'abs/core-testing')
-rw-r--r-- | abs/core-testing/gdb/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/core-testing/gdb/gdb.install | 18 | ||||
-rw-r--r-- | abs/core-testing/netkit-telnet/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch | 36 | ||||
-rw-r--r-- | abs/core-testing/netkit-telnet/telnet.xinetd | 10 | ||||
-rw-r--r-- | abs/core-testing/patch/PKGBUILD | 21 | ||||
-rw-r--r-- | abs/core-testing/ttf-bitstream-vera/PKGBUILD | 22 | ||||
-rw-r--r-- | abs/core-testing/ttf-bitstream-vera/vera.install | 20 |
8 files changed, 176 insertions, 0 deletions
diff --git a/abs/core-testing/gdb/PKGBUILD b/abs/core-testing/gdb/PKGBUILD new file mode 100644 index 0000000..e4ee109 --- /dev/null +++ b/abs/core-testing/gdb/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 10684 2008-08-29 21:45:41Z eric $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +pkgname=gdb +pkgver=6.8 +pkgrel=3 +pkgdesc="The GNU Debugger" +arch=(i686 x86_64) +url="http://sources.redhat.com/gdb/" +depends=('ncurses' 'expat') +options=('!libtool') +license=('GPL3') +install=gdb.install +source=(http://ftp.gnu.org/gnu/gdb/${pkgname}-${pkgver}.tar.bz2) +md5sums=('c9da266b884fb8fa54df786dfaadbc7a') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-nls --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 + make DESTDIR=${startdir}/pkg install || return 1 + rm -f ${pkgdir}/usr/share/info/dir + # resolve conflicts with binutils + rm -f ${startdir}/pkg/usr/include/{bfd,dis-asm,symcat,ansidecl,bfdlink}.h + rm -f ${startdir}/pkg/usr/lib/{libiberty,libbfd,libopcodes}.a + rm -f ${startdir}/pkg/usr/share/info/{bfd.info,configure.info,standards.info} +} diff --git a/abs/core-testing/gdb/gdb.install b/abs/core-testing/gdb/gdb.install new file mode 100644 index 0000000..ca793a1 --- /dev/null +++ b/abs/core-testing/gdb/gdb.install @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(annotate.info gdb.info gdb.info-1 gdb.info-2 gdb.info-3 gdb.info-4 gdbint.info gdbint.info-1 gdbint.info-2 stabs.info) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/abs/core-testing/netkit-telnet/PKGBUILD b/abs/core-testing/netkit-telnet/PKGBUILD new file mode 100644 index 0000000..5afd1a1 --- /dev/null +++ b/abs/core-testing/netkit-telnet/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 9079 2008-08-17 03:28:25Z allan $ +# Maintainer: dorphell <dorphell@archlinux.org> +pkgname=netkit-telnet +pkgver=0.17 +pkgrel=8 +pkgdesc="A telnet client (and server)" +arch=(i686 x86_64) +depends=('ncurses') +license=('GPL2' 'GPL3') # parts are GPL2, others GPL3 +source=(ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/$pkgname-$pkgver.tar.gz $pkgname-$pkgver.patch telnet.xinetd) +md5sums=('d6beabaaf53fe6e382c42ce3faa05a36' 'd56497f2c6b96e8909ed57f1be19411d' \ + 'c6e6ca4ba8e084be8ce2a170bebc17cc') + +build() { + cd $startdir/src/$pkgname-$pkgver + patch -Np1 -i ../$pkgname-$pkgver.patch + ./configure --prefix=/usr --installroot=$startdir/pkg + make || return 1 + mkdir -p $startdir/pkg/usr/{bin,sbin,share/{man/man1,man/man5,man/man8}} $startdir/pkg/etc/xinetd.d + make MANDIR=/usr/share/man install + install -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet +} diff --git a/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch new file mode 100644 index 0000000..77919e1 --- /dev/null +++ b/abs/core-testing/netkit-telnet/netkit-telnet-0.17.patch @@ -0,0 +1,36 @@ +diff -Naur netkit-telnet-0.17-orig/telnet/proto.h netkit-telnet-0.17/telnet/proto.h +--- netkit-telnet-0.17-orig/telnet/proto.h 1997-05-19 09:32:36.000000000 +0000 ++++ netkit-telnet-0.17/telnet/proto.h 2002-09-05 01:17:24.000000000 +0000 +@@ -3,6 +3,9 @@ + void auth_encrypt_init(void); + #endif + ++#include <stdlib.h> ++#include <string.h> ++ + void Exit(int); + void ExitString(const char *, int); + int TerminalAutoFlush(void); +diff -Naur netkit-telnet-0.17-orig/telnetd/telnetd.h netkit-telnet-0.17/telnetd/telnetd.h +--- netkit-telnet-0.17-orig/telnetd/telnetd.h 1999-03-27 07:46:21.000000000 +0000 ++++ netkit-telnet-0.17/telnetd/telnetd.h 2002-09-05 01:17:34.000000000 +0000 +@@ -38,6 +38,7 @@ + #include "defs.h" + #include "ext.h" + #include <errno.h> ++#include <stdlib.h> + + #ifdef DIAGNOSTICS + #define DIAG(a,b) if (diagnostic & (a)) b +diff -Naur netkit-telnet-0.17-orig/configure netkit-telnet-0.17/configure +--- netkit-telnet-0.17-orig/configure 2003-11-04 13:10:07.000000000 -0500 ++++ netkit-telnet-0.17/configure 2003-11-04 13:10:49.000000000 -0500 +@@ -252,7 +252,7 @@ + fi + + +-LDFLAGS= ++LDFLAGS=-lstdc++ + LIBS= + + rm -f __conftest* diff --git a/abs/core-testing/netkit-telnet/telnet.xinetd b/abs/core-testing/netkit-telnet/telnet.xinetd new file mode 100644 index 0000000..1a1f4ed --- /dev/null +++ b/abs/core-testing/netkit-telnet/telnet.xinetd @@ -0,0 +1,10 @@ +service telnet +{ + flags = REUSE + socket_type = stream + wait = no + user = root + server = /usr/sbin/in.telnetd + log_on_failure += USERID + disable = yes +} diff --git a/abs/core-testing/patch/PKGBUILD b/abs/core-testing/patch/PKGBUILD new file mode 100644 index 0000000..87810d1 --- /dev/null +++ b/abs/core-testing/patch/PKGBUILD @@ -0,0 +1,21 @@ +# $Id: PKGBUILD 1438 2008-05-08 17:11:21Z andyrtr $ +# Maintainer: judd <jvinet@zeroflux.org> +pkgname=patch +pkgver=2.5.9 +pkgrel=1 +pkgdesc="A utility to apply patch files to original sources" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/patch/patch.html" +license=('GPL') +groups=('base-devel') +depends=('glibc' 'ed') +source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz) + #ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('dacfb618082f8d3a2194601193cf8716') + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man + make || return 1 + make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1 +} diff --git a/abs/core-testing/ttf-bitstream-vera/PKGBUILD b/abs/core-testing/ttf-bitstream-vera/PKGBUILD new file mode 100644 index 0000000..d802ca4 --- /dev/null +++ b/abs/core-testing/ttf-bitstream-vera/PKGBUILD @@ -0,0 +1,22 @@ +# $Id +# Maintainer: dorphell <dorphell@archlinux.org> + +pkgname=ttf-bitstream-vera +pkgver=1.10 +pkgrel=5 +pkgdesc="Bitstream vera fonts" +arch=(i686 x86_64) +license=(custom) +url="http://www.gnome.org/fonts" +depends=(fontconfig xorg-fonts-encodings xorg-font-utils) +install=vera.install +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/1.10/${pkgname}-${pkgver}.tar.bz2) +md5sums=(bb22bd5b4675f5dbe17c6963d8c00ed6) + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + mkdir -p ${startdir}/pkg/usr/share/fonts/TTF + install -m644 *.ttf ${startdir}/pkg/usr/share/fonts/TTF/ + mkdir -p ${startdir}/pkg/usr/share/licenses/custom/ttf-bitstream-vera + install -m644 COPYRIGHT.TXT ${startdir}/pkg/usr/share/licenses/custom/ttf-bitstream-vera/license.txt +} diff --git a/abs/core-testing/ttf-bitstream-vera/vera.install b/abs/core-testing/ttf-bitstream-vera/vera.install new file mode 100644 index 0000000..4f5212e --- /dev/null +++ b/abs/core-testing/ttf-bitstream-vera/vera.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |