summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-12-23 12:11:54 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-12-23 12:11:54 +0000
commit4363b4b35818ca374efd162e19116ca332992192 (patch)
tree9f1e9e40939e93aef2d7fa15616c0edaa32ae89e /media-sound/umurmur
parentStable for ppc64, wrt bug #441906 (diff)
downloadhistorical-4363b4b35818ca374efd162e19116ca332992192.tar.gz
historical-4363b4b35818ca374efd162e19116ca332992192.tar.bz2
historical-4363b4b35818ca374efd162e19116ca332992192.zip
add systemd unit wrt #487940
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'media-sound/umurmur')
-rw-r--r--media-sound/umurmur/ChangeLog8
-rw-r--r--media-sound/umurmur/Manifest18
-rw-r--r--media-sound/umurmur/files/umurmurd.service15
-rw-r--r--media-sound/umurmur/umurmur-0.2.13-r1.ebuild67
4 files changed, 99 insertions, 9 deletions
diff --git a/media-sound/umurmur/ChangeLog b/media-sound/umurmur/ChangeLog
index b6726594e495..3c2e86096f81 100644
--- a/media-sound/umurmur/ChangeLog
+++ b/media-sound/umurmur/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/umurmur
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v 1.8 2013/11/23 06:54:54 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v 1.9 2013/12/23 12:11:50 hasufell Exp $
+
+*umurmur-0.2.13-r1 (23 Dec 2013)
+
+ 23 Dec 2013; Julian Ospald <hasufell@gentoo.org> +umurmur-0.2.13-r1.ebuild,
+ +files/umurmurd.service:
+ add systemd unit wrt #487940
23 Nov 2013; Patrick Lauer <patrick@gentoo.org> metadata.xml:
Remove unneeded useflag description from metadata.xml
diff --git a/media-sound/umurmur/Manifest b/media-sound/umurmur/Manifest
index 2c8912586660..ff70f5910a64 100644
--- a/media-sound/umurmur/Manifest
+++ b/media-sound/umurmur/Manifest
@@ -4,18 +4,20 @@ Hash: SHA256
AUX umurmur.conf 1637 SHA256 6d34c8915d7d2cbd21cdb9d3ff1f9227c48d458046481c785a260e1faeae233f SHA512 563573c405013bdf9d76003d68eb9619064659dc1e1b8b1fde24c0e587a807202bf62efe7f227cc95ff8b6db68a2ace3f0f359cef74c1bf5f1582815dd623501 WHIRLPOOL 25ee26eaf988b4897213e682c77c69ae74987f4de284f1497b77199c3b585a26d5eaa31f1f5161f3d0b90112a5dc11030729407bb58e9aacf413ca77528adf5e
AUX umurmurd.confd 64 SHA256 f7738665b9c7799df2b805f8570d4307f40c5fd3c84316e4773215b87fd57f67 SHA512 4af070ab4d8f4a9a2d5b59b8be95cfb49c22faae809843d9c8ede954bdf39f1224bb31cc53e5cf0f771a2033dfe904890345a6031055c9e79fdd315447e54840 WHIRLPOOL 334350adfc793a9b9f7681510b7aeb4c6e76d145bb01437124e76049e256ff8224c2f4edb9e3729e6651f699ae71c838c5ecd47fca9a150941db0c8f7c9fa6ba
AUX umurmurd.initd 578 SHA256 d2ba06b0bb993dff5be4aa35d9cc30d64ec4a256ddcacf8d7ac38d7449db3f15 SHA512 e8502b2513b011a6905558849387821756f07a6c8129c48188051408a920319317c25cd6bba74180656c48a7cd3de7380636064eb4e7e6094faa55e6a8db8dc6 WHIRLPOOL e716bcfee9fa0d6912646b5b527e1ecbcfe66a7b21d4b18dd4a9ff1c97f8c464bbee487b17cf8e9f239b74dd7cfa15079bc241a30b09a37177375ae884ec670c
+AUX umurmurd.service 363 SHA256 24d268fa74f7cd3523df1827d8ef2d429a2e5d40e8746b97f55ef55728639e8d SHA512 3366dc2b35623daf4704e30bc6207cf795e31cb4c9cd0c7e19f64fa9d92da772fcc309e5799261b6c07c95cfeacd2d9b898ec4a4be7b5acc46efda7a98308913 WHIRLPOOL 5a865c97f0639c8a8392df0df8fb8c0092eb6c028f62fced4eb1f452992abec9543c7b6737faf407997d7eb54d69931946cc7d88409de6f750a45df12ac6b175
DIST umurmur-0.2.13.tar.gz 167500 SHA256 ac1595fa47ce6bd1e0706dd609293f745d73a59af00a7a04ddc0f9ae243997be SHA512 dc33a49594e85244bed1e58f890cf1bbcc561dc455c889a9d1e143b93613cc9f3dfd2913174159cc25d8bc6ba7a5c182e818612ae5a37501403d64bc3f496ba2 WHIRLPOOL 969175818e36029825238bcca0ed9153028fc9be44fb857b36ea7e287a203ffa175da17786f505239c4df78e3993550c5ff5256388816d774b8a236cbe21c516
+EBUILD umurmur-0.2.13-r1.ebuild 1598 SHA256 9711da5914892910a4ab0661a2cba6946589ab932d8f682bfdb343b9cc098281 SHA512 191ea7c36f0e4ddf2f97b71f318103812a40e38f609d02f12c59921b5003151b3e71c6b2cbf9a81bc983e028e450db2054fa008d6b6f60b1beda61948cf7b6d6 WHIRLPOOL e6f480c0d8b97f80bf2706c07858e4c4ce6f4a6aedd1e396032a6802b75963bdbd18aeb160ac468b05333eeed7d9ed315f3ce47054b973e9893cecbb888a4ba0
EBUILD umurmur-0.2.13.ebuild 1535 SHA256 20ff1632c538dff36ad1f141ee2212a16790a70f9fd23a657bcd574c2dba894c SHA512 2b2c3cbae0b0233bcc4ff7c068dc2297226f56da2539bda9b58e0f7336ecdde75c42f0c43272338b9b8e330096335d80eb2d7ea7e61354f2360a84fe617241b2 WHIRLPOOL 5badc98a97c5fe73a342f34f18255d1d60c95fd97bd1e7c19e628343916661f13b5fd9e72587526f22fdb35f5d05e3e65a2b5646f38d3ed689bd835ad555ff28
-MISC ChangeLog 1306 SHA256 f7f6bf303cf29822e703213ff44b1a531ca51fa2a2d949e445fa415748a14972 SHA512 3badd615fc01a262a8030b0f0c96df5121eeb0368b5163595843a743123cd272f52b05ca6b781db71b81f3f0c22d232590177f8e5b8a8afb940a6a1cba568c8d WHIRLPOOL f9b6c751cbde867476533e9de969fbc8d465f82a3e3208f64172be00ea3ec34858ba220e93060b77e8d40f5b471a4b207d096e7ccfb89fb77746a38137296e2b
+MISC ChangeLog 1478 SHA256 9eea8f56bea654c8e390bbd746c28846bee59d8ca2b0aa0694c91bb74f3ae181 SHA512 1bb95b65825e96a558296ada1280895d31ce92d6601f63b15e70b126c730cc5c7bca3e84720ff7500d124ae3ff5b6fdf8a73ceeb4ed9d5e56d797a439e176ea1 WHIRLPOOL d0eb8193fad695913ab30bbcb2d7b25d7ec3c525b7f6f6548b863693f4e821da4ca7bd83d4f3b7f29913dc9fcf5dba55d1f2cd4354db0dae25e8f65ced0f1049
MISC metadata.xml 969 SHA256 58dab1444013b31b415421a473e7dea81f56c47e7ae74ebea8b238efa2a04b4d SHA512 e733b3da70ddcb589d59ec9bae65c2ebd4ab661df7e33de8634f017e5d100c513e4e1b19cf46f198f040754a70ccc088f2b71149b9c52d9c85b403776290e4a5 WHIRLPOOL 4b5353f6b2e7571b53e8028142352e493af67986e439bb1ebe5ef5dbfb81da6594850009023d435ee6bbcd3a976b2634d4880758503a9a5559555c28bfe70ef5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJSlRv8AAoJEFpvPKfnPDWz0bYIAIWZBZbbQP0dIwIFLdd9M1w2
-zo6T443e0Pd2bKZEobGozlQtiyhjeFMczPNOz1IUW7STuf98EjvH4PTehyKUYhWL
-2XsNrB1hZDrXjbdfnhLFJMdjw2hx+alPQSeT4Lw0AO4EmaAmBrrl9tlcNxSKvV1f
-S8ptT5gwPIZuXGGVNWHoVpEMiOWWtTgWHLscm9VTm6isA+THe0awqaiW266y71Fj
-jGjMmrN7HBAeq4535zza36TwPIXylUeCBokK9End/tcJIaL0Pm9vFfNhJzhufSW7
-6I4wgt8e1DT6cIEgJboxd15OCHiMA3TgpRqFXNfsccFa+/iEbc09mco+nVs552U=
-=D4LU
+iQEcBAEBCAAGBQJSuCiLAAoJEFpvPKfnPDWzwmcIAKysGuLjE/q4y8IXf1T7Ff01
+Jfql1rlaDPVmlmq03ovQHclpyoR9qoG4jQbXBxhe/RR95sxODQcyqy27yB8uS/OU
+nHGOW9Z0IuIU8osLsUcjpFqILdWc/bZ6XfR+c06P9d5X0QgzyAxL8WMucPiFX3cH
+IVIk3eIAapSXbWCZBdtEjtn12JNHjrj77Mxhx8L3ov0S1Ru45WAXW9oJdSziW+1d
+e42OJmnHOobD4zUegkVBhJDGTz0/W/bJaxFJRn9vpK3hk4oiHTfwGJXmAorgowJz
+ypXNCpjxMHstzAtT59PGiQkkcMVoXekhYo72dtQG/66AlEWKkJgkfq4Gc1wDLjE=
+=/8yv
-----END PGP SIGNATURE-----
diff --git a/media-sound/umurmur/files/umurmurd.service b/media-sound/umurmur/files/umurmurd.service
new file mode 100644
index 000000000000..12ad2aec6459
--- /dev/null
+++ b/media-sound/umurmur/files/umurmurd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=A minimalistic Mumble server
+After=network.target
+
+[Service]
+Type=simple
+User=murmur
+Group=murmur
+PIDFile=/run/umurmurd.pid
+ExecStartPre=/usr/bin/umurmurd -t -c /etc/umurmur/umurmur.conf
+ExecStart=/usr/bin/umurmurd -d -r -p /run/umurmurd.pid -c /etc/umurmur/umurmur.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
diff --git a/media-sound/umurmur/umurmur-0.2.13-r1.ebuild b/media-sound/umurmur/umurmur-0.2.13-r1.ebuild
new file mode 100644
index 000000000000..560c453cb5f2
--- /dev/null
+++ b/media-sound/umurmur/umurmur-0.2.13-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/umurmur-0.2.13-r1.ebuild,v 1.1 2013/12/23 12:11:50 hasufell Exp $
+
+EAPI=5
+
+inherit systemd eutils readme.gentoo user
+
+DESCRIPTION="Minimalistic Murmur (Mumble server)"
+HOMEPAGE="http://code.google.com/p/umurmur/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/protobuf-c-0.14
+ dev-libs/libconfig
+ dev-libs/openssl:0"
+
+RDEPEND="${DEPEND}"
+
+DOC_CONTENTS="
+ A configuration file has been installed at /etc/umurmur.conf - you may
+ want to review it. See also\n
+ http://code.google.com/p/umurmur/wiki/Configuring02x
+"
+
+pkg_setup() {
+ enewgroup murmur
+ enewuser murmur "" "" "" murmur
+}
+
+src_configure() {
+ econf --with-ssl=openssl
+}
+
+src_install() {
+ local confdir
+
+ emake DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/umurmurd.initd umurmurd
+ newconfd "${FILESDIR}"/umurmurd.confd umurmurd
+ systemd_dounit "${FILESDIR}"/umurmurd.service
+
+ dodoc AUTHORS ChangeLog
+ newdoc README.md README
+
+ confdir="/etc/umurmur"
+ insinto "${confdir}"
+ doins "${FILESDIR}"/umurmur.conf
+
+ # Some permissions are adjusted as the config may contain a server
+ # password, and /etc/umurmur will typically contain the cert and the
+ # key used to sign it, which are read after priveleges are dropped.
+ fperms 0750 "${confdir}"
+ fowners -R root:murmur "${confdir}"
+ fperms 0640 "${confdir}"/umurmur.conf
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}