File: rules

package info (click to toggle)
vsftpd 3.0.3-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,548 kB
  • ctags: 3,732
  • sloc: ansic: 16,632; sh: 267; makefile: 51; python: 18
file content (23 lines) | stat: -rwxr-xr-x 564 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

LIBS = -lwrap -lpam -lssl -lcrypto
ifeq ($(DEB_HOST_ARCH_OS),linux)
	LIBS += -lcap
endif

%:
	dh ${@} --parallel --with=systemd

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LIBS="$(LIBS)" LINK=""

override_dh_auto_install:
	install -D -m 644 debian/vsftpd.apport $(CURDIR)/debian/vsftpd/usr/share/apport/package-hooks/vsftpd.py
	# auto-install disabled

override_dh_strip:
	dh_strip --dbg-package=vsftpd-dbg