mirror of
https://salsa.debian.org/debian/knockd
synced 2025-12-23 04:55:14 +00:00
24 lines
587 B
Makefile
Executable File
24 lines
587 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/buildflags.mk
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_install:
|
|
dh_install
|
|
# original installation has duplicate docs for knock and knockd
|
|
rm -rf debian/knockd/usr/share/doc/knock
|
|
# be more restrictive
|
|
chmod 0600 debian/knockd/etc/knockd.conf
|
|
|
|
# the standard config is unsafe
|
|
override_dh_installsystemd:
|
|
dh_installsystemd --no-enable --no-start
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start
|