Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531468 - net-misc/peervpn-0.041 - an open source peer-to-peer VPN daemon
Summary: net-misc/peervpn-0.041 - an open source peer-to-peer VPN daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.peervpn.net/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-12-02 17:55 UTC by Kenzie Hayward
Modified: 2016-12-13 16:00 UTC (History)
1 user (show)

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


Attachments
peervpn-0.041.ebuild (peervpn-0.041.ebuild,505 bytes, text/plain)
2014-12-02 17:55 UTC, Kenzie Hayward
Details
peervpn-0.041.ebuild (file_531468.txt,514 bytes, text/plain)
2014-12-03 16:15 UTC, Kenzie Hayward
Details
peervpn-0.042 (peervpn-0.042.ebuild,1.11 KB, text/plain)
2015-02-16 09:17 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
metadata for peervpn ebuild (metadata.xml,695 bytes, text/xml)
2015-02-16 09:18 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
peervpn-0.042.confd (peervpn.confd,135 bytes, text/plain)
2015-02-16 09:19 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
peervpn-0.042.initd (peervpn.initd,869 bytes, text/plain)
2015-02-16 09:19 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
peervpn-0.044.ebuild (peervpn-0.044.ebuild,1.10 KB, text/plain)
2016-03-24 21:11 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
metadata.xml (metadata.xml,664 bytes, text/xml)
2016-03-24 21:12 UTC, Vladimir Pavljuchenkov (SpiderX)
Details
peervpn.initd (peervpn.initd,863 bytes, text/plain)
2016-03-24 21:12 UTC, Vladimir Pavljuchenkov (SpiderX)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenzie Hayward 2014-12-02 17:55:22 UTC
Created attachment 390806 [details]
peervpn-0.041.ebuild

This is an ebuild for PeerVPN, which is a peer to peer VPN daemon. It builds an encrypted layer 2 VPN using a shared secret, and creates a TAP device for tunneling. Upstream homepage is at http://www.peervpn.net.

The ebuild creates a new folder /etc/peervpn/, which is supposed to store the config files. It is set to mode 700, as the config files contain secret keys and should therefore not be visible to everyone on a system.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-03 08:03:51 UTC
Comment on attachment 390806 [details]
peervpn-0.041.ebuild

>EAPI=4

Why not 5?

>DESCRIPTION="An open source peer-to-peer VPN daemon"
>SRC_URI="http://www.peervpn.net/files/peervpn-0-041.tar.gz"

If you could mangle the ebuild version appropriately (perhaps 0_p041?) then you could do:

 SRC_URI="http://www.peervpn.net/files/${MY_P}.tar.gz"


>RDEPEND="
>        sys-apps/iproute2
>"
>DEPEND="
>        dev-libs/openssl

I suspect openssl is a run-time dependency too, so:

DEPEND="dev-libs/openssl"
RDEPEND="
    ${DEPEND}
    sys-apps/iproute2
"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-03 08:04:55 UTC
(In reply to Jeroen Roovers from comment #1)
> Comment on attachment 390806 [details]
> peervpn-0.041.ebuild
> If you could mangle the ebuild version appropriately (perhaps 0_p041?) then
> you could do:
> 
>  SRC_URI="http://www.peervpn.net/files/${MY_P}.tar.gz"

SRC_URI="http://www.peervpn.net/files/${P/./-}.tar.gz"
Comment 3 Kenzie Hayward 2014-12-03 16:15:06 UTC
Created attachment 390852 [details]
peervpn-0.041.ebuild
Comment 4 Kenzie Hayward 2014-12-03 16:15:59 UTC
Thanks for the feedback. I updated the ebuild according to the suggestions.
Comment 5 Kenzie Hayward 2014-12-06 14:08:03 UTC
Are there any remaining issues with the ebuild that I should fix?
Comment 6 Vladimir Pavljuchenkov (SpiderX) 2015-02-16 09:17:58 UTC
Created attachment 396576 [details]
peervpn-0.042
Comment 7 Vladimir Pavljuchenkov (SpiderX) 2015-02-16 09:18:48 UTC
Created attachment 396578 [details]
metadata for peervpn ebuild
Comment 8 Vladimir Pavljuchenkov (SpiderX) 2015-02-16 09:19:36 UTC
Created attachment 396580 [details]
peervpn-0.042.confd
Comment 9 Vladimir Pavljuchenkov (SpiderX) 2015-02-16 09:19:53 UTC
Created attachment 396582 [details]
peervpn-0.042.initd
Comment 10 Vladimir Pavljuchenkov (SpiderX) 2015-02-16 09:22:32 UTC
1. Version bump.
2. Added init script,its config, and metadata.
3. Added check for TUN/TAP driver.
4. Removed hardcoded CFLAGS.
5. Create system user peervpn during install.

Tested on amd64 and x86.
Comment 11 Vladimir Pavljuchenkov (SpiderX) 2016-03-24 21:11:38 UTC
Created attachment 428970 [details]
peervpn-0.044.ebuild

bump to 0.044
Comment 12 Vladimir Pavljuchenkov (SpiderX) 2016-03-24 21:12:05 UTC
Created attachment 428972 [details]
metadata.xml
Comment 13 Vladimir Pavljuchenkov (SpiderX) 2016-03-24 21:12:37 UTC
Created attachment 428974 [details]
peervpn.initd
Comment 14 Michael Orlitzky gentoo-dev 2016-12-13 16:00:38 UTC
It looks like zmedico added this to the tree back in April, but wasn't aware of this bug:

commit 5634d7bf2f68d21408eb0007035291c509cd89f2
Author: Zac Medico <zmedico@gentoo.org>
Date:   Mon Apr 11 03:41:43 2016 -0700

    net-misc/peervpn: new package

    Package-Manager: portage-2.2.28