Package: d-shlibs
Version: 0.36
Severity: wishlist
Tags: patch
Hello,
I try to package a library where upstream has choosen upper case
file names. The tarball is located at
http://gel.ahabs.wisc.edu/mauve/source/libGenome-1.3.0.tar.gz
in case you want to investigate. The problem is that d-shlibs
parses via `objdump -p ${LIBNAME}` and returns the library name
with upper case letters. Later on from this string the package
name is obtained - but this should be lower case. I'd suggest
the attached patch to fix this.
Kind regards and thanks for maintaining d-shlibs
Andreas.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (501, 'testing'), (50, 'unstable'), (5, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages d-shlibs depends on:
ii apt 0.7.11 Advanced front-end for dpkg
ii binutils 2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii debianutils 2.28.3 Miscellaneous utilities specific t
d-shlibs recommends no packages.
-- no debconf information
--- d-shlibmove.orig 2007-10-22 01:06:07.000000000 +0200
+++ d-shlibmove 2008-02-26 16:10:59.000000000 +0100
@@ -56,10 +56,11 @@
exit 1;
fi
- SONAME=$(set -o pipefail; objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p'
)
+ SONAME=$(set -o pipefail; objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p'
| tr '[A-Z]' '[a-z]' )
getname "$SONAME"
SONAMEPKGNAME="$RETURN"
- PK=$(basename "$1" | sed 's/\.so$//')
+ # use lower case package names
+ PK=$(basename "$1" | sed 's/\.so$//' | tr '[A-Z]' '[a-z]')
REALSO=$(readlink -f "${LIBNAME}")
}