summaryrefslogtreecommitdiff
path: root/testing/libgssglue
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-25 00:02:57 +0000
committerroot <root@rshg054.dnsready.net>2012-08-25 00:02:57 +0000
commit29896582b8f0f163c9b880fa64ee948d470ef5ba (patch)
tree54d918c561c83d78e4d07f94774f7f10640cafa9 /testing/libgssglue
parent12b846e1ead204137d60caba25f7e494b51b4dc8 (diff)
Sat Aug 25 00:02:57 UTC 2012
Diffstat (limited to 'testing/libgssglue')
-rw-r--r--testing/libgssglue/PKGBUILD35
-rw-r--r--testing/libgssglue/gssapi_mech.conf22
2 files changed, 57 insertions, 0 deletions
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 <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+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