From 3a08a5ebd960b5be2d58ff551a44611320665f82 Mon Sep 17 00:00:00 2001 From: Petr Cizmar Date: Thu, 22 Jun 2023 11:17:57 +0000 Subject: [PATCH 1/2] New package: n2n-3.0 --- srcpkgs/n2n/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/n2n/template diff --git a/srcpkgs/n2n/template b/srcpkgs/n2n/template new file mode 100644 index 000000000000..815c392ac387 --- /dev/null +++ b/srcpkgs/n2n/template @@ -0,0 +1,20 @@ +# Template file for 'n2n' + +pkgname=n2n +version=3.0 +revision=1 +build_style=gnu-configure +configure_args="SBINDIR=/usr/bin" +hostmakedepends="autoconf automake pkg-config" +short_desc="Light VPN software" +maintainer="Petr Cizmar " +license="GPL-3.0-or-later" +homepage="https://github.com/ntop/n2n" +changelog="https://raw.githubusercontent.com/ntop/n2n/${version}-stable/CHANGELOG.md" +distfiles="https://github.com/ntop/n2n/archive/refs/tags/${version}.tar.gz" +checksum=25fcabba7bfcf25f4c9cd7fecc7ce11de48beb0b0f3506053d8485604ea8f50d + +pre_configure() { + sed -ri 's|/sbin|/bin|g' Makefile.in + ./autogen.sh +} From b7ce7e9956072426dd868e8d91d82ad2c4212877 Mon Sep 17 00:00:00 2001 From: Petr Cizmar Date: Thu, 22 Jun 2023 13:42:20 +0200 Subject: [PATCH 2/2] Update srcpkgs/n2n/template Co-authored-by: Marcin Puc --- srcpkgs/n2n/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/n2n/template b/srcpkgs/n2n/template index 815c392ac387..4f108d4e2407 100644 --- a/srcpkgs/n2n/template +++ b/srcpkgs/n2n/template @@ -10,7 +10,7 @@ short_desc="Light VPN software" maintainer="Petr Cizmar " license="GPL-3.0-or-later" homepage="https://github.com/ntop/n2n" -changelog="https://raw.githubusercontent.com/ntop/n2n/${version}-stable/CHANGELOG.md" +changelog="https://raw.githubusercontent.com/ntop/n2n/dev/CHANGELOG.md" distfiles="https://github.com/ntop/n2n/archive/refs/tags/${version}.tar.gz" checksum=25fcabba7bfcf25f4c9cd7fecc7ce11de48beb0b0f3506053d8485604ea8f50d