File: rules

package info (click to toggle)
firewalld 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,900 kB
  • sloc: sh: 242,081; python: 29,155; xml: 13,238; makefile: 929
file content (34 lines) | stat: -rwxr-xr-x 1,024 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

export PYTHON=/usr/bin/python3

%:
	dh $@

override_dh_autoreconf:
	NOCONFIGURE=true dh_autoreconf ./autogen.sh

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-systemd-unitdir=/usr/lib/systemd/system \
		--with-bashcompletiondir=/usr/share/bash-completion/completions/ \
		--with-zshcompletiondir=/usr/share/zsh/vendor-completions/ \
		--with-iptables=/usr/sbin/iptables \
		--with-iptables-restore=/usr/sbin/iptables-restore \
		--with-ip6tables=/usr/sbin/ip6tables \
		--with-ip6tables-restore=/usr/sbin/ip6tables-restore \
		--with-ebtables=/usr/sbin/ebtables \
		--with-ebtables-restore=/usr/sbin/ebtables-restore \
		--with-ipset=/usr/sbin/ipset \
		MODPROBE=/sbin/modprobe \
		RMMOD=/sbin/rmmod \
		SYSCTL=/sbin/sysctl

execute_before_dh_install:
	# Delete the symlink and let update-alternatives handle it
	rm -f debian/tmp/usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.policy

execute_after_dh_fixperms:
	chmod 0750 debian/firewalld/etc/firewalld/

override_dh_auto_test: