[med-svn] r19062 - in trunk/packages/murasaki/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Wed Apr 15 13:43:45 UTC 2015


Author: tille
Date: 2015-04-15 13:43:44 +0000 (Wed, 15 Apr 2015)
New Revision: 19062

Added:
   trunk/packages/murasaki/trunk/debian/patches/hardening.patch
Modified:
   trunk/packages/murasaki/trunk/debian/install
   trunk/packages/murasaki/trunk/debian/patches/series
   trunk/packages/murasaki/trunk/debian/rules
Log:
Use debian-med path to keep all the *.pl file accessible for Debian Med users without caring about name space issues and file extension lintian noise


Modified: trunk/packages/murasaki/trunk/debian/install
===================================================================
--- trunk/packages/murasaki/trunk/debian/install	2015-04-15 13:15:21 UTC (rev 19061)
+++ trunk/packages/murasaki/trunk/debian/install	2015-04-15 13:43:44 UTC (rev 19062)
@@ -1,4 +1,4 @@
-*.p[lm]			usr/share/perl5/murasaki
+*.p[lm]			usr/lib/debian-med/bin/
 debian/config.pl	usr/share/perl5/murasaki
 perlmodules/*		usr/share/perl5/murasaki
 geneparse		usr/bin

Added: trunk/packages/murasaki/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/murasaki/trunk/debian/patches/hardening.patch	                        (rev 0)
+++ trunk/packages/murasaki/trunk/debian/patches/hardening.patch	2015-04-15 13:43:44 UTC (rev 19062)
@@ -0,0 +1,24 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 15 Apr 2015 14:06:19 +0200
+Description: Hack in LDFLAGS for hardening
+
+--- a/Makefile
++++ b/Makefile
+@@ -18,4 +18,4 @@ clean:
+ depend:
+ 	$(MAKE) -C src depend
+ 
+-#bind them
+\ No newline at end of file
++#bind them
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -14,7 +14,7 @@
+ 
+ #If your libraries (boost/cryptopp) are in another directory, add them here:
+ INCLUDE	 += -I/usr/include/pstreams
+-LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams -lboost_system
++LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams -lboost_system $(LDFLAGS)
+ ##some systems might use this boost naming scheme, but they're a minority at this point
+ #LDLIBS    = -lboost_regex -lboost_filesystem -lboost_iostreams 
+ CPPFLAGS += $(OPTIM) $(INCLUDE) -Wall $(MARCH)

Modified: trunk/packages/murasaki/trunk/debian/patches/series
===================================================================
--- trunk/packages/murasaki/trunk/debian/patches/series	2015-04-15 13:15:21 UTC (rev 19061)
+++ trunk/packages/murasaki/trunk/debian/patches/series	2015-04-15 13:43:44 UTC (rev 19062)
@@ -1,2 +1,3 @@
 use_proper_libboost_names.patch
 include_libpstream.patch
+hardening.patch

Modified: trunk/packages/murasaki/trunk/debian/rules
===================================================================
--- trunk/packages/murasaki/trunk/debian/rules	2015-04-15 13:15:21 UTC (rev 19061)
+++ trunk/packages/murasaki/trunk/debian/rules	2015-04-15 13:43:44 UTC (rev 19062)
@@ -3,5 +3,16 @@
 # Copyright 2008 Andreas Tille
 # GPL
 
+DEBPKGNAME	:= $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+DEBMEDBIN	:= debian/$(DEBPKGNAME)/usr/lib/debian-med/bin
+MANDIR		:= debian/$(DEBPKGNAME)/usr/share/man/man1
+
 %:
 	dh $@
+
+override_dh_installman:
+	dh_installman
+	for pscript in $(DEBMEDBIN)/* ; do \
+	    pod2man $${pscript} > $(MANDIR)/`basename $${pscript}`.1 ; \
+	done
+	find $(MANDIR) -empty -delete




More information about the debian-med-commit mailing list