[Git][debian-proftpd-team/proftpd-mod-statsd][master] Build using the default build flags; enable blhc test on Salsa CI.

Hilmar Preuße (@hilmar) gitlab at salsa.debian.org
Fri Nov 21 23:14:04 GMT 2025



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


Commits:
b7c8a829 by Hilmar Preuße at 2025-11-22T00:13:56+01:00
Build using the default build flags; enable blhc test on Salsa CI.

- - - - -


3 changed files:

- debian/changelog
- debian/gitlab-ci.yml
- debian/patches/01_built_outside_tree


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,8 @@ proftpd-mod-statsd (0.1-2) UNRELEASED; urgency=medium
   * d/rules: add "export DEB_BUILD_MAINT_OPTIONS = hardening=+all"
     ...does not seem to be effective.
   * Enable Reprotest on Salsa CI.
+  * Build using the default build flags (Closes: #1119534);
+    enable blhc test on Salsa CI.
 
  -- Hilmar Preusse <hille42 at web.de>  Thu, 05 Nov 2020 22:01:57 +0100
 


=====================================
debian/gitlab-ci.yml
=====================================
@@ -6,7 +6,7 @@ include:
 # don't want
 variables:
   SALSA_CI_DISABLE_AUTOPKGTEST: 0
-  SALSA_CI_DISABLE_BLHC: 1
+  SALSA_CI_DISABLE_BLHC: 0
   SALSA_CI_DISABLE_LINTIAN: 0
   SALSA_CI_DISABLE_PIUPARTS: 0
   SALSA_CI_DISABLE_REPROTEST: 0


=====================================
debian/patches/01_built_outside_tree
=====================================
@@ -1,9 +1,7 @@
 Bring in Make.rule to build w/o proftp build tree installed.
 ---
-Index: proftpd-mod-statsd/Make.rules
-===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ proftpd-mod-statsd/Make.rules	2020-08-17 23:45:37.369552861 +0200
+--- /dev/null
++++ proftpd-mod-statsd/Make.rules
 @@ -0,0 +1,116 @@
 +prefix=/usr
 +exec_prefix=/usr
@@ -57,12 +55,12 @@ Index: proftpd-mod-statsd/Make.rules
 +
 +# Preprocessor compilation flags.
 +#
-+CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
-+ADDL_CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
++ADDL_CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
 +
 +# Our compiler flags.
 +#
-+CFLAGS=-g2 -g -O2 -fdebug-prefix-map=/home/hille/devel/proftp_debian/git/proftpd=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -Werror=implicit-function-declaration
++CFLAGS=-Wall -fno-omit-frame-pointer
++CFLAGS += $(shell dpkg-buildflags --get CFLAGS)
 +DEFINES=$(PLATFORM)
 +
 +# Module-specific libraries to link against.  These libraries may be
@@ -121,11 +119,9 @@ Index: proftpd-mod-statsd/Make.rules
 +
 +FTPWHO_OBJS=ftpwho.o scoreboard.o misc.o
 +BUILD_FTPWHO_OBJS=utils/ftpwho.o utils/scoreboard.o utils/misc.o
-Index: proftpd-mod-statsd/Makefile.in
-===================================================================
---- proftpd-mod-statsd.orig/Makefile.in	2020-08-17 23:45:37.373550862 +0200
-+++ proftpd-mod-statsd/Makefile.in	2020-08-17 23:45:37.369552861 +0200
-@@ -2,7 +2,7 @@
+--- proftpd-mod-statsd.orig/Makefile.in
++++ proftpd-mod-statsd/Makefile.in
+@@ -2,12 +2,13 @@
  top_srcdir=../..
  srcdir=@srcdir@
  
@@ -134,16 +130,22 @@ Index: proftpd-mod-statsd/Makefile.in
  
  .SUFFIXES: .la .lo
  
-@@ -20,7 +20,7 @@
+ SHARED_CFLAGS=-DPR_SHARED_MODULE
+ SHARED_LDFLAGS=-avoid-version -export-dynamic -module
++SHARED_LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
+ VPATH=@srcdir@
+ 
+ MODULE_NAME=mod_statsd
+@@ -20,7 +21,7 @@
    metric.lo
  
  # Necessary redefinitions
 -INCLUDES=-I. -I./include -I../.. -I../../include @INCLUDES@
-+INCLUDES=-I. -I./debian/proftp_code -I../.. -I../../include -I/usr/include/proftpd @INCLUDES@
++INCLUDES=-I. -I../.. -I../../include -I/usr/include/proftpd @INCLUDES@
  CPPFLAGS= $(ADDL_CPPFLAGS) -DHAVE_CONFIG_H $(DEFAULT_PATHS) $(PLATFORM) $(INCLUDES)
  LDFLAGS=-L../../lib @LIBDIRS@
  
-@@ -31,7 +31,7 @@
+@@ -31,7 +32,7 @@
  	$(LIBTOOL) --mode=compile --tag=CC $(CC) $(CPPFLAGS) $(CFLAGS) $(SHARED_CFLAGS) -c $< -o $@
  
  shared: $(SHARED_MODULE_OBJS)



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

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




More information about the Pkg-proftpd-maintainers mailing list