[Git][debian-proftpd-team/proftpd-mod-proxy][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:17:24 GMT 2020



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


Commits:
b2b7a974 by Hilmar Preusse at 2020-11-05T22:17:14+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-proxy (0.7-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:12:47 +0100
+
 proftpd-mod-proxy (0.7-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
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_proxy
 DEBNAME=proftpd-mod-proxy
 
 %:
-	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)
@@ -29,6 +26,5 @@ override_dh_auto_clean:
 	find lib -name \*.o | xargs rm -f
 	find lib -name \*.lo | xargs rm -f
 	DESTDIR=$(CURDIR)/debian/$(DEBNAME) prxs -d $(MODULE_NAME).c
-	#make clean
 
 override_dh_auto_test:



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd-mod-proxy/-/commit/b2b7a9740e0a33c2e47ea67ab1201a21a4b9ce62

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




More information about the Pkg-proftpd-maintainers mailing list