|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/rene/exim/exim.conf
|
|
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version. A copy of the GNU General Public
|
|
# License can be found at Documentation/COPYING.
|
|
#
|
|
# Many people helped and are helping developing ROCK Linux. Please
|
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
|
|
# file for details.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
exim_pc() {
|
|
echo "merging exiscan ..."
|
|
bunzip2 -c $archdir/exiscan-${exiscan_version}.patch.bz2 | patch -p1
|
|
|
|
[ "${prefix#opt/}" == "$prefix" ] && sysconfdir="$sysconfdir/exim"
|
|
|
|
echo "creating Makefile ..."
|
|
cp -v src/EDITME Local/Makefile
|
|
|
|
cat >> Local/Makefile << EOT
|
|
BIN_DIRECTORY=$bindir
|
|
CONFIGURE_FILE=$sysconfdir/configure
|
|
EXIM_USER=30
|
|
EXIM_GROUP=30
|
|
AUTH_CRAM_MD5=yes
|
|
COMPRESS_COMMAND=/bin/gzip
|
|
ZCAT_COMMAND=/bin/zcat
|
|
EOT
|
|
}
|
|
|
|
exim_pm(){
|
|
ln -sfv $bindir/exim $bindir/mail_exim
|
|
ln -sfv $bindir/exim $bindir/sendmail_exim
|
|
ln -sfv $bindir/exim $bindir/mailq_exim
|
|
install_setmailer exim
|
|
|
|
install_init exim $confdir/exim.init
|
|
}
|
|
|
|
makeopt="all" ; makeinstopt="install"
|
|
|
|
hook_add preconf 3 "exim_pc"
|
|
hook_add postmake 3 "exim_pm"
|
|
|