You are not logged in.

#1 2004-12-20 15:03:14

quaqo
Member
Registered: 2004-11-11
Posts: 53

[new] postfix-tls+sasl

As subject, fresh postfix esperimental release with TLS and SASL support. I just modified the original script:

# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
# Based on the official postfix Arch Linux package in current
 
pkgname=postfix-tls+sasl
pkgver=2.2
pkgrel=20041219
pkgdesc="Postfix experimental release with TLS and SASL support"
depends=('glibc' 'db' 'pcre' 'cyrus-sasl')
makedepends=('openssl')
# leave etc/mail/aliases in backup() for a few versions until 
# people have migrated or made other provisions
backup=(etc/mail/aliases etc/postfix/aliases etc/postfix/virtual etc/postfix/relocated 
    etc/postfix/access etc/postfix/header_checks etc/postfix/transport 
    etc/postfix/main.cf etc/postfix/master.cf)
install="postfix.install"
url="http://www.postfix.org/"
source=(postfix.patch.bz2 
    postfix 
    postfix.install 
    http://postfix.portal-to-web.de/dist/experimental/postfix-$pkgver-$pkgrel+tls-nonprod.tar.gz)
md5sums=('a3c45ff23ef036143711793fcf2478c3' 'eb5f290655559bbdfbf7b9791aeb4a64' 
     '469ce1ce887bafb2afd243c4c64c843a')
provides=('smtp-server')
conflicts=('postfix')
 
build() {
    cd $startdir/src/postfix-$pkgver-$pkgrel+tls-nonprod
    make makefiles CCARGS="-DUSE_TLS -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include/sasl" AUXLIBS="-lssl -lcrypto -lsasl2" || return 1
    make OPT="${CFLAGS}" || return 1
 
    sh postfix-install -non-interactive 
    install_root="$startdir/pkg" 
    daemon_directory="/usr/lib/postfix" 
    sample_directory="/etc/postfix/sample" 
    manpage_directory="/usr/man"
 
    cd $startdir/pkg
    cat $startdir/src/postfix.patch |patch -Np0 || return 1
    rm etc/postfix/main.cf~
 
    cd $startdir/pkg
    mkdir etc/rc.d
    install -m 0755 $startdir/src/postfix etc/rc.d/postfix
}

As usual, you can mail me at quaqo@despammed.com for corrections, yadda yadda yadda... :-)

Offline

Board footer

Powered by FluxBB