Raphael Hertzog лет назад: 18
Родитель
Сommit
bd045b1012
3 измененных файлов с 17 добавлено и 2 удалено
  1. 1 0
      ChangeLog
  2. 8 0
      README.feature-removal-schedule
  3. 8 2
      scripts/dpkg-buildpackage.pl

+ 1 - 0
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  <hertzog@debian.org>
 

+ 8 - 0
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.

+ 8 - 2
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) {