diff options
Diffstat (limited to 'extra/mailman/PKGBUILD')
-rw-r--r-- | extra/mailman/PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/mailman/PKGBUILD b/extra/mailman/PKGBUILD index e7a400d2d..a3969919b 100644 --- a/extra/mailman/PKGBUILD +++ b/extra/mailman/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 151051 2012-02-24 15:02:06Z pierre $ +# $Id: PKGBUILD 151503 2012-02-26 20:39:48Z pierre $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=mailman pkgver=2.1.14 -pkgrel=2 +pkgrel=3 pkgdesc="Mailing list manager with built in web access" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -25,7 +25,13 @@ build() { # fix calls to /usr/bin/python find . -name '*.py' -exec sed -i 's@^#!.*python$@#!/usr/bin/python2@' {} + # fix directory permissions to satisfy check_perms - patch -Np1 -i ${srcdir}/mailman-2.1-build.patch + patch -p1 -i ${srcdir}/mailman-2.1-build.patch + # set some sane defaults before the configure script has a chance to screw them up + sed -e 's/@MAILHOST@/localhost/g' \ + -e 's/@URLHOST@/localhost/g' \ + -e 's/@MAILMAN_USER@/mailman/g' \ + -e 's/@MAILMAN_GROUP@/mailman/g' \ + -i Mailman/Defaults.py.in ./configure --without-permcheck \ --prefix=/usr/lib/mailman \ |