[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#46030: dpkg-dev: Changes for signing with GnuPG

Package: dpkg-dev
Severity: grave


I just build an new package for Debian with dpkg-buildpackage and so I
called dpkg-build-package -rfakeroot -sgpg for signing with GnuPG. But
this didn't work and I got an error message from dpkg-buildpackage.
After some inspection and debugging I found the following fix for this
problem. Please inspect the patch carefully and then apply it to the
package. Thanks

Ciao Christian

shorty@jupiter% diff /usr/bin/dpkg-buildpackage.orig /usr/bin/dpkg-buildpackage
<       if test $signinterface = gpg ; then
>       if [ "$signinterface" = "gpg" ] ; then
<               $signcommand -u "${signkey:-$maintainer}" +clearsig=on -fast <"../$1" \
<                       >"../$1.asc"
>               echo -e "\r" >> "../$1"
>               $signcommand -u "${signkey:-$maintainer}"  -sa --clearsign < "../$1" \
>                       > "../$1.asc"

-- System Information
Debian Release: potato
Kernel Version: Linux jupiter 2.2.12 #1 Sun Sep 19 14:29:33 CEST 1999 i586 unknown

Versions of the packages dpkg-dev depends on:
ii  perl-5.005-base 5.005.03-4     The Pathologically Eclectic Rubbish Lister
	^^^ (Provides virtual package perl5)

Reply to: