mirror of
https://git.proxmox.com/git/proxmox-mail-forward
synced 2025-04-28 11:37:31 +00:00

It is a setuid binary owned by root, since the initial step of reading the configuration files on both PVE and PBS requires higher privileges which can't be mapped easily otherwise. Used parts of the packaging in proxmox-backup as a basis. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
19 lines
411 B
Makefile
Executable File
19 lines
411 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# See debhelper(7) (uncomment to enable)
|
|
# output every command that modifies files on the build system.
|
|
DH_VERBOSE = 1
|
|
|
|
export BUILD_MODE=release
|
|
|
|
CARGO=/usr/share/cargo/bin/cargo
|
|
|
|
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
|
export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
|
|
export CARGO_HOME = $(CURDIR)/debian/cargo_home
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_fixperms:
|
|
dh_fixperms --exclude proxmox-mail-forward
|