summaryrefslogtreecommitdiff
path: root/homebrew/wireguardtools
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/wireguardtools')
-rw-r--r--homebrew/wireguardtools/.beer27
-rw-r--r--homebrew/wireguardtools/.make.sh-auto2
-rw-r--r--homebrew/wireguardtools/_metadata/description1
-rw-r--r--homebrew/wireguardtools/_metadata/homepage1
-rw-r--r--homebrew/wireguardtools/_metadata/name1
-rw-r--r--homebrew/wireguardtools/_metadata/version1
-rwxr-xr-xhomebrew/wireguardtools/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/wireguardtools/.beer b/homebrew/wireguardtools/.beer
new file mode 100644
index 000000000..7d62b5a77
--- /dev/null
+++ b/homebrew/wireguardtools/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "WireguardTools",
+ "description": "Tools for the WireGuard secure network tunnel",
+ "url": "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190406.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.wireguard.com/",
+ "depends": [
+ {
+ "depend": "bash",
+ "build-depend": false
+ },
+ {
+ "depend": "wireguard-go",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"BASHCOMPDIR=#{bash_completion}\", \"WITH_BASHCOMPLETION=yes\", \"WITH_WGQUICK=yes\",",
+ "\"WITH_SYSTEMDUNITS=no\", \"PREFIX=#{prefix}\", \"SYSCONFDIR=#{prefix}/etc\",",
+ "\"-C\", \"src/tools\", \"install\""
+ ],
+ "version": "0.0.20190406",
+ "file": "wireguard-tools.rb"
+} \ No newline at end of file
diff --git a/homebrew/wireguardtools/.make.sh-auto b/homebrew/wireguardtools/.make.sh-auto
new file mode 100644
index 000000000..6283341ea
--- /dev/null
+++ b/homebrew/wireguardtools/.make.sh-auto
@@ -0,0 +1,2 @@
+pkg:setup
+make BASHCOMPDIR=#{bash_completion} WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes WITH_SYSTEMDUNITS=no PREFIX=${PKG_TAPF} SYSCONFDIR=${PKG_TAPF}/etc -C src/tools DESTDIR=${PKG_DEST} install
diff --git a/homebrew/wireguardtools/_metadata/description b/homebrew/wireguardtools/_metadata/description
new file mode 100644
index 000000000..e6d9eca41
--- /dev/null
+++ b/homebrew/wireguardtools/_metadata/description
@@ -0,0 +1 @@
+Tools for the WireGuard secure network tunnel
diff --git a/homebrew/wireguardtools/_metadata/homepage b/homebrew/wireguardtools/_metadata/homepage
new file mode 100644
index 000000000..11781b46f
--- /dev/null
+++ b/homebrew/wireguardtools/_metadata/homepage
@@ -0,0 +1 @@
+https://www.wireguard.com/
diff --git a/homebrew/wireguardtools/_metadata/name b/homebrew/wireguardtools/_metadata/name
new file mode 100644
index 000000000..482319ecd
--- /dev/null
+++ b/homebrew/wireguardtools/_metadata/name
@@ -0,0 +1 @@
+WireguardTools
diff --git a/homebrew/wireguardtools/_metadata/version b/homebrew/wireguardtools/_metadata/version
new file mode 100644
index 000000000..1f3099959
--- /dev/null
+++ b/homebrew/wireguardtools/_metadata/version
@@ -0,0 +1 @@
+0.0.20190406
diff --git a/homebrew/wireguardtools/download.sh b/homebrew/wireguardtools/download.sh
new file mode 100755
index 000000000..8e3ca4f3d
--- /dev/null
+++ b/homebrew/wireguardtools/download.sh
@@ -0,0 +1 @@
+wget https://git.zx2c4.com/WireGuard/snapshot/WireGuard-0.0.20190406.tar.xz \ No newline at end of file