summaryrefslogtreecommitdiff
path: root/core/libtirpc/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/libtirpc/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/libtirpc/PKGBUILD')
-rw-r--r--core/libtirpc/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/libtirpc/PKGBUILD b/core/libtirpc/PKGBUILD
new file mode 100644
index 000000000..952640dcb
--- /dev/null
+++ b/core/libtirpc/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 97756 2010-11-01 19:49:14Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=libtirpc
+pkgver=0.2.1
+pkgrel=2
+pkgdesc="Transport Independent RPC library (SunRPC replacement)"
+arch=(i686 x86_64)
+depends=('glibc' 'libgssglue' 'heimdal')
+url="http://libtirpc.sourceforge.net/"
+license=('GPL2')
+source=(http://downloads.sourceforge.net/sourceforge/libtirpc/$pkgname-$pkgver.tar.bz2
+ libtirpc-0.2.1-fortify.patch)
+backup=('etc/netconfig')
+options=(!libtool)
+
+build() {
+ 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
+ ./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
+}
+md5sums=('d77eb15f464bf9d6e66259eaf78b2a4e'
+ '2e5c067f1651469dfbbdc91d3c9c60e8')