Courier-Authlib: Difference between revisions
From CBLFS
Jump to navigationJump to search
| (14 intermediate revisions by 5 users not shown) | |||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/courier/courier-authlib-0. | |http://prdownloads.sourceforge.net/courier/courier-authlib-0.62.2.tar.bz2 | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|Courier's mail server authorization library.}} | |||
Courier's | == Creating the courier User & Group == | ||
groupadd -g ''35'' ''courier'' && | |||
useradd -c "''Courier Daemon User''" -d /dev/null \ | |||
-u ''35'' -g ''courier'' -s /bin/false ''courier'' | |||
== Dependencies == | == Dependencies == | ||
=== Required === | === Required === | ||
* [[Pcre]] | |||
* [[OpenSSL]] | |||
* [[expect]] | |||
* [[Berkeley DB]] or [[GDBM]] | |||
== Non-Multilib == | |||
Compile the package: | |||
./configure --prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc/courier/authlib --with-mailuser=courier --with-mailgroup=courier | ./configure --prefix=/usr --libexecdir=/usr/sbin \ | ||
--sysconfdir=/etc/courier/authlib --with-mailuser=courier \ | |||
--with-mailgroup=courier | |||
make | make | ||
Install the package: | |||
make install | make install | ||
| Line 33: | Line 44: | ||
=== 64Bit === | === 64Bit === | ||
== Configuring == | |||
<pre> | |||
cat > /etc/rc.d/init.d/authdaemond << "EOF" | |||
#!/bin/sh | |||
# Begin $rc_base/init.d/authdaemond | |||
# Based on sysklogd script from LFS-3.1 and earlier. | |||
#$LastChangedBy: zippo | |||
#$Date: 2009-04-30 15:31:59 | |||
. /etc/sysconfig/rc | |||
. $rc_functions | |||
case "$1" in | |||
start) | |||
boot_mesg "Starting AUTHDAEMOND Server..." | |||
/usr/sbin/authdaemond start | |||
evaluate_retval | |||
;; | |||
stop) | |||
boot_mesg "Stopping AUTHDAEMONF Server..." | |||
/usr/sbin/authdaemond stop | |||
evaluate_retval | |||
;; | |||
reload) | |||
boot_mesg "Reloading AUTHDAEMOND Server..." | |||
/usr/sbin/authdaemond restart | |||
evaluate_retval | |||
;; | |||
restart) | |||
$0 stop | |||
sleep 1 | |||
$0 start | |||
;; | |||
*) | |||
echo "Usage: $0 {start|stop|reload|restart}" | |||
exit 1 | |||
;; | |||
esac | |||
# End $rc_base/init.d/authdaemond | |||
EOF | |||
chmod +x /etc/rc.d/init.d/authdaemond | |||
</pre> | |||
{|style="text-align: left" | |||
|-valign="top" | |||
!Installed Directories: | |||
|/etc/courier,/etc/courier/authlib,/usr/lib/courier-authlib,/usr/sbin/courier-authlib | |||
|-valign="top" | |||
!Installed Programs: | |||
|courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb, | |||
authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5 | |||
|-valign="top" | |||
!Installed Libraries: | |||
|libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so, | |||
libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so, | |||
libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so, | |||
libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so, | |||
libauthpam.so,libcourierauthsasl.so | |||
|} | |||
[[Category:Servers]] | |||
Latest revision as of 13:56, 9 November 2009
| Download Source: | http://prdownloads.sourceforge.net/courier/courier-authlib-0.62.2.tar.bz2 |
|---|
Introduction to Courier-Authlib
Courier's mail server authorization library.
Project Homepage: Unknown
Creating the courier User & Group
groupadd -g 35 courier &&
useradd -c "Courier Daemon User" -d /dev/null \
-u 35 -g courier -s /bin/false courier
Dependencies
Required
Non-Multilib
Compile the package:
./configure --prefix=/usr --libexecdir=/usr/sbin \ --sysconfdir=/etc/courier/authlib --with-mailuser=courier \ --with-mailgroup=courier make
Install the package:
make install make install-configure
Multilib
32Bit
N32
64Bit
Configuring
cat > /etc/rc.d/init.d/authdaemond << "EOF"
#!/bin/sh
# Begin $rc_base/init.d/authdaemond
# Based on sysklogd script from LFS-3.1 and earlier.
#$LastChangedBy: zippo
#$Date: 2009-04-30 15:31:59
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
boot_mesg "Starting AUTHDAEMOND Server..."
/usr/sbin/authdaemond start
evaluate_retval
;;
stop)
boot_mesg "Stopping AUTHDAEMONF Server..."
/usr/sbin/authdaemond stop
evaluate_retval
;;
reload)
boot_mesg "Reloading AUTHDAEMOND Server..."
/usr/sbin/authdaemond restart
evaluate_retval
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|reload|restart}"
exit 1
;;
esac
# End $rc_base/init.d/authdaemond
EOF
chmod +x /etc/rc.d/init.d/authdaemond
| Installed Directories: | /etc/courier,/etc/courier/authlib,/usr/lib/courier-authlib,/usr/sbin/courier-authlib |
|---|---|
| Installed Programs: | courierauthconfig,authdaemond,authpasswd,makedatprog,authsystem.passwd,authenumerate,userdbpw,pw2userdb,
authtest,userdb,vchkpw2userdb,courierlogger,makeuserdb,userdb-test-cram-md5 |
| Installed Libraries: | libauthcustom.so,libauthpipe.so,libauthpam.so,libauthuserdb.so,libcourierauth.so,
libcourierauthsaslclient.so,libauthpipe.so,libcourierauthsasl.so,libcourierauth.so, libcourierauthcommon.so,libauthcustom.so,libauthldap.so,libauthldap.so,libauthmysql.so, libauthmysql.so,libcourierauthcommon.so,libcourierauthsaslclient.so,libauthuserdb.so, libauthpam.so,libcourierauthsasl.so |