aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgssglue
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:26:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-23 12:07:30 -0300
commit41ab224df12b8487004a1522b4f671680c082954 (patch)
tree9ebbc4ea5d1cfb82757ca1fd862b67e444a712a2 /community/libgssglue
parent1f40937c55d742c7ae05db34c966c3dd2d6595e7 (diff)
downloadaports-41ab224df12b8487004a1522b4f671680c082954.tar.gz
aports-41ab224df12b8487004a1522b4f671680c082954.tar.bz2
aports-41ab224df12b8487004a1522b4f671680c082954.tar.xz
community/*: move lots of stuff from main and modernize
Diffstat (limited to 'community/libgssglue')
-rw-r--r--community/libgssglue/APKBUILD40
-rw-r--r--community/libgssglue/gssapi_mech.conf22
2 files changed, 62 insertions, 0 deletions
diff --git a/community/libgssglue/APKBUILD b/community/libgssglue/APKBUILD
new file mode 100644
index 0000000000..c5ae9a9afd
--- /dev/null
+++ b/community/libgssglue/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libgssglue
+pkgver=0.4
+pkgrel=1
+pkgdesc="exports a gssapi interface which calls other random gssapi libraries"
+url="http://www.citi.umich.edu/projects/nfsv4/linux/"
+arch="all"
+license="BSD-3-Clause"
+# heimdal-{dev,libs} is needed for gssapi_mech.conf
+depends="heimdal-dev heimdal-libs"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/libgssglue-$pkgver.tar.gz
+ gssapi_mech.conf"
+
+prepare() {
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 "$srcdir"/gssapi_mech.conf \
+ "$pkgdir/"etc/gssapi_mech.conf
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/libgssglue/COPYING
+}
+
+sha512sums="25d514c08320e42851ff153d7691267a8454f205492faf942f566aa30c1ac1c83bd095732a1a0fcc010ba3a5d48b4c95a196ad05bc821598cc1fc3a2c4960d29 libgssglue-0.4.tar.gz
+e97d7256ab05cd33178988d28139f0ba80797ac828dff3f7b0ab4cf6c04d016de1f731b8fe114f18319c6a07780a9701cd84a4e9fd5db6480c8d1df129f2402e gssapi_mech.conf"
diff --git a/community/libgssglue/gssapi_mech.conf b/community/libgssglue/gssapi_mech.conf
new file mode 100644
index 0000000000..f71aca08ee
--- /dev/null
+++ b/community/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