From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- core/libgssglue/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ core/libgssglue/gssapi_mech.conf | 22 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 core/libgssglue/PKGBUILD create mode 100644 core/libgssglue/gssapi_mech.conf (limited to 'core/libgssglue') diff --git a/core/libgssglue/PKGBUILD b/core/libgssglue/PKGBUILD new file mode 100644 index 000000000..85ed0d2e0 --- /dev/null +++ b/core/libgssglue/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 102146 2010-12-06 09:49:56Z allan $ +# Maintainer: Tobias Powalowski + +pkgname=libgssglue +pkgver=0.1 +pkgrel=3 +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) +md5sums=('ce1b4c758e6de01b712d154c5c97e540' + '234b9cca75a33af98eda3f1683756879') + +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 +} diff --git a/core/libgssglue/gssapi_mech.conf b/core/libgssglue/gssapi_mech.conf new file mode 100644 index 000000000..f71aca08e --- /dev/null +++ b/core/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 -- cgit v1.2.3-54-g00ecf