Package: acpidump Version: 20100513-3.1 Severity: normal Tags: patch In the process of putting together updates for the iasl package elsewhere (see the acpica-unix source package), it was noticed this package also provides an acpixtract command. What the differences are (other than age) are unknown. In order to provide both versions, the acpica-unix package puts acpixtract under the alternatives handler; if this package could also do so, we can avoid package conflicts.
Patch is attached. -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (900, 'unstable'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages acpidump depends on: ii libc6 2.13-38 ii perl 5.14.2-20 acpidump recommends no packages. acpidump suggests no packages. -- no debconf information diff -urN acpidump-20100513/debian/acpidump.postinst acpidump-20100513-patch/debian/acpidump.postinst --- acpidump-20100513/debian/acpidump.postinst 1969-12-31 17:00:00.000000000 -0700 +++ acpidump-20100513-patch/debian/acpidump.postinst 2013-03-22 09:43:15.000000000 -0600 @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +BINDIR=/usr/bin +MANDIR=/usr/share/man/man1 +update-alternatives --install $BINDIR/acpixtract acpixtract \ + $BINDIR/acpixtract-acpidump 90 \ + --slave $MANDIR/man1/acpixtract.1.gz acpixtract.1.gz \ + $MANDIR/man1/acpixtract-acpidump.1 + diff -urN acpidump-20100513/debian/acpidump.prerm acpidump-20100513-patch/debian/acpidump.prerm --- acpidump-20100513/debian/acpidump.prerm 1969-12-31 17:00:00.000000000 -0700 +++ acpidump-20100513-patch/debian/acpidump.prerm 2013-03-22 09:43:29.000000000 -0600 @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +BINDIR=/usr/bin +if [ ! -e $BINDIR/acpixtract-acpidump ] +then + update-alternatives --remove acpixtract $BINDIR/acpixtract-acpidump +fi diff -urN acpidump-20100513/debian/rules acpidump-20100513-patch/debian/rules --- acpidump-20100513/debian/rules 2010-11-12 23:16:01.000000000 -0700 +++ acpidump-20100513-patch/debian/rules 2013-03-22 09:41:32.000000000 -0600 @@ -63,7 +63,7 @@ # Add here commands to install the package into debian/acpidump. install -d $(CURDIR)/debian/acpidump/usr/bin install -m 755 acpidump/acpidump acpixtract/acpixtract \ - $(CURDIR)/debian/acpidump/usr/bin + $(CURDIR)/debian/acpidump/usr/bin/acpixtract-acpidump [ ! -f turbostat/turbostat ] || \ install -m 755 turbostat/turbostat \ $(CURDIR)/debian/acpidump/usr/bin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org