[arch-commits] Commit in postfix/repos (6 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 19, 2020 @ 07:08:16
  Author: felixonmars
Revision: 404550

archrelease: copy trunk to staging-x86_64

Added:
  postfix/repos/staging-x86_64/
  postfix/repos/staging-x86_64/PKGBUILD
(from rev 404549, postfix/trunk/PKGBUILD)
  postfix/repos/staging-x86_64/postfix-3.5.8-main_defaults.patch
(from rev 404549, postfix/trunk/postfix-3.5.8-main_defaults.patch)
  postfix/repos/staging-x86_64/postfix.service
(from rev 404549, postfix/trunk/postfix.service)
  postfix/repos/staging-x86_64/postfix.sysusers
(from rev 404549, postfix/trunk/postfix.sysusers)
  postfix/repos/staging-x86_64/postfix.tmpfiles
(from rev 404549, postfix/trunk/postfix.tmpfiles)

---+
 PKGBUILD  |  111 
 postfix-3.5.8-main_defaults.patch |   19 ++
 postfix.service   |   18 +
 postfix.sysusers  |2 
 postfix.tmpfiles  |   16 +
 5 files changed, 166 insertions(+)

Copied: postfix/repos/staging-x86_64/PKGBUILD (from rev 404549, 
postfix/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-19 07:08:16 UTC (rev 404550)
@@ -0,0 +1,111 @@
+# Maintainer: David Runge 
+# Contributor: Gaetan Bisson 
+# Contributor: Jeff Brodnax 
+# Contributor: Paul Mattal 
+
+pkgname=postfix
+pkgver=3.5.8
+pkgrel=4
+url="http://www.postfix.org/;
+pkgdesc='Fast, easy to administer, secure mail server'
+license=('EPL')
+arch=('x86_64')
+depends=('db' 'glibc' 'libldap' 'libnsl' 'libsasl' 'openssl' 'pcre'
+'postgresql-libs' 'sqlite' 'tinycdb' 'zlib')
+makedepends=('icu' 'mariadb-libs')
+optdepends=('perl: for postfix-collate.pl and qshape')
+conflicts=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+provides=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+replaces=('postfix-tools')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=("http://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
+"${pkgname}-3.5.8-main_defaults.patch"
+"${pkgname}.service"
+"${pkgname}.sysusers"
+"${pkgname}.tmpfiles"
+)
+sha512sums=('0abb07d99e343b76e6a26b4a090af9d592f4dfd03c8c737cc72bfb0f4267dafcbb0cb0aa7b6255f8b834c9289d89a5c47b167be3758239309937cb77e0d9464b'
+
'7b2785aa8120ca3ff91b405baf675e9e11f8d58b18a9b842672e7ae30932febddac10556a70823d8746fcb160bceb4dbabdee45cf46b02fc0127057656fb85c4'
+
'27f54747ad480d65b560c9dbc97e12c6353e4bceca0ffe3e358e31de56db0ad79928164c9f8790c73a9f791daa378253d2ee29b5a71778553ec889b2cf97'
+
'a7f15970f613ae7b98ce1b84ca0a6034ce3cc7b2b9ce7160dad9731f740fb762f4a54f44acceb5f06f8744fa9e952b088086af8a69da388a600b742a3cda37f2'
+
'd08574a6acd595fc146513c92dc1bb341c3432d67de1e93ab73a7ce60e385dd34f3a55e3d3d7aec5f358ac4aae260f028599ac47650ebc663cea3043a760a7bc')
+b2sums=('13166e854f70987f981bb5e7e5dabfaa73b3170ab16fc1ff8f70f6b98a0697ac980bdf74bbfb39fdfd1972f922a31a28882b1575b79fd8f01d81e08e68d756bc'
+
'b5f19e0619f1fb017cd889c14e341c21146b3afe7b9eefcdb7fb1eb83a357434b899d1e92f3ab0023c78ef8f2de6ae54c4599ee0f0bd04d257f4ca0a4dc9a16c'
+
'02dd441cf6e4a7c2bc0de876f020b0784d811f77a5c6102dd075d67b07158dbc53c8b4d62bc8035283d4f349008574b1c3fac03f4519d56ffd809cb5bcfb7bea'
+
'db58b7deb24cea16fb84f56680f683f72e11a95039969878e3819607aad5e65af9d9f50007e7710609065c0e3ebb9b30c1d929162b74eca5e74434d82cf1'
+
'de31693cea5f452a9c8c0d1cf5210a6e67c0176f8b1a4d74106f2e803911569e9fdbb2301b3b5dc7ad6a6da285026b1a3ed3de52117d216b030cf0d92348909d')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # add distribution defaults to main.cf (alias_maps and alias_database)
+  patch -Np1 -i ../"${pkgname}-3.5.8-main_defaults.patch"
+}
+
+build() {
+  local _ccargs=(
+'-fPIC' '-fcommon'
+'-DUSE_SASL_AUTH'
+'-DUSE_CYRUS_SASL' '-I/usr/include/sasl'
+'-DHAS_LDAP'
+'-DUSE_TLS'
+'-DHAS_MYSQL' '-I/usr/include/mysql'
+'-DHAS_PGSQL' '-I/usr/include/postgresql'
+'-DHAS_SQLITE'
+'-DHAS_CDB'
+'-DDEF_COMMAND_DIR=\"/usr/bin\"'
+'-DDEF_DAEMON_DIR=\"/usr/lib/postfix/bin\"'
+'-DDEF_SENDMAIL_PATH=\"/usr/bin/sendmail\"'
+'-DDEF_README_DIR=\"/usr/share/doc/postfix\"'
+'-DDEF_MANPAGE_DIR=\"/usr/share/man\"'
+  )
+
+  cd "${pkgname}-${pkgver}"
+  # NOTE: descriptions of variables in makedefs
+  make makefiles \
+DEBUG='' \
+pie=yes \
+shared=yes \
+dynamicmaps=yes \
+CCARGS="${_ccargs[*]}" \
+AUXLIBS="$(pkgconf --libs openssl libsasl2) -lnsl" \
+AUXLIBS_LDAP='-lldap -llber' \
+AUXLIBS_LMDB="$(pkgconf --libs lmdb)" \
+AUXLIBS_PCRE="$(pkgconf --libs pcre)" \
+AUXLIBS_MYSQL="$(pkgconf --libs mariadb)" \
+AUXLIBS_PGSQL="$(pkgconf --libs libpq)" \
+AUXLIBS_SQLITE="$(pkgconf --libs 

[arch-commits] Commit in postfix/repos (6 files)

2020-11-09 Thread David Runge via arch-commits
Date: Monday, November 9, 2020 @ 23:45:50
  Author: dvzrv
Revision: 399950

archrelease: copy trunk to testing-x86_64

Added:
  postfix/repos/testing-x86_64/
  postfix/repos/testing-x86_64/PKGBUILD
(from rev 399949, postfix/trunk/PKGBUILD)
  postfix/repos/testing-x86_64/postfix-3.5.8-main_defaults.patch
(from rev 399949, postfix/trunk/postfix-3.5.8-main_defaults.patch)
  postfix/repos/testing-x86_64/postfix.service
(from rev 399949, postfix/trunk/postfix.service)
  postfix/repos/testing-x86_64/postfix.sysusers
(from rev 399949, postfix/trunk/postfix.sysusers)
  postfix/repos/testing-x86_64/postfix.tmpfiles
(from rev 399949, postfix/trunk/postfix.tmpfiles)

---+
 PKGBUILD  |  109 
 postfix-3.5.8-main_defaults.patch |   19 ++
 postfix.service   |   18 +
 postfix.sysusers  |2 
 postfix.tmpfiles  |   15 
 5 files changed, 163 insertions(+)

Copied: postfix/repos/testing-x86_64/PKGBUILD (from rev 399949, 
postfix/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-11-09 23:45:50 UTC (rev 399950)
@@ -0,0 +1,109 @@
+# Maintainer: David Runge 
+# Contributor: Gaetan Bisson 
+# Contributor: Jeff Brodnax 
+# Contributor: Paul Mattal 
+
+pkgname=postfix
+pkgver=3.5.8
+pkgrel=1
+url="http://www.postfix.org/;
+pkgdesc='Fast, easy to administer, secure mail server'
+license=('EPL')
+arch=('x86_64')
+depends=('db' 'glibc' 'libldap' 'libnsl' 'libsasl' 'openssl' 'pcre'
+'postgresql-libs' 'sqlite' 'tinycdb' 'zlib')
+makedepends=('icu' 'mariadb-libs')
+optdepends=('perl: for postfix-collate.pl and qshape')
+conflicts=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+provides=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+replaces=('postfix-tools')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=("http://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
+"${pkgname}-3.5.8-main_defaults.patch"
+"${pkgname}.service"
+"${pkgname}.sysusers"
+"${pkgname}.tmpfiles"
+)
+sha512sums=('0abb07d99e343b76e6a26b4a090af9d592f4dfd03c8c737cc72bfb0f4267dafcbb0cb0aa7b6255f8b834c9289d89a5c47b167be3758239309937cb77e0d9464b'
+
'7b2785aa8120ca3ff91b405baf675e9e11f8d58b18a9b842672e7ae30932febddac10556a70823d8746fcb160bceb4dbabdee45cf46b02fc0127057656fb85c4'
+
'27f54747ad480d65b560c9dbc97e12c6353e4bceca0ffe3e358e31de56db0ad79928164c9f8790c73a9f791daa378253d2ee29b5a71778553ec889b2cf97'
+
'a7f15970f613ae7b98ce1b84ca0a6034ce3cc7b2b9ce7160dad9731f740fb762f4a54f44acceb5f06f8744fa9e952b088086af8a69da388a600b742a3cda37f2'
+
'490ce5123005de7a82c18b68d2423ea15b9878af9419d3a29c4a174e7f5ddc21da7afde725d25ad2fc445815ee9d284b61781a62dd67b863b82f746d61db885d')
+b2sums=('13166e854f70987f981bb5e7e5dabfaa73b3170ab16fc1ff8f70f6b98a0697ac980bdf74bbfb39fdfd1972f922a31a28882b1575b79fd8f01d81e08e68d756bc'
+
'b5f19e0619f1fb017cd889c14e341c21146b3afe7b9eefcdb7fb1eb83a357434b899d1e92f3ab0023c78ef8f2de6ae54c4599ee0f0bd04d257f4ca0a4dc9a16c'
+
'02dd441cf6e4a7c2bc0de876f020b0784d811f77a5c6102dd075d67b07158dbc53c8b4d62bc8035283d4f349008574b1c3fac03f4519d56ffd809cb5bcfb7bea'
+
'db58b7deb24cea16fb84f56680f683f72e11a95039969878e3819607aad5e65af9d9f50007e7710609065c0e3ebb9b30c1d929162b74eca5e74434d82cf1'
+
'e870b3fc67b60a492728e418a7c2753952c279418108e55d2ff01197e9150e6144dc6a210d1f5b8a3d4d661ab3d289c6026c36034deb90d67406e739a70a3b54')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # add distribution defaults to main.cf (alias_maps and alias_database)
+  patch -Np1 -i ../"${pkgname}-3.5.8-main_defaults.patch"
+}
+
+build() {
+  local _ccargs=(
+'-fPIC' '-fcommon'
+'-DUSE_SASL_AUTH'
+'-DUSE_CYRUS_SASL' '-I/usr/include/sasl'
+'-DHAS_LDAP'
+'-DUSE_TLS'
+'-DHAS_MYSQL' '-I/usr/include/mysql'
+'-DHAS_PGSQL' '-I/usr/include/postgresql'
+'-DHAS_SQLITE'
+'-DHAS_CDB'
+'-DDEF_COMMAND_DIR=\"/usr/bin\"'
+'-DDEF_DAEMON_DIR=\"/usr/lib/postfix/bin\"'
+'-DDEF_SENDMAIL_PATH=\"/usr/bin/sendmail\"'
+'-DDEF_README_DIR=\"/usr/share/doc/postfix\"'
+'-DDEF_MANPAGE_DIR=\"/usr/share/man\"'
+  )
+
+  cd "${pkgname}-${pkgver}"
+  # NOTE: descriptions of variables in makedefs
+  make makefiles \
+DEBUG='' \
+pie=yes \
+shared=yes \
+dynamicmaps=yes \
+CCARGS="${_ccargs[*]}" \
+AUXLIBS="$(pkgconf --libs openssl libsasl2) -lnsl" \
+AUXLIBS_LDAP='-lldap -llber' \
+AUXLIBS_LMDB="$(pkgconf --libs lmdb)" \
+AUXLIBS_PCRE="$(pkgconf --libs pcre)" \
+AUXLIBS_MYSQL="$(pkgconf --libs mariadb)" \
+AUXLIBS_PGSQL="$(pkgconf --libs libpq)" \
+AUXLIBS_SQLITE="$(pkgconf --libs sqlite3)" \
+  

[arch-commits] Commit in postfix/repos (6 files)

2019-11-11 Thread Evangelos Foutras via arch-commits
Date: Monday, November 11, 2019 @ 23:05:18
  Author: foutrelis
Revision: 367802

archrelease: copy trunk to staging-x86_64

Added:
  postfix/repos/staging-x86_64/
  postfix/repos/staging-x86_64/PKGBUILD
(from rev 367801, postfix/trunk/PKGBUILD)
  postfix/repos/staging-x86_64/aliases.patch
(from rev 367801, postfix/trunk/aliases.patch)
  postfix/repos/staging-x86_64/glibc2.30.patch
(from rev 367801, postfix/trunk/glibc2.30.patch)
  postfix/repos/staging-x86_64/service
(from rev 367801, postfix/trunk/service)
  postfix/repos/staging-x86_64/sysusers.d
(from rev 367801, postfix/trunk/sysusers.d)

-+
 PKGBUILD|  115 ++
 aliases.patch   |   18 
 glibc2.30.patch |   51 +++
 service |   14 ++
 sysusers.d  |2 
 5 files changed, 200 insertions(+)

Copied: postfix/repos/staging-x86_64/PKGBUILD (from rev 367801, 
postfix/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-11 23:05:18 UTC (rev 367802)
@@ -0,0 +1,115 @@
+# Contributor: Jeff Brodnax 
+# Contributor: Paul Mattal 
+# Maintainer: Gaetan Bisson 
+
+pkgname=postfix
+pkgver=3.4.7
+pkgrel=2
+url='http://www.postfix.org/'
+pkgdesc='Fast, easy to administer, secure mail server'
+license=('custom')
+arch=('x86_64')
+depends=('openssl' 'pcre' 'icu' 'libsasl' 'libldap' 'db' 'libnsl'
+ 'mariadb-libs' 'postgresql-libs' 'sqlite' 'tinycdb')
+optdepends=('perl: postfix-collate.pl and qshape')
+source=("http://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
+'glibc2.30.patch'
+'aliases.patch'
+'sysusers.d'
+'service')
+sha256sums=('fe3253121d3ba8836a23774225518560b35e40497951ad5bec154afa8205f967'
+'8b4730f4629f302471ac1a80653931d32ffcf67241daa10947639a2c701a05f6'
+'f4c766efc20b4638f9fd72707ca6d4c2628279ebd79f5227276fa4ca6867c336'
+'63f39147887336bdd173fb9425998f0a0c6f00a31241f922a255c157bfd8d02e'
+'52781649c49a50cecd7d20f693f602d7dc78b985ac5f0e72c4abfa0d800e58f0')
+
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+
+conflicts=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+provides=('smtp-server' 'smtp-forwarder' 'postfix-tools')
+replaces=('postfix-tools')
+
+prepare() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+   patch -Np1 -i ../glibc2.30.patch
+}
+
+build() {
+   cd "${srcdir}/${pkgname}-${pkgver}"
+
+   CCARGS='
+   -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl
+   -DHAS_LDAP
+   -DUSE_TLS
+   -DHAS_MYSQL -I/usr/include/mysql
+   -DHAS_PGSQL -I/usr/include/postgresql
+   -DHAS_SQLITE
+   -DHAS_CDB
+   -DDEF_COMMAND_DIR=\"/usr/bin\"
+   -DDEF_DAEMON_DIR=\"/usr/lib/postfix/bin\"
+   -DDEF_SENDMAIL_PATH=\"/usr/bin/sendmail\"
+   -DDEF_README_DIR=\"/usr/share/doc/postfix\"
+   -DDEF_MANPAGE_DIR=\"/usr/share/man\"
+   '
+   AUXLIBS='
+   -lsasl2
+   -lldap -llber
+   -lssl -lcrypto
+   -lmysqlclient -lz -lm
+   -lpq
+   -lsqlite3 -lpthread
+   -lcdb
+   '
+   make makefiles \
+   DEBUG='' \
+   pie=yes \
+   shared=yes \
+   CCARGS="${CCARGS//$'\n'/}" \
+   AUXLIBS="${AUXLIBS//$'\n'/}" \
+   OPT="${CFLAGS} ${LDFLAGS}" \
+
+   make
+}
+
+package() {
+   cd "${srcdir}/postfix-${pkgver}"
+
+   sed 's:bin/postconf -dhx:bin/postconf -c conf -dhx:g' -i postfix-install
+   LD_LIBRARY_PATH=lib:$LD_LIBRARY_PATH \
+   sh postfix-install -non-interactive install_root="${pkgdir}"
+
+   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+   install -Dm644 ../service 
"${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
+   install -Dm644 ../sysusers.d 
"${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+
+   for name in posttls-finger {smtp,qmqp}-{sink,source}; do
+   install -Dm644 "man/man1/${name}.1" 
"${pkgdir}/usr/share/man/man1/${name}.1"
+   install -Dm755 "bin/${name}" "${pkgdir}/usr/bin/${name}"
+   done
+
+   name=qshape
+   install -Dm644 "man/man1/${name}.1" 
"${pkgdir}/usr/share/man/man1/${name}.1"
+   install -Dm755 "auxiliary/${name}/${name}.pl" 
"${pkgdir}/usr/bin/${name}"
+
+   install -Dm755 "auxiliary/collate/collate.pl" 
"${pkgdir}/usr/bin/postfix-collate.pl"
+
+   # now set permissions right to appease the pacman gods
+   sed -r \
+   -e '/override=1/d' \
+   -e '/absolute path name/d' \
+   -e 's/\$POSTCONF -/$POSTCONF -c 

[arch-commits] Commit in postfix/repos (6 files)

2012-02-08 Thread Allan McRae
Date: Wednesday, February 8, 2012 @ 19:00:03
  Author: allan
Revision: 149680

db-move: moved postfix from [staging] to [testing] (i686)

Added:
  postfix/repos/testing-i686/
  postfix/repos/testing-i686/PKGBUILD
(from rev 149641, postfix/repos/staging-i686/PKGBUILD)
  postfix/repos/testing-i686/aliases.patch
(from rev 149641, postfix/repos/staging-i686/aliases.patch)
  postfix/repos/testing-i686/install
(from rev 149641, postfix/repos/staging-i686/install)
  postfix/repos/testing-i686/rc.d
(from rev 149641, postfix/repos/staging-i686/rc.d)
Deleted:
  postfix/repos/staging-i686/

---+
 PKGBUILD  |   63 
 aliases.patch |   18 
 install   |   33 +
 rc.d  |   36 
 4 files changed, 150 insertions(+)

Copied: postfix/repos/testing-i686/PKGBUILD (from rev 149641, 
postfix/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-02-09 00:00:03 UTC (rev 149680)
@@ -0,0 +1,63 @@
+# $Id$
+# Contributor: Jeff Brodnax tullyarc...@bellsouth.net
+# Contributor: Paul Mattal p...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=postfix
+pkgver=2.9.0
+pkgrel=2
+pkgdesc='Fast, easy to administer, secure mail server'
+url='http://www.postfix.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 
'libldap' 'db')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
 \
+'aliases.patch' \
+'rc.d')
+sha1sums=('a04a72a8b9436279a30b7d1b62197be63124a132'
+  '5fc3de6c7df1e5851a0a379e825148868808318b'
+  '40c6be2eb55e6437a402f43775cdb3d22ea87a66')
+
+provides=('smtp-server' 'smtp-forwarder')
+replaces=('postfix-mysql' 'postfix-pgsql')
+conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder')
+
+install=install
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   make makefiles DEBUG='' CCARGS=' \
+   -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
+   -DHAS_LDAP \
+   -DUSE_TLS \
+   -DHAS_MYSQL -I/usr/include/mysql \
+   -DHAS_PGSQL -I/usr/include/postgresql \
+   -DHAS_SQLITE \
+   ' AUXLIBS=' \
+   -lsasl2 \
+   -lldap -llber \
+   -lssl -lcrypto \
+   -lmysqlclient -lz -lm \
+   -lpq \
+   -lsqlite3 -lpthread \
+   ' OPT=${CFLAGS} ${LDFLAGS}
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   sh postfix-install -non-interactive \
+   install_root=${pkgdir} \
+   daemon_directory=/usr/lib/${pkgname} \
+   sample_directory=/etc/${pkgname}/sample \
+   manpage_directory=/usr/share/man
+
+   install -D -m755 ../rc.d ${pkgdir}/etc/rc.d/${pkgname}
+   install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   sed 's/\(^\$manpage[^:]*\):/\1.gz:/' -i 
${pkgdir}/usr/lib/${pkgname}/postfix-files
+   cd ${pkgdir}; patch -p0 -i ${srcdir}/aliases.patch
+}

Copied: postfix/repos/testing-i686/aliases.patch (from rev 149641, 
postfix/repos/staging-i686/aliases.patch)
===
--- testing-i686/aliases.patch  (rev 0)
+++ testing-i686/aliases.patch  2012-02-09 00:00:03 UTC (rev 149680)
@@ -0,0 +1,18 @@
+--- etc/postfix/main.cf.orig   2010-12-13 20:18:22.0 +0100
 etc/postfix/main.cf2010-12-13 20:18:24.0 +0100
+@@ -382,6 +382,7 @@
+ #alias_maps = hash:/etc/aliases
+ #alias_maps = hash:/etc/aliases, nis:mail.aliases
+ #alias_maps = netinfo:/aliases
++alias_maps = hash:/etc/postfix/aliases
+ 
+ # The alias_database parameter specifies the alias database(s) that
+ # are built with newaliases or sendmail -bi.  This is a separate
+@@ -392,6 +393,7 @@
+ #alias_database = dbm:/etc/mail/aliases
+ #alias_database = hash:/etc/aliases
+ #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
++alias_database = $alias_maps
+ 
+ # ADDRESS EXTENSIONS (e.g., user+foo)
+ #

Copied: postfix/repos/testing-i686/install (from rev 149641, 
postfix/repos/staging-i686/install)
===
--- testing-i686/install(rev 0)
+++ testing-i686/install2012-02-09 00:00:03 UTC (rev 149680)
@@ -0,0 +1,33 @@
+post_install() {
+   getent group postdrop /dev/null || groupadd -g 75 postdrop /dev/null
+   getent group postfix  /dev/null || groupadd -g 73 postfix  /dev/null

[arch-commits] Commit in postfix/repos (6 files)

2012-02-08 Thread Allan McRae
Date: Wednesday, February 8, 2012 @ 19:00:06
  Author: allan
Revision: 149681

db-move: moved postfix from [staging] to [testing] (x86_64)

Added:
  postfix/repos/testing-x86_64/
  postfix/repos/testing-x86_64/PKGBUILD
(from rev 149641, postfix/repos/staging-x86_64/PKGBUILD)
  postfix/repos/testing-x86_64/aliases.patch
(from rev 149641, postfix/repos/staging-x86_64/aliases.patch)
  postfix/repos/testing-x86_64/install
(from rev 149641, postfix/repos/staging-x86_64/install)
  postfix/repos/testing-x86_64/rc.d
(from rev 149641, postfix/repos/staging-x86_64/rc.d)
Deleted:
  postfix/repos/staging-x86_64/

---+
 PKGBUILD  |   63 
 aliases.patch |   18 
 install   |   33 +
 rc.d  |   36 
 4 files changed, 150 insertions(+)

Copied: postfix/repos/testing-x86_64/PKGBUILD (from rev 149641, 
postfix/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-02-09 00:00:06 UTC (rev 149681)
@@ -0,0 +1,63 @@
+# $Id$
+# Contributor: Jeff Brodnax tullyarc...@bellsouth.net
+# Contributor: Paul Mattal p...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=postfix
+pkgver=2.9.0
+pkgrel=2
+pkgdesc='Fast, easy to administer, secure mail server'
+url='http://www.postfix.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 
'libldap' 'db')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
 \
+'aliases.patch' \
+'rc.d')
+sha1sums=('a04a72a8b9436279a30b7d1b62197be63124a132'
+  '5fc3de6c7df1e5851a0a379e825148868808318b'
+  '40c6be2eb55e6437a402f43775cdb3d22ea87a66')
+
+provides=('smtp-server' 'smtp-forwarder')
+replaces=('postfix-mysql' 'postfix-pgsql')
+conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder')
+
+install=install
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   make makefiles DEBUG='' CCARGS=' \
+   -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
+   -DHAS_LDAP \
+   -DUSE_TLS \
+   -DHAS_MYSQL -I/usr/include/mysql \
+   -DHAS_PGSQL -I/usr/include/postgresql \
+   -DHAS_SQLITE \
+   ' AUXLIBS=' \
+   -lsasl2 \
+   -lldap -llber \
+   -lssl -lcrypto \
+   -lmysqlclient -lz -lm \
+   -lpq \
+   -lsqlite3 -lpthread \
+   ' OPT=${CFLAGS} ${LDFLAGS}
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   sh postfix-install -non-interactive \
+   install_root=${pkgdir} \
+   daemon_directory=/usr/lib/${pkgname} \
+   sample_directory=/etc/${pkgname}/sample \
+   manpage_directory=/usr/share/man
+
+   install -D -m755 ../rc.d ${pkgdir}/etc/rc.d/${pkgname}
+   install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+   sed 's/\(^\$manpage[^:]*\):/\1.gz:/' -i 
${pkgdir}/usr/lib/${pkgname}/postfix-files
+   cd ${pkgdir}; patch -p0 -i ${srcdir}/aliases.patch
+}

Copied: postfix/repos/testing-x86_64/aliases.patch (from rev 149641, 
postfix/repos/staging-x86_64/aliases.patch)
===
--- testing-x86_64/aliases.patch(rev 0)
+++ testing-x86_64/aliases.patch2012-02-09 00:00:06 UTC (rev 149681)
@@ -0,0 +1,18 @@
+--- etc/postfix/main.cf.orig   2010-12-13 20:18:22.0 +0100
 etc/postfix/main.cf2010-12-13 20:18:24.0 +0100
+@@ -382,6 +382,7 @@
+ #alias_maps = hash:/etc/aliases
+ #alias_maps = hash:/etc/aliases, nis:mail.aliases
+ #alias_maps = netinfo:/aliases
++alias_maps = hash:/etc/postfix/aliases
+ 
+ # The alias_database parameter specifies the alias database(s) that
+ # are built with newaliases or sendmail -bi.  This is a separate
+@@ -392,6 +393,7 @@
+ #alias_database = dbm:/etc/mail/aliases
+ #alias_database = hash:/etc/aliases
+ #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
++alias_database = $alias_maps
+ 
+ # ADDRESS EXTENSIONS (e.g., user+foo)
+ #

Copied: postfix/repos/testing-x86_64/install (from rev 149641, 
postfix/repos/staging-x86_64/install)
===
--- testing-x86_64/install  (rev 0)
+++ testing-x86_64/install  2012-02-09 00:00:06 UTC (rev 149681)
@@ -0,0 +1,33 @@
+post_install() {
+   getent group postdrop /dev/null || groupadd -g 75 postdrop /dev/null
+   getent group 

[arch-commits] Commit in postfix/repos (6 files)

2012-01-09 Thread Stéphane Gaudreault
Date: Monday, January 9, 2012 @ 13:53:07
  Author: stephane
Revision: 146357

db-move: moved postfix from [staging] to [testing] (x86_64)

Added:
  postfix/repos/testing-x86_64/
  postfix/repos/testing-x86_64/PKGBUILD
(from rev 146321, postfix/repos/staging-x86_64/PKGBUILD)
  postfix/repos/testing-x86_64/aliases.patch
(from rev 146321, postfix/repos/staging-x86_64/aliases.patch)
  postfix/repos/testing-x86_64/install
(from rev 146321, postfix/repos/staging-x86_64/install)
  postfix/repos/testing-x86_64/rc.d
(from rev 146321, postfix/repos/staging-x86_64/rc.d)
Deleted:
  postfix/repos/staging-x86_64/

---+
 PKGBUILD  |   64 
 aliases.patch |   18 +++
 install   |   34 +
 rc.d  |   36 +++
 4 files changed, 152 insertions(+)

Copied: postfix/repos/testing-x86_64/PKGBUILD (from rev 146321, 
postfix/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-01-09 18:53:07 UTC (rev 146357)
@@ -0,0 +1,64 @@
+# $Id$
+# Contributor: Jeff Brodnax tullyarc...@bellsouth.net
+# Contributor: Paul Mattal p...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=postfix
+pkgver=2.8.7
+pkgrel=2
+pkgdesc='Fast, easy to administer, secure mail server'
+url='http://www.postfix.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 
'libldap' 'db')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
 \
+'aliases.patch' \
+'rc.d')
+sha1sums=('81c87aceff4d9af67a304354bab9c99ac98fc8a0'
+  '5fc3de6c7df1e5851a0a379e825148868808318b'
+  '40c6be2eb55e6437a402f43775cdb3d22ea87a66')
+
+provides=('smtp-server' 'smtp-forwarder')
+replaces=('postfix-mysql' 'postfix-pgsql')
+conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder')
+
+install=install
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   make makefiles DEBUG='' CCARGS=' \
+   -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
+   -DHAS_LDAP \
+   -DUSE_TLS \
+   -DHAS_MYSQL -I/usr/include/mysql \
+   -DHAS_PGSQL -I/usr/include/postgresql \
+   -DHAS_SQLITE \
+   ' AUXLIBS=' \
+   -lsasl2 \
+   -lldap -llber \
+   -lssl -lcrypto \
+   -lmysqlclient -lz -lm \
+   -lpq \
+   -lsqlite3 -lpthread \
+   ' OPT=${CFLAGS} ${LDFLAGS}
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   sh postfix-install -non-interactive \
+   install_root=${pkgdir} \
+   daemon_directory=/usr/lib/${pkgname} \
+   sample_directory=/etc/${pkgname}/sample \
+   manpage_directory=/usr/share/man
+
+   install -D -m755 ../rc.d ${pkgdir}/etc/rc.d/${pkgname}
+   install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+   cd ${pkgdir}
+   patch -p0 -i ${srcdir}/aliases.patch
+}

