Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/umurmur: ChangeLog umurmur-0.2.13-r1.ebuild
Date: Mon, 23 Dec 2013 12:11:54
Message-Id: 20131223121150.39E582004C@flycatcher.gentoo.org
1 hasufell 13/12/23 12:11:50
2
3 Modified: ChangeLog
4 Added: umurmur-0.2.13-r1.ebuild
5 Log:
6 add systemd unit wrt #487940
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.9 media-sound/umurmur/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/umurmur/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/umurmur/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/umurmur/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 23 Nov 2013 06:54:54 -0000 1.8
24 +++ ChangeLog 23 Dec 2013 12:11:50 -0000 1.9
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-sound/umurmur
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v 1.8 2013/11/23 06:54:54 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/umurmur/ChangeLog,v 1.9 2013/12/23 12:11:50 hasufell Exp $
30 +
31 +*umurmur-0.2.13-r1 (23 Dec 2013)
32 +
33 + 23 Dec 2013; Julian Ospald <hasufell@g.o> +umurmur-0.2.13-r1.ebuild,
34 + +files/umurmurd.service:
35 + add systemd unit wrt #487940
36
37 23 Nov 2013; Patrick Lauer <patrick@g.o> metadata.xml:
38 Remove unneeded useflag description from metadata.xml
39
40
41
42 1.1 media-sound/umurmur/umurmur-0.2.13-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/umurmur/umurmur-0.2.13-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/umurmur/umurmur-0.2.13-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: umurmur-0.2.13-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 EAPI=5
54
55 inherit systemd eutils readme.gentoo user
56
57 DESCRIPTION="Minimalistic Murmur (Mumble server)"
58 HOMEPAGE="http://code.google.com/p/umurmur/"
59 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 DEPEND=">=dev-libs/protobuf-c-0.14
67 dev-libs/libconfig
68 dev-libs/openssl:0"
69
70 RDEPEND="${DEPEND}"
71
72 DOC_CONTENTS="
73 A configuration file has been installed at /etc/umurmur.conf - you may
74 want to review it. See also\n
75 http://code.google.com/p/umurmur/wiki/Configuring02x
76 "
77
78 pkg_setup() {
79 enewgroup murmur
80 enewuser murmur "" "" "" murmur
81 }
82
83 src_configure() {
84 econf --with-ssl=openssl
85 }
86
87 src_install() {
88 local confdir
89
90 emake DESTDIR="${D}" install
91
92 newinitd "${FILESDIR}"/umurmurd.initd umurmurd
93 newconfd "${FILESDIR}"/umurmurd.confd umurmurd
94 systemd_dounit "${FILESDIR}"/umurmurd.service
95
96 dodoc AUTHORS ChangeLog
97 newdoc README.md README
98
99 confdir="/etc/umurmur"
100 insinto "${confdir}"
101 doins "${FILESDIR}"/umurmur.conf
102
103 # Some permissions are adjusted as the config may contain a server
104 # password, and /etc/umurmur will typically contain the cert and the
105 # key used to sign it, which are read after priveleges are dropped.
106 fperms 0750 "${confdir}"
107 fowners -R root:murmur "${confdir}"
108 fperms 0640 "${confdir}"/umurmur.conf
109
110 readme.gentoo_create_doc
111 }
112
113 pkg_postinst() {
114 readme.gentoo_print_elog
115 }