diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/gnutls/PKGBUILD | 42 | ||||
-rw-r--r-- | testing/gnutls/gnutls.install | 20 | ||||
-rw-r--r-- | testing/inetutils/PKGBUILD | 72 | ||||
-rw-r--r-- | testing/inetutils/dnsdomainname | 3 | ||||
-rw-r--r-- | testing/inetutils/ftpd.conf | 4 | ||||
-rw-r--r-- | testing/inetutils/ftpd.rc | 37 | ||||
-rw-r--r-- | testing/inetutils/ftpd.service | 9 | ||||
-rw-r--r-- | testing/inetutils/inetutils.install | 20 | ||||
-rw-r--r-- | testing/inetutils/rlogin.xinetd | 10 | ||||
-rw-r--r-- | testing/inetutils/rsh.xinetd | 10 | ||||
-rw-r--r-- | testing/inetutils/talk.xinetd | 10 | ||||
-rw-r--r-- | testing/inetutils/telnet.xinetd | 10 | ||||
-rw-r--r-- | testing/timidity++/PKGBUILD | 38 | ||||
-rw-r--r-- | testing/timidity++/timidity++.sh | 38 | ||||
-rw-r--r-- | testing/timidity++/timidity.cfg | 29 | ||||
-rw-r--r-- | testing/timidity++/timidity.service | 9 |
16 files changed, 361 insertions, 0 deletions
diff --git a/testing/gnutls/PKGBUILD b/testing/gnutls/PKGBUILD new file mode 100644 index 000000000..e6517853f --- /dev/null +++ b/testing/gnutls/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 165411 2012-08-18 10:15:13Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnutls +pkgver=3.1.0 +pkgrel=1 +pkgdesc="A library which provides a secure layer over a reliable transport layer" +arch=('i686' 'x86_64') +license=('GPL3' 'LGPL') +url="http://www.gnu.org/software/gnutls/" +install=gnutls.install +options=('!libtool' '!zipman') +depends=('gcc-libs>=4.7.1-5' 'libtasn1' 'readline' 'zlib' 'nettle>=2.4' 'p11-kit>=0.12') +makedepends=('valgrind' 'strace') +source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.xz{,.sig}) +md5sums=('db88d8fc44e44be4a0a14b24aa204bbf' + 'c3fa5f3bda5ebe7f37cc997717bb8476') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --with-zlib \ + --disable-static \ + --disable-guile \ + --disable-valgrind-tests + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -k check # passes all || /bin/true +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # lots of .png files are put into infodir and are gzipped by makepkg! this may need to be fixed by using !zipman + # gzip -9 all files in infodir and manpages manually + find "$pkgdir/usr/share/info" -name '*.info*' -exec gzip -9 {} \; + find "$pkgdir/usr/share/man" -exec gzip -9 {} \; +} diff --git a/testing/gnutls/gnutls.install b/testing/gnutls/gnutls.install new file mode 100644 index 000000000..e8c8e1798 --- /dev/null +++ b/testing/gnutls/gnutls.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gnutls.info-1.gz gnutls.info-2.gz gnutls.info-3.gz gnutls.info-4.gz gnutls.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/testing/inetutils/PKGBUILD b/testing/inetutils/PKGBUILD new file mode 100644 index 000000000..88f001a8a --- /dev/null +++ b/testing/inetutils/PKGBUILD @@ -0,0 +1,72 @@ +# $Id: PKGBUILD 165418 2012-08-18 22:30:35Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> + +pkgname=inetutils +pkgver=1.9.1 +pkgrel=3 +pkgdesc="A collection of common network programs" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/inetutils/" +license=('GPL3') +groups=('base') +depends=('readline' 'ncurses' 'pam') +backup=('etc/conf.d/ftpd' 'etc/xinetd.d/telnet' 'etc/xinetd.d/talk' \ + 'etc/xinetd.d/rlogin' 'etc/xinetd.d/rsh') +options=('!emptydirs') +install=inetutils.install +source=(http://ftp.gnu.org/gnu/inetutils/${pkgname}-${pkgver}.tar.gz{,.sig} \ + ftpd.rc ftpd.conf telnet.xinetd talk.xinetd rlogin.xinetd rsh.xinetd \ + ftpd.service dnsdomainname) +sha1sums=('86b7eb11cfdaefb1d4e9bfc10620beaf8f09bc90' + 'ff0aad9946a38915580b094dadf67e790e8a2f87' + '84dc802b5e57b5e04c847572225a3b9612017155' + '68a590083b45997dfdb80e666b2de762f494ba74' + 'bfad98a4a62f1fff8779f076c6019ed07f9111af' + '27d99b910eec0fc26bd79ccc2c1de26608330298' + '81f10b3b688e3952f793b35bcef63b5bf257a92b' + '81f4a8da823cf0bb14284fc71ee6108849691eda' + '1c5ff1b6166c7401ef0956ce6eab30450ff95eaf' + 'eb952b0b9c3e3d429d8e21b110249e495f0e0e63') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|_GL_WARN_ON_USE (gets|//_GL_WARN_ON_USE (gets|' lib/stdio.in.h + ./configure --prefix=/usr --libexec=/usr/sbin --localstatedir=/var \ + --sysconfdir=/etc --mandir=/usr/share/man --infodir=/usr/share/info \ + --without-wrap --with-pam \ + --enable-ftp --enable-ftpd \ + --enable-telnet --enable-telnetd \ + --enable-talk --enable-talkd \ + --enable-rlogin --enable-rlogind \ + --enable-rsh --enable-rshd \ + --enable-rcp --enable-hostname \ + --disable-rexec --disable-rexecd \ + --disable-tftp --disable-tftpd \ + --disable-ping --disable-ping6 \ + --disable-logger --disable-syslogd \ + --disable-inetd --disable-whois \ + --disable-uucpd --disable-ifconfig --disable-traceroute + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -d "${pkgdir}/bin" + ln -s /usr/bin/hostname "${pkgdir}/bin/hostname" + install -D -m755 "${srcdir}/dnsdomainname" "${pkgdir}/bin/dnsdomainname" + echo ".so man1/hostname.1" > "${pkgdir}/usr/share/man/man1/dnsdomainname.1" + install -D -m755 "${srcdir}/ftpd.rc" "${pkgdir}/etc/rc.d/ftpd" + install -D -m644 "${srcdir}/ftpd.conf" "${pkgdir}/etc/conf.d/ftpd" + install -D -m644 "${srcdir}/telnet.xinetd" "${pkgdir}/etc/xinetd.d/telnet" + install -D -m644 "${srcdir}/talk.xinetd" "${pkgdir}/etc/xinetd.d/talk" + install -D -m644 "${srcdir}/rlogin.xinetd" "${pkgdir}/etc/xinetd.d/rlogin" + install -D -m644 "${srcdir}/rsh.xinetd" "${pkgdir}/etc/xinetd.d/rsh" + install -D -m644 "${srcdir}/ftpd.service" "${pkgdir}/usr/lib/systemd/system/ftpd.service" +} diff --git a/testing/inetutils/dnsdomainname b/testing/inetutils/dnsdomainname new file mode 100644 index 000000000..a1b8a8c31 --- /dev/null +++ b/testing/inetutils/dnsdomainname @@ -0,0 +1,3 @@ +#!/bin/sh + +exec /usr/bin/hostname -d "$@" diff --git a/testing/inetutils/ftpd.conf b/testing/inetutils/ftpd.conf new file mode 100644 index 000000000..f660f0035 --- /dev/null +++ b/testing/inetutils/ftpd.conf @@ -0,0 +1,4 @@ +# +# Parameters to be passed to ftpd +# +FTPD_ARGS="" diff --git a/testing/inetutils/ftpd.rc b/testing/inetutils/ftpd.rc new file mode 100644 index 000000000..3d0d34421 --- /dev/null +++ b/testing/inetutils/ftpd.rc @@ -0,0 +1,37 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/ftpd + +PID=$(pidof -o %PPID /usr/sbin/ftpd) +case "$1" in + start) + stat_busy "Starting ftpd" + [ -z "$PID" ] && /usr/sbin/ftpd -D $FTPD_ARGS + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon ftpd + stat_done + fi + ;; + stop) + stat_busy "Stopping ftpd" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon ftpd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/testing/inetutils/ftpd.service b/testing/inetutils/ftpd.service new file mode 100644 index 000000000..985eb9756 --- /dev/null +++ b/testing/inetutils/ftpd.service @@ -0,0 +1,9 @@ +[Unit] +Description=FTPD Daemon + +[Service] +ExecStart=/usr/sbin/ftpd -D +Type=forking + +[Install] +WantedBy=multi-user.target diff --git a/testing/inetutils/inetutils.install b/testing/inetutils/inetutils.install new file mode 100644 index 000000000..b338fa498 --- /dev/null +++ b/testing/inetutils/inetutils.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(inetutils.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/testing/inetutils/rlogin.xinetd b/testing/inetutils/rlogin.xinetd new file mode 100644 index 000000000..5c72f86df --- /dev/null +++ b/testing/inetutils/rlogin.xinetd @@ -0,0 +1,10 @@ +service login +{ + flags = REUSE + socket_type = stream + wait = no + user = root + server = /usr/sbin/rlogind + log_on_failure += USERID + disable = yes +} diff --git a/testing/inetutils/rsh.xinetd b/testing/inetutils/rsh.xinetd new file mode 100644 index 000000000..a13738c31 --- /dev/null +++ b/testing/inetutils/rsh.xinetd @@ -0,0 +1,10 @@ +service shell +{ + flags = REUSE + socket_type = stream + wait = no + user = root + server = /usr/sbin/rshd + log_on_failure += USERID + disable = yes +} diff --git a/testing/inetutils/talk.xinetd b/testing/inetutils/talk.xinetd new file mode 100644 index 000000000..6abef359c --- /dev/null +++ b/testing/inetutils/talk.xinetd @@ -0,0 +1,10 @@ +service ntalk +{ + flags = REUSE + socket_type = dgram + wait = yes + user = root + server = /usr/sbin/talkd + log_on_failure += USERID + disable = yes +} diff --git a/testing/inetutils/telnet.xinetd b/testing/inetutils/telnet.xinetd new file mode 100644 index 000000000..bd3a5e4b1 --- /dev/null +++ b/testing/inetutils/telnet.xinetd @@ -0,0 +1,10 @@ +service telnet +{ + flags = REUSE + socket_type = stream + wait = no + user = root + server = /usr/sbin/telnetd + log_on_failure += USERID + disable = yes +} diff --git a/testing/timidity++/PKGBUILD b/testing/timidity++/PKGBUILD new file mode 100644 index 000000000..cec8e8a35 --- /dev/null +++ b/testing/timidity++/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 165420 2012-08-18 23:03:32Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> + +pkgname=timidity++ +pkgver=2.14.0 +pkgrel=3 +pkgdesc="A MIDI to WAVE converter and player" +arch=('i686' 'x86_64') +url="http://timidity.sourceforge.net" +license=('GPL') +depends=('libao' 'libvorbis' 'jack' 'ncurses') +makedepends=('xaw3d>=1.6' 'gtk2' 'tk' 'libxaw') +optdepends=('gtk2: for using the GTK+ interface' 'tk: for using the Tk interface' \ + 'xaw3d: for using the Xaw interface') +backup=('etc/timidity++/timidity.cfg') +source=(http://downloads.sourceforge.net/timidity/TiMidity++-${pkgver}.tar.xz \ + timidity.cfg timidity++.sh timidity.service) +sha1sums=('15ec27f1ea3e718a8d61603521fc16df5c0dd24b' + '660b3afbb720d26e8f008034cee66dd8da082d6e' + '9f3e732a7ca1e97119a76df62ecf154df04d4f77' + 'f0351b9eb8928d3d82c380107654a7dbe7cd2d54') + +build() { + cd "${srcdir}/TiMidity++-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man --with-default-path=/etc/timidity++/ \ + --enable-server --enable-alsaseq --enable-spectrogram --enable-network --enable-xft \ + --enable-audio=alsa,oss,ao,vorbis,flac,jack \ + --enable-dynamic=ncurses,tcltk,vt100,xaw,gtk + make +} + +package() { + cd "${srcdir}/TiMidity++-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 ../timidity.cfg "${pkgdir}/etc/timidity++/timidity.cfg" + install -D -m755 ../timidity++.sh "${pkgdir}/etc/rc.d/timidity++" + install -D -m644 ../timidity.service "${pkgdir}/usr/lib/systemd/system/timidity.service" +} diff --git a/testing/timidity++/timidity++.sh b/testing/timidity++/timidity++.sh new file mode 100644 index 000000000..3fa13cea9 --- /dev/null +++ b/testing/timidity++/timidity++.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/timidity` +case "$1" in + start) + stat_busy "Starting Timidity++ ALSA Daemon" + [ -z "$PID" ] && /usr/bin/timidity -iAD > /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + echo $PID > /var/run/timidity.pid + add_daemon timidity++ + stat_done + fi + ;; + stop) + stat_busy "Stopping Timidity++ ALSA Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm /var/run/timidity.pid + rm_daemon timidity++ + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/testing/timidity++/timidity.cfg b/testing/timidity++/timidity.cfg new file mode 100644 index 000000000..59bbfa935 --- /dev/null +++ b/testing/timidity++/timidity.cfg @@ -0,0 +1,29 @@ +# details on this file and other examples see here: +# http://www.onicos.com/staff/iz/timidity/dist/cfg/sndfont.cfg +# http://www.onicos.com/staff/iz/timidity/dist/cfg/ +#---------------------------------------------------------------- +# SoundFont extension configuration +# +# soundfont <filename> [order={0|1}] [remove] +# <filename> is the path of SoundFont file. +# order: 0(preload) or 1(load after GUS). +# remove: disable specified soundfont. +# +# font exclude <tonebank> [<preset> [<keynote>]] +# font order {0|1} <tonebank> [<preset> [<keynote>]] +# <tonebank>: 0-127 +# +# font exclude 128 [<drumset> [<key>]] +# font order {0|1} 128 [<drumset> [<key>]] +#---------------------------------------------------------------- + +# change the next line to point to a soundfont you have +# soundfonts can be found e.g. here: http://www.hammersound.net/ +# soundfont /usr/share/soundfonts/DX7Piano.SF2 + +# you can do manipulations of the soundfont you load like this: +# e.g. removing drumset 99 +# font exclude 128 99 + +# load drum samples after GUS patches +# font order 1 128 diff --git a/testing/timidity++/timidity.service b/testing/timidity++/timidity.service new file mode 100644 index 000000000..4d6ceea6a --- /dev/null +++ b/testing/timidity++/timidity.service @@ -0,0 +1,9 @@ +[Unit] +Description=TiMidity++ Daemon +After=sound.target + +[Service] +ExecStart=/usr/bin/timidity -iA + +[Install] +WantedBy=multi-user.target |