The following commit has been merged in the master branch:
commit bd045b1012c992ccb0df87b3b531aca81883c647
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Sun Jan 27 20:36:05 2008 +0100

    Deprecate support of PGP

diff --git a/ChangeLog b/ChangeLog
index 06274c1..fe45de8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        in dpkg-source and dpkg-genchanges.
        * README.feature-removal-schedule, README.api: Deprecate support
        of custom changelog parsers that understand only the -v option.
+       * README.feature-removal-schedule: Deprecate support of PGP.
 
 2008-01-27  Raphael Hertzog  <[EMAIL PROTECTED]>
 
diff --git a/README.feature-removal-schedule b/README.feature-removal-schedule
index 4d3517e..da4e0f7 100644
--- a/README.feature-removal-schedule
+++ b/README.feature-removal-schedule
@@ -84,3 +84,11 @@ Why:
  Custom changelog parsers must be updated to support the new API (see
  dpkg-parsechangelog(1) and README.api).
 
+What: support of PGP
+Status: deprecated
+When: lenny+1
+Warning: program
+Why:
+ PGP is not part of Debian and GnuPG has been the standard tool for digital
+ signatures for several years already. Supporting only GnuPG enables us to
+ rely on some of its features.
diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl
index 8865299..ebb9247 100755
--- a/scripts/dpkg-buildpackage.pl
+++ b/scripts/dpkg-buildpackage.pl
@@ -228,8 +228,14 @@ if ($forcesigninterface) {
     $signinterface = $signcommand;
 }
 
-if ($signcommand && ($signinterface !~ /^(gpg|pgp)$/)) {
-    warning(_g("unknown sign command, assuming pgp style interface"));
+if ($signcommand) {
+    if ($signinterface !~ /^(gpg|pgp)$/) {
+       warning(_g("unknown sign command, assuming pgp style interface"));
+    } elsif ($signinterface eq 'pgp') {
+       if ($signsource or $signchanges) {
+           warning(_g("PGP support is deprecated (see 
README.feature-removal-schedule)"));
+       }
+    }
 }
 
 if ($parallel) {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to