mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-11-22 10:22:25 +00:00
2d160623d4
Ubuntu ships UFTP 4.10, which does not work with a UFTP 5 sender or receiver. sbuild-all.pl now builds uftp 5.0.4-1 from the same archive and fixes for focal, jammy, noble and resolute, on amd64, ppc64el and riscv64, and debs-manifest.conf pins it for every target. The deb installs no service. It replaces the Ubuntu uftp package, and removes the init script and the logrotate file of that package, which would start uftpd at boot. The smoke runs key generation in the target chroot and checks that uftpd is UFTP 5.0.4 with the xCAT build mark.
14 lines
360 B
Makefile
Executable File
14 lines
360 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# Upstream has no test suite. Key generation runs the OpenSSL code that the key exchange uses.
|
|
override_dh_auto_test:
|
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
./uftp_keymgt -g ec:secp256r1 check.key
|
|
./uftp_keymgt check.key 2>&1 | grep 'ECDSA, curve'
|
|
rm -f check.key
|
|
endif
|