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

24 lines
645 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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
2018-07-07 01:41:21 +02:00
surum=0.0.20180625
2018-06-09 00:06:58 +02:00
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/
}