tags 642689 + patch tags 642689 + pending thanks Dear maintainer,
I've prepared an NMU for mailsync (versioned as 5.2.2-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Pink Floyd: Waiting for the worms
diff -Nru mailsync-5.2.2/acinclude/ac_with_openssl.m4 mailsync-5.2.2/acinclude/ac_with_openssl.m4
--- mailsync-5.2.2/acinclude/ac_with_openssl.m4 2003-04-22 12:26:34.000000000 +0200
+++ mailsync-5.2.2/acinclude/ac_with_openssl.m4 2011-11-12 15:57:50.000000000 +0100
@@ -22,7 +22,7 @@
ifelse([$2], , :, [$2])
else
AC_MSG_CHECKING([for libssl])
- for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
+ for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64,${LIBDIRS}}"` ; do
if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
OPENSSL_LDFLAGS="-L${p}"
AC_MSG_RESULT([found in ${p}])
diff -Nru mailsync-5.2.2/configure mailsync-5.2.2/configure
--- mailsync-5.2.2/configure 2005-11-22 11:32:59.000000000 +0100
+++ mailsync-5.2.2/configure 2011-11-12 15:57:50.000000000 +0100
@@ -5085,7 +5085,7 @@
else
echo "$as_me:$LINENO: checking for libssl" >&5
echo $ECHO_N "checking for libssl... $ECHO_C" >&6
- for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64}"` ; do
+ for p in `eval "echo {${OPENSSLLOCATIONS}}{/lib,/lib64,${LIBDIRS}}"` ; do
if test -r "${p}/libssl.a" -o -r "${p}/libssl.so" ; then
OPENSSL_LDFLAGS="-L${p}"
echo "$as_me:$LINENO: result: found in ${p}" >&5
diff -Nru mailsync-5.2.2/debian/changelog mailsync-5.2.2/debian/changelog
--- mailsync-5.2.2/debian/changelog 2006-03-05 20:36:57.000000000 +0100
+++ mailsync-5.2.2/debian/changelog 2011-11-12 15:59:12.000000000 +0100
@@ -1,3 +1,17 @@
+mailsync (5.2.2-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "FTBFS: configure: error: a working c-client installation is
+ required for building mailsync": apply patch from Ubuntu / Ilya Barygin:
+ * Fix FTBFS:
+ - debian/rules, acinclude/ac_with_openssl.m4, configure: provide an
+ additional directory to search for libssl.
+ - add missing build dependencies: libssl-dev, libpam0g-dev, libkrb5-dev.
+ (Closes: #642689)
+ * Additionally build depend on dpkg-dev >= 1.16.0.
+
+ -- gregor herrmann <[email protected]> Sat, 12 Nov 2011 15:57:57 +0100
+
mailsync (5.2.2-1) unstable; urgency=low
* remove build-dependency on automake1.6, since it's been removed from the
diff -Nru mailsync-5.2.2/debian/control mailsync-5.2.2/debian/control
--- mailsync-5.2.2/debian/control 2005-12-10 16:30:36.000000000 +0100
+++ mailsync-5.2.2/debian/control 2011-11-12 15:59:00.000000000 +0100
@@ -2,7 +2,7 @@
Section: mail
Priority: optional
Maintainer: Tomas Pospisek <[email protected]>
-Build-Depends: debhelper (>> 3.0.0), libc-client-dev | libc-client-ssl2001-dev, libc-client-dev | libkrb5-dev, automake1.7
+Build-Depends: debhelper (>> 3.0.0), libc-client-dev | libc-client-ssl2001-dev, libc-client-dev | libkrb5-dev, automake1.7, dpkg-dev (>= 1.16.0)
Standards-Version: 3.5.2
Package: mailsync
diff -Nru mailsync-5.2.2/debian/rules mailsync-5.2.2/debian/rules
--- mailsync-5.2.2/debian/rules 2004-01-06 20:54:42.000000000 +0100
+++ mailsync-5.2.2/debian/rules 2011-11-12 15:57:50.000000000 +0100
@@ -8,6 +8,9 @@
# This is the debhelper compatability version to use.
export DH_COMPAT=3
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export LIBDIRS := /lib/$(DEB_HOST_MULTIARCH)
+
configure: configure-stamp
configure-stamp:
dh_testdir
signature.asc
Description: Digital signature

