From 0e977caddf74ab11eaa0793cdd90892d700d64fe Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Thu, 29 Mar 2012 16:06:45 +0000 Subject: [PATCH] switch to packaging format 3.0 (quit) --- debian/README.source | 3 --- debian/changelog | 1 + debian/compat | 2 +- debian/control | 2 +- debian/patches/00list | 1 - debian/patches/{01_fix_prototyp.dpatch => fix_prototyp} | 8 ++------ debian/patches/series | 1 + debian/rules | 6 ++---- debian/source/format | 2 +- 9 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 debian/README.source delete mode 100644 debian/patches/00list rename debian/patches/{01_fix_prototyp.dpatch => fix_prototyp} (69%) create mode 100644 debian/patches/series diff --git a/debian/README.source b/debian/README.source deleted file mode 100644 index f0fe49a..0000000 --- a/debian/README.source +++ /dev/null @@ -1,3 +0,0 @@ -We use dpatch for patch handling inside our package(s). Please see -/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for -documentation about dpatch. diff --git a/debian/changelog b/debian/changelog index 871825c..e9bb67d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ dns-flood-detector (1.12-7) UNRELEASED; urgency=low * Add trailing trunk/ at Vcs-Svn-field * Updating standards version to 3.9.3, no changes needed + * Switch over to packaging format 3.0 (quit) (closes: #664409) -- Jan Wagner Wed, 10 Mar 2010 00:09:56 +0100 diff --git a/debian/compat b/debian/compat index 7ed6ff8..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index d71c917..c004bdc 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: dns-flood-detector Section: net Priority: optional Maintainer: Jan Wagner -Build-Depends: debhelper (>= 5), dpatch, libpcap0.8-dev +Build-Depends: debhelper (>= 9), dpatch, libpcap0.8-dev Homepage: http://www.adotout.com/ Vcs-Browser: https://scm.uncompleted.org/projects/debian/repository/show/dns-flood-detector Vcs-Svn: https://scm.uncompleted.org/svn/debian/dns-flood-detector/trunk diff --git a/debian/patches/00list b/debian/patches/00list deleted file mode 100644 index 3220968..0000000 --- a/debian/patches/00list +++ /dev/null @@ -1 +0,0 @@ -01_fix_prototyp.dpatch diff --git a/debian/patches/01_fix_prototyp.dpatch b/debian/patches/fix_prototyp similarity index 69% rename from debian/patches/01_fix_prototyp.dpatch rename to debian/patches/fix_prototyp index d6b7390..765c740 100755 --- a/debian/patches/01_fix_prototyp.dpatch +++ b/debian/patches/fix_prototyp @@ -1,9 +1,5 @@ -#!/bin/sh /usr/share/dpatch/dpatch-run -## 01_fix_prototyp.dpatch by dann frazier -## -## DP: fix missing function prototype definition - -@DPATCH@ +From: dann frazier +Subject: fix missing function prototype definition --- dns-flood-detector-1.10/dns_flood_detector.c~ 2003-12-29 20:53:38.000000000 -0700 +++ dns-flood-detector-1.10/dns_flood_detector.c 2006-11-18 17:38:47.000000000 -0700 diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..70892ad --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix_prototyp diff --git a/debian/rules b/debian/rules index 8ead083..3ff2ce5 100755 --- a/debian/rules +++ b/debian/rules @@ -4,8 +4,6 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -include /usr/share/dpatch/dpatch.make - CFLAGS += -D_BSD_SOURCE -Wall -g LDLIBS += -lpcap -lpthread -lm @@ -16,14 +14,14 @@ else endif build: build-stamp -build-stamp: patch-stamp +build-stamp: dh_testdir # Add here commands to compile the package. $(CC) $(CFLAGS) dns_flood_detector.c $(LDLIBS) -o dns_flood_detector touch $@ -clean: unpatch +clean: dh_testdir dh_testroot rm -f build-stamp diff --git a/debian/source/format b/debian/source/format index d3827e7..163aaf8 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -1.0 +3.0 (quilt)