From nobody Thu May 25 08:18:59 2023 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 4QRgtr2zS5z4CqkK; Thu, 25 May 2023 08:19:00 +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 4QRgtr2Jbzz3Klt; Thu, 25 May 2023 08:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685002740; 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=XuYZU6o//emids/+6+9lhdCKr+QCdY6t1EVye8yeads=; b=h6hVlr+vbCpD3ZAddZ9legwY4hNgTYItGp3C+P5O3aLxYskGa+85BxhcEUQApF9OKPZpy0 THBzhW5DQu1C+DNek//pycIoJwA+V4Joj7x8EJUYTfqQ7fYAKPeMREP4Pbt/W0UiAsZXsj zL253k8uRxxjvMlJDhmwhC3W88bBJJWirlRxizTIp6NmJJTiqkNKYeJGJ99r03imoXKdiY OfMdRBAKiIZ2QrJ0NIQuH0eX/9mzlTcc/Pp6VyG8IBL4z2pL7z7V2xW0j8BRRZ9Ivwz6TP Dsx1cxMY8loTK/sscENM5J77D4YnsnvPsoBHs12c4yZPthbaHt9MZudn2MkH2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685002740; 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=XuYZU6o//emids/+6+9lhdCKr+QCdY6t1EVye8yeads=; b=hpG6KBaQUT+Mft5QfJok+dSYbiHlUmNSIrHrxXTLusWu2rUVYRcRXBGxDw8limiGrm9uwc iVMYre6MWXV06r74ZVTxf8XODlqlHDbTGAjXudapD94o9/+gCxLsyeRb45qJDkt4HG2CXE phjZ85SmTs4KBCN0TkHzRcUgAz330JsWJjcj57oxmKnFG94zuskWkWpLha1/kYCB8uNbeG AQf2XbxvJGY4xr5V0Mr0E9S+2hsOdKrBFfUE+OXuZHDqZQDOoLiNuRu0KmNwC9dOeYSomp u0pjZQdwfOG6UHcKhQ0pHLzJ1anpBs7LjncNOMoMAWo28sWxunGTV6Hb4W9VLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685002740; a=rsa-sha256; cv=none; b=YHPH2nT2ymxx0IG4tPYumj0A1PkYrj5KD0nXzaN67mgDywIoDLWaOOGnRBFE1KdnFlE9U9 B54Cxjo9311KWQ2zvzBMKX1hkNxnaTIGdyVTmGRoDvf8nX2jwM964OjWS2z4yp9A++64TK tIAZ9LeZNoLEpV03sEbzEPrpVT9NUOHnuFyMrVb3InbiK+/3bSMmQ9ouSTx9Fu+0cHfsB9 USDNGIFEnGgzKf02stiiIhL8aaeUSmE0YzLxxKzq0UcLuq52Fj/iLjEU7vjsRPa1vfc531 R3P4fI03pMU0hiWCIt+l3pROtjMO2Ol2weeQiL5DsbWL6GlfaaZ8ac85P7/5pw== 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 4QRgtr1G3HzHdP; Thu, 25 May 2023 08:19:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34P8IxhN053645; Thu, 25 May 2023 08:18:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34P8Ix4X053644; Thu, 25 May 2023 08:18:59 GMT (envelope-from git) Date: Thu, 25 May 2023 08:18:59 GMT Message-Id: <202305250818.34P8Ix4X053644@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: f75fc1617962 - main - www/lighttpd: fix listening on IPv6 addresses 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f75fc16179629b51725274bb82aac362fe6e41e5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=f75fc16179629b51725274bb82aac362fe6e41e5 commit f75fc16179629b51725274bb82aac362fe6e41e5 Author: Piotr Kubaj AuthorDate: 2023-05-25 08:16:20 +0000 Commit: Piotr Kubaj CommitDate: 2023-05-25 08:18:44 +0000 www/lighttpd: fix listening on IPv6 addresses PR: 271335 --- www/lighttpd/Makefile | 1 + www/lighttpd/files/patch-src_sock__addr.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index 94f4aac98136..1d6e9701314a 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -1,5 +1,6 @@ PORTNAME?= lighttpd PORTVERSION= 1.4.70 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES?= https://download.lighttpd.net/lighttpd/releases-1.4.x/ diff --git a/www/lighttpd/files/patch-src_sock__addr.c b/www/lighttpd/files/patch-src_sock__addr.c new file mode 100644 index 000000000000..9917b52a0ef2 --- /dev/null +++ b/www/lighttpd/files/patch-src_sock__addr.c @@ -0,0 +1,11 @@ +--- src/sock_addr.c.orig 2023-05-15 15:41:44 UTC ++++ src/sock_addr.c +@@ -496,7 +496,7 @@ int sock_addr_from_str_hints(sock_addr * const restric + if (0 != (rc = getaddrinfo(str, NULL, &hints, &res))) { + hints.ai_family = AF_INET; + if ( +- #ifdef EAI_ADDRFAMILY ++ #if defined(__GLIBC__) && defined(EAI_ADDRFAMILY) + EAI_ADDRFAMILY == rc && + #endif + 0 == getaddrinfo(str, NULL, &hints, &res)) {