Copied: postfix/repos/testing-x86_64/aliases.patch (from rev 146321, 
postfix/repos/staging-x86_64/aliases.patch)
===
--- testing-x86_64/aliases.patch(rev 0)
+++ testing-x86_64/aliases.patch2012-01-09 18:53:07 UTC (rev 146357)
@@ -0,0 +1,18 @@
+--- etc/postfix/main.cf.orig   2010-12-13 20:18:22.0 +0100
 etc/postfix/main.cf2010-12-13 20:18:24.0 +0100
+@@ -382,6 +382,7 @@
+ #alias_maps = hash:/etc/aliases
+ #alias_maps = hash:/etc/aliases, nis:mail.aliases
+ #alias_maps = netinfo:/aliases
++alias_maps = hash:/etc/postfix/aliases
+ 
+ # The alias_database parameter specifies the alias database(s) that
+ # are built with newaliases or sendmail -bi.  This is a separate
+@@ -392,6 +393,7 @@
+ #alias_database = dbm:/etc/mail/aliases
+ #alias_database = hash:/etc/aliases
+ #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
++alias_database = $alias_maps
+ 
+ # ADDRESS EXTENSIONS (e.g., user+foo)
+ #

Copied: postfix/repos/testing-x86_64/install (from rev 146321, 
postfix/repos/staging-x86_64/install)
===
--- testing-x86_64/install  (rev 0)
+++ testing-x86_64/install  2012-01-09 18:53:07 UTC (rev 146357)
@@ -0,0 +1,34 @@
+post_install() {
+   getent group postdrop /dev/null || groupadd -g 75 postdrop /dev/null
+   getent group postfix  /dev/null || groupadd -g 73 postfix  /dev/null
+   getent passwd postfix 

[arch-commits] Commit in postfix/repos (6 files)

2012-01-09 Thread Stéphane Gaudreault
Date: Monday, January 9, 2012 @ 13:53:05
  Author: stephane
Revision: 146356

db-move: moved postfix from [staging] to [testing] (i686)

Added:
  postfix/repos/testing-i686/
  postfix/repos/testing-i686/PKGBUILD
(from rev 146321, postfix/repos/staging-i686/PKGBUILD)
  postfix/repos/testing-i686/aliases.patch
(from rev 146321, postfix/repos/staging-i686/aliases.patch)
  postfix/repos/testing-i686/install
(from rev 146321, postfix/repos/staging-i686/install)
  postfix/repos/testing-i686/rc.d
(from rev 146321, postfix/repos/staging-i686/rc.d)
Deleted:
  postfix/repos/staging-i686/

---+
 PKGBUILD  |   64 
 aliases.patch |   18 +++
 install   |   34 +
 rc.d  |   36 +++
 4 files changed, 152 insertions(+)

Copied: postfix/repos/testing-i686/PKGBUILD (from rev 146321, 
postfix/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-01-09 18:53:05 UTC (rev 146356)
@@ -0,0 +1,64 @@
+# $Id$
+# Contributor: Jeff Brodnax tullyarc...@bellsouth.net
+# Contributor: Paul Mattal p...@archlinux.org
+# Maintainer: Gaetan Bisson bis...@archlinux.org
+
+pkgname=postfix
+pkgver=2.8.7
+pkgrel=2
+pkgdesc='Fast, easy to administer, secure mail server'
+url='http://www.postfix.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 
'libldap' 'db')
+backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
+source=(ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz;
 \
+'aliases.patch' \
+'rc.d')
+sha1sums=('81c87aceff4d9af67a304354bab9c99ac98fc8a0'
+  '5fc3de6c7df1e5851a0a379e825148868808318b'
+  '40c6be2eb55e6437a402f43775cdb3d22ea87a66')
+
+provides=('smtp-server' 'smtp-forwarder')
+replaces=('postfix-mysql' 'postfix-pgsql')
+conflicts=('postfix-mysql' 'postfix-pgsql' 'smtp-server' 'smtp-forwarder')
+
+install=install
+
+build() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   make makefiles DEBUG='' CCARGS=' \
+   -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl \
+   -DHAS_LDAP \
+   -DUSE_TLS \
+   -DHAS_MYSQL -I/usr/include/mysql \
+   -DHAS_PGSQL -I/usr/include/postgresql \
+   -DHAS_SQLITE \
+   ' AUXLIBS=' \
+   -lsasl2 \
+   -lldap -llber \
+   -lssl -lcrypto \
+   -lmysqlclient -lz -lm \
+   -lpq \
+   -lsqlite3 -lpthread \
+   ' OPT=${CFLAGS} ${LDFLAGS}
+
+   make
+}
+
+package() {
+   cd ${srcdir}/${pkgname}-${pkgver}
+
+   sh postfix-install -non-interactive \
+   install_root=${pkgdir} \
+   daemon_directory=/usr/lib/${pkgname} \
+   sample_directory=/etc/${pkgname}/sample \
+   manpage_directory=/usr/share/man
+
+   install -D -m755 ../rc.d ${pkgdir}/etc/rc.d/${pkgname}
+   install -D -m644 LICENSE 
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+
+   cd ${pkgdir}
+   patch -p0 -i ${srcdir}/aliases.patch
+}

