[arch-commits] Commit in n2n/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Sep 7 07:54:39 UTC 2020


    Date: Monday, September 7, 2020 @ 07:54:39
  Author: felixonmars
Revision: 699400

upgpkg: n2n 2.8-4: fix manpage path

Modified:
  n2n/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-07 07:54:36 UTC (rev 699399)
+++ PKGBUILD	2020-09-07 07:54:39 UTC (rev 699400)
@@ -2,7 +2,7 @@
 
 pkgname=n2n
 pkgver=2.8
-pkgrel=3
+pkgrel=4
 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,11 +12,14 @@
 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")
-sha512sums=('24eaabe1b454fbcf47c251d93fad31bf10241fe7d79b3df8cfd758652fe60f18e4f123054a4319c6b58ae96d130faa93f3d56b1bfec6c91d9c834c8bd5ae71d4')
+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'
+            'f62345d50cebef19dfdec3f116fc4b43b713b7c9f8a38658b7c2beeb4e818ffd1e5cbf05a701ff9645af14035368130ec8ccb95c880cdccf42efd556b57c4155')
 
 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
 



More information about the arch-commits mailing list