[Git][debian-proftpd-team/proftpd-mod-vroot][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 19:56:13 GMT 2020



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


Commits:
78405187 by Hilmar Preusse at 2020-11-05T20:55:59+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
=====================================
@@ -6,6 +6,10 @@ proftpd-mod-vroot (0.9.8-3) UNRELEASED; urgency=medium
     Can now switch to Debhelper = 13.
   * Remove configure script from .gitignore.
   * Trailing-whitespace
+  * 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>  Sat, 15 Aug 2020 00:04:58 +0200
 


=====================================
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_vroot
 DEBNAME=proftpd-mod-vroot
 
 %:
-	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-vroot/-/commit/784051875352dd1df3d8de6b6f02ce54090e4485

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




More information about the Pkg-proftpd-maintainers mailing list