update to FreeTDS 0.91.49 (minor bugfix update in stable branch) and

tweak the text dealing with LD_PRELOAD=libpthread.so.
This commit is contained in:
sthen 2012-11-22 21:26:18 +00:00
parent e5bef61946
commit e52b7d9549
4 changed files with 50 additions and 53 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.56 2012/07/09 22:37:55 sthen Exp $
# $OpenBSD: Makefile,v 1.57 2012/11/22 21:26:18 sthen Exp $
COMMENT= database drivers for Sybase/Microsoft SQL Server
DISTNAME= freetds-0.91
REVISION= 1
DISTNAME= freetds-0.91.49
SHARED_LIBS += ct 5.0 # .4.0
SHARED_LIBS += sybdb 7.0 # .5.0
@ -26,7 +25,8 @@ PERMIT_PACKAGE_FTP= Yes
WANTLIB += c crypto iodbc iodbcinst ncurses pthread readline ssl
MASTER_SITES= http://mirrors.ibiblio.org/freetds/stable/
MASTER_SITES= http://mirrors.ibiblio.org/freetds/stable/git/ \
ftp://ftp.freetds.org/pub/freetds/stable/
AUTOCONF_VERSION=2.65
AUTOMAKE_VERSION=1.11

View File

@ -1,5 +1,2 @@
MD5 (freetds-0.91.tar.gz) = sU21gjmAoy8GQ9GoTT7DrQ==
RMD160 (freetds-0.91.tar.gz) = HTPUxEFNB5PYPIeoIkusGBUo/bA=
SHA1 (freetds-0.91.tar.gz) = OrBsjiCOghl9wl0JrjU9nzvn21I=
SHA256 (freetds-0.91.tar.gz) = aoFIvYA6686saGKw3q0cXZZZ9+EDiZOr/gzo/rsyJGU=
SIZE (freetds-0.91.tar.gz) = 2136329
SHA256 (freetds-0.91.49.tar.gz) = 8PR/it+dDuIXvPQq9jQMjZ83x9U+qpIv+VPeFRme3Ys=
SIZE (freetds-0.91.49.tar.gz) = 2176721

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.19 2012/05/11 09:57:02 sthen Exp $
@comment $OpenBSD: PLIST,v 1.20 2012/11/22 21:26:18 sthen Exp $
@pkgpath databases/freetds,-msdblib
@pkgpath databases/freetds,-openssl
@bin bin/bsqldb
@ -210,13 +210,13 @@ ${DOC}/reference/a00152_source.html
${DOC}/reference/a00153_source.html
${DOC}/reference/a00154_source.html
${DOC}/reference/a00155_source.html
${DOC}/reference/a00156.html
${DOC}/reference/a00156_source.html
${DOC}/reference/a00157_source.html
${DOC}/reference/a00158.html
${DOC}/reference/a00158_source.html
${DOC}/reference/a00159.html
${DOC}/reference/a00159_source.html
${DOC}/reference/a00160_source.html
${DOC}/reference/a00161.html
${DOC}/reference/a00161_source.html
${DOC}/reference/a00162_source.html
${DOC}/reference/a00163_source.html
@ -225,34 +225,34 @@ ${DOC}/reference/a00165_source.html
${DOC}/reference/a00166_source.html
${DOC}/reference/a00167_source.html
${DOC}/reference/a00168_source.html
${DOC}/reference/a00175_source.html
${DOC}/reference/a00178_source.html
${DOC}/reference/a00169_source.html
${DOC}/reference/a00170_source.html
${DOC}/reference/a00171_source.html
${DOC}/reference/a00172_source.html
${DOC}/reference/a00173_source.html
${DOC}/reference/a00180_source.html
${DOC}/reference/a00182_source.html
${DOC}/reference/a00184_source.html
${DOC}/reference/a00190.html
${DOC}/reference/a00191_source.html
${DOC}/reference/a00192.html
${DOC}/reference/a00195_source.html
${DOC}/reference/a00209_source.html
${DOC}/reference/a00183_source.html
${DOC}/reference/a00185_source.html
${DOC}/reference/a00187_source.html
${DOC}/reference/a00189_source.html
${DOC}/reference/a00195.html
${DOC}/reference/a00196_source.html
${DOC}/reference/a00197.html
${DOC}/reference/a00200_source.html
${DOC}/reference/a00214_source.html
${DOC}/reference/a00238_source.html
${DOC}/reference/a00241_source.html
${DOC}/reference/a00245_source.html
${DOC}/reference/a00261_source.html
${DOC}/reference/a00264_source.html
${DOC}/reference/a00219_source.html
${DOC}/reference/a00243_source.html
${DOC}/reference/a00246_source.html
${DOC}/reference/a00250_source.html
${DOC}/reference/a00251_source.html
${DOC}/reference/a00263_source.html
${DOC}/reference/a00268_source.html
${DOC}/reference/a00271_source.html
${DOC}/reference/a00272_source.html
${DOC}/reference/a00277_source.html
${DOC}/reference/a00278_source.html
${DOC}/reference/a00273_source.html
${DOC}/reference/a00281_source.html
${DOC}/reference/a00282_source.html
${DOC}/reference/a00285.html
${DOC}/reference/a00286.html
${DOC}/reference/a00287.html
${DOC}/reference/a00288.html
${DOC}/reference/a00289.html
${DOC}/reference/a00290.html
${DOC}/reference/a00291.html
${DOC}/reference/a00286_source.html
${DOC}/reference/a00289_source.html
${DOC}/reference/a00292.html
${DOC}/reference/a00293.html
${DOC}/reference/a00294.html
@ -269,13 +269,13 @@ ${DOC}/reference/a00304.html
${DOC}/reference/a00305.html
${DOC}/reference/a00306.html
${DOC}/reference/a00307.html
${DOC}/reference/a00308.html
${DOC}/reference/a00309.html
${DOC}/reference/a00310.html
${DOC}/reference/a00311.html
${DOC}/reference/a00312.html
${DOC}/reference/a00313.html
${DOC}/reference/a00314.html
${DOC}/reference/a00315.html
${DOC}/reference/a00316.html
${DOC}/reference/a00317.html
${DOC}/reference/a00318.html
@ -361,13 +361,13 @@ ${DOC}/reference/a00397.html
${DOC}/reference/a00398.html
${DOC}/reference/a00399.html
${DOC}/reference/a00400.html
${DOC}/reference/a00401.html
${DOC}/reference/a00402.html
${DOC}/reference/a00403.html
${DOC}/reference/a00404.html
${DOC}/reference/a00405.html
${DOC}/reference/a00406.html
${DOC}/reference/a00407.html
${DOC}/reference/a00408.html
${DOC}/reference/a00409.html
${DOC}/reference/a00410.html
${DOC}/reference/a00411.html
@ -407,6 +407,13 @@ ${DOC}/reference/a00444.html
${DOC}/reference/a00445.html
${DOC}/reference/a00446.html
${DOC}/reference/a00447.html
${DOC}/reference/a00448.html
${DOC}/reference/a00449.html
${DOC}/reference/a00450.html
${DOC}/reference/a00451.html
${DOC}/reference/a00452.html
${DOC}/reference/a00453.html
${DOC}/reference/a00454.html
${DOC}/reference/all_5f.html
${DOC}/reference/all_62.html
${DOC}/reference/all_63.html

View File

@ -1,22 +1,15 @@
$OpenBSD: README,v 1.1 2011/09/08 17:13:51 sthen Exp $
$OpenBSD: README,v 1.2 2012/11/22 21:26:18 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------
The main FreeTDS package uses GnuTLS if making an encrypted connection.
This requires thread support; due to limitations of OpenBSD's current
userland threads implementation, it is not always possible to load the
correct library automatically.
If you are using FreeTDS from a program which is not linked with the
thread library, you may find that the program fails, possibly reporting
errors like this:
If you see errors like "undefined symbol 'pthread_mutex_unlock'" or
processes exiting when making a connection to an encrypted server, you
will need to manually load the pthread shared library; you can do this
by setting "LD_PRELOAD=/usr/lib/libpthread.so" in the environment.
undefined symbol 'pthread_mutex_unlock'
Alternatively you may use the "openssl" flavor of the port; the licenses
of FreeTDS and OpenSSL are incompatible, therefore compiled packages may not
be distributed, so you will need to build this yourself.
Note that this does not apply for cleartext connections; the problem is
only seen when the encryption library is initialized.
If this occurs, you will need to manually load the pthread shared
library; you can do this by setting "LD_PRELOAD=/usr/lib/libpthread.so"
in the environment before starting your program.