Bug#30732: dpkg-dev: pause option before signing wishlist
Package: dpkg-dev
Version: 1.4.1
OK It'd be nice to able to tell dpkg-buildpackage to pause before the
signing process so that you have a chance to mount whatever offline storage
the pgp/gpg keys are kept on (floppy for me) (It's Manoj's fault. He
made me more paranoid :).
Anyway, here's a patch to add an option that does this:
--- /usr/bin/dpkg-buildpackage Sun Nov 1 12:50:45 1998
+++ dpkg-buildpackage Mon Dec 14 23:52:52 1998
@@ -30,6 +30,7 @@
-nc do not clean source tree (implies -b)
-tc clean source tree when finished
-h print this message
+ -ap add pause before starting signature process
END
}
@@ -56,6 +57,7 @@
maint=''
desc=''
noclean=false
+usepause="false"
while [ $# != 0 ]
do
@@ -68,6 +70,7 @@
-spgp) signinterface=pgp ;;
-us) signsource=: ; warnpgp='' ;;
-uc) signchanges=: ; warnpgp='' ;;
+ -ap) usepause="true" ;;
-a*) opt_a=1; arch="$value" ;;
-si) sourcestyle=-si ;;
-sa) sourcestyle=-sa ;;
@@ -150,6 +153,12 @@
fi
withecho debian/rules build
withecho $rootcommand debian/rules $binarytarget
+
+if [ "$usepause" = "true" ] ; then
+ echo Press the return key to start signing process
+ read dummy_stuff
+fi
+
if [ x$binaryonly = x ]; then
$signsource "$pv.dsc"
fi
-- System Information
Debian Release: slink
Kernel Version: Linux dres 2.1.131 #1 SMP Fri Dec 4 23:15:01 EST 1998 i586 unknown
Versions of the packages dpkg-dev depends on:
ii perl 5.004.04-6 Larry Wall's Practical Extracting and Report
Reply to: