Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=9b1f721205c2666953351414b9a40bb9411a3277

commit 9b1f721205c2666953351414b9a40bb9411a3277
Author: CSÉCSY László <[EMAIL PROTECTED]>
Date:   Wed Sep 5 14:03:52 2007 +0200

postfix-2.4.5-2-i686
clean up the FB a little bit and getting rid of gentoo-like USE_* crap

diff --git a/source/network/postfix/FrugalBuild 
b/source/network/postfix/FrugalBuild
index 87ede9c..0035cd2 100644
--- a/source/network/postfix/FrugalBuild
+++ b/source/network/postfix/FrugalBuild
@@ -6,7 +6,7 @@

pkgname=postfix
pkgver=2.4.5
-pkgrel=1
+pkgrel=2
vdaver=2.4.5
pkgdesc="A fast, easy to administer, and secure MTA"
url="http://www.postfix.org/";
@@ -33,48 +33,11 @@ sha1sums=('dc3616ffd441c23748273527b6693835f3502ad2'\
'b05736300a01bc6d4d0ca7bb92704de29b68651d'\
'7bc3a9639e64747b49bd862dc7cc326ab3aacd72')

-APPLY_PATCH_VDA=${APPLY_PATCH_VDA:-1}
-USE_FEATURE_SASL=${USE_FEATURE_SASL:-1}
-USE_FEATURE_TLS=${USE_FEATURE_TLS:-1}
-USE_BACKEND_MYSQL=${USE_BACKEND_MYSQL:-1}
-USE_BACKEND_PGSQL=${USE_BACKEND_PGSQL:-1}
-USE_BACKEND_LDAP=${USE_BACKEND_LDAP:-0}
-
build()
{
-       if [ $USE_BACKEND_MYSQL -eq 1 ]; then
-               msg "Building with mysql support"
-               CCARGS="${CCARGS} -DHAS_MYSQL -I /usr/include/mysql "
-               AUXLIBS="${AUXLIBS} -L/usr/lib/mysql -lmysqlclient "
-       fi
-
-       if [ $USE_BACKEND_MYSQL -eq 1 ]; then
-               msg "Building with postgresql support"
-               CCARGS="${CCARGS} -DHAS_PGSQL -I /usr/include/phsql "
-               AUXLIBS="${AUXLIBS} -L/usr/lib/pgsql -lpq "
-       fi
-
-       if [ $USE_FEATURE_SASL -eq 1 ]; then
-               msg "Building with sasl support"
-               CCARGS="${CCARGS} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I 
/usr/include/sasl"
-               AUXLIBS="${AUXLIBS} -L/usr/lib -lm -lz -lsasl2"
-       fi
-
-       if [ $USE_FEATURE_TLS -eq 1 ]; then
-               msg "Building with TLS support"
-               CCARGS="${CCARGS} -DUSE_TLS"
-       fi
-
-       if [ $USE_BACKEND_LDAP -eq 1 ]; then
-               msg "Building with LDAP support"
-               CCARGS="${CCARGS} -DHAS_LDAP"
-               AUXLIBS="${AUXLIBS} -lldap "
-       fi
-
-       if [ $APPLY_PATCH_VDA -eq 1 ]; then
-               Fpatch postfix-$vdaver-vda-ng.patch
-       fi
-
+       CCARGS="${CCARGS} -DHAS_MYSQL -I /usr/include/mysql -DHAS_PGSQL -I 
/usr/include/phsql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I /usr/include/sasl 
-DUSE_TLS -DHAS_LDAP"
+       AUXLIBS="${AUXLIBS} -L/usr/lib/mysql -lmysqlclient -L/usr/lib/pgsql 
-lpq -L/usr/lib -lm -lz -lsasl2 -lldap"
+       Fpatch postfix-$vdaver-vda-ng.patch
Fcd
make CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" OPT="${CFLAGS}" makefiles
make || return 1
@@ -92,6 +55,4 @@ build()
Fln /usr/sbin/sendmail /usr/lib/sendmail
}

-# vim: ft=sh
-# optimalization OK
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to