Compare commits

...
Sign in to create a new pull request.

103 commits

Author SHA1 Message Date
Dmitry Butskoy
3ef1461967 Update to 1.5.18 2026-08-11 22:03:54 +03:00
Michal Schorm
e1705a147f [bugfix] Fix FTBFS with nettle 4.0: 'sha1_digest()' also lost length parameter
The existing nettle 4.0 patch fixed 'nettle_md4_digest()' and
'nettle_md5_digest()' but missed 'sha1_digest()' in
'sec_negotiate_gnutls.h', which also dropped the length parameter
in nettle 4.0.

Replace the unconditional patch with version-guarded '#ifdef' blocks
matching upstream commit 67663a0 ("Fix compatibility with Nettle 4
library"), covering all three digest functions with backwards
compatibility for nettle < 4.

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-07-29 14:18:33 +02:00
Michal Schorm
2bc4071fb0 [Fedora 45 Change] Ship drop-in snippet for ODBC driver self-registration
Install '10-freetds.ini' to '/usr/lib/odbc/odbcinst.d/' so the
unixODBC file trigger automatically registers the driver in
'/etc/odbcinst.ini'. Uses bare library name 'libtdsodbc.so'
resolved via the compiled-in MODULEDIR.

Snippet directory layout:
- Snippets are installed to '%{_prefix}/lib/odbc/odbcinst.d/' rather
  than directly to '%{_prefix}/lib/odbc/' to separate configuration
  from content — on multilib systems, '%{_prefix}/lib/odbc/' may also
  contain 32-bit driver '.so' files, and the RPM file triggers that
  watch the snippet directory would fire spuriously on '.so' installs
- Both '%{_prefix}/lib/odbc/' and '%{_prefix}/lib/odbc/odbcinst.d/'
  are co-owned by this package per Fedora directory ownership guidelines

Co-Authored-By: Claude AI <noreply@anthropic.com>

This commit is part of a Fedora 45 Self Contained Change:
  https://fedoraproject.org/wiki/Changes/ODBC_stack_modernization
2026-07-29 12:44:41 +02:00
Michal Schorm
82aca510e3 [bugfix] Fix FTBFS with nettle 4.0: digest functions changed signature
Nettle 4.0 (in Fedora 45) changed 'md5_digest()' and 'md4_digest()'
from 3 arguments '(ctx, length, digest)' to 2 arguments '(ctx, digest)'.
The digest length is now implicit (always the algorithm's native size).

FreeTDS wraps the nettle API in inline functions in
'include/freetds/utils/md5.h' and 'include/freetds/utils/md4.h'.
Both called 'nettle_md5_digest(ctx, 16, digest)' and
'nettle_md4_digest(ctx, 16, digest)' respectively, which no longer
compiles:

  error: too many arguments to function 'nettle_md5_digest';
         expected 2, have 3

Drop the now-removed length argument from both call sites.

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-07-29 12:44:37 +02:00
Fedora Release Engineering
bbe3fd78e5 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-15 23:28:07 +00:00
Michal Schorm
7b373fa3c7 [bugfix] Move ODBC plugin libtdsodbc.so to '%{_libdir}/odbc/' (rhbz#2453060)
Move the ODBC driver symlink 'libtdsodbc.so' from '%{_libdir}/' to
'%{_libdir}/odbc/' to keep ODBC driver plugins out of the bare library
directory. The 'odbc/' subdirectory name is driver-manager-neutral and
consistent with Debian's convention and mdbtools-odbc in Fedora.

The versioned 'libtdsodbc.so.0' stays in '%{_libdir}/' (in '-libs')
because freetds links against it at build time. Only the unversioned
symlink (used as an ODBC plugin entry point) moves to the subdirectory.

Related: rhbz#2453060

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-04-15 21:11:02 +02:00
Fedora Release Engineering
a49cabb2d6 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 11:35:39 +00:00
Fedora Release Engineering
a8a511769d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 20:48:28 +00:00
Fedora Release Engineering
3a776c16ee Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 18:50:58 +00:00
Dmitry Butskoy
85acab57ef Update to 1.4.23 2024-10-07 18:32:39 +03:00
Miroslav Suchý
5e656cd6c6 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-28 09:45:01 +02:00
Fedora Release Engineering
99a2d8f0bd Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 23:39:23 +00:00
Dmitry Butskoy
10b2eb9fe0 . 2024-05-30 11:51:52 +03:00
Dmitry Butskoy
22fe77ebf2 Update to 1.4.16 2024-05-30 11:40:04 +03:00
Marie Loise Nolden
3fb935049c update to 1.4.10 2024-03-19 07:14:22 +01:00
Fedora Release Engineering
90c0f7aaee Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 12:03:15 +00:00
Fedora Release Engineering
522c49436a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:48:15 +00:00
Fedora Release Engineering
96c7271480 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 20:15:55 +00:00
Fedora Release Engineering
8ed773f4e2 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:54:42 +00:00
Fedora Release Engineering
88a4144899 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:38:33 +00:00
Fedora Release Engineering
c371325f50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:26:25 +00:00
Dmitry Butskoy
89a4c713dc Update to 1.3.3 2021-12-08 01:48:30 +03:00
Fedora Release Engineering
d43d875342 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:22:39 +00:00
Fedora Release Engineering
4f14aeb51a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:56:19 +00:00
Tom Stellard
6ea1d56da2 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 22:53:06 +00:00
Fedora Release Engineering
4707149360 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 17:50:27 +00:00
Fedora Release Engineering
f8e642e0b5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 19:00:32 +00:00
Dmitry Butskoy
3a074cf0f6 Update to 1.1.20 2019-11-07 21:22:31 +03:00
Fedora Release Engineering
c7b93ef3ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:02:42 +00:00
buc
0ed297be96 Upgrade to 1.1.11 2019-07-09 19:49:41 +03:00
9cee84706a Rebuild for readline 8.0 2019-02-17 09:30:50 +01:00
Fedora Release Engineering
f4755913ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 20:10:35 +00:00
ad5c2f9d29 Remove unneeded %clean section
It is the behavior since EPEL5.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 05:45:52 +01:00
9d04ec6a5c Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
037b36fb30
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:59 +01:00
Fedora Release Engineering
751e9b4616 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:51:21 +00:00
Jason Tibbitts
93c648276c Remove needless use of %defattr 2018-07-10 00:52:49 -05:00
42e2cb953d Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-13 23:23:29 +01:00
Fedora Release Engineering
02dc196580 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 10:10:43 +00:00
Fedora Release Engineering
cd32405ecf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:48:00 +00:00
Florian Weimer
8a3dfa2083 Rebuild with fixed binutils for ppc64le (#1475636) 2017-07-30 15:05:41 +02:00
Fedora Release Engineering
1d00bf19ab - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:46:14 +00:00
buc
3e81a91362 . 2017-05-11 23:40:12 -04:00
buc
974ba35d89 Update to 1.00.38 2017-05-11 23:14:56 -04:00
Fedora Release Engineering
230d218e5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:01:22 +00:00
Igor Gnatenko
f42bb63108 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:27 +01:00
buc
e77811b9dd Update to 0.95.81 2016-02-10 01:14:58 +03:00
Dennis Gilmore
8490414920 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:48:19 +00:00
buc
ea9388dafd Update to 0.95.19 2015-09-10 02:57:17 +03:00
Dennis Gilmore
5000032bb1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:43:20 +00:00
5a26debe2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 13:12:36 +00:00
Dennis Gilmore
0b6cb1f142 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 07:51:41 -05:00
cebd06e6ed Rebuild for new libgcrypt 2014-04-22 22:11:44 +02:00
Dmitry Butskoy
395bb3508a add ppc64le to the list of 64bit arches 2014-01-10 00:53:05 +04:00
Dmitry Butskoy
a3095455b9 update to the latest git source for 0.91 branch
fix format-security issue
2013-12-03 19:48:51 +04:00
Dmitry Butskoy
46764a1c13 fix #999696 2013-08-22 19:11:06 +04:00
Dmitry Butskoy
b97290e404 use unversioned docdir 2013-08-07 23:42:05 +04:00
Dmitry Butskoy
e108d805d6 . 2013-08-07 22:35:54 +04:00
Dmitry Butskoy
5e1061fffe update to the latest 0.91 devel branch 2013-08-07 18:13:08 +04:00
Dmitry Butskoy
72e80e939d . 2013-08-07 17:30:06 +04:00
Dennis Gilmore
657e4a29e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 06:56:55 -05:00
Dmitry Butskoy
ffeda91924 add aarch64 to 64bit arches 2013-06-13 16:53:19 +04:00
Dennis Gilmore
0e1b942080 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 16:01:07 -06:00
Dmitry Butskoy
34fed48eed . 2012-11-07 20:58:33 +04:00
Dmitry Butskoy
9b26e6be74 . 2012-11-07 19:51:36 +04:00
Dmitry Butskoy
d46f321bf9 update to the latest stable git source 2012-11-07 19:14:18 +04:00
Dennis Gilmore
2f30da6b6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 22:17:02 -05:00
Dmitry Butskoy
afac391665 enable kerberos support 2012-02-27 17:39:51 +04:00
Dennis Gilmore
85b7572f2f - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 20:44:14 -06:00
Dmitry Butskoy
38ab3e0417 . 2011-10-27 17:05:59 +04:00
Dmitry Butskoy
fec628ee6b Upgrade to 0.91 2011-10-27 15:49:05 +04:00
Dmitry Butskoy
3c001e1266 update to the latest stable snapshot of 0.82.1 2011-03-09 20:37:09 +03:00
Dmitry Butskoy
9bb9ad06e4 fix typo 2011-02-14 18:51:28 +03:00
Dmitry Butskoy
c3bdae87fb Increase libtds library version to avoid ABI breakage 2011-02-14 18:38:28 +03:00
Dmitry Butskoy
24f716e7a4 update to the latest stable snapshot of 0.82.1 (dev.20100810) 2011-02-10 21:15:37 +03:00
Dennis Gilmore
80f489c666 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 15:42:14 -06:00
Fedora Release Engineering
66f15884e8 dist-git conversion 2010-07-28 14:48:18 +00:00
Bill Nottingham
a834b6c979 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:16:29 +00:00
Jesse Keating
dc0aab2b66 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 23:11:31 +00:00
5f3368a4e7 add upstream patch cspublic.BLK_VERSION_150.patch (#492393) 2009-03-26 18:14:31 +00:00
d85cd1b57c *** empty log message *** 2009-02-24 11:42:58 +00:00
f24974591b - add s390x to 64 bit archs 2009-01-30 14:43:36 +00:00
f58c193e09 *** empty log message *** 2009-01-13 13:00:38 +00:00
3d87ceedd2 *** empty log message *** 2009-01-12 18:11:15 +00:00
804a8e65be *** empty log message *** 2009-01-12 17:46:44 +00:00
8cb2c687e9 *** empty log message *** 2009-01-12 17:38:08 +00:00
019f2eb397 *** empty log message *** 2009-01-12 17:29:51 +00:00
ea39913d17 *** empty log message *** 2009-01-12 17:17:58 +00:00
9dea73ece1 *** empty log message *** 2009-01-12 17:01:33 +00:00
2c031940a9 *** empty log message *** 2009-01-12 15:31:44 +00:00
b65aa62e7c *** empty log message *** 2009-01-11 17:46:32 +00:00
83ff977b43 *** empty log message *** 2008-06-17 14:32:52 +00:00
84a5e7c78d *** empty log message *** 2008-06-10 15:17:34 +00:00
fcc8ff67cb *** empty log message *** 2008-06-10 15:10:18 +00:00
0436bda10e *** empty log message *** 2008-02-26 17:44:16 +00:00
Jesse Keating
0a106435d7 - Autorebuild for GCC 4.3 2008-02-18 22:00:36 +00:00
aaf8e75b59 *** empty log message *** 2008-01-28 17:36:33 +00:00
d4620c7201 *** empty log message *** 2008-01-25 16:29:06 +00:00
c1dca51a3e *** empty log message *** 2008-01-25 14:53:54 +00:00
Jesse Keating
d7d355a56b - Rebuild for selinux ppc32 issue. 2007-08-28 21:47:17 +00:00
646c08589d *** empty log message *** 2007-08-16 14:12:40 +00:00
4bd0d8a703 *** empty log message *** 2007-06-15 11:35:59 +00:00
35866daf5b *** empty log message *** 2007-06-13 15:34:56 +00:00
7 changed files with 484 additions and 21 deletions

View file

15
.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
freetds-0.82.tar.gz
/freetds-patched.tgz
/freetds-0.91.tar.bz2
/freetds-0.91-f3ae29d.tar.gz
/freetds-0.91-b760a89.tar.gz
/freetds-0.91-748aa26.tar.gz
/freetds-0.91-0a42888.tar.gz
/freetds-0.95.19.tar.bz2
/freetds-0.95.81.tar.bz2
/freetds-1.00.38.tar.bz2
/freetds-1.1.11.tar.bz2
/freetds-1.4.10.tar.bz2
/freetds-1.4.16.tar.gz
/freetds-1.4.16.tar.bz2
/freetds-1.4.23.tar.bz2

3
10-freetds.ini Normal file
View file

@ -0,0 +1,3 @@
[FreeTDS]
Description = Free Sybase & MS SQL Driver
Driver = libtdsodbc.so

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: freetds
# $Id$
NAME := freetds
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1,15 @@
/*
* To avoid multiarch conflicts, we differentiate the 32/64 bit length
* specific header names. This file is a wrapper to include the proper
* arch-specific header at compile time.
*/
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include <tds_sysdep_public_32.h>
#elif __WORDSIZE == 64
#include <tds_sysdep_public_64.h>
#else
#error "Unknown word size"
#endif

450
freetds.spec Normal file
View file

@ -0,0 +1,450 @@
%define bits %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32}
Name: freetds
Summary: Implementation of the TDS (Tabular DataStream) protocol
Version: 1.5.18
Release: 1%{?dist}
# Automatically converted from old format: LGPLv2+ and GPLv2+ - review is highly recommended.
License: LGPL-2.0-or-later AND GPL-2.0-or-later
URL: http://www.freetds.org/
Source0: https://www.freetds.org/files/stable/%{name}-%{version}.tar.bz2
Source1: freetds-tds_sysdep_public.h
Source2: 10-freetds.ini
BuildRequires: unixODBC-devel, readline-devel, gnutls-devel, krb5-devel
BuildRequires: libgcrypt-devel
BuildRequires: libtool
BuildRequires: doxygen, docbook-style-dsssl
BuildRequires: make
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description
FreeTDS is a project to document and implement the TDS (Tabular
DataStream) protocol. TDS is used by Sybase(TM) and Microsoft(TM) for
client to database server communications. FreeTDS includes call
level interfaces for DB-Lib, CT-Lib, and ODBC.
%package libs
Summary: Libraries for %{name}
Requires: %{name} = %{version}-%{release}
%description libs
FreeTDS is a project to document and implement the TDS (Tabular
DataStream) protocol. TDS is used by Sybase(TM) and Microsoft(TM) for
client to database server communications. FreeTDS includes call
level interfaces for DB-Lib, CT-Lib, and ODBC.
This package contains the libraries for %{name}.
%package devel
Summary: Header files and development libraries for %{name}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
This package contains the header files and development libraries
for %{name}. If you like to develop programs using %{name}, you will need
to install %{name}-devel.
%package doc
Summary: Development documentation for %{name}
BuildArch: noarch
%description doc
This package contains the development documentation for %{name}.
If you like to develop programs using %{name}, you will need to install
%{name}-doc.
%prep
%setup -q
# correct perl path
sed -i '1 s,#!.*/perl,#!%{__perl},' samples/*.pl
chmod -x samples/*.sh
%build
[ -f configure ] || NOCONFIGURE=yes ./autogen.sh
%configure \
--disable-dependency-tracking \
--disable-rpath \
--disable-static \
--with-tdsver="auto" \
--with-unixodbc="%{_prefix}" \
--enable-msdblib \
--enable-sybase-compat \
--with-gnutls \
--enable-krb5
# disable-rpath in configure does not work...
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_RIE|' libtool
make %{?_smp_mflags} DOCBOOK_DSL="`rpm -ql docbook-style-dsssl | fgrep html/docbook.dsl`"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/*
# Move ODBC plugin to a dedicated subdirectory (rhbz#2453060)
# libtdsodbc.so is a symlink to libtdsodbc.so.0 -- recreate it with
# a correct relative path from the subdirectory back to the parent
mkdir -p $RPM_BUILD_ROOT%{_libdir}/odbc
unlink $RPM_BUILD_ROOT%{_libdir}/libtdsodbc.so
ln -s ../libtdsodbc.so.0 $RPM_BUILD_ROOT%{_libdir}/odbc/libtdsodbc.so
mv -f $RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public.h \
$RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public_%{bits}.h
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/tds_sysdep_public.h
rm -f samples/Makefile* samples/*.in samples/README
mv -f samples/unixodbc.freetds.driver.template \
samples/unixodbc.freetds.driver.template-%{bits}
mkdir samples-odbc
mv -f samples/*odbc* samples-odbc
# ODBC driver registration drop-in snippet
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/odbc/odbcinst.d
install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_prefix}/lib/odbc/odbcinst.d/
# deinstall it for our own way...
mv -f $RPM_BUILD_ROOT%{_docdir}/%{name} docdir
find docdir -type f -print0 | xargs -0 chmod -x
%ldconfig_scriptlets libs
%files
%{_bindir}/*
%license COPYING.txt
%doc AUTHORS.md NEWS.md README.md TODO.md
%doc doc/*.html
%doc docdir/userguide docdir/images
%{_mandir}/man1/*
%files libs
%license COPYING_LIB.txt
%{_libdir}/*.so.*
%dir %{_libdir}/odbc
%{_libdir}/odbc/libtdsodbc.so
%dir %{_prefix}/lib/odbc
%dir %{_prefix}/lib/odbc/odbcinst.d
%{_prefix}/lib/odbc/odbcinst.d/10-freetds.ini
%doc samples-odbc
%config(noreplace) %{_sysconfdir}/*.conf
%{_mandir}/man5/*
%files devel
%license COPYING_LIB.txt
%doc samples
%{_libdir}/*.so
%exclude %{_libdir}/odbc/libtdsodbc.so
%{_includedir}/*
%files doc
%doc docdir/reference
%changelog
* Tue Aug 11 2026 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.5.18-1
- update to 1.5.18 (#2513794)
* Wed Jul 29 2026 Michal Schorm <mschorm@redhat.com> - 1.4.23-8
- Fix FTBFS with nettle 4.0: 'sha1_digest()' also lost length parameter
* Mon Jul 20 2026 Michal Schorm <mschorm@redhat.com> - 1.4.23-7
- Ship drop-in snippet for ODBC driver self-registration
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Mon Mar 30 2026 Michal Schorm <mschorm@redhat.com> - 1.4.23-5
- Move ODBC plugin libtdsodbc.so to %%{_libdir}/odbc/ (rhbz#2453060)
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Oct 7 2024 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.4.23-1
- update to 1.4.23 (#2316972)
- fix SPDX license
* Wed Aug 28 2024 Miroslav Suchý <msuchy@redhat.com> - 1.4.16-3
- convert license to SPDX
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu May 30 2024 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.4.16-1
- update to 1.4.16
* Tue Mar 19 2024 Marie Loise Nolden <loise@kde.org> - 1.4.10-1
- update to 1.4.10
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 8 2021 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.3.3-1
- update to 1.3.3
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.20-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Nov 7 2019 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.1.20-1
- update to 1.1.20
* Tue Jul 9 2019 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.1.11-1
- Upgrade to 1.1.11 (#1728191)
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.00.38-8
- Rebuild for readline 8.0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.38-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.38-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.38-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.38-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 1.00.38-3
- Rebuild with binutils fix for ppc64le (#1475636)
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.38-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu May 11 2017 Dmitry Butskoy <Dmitry@Butskoy.name> - 1.00.38-1
- Update to 1.00.38
- split freetds-libs package (for multiarch support)
- change default tds vesrion to auto
- move odbc plugin from devel to libs package (#1449881)
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.95.81-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.95.81-2
- Rebuild for readline 7.x
* Wed Feb 10 2016 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.95.81-1
- update to 0.95.81
- use proper rpm macros to determine 64 bit arches
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.95.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Sep 10 2015 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.95.19-1
- Upgrade to 0.95.19
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-16.git0a42888
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-15.git0a42888
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-14.git0a42888
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue Apr 22 2014 Tomáš Mráz <tmraz@redhat.com> - 0.91-13.git0a42888
- Rebuild for new libgcrypt
* Fri Jan 10 2014 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-12.git0a42888
- add ppc64le to the list of 64bit arches (#1051199)
* Tue Dec 3 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-11.git0a42888
- update to the latest git source for 0_91 branch
- fix format-security issue (#1037071)
* Thu Aug 22 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-10.git748aa26
- update to the latest git source for 0_91 branch
- fix #999696
* Wed Aug 7 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-9.gitb760a89
- update to the latest git source for 0_91 branch
- fix #992295, #993762
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-8.gitf3ae29d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Jun 13 2013 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-7.gitf3ae29d
- add aarch64 to the list of 64bit arches (#966129)
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6.gitf3ae29d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 7 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-5.gitf3ae29d
- update to the latest git source for 0_91 branch
- fix #870483
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Feb 27 2012 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-3
- Enable Kerberos support (#797276)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Oct 26 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.91-1
- Upgrade to 0.91
- Drop shared-libtds support
* Wed Mar 9 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.3.20110306dev
- update to the latest stable snapshot 0.82.1.dev.20110306
- make build with shared-libtds conditional
- disable shared-libtds patch by default (seems noone uses it for now)
* Mon Feb 14 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.2.20100810dev
- fix again shared-libtds patch to provide increased library version
* Thu Feb 10 2011 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82.1-0.1.20100810dev
- update to the latest stable snapshot 0.82.1.dev.20100810
- fix shared-libtds patch to provide properly library names
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Mar 26 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-5
- add upstream patch cspublic.BLK_VERSION_150.patch (#492393)
* Tue Feb 24 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-4
- fix autoconf data for libtool2 (patch by Tom Lane <tgl@redhat.com>)
* Fri Jan 30 2009 Karsten Hopp <karsten@redhat.com> 0.82-3
- add s390x to 64 bit archs
* Sun Jan 11 2009 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-3
- Use gnutls for SSL (#479148)
* Tue Jun 17 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-2
- Continue to provide an internal libtds library as public
(patch from Hans de Goede, #451021). This shared library is needed
for some existing applications (libgda etc.), which still use it directly.
* Mon Jun 9 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.82-1
- Upgrade to 0.82
* Tue Feb 26 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-11
- fix "64 or 32 bit" test (#434975)
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.64-10
- Autorebuild for GCC 4.3
* Mon Jan 28 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-9
- drop "Obsoletes:" from -doc subpackage to avoid extra complexity.
* Fri Jan 25 2008 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-8
- resolve multiarch conflicts (#341181):
- split references to separate freetds-doc subpackage
- add arch-specific suffixes for arch-specific filenames in -devel
- add wrapper for tds_sysdep_public.h
- add readline support (#430196)
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.64-7
- Rebuild for selinux ppc32 issue.
* Thu Aug 16 2007 Dmitry Butskoy <Dmitry@Butskoy.name>
- Change License tag to "LGPLv2+ and GPLv2+"
* Fri Jun 15 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-6
- bump release to provide update path over Livna
* Wed Jun 13 2007 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-5
- spec file cleanups
- allowed for Fedora (no patent issues exist), clarification by
James K. Lowden <jklowden [AT] freetds.org>
- approved for Fedora (review by Hans de Goede <j.w.r.degoede@hhs.nl>)
* Wed Aug 2 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-4
- approved for Livna (review by Hans de Goede <j.w.r.degoede@hhs.nl>)
* Tue Aug 1 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-4
- add patch to fix sed scripts in the doc/ Makefile
- avoid using rpath in binaries
- cleanup in samples/ dir
* Thu Jul 27 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-3
- rebuild userguide too.
- move reference docs to -devel
* Mon Jul 24 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-2
- Properly clear extra executable bit in source
- Regenerate docs using doxygen
* Thu Jul 20 2006 Dmitry Butskoy <Dmitry@Butskoy.name> - 0.64-1
- Upgrade to 0.64
- Some spec file and distro cleanups
* Tue Sep 20 2005 V.C.G.Yeah <VCGYeah@iname.com> - 0.63-1
- Upgrade to 0.63
- spec file cleanups
- build static libs conditional
* Thu Sep 2 2004 V.C.G.Yeah <VCGYeah@iname.com> - 0.62.4-1Y
- Updated to release 0.62.4.
- Leave includes in system default include dir (needed for php-mssql build)
* Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.62.3-1
- Updated to release 0.62.3.
* Wed Feb 04 2004 Dag Wieers <dag@wieers.com> - 0.61.2-0
- Added --enable-msdblib configure option. (Dean Mumby)
- Updated to release 0.61.2.
* Fri Jun 13 2003 Dag Wieers <dag@wieers.com> - 0.61-0
- Initial package. (using DAR)

View file

@ -0,0 +1 @@
SHA512 (freetds-1.5.18.tar.bz2) = 9410b992d5b6a2bede00a6e81256b9f426d1477d7b9a2ea74c0481b2a5c3840c35171916a24f7820e101bfc44cf67dbf7c6c5d69010415c19178d91e7949859e