[Git][debian-proftpd-team/proftpd-mod-statsd][master] Add "export DEB_BUILD_MAINT_OPTIONS = hardening=+all". Remove override_dh_auto_build.

Hilmar Preuße gitlab at salsa.debian.org
Thu Nov 5 21:08:30 GMT 2020



Hilmar Preuße pushed to branch master at Debian ProFTPD Team / proftpd-mod-statsd


Commits:
2e20f1fd by Hilmar Preusse at 2020-11-05T22:08:16+01:00
Add "export DEB_BUILD_MAINT_OPTIONS = hardening=+all". Remove override_dh_auto_build.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+proftpd-mod-statsd (0.1-2) UNRELEASED; urgency=medium
+
+  * Remove override_dh_auto_build
+    - dh $@ ... --max-parallel=1 (just a precaution).
+  * d/rules: add "export DEB_BUILD_MAINT_OPTIONS = hardening=+all"
+    ...does not seem to be effective.
+
+ -- Hilmar Preusse <hille42 at web.de>  Thu, 05 Nov 2020 22:01:57 +0100
+
 proftpd-mod-statsd (0.1-1) unstable; urgency=low
 
   * Initial Release. (Closes: #969763)


=====================================
debian/rules
=====================================
@@ -1,20 +1,17 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DH_VERBOSE=1
 MODULE_NAME=mod_statsd
 DEBNAME=proftpd-mod-statsd
 
 %:
-	dh $@ --without autoreconf
+	dh $@ --without autoreconf --max-parallel=1
 
 override_dh_auto_configure:
 	./configure --with-modules=$(MODULE_NAME) --enable-dso
 
-override_dh_auto_build:
-	#DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -c $(MODULE_NAME).c
-	make
-
 override_dh_auto_install:
 	#DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -i -c $(MODULE_NAME).c
 	make install DESTDIR=$(CURDIR)/debian/$(DEBNAME)



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-statsd/-/commit/2e20f1fd96473d838b6d0ba6999fdaf33005b777

-- 
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-statsd/-/commit/2e20f1fd96473d838b6d0ba6999fdaf33005b777
You're receiving this email because of your account on salsa.debian.org.




More information about the Pkg-proftpd-maintainers mailing list