tags 628300 + patch
tags 628300 + pending
thanks

Dear maintainer,

I've prepared an NMU for arrayprobe (versioned as 2.0-3.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Bettina Wegner: Kinder (sind so kleine Hände)
diff -u arrayprobe-2.0/debian/changelog arrayprobe-2.0/debian/changelog
--- arrayprobe-2.0/debian/changelog
+++ arrayprobe-2.0/debian/changelog
@@ -1,3 +1,19 @@
+arrayprobe (2.0-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with 3.x kernels:
+    - add wildcard pattern for finding the 3.x or 2.6.x kernel source in
+      debian/rules
+    - update build-dependeny to linux-source | linux-source-2.6
+  * Fix "FTBFS: Configuration file ".config" not found!": add patch from
+    Ubuntu / Matthias Klose:
+    - debian/rules: Make sure we generate a random kernel config (any will
+      do, since we need to have the correct arch asm headers available,   
+      and `make prepare' takes care of that) before we attempt to compile
+      the app. Fixes FTBFS. (LP: #749225) (Closes: #628300)
+    
+ -- gregor herrmann <gre...@debian.org>  Tue, 25 Oct 2011 17:25:08 +0200
+
 arrayprobe (2.0-3.1) unstable; urgency=high
 
   * Non-maintainer upload with maintainer's consent.
diff -u arrayprobe-2.0/debian/rules arrayprobe-2.0/debian/rules
--- arrayprobe-2.0/debian/rules
+++ arrayprobe-2.0/debian/rules
@@ -22,7 +22,7 @@
 # stuff from the linux tree :( thus the build-dep on linux-source
 # this is sucky way to do it but we don't have the shell's nice % and
 # here and I can't be bothered to do it "the make way". Patches welcome.
-KSRC=$(shell ls -d /usr/src/linux-source-2.6*.tar.bz2 | tail -n1 |awk -F/usr/src/ '{print $$2}' |awk -F.tar.bz2 '{print $$1}')
+KSRC=$(shell ls -d $(wildcard /usr/src/linux-source-3.*.tar.bz2 /usr/src/linux-source-2.6.*.tar.bz2) | tail -n1 |awk -F/usr/src/ '{print $$2}' |awk -F.tar.bz2 '{print $$1}')
 # If you need to build on 2.4 use this line and the one further down instead
 #KSRC=$(shell ls -d /usr/src/linux-source-2.4*.tar.bz2 | tail -n1 |awk -F/usr/src/ '{print $$2}' |awk -F.tar.bz2 '{print $$1}')
 
@@ -36,7 +36,9 @@
 unpack-stamp:
 	if [ -e debian/linux ]; then rm -rf debian/linux; fi
 	mkdir debian/linux
-	cd debian/linux && tar jxvf /usr/src/$(KSRC).tar.bz2 && cd $(KSRC) && $(MAKE) include/asm
+	cd debian/linux && tar jxvf /usr/src/$(KSRC).tar.bz2 && cd $(KSRC) && \
+            $(MAKE) randconfig && \
+            $(MAKE) prepare
 	# If you need to build on 2.4 use this line and the one further up
 	# instead
 	#cd debian/linux && tar jxvf /usr/src/$(KSRC).tar.bz2 && cd $(KSRC) && $(MAKE) symlinks
diff -u arrayprobe-2.0/debian/control arrayprobe-2.0/debian/control
--- arrayprobe-2.0/debian/control
+++ arrayprobe-2.0/debian/control
@@ -2,7 +2,7 @@
 Section: admin
 Priority: extra
 Maintainer: Matt Taggart <tagg...@debian.org>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, automake1.9, autoconf, linux-source-2.6
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, automake1.9, autoconf, linux-source | linux-source-2.6
 Standards-Version: 3.8.0
 
 Package: arrayprobe

Attachment: signature.asc
Description: Digital signature

Reply via email to