Kaynağa Gözat

dpkg: Remove --new and --old dpkg-deb option handling

These have been non-functional for a long time, and were being treated
as dpkg commands which would conflict with the dpkg-deb commands.
Guillem Jover 15 yıl önce
ebeveyn
işleme
14340213c8
3 değiştirilmiş dosya ile 2 ekleme ve 6 silme
  1. 2 0
      debian/changelog
  2. 0 4
      man/dpkg.1
  3. 0 2
      src/main.c

+ 2 - 0
debian/changelog

@@ -36,6 +36,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
     Based on a patch by Christopher Baines <cbaines8@gmail.com>.
   * Document in dpkg-deb(1) that --fsys-tarfile will always process the
     input archive sequentially. Closes: #616609
+  * Remove long non-functional --new and --old dpkg-deb option handling
+    from dpkg which were being treated as dpkg commands.
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).

+ 0 - 4
man/dpkg.1

@@ -482,10 +482,6 @@ Install a package even if it fails authenticity check.
 Ignore dependency-checking for specified packages (actually, checking is
 performed, but only warnings about conflicts are given, nothing else).
 .TP
-\fB\-\-new\fP, \fB\-\-old\fP
-Select new or old binary package format. This is a \fBdpkg\-deb\fP(1)
-option.
-.TP
 .B \-\-nocheck
 Don't read or check contents of control file while building a package.
 This is a \fBdpkg\-deb\fP(1) option.

+ 0 - 2
src/main.c

@@ -601,8 +601,6 @@ static const struct cmdinfo cmdinfos[]= {
   ACTIONBACKEND( "info",		'I', BACKEND),
   ACTIONBACKEND( "field",		'f', BACKEND),
   ACTIONBACKEND( "extract",		'x', BACKEND),
-  ACTIONBACKEND( "new",			0,  BACKEND),
-  ACTIONBACKEND( "old",			0,  BACKEND),
   ACTIONBACKEND( "vextract",		'X', BACKEND),
   ACTIONBACKEND( "fsys-tarfile",	0,   BACKEND),
   { NULL,                0,   0, NULL,          NULL,      NULL,          0 }