public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: net-im/eturnal/
@ 2024-01-01 21:27 Anna Vyalkova
  0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2024-01-01 21:27 UTC (permalink / raw
  To: gentoo-commits

commit:     4191fce4033e78123f956115f857f94f63ab7550
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jan  1 17:50:29 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jan  1 21:27:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4191fce4

net-im/eturnal: new package, add 1.12.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-im/eturnal/Manifest              |  1 +
 net-im/eturnal/eturnal-1.12.0.ebuild | 66 ++++++++++++++++++++++++++++++++++++
 net-im/eturnal/metadata.xml          | 13 +++++++
 3 files changed, 80 insertions(+)

diff --git a/net-im/eturnal/Manifest b/net-im/eturnal/Manifest
new file mode 100644
index 0000000000..f63060abde
--- /dev/null
+++ b/net-im/eturnal/Manifest
@@ -0,0 +1 @@
+DIST eturnal-1.12.0.tar.gz 919050 BLAKE2B 76c7f0709f82231cff47609e234e2555d68f86df8efa6117351cea8e632b91d023bf22542953a083b0172f9b55f0b1a24dd4abee94cbfde8b86ff4e76b233b82 SHA512 b990fd010d26dc29ab69124dd6db354ab018c1b8882ef7f82631c06234b79027ba838a746d6c606a9f6678feffb6bcaa2b879270c3abe407ef509a5f50367774

diff --git a/net-im/eturnal/eturnal-1.12.0.ebuild b/net-im/eturnal/eturnal-1.12.0.ebuild
new file mode 100644
index 0000000000..ec8200c41c
--- /dev/null
+++ b/net-im/eturnal/eturnal-1.12.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rebar3 systemd
+
+DESCRIPTION="STUN/TURN server"
+HOMEPAGE="
+	https://eturnal.net/
+	https://github.com/processone/eturnal
+"
+SRC_URI="https://eturnal.net/download/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+	>=dev-lang/erlang-21[ssl]
+	dev-libs/libyaml
+	dev-libs/openssl:=
+	>=dev-erlang/conf-0.1
+	dev-erlang/fast_tls
+	dev-erlang/fast_yaml
+	dev-erlang/p1_utils
+	>=dev-erlang/stun-1.2
+	dev-erlang/yval
+"
+RDEPEND="${DEPEND}
+	acct-user/eturnal
+"
+
+DOCS=( {CHANGELOG,README}.md doc/. )
+
+REBAR_PROFILE=distro
+
+src_configure() {
+	export ETURNAL_USER=eturnal
+	export ETURNAL_PREFIX="${EPREFIX}"/opt/eturnal
+	export ETURNAL_ETC_DIR="${EPREFIX}"/etc
+	export ERL_EPMD_ADDRESS=""
+	export CODE_LOADING=dynamic
+
+	export SKIP_DEPS=true
+
+	rebar3_src_configure
+}
+
+rebar3_install_release() {
+	mkdir -p "${ED}"/opt/eturnal || die
+	cp -pR bin lib releases "${ED}"/opt/eturnal/ || die
+
+	systemd_dounit etc/systemd/system/eturnal.service
+	newinitd etc/openrc/eturnal.initd eturnal
+	newconfd etc/openrc/eturnal.confd eturnal
+
+	insinto /etc
+	doins etc/eturnal.yml
+	doins -r etc/logrotate.d
+
+	keepdir /opt/eturnal/{log,run}
+	fowners eturnal:turnserver /opt/eturnal/{log,run}
+
+	dosym -r /opt/eturnal/bin/eturnalctl /usr/sbin/eturnalctl
+}

diff --git a/net-im/eturnal/metadata.xml b/net-im/eturnal/metadata.xml
new file mode 100644
index 0000000000..e9e540aab7
--- /dev/null
+++ b/net-im/eturnal/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+		<maintainer type="person">
+				<email>cyber+gentoo@sysrq.in</email>
+				<name>Anna</name>
+		</maintainer>
+		<upstream>
+				<remote-id type="github">processone/eturnal</remote-id>
+				<bugs-to>https://github.com/processone/eturnal/issues</bugs-to>
+				<doc>https://eturnal.net/doc/</doc>
+		</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: net-im/eturnal/
@ 2024-01-09 17:25 Anna Vyalkova
  0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2024-01-09 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     0c883374d321e625eb9bc98a3d83e2ef4ae92740
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jan  9 17:24:00 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Jan  9 17:24:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c883374

net-im/eturnal: add acct-user/eturnal to depend

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-im/eturnal/eturnal-1.12.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/net-im/eturnal/eturnal-1.12.0.ebuild b/net-im/eturnal/eturnal-1.12.0.ebuild
index ec8200c41c..15affd64f8 100644
--- a/net-im/eturnal/eturnal-1.12.0.ebuild
+++ b/net-im/eturnal/eturnal-1.12.0.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 DEPEND="
+	acct-user/eturnal
 	>=dev-lang/erlang-21[ssl]
 	dev-libs/libyaml
 	dev-libs/openssl:=
@@ -27,9 +28,7 @@ DEPEND="
 	>=dev-erlang/stun-1.2
 	dev-erlang/yval
 "
-RDEPEND="${DEPEND}
-	acct-user/eturnal
-"
+RDEPEND="${DEPEND}"
 
 DOCS=( {CHANGELOG,README}.md doc/. )
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-09 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 17:25 [gentoo-commits] repo/proj/guru:dev commit in: net-im/eturnal/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2024-01-01 21:27 Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox