From nobody Tue Nov 05 18:06:38 2024 X-Original-To: dev-commits-ports-all@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 4XjbrH4R7xz5cPhD; Tue, 05 Nov 2024 18:06:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjbrH0j3hz4G3P; Tue, 5 Nov 2024 18:06:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730829999; 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=5UTXDVHPUqjpmsAcbuo75mjFhEk/nQnTcMFqnfGQQF0=; b=QLXOW9AqUx6ALmtTw+pp7j8ltCJFEijzkTEYd3NrLN/fPXHLCiH2SfO69uYTojGgtRX3o2 4MxbCC9xYlCEUDPv8Kk15vzyl0rJY4oOo83Vh6zZ4C/Fls7FFYmZp0voR13RDzJX1wnwCp g0poCrJ/2jJbvKxoqfnDoIC4aNZOO1hxPfYSpZ9WdX589YoEDyZbB2qwG/ymRusnf7dE3c neho9DTYGlXKLRFI95qaBZuoUz1/mAOMWZ1F1/iy4m7bnVQJkjiAfU48aJkRvAggmaEgHN mwRDcb0Zfo+D4M3PgkETCMH23b2dWwTCsTekzjNTm0iUzGrEeE4gjELZsu+9Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730829999; 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=5UTXDVHPUqjpmsAcbuo75mjFhEk/nQnTcMFqnfGQQF0=; b=DX5OCi1KRCEKvidBlcB8+kZSCAleTv0OLzkAFxwp7RhbPEyQZJMycWkqa2XYgXQlQJXNXn yNiifQzzjWSk1KT8xy/KOzp2fHdqV5QE0ak5VKq5vj741gzw7s759gc+9FRwoVoY1MVHh4 FTMflYJiF4lna/ws7DrV5WUGY0KfDz6htAmHFP6WjaAbKMLcAGNHGa2Oz4S8UQ/o556pct 6Zw4v9XWYHwxPTSFiCyKdIjQZ9H3CvoRQ4FwuVVVMG160BunOA78gnmtr0XPMvPiMREt2V 62bBjLO1D4d4VsoF1czWo7Yfoyii7f/fdnPVA0g8RtnDBbA3n/pq7hvtuQYjDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730829999; a=rsa-sha256; cv=none; b=s0Ia7G/kejFhkMWwq4AHnqWly7M2/oZICk9rquqFL6hZpHCBUHdPqyaWocaTS+PMy5GR5I QJ5+cO1/j/NrNc9riAKswiNMjvH4r6haVqpt+pAHtf5iyOmIa3I5o+85B7pdc1oMAjSz9G 9vnwxc5uV0uYaHx/WekBznumbkAHz4vcsOadcVVcBGtDplm2rAjnyXo+BA/a96QakdGp1r xJKUMEGXLCKmYvhbqmhD0QNbfLYi6D1IGs40isEjRRP2jHT4041rrE5z2gK42XyqZ+iHpn d+7u+XDNuw59TOVGlm+u15BMIibIW/Nwu3i9KMFqZTOqTr36qyj5wgsFTiHPuQ== 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 4XjbrH01btzRJZ; Tue, 5 Nov 2024 18:06:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A5I6cas087872; Tue, 5 Nov 2024 18:06:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A5I6cfg087869; Tue, 5 Nov 2024 18:06:38 GMT (envelope-from git) Date: Tue, 5 Nov 2024 18:06:38 GMT Message-Id: <202411051806.4A5I6cfg087869@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: fe377bbb78a5 - main - net/libnss-mysql: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version (+) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fe377bbb78a53fd6b22450d580ce67b1cfee3696 Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe377bbb78a53fd6b22450d580ce67b1cfee3696 commit fe377bbb78a53fd6b22450d580ce67b1cfee3696 Author: Max Khon AuthorDate: 2024-11-05 18:05:23 +0000 Commit: Dima Panov CommitDate: 2024-11-05 18:06:15 +0000 net/libnss-mysql: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version (+) PR: 280862 --- net/libnss-mysql/Makefile | 2 +- net/libnss-mysql/files/patch-src_mysql.c | 22 ---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/net/libnss-mysql/Makefile b/net/libnss-mysql/Makefile index bc4902e6c683..7b7c8f37bc50 100644 --- a/net/libnss-mysql/Makefile +++ b/net/libnss-mysql/Makefile @@ -1,6 +1,6 @@ PORTNAME= libnss-mysql PORTVERSION= 1.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net MASTER_SITES= SF diff --git a/net/libnss-mysql/files/patch-src_mysql.c b/net/libnss-mysql/files/patch-src_mysql.c deleted file mode 100644 index 11f9a288c6c9..000000000000 --- a/net/libnss-mysql/files/patch-src_mysql.c +++ /dev/null @@ -1,22 +0,0 @@ ---- src/mysql.c.orig 2005-09-04 03:34:02 UTC -+++ src/mysql.c -@@ -196,6 +196,7 @@ _nss_mysql_connect_sql (MYSQL_RES **mresult) - int retval; - sql_server_t *server = &conf.sql.server; - unsigned int port; -+ my_bool reconnect = 1; - - DENTER - -@@ -238,8 +239,9 @@ _nss_mysql_connect_sql (MYSQL_RES **mresult) - DSRETURN (NSS_UNAVAIL) - } - ci.valid = ntrue; -- ci.link.reconnect = 0; /* Safety: We can't let MySQL assume socket is -- still valid; see _nss_mysql_validate_socket */ -+ /* Safety: We can't let MySQL assume socket is still valid; -+ see _nss_mysql_validate_socket */ -+ mysql_options(&ci.link, MYSQL_OPT_RECONNECT, &reconnect); - DSRETURN (NSS_SUCCESS) - } - _nss_mysql_log (LOG_ALERT, "Connection to server '%s' failed: %s",