[med-svn] r12666 - in trunk/packages/beast-mcmc/trunk/debian: . patches

Andreas Tille tille at alioth.debian.org
Mon Dec 17 16:39:08 UTC 2012


Author: tille
Date: 2012-12-17 16:39:08 +0000 (Mon, 17 Dec 2012)
New Revision: 12666

Added:
   trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch
   trunk/packages/beast-mcmc/trunk/debian/patches/enable_hardening.patch
Modified:
   trunk/packages/beast-mcmc/trunk/debian/changelog
   trunk/packages/beast-mcmc/trunk/debian/patches/series
Log:
create soname for library


Modified: trunk/packages/beast-mcmc/trunk/debian/changelog
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/changelog	2012-12-17 16:37:28 UTC (rev 12665)
+++ trunk/packages/beast-mcmc/trunk/debian/changelog	2012-12-17 16:39:08 UTC (rev 12666)
@@ -9,6 +9,7 @@
      - Standards-Version: 3.9.4 (no changes needed)
      - do not depend from xterm any more
   * Remove now unneeded lintian overrides
+  * debian/patches/create_soname.patch: Create soname for library
 
  -- Andreas Tille <tille at debian.org>  Mon, 17 Dec 2012 16:43:17 +0100
 

Added: trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch	                        (rev 0)
+++ trunk/packages/beast-mcmc/trunk/debian/patches/create_soname.patch	2012-12-17 16:39:08 UTC (rev 12666)
@@ -0,0 +1,21 @@
+Description: Create SONAME for library
+Author: Andreas Tille <tille at debian.org>
+Created: Mon, 17 Dec 2012 16:43:17 +0100
+
+--- a/native/Makefile.linux
++++ b/native/Makefile.linux
+@@ -1,11 +1,11 @@
+ CC=gcc
+-CFLAGS += -O2 -funroll-loops 
++CFLAGS=-O2 -funroll-loops
+ INCLUDES=-I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux
+ 
+ OBJS = NucleotideLikelihoodCore.o
+ 
+ .c.o:
+-	${CC} $(CPPFLAGS) ${CFLAGS} $(LDFLAGS) ${INCLUDES} -c $*.c
++	${CC} ${CFLAGS} ${INCLUDES} -c $*.c
+ 
+ libNucleotideLikelihoodCore.so: ${OBJS}
+-	${CC} $(CPPFLAGS) ${CFLAGS} $(LDFLAGS) ${INCLUDES} -shared -o libNucleotideLikelihoodCore.so ${OBJS}
++	${CC} ${CFLAGS} ${INCLUDES} -shared -Wl,-soname,libNucleotideLikelihoodCore.so.0 -o libNucleotideLikelihoodCore.so ${OBJS}

Added: trunk/packages/beast-mcmc/trunk/debian/patches/enable_hardening.patch
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/patches/enable_hardening.patch	                        (rev 0)
+++ trunk/packages/beast-mcmc/trunk/debian/patches/enable_hardening.patch	2012-12-17 16:39:08 UTC (rev 12666)
@@ -0,0 +1,21 @@
+Description: Enable propagation of hardening flags
+Author: Andreas Tille <tille at debian.org>
+Date: Tue, 05 Jun 2012 14:38:11 +0200
+
+--- beast-mcmc-1.7.2.orig/native/Makefile.linux
++++ beast-mcmc-1.7.2/native/Makefile.linux
+@@ -1,11 +1,11 @@
+ CC=gcc
+-CFLAGS=-O2 -funroll-loops
++CFLAGS += -O2 -funroll-loops 
+ INCLUDES=-I${JAVA_HOME}/include/ -I${JAVA_HOME}/include/linux
+ 
+ OBJS = NucleotideLikelihoodCore.o
+ 
+ .c.o:
+-	${CC} ${CFLAGS} ${INCLUDES} -c $*.c
++	${CC} $(CPPFLAGS) ${CFLAGS} $(LDFLAGS) ${INCLUDES} -c $*.c
+ 
+ libNucleotideLikelihoodCore.so: ${OBJS}
+-	${CC} ${CFLAGS} ${INCLUDES} -shared -o libNucleotideLikelihoodCore.so ${OBJS}
++	${CC} $(CPPFLAGS) ${CFLAGS} $(LDFLAGS) ${INCLUDES} -shared -o libNucleotideLikelihoodCore.so ${OBJS}

Modified: trunk/packages/beast-mcmc/trunk/debian/patches/series
===================================================================
--- trunk/packages/beast-mcmc/trunk/debian/patches/series	2012-12-17 16:37:28 UTC (rev 12665)
+++ trunk/packages/beast-mcmc/trunk/debian/patches/series	2012-12-17 16:39:08 UTC (rev 12666)
@@ -2,3 +2,4 @@
 fix_classpath_in_build_xml.patch
 patch_tex_docs.patch
 fix_classpath_in_build_tracer_xml.patch
+create_soname.patch




More information about the debian-med-commit mailing list