-DIST umurmur-0.2.16a.tar.gz 91187 BLAKE2B ba306dfa4c6fa958735ab02bd262729d582acdd5f33e642066712c2188549b8675f1b9305642af198c608108e5277820d6aac2c09470cce0d5e9e3f272b11c2f SHA512 432a85e93cb7d53c505caf8b97c1bb7c173c8f625127510de61cc0a1e3abaea9abcf96ab1c0a8c5039ba82af5d29710e4973f70c1438bfd44ba00fa0c3f64c9e
DIST umurmur-0.2.17.tar.gz 93786 BLAKE2B 92fc7d63dc0eed228c3fbcb0d18861cd49967f44378d980e856f8fb24fe7abc3429a4ca8e811eda6096727b76780724c909c46c04975b5edef70d848b7511618 SHA512 a496a51fd7815ad117f5aee17bb78cbd319c584ad60ab8aebbfd8ddf7b1760f443f2337bc74be1e0d5af17d3c3df2ae6c9060eca576cf1e6ed4c6cb0825e9c15
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools systemd eutils readme.gentoo-r1 user
-
-DESCRIPTION="Minimalistic Murmur (Mumble server)"
-HOMEPAGE="https://github.com/umurmur/umurmur"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="gnutls libressl shm"
-
-# ssl-provider precendence: gnutls, libressl
-# and openssl if none specified
-DEPEND=">=dev-libs/protobuf-c-1.0.0_rc2
- dev-libs/libconfig
- gnutls? ( >=net-libs/gnutls-3.0.0 )
- libressl? ( !gnutls? ( dev-libs/libressl ) )
- !gnutls? ( !libressl? ( dev-libs/openssl:0= ) )"
-
-RDEPEND="${DEPEND}"
-
-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 "
-
-pkg_pretend() {
- local ssl_provider=( )
- use gnutls && ssl_provider+=( gnutls )
- use libressl && ssl_provider+=( libressl )
-
- if [[ ${#ssl_provider[@]} -gt 1 ]] ; then
- ewarn "More than one ssl provider selected (${ssl_provider[@]})"
- ewarn "defaulting to ${ssl_provider[0]}."
- fi
-}
-
-pkg_setup() {
- enewgroup murmur
- enewuser murmur "" "" "" murmur
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- econf \
- --with-ssl=$(usev gnutls || echo openssl) \
- $(use_enable shm shmapi)
-}
-
-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
-}
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools systemd eutils readme.gentoo-r1 user
-
-DESCRIPTION="Minimalistic Murmur (Mumble server)"
-HOMEPAGE="https://github.com/umurmur/umurmur"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="gnutls libressl shm"
-
-# ssl-provider precendence: gnutls, libressl
-# and openssl if none specified
-DEPEND=">=dev-libs/protobuf-c-1.0.0_rc2
- dev-libs/libconfig
- gnutls? ( >=net-libs/gnutls-3.0.0 )
- libressl? ( !gnutls? ( dev-libs/libressl ) )
- !gnutls? ( !libressl? ( dev-libs/openssl:0= ) )"
-
-RDEPEND="${DEPEND}"
-
-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/_}"
-
-pkg_pretend() {
- local ssl_provider=( )
- use gnutls && ssl_provider+=( gnutls )
- use libressl && ssl_provider+=( libressl )
-
- if [[ ${#ssl_provider[@]} -gt 1 ]] ; then
- ewarn "More than one ssl provider selected (${ssl_provider[@]})"
- ewarn "defaulting to ${ssl_provider[0]}."
- fi
-}
-
-pkg_setup() {
- enewgroup murmur
- enewuser murmur "" "" "" murmur
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myconf
-
- econf \
- --with-ssl=$(usev gnutls || echo openssl) \
- $(use_enable shm shmapi)
-}
-
-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
-}
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools systemd readme.gentoo-r1 user
-
-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, libressl
-# 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? (
- libressl? ( dev-libs/libressl:0= )
- !libressl? ( dev-libs/openssl:0= )
- )
- )
-"
-
-RDEPEND="${DEPEND}"
-
-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 )
- use libressl && ssl_provider+=( libressl )
-
- if ! use gnutls && ! use mbedtls && ! use libressl ; 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
-}
-
-pkg_setup() {
- enewgroup murmur
- enewuser murmur "" "" "" murmur
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local ssl_provider=( $(sed 's@libressl@openssl@' <<< $(get_ssl_impl)) )
-
- local myeconfargs=(
- --with-ssl="${ssl_provider[@]}"
- $(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
-}