diff options
41 files changed, 783 insertions, 138 deletions
diff --git a/community-testing/gdlmm/PKGBUILD b/community-testing/gdlmm/PKGBUILD new file mode 100644 index 000000000..fac4cc149 --- /dev/null +++ b/community-testing/gdlmm/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 69716 2012-04-22 23:41:47Z heftig $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +pkgname=gdlmm +pkgver=3.3.2 +pkgrel=2 +pkgdesc="C++ bindings for the gdl library" +arch=('x86_64' 'i686') +url="http://git.gnome.org/browse/gdlmm/" +depends=('gdl' 'gtkmm3') +options=(!libtool !emptydirs) +license=('LGPL') +source=("http://ftp.gnome.org/pub/GNOME/sources/gdlmm/3.3/$pkgname-$pkgver.tar.xz") +sha256sums=('cf3253be052737332b2b6e9dbd6f62d79cbc3f3398497158c0099dbc45741a46') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/gedit-plugins/PKGBUILD b/community-testing/gedit-plugins/PKGBUILD new file mode 100644 index 000000000..1403bb7c1 --- /dev/null +++ b/community-testing/gedit-plugins/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 69712 2012-04-22 23:14:40Z heftig $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Hugo Doria <hugo@archlinux.org> +# Contributor: Sergej Chodarev <sergejx@centrum.sk> +# Contributor: zhuqin <zhuqin83@gmail.com> + +pkgname=gedit-plugins +pkgver=3.4.0 +pkgrel=1 +pkgdesc="Plugins for gedit" +arch=('x86_64' 'i686') +license=('GPL') +url="http://live.gnome.org/GeditPlugins" +depends=('gedit' 'dbus-python') +optdepends=('gucharmap: for charmap plugin' + 'vte3: for embedded terminal') +makedepends=('intltool' 'gnome-doc-utils' 'vte3') +options=('!libtool' '!emptydirs') +install=gedit-plugins.install +source=("http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz") +sha256sums=('a66138b43e1a77f39258f04936be35163b4c6bfd49643791ca445cb3c3d60e0a') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --with-plugins=all \ + --disable-schemas-compile + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR=$pkgdir install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/gedit-plugins/gedit-plugins.install b/community-testing/gedit-plugins/gedit-plugins.install new file mode 100644 index 000000000..d5bcc00ae --- /dev/null +++ b/community-testing/gedit-plugins/gedit-plugins.install @@ -0,0 +1,23 @@ +pkgname=gedit-plugins + +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + post_install $1 +} + + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/gtk-engine-unico/PKGBUILD b/community-testing/gtk-engine-unico/PKGBUILD new file mode 100644 index 000000000..dfcf116e0 --- /dev/null +++ b/community-testing/gtk-engine-unico/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 69673 2012-04-22 10:47:36Z bpiotrowski $ +# Maintainer: Bartlomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Hilinus <itahilinus[at]hotmail[dot]it> + +pkgname=gtk-engine-unico +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Unico GTK3 theme engine" +arch=('i686' 'x86_64') +url="https://launchpad.net/unico" +license=('GPL') +depends=("gtk3") +options=(!libtool) +source=("http://launchpad.net/unico/1.0/$pkgver/+download/${pkgname#gtk-engine-}-$pkgver.tar.gz") +md5sums=('19fb3ecc36d4d13b4a76e26a4ebd6412') + + +build() { + cd ${srcdir}/${pkgname#gtk-engine-}-$pkgver + + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd ${srcdir}/${pkgname#gtk-engine-}-$pkgver + make DESTDIR=${pkgdir} install +} diff --git a/community-testing/gtranslator/PKGBUILD b/community-testing/gtranslator/PKGBUILD index c77a0183d..d273cc00a 100644 --- a/community-testing/gtranslator/PKGBUILD +++ b/community-testing/gtranslator/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69657 2012-04-21 22:10:45Z bgyorgy $ +# $Id: PKGBUILD 69717 2012-04-22 23:46:26Z heftig $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: Hugo Doria <hugo@archlinux.org> # Contributor: Christer Solskogen (solskogen@carebears.mine.nu) pkgname=gtranslator pkgver=2.91.3 -pkgrel=1 +pkgrel=2 pkgdesc="An enhanced gettext po file editor for the GNOME" arch=('i686' 'x86_64') url="http://projects.gnome.org/gtranslator/" diff --git a/community-testing/gtranslator/gtranslator.changelog b/community-testing/gtranslator/gtranslator.changelog index ab84fa46c..c9b484e39 100644 --- a/community-testing/gtranslator/gtranslator.changelog +++ b/community-testing/gtranslator/gtranslator.changelog @@ -1,3 +1,7 @@ +2012-04-23 Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + * gtranslator 2.91.3-2 + rebuild for gdl 3.4.2 + 2012-04-21 Balló György <ballogyor+arch at gmail dot com> * gtranslator 2.91.3-1 diff --git a/community-testing/nemiver/PKGBUILD b/community-testing/nemiver/PKGBUILD new file mode 100644 index 000000000..16ed100c9 --- /dev/null +++ b/community-testing/nemiver/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 69718 2012-04-22 23:49:26Z heftig $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: jordz <jordz@archlinux.us> + +pkgname=nemiver +pkgver=0.9.2 +pkgrel=2 +pkgdesc="C/C++ debugger for GNOME" +arch=('x86_64' 'i686') +license=('GPL') +url="http://www.gnome.org/projects/nemiver/" +depends=('gdlmm' 'gdb' 'gtksourceviewmm' 'libgtop' 'vte3' 'ghex' 'dconf' 'gsettings-desktop-schemas') +makedepends=('boost' 'intltool' 'gnome-doc-utils') +install=nemiver.install +source=("http://ftp.acc.umu.se/pub/GNOME/sources/nemiver/0.9/$pkgname-$pkgver.tar.xz") +options=('!libtool' '!emptydirs') +sha256sums=('770392965a45d728b798da3c6111c4e7cb55d51f109a78aedead99083f8e2520') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --with-boost \ + --disable-scrollkeeper \ + --enable-symsvis=yes \ + --enable-memoryview=yes \ + --disable-schemas-compile \ + --enable-gsettings=yes + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/community-testing/nemiver/nemiver.install b/community-testing/nemiver/nemiver.install new file mode 100644 index 000000000..f6a1886e7 --- /dev/null +++ b/community-testing/nemiver/nemiver.install @@ -0,0 +1,15 @@ +post_upgrade() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + #update-desktop-database -q + #gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: diff --git a/community/javasqlite/PKGBUILD b/community/javasqlite/PKGBUILD index c622da7e6..74e548fa0 100644 --- a/community/javasqlite/PKGBUILD +++ b/community/javasqlite/PKGBUILD @@ -1,19 +1,20 @@ -# $Id: PKGBUILD 58850 2011-11-19 00:04:26Z guillaume $ +# $Id: PKGBUILD 69678 2012-04-22 12:35:52Z guillaume $ +# Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> pkgname=javasqlite -pkgver=20110827 +pkgver=20120209 pkgrel=1 pkgdesc="Java support for SQLite database engine" arch=('i686' 'x86_64') url="http://www.ch-werner.de/javasqlite/" -license=('BSD') -depends=('java-runtime<7') -makedepends=('java-environment<7' 'sqlite3') +license=('custom:BSD-style') +depends=('java-runtime' 'sqlite') +makedepends=('java-environment') options=('!libtool') source=(http://www.ch-werner.de/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('6fb577b1632425ddcf45f439886623b9') -sha1sums=('b64eb3955cfba2388dd0cda7a9d5a5ff46db22e9') +md5sums=('a5c4f7760ed002749560068b2bd4bb25') +sha1sums=('76aebb0a11b9e1f861ebaeab9ea3e5818b753ab3') build() { cd "$srcdir/$pkgname-$pkgver" @@ -28,5 +29,3 @@ package() { make DESTDIR="$pkgdir" install install -D -m 644 license.terms "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } - -# vim:set ts=2 sw=2 et: diff --git a/community/mc/PKGBUILD b/community/mc/PKGBUILD index 2f3253f55..bd44690c8 100644 --- a/community/mc/PKGBUILD +++ b/community/mc/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 68243 2012-03-20 16:04:03Z schuay $ +# $Id: PKGBUILD 69681 2012-04-22 13:52:54Z schuay $ # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Maintainer: schuay <jakob.gruber@gmail.com> pkgname=mc -pkgver=4.8.2 +pkgver=4.8.3 pkgrel=1 pkgdesc="Midnight Commander is a text based filemanager/shell that emulates Norton Commander" arch=('i686' 'x86_64') @@ -55,4 +55,4 @@ package() { -i "${pkgdir}/usr/lib/mc/extfs.d/s3+" } -md5sums=('54eba7680f3e24fbdb8d83e2cde9eca3') +md5sums=('12d38ad4969df3f8bbf66c3967a191ee') diff --git a/community/mplayer2/PKGBUILD b/community/mplayer2/PKGBUILD new file mode 100644 index 000000000..983ddddfd --- /dev/null +++ b/community/mplayer2/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Martin Panter <vadmium+aur@gmail.com> +# Contributor: Stéphane Gaudreault <stephane@archlinux.org> + +pkgname=mplayer2 +pkgver=20120414 +pkgrel=3 +pkgdesc="An advanced general-purpose media player. A fork of the original MPlayer project" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.mplayer2.org/" +install=$pkgname.install +depends=('a52dec' 'aalib' 'cdparanoia' 'desktop-file-utils' 'enca' 'faad2' 'ffmpeg' 'fontconfig' + 'freetype2' 'jack' 'lame' 'libass' 'libbluray' 'libcaca' 'libcdio' 'libdca' 'libdvdcss' + 'libdvdnav' 'libdvdread' 'libgl' 'libjpeg' 'libmad' 'libpulse' 'libtheora' 'libvdpau' + 'libxinerama' 'libxss' 'libxv' 'libxxf86dga' 'libxxf86vm' 'mpg123' 'ncurses' 'sdl' 'ttf-dejavu') +makedepends=('mesa' 'unzip' 'yasm') +backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') +provides=('mplayer') +conflicts=('mplayer') +options=(!emptydirs) +source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz) +md5sums=('95d981808cbfa66ad238f6c044f4f746') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --enable-runtime-cpudetection \ + --disable-arts \ + --disable-speex \ + --disable-openal \ + --disable-libdv \ + --disable-musepack \ + --disable-esd \ + --disable-mga \ + --language=all \ + --enable-translation \ + --confdir=/etc/mplayer + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + + make DESTDIR="${pkgdir}" install + install -Dm644 etc/{codecs.conf,input.conf,example.conf} "${pkgdir}"/etc/mplayer/ + install -dm755 "${pkgdir}"/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf "${pkgdir}"/usr/share/mplayer/subfont.ttf + + install -dm755 "${pkgdir}"/usr/share/applications/ + install -m 644 etc/mplayer.desktop "${pkgdir}"/usr/share/applications/ +} diff --git a/community/mplayer2/mplayer2.install b/community/mplayer2/mplayer2.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/community/mplayer2/mplayer2.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD index f70330c26..af5a4f8c2 100644 --- a/community/radvd/PKGBUILD +++ b/community/radvd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 69072 2012-04-08 22:59:52Z seblu $ +# $Id: PKGBUILD 69704 2012-04-22 21:26:38Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> # Contributor: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Mark Smith <markzzzsmith@yahoo.com.au> pkgname=radvd pkgver=1.8.5 -pkgrel=3 +pkgrel=4 pkgdesc='IPv6 Router Advertisement Daemon' url='http://www.litech.org/radvd/' license=('custom') @@ -17,7 +17,7 @@ source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.gz" "$pkgname.conf" "$pkgname.service") sha1sums=('344c145bd29938b7eefb0210cf92bf18df3e191d' - 'efe02c38eac45bed065fd48c1e3e7753c90c7c2a' + '08dd01319682f4ef2e847d11aa375e0239c08c7a' '63ce41d790a0472e6b3b15928f6a71d1dbb7700d' '9cb6b2eaaf445fe8d17dfc50fde15709d4de7d1d') build() { diff --git a/community/radvd/radvd.rc b/community/radvd/radvd.rc index 26ad0dbf4..3cac104e7 100644 --- a/community/radvd/radvd.rc +++ b/community/radvd/radvd.rc @@ -4,37 +4,36 @@ . /etc/rc.d/functions . /etc/conf.d/${0##*/} -NAME='IPv6 Router Advertisement Daemon' DAEMON=/usr/sbin/radvd PIDFILE=${PIDFILE:-/run/${0##*/}.pid} DAEMON_OPTS+=("--pidfile=$PIDFILE") # check pid file [[ -r "$PIDFILE" ]] && - read PID < "$PIDFILE" && [[ -n $PID ]] && kill -0 $PID || unset PID + read PID < "$PIDFILE" && [[ -n $PID ]] && kill -0 $PID || unset PID case "$1" in - start) - stat_busy "Starting $NAME daemon" - [[ ! $PID ]] && $DAEMON "${DAEMON_OPTS[@]}" && - add_daemon $NAME && stat_done && exit 0 - stat_fail - ;; + start) + stat_busy "Starting ${0##*/} daemon" + [[ ! $PID ]] && $DAEMON "${DAEMON_OPTS[@]}" && + add_daemon ${0##*/} && stat_done && exit 0 + stat_fail + ;; stop) - stat_busy "Stopping $NAME daemon" - [[ $PID ]] && kill $PID &> /dev/null && rm_daemon $NAME && stat_done && exit 0 - stat_fail - ;; + stat_busy "Stopping ${0##*/} daemon" + [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0 + stat_fail + ;; restart) - $0 stop - $0 start - exit 0 - ;; - *) - echo "usage: ${0##*/} {start|stop|restart}" >&2 - ;; + $0 stop + $0 start + exit 0 + ;; + *) + echo "usage: ${0##*/} {start|stop|restart}" >&2 + ;; esac exit 1 -# vim:set ts=2 sw=2 ft=sh noet: +# vim:set ts=2 sw=2 ft=sh et: diff --git a/community/tcpflow/PKGBUILD b/community/tcpflow/PKGBUILD index e66a0fb0f..e6bc5469d 100644 --- a/community/tcpflow/PKGBUILD +++ b/community/tcpflow/PKGBUILD @@ -1,17 +1,16 @@ -# $Id: PKGBUILD 65859 2012-02-22 13:07:30Z cbrannon $ +# $Id: PKGBUILD 69671 2012-04-22 09:26:57Z cbrannon $ # Maintainer: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Jeff Mickey <jeff@archlinux.org> pkgname=tcpflow -pkgver=1.1.0 +pkgver=1.2.6 pkgrel=1 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="http://afflib.org/software/tcpflow" license=('GPL') -depends=('gcc-libs' 'libpcap') -source=("http://afflib.org/downloads/$pkgname.tar.gz") -md5sums=('9b836b16575679e9d10f39ac7a98efbe') +depends=('gcc-libs' 'libpcap' 'zlib') +source=("https://github.com/downloads/simsong/$pkgname/$pkgname-$pkgver.tar.gz") build() { cd "$srcdir/$pkgname-$pkgver" @@ -23,3 +22,4 @@ package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } +md5sums=('7562f8a1a65f1ce1238be84a1fe83bf6') diff --git a/core/links/PKGBUILD b/core/links/PKGBUILD index 1193ed3b0..49cfa6fca 100644 --- a/core/links/PKGBUILD +++ b/core/links/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 148998 2012-02-05 12:58:31Z eric $ +# $Id: PKGBUILD 156671 2012-04-22 20:30:45Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=links -pkgver=2.5 +pkgver=2.6 pkgrel=1 pkgdesc="A text WWW browser, similar to Lynx" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ provides=('links-g') conflicts=('links-g') replaces=('links-g') source=(http://links.twibright.com/download/${pkgname}-${pkgver}.tar.bz2 links.desktop) -sha1sums=('fe4bc37be8aebd9196c35ffef724435cea94349c' +sha1sums=('228bd726c176ea44d35fa12cafd97aa83214d9dc' 'f600e27c2a71184444f7dd07a10230aa44463a02') build() { diff --git a/core/procps/PKGBUILD b/core/procps/PKGBUILD index b04ebf52c..a43dedf7a 100644 --- a/core/procps/PKGBUILD +++ b/core/procps/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 132740 2011-07-25 18:18:22Z foutrelis $ -# Maintainer: Eric Belanger <eric@archlinux.org> +# $Id: PKGBUILD 156669 2012-04-22 20:29:46Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=procps pkgver=3.2.8 -pkgrel=4 +pkgrel=5 pkgdesc="Utilities for monitoring your system and processes on your system" arch=('i686' 'x86_64') url="http://procps.sourceforge.net/" @@ -80,7 +80,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" ldconfig=/bin/true install + make DESTDIR="${pkgdir}" lib="${pkgdir}/usr/lib/" ldconfig=/bin/true install install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/etc/sysctl.conf" install -d "${pkgdir}/usr/include/proc" install -m644 proc/*.h "${pkgdir}/usr/include/proc" diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD index 9448a9d82..b9903668a 100644 --- a/extra/emelfm2/PKGBUILD +++ b/extra/emelfm2/PKGBUILD @@ -1,30 +1,30 @@ -# $Id: PKGBUILD 151556 2012-02-27 17:34:40Z giovanni $ +# $Id: PKGBUILD 156677 2012-04-22 23:01:54Z eric $ # Maintainer: Kevin Piche <kevin@archlinux.org> # Contributor: contrasutra pkgname=emelfm2 -pkgver=0.8.0 -pkgrel=2 +pkgver=0.8.1 +pkgrel=1 pkgdesc="A file manager that implements the popular two-pane design" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://emelfm2.net/" depends=('gtk2') -license=('GPL') -source=("http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2" - 'emelfm2-0.8.0-dsofix.patch') -md5sums=('8490d501e19009860f53ac6a98db74c1' - '0a6252eda0c3a98ba693148dfdd6ccba') +license=('GPL3') +source=("http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('5528bdd7001451dbdba95bf26ee588be9a0b86da') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i "${srcdir}/emelfm2-0.8.0-dsofix.patch" + cd "${srcdir}/${pkgname}-${pkgver}" make PREFIX=/usr - make PREFIX=${pkgdir}/usr install - make PREFIX=${pkgdir}/usr install_i18n +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX="${pkgdir}/usr" install install_i18n - install -m 755 ${pkgdir}/usr/share/pixmaps/emelfm2/emelfm2_48.png \ - ${pkgdir}/usr/share/pixmaps/emelfm2.png + install -m 755 "${pkgdir}/usr/share/pixmaps/emelfm2/emelfm2_48.png" \ + "${pkgdir}/usr/share/pixmaps/emelfm2.png" sed -e '/Icon=/ s^emelfm2/emelfm2_48.png^emelfm2.png^' \ -e '/Categories=/ s^;$^;Application;Utility;^' \ - -i ${pkgdir}/usr/share/applications/emelfm2.desktop + -i "${pkgdir}/usr/share/applications/emelfm2.desktop" } diff --git a/extra/fvwm/PKGBUILD b/extra/fvwm/PKGBUILD index fdc24191a..3f9d2819e 100644 --- a/extra/fvwm/PKGBUILD +++ b/extra/fvwm/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 149155 2012-02-06 01:09:56Z eric $ +# $Id: PKGBUILD 156673 2012-04-22 21:38:48Z eric $ # Maintainer: Eric Bélanger <eric@archlinux.org> pkgname=fvwm -pkgver=2.6.4 +pkgver=2.6.5 pkgrel=1 pkgdesc="A multiple large virtual desktop window manager originally derived from twm" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ conflicts=('fvwm-devel') replaces=('fvwm-devel') options=('!emptydirs' '!makeflags') source=(ftp://ftp.fvwm.org/pub/fvwm/version-${pkgver%%.*}/${pkgname}-${pkgver}.tar.bz2 fvwm.desktop) -sha1sums=('635b803de5af8677c7f5b91a82b450799cfe3ce2' +sha1sums=('c4cf96df65817d501b41c6fd79cf22658dd516a8' '6fd8fd767f32f88cc8b4743a2ba49bcfcdb32bcb') build() { diff --git a/extra/gnutls/PKGBUILD b/extra/gnutls/PKGBUILD index f98044373..b3aa4dfd2 100644 --- a/extra/gnutls/PKGBUILD +++ b/extra/gnutls/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 155767 2012-04-06 09:23:08Z andyrtr $ +# $Id: PKGBUILD 156663 2012-04-22 16:04:02Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=gnutls -pkgver=3.0.18 +pkgver=3.0.19 pkgrel=1 pkgdesc="A library which provides a secure layer over a reliable transport layer" arch=('i686' 'x86_64') @@ -13,8 +13,8 @@ options=('!libtool' '!zipman') depends=('gcc-libs' '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=('f46539a39857012ccc338a59beb4ac46' - 'fbca6ee827d8db0cea0f9b670b2f5c6c') +md5sums=('05e85d18955edd5c0fe40fbb7ef168bd' + '52c7b7ecf7032322321bf667d86eb084') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -26,10 +26,10 @@ build() { make } -#check() { -# cd "${srcdir}/${pkgname}-${pkgver}" -# make -k check # passes all || /bin/true -#} +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -k check # passes all || /bin/true +} package() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/extra/ldns/Makefile.patch b/extra/ldns/Makefile.patch new file mode 100644 index 000000000..d98291ac9 --- /dev/null +++ b/extra/ldns/Makefile.patch @@ -0,0 +1,20 @@ +--- old/Makefile.in 2012-01-12 00:11:36.000000000 +1100 ++++ new/Makefile.in 2012-01-27 11:36:16.110154453 +1100 +@@ -130,7 +130,7 @@ + exit -1 ; \ + fi + drill/drill: $(DRILL_LOBJS) $(LIB) +- $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) -lldns -o drill/drill ++ $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill + + install-drill: drill/drill + $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) +@@ -157,7 +157,7 @@ + exit -1 ; \ + fi + $(EXAMPLE_PROGS): $(EXAMPLE_LOBJS) $(LIB) +- $(LINK_EXE) $@.lo $(LIBS) -lldns -o $@ ++ $(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@ + + $(TESTNS): $(TESTNS_LOBJS) $(LIB) + $(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS) diff --git a/extra/ldns/PKGBUILD b/extra/ldns/PKGBUILD new file mode 100644 index 000000000..e228c5355 --- /dev/null +++ b/extra/ldns/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 156644 2012-04-22 07:34:09Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: mathieui <mathieui@mathieui.net> +# Contributor: jiribb <jiribb@gmail.com> + +pkgname=ldns +pkgver=1.6.12 +pkgrel=1 +pkgdesc='Fast DNS library supporting recent RFCs, including Drill and other tools' +url='http://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('i686' 'x86_64') +options=('!libtool') +depends=('openssl') +makedepends=('libpcap') +optdepends=('libpcap: ldns-dpa tool') +source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'Makefile.patch') +sha1sums=('1d61df0f666908551d5a62768f77d63e727810aa' + '01bce260e9639d9cd26109a689dddf2498e5026a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i ../Makefile.patch + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --disable-rpath \ + --with-drill \ + --with-examples \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD index 60a330305..818d4e443 100644 --- a/extra/wireshark/PKGBUILD +++ b/extra/wireshark/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 156497 2012-04-19 21:01:40Z guillaume $ +# $Id: PKGBUILD 156655 2012-04-22 13:28:46Z guillaume $ # Maintainer: Guillaume ALAUX <guillaume@archlinux.org> # Contributor: Florian Pritz <bluewind at jabber dot ccc dot de> -pkgname=('wireshark-cli' 'wireshark-gtk' 'wireshark-dev') +pkgname=('wireshark-cli' 'wireshark-gtk') pkgbase=wireshark pkgver=1.6.7 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') license=('GPL2') makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls' 'libgcrypt' 'lua') @@ -38,6 +38,14 @@ package_wireshark-cli() { chgrp 150 "${pkgdir}/usr/bin/dumpcap" chmod 754 "${pkgdir}/usr/bin/dumpcap" rm "${pkgdir}/usr/bin/wireshark" + + # Headers + install -dm755 ${pkgdir}/usr/include/${pkgbase}/{epan/{crypt,dfilter,dissectors,ftypes},wiretap,wsutil} + + install -m644 color.h config.h register.h "${pkgdir}/usr/include/${pkgbase}" + for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes wiretap wsutil; do + install -m644 ${d}/*.h ${pkgdir}/usr/include/${pkgbase}/${d} + done } package_wireshark-gtk() { @@ -55,17 +63,3 @@ package_wireshark-gtk() { done install -Dm644 wireshark.desktop "${pkgdir}/usr/share/applications/wireshark.desktop" } - -package_wireshark-dev() { - pkgdesc="A free network protocol analyzer for Unix/Linux and Windows - header files" - depends=('wireshark-cli') - - cd "${srcdir}/${pkgbase}-${pkgver}" - - install -dm755 ${pkgdir}/usr/include/${pkgbase}/{epan/{crypt,dfilter,dissectors,ftypes},wiretap,wsutil} - - install -m644 color.h config.h register.h "${pkgdir}/usr/include/${pkgbase}" - for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes wiretap wsutil; do - install -m644 ${d}/*.h ${pkgdir}/usr/include/${pkgbase}/${d} - done -} diff --git a/extra/xfce4-diskperf-plugin/PKGBUILD b/extra/xfce4-diskperf-plugin/PKGBUILD index 620708779..9fef72e6e 100644 --- a/extra/xfce4-diskperf-plugin/PKGBUILD +++ b/extra/xfce4-diskperf-plugin/PKGBUILD @@ -1,26 +1,23 @@ -# $Id: PKGBUILD 149264 2012-02-06 17:00:23Z foutrelis $ +# $Id: PKGBUILD 156693 2012-04-23 00:17:10Z eric $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: Aurelien Foret <orelien@chez.com> pkgname=xfce4-diskperf-plugin -pkgver=2.3.0 -pkgrel=2 +pkgver=2.5.1 +pkgrel=1 pkgdesc="Plugin for the Xfce4 panel displaying instant disk/partition performance" arch=('i686' 'x86_64') -license=('custom') +license=('BSD') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin" groups=('xfce4-goodies') -depends=('xfce4-panel' 'libxfcegui4') # 'libxfce4ui') +depends=('xfce4-panel') makedepends=('intltool') -source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/2.3/${pkgname}-${pkgver}.tar.bz2) -md5sums=('c6ece8123c762ee203cbc6fd5450b503') +options=('!libtool') +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('b6053881f3ddff90a0a0baa655c84b27') build() { - cd ${srcdir}/${pkgname}-${pkgver} - - # Work around DSO linking issue - LDFLAGS+=' -Wl,--copy-dt-needed-entries' - + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ @@ -31,7 +28,7 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } diff --git a/extra/xfce4-mount-plugin/PKGBUILD b/extra/xfce4-mount-plugin/PKGBUILD index 9e463a867..f179c66e8 100644 --- a/extra/xfce4-mount-plugin/PKGBUILD +++ b/extra/xfce4-mount-plugin/PKGBUILD @@ -1,23 +1,24 @@ -# $Id: PKGBUILD 149250 2012-02-06 16:29:16Z foutrelis $ +# $Id: PKGBUILD 156689 2012-04-22 23:46:49Z eric $ # Maintainer: AndyRTR <andyrtr@archlinux.org> # Contributor: Tobias Kieslich <tobias (at) archlinux.org> pkgname=xfce4-mount-plugin -pkgver=0.5.5 -pkgrel=2 -pkgdesc="plugin for the Xfce4 panel to mount and unmount volumes" +pkgver=0.6.1 +pkgrel=1 +pkgdesc="Plugin for the Xfce4 panel to mount and unmount volumes" arch=('i686' 'x86_64') -license=('GPL2') +license=('GPL') url="http://xfce-goodies.berlios.de/" groups=('xfce4-goodies') -depends=('xfce4-panel' 'libxfcegui4' 'hicolor-icon-theme') +depends=('xfce4-panel') makedepends=('intltool') +options=('!libtool') install=${pkgname}.install -source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.5/${pkgname}-${pkgver}.tar.bz2) -md5sums=('1d237468fe23e4e8c29195d9b99c4c5d') +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('0b9dee13886639aea8b4ca3158b9cdf7') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ @@ -28,6 +29,6 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/testing/anjuta-extras/PKGBUILD b/testing/anjuta-extras/PKGBUILD index 8996ddc61..b80ea1282 100644 --- a/testing/anjuta-extras/PKGBUILD +++ b/testing/anjuta-extras/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 155009 2012-04-01 11:30:33Z heftig $ +# $Id: PKGBUILD 156690 2012-04-22 23:48:32Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=anjuta-extras pkgver=3.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Anjuta Integrated Development Environment extra plugins" arch=('i686' 'x86_64') license=('GPL') diff --git a/testing/anjuta/PKGBUILD b/testing/anjuta/PKGBUILD index 04d037a42..ef11325cc 100644 --- a/testing/anjuta/PKGBUILD +++ b/testing/anjuta/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 155007 2012-04-01 11:30:31Z heftig $ +# $Id: PKGBUILD 156687 2012-04-22 23:46:10Z heftig $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> # Contributor: Harley Laue <losinggeneration@yahoo.com> pkgname=anjuta pkgver=3.4.0 -pkgrel=2 +pkgrel=3 pkgdesc="GNOME Integrated Development Environment (IDE)" arch=('i686' 'x86_64') license=('GPL') diff --git a/testing/dnsutils/PKGBUILD b/testing/dnsutils/PKGBUILD new file mode 100644 index 000000000..ebfb32c78 --- /dev/null +++ b/testing/dnsutils/PKGBUILD @@ -0,0 +1,52 @@ +# $Id: PKGBUILD 156648 2012-04-22 08:05:14Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: kevin <kevin@archlinux.org> +# Contributor: mario <mario_vazq@hotmail.com> + +pkgname=dnsutils + +# Use a period and not a hyphen before the patch level for proper versioning. +pkgver=9.9.0 +_pkgver=9.9.0 +pkgrel=2 + +pkgdesc='DNS utilities: dig host nslookup' +url='http://www.isc.org/software/bind/' +license=('custom:ISC') +arch=('i686' 'x86_64') +options=('!makeflags') +depends=('openssl' 'krb5' 'idnkit' 'dnssec-anchors') +source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz" + 'remove-bind.patch') +sha1sums=('6be77c75c8649088b0ae7124d819b5f412bb0094' + 'b465ef6160b004838f04de9978fe1be8422af777') + +replaces=('bind-tools' 'host') + +build() { + cd "${srcdir}/bind-${_pkgver}" + + patch -p1 -i ../remove-bind.patch + export STD_CDEFINES='-DDIG_SIGCHASE' + + # hack to remove unused bloat from the binaries + CFLAGS+=' -fdata-sections -ffunction-sections' + LDFLAGS+=' -Wl,--gc-sections' + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --disable-linux-caps \ + --with-openssl \ + --with-idn \ + + make +} + +package() { + cd "${srcdir}/bind-${_pkgver}" + install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd bin; make DESTDIR="${pkgdir}" install +} diff --git a/testing/dnsutils/remove-bind.patch b/testing/dnsutils/remove-bind.patch new file mode 100644 index 000000000..19d650964 --- /dev/null +++ b/testing/dnsutils/remove-bind.patch @@ -0,0 +1,25 @@ +diff -aur old/bin/Makefile.in new/bin/Makefile.in +--- old/bin/Makefile.in 2009-10-05 05:07:08.000000000 -0700 ++++ new/bin/Makefile.in 2011-08-28 19:16:17.245495043 -0700 +@@ -19,8 +19,7 @@ + VPATH = @srcdir@ + top_srcdir = @top_srcdir@ + +-SUBDIRS = named rndc dig dnssec tests tools nsupdate \ +- check confgen @PKCS11_TOOLS@ ++SUBDIRS = dig + TARGETS = + + @BIND9_MAKE_RULES@ +diff -aur old/lib/Makefile.in new/lib/Makefile.in +--- old/lib/Makefile.in 2007-06-19 16:47:13.000000000 -0700 ++++ new/lib/Makefile.in 2011-08-28 19:17:50.828688599 -0700 +@@ -23,7 +23,7 @@ + # Attempt to disable parallel processing. + .NOTPARALLEL: + .NO_PARALLEL: +-SUBDIRS = isc isccc dns isccfg bind9 lwres tests ++SUBDIRS = isc dns isccfg bind9 lwres + TARGETS = + + @BIND9_MAKE_RULES@ diff --git a/testing/gdl/PKGBUILD b/testing/gdl/PKGBUILD index c352df8e9..17cd5f6b6 100644 --- a/testing/gdl/PKGBUILD +++ b/testing/gdl/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 155076 2012-04-01 11:32:13Z heftig $ +# $Id: PKGBUILD 156686 2012-04-22 23:41:34Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=gdl -pkgver=3.4.1 +pkgver=3.4.2 pkgrel=1 pkgdesc="GNOME Docking Library" arch=(i686 x86_64) @@ -12,7 +12,7 @@ depends=('gtk3') makedepends=('gtk-doc' 'intltool' 'gobject-introspection') options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('82fedce869a40d36394faa441472318746f7431ae051d99ada6df206ba027f5e') +sha256sums=('66eeca8aa8e7205abf38911a9eadfbd288967f92388682bd62942ed4f1db4906') build() { cd "$pkgname-$pkgver" diff --git a/testing/gmime/PKGBUILD b/testing/gmime/PKGBUILD index 144cc95b4..9459596a7 100644 --- a/testing/gmime/PKGBUILD +++ b/testing/gmime/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 156594 2012-04-21 11:48:59Z ibiru $ +# $Id: PKGBUILD 156679 2012-04-22 23:09:57Z heftig $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Ben <ben@benmazer.net> pkgname=gmime -pkgver=2.6.8 +pkgver=2.6.9 pkgrel=1 pkgdesc="Core mime parsing library" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('glib2' 'gpgme' 'zlib') makedepends=('gtk-sharp-2') options=('!libtool') source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) -sha256sums=('cf434bc52329554b403ce08344a9c429f5807bbd67b2f1a6857daa145a2830d7') +sha256sums=('5ebb60a35fa5c0789fe10f6e4af5040cb7bc4a707a8a962fbd57b4fc5595c0b9') build() { # get rid of that .wapi errors in fakeroot diff --git a/testing/gtkpod/PKGBUILD b/testing/gtkpod/PKGBUILD new file mode 100644 index 000000000..7a3a1dff6 --- /dev/null +++ b/testing/gtkpod/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 156691 2012-04-22 23:50:01Z heftig $ +# Maintainer: Kevin Piche <kevin@archlinux.org> +# Contributor: Aaron Griffin <aaron@archlinux.org> + +pkgname=gtkpod +pkgver=2.1.1 +pkgrel=2 +pkgdesc="A platform independent GUI for Apple's iPod using GTK3" +arch=('i686' 'x86_64') +url="http://gtkpod.sourceforge.net" +license=('GPL') +depends=('anjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk') +makedepends=('flex' 'intltool') +optdepends=('libmp4v2: MP4/h264 support' + 'vorbis-tools: OGG support' + 'id3v2: mp3 conversion support') +install=gtkpod.install +options=('!libtool') +source=("http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz") +md5sums=('36fd0324fd1d1da00fcddacef1b09983') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's#python#python2#' scripts/sync-palm-jppy.py + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/testing/gtkpod/gtkpod.install b/testing/gtkpod/gtkpod.install new file mode 100644 index 000000000..c5d357a38 --- /dev/null +++ b/testing/gtkpod/gtkpod.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/testing/ldns/Makefile.patch b/testing/ldns/Makefile.patch new file mode 100644 index 000000000..d98291ac9 --- /dev/null +++ b/testing/ldns/Makefile.patch @@ -0,0 +1,20 @@ +--- old/Makefile.in 2012-01-12 00:11:36.000000000 +1100 ++++ new/Makefile.in 2012-01-27 11:36:16.110154453 +1100 +@@ -130,7 +130,7 @@ + exit -1 ; \ + fi + drill/drill: $(DRILL_LOBJS) $(LIB) +- $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) -lldns -o drill/drill ++ $(LINK_EXE) $(DRILL_LOBJS) $(LIBS) $(LIBSSL_LIBS) -lldns -o drill/drill + + install-drill: drill/drill + $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) +@@ -157,7 +157,7 @@ + exit -1 ; \ + fi + $(EXAMPLE_PROGS): $(EXAMPLE_LOBJS) $(LIB) +- $(LINK_EXE) $@.lo $(LIBS) -lldns -o $@ ++ $(LINK_EXE) $@.lo $(LIBS) $(LIBSSL_LIBS) -lldns -o $@ + + $(TESTNS): $(TESTNS_LOBJS) $(LIB) + $(LINK_EXE) $(TESTNS_LOBJS) $(LIBS) -lldns -o $(TESTNS) diff --git a/testing/ldns/PKGBUILD b/testing/ldns/PKGBUILD new file mode 100644 index 000000000..d113c41ec --- /dev/null +++ b/testing/ldns/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 156650 2012-04-22 08:06:30Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: mathieui <mathieui@mathieui.net> +# Contributor: jiribb <jiribb@gmail.com> + +pkgname=ldns +pkgver=1.6.12 +pkgrel=2 +pkgdesc='Fast DNS library supporting recent RFCs' +url='http://www.nlnetlabs.nl/projects/ldns/' +license=('custom:BSD') +arch=('i686' 'x86_64') +options=('!libtool') +depends=('openssl' 'dnssec-anchors') +optdepends=('libpcap: ldns-dpa tool') +makedepends=('libpcap') +source=("http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'Makefile.patch') +sha1sums=('1d61df0f666908551d5a62768f77d63e727810aa' + '01bce260e9639d9cd26109a689dddf2498e5026a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 -i ../Makefile.patch + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-static=no \ + --disable-rpath \ + --with-drill \ + --with-examples \ + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/testing/nx/PKGBUILD b/testing/nx/PKGBUILD index 6db55bcd4..4cf19311a 100644 --- a/testing/nx/PKGBUILD +++ b/testing/nx/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 156624 2012-04-21 23:25:48Z andyrtr $ +# $Id: PKGBUILD 156665 2012-04-22 17:10:42Z andyrtr $ # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgbase=nx pkgname=('libxcomp' 'nxproxy' 'nx-x11' 'nx-xcompext' 'nxagent' 'nx-headers') pkgver=3.5.0.12 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://wiki.x2go.org/" license=('GPL') @@ -41,8 +41,11 @@ package_nxproxy() { pkgdesc="NX proxy" depends=('libxcomp') - install -dm755 ${pkgdir}/usr/{bin,share/man/man1,lib/nx} - cp -a ${srcdir}/fakeinstall/usr/bin/nxproxy ${pkgdir}/usr/lib/nx + install -dm755 ${pkgdir}/usr/{bin,share/man/man1,lib/nx/bin} + cp -a ${srcdir}/fakeinstall/usr/bin/nxproxy ${pkgdir}/usr/lib/nx/bin + cd ${pkgdir}/usr/lib/nx + ln -sv /usr/lib/nx/bin/nxproxy . + # the wrapper cp -a ${srcdir}/nx-libs_$pkgver/bin/nxproxy ${pkgdir}/usr/bin chmod +x ${pkgdir}/usr/bin/nxproxy @@ -55,7 +58,6 @@ package_nx-xcompext() { depends=('libxcomp' 'nx-x11') install -dm755 ${pkgdir}/usr/lib/nx - #cp -a ${srcdir}/fakeinstall/usr/lib/nx/libXcompext.so* ${pkgdir}/usr/lib/nx cp -a ${srcdir}/fakeinstall/usr/lib/nx/libXcompext.so.3.5.0 ${pkgdir}/usr/lib/nx cd ${pkgdir}/usr/lib/nx ln -sv libXcompext.so.3.5.0 libXcompext.so.3 @@ -69,10 +71,13 @@ package_nx-x11() { pkgdesc="NX-X11 lib for the NX framework" depends=('libxcomp') - install -dm755 ${pkgdir}/{etc/ld.so.conf.d,usr/bin,usr/lib/nx} + install -dm755 ${pkgdir}/{etc/ld.so.conf.d,usr/bin,usr/lib/nx/bin} cp -aR ${srcdir}/fakeinstall/usr/lib/NX3/lib*/nx/lib*.so* ${pkgdir}/usr/lib/nx - cp -a ${srcdir}/fakeinstall/usr/lib/NX3/bin/nxauth ${pkgdir}/usr/lib/nx + cp -a ${srcdir}/fakeinstall/usr/lib/NX3/bin/nxauth ${pkgdir}/usr/lib/nx/bin + cd ${pkgdir}/usr/lib/nx + ln -sv /usr/lib/nx/bin/nxauth . + # the wrapper cp -a ${srcdir}/nx-libs_$pkgver/bin/nxauth ${pkgdir}/usr/bin chmod +x ${pkgdir}/usr/bin/nxauth @@ -85,8 +90,11 @@ package_nxagent() { pkgdesc="NX X server based on Xnest" depends=('nx-xcompext') - install -dm755 ${pkgdir}/usr/{bin,lib/nx} - cp -aR ${srcdir}/fakeinstall/usr/lib/NX3/bin/nxagent ${pkgdir}/usr/lib/nx + install -dm755 ${pkgdir}/usr/{bin,lib/nx/bin} + cp -aR ${srcdir}/fakeinstall/usr/lib/NX3/bin/nxagent ${pkgdir}/usr/lib/nx/bin + cd ${pkgdir}/usr/lib/nx + ln -sv /usr/lib/nx/bin/nxagent . + # the wrapper cp -a ${srcdir}/nx-libs_$pkgver/bin/nxagent ${pkgdir}/usr/bin chmod +x ${pkgdir}/usr/bin/nxagent diff --git a/testing/openssh/PKGBUILD b/testing/openssh/PKGBUILD new file mode 100644 index 000000000..0a52bc805 --- /dev/null +++ b/testing/openssh/PKGBUILD @@ -0,0 +1,77 @@ +# $Id: PKGBUILD 156652 2012-04-22 08:07:55Z bisson $ +# Maintainer: Gaetan Bisson <bisson@archlinux.org> +# Contributor: Aaron Griffin <aaron@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=openssh +pkgver=6.0p1 +pkgrel=1 +pkgdesc='Free version of the SSH connectivity tools' +url='http://www.openssh.org/portable.html' +license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('krb5' 'openssl' 'libedit' 'ldns') +optdepends=('x11-ssh-askpass: input passphrase in X without a terminal') +source=("ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${pkgver}.tar.gz" + 'sshd.close-sessions' + 'sshd.confd' + 'sshd.pam' + 'sshd') +sha1sums=('f691e53ef83417031a2854b8b1b661c9c08e4422' + '954bf1660aa32620c37034320877f4511b767ccb' + 'ec102deb69cad7d14f406289d2fc11fee6eddbdd' + '3413909fd45a28701c92e6e5b59c6b65346ddb0f' + '21fa88de6cc1c7912e71655f50896ba17991a1c2') + +backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd' 'etc/conf.d/sshd') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/ssh \ + --sysconfdir=/etc/ssh \ + --with-ldns \ + --with-libedit \ + --with-ssl-engine \ + --with-pam \ + --with-privsep-user=nobody \ + --with-kerberos5=/usr \ + --with-xauth=/usr/bin/xauth \ + --with-mantype=man \ + --with-md5-passwords \ + + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # The connect.sh test must be run by a user with a decent login shell; + # chroot builds use nobody with /bin/false. + make tests || true +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm755 ../sshd "${pkgdir}"/etc/rc.d/sshd + install -Dm644 ../sshd.pam "${pkgdir}"/etc/pam.d/sshd + install -Dm644 ../sshd.confd "${pkgdir}"/etc/conf.d/sshd + install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE" + install -Dm755 ../sshd.close-sessions "${pkgdir}/etc/rc.d/functions.d/sshd-close-sessions" # FS#17389 + + rm "${pkgdir}"/usr/share/man/man1/slogin.1 + ln -sf ssh.1.gz "${pkgdir}"/usr/share/man/man1/slogin.1.gz + + install -Dm755 contrib/findssl.sh "${pkgdir}"/usr/bin/findssl.sh + install -Dm755 contrib/ssh-copy-id "${pkgdir}"/usr/bin/ssh-copy-id + install -Dm644 contrib/ssh-copy-id.1 "${pkgdir}"/usr/share/man/man1/ssh-copy-id.1 + + sed \ + -e '/^#ChallengeResponseAuthentication yes$/c ChallengeResponseAuthentication no' \ + -e '/^#UsePAM no$/c UsePAM yes' \ + -i "${pkgdir}"/etc/ssh/sshd_config +} diff --git a/testing/openssh/sshd b/testing/openssh/sshd new file mode 100755 index 000000000..1d68fb877 --- /dev/null +++ b/testing/openssh/sshd @@ -0,0 +1,45 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions +. /etc/conf.d/sshd + +PIDFILE=/var/run/sshd.pid +PID=$(cat $PIDFILE 2>/dev/null) +if ! readlink -q /proc/$PID/exe | grep -q '^/usr/sbin/sshd'; then + PID= + rm $PIDFILE 2>/dev/null +fi + +case "$1" in + start) + stat_busy 'Starting Secure Shell Daemon' + /usr/bin/ssh-keygen -A + [[ -d /var/empty ]] || mkdir -p /var/empty + [[ -z $PID ]] && /usr/sbin/sshd $SSHD_ARGS + if [[ $? -gt 0 ]]; then + stat_fail + else + add_daemon sshd + stat_done + fi + ;; + stop) + stat_busy 'Stopping Secure Shell Daemon' + [[ ! -z $PID ]] && kill $PID &> /dev/null + if [[ $? -gt 0 ]]; then + stat_fail + else + rm_daemon sshd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/testing/openssh/sshd.close-sessions b/testing/openssh/sshd.close-sessions new file mode 100644 index 000000000..be2a709fc --- /dev/null +++ b/testing/openssh/sshd.close-sessions @@ -0,0 +1,17 @@ +# Close sshd sessions before shutting down the network; see FS#17389. + +sshd_close_sessions () { + if ck_daemon sshd; then + return + fi + /etc/rc.d/sshd stop + stat_busy "Stopping Secure Shell Sessions" + for i in $(pgrep sshd); do + if readlink -q /proc/$i/exe | grep -q '^/usr/sbin/sshd'; then + kill $i + fi + done &>/dev/null + stat_done +} + +add_hook shutdown_start sshd_close_sessions diff --git a/testing/openssh/sshd.confd b/testing/openssh/sshd.confd new file mode 100644 index 000000000..5ce7c0079 --- /dev/null +++ b/testing/openssh/sshd.confd @@ -0,0 +1,4 @@ +# +# Parameters to be passed to sshd +# +SSHD_ARGS="" diff --git a/testing/openssh/sshd.pam b/testing/openssh/sshd.pam new file mode 100644 index 000000000..c7b91cdfb --- /dev/null +++ b/testing/openssh/sshd.pam @@ -0,0 +1,12 @@ +#%PAM-1.0 +#auth required pam_securetty.so #Disable remote root +auth required pam_unix.so +auth required pam_env.so +account required pam_nologin.so +account required pam_unix.so +account required pam_time.so +password required pam_unix.so +session required pam_unix_session.so +session required pam_limits.so +-session optional pam_ck_connector.so nox11 +-session optional pam_systemd.so |