[arch-commits] Commit in mailman/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sun Feb 26 20:39:03 UTC 2012


    Date: Sunday, February 26, 2012 @ 15:39:03
  Author: pierre
Revision: 151502

Ensure that the configure script wont pick up the host configuration

should fix FS#28665

Modified:
  mailman/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-26 19:27:25 UTC (rev 151501)
+++ PKGBUILD	2012-02-26 20:39:03 UTC (rev 151502)
@@ -3,7 +3,7 @@
 
 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 @@
   # 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 \




More information about the arch-commits mailing list