[med-svn] [Git][med-team/libace-perl][master] respect hardening flags

Sascha Steinbiss gitlab at salsa.debian.org
Sat Feb 20 16:22:42 GMT 2021



Sascha Steinbiss pushed to branch master at Debian Med / libace-perl


Commits:
10682690 by Sascha Steinbiss at 2021-02-20T17:22:31+01:00
respect hardening flags

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/hardening.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+libace-perl (1.92-10) unstable; urgency=medium
+
+  * Team upload.
+  * Make acelib C Makefile respect hardening CFLAGS and CPPFLAGS.
+    Closes: #974196
+
+ -- Sascha Steinbiss <satta at debian.org>  Sat, 20 Feb 2021 17:14:04 +0100
+
 libace-perl (1.92-9) unstable; urgency=medium
 
   [ Matthias Klose ]


=====================================
debian/patches/hardening.patch
=====================================
@@ -0,0 +1,22 @@
+--- a/acelib/Makefile
++++ b/acelib/Makefile
+@@ -42,8 +42,8 @@
+ ## Different platforms use CC or COMPILE.c
+ #  (USEROPTS - see comments at top of file)
+ #
+-CC =        $(COMPILER) $(USEROPTS) $(IDIR) -D$(NAME) -c
+-COMPILE.c = $(COMPILER) $(USEROPTS) $(IDIR) -D$(NAME) -c
++CC =        $(COMPILER) $(CFLAGS) $(CPPFLAGS) $(USEROPTS) $(IDIR) -D$(NAME) -c
++COMPILE.c = $(COMPILER) $(CFLAGS) $(CPPFLAGS) $(USEROPTS) $(IDIR) -D$(NAME) -c
+ 
+ ###########################################################
+ ## make targets.
+@@ -106,7 +106,7 @@
+ rpcace_sp.o: rpcace_sp.c rpcace_svc.c
+ 
+ aceclientlib.o: aceclientlib.c rpcace.h
+-	$(CC) -c $<
++	$(CC) $(LDFLAGS) -c $<
+ 
+ RPC_CLIENT_OBJS = aceclientlib.o rpcace_clnt.o rpcace_xdr.o
+ RPC_SERVER_OBJS = rpcace_sp.o  rpcace_xdr.o 


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ spelling.patch
 parallel-ftbfs.patch
 defined_hash_array.patch
 libtirpc.patch
+hardening.patch



View it on GitLab: https://salsa.debian.org/med-team/libace-perl/-/commit/106826902ca49dc418f2cc8d7c5fbf6f05603967

-- 
View it on GitLab: https://salsa.debian.org/med-team/libace-perl/-/commit/106826902ca49dc418f2cc8d7c5fbf6f05603967
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210220/97d0f77d/attachment-0001.htm>


More information about the debian-med-commit mailing list