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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9240315807B for ; Thu, 31 Oct 2024 15:26:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A70E08A6; Thu, 31 Oct 2024 15:26:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22173E08A4 for ; Thu, 31 Oct 2024 15:26:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3AB0F342FF9 for ; Thu, 31 Oct 2024 15:26:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDAF811DF for ; Thu, 31 Oct 2024 15:26:15 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1730388315.f119717434590921f9bc01419cda1b34def2c72b.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/coturn/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/coturn/coturn-9999.ebuild X-VCS-Directories: net-im/coturn/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: f119717434590921f9bc01419cda1b34def2c72b X-VCS-Branch: master Date: Thu, 31 Oct 2024 15:26:15 +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: b6f534a1-c3a9-45ec-89bb-8f442ebc7286 X-Archives-Hash: 10d0f262fb9801ed86838f304b967cc1 commit: f119717434590921f9bc01419cda1b34def2c72b Author: Petr Vaněk gentoo org> AuthorDate: Thu Oct 31 15:02:56 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Thu Oct 31 15:25:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1197174 net-im/coturn: sync live Signed-off-by: Petr Vaněk gentoo.org> net-im/coturn/coturn-9999.ebuild | 50 +++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/net-im/coturn/coturn-9999.ebuild b/net-im/coturn/coturn-9999.ebuild index 8c10c10306aa..0f909893645e 100644 --- a/net-im/coturn/coturn-9999.ebuild +++ b/net-im/coturn/coturn-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs systemd tmpfiles @@ -11,47 +11,47 @@ HOMEPAGE="https://github.com/coturn/coturn" if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/coturn/coturn.git" inherit git-r3 - #S="${WORKDIR}/${PN}-master" else SRC_URI="https://github.com/coturn/coturn/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" fi LICENSE="BSD" SLOT="0" IUSE="mongodb mysql postgres redis sqlite" -RDEPEND=" - acct-group/turnserver - acct-user/turnserver - >dev-libs/libevent-2.1.8:= +DEPEND=" + >dev-libs/libevent-2.1.8:=[ssl] dev-libs/openssl:= - mongodb? ( dev-libs/mongo-c-driver ) - mysql? ( dev-db/mysql-connector-c:= ) + mongodb? ( + dev-libs/libbson + dev-libs/mongo-c-driver + ) + mysql? ( dev-db/mysql-connector-c:= ) postgres? ( dev-db/postgresql:* ) redis? ( dev-libs/hiredis:= ) - sqlite? ( dev-db/sqlite ) + sqlite? ( dev-db/sqlite:3 ) +" +RDEPEND=" + ${DEPEND} + acct-group/turnserver + acct-user/turnserver " -DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-4.5.2-respect-TMPDIR.patch - "${FILESDIR}"/${P}-openssl3.patch ) src_configure() { - if [[ -n "${AR}" ]]; then - sed 's:ARCHIVERCMD="ar -r":ARCHIVERCMD="${AR} -r":g' -i "${S}/configure" - fi + sed -e '/MANPREFIX/s:/man/:/:' \ + -e '/INSTALL_DIR} examples\/script/a \ \${INSTALL_DIR} examples\/ca \${DESTDIR}${EXAMPLESDIR}' \ + -e '/INSTALL_STATIC_LIB/d' \ + -i "Makefile.in" || die "sed for Makefile.in failed" - sed 's:MANPREFIX}/man/:MANPREFIX}/:g' -i "${S}/Makefile.in" || die "sed for mandir failed" - sed 's:#log-file=/var/tmp/turn.log:log-file=/var/log/turnserver.log:' \ - -i "${S}/examples/etc/turnserver.conf" || die "sed for logdir failed" - sed 's:#simple-log:simple-log:' -i "${S}/examples/etc/turnserver.conf" \ - || die "sed for simple-log failed" - sed '/INSTALL_DIR} examples\/script/a \ \${INSTALL_DIR} examples\/ca \${DESTDIR}${EXAMPLESDIR}' \ - -i "${S}/Makefile.in" || die "sed for example ca failed" + sed -e 's:#log-file=/var/tmp/turn.log:log-file=/var/log/turnserver.log:' \ + -e 's:#simple-log:simple-log:' \ + -i "examples/etc/turnserver.conf" || die "sed for turnserve.conf failed" if ! use mongodb; then export TURN_NO_MONGO=yes @@ -73,7 +73,7 @@ src_configure() { export ARCHIVERCMD="$(tc-getAR) -r" export PKGCONFIG="$(tc-getPKG_CONFIG)" - export DOCSDIR="/usr/share/doc/${PN}-${PV}" + export DOCSDIR="/usr/share/doc/${PF}" econf $(use_with sqlite) } @@ -81,6 +81,8 @@ src_configure() { src_install() { default + keepdir /var/lib/db + newinitd "${FILESDIR}/turnserver.init" turnserver insinto /etc/logrotate.d