Drop HAL package and build-dependencies (Closes: #613197)
This commit is contained in:
parent
b98ff51068
commit
8cc62ab670
8 changed files with 2 additions and 68 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,9 +1,10 @@
|
|||
nut (2.6.0-3) UNRELEASED; urgency=low
|
||||
|
||||
* Drop HAL package and build-dependencies (Closes: #613197)
|
||||
* debian/control:
|
||||
- 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
|
||||
|
||||
|
|
19
debian/control
vendored
19
debian/control
vendored
|
@ -11,8 +11,6 @@ Build-Depends: debhelper (>= 8),
|
|||
libgd2-xpm-dev | libgd2-noxpm-dev,
|
||||
libsnmp-dev | libsnmp9-dev,
|
||||
libusb-dev (>= 0.1.8),
|
||||
libhal-dev (>= 0.5.8),
|
||||
hal,
|
||||
libdbus-1-dev,
|
||||
libdbus-glib-1-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
|
||||
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
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, nut (>= 2.2.2)
|
||||
|
|
1
debian/nut-hal-drivers.docs
vendored
1
debian/nut-hal-drivers.docs
vendored
|
@ -1 +0,0 @@
|
|||
docs/nut-hal.txt
|
3
debian/nut-hal-drivers.install
vendored
3
debian/nut-hal-drivers.install
vendored
|
@ -1,3 +0,0 @@
|
|||
debian/tmp/lib/hal/ /usr/lib/
|
||||
debian/tmp/usr/share/hal
|
||||
debian/tmp/*/udev/
|
24
debian/nut-hal-drivers.postinst
vendored
24
debian/nut-hal-drivers.postinst
vendored
|
@ -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#
|
18
debian/nut-hal-drivers.preinst
vendored
18
debian/nut-hal-drivers.preinst
vendored
|
@ -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
1
debian/nut.docs
vendored
|
@ -9,7 +9,6 @@ docs/download.txt
|
|||
docs/FAQ.txt
|
||||
docs/features.txt
|
||||
docs/history.txt
|
||||
docs/nut-hal.txt
|
||||
docs/nut-names.txt
|
||||
docs/outlets.txt
|
||||
docs/packager-guide.txt
|
||||
|
|
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -13,7 +13,6 @@ DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr \
|
|||
--libdir=/lib \
|
||||
--includedir=/usr/include \
|
||||
--without-ssl \
|
||||
--with-hal \
|
||||
--with-cgi \
|
||||
--with-dev \
|
||||
--enable-static \
|
||||
|
|
Loading…
Reference in a new issue