Difference between revisions of "CyrusSASL"

From CBLFS
Jump to navigationJump to search
Line 4: Line 4:
 
| ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz
 
| ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz
 
|-
 
|-
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/cyrus-sasl/cyrus-sasl-2.1.21-gcc4-1.patch
 
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/cyrus-sasl/cyrus-sasl-2.1.21-openldap23-1.patch
 
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/cyrus-sasl/cyrus-sasl-2.1.21-openssl98-1.patch
 
 
|}
 
|}
  
Line 42: Line 34:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../cyrus-sasl-2.1.21-openldap23-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-openssl98-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-gcc4-1.patch &&
 
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i 's/cat8/man8/' saslauthd/Makefile.in &&
 
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
             --with-dbpath=/var/lib/sasl/sasldb2 \
 
             --with-dbpath=/var/lib/sasl/sasldb2 \
Line 66: Line 54:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../cyrus-sasl-2.1.21-openldap23-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-openssl98-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-gcc4-1.patch &&
 
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i 's/cat8/man8/' saslauthd/Makefile.in &&
 
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
 
             --with-dbpath=/var/lib/sasl/sasldb2 \
 
             --with-dbpath=/var/lib/sasl/sasldb2 \
Line 84: Line 68:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../cyrus-sasl-2.1.21-openldap23-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-openssl98-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-gcc4-1.patch &&
 
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i 's/cat8/man8/' saslauthd/Makefile.in &&
 
 
  sed -i '/sasldir/s/lib/&32/' plugins/Makefile.in &&
 
  sed -i '/sasldir/s/lib/&32/' plugins/Makefile.in &&
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
 
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
Line 103: Line 83:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../cyrus-sasl-2.1.21-openldap23-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-openssl98-1.patch &&
 
patch -Np1 -i ../cyrus-sasl-2.1.21-gcc4-1.patch &&
 
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
 
  sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i 's/cat8/man8/' saslauthd/Makefile.in &&
 
 
  sed -i '/sasldir/s/lib/&64/' plugins/Makefile.in &&
 
  sed -i '/sasldir/s/lib/&64/' plugins/Makefile.in &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \

Revision as of 14:59, 11 November 2006

Download Source: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz

Dependencies

Required

Optional

Configuration Information

If building against OpenLDAP add the following to the configure command:

--with-ldap --enable-ldapdb

Non-Multilib

Compile the package:

sed -i '/sasl_global/s/^static //' lib/client.c &&
./configure --prefix=/usr --sysconfdir=/etc \
            --with-dbpath=/var/lib/sasl/sasldb2 \
            --with-saslauthd=/var/run &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/cyrus-sasl-2.1.21 &&
install -v -m644 doc/{*.{html,txt,fig},ONEWS,TODO} \
    saslauthd/LDAP_SASLAUTHD /usr/share/doc/cyrus-sasl-2.1.21 &&
install -v -m700 -d /var/lib/sasl

Multilib

32Bit

Compile the package:

sed -i '/sasl_global/s/^static //' lib/client.c &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
            --with-dbpath=/var/lib/sasl/sasldb2 \
            --with-saslauthd=/var/run &&
make

Install the package

make install

N32

Compile the package:

sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i '/sasldir/s/lib/&32/' plugins/Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
            --libdir=/usr/lib32 --with-dbpath=/var/lib/sasl/sasldb2 \
            --with-saslauthd=/var/run --with-plugindir=/usr/lib32/sasl2 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i '/sasl_global/s/^static //' lib/client.c &&
sed -i '/sasldir/s/lib/&64/' plugins/Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
            --libdir=/usr/lib64 --with-dbpath=/var/lib/sasl/sasldb2 \
            --with-saslauthd=/var/run --with-plugindir=/usr/lib64/sasl2 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/cyrus-sasl-2.1.21 &&
install -v -m644 doc/{*.{html,txt,fig},ONEWS,TODO} \
    saslauthd/LDAP_SASLAUTHD /usr/share/doc/cyrus-sasl-2.1.21 &&
install -v -m700 -d /var/lib/sasl

Contents

The Cyrus SASL package contains a Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols.

Installed Programs: saslauthd, sasldblistusers2, saslpasswd2

Installed Libraries: libjavasasl.so, libsasl2.so, numerous SASL plugins and Java classes

Installed Directories: /usr/include/sasl, /usr/lib/java/classes/sasl, /usr/lib/sasl2, /usr/share/doc/cyrus-sasl-2.1.21, /var/lib/sasl

Short Descriptions

saslauthd: is the SASL authentication server.

sasldblistusers2: is used to list the users in the SASL password database sasldb2.

saslpasswd2: is used to set and delete a user's SASL password and mechanism specific secrets in the SASL password database sasldb2.

libsasl2.so: is a general purpose authentication library for server and client applications.

Retrieved from "?title=CyrusSASL&oldid=3922"