From nobody Wed Feb 9 01:04:04 2022 X-Original-To: ports-bugs@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 CCB7419C1E53 for ; Wed, 9 Feb 2022 01:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@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 4JthTw4Crfz3KwY for ; Wed, 9 Feb 2022 01:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 715F823E37 for ; Wed, 9 Feb 2022 01:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 219144Se072588 for ; Wed, 9 Feb 2022 01:04:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 219144ZM072587 for ports-bugs@FreeBSD.org; Wed, 9 Feb 2022 01:04:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254648] mail/qmail-tls doesn't compile with spf Date: Wed, 09 Feb 2022 01:04:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd@charles.lecklider.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644368644; 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: in-reply-to:in-reply-to:references:references; bh=+fGbeuJEwkqE15uTscamfch2S70Cxbl0Jo3iVf7OJi8=; b=s+mn56OzHmxhpaOh20sjLOOxh9B3fKLDSUOme+vWXn2sBBkXOyWEn9Bq7mq0K17fV7FENv pNR08VCOTJrjxFZcMT0BMTfq6/a2SMW32Q/ZLCwAUIhqLvNaDwZzeJ2wVTtKlssakZ4XK+ F655/J9diE5FL8PQ54b+aGJ5FGmt8xqY4o91n0Q5FYu/af9JTgIdZdnxaGiKi5+IidOEzq uBiYNmjZ24ew9k70mXxw82VFSAhpWUZFNsYoMSuovVX1sVHCoUnEMDSygCPkP1OPt1ZnXE nKDdR2IdUso0f9wtFYyynPTOHHSaU5WCqDPYnFovfFKcr2f3Fulp/Mm0DXEDgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644368644; a=rsa-sha256; cv=none; b=dMqm3sS/X4EcyingcVf3xov/JQl7XHWchm7wOuW1EwcoOjN8pnk/E2ttJ2A88Xk50FicqQ 3SNh/1A3qWJo1NMEjaGca0PZ3M4jiaNiucSRLduEKhrx3W0F6CGM0bXYEzNyRiBNSX2mh/ JsB3Tvac7TPVqZ74FG+7Ob7EiC/j/VuEuUZCKfnkNQAIQ/5R32vFMvJ2hK57LxLTD1+JMp sQg+pDi48EkXwYiEsUPs5nmTTgm1gMpJ0dbzf9oMcqqja7WKCxHKe7jCMo30E5mUkAb8aJ E41YIqoMUFOX6c5FRByrRsXiU0wsiYlarkZxPy3I0Tfu+jcRMUCcoFSHfyFqxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254648 --- Comment #1 from Charles Lecklider --- The problem is with qmail-spf-rc5.patch-tls-20110119. The failing hunk (line 856) is: diff -Nur qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c --- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +++ qmail-1.03/qmail-smtpd.c 2004-10-26 20:59:47.563201720 +0200 @@ -23,9 +23,11 @@ #include "commands.h" +#include "spf.h" #define MAXHOPS 100 unsigned int databytes =3D 0; int timeout =3D 1200; +unsigned int spfbehavior =3D 0; const char *protocol =3D "SMTP"; #ifdef TLS There's nothing wrong with the hunk, so I believe the problem is patch(1) itself as this works: @@ -23,7 +23,9 @@ #include "commands.h" +#include "spf.h" #define MAXHOPS 100 unsigned int databytes =3D 0; int timeout =3D 1200; +unsigned int spfbehavior =3D 0; const char *protocol =3D "SMTP"; patch(1) seems to be getting confused by having more context at the end so = I'll open a bug on that, but until that's sorted could you update the patch file please? --=20 You are receiving this mail because: You are the assignee for the bug.=