CyrusSASL: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
|||
| Line 83: | 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 's/cat8/man8/' saslauthd/Makefile.in && | |||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib32 --with-dbpath=/var/lib/sasl/sasldb2 \ | --libdir=/usr/lib32 --with-dbpath=/var/lib/sasl/sasldb2 \ | ||
| Line 96: | Line 101: | ||
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 's/cat8/man8/' saslauthd/Makefile.in && | |||
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib64 --with-dbpath=/var/lib/sasl/sasldb2 \ | --libdir=/usr/lib64 --with-dbpath=/var/lib/sasl/sasldb2 \ | ||
Revision as of 12:47, 1 October 2006
Dependencies
Required
* OpenSSL
Configuration Information
If building against OpenLDAP add the following to the configure command:
--with-ldap --enable-ldapdb
Non-Multilib
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 's/cat8/man8/' saslauthd/Makefile.in &&
./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:
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 's/cat8/man8/' saslauthd/Makefile.in &&
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:
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 's/cat8/man8/' saslauthd/Makefile.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib32 --with-dbpath=/var/lib/sasl/sasldb2 \
--with-saslauthd=/var/run &&
make
Install the package
make install
64Bit
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 's/cat8/man8/' saslauthd/Makefile.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
--libdir=/usr/lib64 --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