Libgssapi

From CBLFS
Jump to navigationJump to search
Download Source: http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/libgssapi-0.11.tar.gz

Introduction to Libgssapi

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.

Project Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/

Dependencies

Recommended (Runtime)

Non-Multilib

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib/libgssapi.so.2* /lib &&
ln -sfv ../../lib/libgssapi.so.2.0.0 /usr/lib/libgssapi.so

Install the Configuration File if you haven't already done so in Libgssglue:

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib@/lib@" /etc/gssapi_mech.conf

Multilib

32Bit

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-32&@" src/g_initialize.c &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib/libgssapi.so.2* /lib &&
ln -sfv ../../lib/libgssapi.so.2.0.0 /usr/lib/libgssapi.so

Install the Configuration File if you haven't already done so in libgssglue

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-32.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-32.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib@/lib@" /etc/gssapi_mech-32.conf

N32

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-n32&@" src/g_initialize.c &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib32/libgssapi.so.2* /lib32 &&
ln -sfv ../../lib32/libgssapi.so.2.0.0 /usr/lib32/libgssapi.so

Install the Configuration File if you haven't already done so in libgssglue

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-n32.conf &&
sed -i "s@lib/@lib32/@g" /etc/gssapi_mech-n32.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-n32.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/li32b@/lib32@" /etc/gssapi_mech-n32.conf

64Bit

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-64&@" src/g_initialize.c &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib64/libgssapi.so.2* /lib64 &&
ln -sfv ../../lib64/libgssapi.so.2.0.0 /usr/lib64/libgssapi.so

Install the Configuration File if you haven't already done so in libgssglue

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-64.conf &&
sed -i "s@lib/@lib64/@g" /etc/gssapi_mech-64.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-64.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib64@/lib64@" /etc/gssapi_mech-64.conf