diff options
author | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
commit | 1f567a9d58d16b76320168f0624aa55bd6320284 (patch) | |
tree | e4e7ffadc364d582fccd8543ad1543fa9741a8a7 /extra/mailman/PKGBUILD | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Mon Feb 27 23:15:24 UTC 2012
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 a7b140030..d5ebc7277 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') 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 \ |