Verified Commit 6f269a28 authored by Michael R. Crusoe's avatar Michael R. Crusoe 🏳️‍🌈
Browse files

Add hardening patch & ship symbols

parent 48576796
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
libtabixpp (1.0.0-5) UNRELEASED; urgency=medium
libtabixpp (1.0.0-5) unstable; urgency=medium

  * Team upload.

  [ Jelmer Vernooij ]
  * Use secure copyright file specification URI.

 -- Jelmer Vernooij <jelmer@debian.org>  Fri, 26 Oct 2018 01:55:52 +0000
  [ Michael R. Crusoe ]
  * Add patch to enable hardening.
  * Ship libtabixpp.symbols

 -- Michael R. Crusoe <michael.crusoe@gmail.com>  Fri, 13 Dec 2019 17:07:38 +0100

libtabixpp (1.0.0-4) unstable; urgency=medium

+3 −3
Original line number Diff line number Diff line
@@ -32,11 +32,11 @@ Package: libtabixpp-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: ${shlibs:Depends},
         ${misc:Depends},
Depends: ${misc:Depends},
         libtabixpp0 (= ${binary:Version}),
         libhts-dev,
         zlib1g-dev
         zlib1g-dev,
         ${devlibs:Depends}
Pre-Depends: ${misc:Pre-Depends}
Provides: libtabixpp-dev
Description: C++ wrapper to tabix indexer (development files)
+11 −0
Original line number Diff line number Diff line
libtabixpp.so.0 libtabixpp0 #MINVER#
 _ZN5Tabix11getNextLineERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.0.0
 _ZN5Tabix9getHeaderERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.0.0
 _ZN5Tabix9setRegionERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.0.0
 _ZN5TabixC1ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.0.0
 _ZN5TabixC1Ev@Base 1.0.0
 _ZN5TabixC2ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.0.0
 _ZN5TabixC2Ev@Base 1.0.0
 _ZN5TabixD1Ev@Base 1.0.0
 _ZN5TabixD2Ev@Base 1.0.0
 _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 1.0.0
+28 −0
Original line number Diff line number Diff line
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: enable hardening flags passthrough
--- libtabixpp.orig/Makefile
+++ libtabixpp/Makefile
@@ -17,12 +17,12 @@
 .SUFFIXES:.c .o
 
 .c.o:
-	$(CC) -c $(CXXFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
+	$(CC) $(CPPFLAGS) -c $(CXXFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
 
 all:	$(PROG) libtabixpp.so.$(SONUMBER) libtabixpp.a
 
 tabix.o: tabix.cpp tabix.hpp
-	$(CXX) $(CXXFLAGS) -c tabix.cpp $(INCLUDES)
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c tabix.cpp $(INCLUDES)
 
 libtabixpp.a: tabix.o
 	ar rcs $@ $<
@@ -31,7 +31,7 @@
 	$(CXX) -shared -o $@ $< -fPIC -Wl,-soname,libtabixpp.so.$(SONUMBER) $(LDFLAGS) -lhts
 
 tabix++: tabix.o main.cpp
-	$(CXX) $(CXXFLAGS) -o $@ main.cpp tabix.o $(INCLUDES) $(LIBPATH) \
+	$(CXX) $(LDFLAGS) $(CPPFLAGS) $(CXXFLAGS) -o $@ main.cpp tabix.o $(INCLUDES) $(LIBPATH) \
 		-lhts -lpthread -lm -lz
 
 cleanlocal:
+1 −0
Original line number Diff line number Diff line
build_shared_lib_with_debian_htslib.patch
hardening