Attached is a patch to nut_2.2.2-9 from Debian (unstable). Please merge!
Unfortunately, the fix by Debian maintainer Arnaud Quette is not sufficient to fix the problems with the package. I have done extensive modifications to the package to get it right. Here is the latest changelog:
nut (2.2.2-9ubuntu1) jaunty; urgency=low
* Merge from Debian unstable. Remaining Ubuntu changes:
* The Debian packager wanted to move move the shared libraries
from /usr/lib to /lib, but it was done by setting --prefix=/ which
does not give the desired results, and in addition resulting in
the pkgconfig and .la files being incorrect. This release fixes
the dangling shared library link for the -dev package (LP: #299489).
* debian/rules: Now, --prefix is back to /usr, and --exec-prefix=/
and --libdir=/lib instead, which has the desired effect of moving
the libraries to /lib. The many shell commands in debian/rules,
for moving files from the install directory to the package
directories have all been replaced by dh_* calls and matching
<package>.* files.
* Added debhelper files: libupsclient1-dev.install,
libupsclient1-dev.manpages, libupsclient1.install, nut-cgi.install,
nut-cgi.manpages, nut-hal-drivers.install, nut-snmp.install,
nut-snmp.manpages, nut-xml.install, nut-xml.manpages, nut.install,
nut.lintian-overrides, nut.manpages.
* Modified debhelper files: nut.dirs.
* debian/libupsclient1-dev.links added to provide a link from
/usr/lib/libupsclient.so -> /lib/libupsclient.so.1.0.0
This is a transitional measure, to salvage packages that have not yet
been updated to the new library location. Can be removed sometime in the
future.
* debian/control: versioned build depends on debhelper (>= 6.0.7~), because
we are now using dh_lintian.
* debian/compat changed to 6
* Added patch to configure.in adding AC_CONFIG_MACRO_DIR([m4])
* configure attempts to locate /usr/lib/hal in order to define
callouts path and device information path. Therefore hal needs to
be present in Build-Depends:
Attached is a patch to nut_2.2.2-9 from Debian (unstable). Please merge!
Unfortunately, the fix by Debian maintainer Arnaud Quette is not sufficient to fix the problems with the package. I have done extensive modifications to the package to get it right. Here is the latest changelog:
nut (2.2.2-9ubuntu1) jaunty; urgency=low
* Merge from Debian unstable. Remaining Ubuntu changes: dev.install, t1-dev. manpages, libupsclient1. install, nut-cgi.install, cgi.manpages, nut-hal- drivers. install, nut-snmp.install, snmp.manpages, nut-xml.install, nut-xml.manpages, nut.install, lintian- overrides, nut.manpages. libupsclient1- dev.links added to provide a link from lib/libupsclien t.so -> /lib/libupsclie nt.so.1. 0.0 MACRO_DIR( [m4])
* The Debian packager wanted to move move the shared libraries
from /usr/lib to /lib, but it was done by setting --prefix=/ which
does not give the desired results, and in addition resulting in
the pkgconfig and .la files being incorrect. This release fixes
the dangling shared library link for the -dev package (LP: #299489).
* debian/rules: Now, --prefix is back to /usr, and --exec-prefix=/
and --libdir=/lib instead, which has the desired effect of moving
the libraries to /lib. The many shell commands in debian/rules,
for moving files from the install directory to the package
directories have all been replaced by dh_* calls and matching
<package>.* files.
* Added debhelper files: libupsclient1-
libupsclien
nut-
nut-
nut.
* Modified debhelper files: nut.dirs.
* debian/
/usr/
This is a transitional measure, to salvage packages that have not yet
been updated to the new library location. Can be removed sometime in the
future.
* debian/control: versioned build depends on debhelper (>= 6.0.7~), because
we are now using dh_lintian.
* debian/compat changed to 6
* Added patch to configure.in adding AC_CONFIG_
* configure attempts to locate /usr/lib/hal in order to define
callouts path and device information path. Therefore hal needs to
be present in Build-Depends: