Files
Iurii Egorov baf34a93ce Add AmneziaWG protocol improvements (#3)
* Add Amnezia VPN protocol

* Fix incorrect post config empty asc handling

* Build changes to engage more distros

* Improve parameter handling and add handshake debugging

* Small cosmetic changes

* Small cosmetic changes

* Small cosmetic changes

* Update main.c copyright

Signed-off-by: pokamest <pokamest@gmail.com>

---------

Signed-off-by: pokamest <pokamest@gmail.com>
Co-authored-by: pokamest <pokamest@gmail.com>
2024-03-22 18:37:03 +03:00

20 lines
406 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE = 1
include /usr/share/dpkg/default.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_VERSION_UPSTREAM
AMNEZIAWG_ARGS = V=1
%:
dh $@ --with dkms
override_dh_auto_install:
$(MAKE) -C src DESTDIR=`pwd`/debian/amneziawg-dkms DKMSDIR=/usr/src/amneziawg-$(DEB_VERSION_UPSTREAM) dkms-install
override_dh_dkms:
dh_dkms -p amneziawg-dkms -- src/dkms.conf