I think I have a working fix for this bug. However, the disk with my
secret key on it is bad, so I can't upload at the moment. I'll try to
address this monday evening.
For now, here's my approach.
(A) In debian/rules change the build target, inserting the following just
before touch build-stamp:
# get proper name for shlib packages
$(CURDIR)/debian/control.sh $(CURDIR)/debian/control $(CURDIR)/lib/.libs
(B) The body of debian/control.sh is appended at the bottom of this
message.
I believe this will allow this bug to be closed. (If not, I've overlooked
something important in these messages.)
--
Raul
#!/bin/sh
#
# bring debian/control up to date with the current library soname
# Note: libsilc should always consist of a single word
# if it's something else, something has been drastically
# changed and it's time to re-think this script
libsilc=$(
objdump -p $2/lib*so* |
awk '/SONAME/{print $2}' |
sed -e 's/\([0-9]\)\.so\./\1-/; s/\.so\.//; s/client//' |
sort -u
)
cat <<___ >$1.tmp
Source: silc-toolkit
Priority: optional
Maintainer: Tamas SZERB <[EMAIL PROTECTED]>
Section: devel
Build-Depends: debhelper (>= 4.0.0), autotools-dev
Standards-Version: 3.6.0
Package: $libsilc-dev
Section: libdevel
Architecture: any
Depends: $libsilc (= \${Source-Version})
Provides: libsilc-dev
Replaces: libsilc-dev
Conflicts: libsilc-dev
Description: developer files for SILC library (silc-toolkit)
silc-toolkit developer files
.
SILC Project develops the Secure Internet Live Conferencing protocol (SILC),
which is designed to provide most rich featured conferencing services and
high security.
Package: $libsilc
Section: libs
Architecture: any
Depends: \${shlibs:Depends}, \${misc:Depends}
Provides: libsilc
Replaces: libsilc
Conflicts: libsilc
Description: SILC library (silc-toolkit)
silc-toolkit library files
.
Package: $libsilc
Section: libs
Architecture: any
Depends: \${shlibs:Depends}, \${misc:Depends}
Provides: libsilc
Replaces: libsilc
Conflicts: libsilc
Description: SILC library (silc-toolkit)
silc-toolkit library files
.
SILC Project develops the Secure Internet Live Conferencing protocol (SILC),
which is designed to provide most rich featured conferencing services and
high security.
___
if diff $1.tmp $1; then
# preserve file modification timestamp on control
rm $1.tmp
else
# update control with recent changes
mv $1.tmp $1
fi