diff --git a/common/shlibs b/common/shlibs index f0a318e9de..c1c56a5b54 100644 --- a/common/shlibs +++ b/common/shlibs @@ -945,3 +945,4 @@ libestr.so.0 libestr libestr-devel libee.so.0 libee libee-devel libobt.so.0 libopenbox openbox-devel libobrender.so.27 libopenbox openbox-devel +libgssglue.so.1 libgssglue libgssglue-devel diff --git a/srcpkgs/libgssglue-devel b/srcpkgs/libgssglue-devel new file mode 120000 index 0000000000..5695578d42 --- /dev/null +++ b/srcpkgs/libgssglue-devel @@ -0,0 +1 @@ +libgssglue \ No newline at end of file diff --git a/srcpkgs/libgssglue/depends b/srcpkgs/libgssglue/depends new file mode 100644 index 0000000000..91173a9649 --- /dev/null +++ b/srcpkgs/libgssglue/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgssglue/files/gssapi_mech.conf b/srcpkgs/libgssglue/files/gssapi_mech.conf new file mode 100644 index 0000000000..05bab80953 --- /dev/null +++ b/srcpkgs/libgssglue/files/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 diff --git a/srcpkgs/libgssglue/libgssglue-devel.template b/srcpkgs/libgssglue/libgssglue-devel.template new file mode 100644 index 0000000000..3ddccafcfe --- /dev/null +++ b/srcpkgs/libgssglue/libgssglue-devel.template @@ -0,0 +1,15 @@ +# Template file for 'libgssglue-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc-devel +Add_dependency run libgssglue + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/libgssglue/libgssglue.rshlibs b/srcpkgs/libgssglue/libgssglue.rshlibs new file mode 100644 index 0000000000..d02f93f916 --- /dev/null +++ b/srcpkgs/libgssglue/libgssglue.rshlibs @@ -0,0 +1,2 @@ +libdl.so.2 +libc.so.6 diff --git a/srcpkgs/libgssglue/template b/srcpkgs/libgssglue/template new file mode 100644 index 0000000000..4adbd737cb --- /dev/null +++ b/srcpkgs/libgssglue/template @@ -0,0 +1,21 @@ +# Template file for 'libgssglue' +pkgname=libgssglue +version=0.3 +homepage="http://www.citi.umich.edu/projects/nfsv4/linux/" +distfiles="$homepage/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu-configure +short_desc="Mechanism-switch gssapi library" +maintainer="Juan RP " +license="BSD" +checksum=d98a022af432b61fe2a1eb811b5916743ccb781e383da680f1a00fd1005a5174 +long_desc=" + This library exports a gssapi interface, but doesn't implement any gssapi + mechanisms itself; instead it calls gssapi routines in other libraries, + depending on the mechanism." + +conf_files="/etc/gssapi_mech.conf" +subpackages="$pkgname-devel" + +post_install() { + vinstall ${FILESDIR}/gssapi_mech.conf 644 etc +}