wireguard.paketlendi
This commit is contained in:
parent
f88046b232
commit
0c2ba776a7
|
@ -0,0 +1,26 @@
|
|||
# Tanım: Kernel modül destekli ileri seviye güvenli vpn uygulaması
|
||||
# URL: https://www.wireguard.com
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: libmnl kernel
|
||||
# Grup: güvenlik
|
||||
|
||||
isim=wireguard-kernel
|
||||
surum=0.0.20171101
|
||||
devir=1
|
||||
kaynak=(https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$surum.tar.xz::WireGuard-$surum.tar.xz)
|
||||
|
||||
kernel_surum=$(ls /lib/modules/)
|
||||
derle() {
|
||||
cd "WireGuard-$surum"
|
||||
unset LDFLAGS
|
||||
mv /lib/modules/${kernel_surum}/build/vmlinux /lib/modules/${kernel_surum}/build/vmlinux.tmp
|
||||
make -C src/ \
|
||||
KERNELDIR=/lib/modules/${kernel_surum}/build module
|
||||
cd "src"
|
||||
local module
|
||||
for module in *.ko; do
|
||||
install -v -D -m644 ${module} \
|
||||
"$PKG/lib/modules/$kernel_surum/extra/${module}"
|
||||
done
|
||||
mv /lib/modules/${kernel_surum}/build/vmlinux.tmp /lib/modules/${kernel_surum}/build/vmlinux
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
# 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.20171101
|
||||
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/
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
c3a394256cf3cc2dce75dcb299f54969f74d4076a351b61972f10fb3e69191756c0c32552a5acc7e0cd5919c248f12035e6a33f15e43fdad64c6cf1230511ee3 WireGuard-0.0.20171101.tar.xz
|
Loading…
Reference in New Issue