pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/wireguard-tools



Module Name:    pkgsrc
Committed By:   js
Date:           Fri Sep 18 14:37:43 UTC 2020

Added Files:
        pkgsrc/net/wireguard-tools: DESCR Makefile PLIST distinfo
        pkgsrc/net/wireguard-tools/patches: patch-Makefile

Log Message:
Add net/wireguard-tools


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wireguard-tools/DESCR \
    pkgsrc/net/wireguard-tools/Makefile pkgsrc/net/wireguard-tools/PLIST \
    pkgsrc/net/wireguard-tools/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wireguard-tools/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/wireguard-tools/DESCR
diff -u /dev/null pkgsrc/net/wireguard-tools/DESCR:1.1
--- /dev/null   Fri Sep 18 14:37:43 2020
+++ pkgsrc/net/wireguard-tools/DESCR    Fri Sep 18 14:37:43 2020
@@ -0,0 +1,2 @@
+This supplies the main userspace tooling for using and configuring WireGuard
+tunnels.
Index: pkgsrc/net/wireguard-tools/Makefile
diff -u /dev/null pkgsrc/net/wireguard-tools/Makefile:1.1
--- /dev/null   Fri Sep 18 14:37:43 2020
+++ pkgsrc/net/wireguard-tools/Makefile Fri Sep 18 14:37:43 2020
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/09/18 14:37:43 js Exp $
+
+DISTNAME=      wireguard-tools-1.0.20200827
+CATEGORIES=    net
+MASTER_SITES=  https://git.zx2c4.com/wireguard-tools/snapshot/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    js%pkgsrc.org@localhost
+HOMEPAGE=      https://git.zx2c4.com/wireguard-tools/about/
+COMMENT=       Userspace tooling for using and configuring WireGuard tunnels
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES= c
+USE_TOOLS+=    gmake
+MAKEFLAGS+=    WITH_BASHCOMPLETION=no
+# wg-quick is a bunch of OS-specific shell scripts, currently lacking NetBSD
+MAKEFLAGS+=    WITH_WGQUICK=no
+MAKEFLAGS+=    WITH_SYSTEMDUNITS=no
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}/src
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/wireguard-tools/PLIST
diff -u /dev/null pkgsrc/net/wireguard-tools/PLIST:1.1
--- /dev/null   Fri Sep 18 14:37:43 2020
+++ pkgsrc/net/wireguard-tools/PLIST    Fri Sep 18 14:37:43 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/09/18 14:37:43 js Exp $
+bin/wg
+share/man/man8/wg.8
Index: pkgsrc/net/wireguard-tools/distinfo
diff -u /dev/null pkgsrc/net/wireguard-tools/distinfo:1.1
--- /dev/null   Fri Sep 18 14:37:43 2020
+++ pkgsrc/net/wireguard-tools/distinfo Fri Sep 18 14:37:43 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/09/18 14:37:43 js Exp $
+
+SHA1 (wireguard-tools-1.0.20200827.tar.xz) = 96356ca99fe4fb2abaccb27fc336d6183df1979e
+RMD160 (wireguard-tools-1.0.20200827.tar.xz) = 4e3bc2439fb7bdca127d8a75051eced78774729f
+SHA512 (wireguard-tools-1.0.20200827.tar.xz) = 843b70050d24f142262b672daee44cdccab508b52f42b19a32c275a17d40fd8fb66136a22ef2a4602217e821703bb36a261e474b465807308f52e6a0ee49e267
+Size (wireguard-tools-1.0.20200827.tar.xz) = 94788 bytes
+SHA1 (patch-Makefile) = 20440b40967b4d7ab14bf19c81c7e631a4f48beb

Index: pkgsrc/net/wireguard-tools/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/wireguard-tools/patches/patch-Makefile:1.1
--- /dev/null   Fri Sep 18 14:37:43 2020
+++ pkgsrc/net/wireguard-tools/patches/patch-Makefile   Fri Sep 18 14:37:43 2020
@@ -0,0 +1,32 @@
+$NetBSD: patch-Makefile,v 1.1 2020/09/18 14:37:43 js Exp $
+
+Don't use -v with install.
+
+--- Makefile.orig      2020-08-27 08:22:09.000000000 +0000
++++ Makefile
+@@ -79,18 +79,18 @@ clean:
+       $(RM) wg *.o *.d
+ 
+ install: wg
+-      @install -v -d "$(DESTDIR)$(BINDIR)" && install -v -m 0755 wg "$(DESTDIR)$(BINDIR)/wg"
+-      @install -v -d "$(DESTDIR)$(MANDIR)/man8" && install -v -m 0644 man/wg.8 "$(DESTDIR)$(MANDIR)/man8/wg.8"
++      @install -d "$(DESTDIR)$(BINDIR)" && install -m 0755 wg "$(DESTDIR)$(BINDIR)/wg"
++      @install -d "$(DESTDIR)$(MANDIR)/man8" && install -m 0644 man/wg.8 "$(DESTDIR)$(MANDIR)/man8/wg.8"
+       @[ "$(WITH_BASHCOMPLETION)" = "yes" ] || exit 0; \
+-      install -v -d "$(DESTDIR)$(BASHCOMPDIR)" && install -v -m 0644 completion/wg.bash-completion "$(DESTDIR)$(BASHCOMPDIR)/wg"
++      install -d "$(DESTDIR)$(BASHCOMPDIR)" && install -m 0644 completion/wg.bash-completion "$(DESTDIR)$(BASHCOMPDIR)/wg"
+       @[ "$(WITH_WGQUICK)" = "yes" ] || exit 0; \
+-      install -v -m 0755 wg-quick/$(PLATFORM).bash "$(DESTDIR)$(BINDIR)/wg-quick" && install -v -m 0700 -d "$(DESTDIR)$(SYSCONFDIR)/wireguard"
++      install -m 0755 wg-quick/$(PLATFORM).bash "$(DESTDIR)$(BINDIR)/wg-quick" && install -m 0700 -d "$(DESTDIR)$(SYSCONFDIR)/wireguard"
+       @[ "$(WITH_WGQUICK)" = "yes" ] || exit 0; \
+-      install -v -m 0644 man/wg-quick.8 "$(DESTDIR)$(MANDIR)/man8/wg-quick.8"
++      install -m 0644 man/wg-quick.8 "$(DESTDIR)$(MANDIR)/man8/wg-quick.8"
+       @[ "$(WITH_WGQUICK)" = "yes" -a "$(WITH_BASHCOMPLETION)" = "yes" ] || exit 0; \
+-      install -v -m 0644 completion/wg-quick.bash-completion "$(DESTDIR)$(BASHCOMPDIR)/wg-quick"
++      install -m 0644 completion/wg-quick.bash-completion "$(DESTDIR)$(BASHCOMPDIR)/wg-quick"
+       @[ "$(WITH_WGQUICK)" = "yes" -a "$(WITH_SYSTEMDUNITS)" = "yes" ] || exit 0; \
+-      install -v -d "$(DESTDIR)$(SYSTEMDUNITDIR)" && install -v -m 0644 systemd/* "$(DESTDIR)$(SYSTEMDUNITDIR)/"
++      install -d "$(DESTDIR)$(SYSTEMDUNITDIR)" && install -m 0644 systemd/* "$(DESTDIR)$(SYSTEMDUNITDIR)/"
+ 
+ check: clean
+       scan-build --html-title=wireguard-tools -maxloop 100 --view --keep-going $(MAKE) wg



Home | Main Index | Thread Index | Old Index