summaryrefslogtreecommitdiff
path: root/core/libtirpc/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-11 11:15:24 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-11 11:15:24 +0200
commitca00e02803cb7dc01db75874c99500a3cb063207 (patch)
tree5258271ecafe164689812005f64ae9939a5b0d34 /core/libtirpc/PKGBUILD
parent09dea20d0ca4b034a72f66c2bb22caa976ce1f85 (diff)
parent207b7c7b0d7bc0db898a2386a665bdb20495fb19 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/fdupes/PKGBUILD core/nfs-utils/PKGBUILD extra/gnutls/PKGBUILD extra/maxima/PKGBUILD extra/qt4/PKGBUILD extra/sbcl/PKGBUILD
Diffstat (limited to 'core/libtirpc/PKGBUILD')
-rw-r--r--core/libtirpc/PKGBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/core/libtirpc/PKGBUILD b/core/libtirpc/PKGBUILD
index c6dcfadb8..fb70c3cc8 100644
--- a/core/libtirpc/PKGBUILD
+++ b/core/libtirpc/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 170257 2012-11-06 12:56:18Z tomegun $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+# $Id: PKGBUILD 185038 2013-05-10 16:21:42Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libtirpc
-pkgver=0.2.2
-pkgrel=4
+pkgver=0.2.3
+pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
arch=(i686 x86_64 mips64el)
url="http://libtirpc.sourceforge.net/"
@@ -12,31 +13,22 @@ depends=('libgssglue')
backup=('etc/netconfig')
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')
+ libtirpc-build.patch)
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
- # 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
+
+ patch -p1 <"$srcdir/libtirpc-build.patch"
+
+ ./configure --prefix=/usr --sysconf=/etc --enable-gss
+
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=('b70e6c12a369a91e69fcc3b9feb23d61'
+ 'd4c0eef2f0891abf06cd4146eb51ed36')