public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freetds] rawhide: Update to 1.5.18
@ 2026-08-11 19:06 Dmitry Butskoy
  0 siblings, 0 replies; only message in thread
From: Dmitry Butskoy @ 2026-08-11 19:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/freetds
Branch : rawhide
Commit : 3ef1461967e6b4a0d13d482afd452fad3a8bc040
Author : Dmitry Butskoy <dmitry@butskoy.name>
Date   : 2026-08-11T22:03:54+03:00
Stats  : +6/-72 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/freetds/c/3ef1461967e6b4a0d13d482afd452fad3a8bc040?branch=rawhide

Log:
Update to 1.5.18

---
diff --git a/freetds-1.4.23-nettle4.patch b/freetds-1.4.23-nettle4.patch
deleted file mode 100644
index 770ff34..0000000
--- a/freetds-1.4.23-nettle4.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- a/include/freetds/utils/md4.h
-+++ b/include/freetds/utils/md4.h
-@@ -23,6 +23,7 @@ typedef struct MD4Context MD4_CTX;
- #else
-
- #include <nettle/md4.h>
-+#include <nettle/version.h>
-
- typedef struct md4_ctx MD4_CTX;
-
-@@ -38,7 +39,11 @@ static inline void MD4Update(MD4_CTX *ctx, const uint8_t *buf, size_t len)
-
- static inline void MD4Final(MD4_CTX *ctx, uint8_t *digest)
- {
-+#if defined(NETTLE_VERSION_MAJOR) && NETTLE_VERSION_MAJOR >= 4
-+	nettle_md4_digest(ctx, digest);
-+#else
- 	nettle_md4_digest(ctx, 16, digest);
-+#endif
- }
-
-
---- a/include/freetds/utils/md5.h
-+++ b/include/freetds/utils/md5.h
-@@ -25,6 +25,7 @@ typedef struct md5_ctx MD5_CTX;
- #else
-
- #include <nettle/md5.h>
-+#include <nettle/version.h>
-
- typedef struct md5_ctx MD5_CTX;
-
-@@ -40,7 +41,11 @@ static inline void MD5Update(MD5_CTX *ctx, const uint8_t *buf, size_t len)
-
- static inline void MD5Final(MD5_CTX *ctx, uint8_t *digest)
- {
-+#if defined(NETTLE_VERSION_MAJOR) && NETTLE_VERSION_MAJOR >= 4
-+	nettle_md5_digest(ctx, digest);
-+#else
- 	nettle_md5_digest(ctx, 16, digest);
-+#endif
- }
-
- #endif
---- a/src/tds/sec_negotiate_gnutls.h
-+++ b/src/tds/sec_negotiate_gnutls.h
-@@ -35,6 +35,7 @@
- #  include <nettle/asn1.h>
- #  include <nettle/rsa.h>
- #  include <nettle/bignum.h>
-+#  include <nettle/version.h>
- #endif
-
- /**
-@@ -186,7 +187,11 @@ sha1(uint8_t *hash, const void *data, size_t len)
- 	struct sha1_ctx ctx;
- 	sha1_init(&ctx);
- 	sha1_update(&ctx, len, (const uint8_t *) data);
-+#if defined(NETTLE_VERSION_MAJOR) && NETTLE_VERSION_MAJOR >= 4
-+	sha1_digest(&ctx, hash);
-+#else
- 	sha1_digest(&ctx, 20, hash);
-+#endif
- }
- #endif
-

diff --git a/freetds.spec b/freetds.spec
index a2a3013..7383f76 100644
--- a/freetds.spec
+++ b/freetds.spec
@@ -2,8 +2,8 @@
 
 Name: freetds
 Summary: Implementation of the TDS (Tabular DataStream) protocol
-Version: 1.4.23
-Release: 8%{?dist}
+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/
@@ -12,8 +12,6 @@ Source0: https://www.freetds.org/files/stable/%{name}-%{version}.tar.bz2
 Source1: freetds-tds_sysdep_public.h
 Source2: 10-freetds.ini
 
-Patch0: freetds-1.4.23-nettle4.patch
-
 BuildRequires: unixODBC-devel, readline-devel, gnutls-devel, krb5-devel
 BuildRequires: libgcrypt-devel
 BuildRequires: libtool
@@ -64,7 +62,6 @@ If you like to develop programs using %{name}, you will need to install
 
 %prep 
 %setup -q
-%patch -P0 -p1
 
 #  correct perl path
 sed -i '1 s,#!.*/perl,#!%{__perl},' samples/*.pl
@@ -169,6 +166,9 @@ find docdir -type f -print0 | xargs -0 chmod -x
  
 
 %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
 

diff --git a/sources b/sources
index d8018db..f2c9a79 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (freetds-1.4.23.tar.bz2) = 9b51b21d9c5dc7cac3d9fdccb3a600a6b3b2a0df6f7a0396497ba3377c9a6925b3e4ea3dfbb671bd4563c321692bea82c6f70c2ccefb30eaa0d006ebd3aac249
+SHA512 (freetds-1.5.18.tar.bz2) = 9410b992d5b6a2bede00a6e81256b9f426d1477d7b9a2ea74c0481b2a5c3840c35171916a24f7820e101bfc44cf67dbf7c6c5d69010415c19178d91e7949859e

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 19:06 [rpms/freetds] rawhide: Update to 1.5.18 Dmitry Butskoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox