Package: crash Version: 7.2.1-1+b1 Followup-For: Bug #898707 Attaching a debdiff for an NMU fixing the cloning and the cleanup that still needs a small change in rules even after fixing the cloning problem.
-- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages crash depends on: ii binutils 2.30-20 ii libc6 2.27-3 ii liblzo2-2 2.10-0.1 ii libncurses6 6.1+20180210-3 ii libsnappy1v5 1.1.7-1 ii libtinfo6 6.1+20180210-3 ii zlib1g 1:1.2.11.dfsg-1 crash recommends no packages. Versions of packages crash suggests: ii kexec-tools 1:2.0.16-1 ii makedumpfile 1:1.6.3-2 -- no debconf information
diff -Nru crash-7.2.1/debian/changelog crash-7.2.1/debian/changelog --- crash-7.2.1/debian/changelog 2018-02-16 15:47:33.000000000 -0200 +++ crash-7.2.1/debian/changelog 2018-05-17 16:36:02.000000000 -0300 @@ -1,3 +1,11 @@ +crash (7.2.1-1.1) unstable; urgency=medium + + * NMU. + * Do not git clone eppic extension. (Closes: #898707) + * Remove generated files: CFLAGS.extra LDFLAGS.extra extensions/defs.h + + -- Thadeu Lima de Souza Cascardo <casca...@debian.org> Thu, 17 May 2018 16:36:02 -0300 + crash (7.2.1-1) unstable; urgency=medium * New upstream (closes: #890394) diff -Nru crash-7.2.1/debian/patches/0001-dont-git-clone-eppic-extension.patch crash-7.2.1/debian/patches/0001-dont-git-clone-eppic-extension.patch --- crash-7.2.1/debian/patches/0001-dont-git-clone-eppic-extension.patch 1969-12-31 21:00:00.000000000 -0300 +++ crash-7.2.1/debian/patches/0001-dont-git-clone-eppic-extension.patch 2018-05-17 16:35:18.000000000 -0300 @@ -0,0 +1,25 @@ +From: Thadeu Lima de Souza Cascardo <casca...@debian.org> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898707 +Origin: vendor, +Forwarded: not-needed +Last-Update: 2018-05-17 +Description: Build targets shoult not attempt network access + When git is installed, the eppic extensions makefile will try to access + github.com to clone the extension code. + + This patch simply fails to find the git binary by adding an extra + false condition to minimize the delta size. + +Index: crash-7.2.1/extensions/eppic.mk +=================================================================== +--- crash-7.2.1.orig/extensions/eppic.mk ++++ crash-7.2.1/extensions/eppic.mk +@@ -33,7 +33,7 @@ all: + then \ + if [ ! -f $(APPFILE) ]; \ + then \ +- if [ -f "$(GIT)" ]; \ ++ if [ -f "$(GIT)" -a 0 -gt 1 ]; \ + then \ + if [ -n "$(EPPIC_GIT_URL)" ]; then \ + git clone "$(EPPIC_GIT_URL)" eppic; \ diff -Nru crash-7.2.1/debian/patches/series crash-7.2.1/debian/patches/series --- crash-7.2.1/debian/patches/series 2018-02-16 15:47:18.000000000 -0200 +++ crash-7.2.1/debian/patches/series 2018-05-17 16:27:08.000000000 -0300 @@ -0,0 +1 @@ +0001-dont-git-clone-eppic-extension.patch diff -Nru crash-7.2.1/debian/rules crash-7.2.1/debian/rules --- crash-7.2.1/debian/rules 2018-02-16 15:47:18.000000000 -0200 +++ crash-7.2.1/debian/rules 2018-05-17 16:36:02.000000000 -0300 @@ -27,6 +27,9 @@ rm -Rf $(CURDIR)/gdb.files rm -Rf $(CURDIR)/build_data.c rm -Rf $(CURDIR)/extensions/*.so + rm -Rf $(CURDIR)/CFLAGS.extra + rm -Rf $(CURDIR)/LDFLAGS.extra + rm -Rf $(CURDIR)/extensions/defs.h override_dh_auto_install: dh_auto_install