[med-svn] r15042 - in trunk/packages/libace-perl/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Tue Oct 29 13:06:34 UTC 2013
Author: tille
Date: 2013-10-29 13:06:34 +0000 (Tue, 29 Oct 2013)
New Revision: 15042
Added:
trunk/packages/libace-perl/trunk/debian/patches/
trunk/packages/libace-perl/trunk/debian/patches/hardening.patch
trunk/packages/libace-perl/trunk/debian/patches/series
Modified:
trunk/packages/libace-perl/trunk/debian/rules
Log:
Hardening flags in compiler; LDFLAGS is not yet solved
Added: trunk/packages/libace-perl/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/libace-perl/trunk/debian/patches/hardening.patch (rev 0)
+++ trunk/packages/libace-perl/trunk/debian/patches/hardening.patch 2013-10-29 13:06:34 UTC (rev 15042)
@@ -0,0 +1,17 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Tue, 29 Oct 2013 11:08:14 +0100
+Description: Try to propagate hardening flags
+
+--- a/acelib/wmake/LINUX_DEF
++++ b/acelib/wmake/LINUX_DEF
+@@ -16,8 +16,8 @@
+ #################################################################
+
+ NAME = LINUX
+-COMPILER = gcc -g -Wall -O2 -DACEDB4
+-LINKER = gcc -g
++COMPILER = gcc -g -Wall -O2 -DACEDB4 $(CFLAGS)
++LINKER = gcc -g $(LDFLAGS)
+ USEROPTS=-fPIC
+
+ LIBS = -lm
Added: trunk/packages/libace-perl/trunk/debian/patches/series
===================================================================
--- trunk/packages/libace-perl/trunk/debian/patches/series (rev 0)
+++ trunk/packages/libace-perl/trunk/debian/patches/series 2013-10-29 13:06:34 UTC (rev 15042)
@@ -0,0 +1 @@
+hardening.patch
Modified: trunk/packages/libace-perl/trunk/debian/rules
===================================================================
--- trunk/packages/libace-perl/trunk/debian/rules 2013-10-29 12:42:34 UTC (rev 15041)
+++ trunk/packages/libace-perl/trunk/debian/rules 2013-10-29 13:06:34 UTC (rev 15042)
@@ -26,7 +26,8 @@
# Directory does not exist. Shall I create it for you? [y]
# Directory for the acebrowser HTML files and images (~username ok): [/usr/local/apache/htdocs/ace]
perl -e "print qq(3\ny\n$(CURDIR)/debian/$(PACKAGE)/etc/libace-perl\ny\n$(CURDIR)/debian/$(PACKAGE)/usr/lib/cgi-bin\ny\n$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE))" | $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ # $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ $(MAKE) CFLAGS="$(CFLAGS)" LD_RUN_PATH="" LDFLAGS=$(LDFLAGS)
override_dh_auto_test:
# Disabled as they need internet access.
More information about the debian-med-commit
mailing list