Package Details: opengnb 1.4.5.a-3

Git Clone URL: https://aur.archlinux.org/opengnb.git (read-only, click to copy)
Package Base: opengnb
Description: GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.
Upstream URL: https://github.com/gnbdev/opengnb
Keywords: GNB NAT p2p VPN
Licenses: GPL-3.0-or-later
Conflicts: opengnb
Provides: opengnb
Submitter: taotieren
Maintainer: taotieren (yetist, lilac)
Last Packager: taotieren
Votes: 0
Popularity: 0.000000
First Submitted: 2022-01-04 06:32 (UTC)
Last Updated: 2024-06-16 16:10 (UTC)

Latest Comments

yetist commented on 2022-05-29 01:14 (UTC) (edited on 2022-05-29 01:15 (UTC) by yetist)

请更新到1.2.8.7版本,谢谢。

diff --git a/PKGBUILD b/PKGBUILD
index 12ef26c..8ea5301 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,34 @@
 # Contributor: taotieren <admin@taotieren.com>

 pkgname=opengnb
-pkgver=1.2.8.6
+pkgver=1.2.8.7
 pkgrel=1
 pkgdesc="GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal."
-arch=('any')
+arch=('x86_64')
 url="https://github.com/gnbdev/opengnb"
 license=('GPLv3')
 provides=(${pkgname})
 conflicts=(${pkgname} ${pkgname}-git)
-#replaces=(${pkgname})
 depends=('miniupnpc')
-optdepends=()
-makedepends=()
-backup=()
 options=('!strip')
-#install=${pkgname}.install
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
-sha256sums=('5980479f1f4f1f3a5f420839ffb9f3cc489ad11db8ec64c6e9aace1379a45169')
+sha256sums=('e394f2bb5260708c19c54682fb32f4be9d54a0bcd98554bb7d0bb20388c70cf4')

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    make -f Makefile.debian
+    make -f Makefile.linux
 }

 package() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    make -f Makefile.debian install
+    make -f Makefile.linux install
     install -dm0755 "${pkgdir}/usr"
     cp -rv bin "${pkgdir}/usr"
-    install -Dm644 "${srcdir}/${pkgname}-${pkgver}/scripts/opengnb@.service" "${pkgdir}/usr/lib/systemd/system/opengnb@.service"
-    install -Dm0644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    install -Dm644  "scripts/opengnb@.service" "${pkgdir}/usr/lib/systemd/system/opengnb@.service"
+    install -Dm0644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+    install -Dm644 man/gnb.8 "${pkgdir}/usr/share/man/man8/gnb.8"
+    install -Dm644 man/gnb_ctl.8 "${pkgdir}/usr/share/man/man8/gnb_ctl.8"
+    install -Dm644 man/gnb_es.8 "${pkgdir}/usr/share/man/man8/gnb_es.8"
+    install -Dm644 man/gnb_crypto.1 "${pkgdir}/usr/share/man/man1/gnb_crypto.1"
 }