summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-10-22 08:06:47 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-10-22 08:06:47 +0000
commit4dc5ff1ad20e6b833ef36dccae5255a45cd0554e (patch)
tree7ee6e642020c7198cc5e0a50f616e3ef920195bc /net-mail
parentStable for sparc, wrt bug #487360 (diff)
downloadhistorical-4dc5ff1ad20e6b833ef36dccae5255a45cd0554e.tar.gz
historical-4dc5ff1ad20e6b833ef36dccae5255a45cd0554e.tar.bz2
historical-4dc5ff1ad20e6b833ef36dccae5255a45cd0554e.zip
add systemd unit to 2.1.15
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xADC916E5
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailman/ChangeLog6
-rw-r--r--net-mail/mailman/Manifest13
-rw-r--r--net-mail/mailman/files/mailman.service13
-rw-r--r--net-mail/mailman/mailman-2.1.15.ebuild7
4 files changed, 30 insertions, 9 deletions
diff --git a/net-mail/mailman/ChangeLog b/net-mail/mailman/ChangeLog
index 5147546604d2..4cf0b3351e5c 100644
--- a/net-mail/mailman/ChangeLog
+++ b/net-mail/mailman/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/mailman
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.136 2013/06/22 17:18:50 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/ChangeLog,v 1.137 2013/10/22 08:06:43 lxnay Exp $
+
+ 22 Oct 2013; Fabio Erculiani <lxnay@gentoo.org> mailman-2.1.15.ebuild,
+ +files/mailman.service:
+ add systemd unit to mailman-2.1.15
22 Jun 2013; Sven Vermeulen <swift@gentoo.org> mailman-2.1.14.ebuild,
mailman-2.1.15.ebuild:
diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest
index b7f958bcdfd7..c7b719821ffb 100644
--- a/net-mail/mailman/Manifest
+++ b/net-mail/mailman/Manifest
@@ -7,16 +7,17 @@ AUX mailman-2.1.13-ldflags.patch 1022 SHA256 75b9fe8ef757541776532f76b1262c1616d
AUX mailman-2.1.14_rc1-directory-check.patch 786 SHA256 13c5988eeaf1fad7c7f4db2c817bb234dce022636e0ebe1a7de9d0ef8400d91c SHA512 510a67915163732ae05ed9f8920f93eb99538a706d85e4fb2c071e01a6d88be8cd32aa5ea0127d36a1dc4f7a735c179bb1169e7358025ee7d3c85b0c8cda44d7 WHIRLPOOL 316a6e78129bf1a46be3c81232cf29a4cf639c5f350085e10d37700d1f97ae614ee48c0caea1acef33da172e74b025645098ce36055f6757b9e32567c15d9414
AUX mailman-2.1.9-icons.patch 555 SHA256 cd78a7447febcbe1901144a190ef14cf9075b8055cc275e0405fc748f9c855f0 SHA512 caec3eb1abdb29e92ebd6a589f93870ffc91bbcc7bd2e0115e38f48ae0a31e564037a4a828395229ee238d215e72e19a31d53c8bca6c39a48b5c08a327e663a6 WHIRLPOOL 0e73c6c89fd026bf73c5665da95fa711e47b0a7fa031ce3c31ad3a4771935c2d8fdabbba58e32448ee9b8263576004c22376249e1c135b69dbbaa47c880b96b9
AUX mailman.rc 597 SHA256 ef4f5482cf68ba44a0fbb83acde29295bd8dcb6512d259d14387dfc29beeb625 SHA512 68840cb5afd364fdf440c0267c42c1e59565247f4ae11e7e4bcfd734d7bb9abc7e9167f25086c66e3527ff92ebf1a620d408f0e70b45bc1ab8adb8f05fd912a2 WHIRLPOOL 2d269b5bdab88b42265029c0c5cdbc6e6a2de146a629357f5c7b1041d99e25d18be3e5d8982d3d74d8f1fba8ffa8fd4444a05a9569244126fed05b87ca833ad2
+AUX mailman.service 288 SHA256 6cd1c76bac4ce0c6e15886089a62ed70012653a6416fc1d0c0836822b58e7c02 SHA512 c4a5532666afbebc5aa69463ec9b9eaa2dcb03fdd8fd62307920a4572d0c795c1d93478236240746018be617c0eec0fcfcc1c711e8810140fb8ffbc0a9b71009 WHIRLPOOL 0980699e58b2b86789ea7bd2172063359a12f97d7df1cea27ada1dea77ec8a7c3426f1aca1c3bbf982d97b72ac1ee3ff28b49f651d8a066ea80a6d0ca20135c3
DIST mailman-2.1.14.tgz 8201150 SHA256 1d6be802b718639126c4069eb7f9cd3a347765e1cb199cc3bb14d71572d09523 SHA512 77230730150ba6580a9924a771959a1e4488026a24e1a04f9f984315d127ced9cb04e09fb0eb9272172c097f23ac16d0a0d51b7564c49649a402ca581ae0a308 WHIRLPOOL 299c977ab7887ddefcf559b7d0ec3268d660736559c6066d95eb9b85cce37ca139f9e01abe668fc34c3571bf36afeb52f857d05d630674eb0da4ed8ef34c2c62
DIST mailman-2.1.15.tgz 8468107 SHA256 f355fb3d31772b488449e6f5173dafd31edca93172c307244c791d25d9e2bec8 SHA512 3502d32690856bad2140851bf582ebe8cea0ba38a184aae715cc7921754aac452b789b7031cbb47895737f4135e59f44888bdca56c512378ad9367d62b372536 WHIRLPOOL f20dad43d44ab542f324dd06373bbd741db2aea0e59eb4894cc73149638ef5ee316dcd622ef71871c26d0e99d830c60e5ec8f10bf63290b0fb5b86d05a32cd9d
EBUILD mailman-2.1.14.ebuild 5936 SHA256 d9fbaa9892afd34912e691684f83f3b0d0e8dc27bf84c2799c5f43efa466d420 SHA512 dd4ee1828c52043f875212dff1f97957b7c1a7610fbc0df6688c5871c7b5eb25cd66c72c0aba2aa12106a7d1ce46a65920271a9ff11c211017eac3ca70fa7b6b WHIRLPOOL 031d8f56c84c6834cb45b74fcec5a963957aded250e995d0dfdc2fb31d6b1b63cbb3000eedde93aab7e06ca508d6b4d2dd4a4841f3a5a84a55dab1cb84272822
-EBUILD mailman-2.1.15.ebuild 5985 SHA256 2b2da3cfb6e55db2821b1d98d666d5c51ad63b3ab46e5d46c08e8512c4968c20 SHA512 9f4de7d3ce01d025bc0021098855415b84175e8a3f8ec6306250d4372ba93ccd9ae872c3969bf42480390a821af0615ecda1d51cd0f2d49e49898ee0d6e013bc WHIRLPOOL 4a4859b4fb390aeb072d1a9a4917c909ac728553141287349c175598e7c97d09f43ab9bbd5b36324b8882d5ba6fb5102e88229abd6b3575bdaeb827e07b2bf7d
-MISC ChangeLog 18875 SHA256 5e898818a5522fe385bdef630cb5926de9399b9ed282da81d38b4c76e1cfafac SHA512 c39f82f3e934d61e452980a533d2c059f97979ece8b20dcf5c7fd0ef524e5c23230475bfa30b7aaaa8bda799ad0832d5df9a9bbe9d7ab2d6a3a5f14d97326d8f WHIRLPOOL bb62e01ed2bda2ae46c41e02ba2aeea2ce10cd12fb30039a02806756488a3b2db378639a90dc31227c8898d159381afbdcb474addc06d788b180638020614fc5
+EBUILD mailman-2.1.15.ebuild 6164 SHA256 112f86030f82ab2e04419d908b125b05a512094494a2daee9f94ea447204c5dc SHA512 73fbc2fb1c789d8363e7f02a23e5209e9efd1b2f45d514755a2ac9da22a102fd8a544ad2c57f052dcc937badee77f6120abdf24d487a3647fbedee924a73f102 WHIRLPOOL b71f3b1bd28b1f78a07dc6de1dd14dad99296c38b9424303a49b7a297da7776cc6ec7d20ded4c1da60b4b174f7eaecdb330a4e708410894538efbf568a154b4d
+MISC ChangeLog 19012 SHA256 83ed0f5ff406d6f2d5ca03bf5188b53399cf477f7d1ec0ecf719604d26010cf3 SHA512 b71775a4cc5e5e4d0d72350897b3c077e679bcc45728193f2ffa54169af921e78d4535d3ca75acbd16fca715d29a8ec66bca14a24bcc98cd927785f531aed2b5 WHIRLPOOL b0d96b37713f37204088deff94c26419eb0fde813ade30a8c8be54dde7a9b616c747ae5da3085b7fc8e23a5b304130a61714428c4a58c03253c0c00cb51b28f8
MISC metadata.xml 218 SHA256 09421ca1b9299683d07f68ddbbd3ed97251dac613121b420841a3251da7fcb89 SHA512 8bb5bbe8e06a6caffb45c8a717c3fce94b35fd085a711523d439b3135f3949e46f8b7ae1936aa75ea6385fc59054585009ff16fe73052c3eccaea09449204544 WHIRLPOOL aaa5590db64b60ddb7628f0e9ea780da50f0e43a7f10a6562848d9167dfdfbec531aff68f7df2da2b173e9900b91e40b5ff9cf4ecab86dbff8c082053a53b90c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.21 (GNU/Linux)
-iEYEAREIAAYFAlHF3BAACgkQXfqz7M26L9tnUACbBYDbtgUcV3DDeZ/LW1p1EOSn
-gOUAn0zkJhMVDogy3Yx0uJ5bnNO8FQO2
-=AG5Q
+iEYEAREIAAYFAlJmMiQACgkQfaj9zK3JFuVKPACg2LeALlHMk7vhp00IFn/Cz5Am
+18cAn2oojVFHiSWpuAdthB96K29Ofij7
+=5EzK
-----END PGP SIGNATURE-----
diff --git a/net-mail/mailman/files/mailman.service b/net-mail/mailman/files/mailman.service
new file mode 100644
index 000000000000..21b819565549
--- /dev/null
+++ b/net-mail/mailman/files/mailman.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=GNU Mailing List Manager
+After=network.target
+
+[Service]
+User=mailman
+ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
+ExecReload=/usr/lib/mailman/bin/mailmanctl restart
+ExecStop=/usr/lib/mailman/bin/mailmanctl stop
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
diff --git a/net-mail/mailman/mailman-2.1.15.ebuild b/net-mail/mailman/mailman-2.1.15.ebuild
index 6877e2758409..a2ada24925ed 100644
--- a/net-mail/mailman/mailman-2.1.15.ebuild
+++ b/net-mail/mailman/mailman-2.1.15.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.15.ebuild,v 1.7 2013/06/22 17:18:50 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.15.ebuild,v 1.8 2013/10/22 08:06:43 lxnay Exp $
EAPI="4"
PYTHON_DEPEND="2"
-inherit eutils python multilib
+inherit eutils python multilib systemd
DESCRIPTION="A python-based mailing list server with an extensive web interface"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
@@ -96,6 +96,9 @@ src_install () {
done
newinitd "${FILESDIR}/mailman.rc" mailman
+ cp "${FILESDIR}/mailman.service" "${T}/mailman.service" || die
+ sed -i "s/^User=.*/User=${MAILUSR}/" "${T}/mailman.service" || die
+ systemd_dounit "${T}/mailman.service"
keepdir ${VAR_PREFIX}/logs
keepdir ${VAR_PREFIX}/locks