[Glibc-bsd-commits] r4145 - in trunk: kfreebsd-10/debian kfreebsd-8/debian kfreebsd-8/debian/patches kfreebsd-9/debian

Robert Millan rmh at alioth.debian.org
Sun Mar 11 14:18:26 UTC 2012


Author: rmh
Date: 2012-03-11 14:18:26 +0000 (Sun, 11 Mar 2012)
New Revision: 4145

Added:
   trunk/kfreebsd-8/debian/patches/mk_kernel_symbols.diff
Modified:
   trunk/kfreebsd-10/debian/changelog
   trunk/kfreebsd-10/debian/rules
   trunk/kfreebsd-8/debian/changelog
   trunk/kfreebsd-8/debian/patches/series
   trunk/kfreebsd-8/debian/rules
   trunk/kfreebsd-9/debian/changelog
   trunk/kfreebsd-9/debian/rules
Log:
Set -DWITHOUT_KERNEL_SYMBOLS MK knob to make lintian happy.

Modified: trunk/kfreebsd-10/debian/changelog
===================================================================
--- trunk/kfreebsd-10/debian/changelog	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-10/debian/changelog	2012-03-11 14:18:26 UTC (rev 4145)
@@ -1,3 +1,9 @@
+kfreebsd-10 (10.0~svn232747-2) UNRELEASED; urgency=low
+
+  * Set -DWITHOUT_KERNEL_SYMBOLS MK knob to make lintian happy.
+
+ -- Robert Millan <rmh at debian.org>  Sun, 11 Mar 2012 15:16:11 +0100
+
 kfreebsd-10 (10.0~svn232747-1) experimental; urgency=low
 
   * New upstream snapshot.

Modified: trunk/kfreebsd-10/debian/rules
===================================================================
--- trunk/kfreebsd-10/debian/rules	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-10/debian/rules	2012-03-11 14:18:26 UTC (rev 4145)
@@ -46,6 +46,10 @@
 MAKE		:= make MACHINE_ARCH=$(kfreebsd_cpu) CC=gcc-$(gcc_version) WERROR= -DWITHOUT_SOURCELESS
 PATH		:= $(CURDIR)/config:/usr/lib/freebsd:$(PATH)
 
+# Disable install of *.ko.symbols files (their presence would trigger an
+# "unstripped-binary-or-object" lintian error).
+MAKE += -DWITHOUT_KERNEL_SYMBOLS	
+
 get-orig-source:
 	rm -rf $(ORIG_DIR)
 	for i in sys usr.sbin/config ; do \

Modified: trunk/kfreebsd-8/debian/changelog
===================================================================
--- trunk/kfreebsd-8/debian/changelog	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-8/debian/changelog	2012-03-11 14:18:26 UTC (rev 4145)
@@ -4,8 +4,9 @@
 
   [ Robert Millan ]
   * Enable pflog.  (Closes: #658677)
+  * Set -DWITHOUT_KERNEL_SYMBOLS MK knob to make lintian happy.
 
- -- Robert Millan <rmh at debian.org>  Fri, 10 Feb 2012 23:39:57 +0100
+ -- Robert Millan <rmh at debian.org>  Sun, 11 Mar 2012 13:31:48 +0100
 
 kfreebsd-8 (8.3~svn230343-1) experimental; urgency=low
 

Added: trunk/kfreebsd-8/debian/patches/mk_kernel_symbols.diff
===================================================================
--- trunk/kfreebsd-8/debian/patches/mk_kernel_symbols.diff	                        (rev 0)
+++ trunk/kfreebsd-8/debian/patches/mk_kernel_symbols.diff	2012-03-11 14:18:26 UTC (rev 4145)
@@ -0,0 +1,12 @@
+--- a/sys/conf/kmod.mk
++++ b/sys/conf/kmod.mk
+@@ -281,7 +281,8 @@
+ _kmodinstall:
+ 	${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
+ 	    ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}
+-.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG)
++.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \
++    (defined(MK_KERNEL_SYMBOLS) && ${MK_KERNEL_SYMBOLS} != "no")
+ 	${INSTALL} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
+ 	    ${_INSTALLFLAGS} ${PROG}.symbols ${DESTDIR}${KMODDIR}
+ .endif

Modified: trunk/kfreebsd-8/debian/patches/series
===================================================================
--- trunk/kfreebsd-8/debian/patches/series	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-8/debian/patches/series	2012-03-11 14:18:26 UTC (rev 4145)
@@ -5,6 +5,7 @@
 000_teken_backport.diff
 000_syscons_backport.diff
 000_linker.diff 
+mk_kernel_symbols.diff
 
 # Other patches that might or might not be mergeable
 001_misc.diff

Modified: trunk/kfreebsd-8/debian/rules
===================================================================
--- trunk/kfreebsd-8/debian/rules	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-8/debian/rules	2012-03-11 14:18:26 UTC (rev 4145)
@@ -44,6 +44,10 @@
 MAKE		:= make MACHINE_ARCH=$(kfreebsd_cpu) CC=gcc-$(gcc_version) WERROR=
 PATH		:= $(CURDIR)/config:/usr/lib/freebsd:$(PATH)
 
+# Disable install of *.ko.symbols files (their presence would trigger an
+# "unstripped-binary-or-object" lintian error).
+MAKE += -DWITHOUT_KERNEL_SYMBOLS	
+
 get-orig-source:
 	rm -rf $(ORIG_DIR)
 	for i in sys usr.sbin/config ; do \

Modified: trunk/kfreebsd-9/debian/changelog
===================================================================
--- trunk/kfreebsd-9/debian/changelog	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-9/debian/changelog	2012-03-11 14:18:26 UTC (rev 4145)
@@ -6,8 +6,9 @@
   * 904_dev_full.diff: Small bugfix affecting destruction of /dev/full.
   * Lower libc0.1 requirement to 2.11.3-1.
   * Enable pflog.  (Closes: #658677)
+  * Set -DWITHOUT_KERNEL_SYMBOLS MK knob to make lintian happy.
 
- -- Robert Millan <rmh at debian.org>  Fri, 10 Feb 2012 23:40:09 +0100
+ -- Robert Millan <rmh at debian.org>  Sun, 11 Mar 2012 15:15:52 +0100
 
 kfreebsd-9 (9.0-1) unstable; urgency=low
 

Modified: trunk/kfreebsd-9/debian/rules
===================================================================
--- trunk/kfreebsd-9/debian/rules	2012-03-11 12:30:04 UTC (rev 4144)
+++ trunk/kfreebsd-9/debian/rules	2012-03-11 14:18:26 UTC (rev 4145)
@@ -46,6 +46,10 @@
 MAKE		:= make MACHINE_ARCH=$(kfreebsd_cpu) CC=gcc-$(gcc_version) WERROR=
 PATH		:= $(CURDIR)/config:/usr/lib/freebsd:$(PATH)
 
+# Disable install of *.ko.symbols files (their presence would trigger an
+# "unstripped-binary-or-object" lintian error).
+MAKE += -DWITHOUT_KERNEL_SYMBOLS	
+
 get-orig-source:
 	rm -rf $(ORIG_DIR)
 	for i in sys usr.sbin/config ; do \




More information about the Glibc-bsd-commits mailing list