Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 PACKAGEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/PACKAGE.=proftpd-core
4 PACKAGE_DEVscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/PACKAGE_DEV.=proftpd-dev
5 NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.=proftpd
6 VERSIONscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/VERSION.=$(shellscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/shell. grep PROFTPD_VERSION_TEXT $(CURDIRscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/CURDIR.)/include/version.h|cut -d\" -f2)
7
8 # Make build reproducible
9 export SHELLscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/SHELL.=/bin/bash
10 export CONFIG_SHELLscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/CONFIG_SHELL.=/bin/bash
11
12 export DEB_BUILD_MAINT_OPTIONSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all
13
14 # Some special build options
15 ifneq (,$(findstringscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/findstring. debug,$(DEB_BUILD_OPTIONSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_BUILD_OPTIONS.)))
16 DEVELOPT=--enable-devel=yes
17 endif
18
19 ifneq (,$(findstringscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/findstring. verbose,$(DEB_BUILD_OPTIONSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_BUILD_OPTIONS.)))
20 DH_VERBOSEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DH_VERBOSE.=1
21 export DH_VERBOSEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DH_VERBOSE.
22 endif
23
24 ifeq (,$(filterscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/filter. test,$(LOCAL_BUILD_OPTIONSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/LOCAL_BUILD_OPTIONS.)))
25 # Disable automated build tests
26 override_dh_auto_testscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_auto_test().:
27 endif
28
29 include /usr/share/dpkg/architecture.mk
30
31 # XAttr does not exist on KFreeBSD
32 #
33 XATTR_NOT_EXISTSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/XATTR_NOT_EXISTS. := kfreebsd-amd64 kfreebsd-i386
34 ifneq (,$(filterscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/filter. $(DEB_HOST_ARCHscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_HOST_ARCH.), $(XATTR_NOT_EXISTSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/XATTR_NOT_EXISTS.)))
35 BUILDNOTXATTR=--disable-xattr
36 endif
37
38 # ADDL_CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
39
40 include /usr/share/dpkg/buildflags.mk
41
42 DSOMODS1scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS1. = mod_unique_id:mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:mod_dynmasq
43 DSOMODS2scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS2. = mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file
44 DSOMODS3scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS3. = mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_copy:mod_deflate:mod_ifversion
45 DSOMODS4scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS4. = mod_geoip:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession:mod_auth_otp:mod_tls_redis
46 DSOMODS5scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS5. = mod_wrap2_redis:mod_redis:mod_memcache:mod_tls_memcache:mod_readme:mod_snmp:mod_digest:mod_ident
47 DSOMODS6scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS6. = mod_log_forensic:mod_qos:mod_statcache:mod_tls_fscache:mod_tls_shmcache:mod_dnsbl:mod_delay:mod_xfer:mod_ls
48 CONF_ARGSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/CONF_ARGS. := --prefix=/usr --with-pkgconfig=lib/pkgconfig \
49 --with-includes=$(shellscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/shell. pg_config --includedir)$(shellscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/shell. mysql_config --include|sed -e 's/-I/:/g'|sed -e 's/ //') \
50 --mandir=/usr/share/man --sysconfdir=/etc/$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.) --localstatedir=/run --libexecdir=/usr/lib/$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.) \
51 --enable-sendfile --enable-facl --enable-dso --enable-autoshadow --enable-ctrls --enable-openssl \
52 --enable-ipv6 --enable-nls --enable-memcache --with-lastlog=/var/log/lastlog --enable-pcre2 $(DEVELOPTscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEVELOPT.) \
53 --disable-strip --enable-redis $(BUILDNOTXATTRscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/BUILDNOTXATTR.)
54
55 ifeq ($(DEB_BUILD_GNU_TYPEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_BUILD_GNU_TYPE.), $(DEB_HOST_GNU_TYPEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_HOST_GNU_TYPE.))
56 CONF_ARGS += --build $(DEB_HOST_GNU_TYPE)
57 else
58 CONF_ARGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
59 endif
60
61 # Following line is used in Post-Hook of "gbp import-orig"
62 debian/controlscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/`debian/control`().: debian/control.in
63 sed -e 's/@VERSION@/$(VERSIONscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/VERSION.)/' $< >$@
64
65 debian/proftpd-substvarsscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/`debian/proftpd-substvars`().: debian/proftpd-substvars.in
66 sed -e 's/@VERSION@/$(VERSIONscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/VERSION.)/' $< >$@
67
68 %scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/`%`().:
69 dh $@ --without autoreconf
70
71 override_dh_auto_configurescip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_auto_configure().:
72 dh_update_autotools_configscip-debian debian debhelper . dh_update_autotools_config().
73
74 # upstream autotools stuff is old enough to miss --runstatedir option and break debhelper(>10)
75 # dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- $(CONF_ARGS) --with-shared=$(DSOMODS1):$(DSOMODS2):$(DSOMODS3):$(DSOMODS4):$(DSOMODS5):$(DSOMODS6)
76 install_user=$$(id -un) install_group=$$(id -gn) ./configure --infodir=\${prefixscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/prefix.}/share/info --disable-option-checking --disable-silent-rules --libdir=\${prefixscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/prefix.}/lib/$(DEB_BUILD_GNU_TYPEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DEB_BUILD_GNU_TYPE.) --disable-dependency-tracking \
77 $(CONF_ARGSscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/CONF_ARGS.) --with-shared=$(DSOMODS1scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS1.):$(DSOMODS2scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS2.):$(DSOMODS3scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS3.):$(DSOMODS4scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS4.):$(DSOMODS5scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS5.):$(DSOMODS6scip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/DSOMODS6.)
78
79 override_dh_auto_buildscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_auto_build().: debian/proftpd-substvars
80 dh_auto_buildscip-debian debian debhelper . dh_auto_build().
81
82 override_dh_auto_installscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_auto_install().:
83 dh_auto_installscip-debian debian debhelper . dh_auto_install().
84 rm -f $(CURDIRscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/CURDIR.)/debian/tmp/usr/sbin/in.proftpd
85
86 override_dh_auto_cleanscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_auto_clean().:
87 dh_auto_cleanscip-debian debian debhelper . dh_auto_clean().
88 # A few surplus files are removed using debian/clean
89 rm -f $$(find . -type l) $$(find . -name "*~" -o -name "*.orig")
90 rm -rf debian/*.gz core
91
92 override_dh_installchangelogsscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_installchangelogs().:
93 dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). ChangeLog
94
95 override_dh_installpamscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_installpam().:
96 dh_installpamscip-debian debian debhelper . dh_installpam(). --name=$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.)
97
98 override_dh_installinitscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_installinit().:
99 dh_installinitscip-debian debian debhelper . dh_installinit(). --name=$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.)
100
101 override_dh_installsystemdscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/override_dh_installsystemd().:
102 dh_installsystemdscip-debian debian debhelper . dh_installsystemd(). -p$(PACKAGEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/PACKAGE.) --no-enable --no-start --name=$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.) $(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.).socket
103 dh_installsystemdscip-debian debian debhelper . dh_installsystemd(). -p$(PACKAGEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/PACKAGE.) --name=$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.)@ $(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.)@.service
104 dh_installsystemdscip-debian debian debhelper . dh_installsystemd(). -p$(PACKAGEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/PACKAGE.) --name=$(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.) $(NAMEscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/NAME.).service
105
106 .PHONYscip-debian debian proftpd-dfsg 1.3.9d~dfsg-1 proftpd-dfsg/rules/`.PHONY`().: debian/proftpd-substvars debian/control