Copied: postfix/repos/testing-i686/aliases.patch (from rev 146321, 
postfix/repos/staging-i686/aliases.patch)
===
--- testing-i686/aliases.patch  (rev 0)
+++ testing-i686/aliases.patch  2012-01-09 18:53:05 UTC (rev 146356)
@@ -0,0 +1,18 @@
+--- etc/postfix/main.cf.orig   2010-12-13 20:18:22.0 +0100
 etc/postfix/main.cf2010-12-13 20:18:24.0 +0100
+@@ -382,6 +382,7 @@
+ #alias_maps = hash:/etc/aliases
+ #alias_maps = hash:/etc/aliases, nis:mail.aliases
+ #alias_maps = netinfo:/aliases
++alias_maps = hash:/etc/postfix/aliases
+ 
+ # The alias_database parameter specifies the alias database(s) that
+ # are built with newaliases or sendmail -bi.  This is a separate
+@@ -392,6 +393,7 @@
+ #alias_database = dbm:/etc/mail/aliases
+ #alias_database = hash:/etc/aliases
+ #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
++alias_database = $alias_maps
+ 
+ # ADDRESS EXTENSIONS (e.g., user+foo)
+ #

Copied: postfix/repos/testing-i686/install (from rev 146321, 
postfix/repos/staging-i686/install)
===
--- testing-i686/install(rev 0)
+++ testing-i686/install2012-01-09 18:53:05 UTC (rev 146356)
@@ -0,0 +1,34 @@
+post_install() {
+   getent group postdrop /dev/null || groupadd -g 75 postdrop /dev/null
+   getent group postfix  /dev/null || groupadd -g 73 postfix  /dev/null
+   getent passwd postfix /dev/null || useradd -u 73 -d 
/var/spool/postfix -g