milis/talimatname/genel/w/wireguard-tools/talimat

24 lines
645 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Kernel modül destekli ileri seviye güvenli vpn uygulaması araçları
# URL: https://www.wireguard.com
# Paketçi: milisarge
# Gerekler: libmnl
# Grup: güvenlik
isim=wireguard-tools
surum=0.0.20181007
devir=1
kaynak=(https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$surum.tar.xz::WireGuard-$surum.tar.xz)
derle() {
cd "WireGuard-$surum"
mkdir -p "$PKG"/usr/share/wireguard
make -C src/tools \
DESTDIR="$PKG" \
WITH_BASHCOMPLETION=yes \
WITH_WGQUICK=yes \
WITH_SYSTEMDUNITS=no \
install
find contrib/examples -name '.gitignore' -delete
cp -rf $SRC/WireGuard-$surum/contrib/examples "$PKG"/usr/share/wireguard/
}