# HG changeset patch # User Hans-G?nter Theisgen # Date 1650642273 -3600 # Node ID 27c5a4be1423b23a5516497d915f72c31460f5f4 # Parent 810e3d0a38f75e36a6b34152892e23950740dbd3 updated n2n (2.4 -> 3.0) diff -r 810e3d0a38f7 -r 27c5a4be1423 n2n/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/n2n/description.txt Fri Apr 22 16:44:33 2022 +0100 @@ -0,0 +1,27 @@ +n2n is a layer-two peer-to-peer virtual private network (VPN) +which allows users to exploit features typical of P2P +applications at network instead of application level. +This means that users can gain native IP visibility (e.g. two +PCs belonging to the same n2n network can ping each other) +and be reachable with the same network IP address regardless +of the network where they currently belong. +In a nutshell, as OpenVPN moved SSL from application (e.g. used +to implement the https protocol) to network protocol, n2n moves +P2P from application to network level. + +The main n2n design features are: + +- An n2n is an encrypted layer two private network based on a + P2P protocol. +- Encryption is performed on edge nodes using open protocols + with user-defined encryption keys: you control your security + without delegating it to companies as it happens with Skype + or Hamachi. +- Each n2n user can simultaneously belong to multiple networks + (a.k.a. communities). +- Ability to cross NAT and firewalls in the reverse traffic + direction (i.e. from outside to inside) so that n2n nodes are + reachable even if running on a private network. Firewalls no + longer are an obstacle to direct communications at IP level. +- n2n networks are not meant to be self-contained: it is possible + to route traffic across n2n and non-n2n networks. diff -r 810e3d0a38f7 -r 27c5a4be1423 n2n/receipt --- a/n2n/receipt Wed Apr 20 16:57:09 2022 +0000 +++ b/n2n/receipt Fri Apr 22 16:44:33 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="n2n" -VERSION="2.4" +VERSION="3.0" CATEGORY="network" SHORT_DESC="A Layer Two Peer-to-Peer VPN." MAINTAINER="pascal.bellard@slitaz.org" @@ -12,7 +12,7 @@ WGET_URL="https://github.com/ntop/$PACKAGE/archive/$VERSION.tar.gz" DEPENDS="" -BUILD_DEPENDS="openssl-dev" +BUILD_DEPENDS="automake libcap-dev openssl-dev" current_version() { @@ -23,15 +23,14 @@ # Rules to configure and make the package. compile_rules() { - make PREFIX=/usr && - make DESTDIR=$DESTDIR install + ./autogen.sh && + ./configure --prefix=/usr && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - -# cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr + cook_copy_folders sbin }