File: rules

package info (click to toggle)
rsync 3.2.7-1%2Bdeb12u4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,220 kB
  • sloc: ansic: 43,621; sh: 6,256; python: 1,621; asm: 829; perl: 550; makefile: 367; cpp: 298; awk: 191
file content (20 lines) | stat: -rwxr-xr-x 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# Disable ASM optimizations (--disable-md5-asm).
# This is not needed because the ASM-optimized implementation
# available is the MD5 hash, which is actually a no-op because we link
# against OpenSSL and rsync ends up using that library's
# implementation of the hash.  Even then, the final binary ends up
# with the ASM-optimized version included, which makes it become
# CET-incompatible.
# Don't use bundled zlib (with-included-zlib=no).
override_dh_auto_configure:
	dh_auto_configure -- --with-included-zlib=no --disable-md5-asm --with-rrsync

override_dh_installsystemd:
	dh_installsystemd --no-enable