summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2018-04-02 20:34:24 +0200
committerThomas Raschbacher <lordvan@gentoo.org>2018-04-02 20:34:24 +0200
commitb8af550f7ecbb423ba11196683bd70c82c91ab61 (patch)
tree54a93a1ef3d043611f1cfbe864b293190e6f1cb6
parentfirst commit - still not complete (no init script,..) (diff)
downloadlordvan-b8af550f7ecbb423ba11196683bd70c82c91ab61.tar.gz
lordvan-b8af550f7ecbb423ba11196683bd70c82c91ab61.tar.bz2
lordvan-b8af550f7ecbb423ba11196683bd70c82c91ab61.zip
add user and group for mailman
-rw-r--r--net-mail/mailman/Manifest2
-rw-r--r--net-mail/mailman/mailman-3.1.1.ebuild3
2 files changed, 4 insertions, 1 deletions
diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest
index 1f8b383..5bcc76e 100644
--- a/net-mail/mailman/Manifest
+++ b/net-mail/mailman/Manifest
@@ -1,3 +1,3 @@
DIST mailman-3.1.1.tar.gz 749014 BLAKE2B 00cf756de1a6ce5a05f30b033ad7d1ebc5664bb1c6fadb5d602c4e34e373ee7a0df0801e6b68b0816ee819f77caef33bbc4b8490df1c8f01fd2fb35664fd3757 SHA512 b09962ec99ca1ce1eafd40409a00f976dc47d82adb707313f4516400db6439af8597a1c4e30262fb228c102508ede688912480dbb1dcca9721bb0333693f1d85
-EBUILD mailman-3.1.1.ebuild 1797 BLAKE2B 3ee9623bb28f65444d784dfab4c3e3c5591aa63b4eb2652641b37a0b8bede79ce5691de03a642626be99473e3034bdbd0630e8c8729feb2c078a51b7176e5a2f SHA512 28a3631e6d799921949beb044e69224a77cfaf142c87a634c4c59a316c992a8e56f0ddc7fab2c3b274cdaed97293d55a3527f27045c42fedf6e12d894658a079
+EBUILD mailman-3.1.1.ebuild 1901 BLAKE2B 617d8a6c24e34137c986f14d8391fba9fe5a2d5784f2268c7bcd5f808654f87e365d79f45be050c47f57f9828b60fd68516993a424ab0d294ee23b37668ca44e SHA512 a3a736e6a5517b1d37ec69ec4bb0779eedf0b85efb01b98e8a3748a09c060c132d65e83ad2d4b6cb5389351f28e8df71b4c541c52195bf2f2ce71a34f4aa391f
MISC metadata.xml 400 BLAKE2B e0df4bb35f2d63968de652eb841186ee15b3ece8b89af861e5be4958237dbec13a1c9010511bdec377ff9284edf52dd317ff547a76ff640b28bf0c89bdb8211c SHA512 f45dc93bf9988a71feed972d054de722a4d90ff0bb31c1ed626584335557806b2eef3e7b3a21e9c445997124aeb38b5c26505dac03b5e297443627929dbd629a
diff --git a/net-mail/mailman/mailman-3.1.1.ebuild b/net-mail/mailman/mailman-3.1.1.ebuild
index ddccbdc..c256996 100644
--- a/net-mail/mailman/mailman-3.1.1.ebuild
+++ b/net-mail/mailman/mailman-3.1.1.ebuild
@@ -44,6 +44,9 @@ pkg_postinst() {
MAILGRP=${MAILMAN_MAILGRP:-mailman}
MAILGID=${MAILMAN_MAILGID:-280}
+ enewgroup ${MAILGRP} ${MAILGID}
+ enewuser ${MAILUSR} ${MAILUID} /bin/bash ${INSTALLDIR} mailman,cron
+
keepdir ${VAR_PREFIX}/logs
keepdir ${VAR_PREFIX}/locks
keepdir ${VAR_PREFIX}/spam