Date: Monday, December 20, 2021 @ 21:14:14 Author: felixonmars Revision: 1080873
upgpkg: n2n 3.0-1 Modified: n2n/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-20 21:13:46 UTC (rev 1080872) +++ PKGBUILD 2021-12-20 21:14:14 UTC (rev 1080873) @@ -1,8 +1,8 @@ # Maintainer: Felix Yan <[email protected]> pkgname=n2n -pkgver=2.8 -pkgrel=4 +pkgver=3.0 +pkgrel=1 pkgdesc="A Peer-to-peer VPN software which makes it easy to create virtual networks bypassing intermediate firewalls" arch=('x86_64') url="https://github.com/ntop/n2n" @@ -12,14 +12,11 @@ makedepends=('cmake' 'ninja' 'libpcap') backup=('etc/n2n/edge.conf' 'etc/n2n/supernode.conf') -source=("https://github.com/ntop/n2n/archive/$pkgver/n2n-$pkgver.tar.gz" - n2n-manpage-location.patch::https://github.com/ntop/n2n/pull/411.patch) -sha512sums=('24eaabe1b454fbcf47c251d93fad31bf10241fe7d79b3df8cfd758652fe60f18e4f123054a4319c6b58ae96d130faa93f3d56b1bfec6c91d9c834c8bd5ae71d4' - '6d7897cceeac429464ba9762f35613e45dee2ca06e88a9ac6e43c6b54c61ba6aef2b6cb6ff2b7b7c2aa993b022e5c27a863f21ac8cdfd2a738025bc13f9bd3f8') +source=("https://github.com/ntop/n2n/archive/$pkgver/n2n-$pkgver.tar.gz") +sha512sums=('4e3806eacd7bd6de8e1818e2e42b285a12389d4423d3048c9a19f9e3aec8a6ddea276869e2dee367ea4df4711c2c4bf1b99d7fc7381b2a4773866a75a1306704') prepare() { cd $pkgname-$pkgver - patch -p1 -i ../n2n-manpage-location.patch sed -i 's/RUNTIME DESTINATION sbin/RUNTIME DESTINATION bin/' CMakeLists.txt sed -i 's|/usr/sbin|/usr/bin|' packages/etc/systemd/system/*.service.in
