From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/zerotier/
Date: Sat, 6 Feb 2021 15:32:53 +0000 (UTC) [thread overview]
Message-ID: <1612625567.f8824d64ccce8ccceef8aa0bfb95392b112b7840.polynomial-c@gentoo> (raw)
commit: f8824d64ccce8ccceef8aa0bfb95392b112b7840
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 6 15:32:47 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Feb 6 15:32:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8824d64
net-misc/zerotier: Bump to version 1.6.3
Closes: https://bugs.gentoo.org/768963
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-misc/zerotier/Manifest | 1 +
net-misc/zerotier/zerotier-1.6.3.ebuild | 80 +++++++++++++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/net-misc/zerotier/Manifest b/net-misc/zerotier/Manifest
index 3708673b292..45b12a75a32 100644
--- a/net-misc/zerotier/Manifest
+++ b/net-misc/zerotier/Manifest
@@ -1,2 +1,3 @@
DIST zerotier-1.4.6.tar.gz 13055818 BLAKE2B 46003d9c3ad09e30dbefaa441422ed4570bdbdfb99f2f24fb82246f9e970501d38d96c19dc9771a1d0d30bc49bd8be2b79ebd2e5c8bd85e88b738b29f0a1dcc3 SHA512 72f00602f67190d03ac0c8caa6b79e7f346b10745bdf772c68f77a3a940cdd718d05ec642bc862a6235aab9bd3bfefb0c57571f358ae55f38761f45500f0f189
DIST zerotier-1.6.2.tar.gz 16020599 BLAKE2B 91da6c85f8d3dfd993a9aea9cd2a8b33e560d5475413fde8bef0a69df7d89503a66b1967ac336bd2213f6ffc35e452f665d37ceb8d9ae53cf5e5d4d352775e74 SHA512 8abb31ba8aed4c187a4e88ffe6f536ed7d0fe2421f89ae706eef620cc9508372a089ce9e9579df372e21b6dab271bea91e2d12b424dd85ece8c19885a6caa643
+DIST zerotier-1.6.3.tar.gz 16020606 BLAKE2B d958ac3276b34b0b99dcce7178ca08a7ac398831172103bb26ddb32814f9043103c9cde6e55853a20d090c1b239746c65cd70de3b9e498dc174baaf6ca403a66 SHA512 56052a9cd50f2a754ba8979fec9b7ba6caf54d83582428b1b43d8b54e5caf388adccbb955fcb9c3fd5b3d7ebde7663023ca4a9a3805b877c3063fa72e23cbed0
diff --git a/net-misc/zerotier/zerotier-1.6.3.ebuild b/net-misc/zerotier/zerotier-1.6.3.ebuild
new file mode 100644
index 00000000000..fdfc4d61007
--- /dev/null
+++ b/net-misc/zerotier/zerotier-1.6.3.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic llvm systemd toolchain-funcs
+
+HOMEPAGE="https://www.zerotier.com/"
+DESCRIPTION="A software-based managed Ethernet switch for planet Earth"
+SRC_URI="https://github.com/zerotier/ZeroTierOne/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="clang neon"
+
+S="${WORKDIR}/ZeroTierOne-${PV}"
+
+RDEPEND="
+ dev-libs/json-glib
+ net-libs/libnatpmp
+ net-libs/miniupnpc:=
+ clang? ( >=sys-devel/clang-6:* )"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.6-respect-ldflags.patch"
+ "${FILESDIR}/${PN}-1.4.6-add-armv7a-support.patch"
+)
+
+DOCS=( README.md AUTHORS.md )
+
+LLVM_MAX_SLOT=11
+
+llvm_check_deps() {
+ if use clang ; then
+ if ! has_version --host-root "sys-devel/clang:${LLVM_SLOT}" ; then
+ ewarn "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..."
+ return 1
+ fi
+
+ if ! has_version --host-root "=sys-devel/lld-${LLVM_SLOT}*" ; then
+ ewarn "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..."
+ return 1
+ fi
+
+ einfo "Will use LLVM slot ${LLVM_SLOT}!"
+ fi
+}
+
+pkg_setup() {
+ if use clang && ! tc-is-clang ; then
+ export CC=${CHOST}-clang
+ export CXX=${CHOST}-clang++
+ else
+ tc-export CXX CC
+ fi
+ use neon || export ZT_DISABLE_NEON=1
+}
+
+src_compile() {
+ append-ldflags -Wl,-z,noexecstack
+ emake CXX="${CXX}" STRIP=: one
+}
+
+src_test() {
+ emake selftest
+ ./zerotier-selftest || die
+}
+
+src_install() {
+ default
+ # remove pre-zipped man pages
+ rm "${ED}"/usr/share/man/{man1,man8}/* || die
+
+ newinitd "${FILESDIR}/${PN}".init-r1 "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}".service
+ doman doc/zerotier-{cli.1,idtool.1,one.8}
+}
next reply other threads:[~2021-02-06 15:32 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-06 15:32 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-20 9:14 [gentoo-commits] repo/gentoo:master commit in: net-misc/zerotier/ Yixun Lan
2025-03-28 13:03 Yixun Lan
2025-03-16 15:05 Sam James
2024-11-09 7:54 Sam James
2024-10-31 9:28 Yixun Lan
2024-10-31 9:28 Yixun Lan
2024-09-13 7:51 Yixun Lan
2024-08-12 8:56 Yixun Lan
2024-05-22 3:06 Yixun Lan
2023-11-13 23:34 Yixun Lan
2023-10-28 0:24 Sam James
2023-08-11 9:42 Ulrich Müller
2023-07-27 9:08 Sam James
2022-08-26 6:29 Yixun Lan
2021-04-12 19:27 Lars Wendler
2021-04-12 18:12 Lars Wendler
2021-04-12 16:55 Lars Wendler
2021-04-12 16:41 Lars Wendler
2021-01-25 20:21 Lars Wendler
2020-02-26 18:25 Andreas Sturmlechner
2020-02-26 16:17 Joonas Niilola
2019-04-21 3:26 Anthony G. Basile
2018-12-09 0:02 Anthony G. Basile
2018-10-15 20:00 Virgil Dupras
2018-10-15 20:00 Virgil Dupras
2018-09-25 12:00 Jeroen Roovers
2018-05-16 7:26 Michał Górny
2018-02-12 8:14 Patrice Clement
2018-02-07 9:29 Michał Górny
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=1612625567.f8824d64ccce8ccceef8aa0bfb95392b112b7840.polynomial-c@gentoo \
--to=polynomial-c@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