Просмотр исходного кода

Dpkg::Vendor::Debian: Remove support for obsolete DM-Upload-Allowed

This field was a Debian specifc hack that should have been part of
the archive management software from the start. Now that dak supports
setting the upload ACLs through an email command, there's no need for
this anymore. Remove.
Guillem Jover лет назад: 14
Родитель
Сommit
5b52ac4bc9
3 измененных файлов с 2 добавлено и 12 удалено
  1. 1 0
      debian/changelog
  2. 1 6
      man/deb-src-control.5
  3. 0 6
      scripts/Dpkg/Vendor/Debian.pm

+ 1 - 0
debian/changelog

@@ -11,6 +11,7 @@ dpkg (1.17.0) UNRELEASED; urgency=low
   * Remove unneeded double quotes in .SH man page headings.
   * Do not use “header” when “format” or “field” is meant in man pages.
   * Use colon instead of dot for user:group in dpkg debug output.
+  * Remove support for obsolete DM-Upload-Allowed from Dpkg::Vendor::Debian.
 
  -- Guillem Jover <guillem@debian.org>  Fri, 03 Aug 2012 13:21:00 +0200
 

+ 1 - 6
man/deb-src-control.5

@@ -17,7 +17,7 @@
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
-.TH deb\-src\-control 5 "2012-06-16" "Debian Project" "Debian"
+.TH deb\-src\-control 5 "2012-09-22" "Debian Project" "Debian"
 .SH NAME
 deb\-src\-control \- Debian source packages' master control file format
 .
@@ -71,11 +71,6 @@ Debian Policy Manual and referenced texts from the
 .B debian\-policy
 package) this package complies to.
 
-.TP
-.BR DM\-Upload\-Allowed: " \fByes\fP|\fBno\fP"
-This field indicates whether the package can be uploaded by Debian Maintainers
-appearing in the Maintainer or Uploaders field. The default value is "no".
-
 .TP
 .BI Homepage: " url"
 The upstream project home page URL.

+ 0 - 6
scripts/Dpkg/Vendor/Debian.pm

@@ -53,12 +53,6 @@ sub run_hook {
         return ('/usr/share/keyrings/debian-keyring.gpg',
                 '/usr/share/keyrings/debian-maintainers.gpg');
     } elsif ($hook eq "register-custom-fields") {
-        return (
-            [ "register", "Dm-Upload-Allowed",
-              CTRL_INFO_SRC | CTRL_INDEX_SRC | CTRL_PKG_SRC ],
-            [ "insert_after", CTRL_INDEX_SRC, "Uploaders", "Dm-Upload-Allowed" ],
-            [ "insert_after", CTRL_PKG_SRC, "Uploaders", "Dm-Upload-Allowed" ],
-        );
     } elsif ($hook eq "extend-patch-header") {
         my ($textref, $ch_info) = @params;
 	if ($ch_info->{'Closes'}) {