Commit 010df5b2 authored by Mattia Dongili's avatar Mattia Dongili

Switch to dpkg-source 3.0 (quilt) format

As a side effect, orig.tar.gz had to be repackaged to remove garbage
like a .pc directory that confuses dpkg-source in the new format.
While at that, Sourceforge is down and I can't check whether the
upstream tarball was broken or our version of it had the extra garbage.
Signed-off-by: 's avatarMattia Dongili <malattia@linux.it>
parent bb52e6dd
uml-utilities (20070815-3) UNRELEASED; urgency=medium
uml-utilities (20070815.1-1) UNRELEASED; urgency=medium
* Bump compat level to latest. (Closes: #817708)
* Stop setting permissions on /dev/net/tun. (Closes: #516691)
* Switch to dpkg-source 3.0 (quilt) format, repackaged orig.tgz to remove
garbage like a .pc directory that confuses dpkg-source.
-- Mattia Dongili <malattia@debian.org> Tue, 12 Jul 2016 07:33:48 -0700
......
......@@ -3,7 +3,7 @@ Section: otherosfs
Priority: extra
Maintainer: User Mode Linux Maintainers <pkg-uml-pkgs@lists.alioth.debian.org>
Uploaders: Andreas Schuldei <andreas@schuldei.org>, Mattia Dongili <malattia@debian.org>
Build-Depends: debhelper (>> 9.0.0), libreadline-dev, docbook-to-man, dpatch, libfuse-dev
Build-Depends: debhelper (>> 9.0.0), libreadline-dev, docbook-to-man, libfuse-dev
Standards-Version: 3.9.8
Package: uml-utilities
......
03_dont_link_against_ncurses.dpatch
#! /bin/sh /usr/share/dpatch/dpatch-run
## 04_dont_link_against_ncurses.dpatch by Sven Joachim <svenjoac@gmx.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Do not unnecessarily link against ncurses
@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' uml-utilities-20070815~/mconsole/Makefile uml-utilities-20070815/mconsole/Makefile
--- uml-utilities-20070815~/mconsole/Makefile 2006-02-27 21:03:01.000000000 +0100
+++ uml-utilities-20070815/mconsole/Makefile 2011-10-30 21:18:52.820631690 +0100
@@ -1,7 +1,7 @@
BIN = uml_mconsole
OBJS = $(BIN).o
CFLAGS ?= -g -Wall
-LIBS = ../lib/libuml.a -lreadline -lncurses
+LIBS = ../lib/libuml.a -lreadline
BIN_DIR ?= /usr/bin
Author: Sven Joachim <svenjoac@gmx.de>
Description: Do not unnecessarily link against ncurses
--- uml-utilities-20070815.orig/mconsole/Makefile
+++ uml-utilities-20070815/mconsole/Makefile
@@ -1,7 +1,7 @@
BIN = uml_mconsole
OBJS = $(BIN).o
CFLAGS ?= -g -Wall
-LIBS = ../lib/libuml.a -lreadline -lncurses
+LIBS = ../lib/libuml.a -lreadline
BIN_DIR ?= /usr/bin
Author: Mattia Dongili <malattia@debian.org>
Description: upstream make file removes the spec file on cleaning and that causes grief.
Index: uml-utilities/Makefile
===================================================================
--- uml-utilities.orig/Makefile
+++ uml-utilities/Makefile
@@ -20,7 +20,7 @@ export BIN_DIR LIB_DIR CFLAGS
all install:
set -e ; for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
-tarball : clean spec
+tarball : clean
cd .. ; \
mv tools tools-$(UMLVER); \
tar cjf $(TARBALL) tools-$(UMLVER); \
@@ -28,7 +28,6 @@ tarball : clean spec
clean:
rm -rf *~
- rm -f uml_util.spec
set -e ; for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
spec:
leave_uml_util.spec.alone.patch
dont_link_against_ncurses.patch
......@@ -10,18 +10,8 @@ export DEB_BUILD_ARCH?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
tmp:=$(CURDIR)/debian/uml-utilities
patch: patch-stamp
patch-stamp:
dpatch apply-all
touch $@
unpatch:
dpatch deapply-all
rm -rf debian/patched
rm -f patch-stamp
configure: configure-stamp
configure-stamp: patch-stamp
configure-stamp:
dh_testdir
touch configure-stamp
......@@ -42,8 +32,7 @@ endif
touch build-stamp
clean: clean-unpatched
clean-unpatched: unpatch
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment