summaryrefslogtreecommitdiffstats
path: root/testing/libgssglue
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-12 22:01:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-12 22:01:11 +0000
commit87ec85ff923b16d8aa222651bdcdc2c90180a33c (patch)
tree8afc8c7df1154d4d77511e5bc90141b5f9b92893 /testing/libgssglue
parenta50c70e1301adaa0886755bef95e290f4c64d531 (diff)
downloadaports-87ec85ff923b16d8aa222651bdcdc2c90180a33c.tar.bz2
aports-87ec85ff923b16d8aa222651bdcdc2c90180a33c.tar.xz
testing/libgssglue: new aport
exports a gssapi interface which calls other random gssapi libraries http://www.citi.umich.edu/projects/nfsv4/linux/
Diffstat (limited to 'testing/libgssglue')
-rw-r--r--testing/libgssglue/APKBUILD27
-rw-r--r--testing/libgssglue/gssapi_mech.conf22
2 files changed, 49 insertions, 0 deletions
diff --git a/testing/libgssglue/APKBUILD b/testing/libgssglue/APKBUILD
new file mode 100644
index 00000000..48e22d00
--- /dev/null
+++ b/testing/libgssglue/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libgssglue
+pkgver=0.1
+pkgrel=0
+pkgdesc="exports a gssapi interface which calls other random gssapi libraries"
+url="http://www.citi.umich.edu/projects/nfsv4/linux/"
+license="BSD"
+depends=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz
+ gssapi_mech.conf"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir/" install || return 1
+ install -D -m 644 ../gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf
+ install -D -m644 COPYING $pkgdir/usr/share/licenses/libgssglue/COPYING
+}
+md5sums="ce1b4c758e6de01b712d154c5c97e540 libgssglue-0.1.tar.gz
+234b9cca75a33af98eda3f1683756879 gssapi_mech.conf"
diff --git a/testing/libgssglue/gssapi_mech.conf b/testing/libgssglue/gssapi_mech.conf
new file mode 100644
index 00000000..f71aca08
--- /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