From nobody Mon Apr 15 21:08:42 2024 X-Original-To: pkgbase@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 4VJKXd6bntz5H5c8 for ; Mon, 15 Apr 2024 21:08:49 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJKXd4XBJz4fLF for ; Mon, 15 Apr 2024 21:08:49 +0000 (UTC) (envelope-from marquis@roble.com) Authentication-Results: mx1.freebsd.org; none Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id 740631964BB; Mon, 15 Apr 2024 14:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roble.com; s=rs060402; t=1713215322; bh=0vOsB3Mql9ghX5+/KbPR+6YCAr4vI6m7AovE3N2F7v8=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=HAaET0tIfx2oVpbKDD2I+LXmdz6183APJAHbnM7A9OgGlvl8DYpb1Yb5saUnytso5 LpHY2PgnW7qpEsoT6/HKqxsOM3x7yCmZn5WcqwZtOu19ksZu8U8sEu0siHFor0f+mH 4mKhuhB9L9wrrgJkd7KB+pj6vZ/txMGuJuPy1tGU= Date: Mon, 15 Apr 2024 14:08:42 -0700 (PDT) From: Roger Marquis To: Lexi Winter cc: pkgbase@freebsd.org Subject: Re: mailwrapper In-Reply-To: Message-ID: References: List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:17403, ipnet:209.237.0.0/18, country:US] X-Rspamd-Queue-Id: 4VJKXd4XBJz4fLF > i am working on a patch for mailwrapper, which i'd like to move from > FreeBSD-utilities to its own package. Two thumbs up for that! Might work better in base if "OPTIONS_UNSET+=MAILWRAPPER" did what it was supposed to but it doesn't seem like that will ever happen. Please don't, however, link anything to sendmail. Even it's author says sendmail should be deprecated. Despite the many hours some of us have put into sendmail.cf customizations this software is long past its effective deprecation date. Roger Marquis > however i'm a little stymied by usr.sbin/mailwrapper/Makefile[0], which > seems to do a few fairly odd things for the benefit of src users, such as > linking mailwrapper to either dma or sendmail if mailwrapper itself isn't > built. > > i'd like to significantly simplify the logic here so that if mailwrapper is > enabled (${MK_MAILWRAPPER} == yes), it's always installed in the usual > place, and doesn't pretend to be dma or sendmail, and there is no special > handling depending on the value of ${MK_SENDMAIL} and ${MK_DMAGENT}. > > this might require some changes to either sendmail or dma (which of course > i'd test before submitting anything), but in principle, does this sound > like a reasonable idea? > > i am concious that many/most people don't use pkgbase yet and we shouldn't > break things for them, but this seems like an ideal to time to clean up > some of this legacy stuff. > > [0] https://cgit.freebsd.org/src/tree/usr.sbin/mailwrapper/Makefile >