diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-29 02:31:43 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-29 02:31:43 -0300 |
commit | e87b42b0f90e1a4d8b255f1dab945f2f3bb13cdc (patch) | |
tree | e36d5720f76b5db9dd5f97260108607023d7d2e7 /extra/mailman | |
parent | c0e37a8f32f335c12352f23cdc73113099e057ec (diff) | |
parent | 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/avfs/PKGBUILD
extra/gtk2/PKGBUILD
extra/hercules/PKGBUILD
multilib/lib32-libcap/PKGBUILD
multilib/lib32-qt/PKGBUILD
Diffstat (limited to 'extra/mailman')
-rw-r--r-- | extra/mailman/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extra/mailman/PKGBUILD b/extra/mailman/PKGBUILD index a3969919b..70b48ad55 100644 --- a/extra/mailman/PKGBUILD +++ b/extra/mailman/PKGBUILD @@ -1,14 +1,16 @@ -# $Id: PKGBUILD 151503 2012-02-26 20:39:48Z pierre $ +# $Id: PKGBUILD 151515 2012-02-27 10:52:55Z pierre $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=mailman pkgver=2.1.14 -pkgrel=3 +pkgrel=4 pkgdesc="Mailing list manager with built in web access" arch=('i686' 'x86_64' 'mips64el') 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 @@ build() { # 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 @@ package() { 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 |