From 8aebb228036d5e2863b7eaa6e319ab41c1669269 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 16 Apr 2018 16:47:37 +0100 Subject: gentoo resync : 16.04.2018 --- net-misc/zerotier/Manifest | 1 + net-misc/zerotier/zerotier-1.2.4-r1.ebuild | 42 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 net-misc/zerotier/zerotier-1.2.4-r1.ebuild (limited to 'net-misc/zerotier') diff --git a/net-misc/zerotier/Manifest b/net-misc/zerotier/Manifest index 87893e087891..8d1bc62abd71 100644 --- a/net-misc/zerotier/Manifest +++ b/net-misc/zerotier/Manifest @@ -1,5 +1,6 @@ AUX zerotier.init 437 BLAKE2B a43cc014d5ad311d14b13324e118c73c694623621c252ad6957af53064ccb53cda7c028cf2348e6999508262e86576fdd5c02feba81af6e1a9a88653bbd7a0e7 SHA512 938dcdf16228ca62a14c18658d746054590104dc50028d5dc4d56dba139dfc894d88d567e918533820df81723d56411cc046050b4b7c0e11e1128bef599fb12a AUX zerotier.service 179 BLAKE2B 8c27616a5092084a2450f08e5046528ce25f7697fca914436d9dddd003538e4d9bcfb50126e522936cf997d5f225f32751f59229d28cd6e85778b6b1bed8edb2 SHA512 80b685e2e6e851af924c1f84970be761e15086f52280819d75279b947f0e2a11f890035570b85becef85f208ef8f7952323f85fb811984701ff9f39e37d6c701 DIST zerotier-1.2.4.tar.gz 7963254 BLAKE2B 0c79533429e7aab8dc0a93d46ace132b168b6d83276e72cd66c72660d4e44a5336a91c011404690301de0b5ef4b45f857b340f38cd195d6479b480d3a62b7abf SHA512 82adb110208d24ae2745e3839810afcac87955de050ebfe0517a7dc2a875881dafd40c1b16a041742d8c4d0f6513abcc71d6ea3e06c2fb89b47be2630a500363 +EBUILD zerotier-1.2.4-r1.ebuild 900 BLAKE2B 78b4d45a2dbe5577f63193199125fa70298cf498300611f429771767fe165df4ac44a783104e3003628ecf1fa97c9b0de132fc021c759caed25be5ab93fb78b1 SHA512 3311a4b3431450384e08910fac3838b1221c1f6e46debb967e6d98b775aa433de588b6fbd03ca5cb0ae4c8ae28780344806891e5b421f5a90426045189b39434 EBUILD zerotier-1.2.4.ebuild 910 BLAKE2B 1702a5bdbc81996fbc8503b88cc2149793d8391d80e736e57b6ded5556f0fd6f2d3a90c6d4105e453e4395de9b6cdd2fed835e99bb66361549ff89a82e7bd5c4 SHA512 0b0e295145b5c3b149a41a3645f080e644ca336e151a0dd7c7f6be4c8bfb508414616415b1c95e1f8f4dd34a00cec87ecec6cb67ad1a1642d833e6531a472d67 MISC metadata.xml 458 BLAKE2B b1d56145169a0127e486422114e0ebbd25097b5f3bc31df609addf4e23229ba3b99b2e5b5bd2b092d45b7bcfae9a30bae29b521441f7732758a4d1f484e9df30 SHA512 3f947bfba0281756bd4b8eb0b91af7cdc263b9dcc2b13c4a186897e7789424c088e9317c58ef35be2ba55880030cf81b11dc0f4d3e4dbf19cd275e139c2d7d73 diff --git a/net-misc/zerotier/zerotier-1.2.4-r1.ebuild b/net-misc/zerotier/zerotier-1.2.4-r1.ebuild new file mode 100644 index 000000000000..bd328bd24296 --- /dev/null +++ b/net-misc/zerotier/zerotier-1.2.4-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs systemd + +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=" + net-libs/miniupnpc + net-libs/libnatpmp + dev-libs/json-glib + net-libs/http-parser" + +DEPEND="${RDEPEND} + >=sys-devel/gcc-4.9.3" + +QA_PRESTRIPPED="/usr/sbin/zerotier-one" + +DOCS=( README.md AUTHORS.md ) + +src_compile() { + append-ldflags -Wl,-z,noexecstack + emake CXX="$(tc-getCXX)" one +} + +src_install() { + default + + newinitd "${FILESDIR}/${PN}.init" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + doman "${S}/doc/zerotier-"{cli.1,idtool.1,one.8} +} -- cgit v1.2.3