public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: net-im/eturnal/
@ 2024-01-03 15:20 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-01-03 15:20 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:     David Roman <davidroman96 <AT> gmail <DOT> com>
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] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-im/eturnal/
@ 2024-01-09 18:05 Haelwenn Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Haelwenn Monnier @ 2024-01-09 18:05 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:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
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] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-im/eturnal/
@ 2025-01-08 13:20 David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2025-01-08 13:20 UTC (permalink / raw
  To: gentoo-commits

commit:     271a9589f0d87de953cf0b4432f3dfa1c4e35933
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jan  7 20:54:56 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jan  7 20:54:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=271a9589

net-im/eturnal: add 1.12.1

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

 net-im/eturnal/Manifest              |  1 +
 net-im/eturnal/eturnal-1.12.1.ebuild | 64 ++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-im/eturnal/Manifest b/net-im/eturnal/Manifest
index f63060abd..24d95afe2 100644
--- a/net-im/eturnal/Manifest
+++ b/net-im/eturnal/Manifest
@@ -1 +1,2 @@
 DIST eturnal-1.12.0.tar.gz 919050 BLAKE2B 76c7f0709f82231cff47609e234e2555d68f86df8efa6117351cea8e632b91d023bf22542953a083b0172f9b55f0b1a24dd4abee94cbfde8b86ff4e76b233b82 SHA512 b990fd010d26dc29ab69124dd6db354ab018c1b8882ef7f82631c06234b79027ba838a746d6c606a9f6678feffb6bcaa2b879270c3abe407ef509a5f50367774
+DIST eturnal-1.12.1.tar.gz 965160 BLAKE2B 7a908b52beda6a9acda92fec21ff5583e8bbd657b47ebac23ed1f589e576f19708a4c17261a1500b88a3d6f0f5a2c9163713485e83848639c6cc635f60e941cc SHA512 ffd8e9376944babd4a3afade3cc0421ad146f8ec24e04f0b59964e3f1d6f8b05951e7d59bab5ac940e5b9e818450346cad1f42c9c0d30b76ec4c5e1590c885eb

diff --git a/net-im/eturnal/eturnal-1.12.1.ebuild b/net-im/eturnal/eturnal-1.12.1.ebuild
new file mode 100644
index 000000000..4556b0013
--- /dev/null
+++ b/net-im/eturnal/eturnal-1.12.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2024-2025 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="
+	acct-user/eturnal
+	>=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}"
+
+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 "${FILESDIR}"/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
+}


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

end of thread, other threads:[~2025-01-08 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08 13:20 [gentoo-commits] repo/proj/guru:master commit in: net-im/eturnal/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-01-09 18:05 Haelwenn Monnier
2024-01-03 15:20 David Roman

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