Your message dated Fri, 24 Jul 2015 12:49:08 +0000
with message-id <[email protected]>
and subject line Bug#766668: fixed in autodep8 0.2
has caused the Debian Bug report #766668,
regarding Add support for dkms packages
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
766668: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766668
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autodep8
Version: 0.1
Severity: normal
Hi,
The attached patch adds support for dkms packages. The test command
dkms-autopkgtest will be in the dkms package.
Thanks for considering it.
JB.
--
Jean-Baptiste Lallement
>From 631e71a6cf14c8a3e8e0435bbae5bf8934428733 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Lallement <[email protected]>
Date: Fri, 24 Oct 2014 12:30:14 -0400
Subject: [PATCH] support/dkms: add support for dkms packages
---
debian/changelog | 4 ++++
support/dkms/detect | 7 +++++++
support/dkms/generate | 7 +++++++
test.sh | 37 +++++++++++++++++++++++++++++++++++++
4 files changed, 55 insertions(+)
create mode 100755 support/dkms/detect
create mode 100755 support/dkms/generate
diff --git a/debian/changelog b/debian/changelog
index 94c5148..900ab17 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
autodep8 (0.2) UNRELEASED; urgency=medium
+ [ Antonio Terceiro ]
* debian/control: add Vcs-* fields
+ [ Jean-Baptiste Lallement ]
+ * support/dkms: add support for dkms packages
+
-- Antonio Terceiro <[email protected]> Tue, 14 Oct 2014 15:25:18 -0300
autodep8 (0.1) unstable; urgency=medium
diff --git a/support/dkms/detect b/support/dkms/detect
new file mode 100755
index 0000000..955a5c0
--- /dev/null
+++ b/support/dkms/detect
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+grep-dctrl --quiet \
+ -FBuild-Depends,Build-Depends-Indep,Depends -e '(^| )dkms' \
+ -o -FPackage -e '\-dkms' debian/control
diff --git a/support/dkms/generate b/support/dkms/generate
new file mode 100755
index 0000000..2c344e2
--- /dev/null
+++ b/support/dkms/generate
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat <<EOF
+Test-Command: /usr/lib/dkms/dkms-autopkgtest
+Restrictions: needs-root, isolation-machine, breaks-testbed, allow-stderr
+Depends: dkms
+EOF
diff --git a/test.sh b/test.sh
index ceb9461..47a4ebd 100755
--- a/test.sh
+++ b/test.sh
@@ -35,6 +35,16 @@ test_XS_Testsuite_autopkgtest_pkg_nodejs() {
check_run autodep8
}
+test_Testsuite_autopkgtest_pkg_dkms() {
+ has debian/control 'Testsuite: autopkgtest-pkg-dkms'
+ check_run autodep8
+}
+
+test_XS_Testsuite_autopkgtest_pkg_dkms() {
+ has debian/control 'XS-Testsuite: autopkgtest-pkg-dkms'
+ check_run autodep8
+}
+
test_ruby_rake() {
has debian/ruby-tests.rake
check_run autodep8
@@ -100,6 +110,33 @@ test_nodejs_upstream_name() {
assertFalse 'does not include node- prefix' 'grep --quiet node-foo stdout'
}
+test_detect_dkms_depends() {
+ has 'debian/control' 'Depends: dkms'
+ check_run autodep8
+}
+
+test_detect_dkms_builddepends() {
+ has 'debian/control' 'Build-Depends: dkms'
+ check_run autodep8
+}
+
+test_detect_dkms_builddepends_indep() {
+ has 'debian/control' 'Build-Depends-Indep: dkms'
+ check_run autodep8
+}
+
+test_detect_dkms_packagename() {
+ has 'debian/control' 'Package: foo-dkms'
+ check_run autodep8
+}
+
+test_dkms_depends_dkms() {
+ has 'debian/control' "Depends: dkms"
+ check_run autodep8
+ assertFalse "test does must depend on dkms\n$(grep Depends: stdout)\n" "grep -q Depends:.*depends stdout"
+}
+
+
##################################################
if [ -z "$ADTTMP" ]; then
--
2.1.0
--- End Message ---
--- Begin Message ---
Source: autodep8
Source-Version: 0.2
We believe that the bug you reported is fixed in the latest version of
autodep8, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated autodep8 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 24 Jul 2015 09:30:40 -0300
Source: autodep8
Binary: autodep8
Architecture: source all
Version: 0.2
Distribution: unstable
Urgency: medium
Maintainer: Autopkgtest team <[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Description:
autodep8 - DEP-8 test control file generator
Closes: 766668
Changes:
autodep8 (0.2) unstable; urgency=medium
.
[ Antonio Terceiro ]
* debian/control: add Vcs-* fields
* support/ruby: pass --check-dependencies to gem2deb-test-runner
.
[ Martin Pitt ]
* Switch maintainer to Autopkgtest team, and add myself as uploader, with
Antonio's consent.
* Bump Standards-Version to 3.9.6 (no changes necessary).
.
[ Jean-Baptiste Lallement ]
* support/dkms: Add support for dkms packages (Closes: #766668) This needs a
corresponding "dkms-autopkgtest" script in DKMS itself, see #769095.
Checksums-Sha1:
1f7460572358b523cdffb2d16fe5cbe70b09fc33 1634 autodep8_0.2.dsc
8f7b9c27e4693ebee107e37818f9ed0160fb0194 3984 autodep8_0.2.tar.xz
d3babde2ea70b495487289a5a7ef9494cebf601b 3526 autodep8_0.2_all.deb
Checksums-Sha256:
84ca7f0b57f457b9dca1875059dc3e6cd55602956d954a5e3fd6c71123a7a034 1634
autodep8_0.2.dsc
9d3d8abfc1adcae4f1f3ff8061441b0187138d7b4665854b15d912d384d1839e 3984
autodep8_0.2.tar.xz
9aeb6d4b7bbb81fa4f6f99d5ddb7a812c7c03e8385e67f789a06ce6e71619656 3526
autodep8_0.2_all.deb
Files:
083b7a3bc1497e1c69a4d55f37dcdc2a 1634 devel optional autodep8_0.2.dsc
9e5a4f7338312b21db9d018683014605 3984 devel optional autodep8_0.2.tar.xz
463d7bcd839a058e6d3f5b3e6133fa16 3526 devel optional autodep8_0.2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVsjAlAAoJEPwNsbvNRgvezLsQAJ3ZDKZGGJT/uNDDNcLdcka8
b+bYYaSdplbwp6FRtSZCKoJFNYLyoZFQNTEJaYG5K/D2qbnO2sFzia7V4ZsV7MYX
jnW8kjuSPBiMTzw8ymnXLlYSNRwxKG10lqZ4WfTLtHa6U7FmTb8XNoWz5h4X4tRE
uo1LyvQfyr147U5oYWMOQaknvz/j4W350Mo9gJYTGRN55XUi6HFsJkgomIdEoHwk
7XpsnbYnYdkTEQTDy+YcFavhBv0YIdslBuZF4Zq7YVmEBzby+Z5nWSt3dnX3nf0v
4OOzMREF0iOVjMLiG0JlS65kRGJlGHXfEKqdp9NQe5S4gX1jde+DBTxQEnYJq/2l
IYnzopTSHY084v75CxPcEvxo2fFp6YDlaAQu2Zx5xtuiWFxSedwGF8KGyq+X7c16
mN+6epBrgmJ3jzxCZIM02ZPmzPlAwAV9QQk9/yPaYJG7VOvMCTwREPiPwQAEb06k
39QDZja2pMIZhsuLiOgM/jLScj6zGHH8FqB2ALK5VTSVxlPYxCtL1Bp5mq4gsf4y
503OGMDiFAjX5vESk1ylSSUdMqqz7PyTF9hwx/K7Pjm4N0/endOP/KZH54ATGL5J
gSLQEpV8e9mUnF2Mbnk1WJsKbL9HKNLMu2Z1RdFc8/SjG6oJ0PgB0FkLocc5klJ+
gFHjHqZmixb56ZwKbIJZ
=5BrR
-----END PGP SIGNATURE-----
--- End Message ---