Drop HAL package and build-dependencies (Closes: #613197)

This commit is contained in:
Laurent Bigonville 2011-05-09 15:03:14 +02:00
parent b98ff51068
commit 8cc62ab670
8 changed files with 2 additions and 68 deletions

3
debian/changelog vendored
View file

@ -1,9 +1,10 @@
nut (2.6.0-3) UNRELEASED; urgency=low nut (2.6.0-3) UNRELEASED; urgency=low
* Drop HAL package and build-dependencies (Closes: #613197)
* debian/control: * debian/control:
- Bump Standards-Version to 3.9.2 (no further changes) - Bump Standards-Version to 3.9.2 (no further changes)
-- Laurent Bigonville <bigon@debian.org> Sun, 08 May 2011 21:44:42 +0200 -- Laurent Bigonville <bigon@debian.org> Mon, 09 May 2011 15:02:47 +0200
nut (2.6.0-2) unstable; urgency=low nut (2.6.0-2) unstable; urgency=low

19
debian/control vendored
View file

@ -11,8 +11,6 @@ Build-Depends: debhelper (>= 8),
libgd2-xpm-dev | libgd2-noxpm-dev, libgd2-xpm-dev | libgd2-noxpm-dev,
libsnmp-dev | libsnmp9-dev, libsnmp-dev | libsnmp9-dev,
libusb-dev (>= 0.1.8), libusb-dev (>= 0.1.8),
libhal-dev (>= 0.5.8),
hal,
libdbus-1-dev, libdbus-1-dev,
libdbus-glib-1-dev, libdbus-glib-1-dev,
libglib2.0-dev, libglib2.0-dev,
@ -74,23 +72,6 @@ Description: network UPS tools - SNMP driver
supports various MIBs including IETF, MGE, and APC. It adds an SNMP supports various MIBs including IETF, MGE, and APC. It adds an SNMP
Manager interface to the core NUT system. Manager interface to the core NUT system.
Package: nut-hal-drivers
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, ${udev}
Conflicts: nut
Provides: hal-ups-support
Breaks: udev (<< 124-1)
Description: network UPS tools - HAL interface
Network UPS Tools (NUT) is a client/server monitoring system that
allows computers to share uninterruptible power supply (UPS) and
power distribution unit (PDU) hardware. Clients access the hardware
through the server, and are notified whenever the power status
changes.
.
This package provides add-ons for the hardware abstraction layer (HAL) that
allow desktop environments to monitor locally-connected UPS equipment. The
HAL drivers cannot be used at the same time as the normal NUT upsd.
Package: nut-xml Package: nut-xml
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, nut (>= 2.2.2) Depends: ${shlibs:Depends}, ${misc:Depends}, nut (>= 2.2.2)

View file

@ -1 +0,0 @@
docs/nut-hal.txt

View file

@ -1,3 +0,0 @@
debian/tmp/lib/hal/ /usr/lib/
debian/tmp/usr/share/hal
debian/tmp/*/udev/

View file

@ -1,24 +0,0 @@
#!/bin/sh
set -e
case "$1" in
configure)
# ask udev to check for new udev rules
[ -x /etc/init.d/udev ] && pidof udevd > /dev/null \
&& udevadm trigger --action=change
;;
abort-upgrade|abort-remove|abort-deconfigure)
# do nothing
;;
*)
echo "$0: incorrect arguments: $*" >&2
exit 1
;;
esac
#DEBHELPER#

View file

@ -1,18 +0,0 @@
#!/bin/sh
set -e
if [ "$1" = install ] || [ "$1" = upgrade ]; then
# Remove previous rules if unchanged, otherwise move to new filename.
if [ -e "/etc/udev/rules.d/52_nut-usbups.rules" ]; then
if [ "`md5sum \"/etc/udev/rules.d/52_nut-usbups.rules\" | sed -e \"s/ .*//\"`" = \
"`dpkg-query -W -f='${Conffiles}' nut-hal-drivers | sed -n -e \"\\\\' /etc/udev/rules.d/52_nut-usbups.rules's/.* //p\"`" ]
then
rm -f "/etc/udev/rules.d/52_nut-usbups.rules"
else
mv "/etc/udev/rules.d/52_nut-usbups.rules" "/etc/udev/rules.d/52-nut-usbups.rules"
fi
fi
fi
#DEBHELPER#

1
debian/nut.docs vendored
View file

@ -9,7 +9,6 @@ docs/download.txt
docs/FAQ.txt docs/FAQ.txt
docs/features.txt docs/features.txt
docs/history.txt docs/history.txt
docs/nut-hal.txt
docs/nut-names.txt docs/nut-names.txt
docs/outlets.txt docs/outlets.txt
docs/packager-guide.txt docs/packager-guide.txt

1
debian/rules vendored
View file

@ -13,7 +13,6 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr \
--libdir=/lib \ --libdir=/lib \
--includedir=/usr/include \ --includedir=/usr/include \
--without-ssl \ --without-ssl \
--with-hal \
--with-cgi \ --with-cgi \
--with-dev \ --with-dev \
--enable-static \ --enable-static \