aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/amneziawg-go/README24
-rw-r--r--network/amneziawg-go/amneziawg-go.SlackBuild80
-rw-r--r--network/amneziawg-go/amneziawg-go.info12
-rw-r--r--network/amneziawg-go/slack-desc19
4 files changed, 135 insertions, 0 deletions
diff --git a/network/amneziawg-go/README b/network/amneziawg-go/README
new file mode 100644
index 0000000000..bd6ba8071c
--- /dev/null
+++ b/network/amneziawg-go/README
@@ -0,0 +1,24 @@
+AmneziaWG is a contemporary version of the popular VPN protocol,
+WireGuard. It's a fork of WireGuard-Go and offers protection against
+detection by Deep Packet Inspection (DPI) systems. At the same time, it
+retains the simplified architecture and high performance of the
+original.
+
+The progenitor of AmneziaWG, WireGuard, is known for its efficiency, but
+it does have issues with detection due to distinctive packet
+signatures. AmneziaWG addresses this problem by employing advanced
+obfuscation methods, allowing its traffic to blend seamlessly with
+regular internet traffic. As a result, AmneziaWG maintains high
+performance while adding an extra layer of stealth, making it a superb
+choice for those seeking a fast and discreet VPN connection.
+
+Features of AmneziaWG include:
+
+- Availability with AmneziaVPN on all platforms.
+- Low energy consumption.
+- Minimal configuration needed.
+- Undetectable by DPI analysis systems, resistant to blocking.
+- Operates over the UDP network protocol.
+
+This supplies the userspace implementation of AmneziaWG. You may use
+amneziawg-tools to configure your WireGuard tunnels.
diff --git a/network/amneziawg-go/amneziawg-go.SlackBuild b/network/amneziawg-go/amneziawg-go.SlackBuild
new file mode 100644
index 0000000000..81951ef02d
--- /dev/null
+++ b/network/amneziawg-go/amneziawg-go.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for amneziawg-go
+
+# Copyright 2025 Vladislav 'fsLeg' Borisov, Moscow, Russia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=amneziawg-go
+VERSION=${VERSION:-0.2.12}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+tar xf $CWD/$PRGNAM-$VERSION-vendored-sources.tar.xz
+chown -R root:root .
+
+GOPATH=$(pwd)/cache \
+GOCACHE=$(pwd)/cache \
+go build -v -mod=vendor
+
+install -Dm755 -t "$PKG/usr/bin" amneziawg-go
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/amneziawg-go/amneziawg-go.info b/network/amneziawg-go/amneziawg-go.info
new file mode 100644
index 0000000000..9c34b0907c
--- /dev/null
+++ b/network/amneziawg-go/amneziawg-go.info
@@ -0,0 +1,12 @@
+PRGNAM="amneziawg-go"
+VERSION="0.2.12"
+HOMEPAGE="https://github.com/amnezia-vpn/amneziawg-go"
+DOWNLOAD="https://github.com/amnezia-vpn/amneziawg-go/archive/v0.2.12/amneziawg-go-0.2.12.tar.gz \
+ https://sbo.t-rg.ws/amneziawg-go-0.2.12-vendored-sources.tar.xz"
+MD5SUM="9b45a2512ae4543842ecde1003acccbf \
+ e7e85521d187890d19a27cf28b634712"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="google-go-lang"
+MAINTAINER="Vladislav 'fsLeg' Borisov"
+EMAIL="fsleg@t-rg.ws"
diff --git a/network/amneziawg-go/slack-desc b/network/amneziawg-go/slack-desc
new file mode 100644
index 0000000000..3ce32838a5
--- /dev/null
+++ b/network/amneziawg-go/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+amneziawg-go: amneziawg-go (AmneziaWG VPN protocol)
+amneziawg-go:
+amneziawg-go: AmneziaWG is a contemporary version of the popular VPN protocol,
+amneziawg-go: WireGuard. It's a fork of WireGuard and offers protection against
+amneziawg-go: detection by Deep Packet Inspection (DPI) systems. At the same time,
+amneziawg-go: it retains the simplified architecture and high performance of the
+amneziawg-go: original.
+amneziawg-go:
+amneziawg-go: This supplies the userspace implementation of AmneziaWG.
+amneziawg-go:
+amneziawg-go: