From nobody Mon Mar 04 12:36:48 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TpJ9F29Mbz5CXLS; Mon, 4 Mar 2024 12:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TpJ9F0Hvtz50GR; Mon, 4 Mar 2024 12:36:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709555809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CE8qIQ21Qror5wLc/jiGHFXKwTZQXCFiEuS61FF5ntc=; b=ogRdp4LGyaygUUjZcNqLRGBXDl0Z4/zKAgL0fEBwsaKaKnIpcsy7zk6WnIeL3qAeOWKXja oP9NdeUUGmrvJRokKmuLYmTUt6BABHcTxGKBynPCbaY0f0Q/fKgh9pXCu02GnTL+WHWDxF CJTQDXXAYmLcu33N3PrHL5g6nJlLJUFifgwZcWWxeFqFQyHPOApkBvBQnqWjO9fy+OW6Pr DCVtttvy0F9Y1yMQrz0c14yo4GFdw54giEEZ/rw1IJvQrgZSvEGLAKdlQ4Q2g+gi+KX8Qv Yro/sQy+2MzKJpCBihbAvOO7UZfaHK7VlR432EWu5fs12tZVYwkeyg3T7Lcnrw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709555809; a=rsa-sha256; cv=none; b=YyYM9bP46i4UB3ONkfZCLKjfelIDwekl4qKYW3IcE+UL0AD0vx+hiYWc5lT8u3Yr+iHnxL DnJmnMdKbkNREJ3TB/yl7qpz0lJdOTp7R6p74gq1oawTtlFptwdm0qVDFpIc+crUtLjlme Cbpahrdg+RnhLp3hkB2gkSC5pIren+Ivh43Cq6YOBoFkifF9AYfeZjbl4/sg3vQx5R9UqW lpwfJ6vyniTLIk/dtzVWaXz/6IEwbAbn2ScxzlKYFSJz6rtTQWpxHa4xmKoCnVgTVyPtpQ 5g/WQaE0IQEmyNRGKyhiUlE7Krl2Ycego1edi+VnRAu1V/GD3a2LDa3qV7rbKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709555809; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CE8qIQ21Qror5wLc/jiGHFXKwTZQXCFiEuS61FF5ntc=; b=Wy7tIkC+u48+POzWfGFZq4Kn76Xo96kfQOtKqW+9IT8vK55bdH8yeYT4Po6GiUQh0OyCJJ +F7gjHZ2XoVK4BY6XrkGfAUNRW5BhLHRzufswg9vre/GK86E312Oo8pwaFVc5SfU9DpFaK a86xelm6PRK4HKx4jipsmC8Ozuk5VSAaMyIMNqlj26SmyJaIXxZTuMPIQmhUwA+E/SH5H4 zBNP+2F7MdFmqKCeRJb5QRotNpr2OLzqrqUCz9xwAKEBiPCioOWI8GIbYZ9wUq3u5MQJbo 1WJbnbJKgTJSXRlAdqyaW/tCjtVTlTSkpxSPupibWtAIoj7rEvw7/TCryU0rjQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TpJ9D6v38zMVP; Mon, 4 Mar 2024 12:36:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 424Cam4u071990; Mon, 4 Mar 2024 12:36:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 424Camxp071987; Mon, 4 Mar 2024 12:36:48 GMT (envelope-from git) Date: Mon, 4 Mar 2024 12:36:48 GMT Message-Id: <202403041236.424Camxp071987@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: cfa638a3f35c - main - databases/freetds-devel: Update version 1.4.145=>1.4.146 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cfa638a3f35c3f01d0feef95481f526e1843a607 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=cfa638a3f35c3f01d0feef95481f526e1843a607 commit cfa638a3f35c3f01d0feef95481f526e1843a607 Author: Muhammad Moinur Rahman AuthorDate: 2024-03-04 11:00:16 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-03-04 12:30:59 +0000 databases/freetds-devel: Update version 1.4.145=>1.4.146 - There was an issue regarding missing odbcss.h file while upgrading through ports which has been fixed --- databases/freetds-devel/Makefile | 6 +-- databases/freetds-devel/distinfo | 6 +-- databases/freetds-devel/files/patch-configure | 59 ++++++++++++++++++++++ .../freetds-devel/files/patch-doc_Makefile.in | 4 +- databases/freetds-devel/files/patch-src_tds_tls.c | 10 ++-- 5 files changed, 70 insertions(+), 15 deletions(-) diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile index ea8caff6f3cc..ba4701b7db70 100644 --- a/databases/freetds-devel/Makefile +++ b/databases/freetds-devel/Makefile @@ -1,5 +1,5 @@ PORTNAME= freetds -PORTVERSION= 1.4.145 +PORTVERSION= 1.4.146 PORTEPOCH= 1 CATEGORIES= databases MASTER_SITES= https://www.freetds.org/files/current/ \ @@ -69,14 +69,10 @@ post-extract: @cd ${WRKSRC}/src/pool && ${LN} -s pool.conf pool.conf.sample post-patch: - @${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|g' \ - ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/pool.conf|/pool.conf.sample|g' \ ${WRKSRC}/src/pool/Makefile.in @${REINPLACE_CMD} -e 's|/freetds.conf|/freetds.conf.sample|g ; \ s|/locales.conf|/locales.conf.sample|g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|$$ODBC_INC/isql.h|$$ODBC_INC/libiodbc/isql.h|g ; \ - s|$$ODBC_INC/isqlext.h|$$ODBC_INC/libiodbc/isqlext.h|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ ${ICONV_LIB}|g' \ ${WRKSRC}/src/tds/Makefile.in diff --git a/databases/freetds-devel/distinfo b/databases/freetds-devel/distinfo index b1d7564217c6..eaef57949ba1 100644 --- a/databases/freetds-devel/distinfo +++ b/databases/freetds-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709015928 -SHA256 (freetds-dev.1.4.145.tar.bz2) = 728bb44c14327ec31b897fd6014a1c8cca07505d7ce58516896ea183809d7c7e -SIZE (freetds-dev.1.4.145.tar.bz2) = 2407506 +TIMESTAMP = 1709549330 +SHA256 (freetds-dev.1.4.146.tar.bz2) = cba45066c22f8b85ba3caa6dd352f8733d53de1e88dc1dfd4ec845c7a7977ffb +SIZE (freetds-dev.1.4.146.tar.bz2) = 2409317 diff --git a/databases/freetds-devel/files/patch-configure b/databases/freetds-devel/files/patch-configure new file mode 100644 index 000000000000..b0dd840ca7e0 --- /dev/null +++ b/databases/freetds-devel/files/patch-configure @@ -0,0 +1,59 @@ +--- configure.orig 2024-03-02 09:02:14 UTC ++++ configure +@@ -19020,20 +19020,7 @@ fi + printf "%s\n" "#define HAVE_SQL_H 1" >>confdefs.h + + fi +-ac_fn_c_check_header_compile "$LINENO" "odbcss.h" "ac_cv_header_odbcss_h" "#ifdef HAVE_WINDOWS_H +-# include +-#endif +-#ifdef HAVE_SQL_H +-# include +-#endif + +-" +-if test "x$ac_cv_header_odbcss_h" = xyes +-then : +- printf "%s\n" "#define HAVE_ODBCSS_H 1" >>confdefs.h +- +-fi +- + if test "$ac_cv_header_odbcss_h" = "yes"; then + HAVE_ODBCSS_H_TRUE= + HAVE_ODBCSS_H_FALSE='#' +@@ -21382,8 +21369,8 @@ elif test "x$with_iodbc" != "x" -a "x$with_iodbc" != " + fi + CPPFLAGS="$CPPFLAGS -DIODBC" + ODBC_INC="$with_iodbc/include" +- test -r "$ODBC_INC/isql.h" || as_fn_error $? "isql.h not found" "$LINENO" 5 +- test -r "$ODBC_INC/isqlext.h" || as_fn_error $? "isqlext.h not found" "$LINENO" 5 ++ test -r "$ODBC_INC/libiodbc/isql.h" || as_fn_error $? "isql.h not found" "$LINENO" 5 ++ test -r "$ODBC_INC/libiodbc/isqlext.h" || as_fn_error $? "isqlext.h not found" "$LINENO" 5 + ODBC_INC="-I$ODBC_INC" + ODBC_LDFLAGS="-L$with_iodbc/lib -liodbc" + odbc=true +@@ -21983,14 +21970,14 @@ fi + # Put the nasty error message in config.log where it belongs + echo "$GNUTLS_PKG_ERRORS" >&5 + +- CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`" +- NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`" ++ CPPFLAGS="$CPPFLAGS `pkg-config gnutls --cflags`" ++ NETWORK_LIBS="$NETWORK_LIBS `pkg-config gnutls --libs`" + + elif test $pkg_failed = untried; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 + printf "%s\n" "no" >&6; } +- CPPFLAGS="$CPPFLAGS `libgnutls-config --cflags`" +- NETWORK_LIBS="$NETWORK_LIBS `libgnutls-config --libs`" ++ CPPFLAGS="$CPPFLAGS `pkg-config gnutls --cflags`" ++ NETWORK_LIBS="$NETWORK_LIBS `pkg-config gnutls --libs`" + + else + GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS +@@ -26085,5 +26072,3 @@ fi + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + fi +- +- diff --git a/databases/freetds-devel/files/patch-doc_Makefile.in b/databases/freetds-devel/files/patch-doc_Makefile.in index 6977487ad8ee..0b08f21c3b85 100644 --- a/databases/freetds-devel/files/patch-doc_Makefile.in +++ b/databases/freetds-devel/files/patch-doc_Makefile.in @@ -1,6 +1,6 @@ ---- doc/Makefile.in.orig 2019-03-30 09:02:39 UTC +--- doc/Makefile.in.orig 2024-03-02 09:02:15 UTC +++ doc/Makefile.in -@@ -740,16 +740,7 @@ $(INSTALLDIRS) $(DOCDIR): +@@ -746,16 +746,7 @@ $(INSTALLDIRS) $(DOCDIR): # If we built the documentation ourselves, install that, # else if we have access to distributed documentation, install that. diff --git a/databases/freetds-devel/files/patch-src_tds_tls.c b/databases/freetds-devel/files/patch-src_tds_tls.c index 50a726fd5614..68f0fa2aad2c 100644 --- a/databases/freetds-devel/files/patch-src_tds_tls.c +++ b/databases/freetds-devel/files/patch-src_tds_tls.c @@ -1,13 +1,13 @@ ---- src/tds/tls.c.orig 2015-05-16 09:00:33 UTC +--- src/tds/tls.c.orig 2023-11-24 09:01:53 UTC +++ src/tds/tls.c -@@ -46,6 +46,10 @@ - #include - #endif /* HAVE_SYS_STAT_H */ +@@ -53,6 +53,10 @@ + #include + #endif +#if defined(__FreeBSD__) || defined(__DragonFly__) +#include +#endif + #include - #include + #include #include