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

Remove obsolete 822-date program

It has long been superseeded by ‘date -R’.
Guillem Jover лет назад: 17
Родитель
Сommit
edb5b75983

+ 6 - 7
README.feature-removal-schedule

@@ -1,13 +1,6 @@
 This is a list of features that are scheduled to be removed from dpkg.
 
 
-What: 822-date (program)
-Status: obsolete
-When: lenny+1
-Warning: program
-Why:
- Should switch to use 'date -R'.
-
 What: Source-Version (substvar)
 Status: obsolete
 When: lenny+1
@@ -100,3 +93,9 @@ Why:
  These priorities have been superseded by either other fields or values in
  other fields.
 
+What: 822-date (program)
+Status: removed
+When: 1.15.1
+Why:
+ Should switch to use 'date -R'.
+

+ 1 - 0
debian/changelog

@@ -109,6 +109,7 @@ dpkg (1.15.1) UNRELEASED; urgency=low
   * Remove obsolete --largemem and --smallmem dpkg options.
   * Remove obsolete --force-auto-select dpkg option.
   * Remove obsolete priorities support from dpkg.
+  * Remove obsolete 822-date program.
 
   [ Frank Lichtenheld ]
   * Dpkg::Version: Remove unnecessary function next_elem which just

+ 0 - 2
debian/dpkg-dev.install

@@ -1,7 +1,6 @@
 ../shlibs.default etc/dpkg
 ../shlibs.override etc/dpkg
 
-usr/bin/822-date
 usr/bin/dpkg-architecture
 usr/bin/dpkg-buildpackage
 usr/bin/dpkg-checkbuilddeps
@@ -18,7 +17,6 @@ usr/bin/dpkg-source
 usr/bin/dpkg-vendor
 usr/lib/dpkg/parsechangelog
 usr/share/locale/*/LC_MESSAGES/dpkg-dev.mo
-usr/share/man/{*/*,*}/822-date.1
 usr/share/man/{*/*,*}/deb-control.5
 usr/share/man/{*/*,*}/deb-version.5
 usr/share/man/{*/*,*}/deb-substvars.5

+ 0 - 2
debian/usertags

@@ -82,7 +82,6 @@ libdpkg-perl					Dpkg perl modules.
 
 cleanup-info		[CLEANUP-INFO]
 install-info		[INSTALL-INFO]
-822-date		[822-DATE]
 
 dpkg-dev					Those should be reassigned to
 						the dpkg-dev package.
@@ -120,7 +119,6 @@ usercategory dpkg-program
   + Dpkg perl modules [tag=libdpkg-perl]
   + start-stop-daemon [tag=s-s-d]
   + update-alternatives [tag=u-a]
-  + 822-date [tag=822-date]
   + cleanup-info [tag=cleanup-info]
   + install-info [tag=install-info]
   + dselect [package=dselect]

+ 0 - 40
man/822-date.1

@@ -1,40 +0,0 @@
-.\" Hey, Emacs!  This is an -*- nroff -*- source file.
-.TH 822\-date 1 "2007-01-24" "Debian Project" "dpkg utilities"
-.SH NAME
-822\-date \- Print date and time in RFC2822 format
-.
-.SH SYNOPSIS
-.B 822\-date
-.
-.SH DESCRIPTION
-.B 822\-date
-displays the current date and time in the format described in RFC2822.
-It does so by simply calling
-.BR date (1)
-with the \fB\-R\fP option.
-.PP
-.B Using 822\-date is deprecated since
-.BR date (1)
-provides the same functionality when called with the \fB\-R\fP.
-.
-.SH OPTIONS
-.B 822\-date
-does not take any arguments or options.
-.
-.SH BUGS
-This facility really ought to be part of
-.BR date (1).
-.
-.SH SEE ALSO
-.I Internet Message Format
-(RFC2822),
-.BR date (1).
-.
-.SH AUTHOR
-.B 822\-date
-is a really simple wrapper around
-.BR date (1).
-By its simplicity, the code is probably not copyrightable and
-should be considered to be in the public domain. This man page
-was written by Frank Lichtenheld based on an earlier version
-by Ian Jackson and was also put in the public domain.

+ 0 - 1
man/Makefile.am

@@ -71,7 +71,6 @@ dist-hook: man.stamp
 	done
 
 dist_man_MANS = \
-	822-date.1 \
 	deb-control.5 \
 	deb-version.5 \
 	deb-shlibs.5 \

+ 0 - 5
man/po/po4a.cfg

@@ -13,11 +13,6 @@
                  opt_ru:"-L koi8-r         -A koi8-r"     \
                  opt_sv:"-L ISO-8859-1"
 
-[type:man] $(srcdir)/822-date.1                 \
-           $lang:$lang/822-date.1               \
-           add_$lang:$(srcdir)/po/$lang.add
-
-
 [type:man] $(srcdir)/deb.5                      \
            $lang:$lang/deb.5                    \
            add_$lang:$(srcdir)/po/$lang.add

+ 0 - 1
scripts/.gitignore

@@ -16,5 +16,4 @@ dpkg-statoverride
 update-alternatives
 install-info
 install-info-stamp
-822-date
 t.tmp

+ 0 - 17
scripts/822-date.pl

@@ -1,17 +0,0 @@
-#!/usr/bin/perl --
-
-use strict;
-use warnings;
-
-use Dpkg;
-use Dpkg::Gettext;
-use Dpkg::ErrorHandling;
-
-textdomain("dpkg-dev");
-
-@ARGV && die _g("Usage: 822-date")."\n";
-
-warning(_g("This program is deprecated. Please use 'date -R' instead."));
-
-print `date -R`;
-

+ 0 - 2
scripts/Makefile.am

@@ -3,7 +3,6 @@
 SUBDIRS = po
 
 bin_SCRIPTS = \
-	822-date \
 	dpkg-architecture \
 	dpkg-buildpackage \
 	dpkg-checkbuilddeps \
@@ -28,7 +27,6 @@ changelog_SCRIPTS = \
 
 EXTRA_DIST = \
 	README.alternatives \
-	822-date.pl \
 	dpkg-architecture.pl \
 	dpkg-buildpackage.pl \
 	dpkg-checkbuilddeps.pl \

+ 0 - 1
scripts/po/POTFILES.in

@@ -1,6 +1,5 @@
 # This is the list of all source files with translatable strings.
 
-scripts/822-date.pl
 scripts/dpkg-architecture.pl
 scripts/dpkg-buildpackage.pl
 scripts/dpkg-checkbuilddeps.pl