diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-17 21:18:21 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-17 21:18:21 (GMT) |
commit | d820a44dd975c325e2ba86d9bd8321c57581340e (patch) | |
tree | 2645a4c260db5f24f92ee5a54aac9645c91a41c9 /abs/core | |
parent | 68c55d2ea06c1eb95f970973798ac5c1ed7b2aea (diff) | |
download | linhes_pkgbuild-d820a44dd975c325e2ba86d9bd8321c57581340e.zip linhes_pkgbuild-d820a44dd975c325e2ba86d9bd8321c57581340e.tar.gz linhes_pkgbuild-d820a44dd975c325e2ba86d9bd8321c57581340e.tar.bz2 |
librpcsecgss: initial import. Dep of nfs-utils
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/librpcsecgss/PKGBUILD | 38 | ||||
-rw-r--r-- | abs/core/librpcsecgss/librpcsecgss-0.18-heimdal.patch | 33 |
2 files changed, 71 insertions, 0 deletions
diff --git a/abs/core/librpcsecgss/PKGBUILD b/abs/core/librpcsecgss/PKGBUILD new file mode 100644 index 0000000..690f075 --- /dev/null +++ b/abs/core/librpcsecgss/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 75199 2010-04-01 02:12:58Z pierre $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Contributor: Andrew Krawchyk <krawch_a@denison.edu>, Marco Lima <cipparello gmail com> + +pkgname=librpcsecgss +pkgver=0.19 +pkgrel=3 +pkgdesc="Library for RPCSECGSS support" +arch=('i686' 'x86_64') +url="http://www.citi.umich.edu/projects/nfsv4/linux/" +license=('GPL') +depends=('glibc' 'heimdal') +makedepends=('pkgconfig' 'autoconf') +options=('!libtool') +source=("http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz" + librpcsecgss-0.18-heimdal.patch) +md5sums=('b45ed565bdc3099023aa35830ec92997' + '0cfe088551d5776f5bc08c1741a34346') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Patch from gentoo for heimdal compatibility Bug #231395 + # http://bugs.gentoo.org/show_bug.cgi?id=231395 + patch -Np1 -i $srcdir/librpcsecgss-0.18-heimdal.patch || return 1 + + rm -f config.guess config.sub ltmain.sh + autoreconf -i + + GSSAPI_CFLAGS='-I/usr/include/gssapi' \ + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install || return 1 +} diff --git a/abs/core/librpcsecgss/librpcsecgss-0.18-heimdal.patch b/abs/core/librpcsecgss/librpcsecgss-0.18-heimdal.patch new file mode 100644 index 0000000..deb0391 --- /dev/null +++ b/abs/core/librpcsecgss/librpcsecgss-0.18-heimdal.patch @@ -0,0 +1,33 @@ +diff -NaurwB librpcsecgss-0.18.orig/configure.in librpcsecgss-0.18/configure.in +--- librpcsecgss-0.18.orig/configure.in 2008-04-09 00:05:40.000000000 +0200 ++++ librpcsecgss-0.18/configure.in 2008-06-12 19:05:51.000000000 +0200 +@@ -12,10 +12,15 @@ + AC_PROG_RANLIB + + # Checks for libraries. +-PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], [], ++PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], ++ [echo GSSGLUE found; GSSAPI_IMPLEMENTATION=libgssglue], ++ [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi], ++ [echo HEIMDAL found; GSSAPI_IMPLEMENTATION=heimdal-gssapi], + [AC_MSG_ERROR([Unable to locate information required to use libgssglue. + If you have pkgconfig installed, you might try setting environment +- variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])]) ++ variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])]) ++ ++AC_SUBST([GSSAPI_IMPLEMENTATION]) + + # Checks for header files. + AC_HEADER_STDC +diff -NaurwB librpcsecgss-0.18.orig/librpcsecgss.pc.in librpcsecgss-0.18/librpcsecgss.pc.in +--- librpcsecgss-0.18.orig/librpcsecgss.pc.in 2007-09-06 17:39:04.000000000 +0200 ++++ librpcsecgss-0.18/librpcsecgss.pc.in 2008-06-12 19:06:40.000000000 +0200 +@@ -5,7 +5,7 @@ + + Name: librpcsecgss + Description: Library that implements rpcsec_gss interface. +-Requires: libgssglue ++Requires: @GSSAPI_IMPLEMENTATION@ + Version: @PACKAGE_VERSION@ + Libs: -L@libdir@ -lrpcsecgss + Cflags: -I@includedir@/rpcsecgss |