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

24 lines
645 B
Plaintext
Raw Normal View History

2017-11-06 23:29:02 +01: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
2017-12-22 01:00:41 +01:00
surum=0.0.20171221
2017-11-06 23:29:02 +01: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/
}