Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588324 - net-misc/zerotier: software-based managed Ethernet switch
Summary: net-misc/zerotier: software-based managed Ethernet switch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Neil Bothwick
URL: https://github.com/zerotier/ZeroTierOne
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-07-08 12:32 UTC by Neil Bothwick
Modified: 2017-07-06 22:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sysvinit service file (zerotier-one,2.61 KB, application/x-shellscript)
2016-07-08 12:32 UTC, Neil Bothwick
Details
systemd unit (zerotier-one.service,179 bytes, text/plain)
2016-07-08 12:33 UTC, Neil Bothwick
Details
Ebuild for zerotier-1.1.6 (zerotier-1.1.6.ebuild,967 bytes, text/plain)
2016-07-09 07:59 UTC, Neil Bothwick
Details
Ebuild for net-misc/zerotier-1.1.8 (zerotier-1.1.8.ebuild,967 bytes, text/plain)
2016-07-09 08:46 UTC, Neil Bothwick
Details
Updated ebuild for net-misc/zerotier-1.1.8 (zerotier-1.1.8.ebuild,1.00 KB, text/plain)
2016-07-09 09:32 UTC, Neil Bothwick
Details
metdata.xml (metadata.xml,364 bytes, text/xml)
2016-07-09 09:33 UTC, Neil Bothwick
Details
Ebuild for net-misc/zerotier-1.1.8 with fewer dependencies (zerotier-1.1.8.ebuild,1.13 KB, text/plain)
2016-07-09 14:17 UTC, Neil Bothwick
Details
zerotier-1.1.8.ebuild (zerotier-1.1.8.ebuild,1.24 KB, text/plain)
2016-07-10 15:35 UTC, Neil Bothwick
Details
zerotier-1.1.12.ebuild (zerotier-1.1.12.ebuild,1.24 KB, text/plain)
2016-07-13 19:39 UTC, Neil Bothwick
Details
zerotier-1.1.14.ebuild (zerotier-1.1.14.ebuild,1.24 KB, text/plain)
2017-02-09 09:10 UTC, Neil Bothwick
Details
net-misc/zerotier-1.2.2.ebuild (zerotier-1.2.2.ebuild,1.16 KB, text/plain)
2017-03-20 09:22 UTC, Neil Bothwick
Details
net-misc/zerotier-1.2.4.ebuild (zerotier-1.2.4.ebuild,1.09 KB, text/plain)
2017-04-27 07:49 UTC, Neil Bothwick
Details
openrc file (zerotier openrc script.sh,415 bytes, application/x-sh)
2017-06-30 10:53 UTC, d9867eb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2016-07-08 12:32:11 UTC
ZeroTier no longer provide a generic Linux installer, so the only ways to install it on Gentoo are build from source or unpack one of the deb or rpm files. This ebuild builds from source. I've tested it on amd64 and x86 with systemd and openrc. I'm willing to proxy maintain it.
Comment 1 Neil Bothwick 2016-07-08 12:32:59 UTC
Created attachment 440048 [details]
sysvinit service file
Comment 2 Neil Bothwick 2016-07-08 12:33:29 UTC
Created attachment 440050 [details]
systemd unit
Comment 3 Neil Bothwick 2016-07-08 12:34:24 UTC
I haven't tried to port the sysvinit service file to openrc-run, could do with some help on that.
Comment 4 Coacher 2016-07-09 04:26:04 UTC
(In reply to Neil Bothwick from comment #0)
> ZeroTier no longer provide a generic Linux installer, so the only ways to
> install it on Gentoo are build from source or unpack one of the deb or rpm
> files. This ebuild builds from source. I've tested it on amd64 and x86 with
> systemd and openrc. I'm willing to proxy maintain it.
Hello. You forgot to attach your ebuild.
Comment 5 Neil Bothwick 2016-07-09 07:59:05 UTC
Created attachment 440120 [details]
Ebuild for zerotier-1.1.6

Doh! Here it is. 1.1.8 was released today so I'll upload a new ebuild once I've tested it.

The URL I gave, and put in the ebuild, was for the project. That seems to me to be the correct one for HOMEPAGE, rather than the github repo.
Comment 6 Coacher 2016-07-09 08:21:12 UTC
(In reply to Neil Bothwick from comment #5)
> The URL I gave, and put in the ebuild, was for the project. That seems to me
> to be the correct one for HOMEPAGE, rather than the github repo.
Sure, feel free to change it back if you like.
I was looking for a clean project description, list of deps, license, etc.
Comment 7 Neil Bothwick 2016-07-09 08:46:00 UTC
No, that makes sense. HOMEPAGE should point to zerotier.com but the bug should use the Github URL. 1.1.8 is working here, it's the same ebuild renamed.
Comment 8 Neil Bothwick 2016-07-09 08:46:41 UTC
Created attachment 440162 [details]
Ebuild for net-misc/zerotier-1.1.8
Comment 9 Neil Bothwick 2016-07-09 09:32:47 UTC
Created attachment 440166 [details]
Updated ebuild for net-misc/zerotier-1.1.8

Updated elog message. It appears you have to re-authorise the host after switching from the old package install to a source build.
Comment 10 Neil Bothwick 2016-07-09 09:33:15 UTC
Created attachment 440168 [details]
metdata.xml
Comment 11 Neil Bothwick 2016-07-09 14:17:09 UTC
Created attachment 440184 [details]
Ebuild for net-misc/zerotier-1.1.8 with fewer dependencies

Revised ebuild that copies the man pages from ${FILESDIR}. This removes the dependency on app-text/ronn and that package's long list of Ruby dependencies.
Comment 12 Neil Bothwick 2016-07-10 15:35:27 UTC
Created attachment 440290 [details]
zerotier-1.1.8.ebuild

Following advice on gentoo-dev, the ebuild now downloads a tarball containing the man pages.
Comment 13 Neil Bothwick 2016-07-13 19:39:59 UTC
Created attachment 440626 [details]
zerotier-1.1.12.ebuild

Updates are coming thick and fast this week!
Comment 14 Neil Bothwick 2016-08-08 21:34:37 UTC
1.1.14 is out, renaming the 1.1.12 ebuild is sufficient.
Comment 15 Amy Liffey gentoo-dev 2016-12-26 17:28:56 UTC
he
Comment 16 Neil Bothwick 2017-02-09 09:10:42 UTC
Created attachment 462930 [details]
zerotier-1.1.14.ebuild
Comment 17 Neil Bothwick 2017-03-20 09:22:36 UTC
Created attachment 467638 [details]
net-misc/zerotier-1.2.2.ebuild

This is a major update although there isn't too much changed in the ebuild. The systemd service file is no longer needed as the upstream one is now used.
Comment 18 Neil Bothwick 2017-04-27 07:49:51 UTC
Created attachment 470998 [details]
net-misc/zerotier-1.2.4.ebuild

Ebuild for zerotier-1.2.4 - no longer needs separate manpage package.
Comment 19 d9867eb 2017-05-08 21:27:45 UTC
when can we add zerotier to the tree?
Comment 20 Neil Bothwick 2017-05-08 22:31:07 UTC
(In reply to d9867eb from comment #19)
> when can we add zerotier to the tree?

I'm happy to proxy maintain it.
Comment 21 Yana Luna-Terra 2017-05-15 14:13:56 UTC
I wasn't aware of this ticket when I was writing ebuild, so here is my pull request:
https://github.com/gentoo/gentoo/pull/4635

Neil, perhaps we should merge our ebuilds.
Comment 22 Yana Luna-Terra 2017-05-15 16:22:14 UTC
Merged systemd and doc stuff from Neil's ebuild.
Comment 23 d9867eb 2017-06-30 10:53:36 UTC
Created attachment 478440 [details]
openrc file

found this on github.
link: https://github.com/zerotier/ZeroTierOne/issues/370
Comment 24 Patrice Clement gentoo-dev 2017-07-06 22:09:16 UTC
commit a294529672562d6b8cd77e26ca4206170e49215e (HEAD -> master, origin/master, origin/HEAD)
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: Thu Jul 6 23:59:43 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Fri Jul 7 00:08:47 2017 +0200

net-misc/zerotier: new ebuild.

zerotier-one is a smart Ethernet switch for Earth.

Gentoo-Bug: https://bugs.gentoo.org/588324

Package-Manager: Portage-2.3.5, Repoman-2.3.1

net-misc/zerotier/Manifest               |  1 +
net-misc/zerotier/files/zerotier.init    | 22 +++++++++++++++++
net-misc/zerotier/files/zerotier.service | 11 +++++++++
net-misc/zerotier/metadata.xml           | 12 +++++++++
net-misc/zerotier/zerotier-1.2.4.ebuild  | 42 ++++++++++++++++++++++++++++++++
5 files changed, 88 insertions(+)
create mode 100644 net-misc/zerotier/Manifest
create mode 100644 net-misc/zerotier/files/zerotier.init
create mode 100644 net-misc/zerotier/files/zerotier.service
create mode 100644 net-misc/zerotier/metadata.xml
create mode 100644 net-misc/zerotier/zerotier-1.2.4.ebuild

In the tree now. Thanks!