summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlramage94 <ramage.lucas@openmailbox.org>2018-05-09 02:08:45 +0000
committerMichał Górny <mgorny@gentoo.org>2018-05-16 09:26:17 +0200
commit665b515a32ba896e74be89ae2ca7c2e7ab627f2c (patch)
tree74b8736a1b11fde32618b0bcefdcc2a84ee30a09 /net-misc/zerotier
parentdev-python/libcloud: add new version 2.3.0 (diff)
downloadgentoo-665b515a32ba896e74be89ae2ca7c2e7ab627f2c.tar.gz
gentoo-665b515a32ba896e74be89ae2ca7c2e7ab627f2c.tar.bz2
gentoo-665b515a32ba896e74be89ae2ca7c2e7ab627f2c.zip
net-misc/zerotier: bump version to 1.2.8
Closes: https://github.com/gentoo/gentoo/pull/8311 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-misc/zerotier')
-rw-r--r--net-misc/zerotier/Manifest1
-rw-r--r--net-misc/zerotier/metadata.xml1
-rw-r--r--net-misc/zerotier/zerotier-1.2.8.ebuild44
3 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/zerotier/Manifest b/net-misc/zerotier/Manifest
index 7a51cf8da726..74639c849a96 100644
--- a/net-misc/zerotier/Manifest
+++ b/net-misc/zerotier/Manifest
@@ -1 +1,2 @@
DIST zerotier-1.2.4.tar.gz 7963254 BLAKE2B 0c79533429e7aab8dc0a93d46ace132b168b6d83276e72cd66c72660d4e44a5336a91c011404690301de0b5ef4b45f857b340f38cd195d6479b480d3a62b7abf SHA512 82adb110208d24ae2745e3839810afcac87955de050ebfe0517a7dc2a875881dafd40c1b16a041742d8c4d0f6513abcc71d6ea3e06c2fb89b47be2630a500363
+DIST zerotier-1.2.8.tar.gz 6009764 BLAKE2B 740b58888f6ce2808608867618df517996d423c61d2ab71f387405bb2528ac5edc6a890b9a7249eebe5d62be58e237362692c13725f0c5313b45102f5fc4824a SHA512 a97a8ff0e5050294fd8d56e74b5dd320b77822242ed4d43919c62a361ccbe1837417cba07d4114c91e277816f60bf47d226f37f816278bfd96505b752ef5d5ff
diff --git a/net-misc/zerotier/metadata.xml b/net-misc/zerotier/metadata.xml
index a4b0e41d3e76..9ba830b73cc2 100644
--- a/net-misc/zerotier/metadata.xml
+++ b/net-misc/zerotier/metadata.xml
@@ -10,6 +10,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
+ <changelog>https://github.com/zerotier/ZeroTierOne/raw/master/RELEASE-NOTES.md</changelog>
<remote-id type="github">zerotier/ZeroTierOne</remote-id>
</upstream>
</pkgmetadata>
diff --git a/net-misc/zerotier/zerotier-1.2.8.ebuild b/net-misc/zerotier/zerotier-1.2.8.ebuild
new file mode 100644
index 000000000000..7d2f788b42ec
--- /dev/null
+++ b/net-misc/zerotier/zerotier-1.2.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic 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="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/ZeroTierOne-${PV}"
+
+RDEPEND="
+ dev-libs/json-glib:=
+ net-libs/http-parser:=
+ net-libs/libnatpmp:=
+ net-libs/miniupnpc:="
+
+DEPEND="${RDEPEND}"
+
+DOCS=( README.md AUTHORS.md )
+
+src_compile() {
+ append-ldflags -Wl,-z,noexecstack
+ emake CXX="$(tc-getCXX)" STRIP=: one
+}
+
+src_test() {
+ emake selftest
+ ./zerotier-selftest || die
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}/${PN}".init "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}".service
+ doman doc/zerotier-{cli.1,idtool.1,one.8}
+}