Your message dated Fri, 09 May 2014 01:48:37 +0000
with message-id <[email protected]>
and subject line Bug#747449: fixed in freetds 0.91-6
has caused the Debian Bug report #747449,
regarding freetds: Please switch to gnutls28
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
747449: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: freetds
Severity: normal
Version: 0.91-5
Tags: patch
User: [email protected]
Usertags: gnutls3
Dear Maintainer,
Please consider switching to gnutls28 to use more up to date
implementation. Previous licensing concerns (GPLv2-only incompatibility)
of gnutls28 have now been resolved.
Also using and linking with gcrypt is no longer necessary as gnutls 2.12
uses locking by default. [1]
Please consider applying following patch:
reverted:
--- freetds-0.91/configure.ac
+++ freetds-0.91.orig/configure.ac
@@ -694,11 +694,11 @@
if test "$with_gnutls" = "yes"; then
AC_DEFINE(HAVE_GNUTLS, 1, [Define to 1 if you have GNU tls.])
if test "$PKG_CONFIG" != "" && "$PKG_CONFIG" --libs gnutls > /dev/null 2>&1; then
+ CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags gnutls`"
+ NETWORK_LIBS="$NETWORK_LIBS `$PKG_CONFIG --libs gnutls`"
- CPPFLAGS="$CPPFLAGS `libgcrypt-config --cflags` `$PKG_CONFIG --cflags gnutls`"
- NETWORK_LIBS="$NETWORK_LIBS `libgcrypt-config --libs` `$PKG_CONFIG --libs gnutls`"
else
+ CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`"
+ NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`"
- CPPFLAGS="$CPPFLAGS `libgcrypt-config --cflags` `libgnutls-config --cflags`"
- NETWORK_LIBS="$NETWORK_LIBS `libgcrypt-config --libs` `libgnutls-config --libs`"
fi
OLDLIBS="$LIBS"
LIBS="$LIBS $NETWORK_LIBS"
diff -u freetds-0.91/debian/changelog freetds-0.91/debian/changelog
--- freetds-0.91/debian/changelog
+++ freetds-0.91/debian/changelog
@@ -1,3 +1,12 @@
+freetds (0.91-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Build against gnutls28-dev.
+ * Drop libgcrypt-dev dependency.
+ * Do not check for libgcrypt-dev in configure scripts.
+
+ -- Dimitri John Ledkov <[email protected]> Thu, 08 May 2014 21:34:31 +0100
+
freetds (0.91-5) unstable; urgency=low
* Add Kerberos support. LP: #1223567.
diff -u freetds-0.91/debian/control freetds-0.91/debian/control
--- freetds-0.91/debian/control
+++ freetds-0.91/debian/control
@@ -11,9 +11,8 @@
autotools-dev,
unixodbc-dev (>= 2.2.11-10),
libglib2.0-dev | libglib-dev,
- libgnutls-dev,
+ libgnutls28-dev,
libreadline-dev,
- libgcrypt-dev,
libkrb5-dev,
dh-autoreconf
only in patch2:
unchanged:
--- freetds-0.91.orig/src/tds/net.c
+++ freetds-0.91/src/tds/net.c
@@ -94,11 +94,13 @@
#include <assert.h>
#ifdef HAVE_GNUTLS
+#include <gnutls/gnutls.h>
#if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX)
#include "tdsthread.h"
+#if GNUTLS_VERSION_NUMBER <= 0x020b00
#include <gcrypt.h>
#endif
-#include <gnutls/gnutls.h>
+#endif
#elif defined(HAVE_OPENSSL)
#include <openssl/ssl.h>
#endif
@@ -1268,7 +1270,7 @@
}
#endif
-#if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX)
+#if defined(_THREAD_SAFE) && defined(TDS_HAVE_PTHREAD_MUTEX) && GNUTLS_VERSION_NUMBER <= 0x020b00
GCRY_THREAD_OPTION_PTHREAD_IMPL;
#define tds_gcry_init() gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread)
#else
Regards,
Dimitri.
[1] gnutls 2.12 release announcement:
** libgnutls: Added gnutls_global_set_mutex() to allow setting
alternative locking procedures. By default the system available
locking is used. In *NIX pthreads are used and in windows the
critical section API. This follows a different approach than the
previous versions that depended on libgcrypt initialization. The
locks are now set by default in systems that support it. Programs
that used gcry_control() to set thread locks should insert it into
a block of
#if GNUTLS_VERSION_NUMBER <= 0x020b00
gcry_control(...)
#endif
--- End Message ---
--- Begin Message ---
Source: freetds
Source-Version: 0.91-6
We believe that the bug you reported is fixed in the latest version of
freetds, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <[email protected]> (supplier of updated freetds package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 08 May 2014 15:25:40 -0700
Source: freetds
Binary: freetds-common libct4 freetds-bin tdsodbc libsybdb5 freetds-dev
Architecture: source all amd64
Version: 0.91-6
Distribution: unstable
Urgency: low
Maintainer: Steve Langasek <[email protected]>
Changed-By: Steve Langasek <[email protected]>
Description:
freetds-bin - FreeTDS command-line utilities
freetds-common - configuration files for FreeTDS SQL client libraries
freetds-dev - MS SQL and Sybase client library (static libs and headers)
libct4 - libraries for connecting to MS SQL and Sybase SQL servers
libsybdb5 - libraries for connecting to MS SQL and Sybase SQL servers
tdsodbc - ODBC driver for connecting to MS SQL and Sybase SQL servers
Closes: 747449
Changes:
freetds (0.91-6) unstable; urgency=low
.
* Build against libgnutls28, now that license compatibility issues
with GPLv2-only software have been resolved. This includes patching
the upstream source to not look for gcrypt, which is no longer needed.
Thanks to Dimitri Ledkov <[email protected]> for the patch.
Closes: #747449.
Checksums-Sha1:
44793614ba10196fb842fd6e139be9fc301974a3 2243 freetds_0.91-6.dsc
ec8e6788e2fb7d564fbe0e0ea78929f37eb1b04f 22390 freetds_0.91-6.diff.gz
cf65df197a226c4984329e82272449e279028aa0 57896 freetds-common_0.91-6_all.deb
bded4075ced1969c21487335deeae53747a4f4d0 173536 libct4_0.91-6_amd64.deb
939b7e3e9d5f703a758340a27269a5909fdbd9d6 216066 freetds-bin_0.91-6_amd64.deb
1cf8234e01a3ca5c02d703bedf06f52aee60a91f 197836 tdsodbc_0.91-6_amd64.deb
ff42ffce55d558668e791de33ebe8737c501ebbb 195848 libsybdb5_0.91-6_amd64.deb
633b32263bf48c72250eaf00a971d337ca11644a 273508 freetds-dev_0.91-6_amd64.deb
Checksums-Sha256:
f345b18c47a62f930c939520309292289a145b1cdc4b09e73077437405554691 2243
freetds_0.91-6.dsc
e516f4b398ce14f3aab8ded22075379f2acb71f9bda5003e34d3f9be91dee544 22390
freetds_0.91-6.diff.gz
f767df81bb8a3b5a18434d8ecce1c53ff507e35c89cc7c936dc927fe33cc8450 57896
freetds-common_0.91-6_all.deb
30d3f2a3d84fd3574bb92c6b6356e7bdc38ce364da6fa2dfd83955aa0b642fae 173536
libct4_0.91-6_amd64.deb
a024fe94285f99a3ccda5d701c098315e833fc6dbcf769ea33613cf18a9a6931 216066
freetds-bin_0.91-6_amd64.deb
e258ca15135ab5d4b7b28a618b6eec2b5ba8181b52826f9271d90baa6eeb3816 197836
tdsodbc_0.91-6_amd64.deb
bf884965b7344859296ef898293f1d013cbb71f3e1a4341c99ec5d8028bcd41f 195848
libsybdb5_0.91-6_amd64.deb
033bf858058702dd71dcb14db6e3c72ed0a237d99980f621b09b5184e21d5c75 273508
freetds-dev_0.91-6_amd64.deb
Files:
7fb0a55d38d9370c1a9ba2acd8d7530c 57896 libs optional
freetds-common_0.91-6_all.deb
100905da5fb6bdae587732d376686074 173536 libs optional libct4_0.91-6_amd64.deb
4eabaeba65aac26b89b1778d14e89173 216066 database optional
freetds-bin_0.91-6_amd64.deb
85fa0e2f3f16de88743ffba567fc287c 197836 libs optional tdsodbc_0.91-6_amd64.deb
4c86b195bfdd724a89d00a2e5cd8fa31 195848 libs optional
libsybdb5_0.91-6_amd64.deb
0f1e30362cc3eaa2a89e2dc5cba67abc 273508 devel optional
freetds-dev_0.91-6_amd64.deb
22eb486ca53f198d403b9cdea2676b6d 2243 libs optional freetds_0.91-6.dsc
1e57cae859df8d42b56d2b8e389b1155 22390 libs optional freetds_0.91-6.diff.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTbDHPAAoJEFaNMPMhshM9ds4P/1bZqO7MS+1wAxs4QnBuUA+n
3W0gTdJIe6T6HFRjhxzIFDeSVNsk1b0QYHSP4pclCZqdW7R4J1wUc5pRSYPyG6Pn
oLcdG/fHUUCZqcfI12b10DfgI5KEkaaBiGvnjaumi5v2nLXmYJArZyNY89M2FbDK
bXtoS41DBJeAFnCjExcATd160Tps8/W0THQY91Z6WY+MlzBvIw2R4V1SEj6zDwb8
KQPGmVtTdCyLNPQpJXaIw7S568ljwqvIpKtG4WWo5FiRew92KKtbVZm2H9Nyhw+8
DkaJAK7/Ge3QM2wS0h5tJae3WWgXXdDMw2LdIEJDwbruCN21ydoH5tuevunKjY6Y
slWdvk5rG2Whz7Jj730+e7cDBAX8YdK5lZ7LeDFr2wrtPrAEXvuZgW4my6eskX7k
Ol/FdAAnlEsw/EDOeiRQ5vIch34rFGownV7jgWl/ELm8MQyRV6ABbtVo6W2WT96w
bK5Pv7MF/i2bCYwGIhmrPg7QdsSx3ayi/T2a+7iHY/f5Gy9Iqd6t1lK9df4N0ECX
nuxgxK1hFIWKsmHX5uIwDk/Gcle1fD2GqzmiI86KbrHfdDoPEPSVaGdoPUu6t1XO
oUH9O+WYde3tVJony3r//oPww7yeuiJngmeoVrhkg/toCK40WmvGObF01ezsx6Bp
xRY88Vk/T5NuH29EiQdc
=Xv+M
-----END PGP SIGNATURE-----
--- End Message ---