public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/derper/
Date: Sun, 28 Sep 2025 00:58:09 +0000 (UTC)	[thread overview]
Message-ID: <1759021034.6f35b94a6dbeecef35216c0f84f49e72e1e9db8a.dlan@gentoo> (raw)

commit:     6f35b94a6dbeecef35216c0f84f49e72e1e9db8a
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 28 00:55:53 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Sep 28 00:57:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f35b94a

net-vpn/derper: add 1.86.5

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 net-vpn/derper/Manifest             |  2 ++
 net-vpn/derper/derper-1.86.5.ebuild | 64 +++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/net-vpn/derper/Manifest b/net-vpn/derper/Manifest
index 74c4c21c08a2..2319ce59bcb3 100644
--- a/net-vpn/derper/Manifest
+++ b/net-vpn/derper/Manifest
@@ -2,3 +2,5 @@ DIST tailscale-1.82.5-deps.tar.xz 265161016 BLAKE2B eb50d34ecda207f623efe213c81f
 DIST tailscale-1.82.5.tar.gz 3793962 BLAKE2B 49ea1f878ce2ff6198d6ced1e4f49e557e7b1b9e2a2dd65079d5343aa46e57eee23b9d24561771c06af28d28cde4139d445e05e5d5c24f715ffc54b07c905050 SHA512 bed02f09c4905cba13fd3de3d45e027511420d76ece211312e153b6e50d8a10d2fb968a09ec1121f2150d414a74ca128430740173c16c0bef2696d141496849a
 DIST tailscale-1.84.3-deps.tar.xz 265133640 BLAKE2B 4c041513f2c9c86f58e1ec449a67eaed6bff1cba0ee5d615eae45a65b751caf5c0a65843d6547d62c34b7bd766d871db78e9eb688159e6324ec93783f073fec1 SHA512 cc61248ebd49cba634bde39278f4eb9574d2e958a6751b0b956cb4f453cb2506895f3b9f70c6795f1aaf13401794edd1800611b7487de9f5dd219c7992b4adac
 DIST tailscale-1.84.3.tar.gz 3963497 BLAKE2B 2dadfffa203883a0aaa7e0148d9925be93954eda8bb0638224cefe4bf24a50112ee08fd71e5d0d5caf19bd2fe963e8bb796a3033796e576b63a954a6ae26f057 SHA512 23e185ae2b7ced0d93632b891f3150d31a5b053d69a30c8cdc361fc9fab0d4bab54b730caa4cdd04cd5d82fef48a46ee509a1b4b590e6beae29ab1da6660cbc0
+DIST tailscale-1.86.5-deps.tar.xz 264951596 BLAKE2B 23e02afb1602b988bc3258c740f5740a0f97124e58e307ba9936f7e2b56c86f88860ea08bbf3211b518b85bac06014b9b365f9dd0beff9d2932e7611c25f13cb SHA512 1b2407b5830a768da4a1c4cb330b31edd236798cdcd2a66b786e7efdf844caa875c6cb859f80fa641cf0f03fea3528826f08ce21ea3d9c9c3ee5db1bea58b34a
+DIST tailscale-1.86.5.tar.gz 4143149 BLAKE2B 16b961f04397544102b71a7cb11596d2b6770c6fd88e11252018a2d7160b22585b50fa878b6a9923779ce8bff92e315b33553289d3648cbeb0a8ae017aeeb0b4 SHA512 aece289dd7c0ac1ddc866dcb08234bddbe0611bf7e539cfdd2244d4ac87e8f578462b3765bae8c48025eaef0b880b204e5bcced1db20166af0dc50b836eacf08

diff --git a/net-vpn/derper/derper-1.86.5.ebuild b/net-vpn/derper/derper-1.86.5.ebuild
new file mode 100644
index 000000000000..8526515e4140
--- /dev/null
+++ b/net-vpn/derper/derper-1.86.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module linux-info systemd
+
+# share same source with net-vpn/tailscale
+VERSION_MINOR="86"
+VERSION_SHORT="1.86.5"
+VERSION_LONG="1.86.5-tdb392aed3"
+VERSION_GIT_HASH="db392aed39630023f969e1961fcbced785d09358"
+
+MY_P="tailscale-${PV}"
+DESCRIPTION="DERP server for tailscale network"
+HOMEPAGE="https://tailscale.com"
+SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${MY_P}-deps.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+CONFIG_CHECK="~TUN"
+
+BDEPEND="
+	acct-group/derper
+	acct-user/derper
+	>=dev-lang/go-1.24
+"
+
+RESTRICT="test"
+
+# This translates the build command from upstream's build_dist.sh to an
+# ebuild equivalent.
+build_dist() {
+	ego build -tags xversion -ldflags "
+		-X tailscale.com/version.longStamp=${VERSION_LONG}
+		-X tailscale.com/version.shortStamp=${VERSION_SHORT}
+		-X tailscale.com/version.gitCommitStamp=${VERSION_GIT_HASH}" "$@"
+}
+
+src_compile() {
+	build_dist ./cmd/derper
+	build_dist ./cmd/derpprobe
+}
+
+src_install() {
+	dobin derper
+	dobin derpprobe
+
+	insinto /etc/default
+	newins "${FILESDIR}"/derper.defaults derper
+	systemd_dounit "${FILESDIR}"/derper.service
+	systemd_install_serviced "${FILESDIR}"/derper.service.conf derper
+
+	newinitd "${FILESDIR}"/derper.initd derper
+
+	keepdir /var/lib/${PN}
+	fperms 0750 /var/lib/${PN}
+
+	exeinto /usr/libexec
+	doexe "${FILESDIR}"/derper-pre.sh
+}


             reply	other threads:[~2025-09-28  0:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-28  0:58 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-28  0:58 [gentoo-commits] repo/gentoo:master commit in: net-vpn/derper/ Yixun Lan
2025-07-27 12:00 Yixun Lan
2025-06-17  7:30 Yixun Lan
2025-05-09 12:03 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1759021034.6f35b94a6dbeecef35216c0f84f49e72e1e9db8a.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox