Difference between revisions of "Libgssglue"

From CBLFS
Jump to navigationJump to search
m
 
(3 intermediate revisions by one other user not shown)
Line 42: Line 42:
  
 
  sed -i "/MECH_CONF/s@\.conf@-32&@" src/g_initialize.c &&
 
  sed -i "/MECH_CONF/s@\.conf@-32&@" src/g_initialize.c &&
  ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 56: Line 56:
 
Install the Configuration File if you haven't already done so in [[Libgssapi]]:
 
Install the Configuration File if you haven't already done so in [[Libgssapi]]:
  
  install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-32.conf
+
  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:
 
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
+
  sed -i "/libgssapi_krb5.so/s@/usr/lib@/lib@" /etc/gssapi_mech-32.conf
  
 
=== N32 ===
 
=== N32 ===
Line 67: Line 68:
  
 
  sed -i "/MECH_CONF/s@\.conf@-n32&@" src/g_initialize.c &&
 
  sed -i "/MECH_CONF/s@\.conf@-n32&@" src/g_initialize.c &&
  ./configure --prefix=/usr &&
+
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 82: Line 84:
  
 
  install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-n32.conf &&
 
  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 "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:
 
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.conf
+
  sed -i "/libgssapi_krb5.so/s@/usr/li32b@/lib32@" /etc/gssapi_mech-n32.conf
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 93: Line 96:
  
 
  sed -i "/MECH_CONF/s@\.conf@-64&@" src/g_initialize.c &&
 
  sed -i "/MECH_CONF/s@\.conf@-64&@" src/g_initialize.c &&
  ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 108: Line 112:
  
 
  install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-64.conf &&
 
  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 "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:
 
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.conf
+
  sed -i "/libgssapi_krb5.so/s@/usr/lib64@/lib64@" /etc/gssapi_mech-64.conf
 +
 
 +
[[Category:General Libs]]

Latest revision as of 13:34, 8 February 2009

Download Source: http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/libgssglue-0.1.tar.gz

Introduction to Libgssglue

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/libgssglue/

Dependencies

Non-Multilib

Configure and compile the package:

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

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib/libgssglue.so.1* /lib &&
ln -sfv ../../lib/libgssglue.so.1 /usr/lib/libgssglue.so

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

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/libgssglue.so.1* /lib &&
ln -sfv ../../lib/libgssglue.so.1 /usr/lib/libgssglue.so

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

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/libgssglue.so.1* /lib32 &&
ln -sfv ../../lib32/libgssglue.so.1 /usr/lib32/libgssglue.so

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

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/libgssglue.so.1* /lib64 &&
ln -sfv ../../lib64/libgssglue.so.1 /usr/lib64/libgssglue.so

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

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