summaryrefslogtreecommitdiffstats
path: root/abs/core/libtirpc/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 16:07:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 16:07:08 (GMT)
commit4313ababe43cc577bee14859917a048b01646595 (patch)
tree73721d5455188610a21ebebd1ecb77f89e772038 /abs/core/libtirpc/PKGBUILD
parent0549aa634442b489b747395153546f7d1bbf454c (diff)
downloadlinhes_pkgbuild-4313ababe43cc577bee14859917a048b01646595.zip
linhes_pkgbuild-4313ababe43cc577bee14859917a048b01646595.tar.gz
linhes_pkgbuild-4313ababe43cc577bee14859917a048b01646595.tar.bz2
libtirpc 0.2.2
Diffstat (limited to 'abs/core/libtirpc/PKGBUILD')
-rw-r--r--abs/core/libtirpc/PKGBUILD47
1 files changed, 33 insertions, 14 deletions
diff --git a/abs/core/libtirpc/PKGBUILD b/abs/core/libtirpc/PKGBUILD
index 3bde9db..6035cdb 100644
--- a/abs/core/libtirpc/PKGBUILD
+++ b/abs/core/libtirpc/PKGBUILD
@@ -1,23 +1,42 @@
-# $Id: PKGBUILD 62190 2010-01-04 08:39:59Z tpowa $
+# $Id: PKGBUILD 133597 2011-07-29 21:03:33Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+
pkgname=libtirpc
-pkgver=0.2.1
-pkgrel=1
+pkgver=0.2.2
+pkgrel=2
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
-arch=(i686 x86_64)
-depends=('glibc' 'libgssglue' 'heimdal')
+arch=('i686' 'x86_64')
url="http://libtirpc.sourceforge.net/"
-license=('GPL2')
-source=(http://downloads.sourceforge.net/sourceforge/libtirpc/$pkgname-$pkgver.tar.bz2)
+license=('BSD')
+depends=('libgssglue')
backup=('etc/netconfig')
-options=(!libtool)
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/libtirpc/${pkgname}-${pkgver}.tar.bz2
+ libtirpc-0.2.1-fortify.patch
+ libtirpc-0.2.3rc1.patch
+ libtirpc-fix-segfault-0.2.2.patch)
+md5sums=('74c41c15c2909f7d11d9c7bfa7db6273'
+ '2e5c067f1651469dfbbdc91d3c9c60e8'
+ 'ac2a1657b44f4a99c37d8265b05b9133'
+ '5a3ab55934cad4e8b38fc90c54756472')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # fix http://bugs.gentoo.org/293593
+ # https://bugs.archlinux.org/task/20082
+ patch -Np1 -i ../libtirpc-0.2.1-fortify.patch
+ # add patches from fedora git to make nfs-utils compile again
+ patch -Np1 -i ../libtirpc-0.2.3rc1.patch
+ patch -Np1 -i ../libtirpc-fix-segfault-0.2.2.patch
+ sh autogen.sh
+ autoreconf -fisv
./configure --prefix=/usr --enable-gss
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- # install netconfig
- install -D -m644 doc/etc_netconfig $pkgdir/etc/netconfig
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 doc/etc_netconfig "${pkgdir}"/etc/netconfig
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
-md5sums=('d77eb15f464bf9d6e66259eaf78b2a4e')