From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cTWL832npz2ymx for ; Sat, 20 Sep 2025 14:03:12 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cTWL82p7Gz2xLw for ; Sat, 20 Sep 2025 14:03:12 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [IPv6:2001:678:b28::161]) (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 ECDSA (secp384r1) client-digest SHA384) (Client CN "people01.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cTWL80L6Sz2M for ; Sat, 20 Sep 2025 14:03:12 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1758376992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=WYZiGE0MZ+43tt4PrfR8rDdqWtsDR7kxO9h/8PvwSGc=; b=gnORkvzIUp+Yh1nQJMCeImN2bf5Y2TgJyrAyqSmfMGHzv0pxdrDF5o/zaEN/4LvgEdLaQv 09cENPMFtYiL+zCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1758376992; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=WYZiGE0MZ+43tt4PrfR8rDdqWtsDR7kxO9h/8PvwSGc=; b=eDdaKgrKHz5EJ/oOHEq9VYKChRlwJd3lRjyjX3lluTQRS93fY7OD+7UPCgwXbVbP7iUr4h pMP9LBQ/z/4cKPE96g85RUk2KWMwmlDfnM7kgB2zxqtuzwEUA2YCq9LIAVPpZpi3BPZmlC ay0xA8ZCGUVQ0tzYG5mHeOEJI5+Inyw5sSulZZELMg181DPnl4dTQTIrokvwbDDrw7NqkT WG7jETUfMNl5sA7pAFAbnxbqVfHgt3d16DMOIyE+b6JYal9zxuT/Ub9+xYKdRxQwHR5/4v oAcYgxZI+xg9easWQu05CQ1hR1xToife9aNFO2mopMniQdMAWeyO5i9PjC7+aw== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4cTWL76F2Xz2xJW; Sat, 20 Sep 2025 14:03:11 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. c2eba600d753df95a81707f7da0ab172ed864ab0 X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: 02dfa2e99ed48033b55b0d106b16d9bf5cd43c9d X-Git-Newrev: c2eba600d753df95a81707f7da0ab172ed864ab0 Message-Id: <4cTWL76F2Xz2xJW@people01.haj.ipfire.org> Date: Sat, 20 Sep 2025 14:03:11 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via c2eba600d753df95a81707f7da0ab172ed864ab0 (commit) from 02dfa2e99ed48033b55b0d106b16d9bf5cd43c9d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c2eba600d753df95a81707f7da0ab172ed864ab0 Author: Michael Tremer Date: Sat Sep 20 14:02:01 2025 +0000 arpwatch: Fix the envelope sender arpwatch invokes sendmail without passing the envelope sender explicitely. This causes that mails can get rejected if the From: header does not match the envelope sender. This patch passes the correct address as the envelope sender. Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: lfs/arpwatch | 5 ++++- src/patches/arpwatch/fix-envelope-sender.patch | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 src/patches/arpwatch/fix-envelope-sender.patch Difference in files: diff --git a/lfs/arpwatch b/lfs/arpwatch index b4bce7dbb..1b701cd4f 100644 --- a/lfs/arpwatch +++ b/lfs/arpwatch @@ -37,7 +37,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = arpwatch -PAK_VER = 1 +PAK_VER = 2 DEPS = @@ -97,6 +97,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Don't install the initscript cd $(DIR_APP) && sed -i '/@HAVE_FREEBSD_TRUE@/d' Makefile.in + # Fix the envelope sender + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/arpwatch/fix-envelope-sender.patch + # Build! cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make $(MAKETUNING) diff --git a/src/patches/arpwatch/fix-envelope-sender.patch b/src/patches/arpwatch/fix-envelope-sender.patch new file mode 100644 index 000000000..3c4a6f9ee --- /dev/null +++ b/src/patches/arpwatch/fix-envelope-sender.patch @@ -0,0 +1,11 @@ +--- arpwatch-3.8/report.c~ 2025-09-20 13:57:16.351246657 +0000 ++++ arpwatch-3.8/report.c 2025-09-20 13:43:47.777995101 +0000 +@@ -390,7 +390,7 @@ + close(fd); + + /* Always Deliver interactively (pause when child depth gets large) */ +- execl(sendmail, "sendmail", "-odi", watcher, NULL); ++ execl(sendmail, "sendmail", "-odi", watcher, "-f", watchee, NULL); + lg(LOG_ERR, "execl: %s: %s", sendmail, strerror(errno)); + exit(1); + } hooks/post-receive -- IPFire 2.x development tree