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: ** Attachment added: "Debian -> Ubuntu debdiff" http://launchpadlibrarian.net/19888063/nut_2.2.2-9ubuntu1.debdiff.gz ** Changed in: nut (Ubuntu) Assignee: Morten Kjeldgaard (mok0) => (unassigned) Status: In Progress => Confirmed -- [jaunty] /usr/lib/libupsclient1.so is a dangling link https://bugs.launchpad.net/bugs/299489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs