From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FF2A13835A for ; Fri, 26 Mar 2021 09:31:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 273EFE0829; Fri, 26 Mar 2021 09:31:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E77D5E0823 for ; Fri, 26 Mar 2021 09:31:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9DAF5340DF1 for ; Fri, 26 Mar 2021 09:31:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2026B4A8 for ; Fri, 26 Mar 2021 09:31:40 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1616751092.17b10ec0e830801e1db18a319ee8d19f2feb87d2.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/umurmur/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/umurmur/Manifest media-sound/umurmur/umurmur-0.2.20.ebuild X-VCS-Directories: media-sound/umurmur/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 17b10ec0e830801e1db18a319ee8d19f2feb87d2 X-VCS-Branch: master Date: Fri, 26 Mar 2021 09:31:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 27bbe2ad-c7a0-4009-97b5-2e16d0a76858 X-Archives-Hash: ab0f729c083c7ad5fdc7a3a13ca7cf4c commit: 17b10ec0e830801e1db18a319ee8d19f2feb87d2 Author: Lars Wendler gentoo org> AuthorDate: Fri Mar 26 09:29:38 2021 +0000 Commit: Lars Wendler gentoo org> CommitDate: Fri Mar 26 09:31:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b10ec0 media-sound/umurmur: Bump to version 0.2.20 Signed-off-by: Lars Wendler gentoo.org> media-sound/umurmur/Manifest | 1 + media-sound/umurmur/umurmur-0.2.20.ebuild | 110 ++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) diff --git a/media-sound/umurmur/Manifest b/media-sound/umurmur/Manifest index 022c1f5d819..3233b8a1981 100644 --- a/media-sound/umurmur/Manifest +++ b/media-sound/umurmur/Manifest @@ -1,3 +1,4 @@ DIST umurmur-0.2.17.tar.gz 93786 BLAKE2B 92fc7d63dc0eed228c3fbcb0d18861cd49967f44378d980e856f8fb24fe7abc3429a4ca8e811eda6096727b76780724c909c46c04975b5edef70d848b7511618 SHA512 a496a51fd7815ad117f5aee17bb78cbd319c584ad60ab8aebbfd8ddf7b1760f443f2337bc74be1e0d5af17d3c3df2ae6c9060eca576cf1e6ed4c6cb0825e9c15 DIST umurmur-0.2.18.tar.gz 93039 BLAKE2B 45a6e247dee604861e70698350b7b0ee28fd7ee82a94f684eae8ff5ab7daa0c3446b32c4aa28b39e64588944b8b81c4e2a11db79d0bde9e4a2012e67b4125be2 SHA512 bd1cd7149684dbe42b9804c9a5539cdb2becf6b721d74bd88d154e9037d3289ab57ee816c0592a0167ddd302da68d94017c86deb96348d272ec9bd21e9628656 DIST umurmur-0.2.19.tar.gz 93117 BLAKE2B 54d6fe6e67f51f24d6c9f0125fa330292004cd5df71791c40ece6aa7c2938bce98ca981e873a1e2b43598f99ea57c687963fd7cd8708400f5f2ce00ab11386eb SHA512 4a10c41d8396d6bd2b195578ff6a29e69a105f8830daf85141217f768cc2c4ea6204a2b3b65599d07d76c841090750db4ad6264c4e9d7e5afa7f1b4cf27bc768 +DIST umurmur-0.2.20.tar.gz 93152 BLAKE2B 7850d0f3a5c35db1f5ed2b2eea7725d288901eb7e49b9bf2f715963a102c6c6345ed90fd066d80a2666137918c73a58dd2c954321b69d0ce59f686e1c6d01e5a SHA512 0913f5ba84b30fec4ae6a1521c442ff8c48121bbbca5de9082e04e41b36434fadb5f81cb2ea0bd0a8c63f6e541d15eeda3637667d8cc7113d38935ded320cef4 diff --git a/media-sound/umurmur/umurmur-0.2.20.ebuild b/media-sound/umurmur/umurmur-0.2.20.ebuild new file mode 100644 index 00000000000..7b9bed7d269 --- /dev/null +++ b/media-sound/umurmur/umurmur-0.2.20.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd readme.gentoo-r1 + +DESCRIPTION="Minimalistic Murmur (Mumble server)" +HOMEPAGE="https://github.com/umurmur/umurmur" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/umurmur/umurmur.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi +LICENSE="BSD" +SLOT="0" +IUSE="gnutls libressl mbedtls shm" + +# ssl-provider precendence: gnutls, mbedtls and openssl if none specified +DEPEND=">=dev-libs/protobuf-c-1.0.0_rc2:= + dev-libs/libconfig:= + gnutls? ( + dev-libs/nettle:= + >=net-libs/gnutls-3.0.0:= + ) + !gnutls? ( + mbedtls? ( net-libs/mbedtls:= ) + !mbedtls? ( dev-libs/openssl:0= ) + ) +" + +RDEPEND="${DEPEND} + acct-group/murmur + acct-user/murmur +" + +DOC_CONTENTS=" + A configuration file has been installed at /etc/umurmur/umurmur.conf - you + may want to review it. See also\n + https://github.com/umurmur/umurmur/wiki/Configuration " + +S="${WORKDIR}/${P/_}" + +get_ssl_impl() { + local ssl_provider=() + + use gnutls && ssl_provider+=( gnutls ) + use mbedtls && ssl_provider+=( mbedtls ) + + if ! use gnutls && ! use mbedtls ; then + ssl_provider+=( openssl ) + fi + echo ${ssl_provider[@]} +} + +pkg_pretend() { + local ssl_provider=( $(get_ssl_impl) ) + + if [[ ${#ssl_provider[@]} -gt 1 ]] ; then + ewarn "More than one ssl provider selected (${ssl_provider[@]})" + ewarn "defaulting to ${ssl_provider[0]}." + fi +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local ssl_provider=( $(get_ssl_impl) ) + + local myeconfargs=( + --with-ssl="${ssl_provider[0]}" + $(use_enable shm shmapi) + ) + econf "${myeconfargs[@]}" +} + +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 +}