[med-svn] [blat] 01/03: Hardening for all binaries

Andreas Tille tille at debian.org
Mon Mar 3 12:19:34 UTC 2014


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository blat.

commit d76e7b9ec08bd1d6cbc7c304ad9933595374caf7
Author: Andreas Tille <tille at debian.org>
Date:   Mon Mar 3 10:12:35 2014 +0100

    Hardening for all binaries
---
 debian/patches/hardening.patch | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
index 6babe02..94fa468 100644
--- a/debian/patches/hardening.patch
+++ b/debian/patches/hardening.patch
@@ -90,3 +90,36 @@ Description: Propagate hardening options
  
  
  lib:
+--- a/gfClient/makefile
++++ b/gfClient/makefile
+@@ -8,7 +8,7 @@ O = gfClient.o
+ X = gfClient
+ 
+ gfClient: $O $(MYLIBS)
+-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/$X $O $(MYLIBS) $L
++	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/$X $O $(MYLIBS) $L $(LDFLAGS)
+ 	${STRIP} ${DESTDIR}${BINDIR}/$X${EXE}
+ 
+ clean::
+--- a/gfServer/makefile
++++ b/gfServer/makefile
+@@ -8,7 +8,7 @@ O = gfServer.o
+ X = gfServer
+ 
+ gfServer: $O $(MYLIBS)
+-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/$X $O $(MYLIBS) $L
++	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/$X $O $(MYLIBS) $L $(LDFLAGS)
+ 	${STRIP} ${DESTDIR}${BINDIR}/$X${EXE}
+ 
+ test:
+--- a/blat/makefile
++++ b/blat/makefile
+@@ -7,7 +7,7 @@ MYLIBS =  $(MYLIBDIR)/jkOwnLib.a $(MYLIB
+ O = blat.o
+ 
+ blat: $O $(MYLIBS)
+-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/blat $O $(MYLIBS) $L
++	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/blat $O $(MYLIBS) $L $(LDFLAGS)
+ 	${STRIP} ${DESTDIR}${BINDIR}/blat${EXE}
+ 
+ all:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/blat.git



More information about the debian-med-commit mailing list