aboutsummaryrefslogtreecommitdiffstats
path: root/main/mlmmj
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-20 07:04:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-20 07:09:15 +0000
commitce2b76a31ba48e891a8c40a596c90fbfd7691e81 (patch)
tree77d59e068a049739280d1fda0e3b45fa6b4f2f5a /main/mlmmj
parent238902d627388a51b8d0dfe3121a9c6b63a91c5a (diff)
downloadaports-ce2b76a31ba48e891a8c40a596c90fbfd7691e81.tar.bz2
aports-ce2b76a31ba48e891a8c40a596c90fbfd7691e81.tar.xz
main/mlmmj: upgrade to 1.2.18.0
Diffstat (limited to 'main/mlmmj')
-rw-r--r--main/mlmmj/APKBUILD8
-rw-r--r--main/mlmmj/mlmmj.pre-install5
2 files changed, 11 insertions, 2 deletions
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD
index 87f1525e77..d98dc187c3 100644
--- a/main/mlmmj/APKBUILD
+++ b/main/mlmmj/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
-pkgver=1.2.17.1
+pkgver=1.2.18.0
pkgrel=0
pkgdesc="Mailing list managing made joyful"
url="http://mlmmj.org/"
@@ -9,6 +9,9 @@ license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends=
+install="$pkgname.pre-install"
+pkgusers="mlmmj"
+pkggroups="mlmmj"
source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz"
build() {
@@ -23,5 +26,6 @@ package() {
make -j1 DESTDIR="$pkgdir" install || return 1
install -d "$pkgdir"/usr/share/mlmmj/texts
cp -r listtexts/* "$pkgdir"/usr/share/mlmmj/texts/
+ install -o mlmmj -g mlmmj -d "$pkgdir"/var/spool/mlmmj
}
-md5sums="c705d8bf3003df6810c9775ce86e7af0 mlmmj-1.2.17.1.tar.gz"
+md5sums="d8ea7b403c9318e4bdf8049b57babb27 mlmmj-1.2.18.0.tar.gz"
diff --git a/main/mlmmj/mlmmj.pre-install b/main/mlmmj/mlmmj.pre-install
new file mode 100644
index 0000000000..1907095040
--- /dev/null
+++ b/main/mlmmj/mlmmj.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup mlmmj 2>/dev/null
+adduser -S -H -h /var/spool/mlmmj -s /bin/false -D -G mlmmj mlmmj 2>/dev/null
+exit 0