[arch-commits] Commit in libmilter/repos (4 files)
Gaetan Bisson
bisson at archlinux.org
Wed Apr 8 19:08:05 UTC 2015
Date: Wednesday, April 8, 2015 @ 21:08:05
Author: bisson
Revision: 235761
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libmilter/repos/extra-i686/
libmilter/repos/extra-i686/PKGBUILD
(from rev 235760, libmilter/trunk/PKGBUILD)
libmilter/repos/extra-x86_64/
libmilter/repos/extra-x86_64/PKGBUILD
(from rev 235760, libmilter/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Copied: libmilter/repos/extra-i686/PKGBUILD (from rev 235760, libmilter/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-04-08 19:08:05 UTC (rev 235761)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: mutantmonkey <mutantmonkey at gmail.com>
+
+pkgname=libmilter
+pkgver=8.14.8
+pkgrel=1
+pkgdesc="libmilter"
+arch=(i686 x86_64)
+url="http://www.postfix.org/MILTER_README.html"
+options=('staticlibs')
+license=('custom:Sendmail open source license')
+source="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${pkgver}.tar.gz"
+md5sums=('73bfc621c75dbdd3d719e54685d92577')
+
+build(){
+ cd "${srcdir}/sendmail-${pkgver}"
+
+ # From http://www.j-chkmail.org/wiki/doku.php/doc/installation/start#libmilter
+ cat >> devtools/Site/site.config.m4 <<EOF
+dnl
+dnl Enable libmilter with a pool of workers
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-D_FFR_WORKERS_POOL=1 -DMIN_WORKERS=4')
+dnl
+dnl Use poll instead of select
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-DSM_CONF_POLL=1')
+dnl Enable IPv6
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-DNETINET6=1')
+dnl
+dnl Include our CFLAGS
+APPENDDEF(\`conf_libmilter_ENVDEF',\`${CFLAGS}')
+dnl
+dnl Add -fPIC
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-fPIC')
+dnl
+EOF
+
+ cd libmilter
+ ./Build
+}
+
+package(){
+ cd "${srcdir}/sendmail-${pkgver}/libmilter"
+ mkdir -p "${pkgdir}/usr/lib"
+ ./Build DESTDIR="${pkgdir}" install
+ install -Dm0644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ chown -R root:root $pkgdir
+}
Copied: libmilter/repos/extra-x86_64/PKGBUILD (from rev 235760, libmilter/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-04-08 19:08:05 UTC (rev 235761)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: mutantmonkey <mutantmonkey at gmail.com>
+
+pkgname=libmilter
+pkgver=8.14.8
+pkgrel=1
+pkgdesc="libmilter"
+arch=(i686 x86_64)
+url="http://www.postfix.org/MILTER_README.html"
+options=('staticlibs')
+license=('custom:Sendmail open source license')
+source="ftp://ftp.sendmail.org/pub/sendmail/sendmail.${pkgver}.tar.gz"
+md5sums=('73bfc621c75dbdd3d719e54685d92577')
+
+build(){
+ cd "${srcdir}/sendmail-${pkgver}"
+
+ # From http://www.j-chkmail.org/wiki/doku.php/doc/installation/start#libmilter
+ cat >> devtools/Site/site.config.m4 <<EOF
+dnl
+dnl Enable libmilter with a pool of workers
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-D_FFR_WORKERS_POOL=1 -DMIN_WORKERS=4')
+dnl
+dnl Use poll instead of select
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-DSM_CONF_POLL=1')
+dnl Enable IPv6
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-DNETINET6=1')
+dnl
+dnl Include our CFLAGS
+APPENDDEF(\`conf_libmilter_ENVDEF',\`${CFLAGS}')
+dnl
+dnl Add -fPIC
+APPENDDEF(\`conf_libmilter_ENVDEF',\`-fPIC')
+dnl
+EOF
+
+ cd libmilter
+ ./Build
+}
+
+package(){
+ cd "${srcdir}/sendmail-${pkgver}/libmilter"
+ mkdir -p "${pkgdir}/usr/lib"
+ ./Build DESTDIR="${pkgdir}" install
+ install -Dm0644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ chown -R root:root $pkgdir
+}
More information about the arch-commits
mailing list