bump
This commit is contained in:
parent
4df1d479a8
commit
7458d98dfc
1 changed files with 17 additions and 16 deletions
|
@ -1,29 +1,30 @@
|
|||
# Template file for 'amneziawg-tools'
|
||||
pkgname=wireguard-tools
|
||||
pkgname=amneziawg-tools
|
||||
version=1.0.20240213
|
||||
revision=1
|
||||
build_wrksrc="src"
|
||||
build_style=gnu-makefile
|
||||
make_install_args="WITH_BASHCOMPLETION=yes WITH_AWGQUICK=yes"
|
||||
depends="openresolv"
|
||||
checkdepends="clang-analyzer"
|
||||
short_desc="Fast, modern, secure VPN tunnel - userland tools"
|
||||
hostmakedepends="gcc make"
|
||||
depends="wireguard-tools openresolv"
|
||||
short_desc="Tools for configuring WireGuard VPN from Amnezia"
|
||||
maintainer="CringeTech Team <team@cringetech.net>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/amnezia-vpn/amneziawg-tools"
|
||||
distfiles="https://github.com/amnezia-vpn/amneziawg-tools/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum="4bde122630c9ddb1ec013c3e958f2c613b9eea56834674dda92fcb423c6f4d10"
|
||||
make_dirs="/etc/amnezia/amneziawg 0700 root root"
|
||||
|
||||
post_patch() {
|
||||
vsed -i 's/^CFLAGS /override &/' Makefile
|
||||
}
|
||||
make_dirs="/etc/amnezia/amneziawg 0755 root root"
|
||||
|
||||
post_install() {
|
||||
vsv amneziawg
|
||||
# Копируем лицензионный файл
|
||||
vlicense LICENSE
|
||||
|
||||
vmkdir usr/share/$pkgname/examples
|
||||
if [ -d "../contrib" ]; then
|
||||
vcopy ../contrib/* usr/share/$pkgname/examples
|
||||
fi
|
||||
vmkdir usr/share/$pkgname/examples
|
||||
|
||||
if [ -d "../contrib" ]; then
|
||||
vcopy ../contrib/* usr/share/$pkgname/examples
|
||||
fi
|
||||
|
||||
vinstall "${FILESDIR}/amneziawg/run" 755 etc/sv/amneziawg/run
|
||||
vinstall "${FILESDIR}/amneziawg/finish" 755 etc/sv/amneziawg/finish
|
||||
#vmkdir var/service/amneziawg-tools
|
||||
#ln -s /etc/sv/amneziawg-tools /var/service/amneziawg-tools
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue