From nobody Wed Jan 26 22:33:15 2022 X-Original-To: dev-commits-ports-branches@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 4AE47197B365; Wed, 26 Jan 2022 22:33:17 +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 4Jkdlw3Vvfz4vtP; Wed, 26 Jan 2022 22:33:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643236397; 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=uFBpR6QyRNw0R6RclmMBSKoZCKoPCLZK9LoRQyY9BNM=; b=SCIMXUqtHJYX6d8CiPZgiOdlAW8u6NIM1gd+/y8+/Hd7v7UXdG4CASRnMfXPzDqPM2QekO CmZVz9n/aJ90fnPHErjdEhCgk1nkpZQwgygJomw7HlKS0muYn1tZbUoTcPew689qLOE7GG mTQcas97Pj0PkLP+XxG0oebuc2KMHreCghsAOGvZv+s+M9VNtJqu3E2JzK2blxcCfrSoq6 7r3vVl/HS+h57wMbj5pgYLK06a/kyZVYGEJQVUxhk+wFDxChoK/LvH+xRwCADosDlae4w+ 24QkFQFOi6gc9+uzs/42mBTiwX8DH963zrsBJMlTfhgsSGl4v7BYT+kZOd3LTA== 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 DF9CE2F8B; Wed, 26 Jan 2022 22:33:15 +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 20QMXF67067723; Wed, 26 Jan 2022 22:33:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20QMXFQc067722; Wed, 26 Jan 2022 22:33:15 GMT (envelope-from git) Date: Wed, 26 Jan 2022 22:33:15 GMT Message-Id: <202201262233.20QMXFQc067722@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Cy Schubert Subject: git: 5b5774327bdb - 2022Q1 - mail/heirloom-mailx: Use the proper progname in argv[0] List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q1 X-Git-Reftype: branch X-Git-Commit: 5b5774327bdbfe0382c9d1eff2e3628bdfdefad3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643236396; 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=uFBpR6QyRNw0R6RclmMBSKoZCKoPCLZK9LoRQyY9BNM=; b=NWWzSOKIkBKjxiF/arPOV7poUjlQGXxLvOeiMhLMQCSyhaqORsEtcEpJAqOzynEehUcARZ AORZFqfBt26CApXkh8puZcA55dgijH5IXbBGWv190sBzCpoZczIWq75+0zEvjZdzjMAuOa TRwRLo4CoH0WTlyZgcJvI45Zgrguk8+CFid2TKw5SlatFkOni6GyEC00fbjOOXiudOPrOj ez7bmjc+R2kvdZTFc0/bXynYQiSb+4WnJxAxH52e7qQO/m8DH2OuE2BxL0NBRmg0IpwdVW icFMTyTD40brwkH8/d8qfcFHABvw1m5gpeaWa87OS41DJGeroE5xCQxSThH14Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643236396; a=rsa-sha256; cv=none; b=fiL9dusd0PxuRou/0FVYho2Mhobihg0fbEXbchJgvXuHvzaUwghZUJnV0Q7KUoSRT4rTVE uX2vYeSG+J/SQRe9Y77YT1tJ+76PUqU4vShqR82pbmoygeg31JhJC5V2dcSN+ObpEe+akf bRm+DvkvVkVo0ng3WG7QMETk+tOBWiZbLNdYgss2YZvlCWObEJe3A2UkzMK7vaQA4JaEb0 YfFxJAmj0MJErnrQjN5XAViNO5QXpZV+EaZao7iyEhtGhi6+7bC7MKtexgW4Ft2oalcnqK kK45FJ12zE5yGMyPrfJeXMP2wtmKRmDHMNtDkgScrEtXgXMKTuS9TwWInUBVzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q1 has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b5774327bdbfe0382c9d1eff2e3628bdfdefad3 commit 5b5774327bdbfe0382c9d1eff2e3628bdfdefad3 Author: Cy Schubert AuthorDate: 2022-01-26 22:26:36 +0000 Commit: Cy Schubert CommitDate: 2022-01-26 22:32:34 +0000 mail/heirloom-mailx: Use the proper progname in argv[0] When argv[0] does not match that af the program name passed to execv(2), mailwrapper cannot determine which application to call in its translation table resulting in: mailwrapper: no mapping in /etc/mail/mailer.conf (cherry picked from commit 849299d0d6cc566e3cf9681755dbcfdb8c38b9a3) --- mail/heirloom-mailx/Makefile | 2 +- mail/heirloom-mailx/files/patch-sendout.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/mail/heirloom-mailx/Makefile b/mail/heirloom-mailx/Makefile index 032c39d54939..0bbf3ff46ac4 100644 --- a/mail/heirloom-mailx/Makefile +++ b/mail/heirloom-mailx/Makefile @@ -1,6 +1,6 @@ PORTNAME= mailx PORTVERSION= 12.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= mail MASTER_SITES= SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= heirloom- diff --git a/mail/heirloom-mailx/files/patch-sendout.c b/mail/heirloom-mailx/files/patch-sendout.c new file mode 100644 index 000000000000..d95e185c4e3a --- /dev/null +++ b/mail/heirloom-mailx/files/patch-sendout.c @@ -0,0 +1,10 @@ +--- sendout.c.orig 2022-01-26 14:24:22.000017000 -0800 ++++ sendout.c 2022-01-26 14:25:03.262517000 -0800 +@@ -885,6 +885,7 @@ + cp = expand(cp); + else + cp = SENDMAIL; ++ args[0] = cp; + execv(cp, args); + perror(cp); + }