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

Pierre Schmitz pierre at archlinux.org
Mon Feb 27 10:52:11 UTC 2012


    Date: Monday, February 27, 2012 @ 05:52:10
  Author: pierre
Revision: 151514

upgpkg: mailman 2.1.14-4

stupid buildsystem

Modified:
  mailman/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-27 05:06:31 UTC (rev 151513)
+++ PKGBUILD	2012-02-27 10:52:10 UTC (rev 151514)
@@ -3,12 +3,14 @@
 
 pkgname=mailman
 pkgver=2.1.14
-pkgrel=3
+pkgrel=4
 pkgdesc="Mailing list manager with built in web access"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.list.org/"
 depends=('python2' 'smtp-server')
+# we need to have the mailman user to build mailman
+makedepends=('mailman')
 # 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
 backup=('usr/lib/mailman/Mailman/mm_cfg.py')
 install=$pkgname.install
@@ -29,15 +31,13 @@
   # 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 \
               --with-var-prefix=/var/lib/mailman \
-              --with-mail-gid=80 \
-              --with-username=80 --with-groupname=80 \
+              --with-mail-gid=mailman \
+              --with-username=mailman --with-groupname=mailman \
               --with-cgi-gid=http --with-python=/usr/bin/python2
   make
 }
@@ -60,8 +60,8 @@
   ln -sv /usr/lib/mailman/Mailman/mm_cfg.py ${pkgdir}/etc/${pkgname}/mm_cfg.py
 
   # fix some permissions to satisfy check_perms
-  chown -R 80:80 $pkgdir/{usr/lib/mailman,var/lib/mailman,etc/mailman/*}
-  chown http:80 ${pkgdir}/var/lib/mailman/archives/private
+  chown -R mailman:mailman $pkgdir/{usr/lib/mailman,var/lib/mailman,etc/mailman/*}
+  chown http:mailman ${pkgdir}/var/lib/mailman/archives/private
   chmod 2770 ${pkgdir}/var/lib/mailman/archives/private
   chmod 2755 ${pkgdir}/usr/lib/mailman/cgi-bin/* 
   chmod 2755 ${pkgdir}/usr/lib/mailman/mail/mailman




More information about the arch-commits mailing list