summaryrefslogtreecommitdiffstats
path: root/extra/postfix/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/postfix/Pkgfile')
-rw-r--r--extra/postfix/Pkgfile45
1 files changed, 0 insertions, 45 deletions
diff --git a/extra/postfix/Pkgfile b/extra/postfix/Pkgfile
deleted file mode 100644
index d5fd832a2..000000000
--- a/extra/postfix/Pkgfile
+++ /dev/null
@@ -1,45 +0,0 @@
-# Description: Agent de service de messagerie electronique
-# URL: http://www.postfix.org/
-# Maintainer: NuTyX packager team
-# Packager: cobex4 at gmail dot com
-# Depends on: cyrus-sasl, libmysql, libpostgresql
-# Run on:
-
-name=postfix
-version=2.8.0
-release=1
-source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/$name-$version.tar.gz\
- $name.patch)
-
-build() {
- cd $name-$version
- make makefiles \
- CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl \
- -DUSE_CYRUS_SASL \
- -DHAS_LDAP \
- -DUSE_TLS \
- -DHAS_MYSQL -I/usr/include/mysql \
- -DHAS_PGSQL -I/usr/include/postgresql" \
- AUXLIBS="-lsasl2 -lssl -lcrypto -lldap -llber -lmysqlclient -lz -lm -lpq"
- make OPT="$CFLAGS" || return 1
-
- sh postfix-install -non-interactive \
- install_root="$PKG" \
- daemon_directory="/usr/lib/$name" \
- sample_directory="/etc/$name/sample" \
- manpage_directory="/usr/share/man"
-
- cd $PKG
- cat $SRC/$name.patch |patch -Np0 || return 1
- rm -f etc/$name/main.cf~
-
-
- #controle du service
- mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc3.d/S90postfix
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc5.d/S90postfix
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc4.d/S90postfix
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc0.d/K10postfix
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc1.d/K10postfix
- ln -svf ../init.d/postfix $PKG/etc/rc.d/rc6.d/K10postfix
-}