From 29896582b8f0f163c9b880fa64ee948d470ef5ba Mon Sep 17 00:00:00 2001 From: root Date: Sat, 25 Aug 2012 00:02:57 +0000 Subject: Sat Aug 25 00:02:57 UTC 2012 --- community/print-manager/PKGBUILD | 29 +++++++++++++++++++ community/qingy/PKGBUILD | 12 ++++---- community/qingy/qingy@.service | 20 +++++++++++++ community/tabbed/PKGBUILD | 6 ++-- core/grep/PKGBUILD | 10 +++---- core/grep/grep.install | 10 ++----- extra/audacity/PKGBUILD | 8 +++--- extra/libmtp/PKGBUILD | 6 ++-- extra/misdnuser/PKGBUILD | 6 ++-- extra/nacl-toolchain-newlib/PKGBUILD | 54 +++++++++++++++++++++++++++++++++++ extra/proftpd/PKGBUILD | 18 ++++++++---- extra/proftpd/proftpd.install | 3 ++ extra/proftpd/proftpd.service | 14 ++++----- extra/proftpd/proftpd.tmpfiles | 1 + extra/ypserv/PKGBUILD | 20 ++++++++++--- extra/ypserv/yppasswdd.service | 12 ++++++++ extra/ypserv/ypserv.service | 12 ++++++++ extra/ypserv/ypxfrd.service | 12 ++++++++ multilib/lib32-gdk-pixbuf2/PKGBUILD | 8 +++--- pcr/chiliproject/PKGBUILD | 41 ++++++++++++++++++++++++++ pcr/chiliproject/chiliproject.install | 17 +++++++++++ pcr/ruby-bundler/PKGBUILD | 22 ++++++++++++++ testing/cracklib/PKGBUILD | 34 ++++++++++++++++++++++ testing/crda/PKGBUILD | 40 ++++++++++++++++++++++++++ testing/crda/crda.install | 5 ++++ testing/crda/libnl32.patch | 12 ++++++++ testing/crda/set-wireless-regdom | 5 ++++ testing/libgssglue/PKGBUILD | 35 +++++++++++++++++++++++ testing/libgssglue/gssapi_mech.conf | 22 ++++++++++++++ testing/rpcbind/PKGBUILD | 46 +++++++++++++++++++++++++++++ testing/rpcbind/rpcbind | 39 +++++++++++++++++++++++++ testing/rpcbind/rpcbind-sunrpc.patch | 22 ++++++++++++++ testing/rpcbind/rpcbind.service | 13 +++++++++ 33 files changed, 563 insertions(+), 51 deletions(-) create mode 100644 community/print-manager/PKGBUILD create mode 100644 community/qingy/qingy@.service create mode 100644 extra/nacl-toolchain-newlib/PKGBUILD create mode 100644 extra/proftpd/proftpd.install create mode 100644 extra/proftpd/proftpd.tmpfiles create mode 100644 extra/ypserv/yppasswdd.service create mode 100644 extra/ypserv/ypserv.service create mode 100644 extra/ypserv/ypxfrd.service create mode 100644 pcr/chiliproject/PKGBUILD create mode 100644 pcr/chiliproject/chiliproject.install create mode 100644 pcr/ruby-bundler/PKGBUILD create mode 100644 testing/cracklib/PKGBUILD create mode 100644 testing/crda/PKGBUILD create mode 100644 testing/crda/crda.install create mode 100644 testing/crda/libnl32.patch create mode 100755 testing/crda/set-wireless-regdom create mode 100644 testing/libgssglue/PKGBUILD create mode 100644 testing/libgssglue/gssapi_mech.conf create mode 100644 testing/rpcbind/PKGBUILD create mode 100755 testing/rpcbind/rpcbind create mode 100644 testing/rpcbind/rpcbind-sunrpc.patch create mode 100644 testing/rpcbind/rpcbind.service diff --git a/community/print-manager/PKGBUILD b/community/print-manager/PKGBUILD new file mode 100644 index 000000000..c377ad94d --- /dev/null +++ b/community/print-manager/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Andrea Scarpino +# Contributor: vicky91 + +pkgname=print-manager +pkgver=0.2.0 +pkgrel=1 +pkgdesc="A KDE tool for managing print jobs and printers" +arch=('i686' 'x86_64') +url="https://projects.kde.org/projects/playground/base/print-manager" +license=('GPL') +depends=('kdebase-workspace' 'libcups') +makedepends=('cmake' 'automoc4') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +md5sums=('183c22e91021b0357c2a27146c931de0') + +build() { + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCUPS_1_6=ON + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/community/qingy/PKGBUILD b/community/qingy/PKGBUILD index 89c4fc249..52801f11d 100644 --- a/community/qingy/PKGBUILD +++ b/community/qingy/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74060 2012-07-19 05:01:27Z ebelanger $ +# $Id: PKGBUILD 75441 2012-08-24 00:19:10Z ebelanger $ # Maintainer: Eric Bélanger # Contributor: Jaroslav Lichtblau pkgname=qingy pkgver=1.0.0 -pkgrel=5 +pkgrel=6 pkgdesc="A DirectFB getty replacement" arch=('i686' 'x86_64') url="http://qingy.sourceforge.net/" @@ -15,9 +15,10 @@ backup=('etc/qingy/settings' 'etc/qingy/welcomes') options=('!libtool') install=qingy.install source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ - qingy.logrotate) -md5sums=('1e0912655e240adfd0ce5ced30bbc685' - 'a9bdfd0ac9f29380eafa97a4a056789d') + qingy.logrotate qingy@.service) +sha1sums=('22ee505e935bf7ddcbd33e23f754a5a1ca082c81' + '21676cf0b71334c666f7b3e4f3d8b4f319266c81' + '55cfd0b24c1dedd8aaea42fd03f5ec39a1be5e70') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -33,4 +34,5 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" + install -D -m644 "${srcdir}/qingy@.service" "${pkgdir}/usr/lib/systemd/system/qingy@.service" } diff --git a/community/qingy/qingy@.service b/community/qingy/qingy@.service new file mode 100644 index 000000000..ce2156def --- /dev/null +++ b/community/qingy/qingy@.service @@ -0,0 +1,20 @@ +[Unit] +Description=Quingy on %I +Documentation=info:qingy +After=systemd-user-sessions.service plymouth-quit-wait.service + +[Service] +Environment=TERM=linux +ExecStart=/sbin/qingy %I -n +Restart=always +RestartSec=0 +UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=yes +KillMode=process +IgnoreSIGPIPE=no + +[Install] +Alias=getty.target.wants/qingy@tty1.service diff --git a/community/tabbed/PKGBUILD b/community/tabbed/PKGBUILD index c249ac00f..c89f0ed1f 100644 --- a/community/tabbed/PKGBUILD +++ b/community/tabbed/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 75190 2012-08-15 18:40:41Z lfleischer $ +# $Id: PKGBUILD 75438 2012-08-23 21:00:37Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: totoloco pkgname=tabbed -pkgver=0.4 +pkgver=0.4.1 pkgrel=1 pkgdesc='Simple generic tabbed fronted to xembed aware applications.' arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('libx11') install='tabbed.install' source=("http://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz" 'config.h') -md5sums=('855ee1245386193a17af3fb3fedf1281' +md5sums=('6349b763f8a4d5e42d18245169fb136c' '5aa6c1fdc7971b21363704391bea6e1b') build() { diff --git a/core/grep/PKGBUILD b/core/grep/PKGBUILD index b878e71d8..169879980 100644 --- a/core/grep/PKGBUILD +++ b/core/grep/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 163715 2012-07-18 02:16:59Z dreisner $ +# $Id: PKGBUILD 165540 2012-08-23 11:37:14Z allan $ # Maintainer: Allan McRae # Contributor: judd pkgname=grep -pkgver=2.13 -pkgrel=2 +pkgver=2.14 +pkgrel=1 pkgdesc="A string search utility" arch=('i686' 'x86_64') license=('GPL3') @@ -14,8 +14,8 @@ depends=('glibc' 'pcre' 'sh') makedepends=('texinfo') install=${pkgname}.install source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}) -md5sums=('5894d484e6c02249f9702d0d8a472115' - '99acaa4d45ab931be2ecba49a1766df7') +md5sums=('d4a3f03849d1e17ce56ab76aa5a24cab' + 'b94fdcaa058b47a9a25099c26cd2e4c3') build() { cd ${srcdir}/${pkgname}-${pkgver} diff --git a/core/grep/grep.install b/core/grep/grep.install index 7cd31301f..885238ac3 100644 --- a/core/grep/grep.install +++ b/core/grep/grep.install @@ -1,11 +1,9 @@ infodir=usr/share/info -filelist=(grep.info) +file=grep.info post_install() { [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done + install-info $infodir/$file.gz $infodir/dir 2> /dev/null } post_upgrade() { @@ -14,8 +12,6 @@ post_upgrade() { pre_remove() { [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null } diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD index ef763c86a..92c46ae73 100644 --- a/extra/audacity/PKGBUILD +++ b/extra/audacity/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 164991 2012-08-08 01:06:53Z eric $ +# $Id: PKGBUILD 165559 2012-08-24 02:38:00Z eric $ # Maintainer: Eric Bélanger pkgname=audacity -pkgver=2.0.1 -pkgrel=2 +pkgver=2.0.2 +pkgrel=1 pkgdesc="A program that lets you manipulate digital audio waveforms" arch=('i686' 'x86_64') url="http://audacity.sourceforge.net/" @@ -13,7 +13,7 @@ depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme' options=('!makeflags') install=audacity.install source=(http://audacity.googlecode.com/files/${pkgname}-minsrc-${pkgver}.tar.bz2) -sha1sums=('366a10f3bd71c4d84c29437fff1e27a8560f691b') +sha1sums=('c5e4058346c96713a0d39fcd6b33f27137589b06') build() { cd "${srcdir}/${pkgname}-src-${pkgver}" diff --git a/extra/libmtp/PKGBUILD b/extra/libmtp/PKGBUILD index 020cd70c2..4fedbdd6a 100644 --- a/extra/libmtp/PKGBUILD +++ b/extra/libmtp/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 155970 2012-04-10 11:26:59Z tomegun $ +# $Id: PKGBUILD 165552 2012-08-23 17:48:12Z tomegun $ # Maintainer: Tom Gundersen # Contributor: damir # Contributor: Kevin Edmonds pkgname=libmtp -pkgver=1.1.3 +pkgver=1.1.4 pkgrel=1 pkgdesc="Library implementation of the Media Transfer Protocol" arch=("i686" "x86_64") @@ -24,4 +24,4 @@ package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } -md5sums=('11529eedaf0e1fc00cdd6119eec525f0') +md5sums=('27d9bcbc925c1ef84869eb27fdda54e8') diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD index 8f82702c4..18b7cc919 100644 --- a/extra/misdnuser/PKGBUILD +++ b/extra/misdnuser/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 164669 2012-08-02 12:42:25Z tpowa $ +# $Id: PKGBUILD 165546 2012-08-23 12:30:42Z tpowa $ # Maintainer: Tobias Powalowski pkgname=misdnuser -pkgver=2.0.14_20120802 +pkgver=2.0.15_20120823 pkgrel=1 pkgdesc="Tools and library for mISDN" arch=('i686' 'x86_64') @@ -44,7 +44,7 @@ package() { install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf } -md5sums=('ea4c4b55eb2f5914bceb17b648e8f879' +md5sums=('df5013bcaf5ee320a58eb6dfe0cd4673' '2009563b144de037ecb20f8d727a772e' '8f305ee6e35fa12a8bec0632bfe7a076' '32ead7f063e007c784aa883d441f33c2' diff --git a/extra/nacl-toolchain-newlib/PKGBUILD b/extra/nacl-toolchain-newlib/PKGBUILD new file mode 100644 index 000000000..e75369387 --- /dev/null +++ b/extra/nacl-toolchain-newlib/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 165539 2012-08-23 08:55:39Z foutrelis $ +# Maintainer: Evangelos Foutras +# Contributor: Gustavo Alvarez + +pkgname=nacl-toolchain-newlib +pkgver=8989 +pkgrel=2 +_binutilsver=2.20.1 +_newlibver=1.20.0 +_gccver=4.4.3 +pkgdesc="Native Client newlib-based toolchain (only for compiling IRT)" +arch=('i686' 'x86_64') +url="http://code.google.com/chrome/nativeclient/" +license=('BSD' 'GPL3' 'LGPL3' 'GPL2' 'FDL' 'custom') +depends=('zlib' 'mpfr') +options=('!strip') +source=(http://ftp.gnu.org/gnu/binutils/binutils-$_binutilsver.tar.bz2 + ftp://sources.redhat.com/pub/newlib/newlib-$_newlibver.tar.gz + http://ftp.gnu.org/gnu/gcc/gcc-$_gccver/gcc-$_gccver.tar.bz2 + http://commondatastorage.googleapis.com/nativeclient-archive2/x86_toolchain/r$pkgver/nacltoolchain-buildscripts-r$pkgver.tar.gz + http://commondatastorage.googleapis.com/nativeclient-archive2/x86_toolchain/r$pkgver/naclbinutils-$_binutilsver-r$pkgver.patch.bz2 + http://commondatastorage.googleapis.com/nativeclient-archive2/x86_toolchain/r$pkgver/naclnewlib-$_newlibver-r$pkgver.patch.bz2 + http://commondatastorage.googleapis.com/nativeclient-archive2/x86_toolchain/r$pkgver/naclgcc-$_gccver-r$pkgver.patch.bz2) +sha256sums=('71d37c96451333c5c0b84b170169fdcb138bbb27397dc06281905d9717c8ed64' + 'c644b2847244278c57bec2ddda69d8fab5a7c767f3b9af69aa7aa3da823ff692' + '97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040' + '985f12e30192a2aaceeff874a08d2bac997136b704dc2efa8728ab898562d7bd' + '2e8977a7a8b596fb7dbd22f09901b186a159b347f3d8b15dead3f8a694a52e09' + '312520d6cda73df83b943282ff264c0a29d8dfebda8409f681690f5e33c1d249' + 'fbfaf4ade5d95abd67d557fcc15219f2dd0292f356fc5f96d687c954424b6420') + +build() { + cd "$srcdir" + + mkdir SRC + mv binutils-$_binutilsver SRC/binutils + mv newlib-$_newlibver SRC/newlib + mv gcc-$_gccver SRC/gcc + + for _patch in *.patch; do + patch -d SRC -Np0 -i "$srcdir/$_patch" + done + + make PREFIX="$srcdir/$pkgname" CANNED_REVISION="yes" build-with-newlib +} + +package() { + cd "$srcdir" + + install -d "$pkgdir/usr/lib" + mv $pkgname "$pkgdir/usr/lib/$pkgname" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/proftpd/PKGBUILD b/extra/proftpd/PKGBUILD index 47be71491..32e2c436a 100644 --- a/extra/proftpd/PKGBUILD +++ b/extra/proftpd/PKGBUILD @@ -1,25 +1,28 @@ -# $Id: PKGBUILD 165441 2012-08-19 15:31:22Z andrea $ +# $Id: PKGBUILD 165550 2012-08-23 12:54:55Z andrea $ # Maintainer: # Contributor: Daniel J Griffiths pkgname=proftpd pkgver=1.3.4b -pkgrel=2 +pkgrel=3 epoch=1 pkgdesc="A high-performance, scalable FTP server" arch=('i686' 'x86_64') -url="http://www.proftpd.org" +url="http://www.proftpd.org/" license=('GPL') depends=('libmysqlclient' 'postgresql-libs') backup=('etc/proftpd.conf' 'etc/conf.d/proftpd') +install=${pkgname}.install source=(ftp://ftp.proftpd.org/distrib/source/${pkgname}-${pkgver}.tar.gz{,.asc} - 'proftpd' 'proftpd.logrotate' 'proftpd.conf.d' 'proftpd.service') + 'proftpd' 'proftpd.logrotate' 'proftpd.conf.d' 'proftpd.service' + 'proftpd.tmpfiles') md5sums=('0871e0b93c9c3c88ca950b6d9a04aed2' 'e5b9bd78029a15f82994efcb7ed2e9fb' 'c439a0a1dbc21b604d8382da87aa021b' 'ddb09eb13131becdf0e081eef413116b' '71d5932b0461c318ed68c2c0c2660736' - '2c446f531948c8cc0a1e0fae28f8dfda') + '5709f27ebcbe906e52963ea75e4fde64' + '907b149a120b046f05647c73502e23c9') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -53,4 +56,9 @@ package() { install -d "${pkgdir}/usr/lib/systemd/system/" install -m644 "${srcdir}"/proftpd.service "${pkgdir}/usr/lib/systemd/system/" + install -Dm644 "${srcdir}"/proftpd.tmpfiles \ + "${pkgdir}"/usr/lib/tmpfiles.d/proftpd.conf + + # /run is tmpfs + rmdir "${pkgdir}"/run/{proftpd,} } diff --git a/extra/proftpd/proftpd.install b/extra/proftpd/proftpd.install new file mode 100644 index 000000000..6d9888496 --- /dev/null +++ b/extra/proftpd/proftpd.install @@ -0,0 +1,3 @@ +post_install() { + systemd-tmpfiles --create proftpd.conf +} diff --git a/extra/proftpd/proftpd.service b/extra/proftpd/proftpd.service index c202a2fdf..a07d17f46 100644 --- a/extra/proftpd/proftpd.service +++ b/extra/proftpd/proftpd.service @@ -1,14 +1,12 @@ [Unit] -Description = ProFTPD FTP Server -After = network.target nss-lookup.target local-fs.target remote-fs.target +Description=ProFTPD FTP Server +After=network.target [Service] -Type = forking -PIDFile = /run/proftpd/proftpd.pid -Environment = PROFTPD_ARGS= -EnvironmentFile = -/etc/conf.d/proftpd -ExecStart = /usr/sbin/proftpd $PROFTPD_ARGS -ExecReload = /bin/kill -HUP $MAINPID +Type=forking +PIDFile=/run/proftpd/proftpd.pid +ExecStart=/usr/sbin/proftpd +ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy = multi-user.target diff --git a/extra/proftpd/proftpd.tmpfiles b/extra/proftpd/proftpd.tmpfiles new file mode 100644 index 000000000..241dc7cb1 --- /dev/null +++ b/extra/proftpd/proftpd.tmpfiles @@ -0,0 +1 @@ +d /run/proftpd 0755 root root diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD index 031303078..a60e8283e 100644 --- a/extra/ypserv/PKGBUILD +++ b/extra/ypserv/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 151791 2012-03-03 01:11:12Z tomegun $ +# $Id: PKGBUILD 165551 2012-08-23 17:48:09Z tomegun $ # Maintainer: Tom Gundersen # Contributor: Gaetan Bisson # Contributor: judd # Contributor: Tom Newsom pkgname=ypserv -pkgver=2.27 +pkgver=2.28 pkgrel=1 pkgdesc='Linux NIS Server' arch=('i686' 'x86_64') @@ -15,7 +15,10 @@ depends=('gdbm' 'openslp' 'inetutils') optdepends=('gawk: for printcap support') backup=('etc/ypserv.conf' 'etc/netgroup' 'var/yp/securenets') source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2" - confpost.patch + 'confpost.patch' + 'ypxfrd.service' + 'yppasswdd.service' + 'ypserv.service' 'yppasswd' 'ypserv') @@ -35,8 +38,17 @@ package() { install -D -m644 etc/securenets "${pkgdir}"/var/yp/securenets install -D -m755 ../ypserv "${pkgdir}"/etc/rc.d/ypserv install -D -m755 ../yppasswd "${pkgdir}"/etc/rc.d/yppasswd + install -D -m644 ../ypxfrd.service "${pkgdir}"/usr/lib/systemd/system/ypxfrd.service + install -D -m644 ../ypserv.service "${pkgdir}"/usr/lib/systemd/system/ypserv.service + install -D -m644 ../yppasswdd.service "${pkgdir}"/usr/lib/systemd/system/yppasswdd.service + + # Provide native service for arch-daemons generator + ln -s yppasswdd.service "$pkgdir/usr/lib/systemd/system/yppasswd.service" } -md5sums=('fd9c43aec932a92be07b723c647b02a4' +md5sums=('ed64f489bab494218fc5c5942b95d5b6' '8acb314f30d6e531ac9efa8655f68ccb' + 'c80e253756446d59a90c4c21b1cb8740' + '7cba3dd3544436c3c1f05e36c0018e92' + '3398271c3e0a054e64b06b99aa2dc63d' '4bc84c48ed1bb9659698853acb5cfd76' 'c40befe5932f1b42efaced6b46809303') diff --git a/extra/ypserv/yppasswdd.service b/extra/ypserv/yppasswdd.service new file mode 100644 index 000000000..9a7068b6c --- /dev/null +++ b/extra/ypserv/yppasswdd.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Users Passwords Change Server +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/yppasswdd.pid +ExecStart=/usr/sbin/rpc.yppasswdd + +[Install] +WantedBy=multi-user.target diff --git a/extra/ypserv/ypserv.service b/extra/ypserv/ypserv.service new file mode 100644 index 000000000..024a92e5a --- /dev/null +++ b/extra/ypserv/ypserv.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Server +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/ypserv.pid +ExecStart=/usr/sbin/ypserv + +[Install] +WantedBy=multi-user.target diff --git a/extra/ypserv/ypxfrd.service b/extra/ypserv/ypxfrd.service new file mode 100644 index 000000000..322ef559f --- /dev/null +++ b/extra/ypserv/ypxfrd.service @@ -0,0 +1,12 @@ +[Unit] +Description=NIS/YP (Network Information Service) Maps Transferring Accelerator +Requires=rpcbind.service +After=network.target rpcbind.service + +[Service] +Type=forking +PIDFile=/run/ypxfrd.pid +ExecStart=/usr/sbin/rpc.ypxfrd + +[Install] +WantedBy=multi-user.target diff --git a/multilib/lib32-gdk-pixbuf2/PKGBUILD b/multilib/lib32-gdk-pixbuf2/PKGBUILD index b97b5e3dd..1dcb3c8da 100644 --- a/multilib/lib32-gdk-pixbuf2/PKGBUILD +++ b/multilib/lib32-gdk-pixbuf2/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 69852 2012-04-24 21:12:30Z bluewind $ +# $Id: PKGBUILD 75432 2012-08-23 08:14:18Z bluewind $ # Maintainer: Ionut Biru _pkgbasename=gdk-pixbuf2 pkgname=lib32-$_pkgbasename -pkgver=2.26.1 -pkgrel=2 +pkgver=2.26.2 +pkgrel=1 pkgdesc="An image loading library (32-bit)" arch=('x86_64') url="http://www.gtk.org/" @@ -14,7 +14,7 @@ makedepends=(gcc-multilib) options=('!libtool' '!docs') install=gdk-pixbuf2.install source=(http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-${pkgver}.tar.xz) -sha256sums=('a60af12b58d9cc15ba4c680c6730ce5d38e8d664af1d575a379385b94b4ec7ba') +sha256sums=('3555521050e30e2fa090bfe650910c14649b6ab0acb35a5a7eaf90fe694f1403') build() { export CC="gcc -m32" diff --git a/pcr/chiliproject/PKGBUILD b/pcr/chiliproject/PKGBUILD new file mode 100644 index 000000000..4f933934a --- /dev/null +++ b/pcr/chiliproject/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer (Parabola): Márcio Silva + +pkgname=chiliproject +pkgver=3.3.0 +pkgrel=1 +pkgdesc="Chiliproject is a fork of Redmine, a flexible project management web application written using Ruby on Rails." +arch=('any') +url="https://www.chiliproject.org" +license=('GPL2') +depends=('ruby' 'ruby-bundler' 'mysql' 'libxml2' 'libxslt' 'imagemagick' 'pkg-config') +provides=('chiliproject') +backup=('var/lib/chiliproject/config/database.yml' + 'var/lib/chiliproject/config/configuration.yml') +makedepends=('glibc') +optdepends=('git: Git repository browsing' + 'subversion>=1.3.0: Subversion repository browsing' + 'darcs: Darcs repository browsing' + 'bzr: Bazaar repository browsing' + 'mercurial: Mercurial repository browsing') +options=() +install=chiliproject.install +source=("https://www.chiliproject.org/attachments/download/360/chiliproject-$pkgver.tar.gz") +md5sums=('4fa4a825cf0cd91d7495180a19bc4c11') + +build() { + return 0 +} + +package() { + cd "$srcdir/chiliproject-$pkgver" + + # install in /var/lib + _instdir="$pkgdir/var/lib/chiliproject" + mkdir -p ${_instdir} + cp -ra . ${_instdir} + + # create required directories + mkdir -p "${_instdir}/public/plugin_assets" +} + +# vim:set ts=4 sw=4 et: diff --git a/pcr/chiliproject/chiliproject.install b/pcr/chiliproject/chiliproject.install new file mode 100644 index 000000000..cb4622f09 --- /dev/null +++ b/pcr/chiliproject/chiliproject.install @@ -0,0 +1,17 @@ +adjust_perms(){ + chown -R http:http "/var/lib/chiliproject" 1>/dev/null + for dir in /var/lib/chiliproject/{files,log,tmp,public/plugin_assets}; do + chown -R http:http "$dir" 1>/dev/null + chmod -R 755 "$dir" 1>/dev/null + done +} + +post_install() { + adjust_perms + echo 'take a look at https://wiki.archlinux.org/index.php?title=Chiliproject for further setup instructions.' +} + +post_upgrade() { + adjust_perms + echo 'take a look at https://wiki.archlinux.org/index.php?title=Chiliproject for further setup instructions.' +} diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD new file mode 100644 index 000000000..a1fb32449 --- /dev/null +++ b/pcr/ruby-bundler/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer (Parabola): Márcio Silva +# Contributor: Alexsandr Pavlov + +pkgname=ruby-bundler +_gemname=${pkgname#ruby-} +pkgver=1.1.5 +pkgrel=1 +pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably." +arch=('any') +url="http://gembundler.com" +license=('MIT') +depends=('ruby' 'rubygems') +source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem) +noextract=(${_gemname}-${pkgver}.gem) +md5sums=('ecced17bc29a761db4ea5ca57b0d8795') + +build() { + cd "${srcdir}" + export HOME=/tmp + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem +} diff --git a/testing/cracklib/PKGBUILD b/testing/cracklib/PKGBUILD new file mode 100644 index 000000000..101d7314f --- /dev/null +++ b/testing/cracklib/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 165548 2012-08-23 12:34:30Z tpowa $ +# Maintainer: Tobias Powalowski +# Contributor: Federico Quagliata (quaqo) + +pkgname=cracklib +pkgver=2.8.19 +pkgrel=1 +pkgdesc="Password Checking Library" +arch=('i686' 'x86_64') +license=('GPL') +url="http://sourceforge.net/projects/cracklib" +depends=('glibc' 'zlib') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('ca0ec168d9c6466612204e8dfb2df8a9') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --without-python + make +} + +check() { + cd $srcdir/$pkgname-$pkgver + make check +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small + sh ./util/cracklib-format dicts/cracklib-small \ + | sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict +} diff --git a/testing/crda/PKGBUILD b/testing/crda/PKGBUILD new file mode 100644 index 000000000..5969eefa4 --- /dev/null +++ b/testing/crda/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 165554 2012-08-23 18:09:19Z thomas $ +# Maintainer: Thomas Bächler + +pkgname=crda +pkgver=1.1.2 +pkgrel=4 +pkgdesc="Central Regulatory Domain Agent for wireless networks" +arch=(i686 x86_64) +url="http://wireless.kernel.org/en/developers/Regulatory/CRDA" +license=('custom') +depends=('wireless-regdb' 'libnl' 'libgcrypt' 'systemd-tools' 'iw') +makedepends=('python-m2crypto') +install=crda.install +source=(http://wireless.kernel.org/download/crda/${pkgname}-${pkgver}.tar.bz2 + set-wireless-regdom + libnl32.patch) +md5sums=('5226f65aebacf94baaf820f8b4e06df4' + '65c93f2ff2eb1b29d9e9fa102ae2dd45' + 'c1f7aff29f15a0364ae6f7905a1d4ae6') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -Np1 -i "$srcdir/libnl32.patch" + sed 's|^#!/usr/bin/env python|#!/usr/bin/python2|' -i utils/key2pub.py + make crda regdbdump +} + +package() { + # Install crda, regdbdump and udev rules + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" UDEV_RULE_DIR=/usr/lib/udev/rules.d/ SBINDIR=/usr/bin/ install + # Adjust paths in udev rule file + sed 's|/sbin/crda|/usr/bin/crda|' -i "${pkgdir}"/usr/lib/udev/rules.d/85-regulatory.rules + # This rule automatically sets the regulatory domain when cfg80211 is loaded + echo 'ACTION=="add" SUBSYSTEM=="module", DEVPATH=="/module/cfg80211", RUN+="/usr/bin/set-wireless-regdom"' >> "${pkgdir}"/usr/lib/udev/rules.d/85-regulatory.rules + + install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE "${pkgdir}"/usr/share/licenses/crda/LICENSE + + install -D -m755 "${srcdir}"/set-wireless-regdom "${pkgdir}"/usr/bin/set-wireless-regdom +} diff --git a/testing/crda/crda.install b/testing/crda/crda.install new file mode 100644 index 000000000..9618a74ca --- /dev/null +++ b/testing/crda/crda.install @@ -0,0 +1,5 @@ +## arg 1: the new package version +post_install() { + echo "Uncomment the right regulatory domain in /etc/conf.d/wireless-regdom." + echo "It will automatically be set on boot." +} diff --git a/testing/crda/libnl32.patch b/testing/crda/libnl32.patch new file mode 100644 index 000000000..682b6c5de --- /dev/null +++ b/testing/crda/libnl32.patch @@ -0,0 +1,12 @@ +diff -u -r crda-1.1.2/Makefile crda-1.1.2-libnl32/Makefile +--- crda-1.1.2/Makefile 2011-08-10 01:36:19.000000000 +0200 ++++ crda-1.1.2-libnl32/Makefile 2012-02-09 18:53:33.376430180 +0100 +@@ -51,7 +51,7 @@ + + ifeq ($(NL3FOUND),Y) + CFLAGS += -DCONFIG_LIBNL30 +-NLLIBS += -lnl-genl ++NLLIBS += $(shell pkg-config --libs libnl-genl-3.0) + NLLIBNAME = libnl-3.0 + else + ifeq ($(NL2FOUND),Y) diff --git a/testing/crda/set-wireless-regdom b/testing/crda/set-wireless-regdom new file mode 100755 index 000000000..3905ae98a --- /dev/null +++ b/testing/crda/set-wireless-regdom @@ -0,0 +1,5 @@ +#!/bin/bash + +unset WIRELESS_REGDOM +. /etc/conf.d/wireless-regdom +[ -n "${WIRELESS_REGDOM}" ] && iw reg set ${WIRELESS_REGDOM} diff --git a/testing/libgssglue/PKGBUILD b/testing/libgssglue/PKGBUILD new file mode 100644 index 000000000..382ce696b --- /dev/null +++ b/testing/libgssglue/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 165536 2012-08-23 08:47:06Z tomegun $ +# Maintainer: Tom Gundersen +# Contributor: Tobias Powalowski + +pkgname=libgssglue +pkgver=0.4 +pkgrel=1 +pkgdesc="Exports a gssapi interface which calls other random gssapi libraries" +arch=('i686' 'x86_64') +url="http://www.citi.umich.edu/projects/nfsv4/linux/" +license=('BSD') +depends=('glibc') +makedepends=('pkgconfig' 'autoconf') +backup=(etc/gssapi_mech.conf) +options=('!libtool') +source=(http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz + gssapi_mech.conf) + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir/" install + + # Configuration + install -Dm644 "$srcdir"/gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf + # install license + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/libgssglue/COPYING +} +md5sums=('088797f3180702fa54e786496b32e750' + '080be866717e4e06fa6f7d6f43cb395a') diff --git a/testing/libgssglue/gssapi_mech.conf b/testing/libgssglue/gssapi_mech.conf new file mode 100644 index 000000000..9a832ee1b --- /dev/null +++ b/testing/libgssglue/gssapi_mech.conf @@ -0,0 +1,22 @@ +# Example /etc/gssapi_mech.conf file +# +# GSSAPI Mechanism Definitions +# +# This configuration file determines which GSS-API mechanisms +# the gssd code should use +# +# NOTE: +# The initiaiization function "mechglue_internal_krb5_init" +# is used for the MIT krb5 gssapi mechanism. This special +# function name indicates that an internal function should +# be used to determine the entry points for the MIT gssapi +# mechanism funtions. +# +# library initialization function +# ================================ ========================== +# The MIT K5 gssapi library, use special function for initialization. +/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init +#/usr/lib/libgssapi.so mechglue_internal_krb5_init +# +# The SPKM3 gssapi library function. Use the function spkm3_gss_initialize. +# /usr/local/gss_mechs/spkm/spkm3/libgssapi_spkm3.so spkm3_gss_initialize diff --git a/testing/rpcbind/PKGBUILD b/testing/rpcbind/PKGBUILD new file mode 100644 index 000000000..f4af6f1e0 --- /dev/null +++ b/testing/rpcbind/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 165544 2012-08-23 12:23:46Z tpowa $ +# Maintainer: Tobias Powalowski + +pkgname=rpcbind +pkgver=0.2.0 +pkgrel=9 +pkgdesc="portmap replacement which supports RPC over various protocols" +arch=(i686 x86_64) +depends=('bash' 'glibc' 'libtirpc') +url="http://rpcbind.sourceforge.net" +license=('custom') +replaces=('portmap') +source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2 + rpcbind-sunrpc.patch + rpcbind.service + rpcbind) +md5sums=('1a77ddb1aaea8099ab19c351eeb26316' + 'c02ac36a98baac70b8a26190524b7b73' + 'a7b23a32be2eb52d7dec52da36d4eba1' + '78a963654f57cbb209e228884767836e') + +build() { + cd $srcdir/$pkgname-$pkgver + # patch for iana services file + patch -Np1 -i ../rpcbind-sunrpc.patch + ./configure --prefix=/usr --enable-warmstarts --with-statedir=/run + make +} + +check() { + cd $srcdir/$pkgname-$pkgver + make check +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + # install missing man page - https://bugs.archlinux.org/task/21271 + install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/ + # install daemon + install -D -m755 $srcdir/rpcbind $pkgdir/etc/rc.d/rpcbind + # install systemd service file + install -D -m644 $srcdir/rpcbind.service $pkgdir/usr/lib/systemd/system/rpcbind.service + # install license + install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING +} diff --git a/testing/rpcbind/rpcbind b/testing/rpcbind/rpcbind new file mode 100755 index 000000000..87c5b50da --- /dev/null +++ b/testing/rpcbind/rpcbind @@ -0,0 +1,39 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID="$(pidof -o %PPID /usr/bin/rpcbind)" +case "$1" in + start) + stat_busy "Starting rpcbind" + [ -z "$PID" ] && /usr/bin/rpcbind &>/dev/null + if [ $? -gt 0 ]; then + stat_fail + else + PID=$(pidof -o %PPID /usr/bin/rpcbind) + echo $PID > /var/run/rpcbind.pid + add_daemon rpcbind + stat_done + fi + ;; + stop) + stat_busy "Stopping rpcbind" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm /var/run/rpcbind.pid + rm_daemon rpcbind + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/testing/rpcbind/rpcbind-sunrpc.patch b/testing/rpcbind/rpcbind-sunrpc.patch new file mode 100644 index 000000000..76cf54ba9 --- /dev/null +++ b/testing/rpcbind/rpcbind-sunrpc.patch @@ -0,0 +1,22 @@ +--- rpcbind-0.1.7/src/rpcbind.c.orig 2008-11-19 14:17:34.000000000 +0100 ++++ rpcbind-0.1.7/src/rpcbind.c 2010-01-07 13:03:37.416632894 +0100 +@@ -114,7 +114,7 @@ + char *udp_uaddr; /* Universal UDP address */ + char *tcp_uaddr; /* Universal TCP address */ + #endif +-static char servname[] = "rpcbind"; ++static char servname[] = "sunrpc"; + static char superuser[] = "superuser"; + + int main __P((int, char *[])); +--- rpcbind-0.1.7/src/rpcinfo.c~ 2010-01-08 16:14:24.592156602 +0000 ++++ rpcbind-0.1.7/src/rpcinfo.c 2010-01-08 16:14:31.578838609 +0000 +@@ -633,7 +633,7 @@ + { + memset (&hints, 0, sizeof hints); + hints.ai_family = AF_INET; +- if ((error = getaddrinfo (host, "rpcbind", &hints, &res)) != 0 && ++ if ((error = getaddrinfo (host, "sunrpc", &hints, &res)) != 0 && + (error = getaddrinfo (host, "portmapper", &hints, &res)) != 0) + { + fprintf (stderr, "rpcinfo: %s: %s\n", diff --git a/testing/rpcbind/rpcbind.service b/testing/rpcbind/rpcbind.service new file mode 100644 index 000000000..3bc764efc --- /dev/null +++ b/testing/rpcbind/rpcbind.service @@ -0,0 +1,13 @@ +[Unit] +Description=RPC Bind +After=network.target +Wants=rpcbind.target +Before=rpcbind.target + +[Service] +Type=forking +ExecStart=/usr/bin/rpcbind +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf