[med-svn] [Git][med-team/libtabixpp][master] Add hardening patch & ship symbols

Michael R. Crusoe gitlab at salsa.debian.org
Fri Dec 13 16:51:43 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / libtabixpp


Commits:
6f269a28 by Michael R. Crusoe at 2019-12-13T16:35:41Z
Add hardening patch & ship symbols

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/libtabixpp0.symbols
- + debian/patches/hardening
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,8 +1,15 @@
-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 at 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 at gmail.com>  Fri, 13 Dec 2019 17:07:38 +0100
 
 libtabixpp (1.0.0-4) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -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)


=====================================
debian/libtabixpp0.symbols
=====================================
@@ -0,0 +1,11 @@
+libtabixpp.so.0 libtabixpp0 #MINVER#
+ _ZN5Tabix11getNextLineERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5Tabix9getHeaderERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5Tabix9setRegionERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC1ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC1Ev at Base 1.0.0
+ _ZN5TabixC2ERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 1.0.0
+ _ZN5TabixC2Ev at Base 1.0.0
+ _ZN5TabixD1Ev at Base 1.0.0
+ _ZN5TabixD2Ev at Base 1.0.0
+ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 1.0.0


=====================================
debian/patches/hardening
=====================================
@@ -0,0 +1,28 @@
+Author: Michael R. Crusoe <michael.crusoe at 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:


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 build_shared_lib_with_debian_htslib.patch
+hardening



View it on GitLab: https://salsa.debian.org/med-team/libtabixpp/commit/6f269a28e008a608320f8346f05da5cc5c101fc4

-- 
View it on GitLab: https://salsa.debian.org/med-team/libtabixpp/commit/6f269a28e008a608320f8346f05da5cc5c101fc4
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/20191213/2d44aa5c/attachment-0001.html>


More information about the debian-med-commit mailing list