Received: (at submit) by bugs.debian.org; 4 Nov 2001 12:07:50 +0000 From russell@coker.com.au Sun Nov 04 06:07:50 2001 Return-path: Received: from tsv.sws.net.au [203.36.46.2] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 160M45-0000gg-00; Sun, 04 Nov 2001 06:07:49 -0600 Received: from lyta.coker.com.au (localhost [127.0.0.1]) by tsv.sws.net.au (Postfix) with ESMTP id 8F70292652; Sun, 4 Nov 2001 23:07:36 +1100 (EST) Received: by lyta.coker.com.au (Postfix, from userid 1001) id 27B73359FB8; Sun, 4 Nov 2001 13:05:10 +0100 (CET) From: russell@coker.com.au Subject: dh-kpatches: Wish it supported directories of files To: submit@bugs.debian.org X-Mailer: bug 3.3.10 Message-Id: <20011104120510.27B73359FB8@lyta.coker.com.au> Date: Sun, 4 Nov 2001 13:05:10 +0100 (CET) Delivered-To: submit@bugs.debian.org Package: dh-kpatches Version: 0.7 Severity: wishlist Some kernel patches are released as a small patch and a tar file containing a directory of files. For example the SE-Linux kernel patch released by NSA consists of a small patch to a makefile to cause compilation of files in the security_plugin subdirectory and then an archive of files for that directory. I would like to have the dh_installkpatches command be able to generate a package that applies a patch, and then copies a directory (or several directories) of files if that patch succeeds. Unapply would consist of reversing the patch and "rm -rf" on the relevant directory. -- System Information Debian Release: testing/unstable Kernel Version: Linux lyta 2.4.13-lsm #2 Fri Oct 26 18:52:58 CEST 2001 i686 unknown Versions of the packages dh-kpatches depends on: ii debhelper 3.0.48 helper programs for debian/rules ii perl 5.6.1-5 Larry Wall's Practical Extraction and Report