Kaynağa Gözat

debian: Remove u-a, dpkg-divert and dpkg-statoverride compat symlinks (again)

There are very few packages now using the hardcoded paths, with bugs and
patches. It's about time to clean this up.
Guillem Jover 10 yıl önce
ebeveyn
işleme
19b2192db8
5 değiştirilmiş dosya ile 16 ekleme ve 7 silme
  1. 0 1
      Makefile.am
  2. 0 3
      TODO
  3. 2 0
      debian/changelog
  4. 14 0
      debian/control
  5. 0 3
      debian/dpkg.links

+ 0 - 1
Makefile.am

@@ -55,7 +55,6 @@ EXTRA_DIST = \
 	debian/dpkg.preinst \
 	debian/dpkg.prerm \
 	debian/dpkg.logrotate \
-	debian/dpkg.links \
 	debian/dpkg.lintian-overrides \
 	debian/dselect.cfg \
 	debian/dselect.docs \

+ 0 - 3
TODO

@@ -84,9 +84,6 @@ TODO
 
  * We should set our own obstack_alloc_failed_handler.
 
- * Remove compatibility symlinks
-   /usr/sbin/{update-alternatives,dpkg-divert,dpkg-statoverride}.
-
 ------------------------------------------------------------------------------
 
 Old TODO entries from Scott:

+ 2 - 0
debian/changelog

@@ -5,6 +5,8 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
     - Add liblocale-gettext-perl to libdpkg-perl Recommends.
     - Wrap and document dependency relationships.
     - Remove obsolete dependency relationships, since Debian oldstable.
+    - Remove update-alternatives, dpkg-divert and dpkg-statoverride
+      compatibility symlinks, again.
   * Documentation:
     - Update custom changelog parser API support status in README.api.
     - Fix typos in docs and man pages. Thanks to Jakub Wilk <jwilk@debian.org>

+ 14 - 0
debian/control

@@ -56,6 +56,20 @@ Suggests:
  apt,
 Replaces:
  manpages-it (<< 2.80-4),
+Breaks:
+# Due to removal of dpkg-divert compat symlink.
+ amule (<< 2.3.1+git1a369e47-3),
+# Due to removal of dpkg-statoverride compat symlink.
+ acidbase (<= 1.4.5-4),
+ beep (<< 1.3-4),
+ im (<< 1:151-4),
+ netselect (<< 0.3.ds1-27),
+ pconsole (<< 1.0-12),
+ phpgacl (<< 3.3.7-7.3),
+ pure-ftpd (<< 1.0.43-1),
+ systemtap (<< 2.8-1),
+ terminatorx (<< 4.0.1-1),
+ xvt (<= 2.1-20.1),
 Description: Debian package management system
  This package provides the low-level infrastructure for handling the
  installation and removal of Debian software packages.

+ 0 - 3
debian/dpkg.links

@@ -1,3 +0,0 @@
-usr/bin/dpkg-divert usr/sbin/dpkg-divert
-usr/bin/dpkg-statoverride usr/sbin/dpkg-statoverride
-usr/bin/update-alternatives usr/sbin/update-alternatives