File: rules

package info (click to toggle)
fping 3.15-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 728 kB
  • ctags: 239
  • sloc: sh: 4,199; ansic: 1,998; makefile: 38
file content (24 lines) | stat: -rwxr-xr-x 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# GNU copyright 1997 to 1999 by Joey Hess.
# Copyright (c) 1999 Herbert Xu <herbert@debian.org>
# Copyright (c) 2004-2005 Anibal Monsalve Salazar <anibal@debian.org>
# Copyright (c) 2012-2013 Axel Beckert <abe@debian.org>

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-ipv4 --enable-ipv6

override_dh_fixperms:
	dh_fixperms
	mv debian/fping/usr/sbin debian/fping/usr/bin
	# Use setuid only on non-linux architectures
	if dpkg-architecture -qDEB_HOST_ARCH_OS | grep -qv linux; then \
		chmod 4755 debian/fping/usr/bin/fping*; \
	fi