From nobody Sun Feb 06 00:59:43 2022 X-Original-To: dev-commits-ports-main@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 4107819B3A41; Sun, 6 Feb 2022 00:59:44 +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 4JrrXJ1Jljz3l3g; Sun, 6 Feb 2022 00:59:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644109184; 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=+qySxXO20GBiITSHEr0ssP7MaxJQly/m8veuoPZifFU=; b=Lql09tptK7K6eLFVgZGtijn3Hia0QB+z08uY2Xd6LTgGF8h/Vdab2OTcnVO0R/+AgPEDqZ KA88MogysFOhMoHpa4BVBf+XnyadI0hFqcuFbLaB3v5D5fRGP4TM8FFkZt8+fTNtabVYEI d058OPrQ8ohbGbf4XGpgfXVzPFssyJmAfzkuydRlgUYqhHqR8PXMIEYGsZqx25tAAM1y2D Dt1r1GKNPAlNe8xzLrPCaphJ6u721IfUPMyWGYFealLTUcEk07QqGzLv8/xlVTI22vakV9 4t9uT4mpgpVTnd+Gw28brQGZFD05NJeJj/GfJypkLas+OkL6CFrQVzl91TRbeA== 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 096F31398; Sun, 6 Feb 2022 00:59:44 +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 2160xhwo021551; Sun, 6 Feb 2022 00:59:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2160xhgU021550; Sun, 6 Feb 2022 00:59:43 GMT (envelope-from git) Date: Sun, 6 Feb 2022 00:59:43 GMT Message-Id: <202202060059.2160xhgU021550@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: eabbd06ca6a1 - main - mail/nmh-devel: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: eabbd06ca6a1abe7881dd35b65cff4353db64a21 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644109184; 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=+qySxXO20GBiITSHEr0ssP7MaxJQly/m8veuoPZifFU=; b=R8Ht60xUCM4Rc+BWEbToEmwXC6WZXWWOuNIn1CDauVjArdWsBZIWZHC8qYt9IdpXXETjqC TXSTIEevmDRQGB4gKJSz5FmDkOvWQHYLzDhp86EvusNfqugbPikqN4eOEthYqd9YH9ch+v 3T02xSuMtOh3IiE2TySHgBqLzIWtWKlh5QOMIisC7fxIFVeaz/IY+XGgAgdjQcEFUTeKj6 KO+oyqBOugV/GqYONaidhNMFXVLypTHNBw5ulPAU62dEQo5hwA1eoXEbesoWlBrO5ZbbTh mCUCw6gYy97u7zak56QR95DzTcEZkz5ow//x9wC+B2PB6YRq5vAzrwETszr4IQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644109184; a=rsa-sha256; cv=none; b=DIWWWtFqk7BBF3Os2tWiRvBE1F7FksGULa41kzUWa6nnQcBHeppMlDcZne13S1yZn/CmA3 5JEEa2yjDzzl5w6okL0d8L0mWciAZhRyB8iDAqeXPeMLiMPgHzh84bXNwnSgD2eS4laQn0 SGvNFaD0s2f+t0oyHCe1yJFo2IAfHw1JnnWQga6gxwZcLdafncQTCcuNB1FQYYFKmEFDe6 nkV/xsYqQPGO5RdKLn2/FT/W1m+vRE7JQcM2j841xUFg6kHA6Z65aFDU9Slcs5Lv4Gw+q8 IScFfl1UGk3ZDvadRfE8FlaJw7aznJN0iCKKnnrppRDp+buOL1+JV8qmmZ43qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=eabbd06ca6a1abe7881dd35b65cff4353db64a21 commit eabbd06ca6a1abe7881dd35b65cff4353db64a21 Author: Cy Schubert AuthorDate: 2022-02-05 04:36:18 +0000 Commit: Cy Schubert CommitDate: 2022-02-06 00:59:28 +0000 mail/nmh-devel: Add new port There hass been quite a bit of development of nmh over the last four years since 1.7.1 was released. This new nmh-devel port will track nmh development. As the nmh git repo is hosted on savannah.gnu.org, there is no easy way to fetch development snapshots like we do through github. Therefore I've mirrored the repo at savannah.gnu.org (https://git.savannah.nongnu.org/git/nmh.git) and pushed it to a mirror I maintain on my github account. (Pulling from remote upstream -- remote origin has been renamed to remote upstream -- and pushing to remote origin.) Welcome the new nmh-devel port. --- mail/Makefile | 1 + mail/nmh-devel/Makefile | 109 +++++++++++++++++++++++++ mail/nmh-devel/distinfo | 3 + mail/nmh-devel/pkg-descr | 15 ++++ mail/nmh-devel/pkg-message | 16 ++++ mail/nmh-devel/pkg-plist | 192 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 336 insertions(+) diff --git a/mail/Makefile b/mail/Makefile index 60e1f8d8e0bd..e416ac13f4cb 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -250,6 +250,7 @@ SUBDIR += neomutt SUBDIR += nextcloud-mail SUBDIR += nmh + SUBDIR += nmh-devel SUBDIR += noattach SUBDIR += nocc SUBDIR += normalizemime diff --git a/mail/nmh-devel/Makefile b/mail/nmh-devel/Makefile new file mode 100644 index 000000000000..bc8bf2c0e5f4 --- /dev/null +++ b/mail/nmh-devel/Makefile @@ -0,0 +1,109 @@ +# Created by: Scott Blachowicz + +PORTNAME= nmh +PORTVERSION= ${NMH_COMMIT_DATE} +CATEGORIES= mail +PKGNAMESUFFIX= -devel + +MAINTAINER= cy@FreeBSD.org +COMMENT= Cleaned up MH mailer suite + +USE_GITHUB= yes +GH_ACCOUNT= cschuber +GH_PROJECT= nmh +GH_TAGNAME= 9159514406 +COMMIT_DATE= 2022.02.04 + +LICENSE= BSD3CLAUSE + +USES= autoreconf:build cpe gmake iconv ncurses readline shebangfix +SHEBANG_FILES= docs/contrib/ml docs/contrib/replyfilter docs/contrib/vpick +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --libdir=${PREFIX}/libexec/nmh \ + --sysconfdir=${PREFIX}/etc \ + --docdir=${DOCSDIR} +LIB_DEPENDS= libcurl.so:ftp/curl + +OPTIONS_DEFINE= DOCS HASH_BKP SASL2 TLS REPLYFILTER +OPTIONS_RADIO= MIME_HTML +OPTIONS_SINGLE= MTS LOCKING +OPTIONS_SINGLE_MTS= SMTP SENDMAIL_SMTP SENDMAIL_PIPE +OPTIONS_SINGLE_LOCKING= DOT FCNTL FLOCK LOCKF +OPTIONS_RADIO_MIME_HTML= ELINKS LINKS LYNX W3M + +SASL2_DESC= SASL2 support +SASL2_CONFIGURE_WITH= cyrus-sasl +SASL2_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 +SASL2_LDFLAGS=-L${LOCALBASE}/lib +SASL2_CPPFLAGS=-I${LOCALBASE}/include + +HASH_BKP_DESC= Use hash as backup prefix (default is a comma) +HASH_BKP_CONFIGURE_WITH= hash-backup + +REPLYFILTER_DESC= Install dependencies for contrib/replyfilter +REPLYFILTER_RUN_DEPENDS= p5-MIME-Tools>=0:mail/p5-MIME-Tools \ + p5-Mail-Tools>=0:mail/p5-Mail-Tools \ + w3m>=0:www/w3m \ + par>=0:textproc/par + +SMTP_DESC= Use remote SMTP +SMTP_CONFIGURE_ON= --with-mts=smtp +SENDMAIL_SMTP_DESC= Use local sendmail (connect through socket) +SENDMAIL_SMTP_CONFIGURE_ON= --with-mts=sendmail/smtp +SENDMAIL_PIPE_DESC= Use local sendmail (connect through pipe) +SENDMAIL_PIPE_CONFIGURE_ON= --with-mts=sendmail/pipe + +DOT_DESC= Dot file locking +DOT_CONFIGURE_ON= --with-locking=dot +FCNTL_DESC= fcntl() file locking +FCNTL_CONFIGURE_ON= --with-locking=fcntl +FLOCK_DESC= flock() file locking +FLOCK_CONFIGURE_ON= --with-locking=flock +LOCKF_DESC= lockf file locking +LOCKF_CONFIGURE_ON= --with-locking=lockf + +# The reason for BUILD_DEPENDS is nmh detects and configures itself for +# whichever text-based browser is installed. + +ELINKS_DESC= Install dependencies for www/elinks +ELINKS_BUILD_DEPENDS= elinks>=0:www/elinks +ELINKS_RUN_DEPENDS= elinks>=0:www/elinks + +LINKS_DESC= Install dependencies for www/links +LINKS_BUILD_DEPENDS= links>=0:www/links +LINKS_RUN_DEPENDS= links>=0:www/links + +LYNX_DESC= Install dependencies for www/lynx +LYNX_BUILD_DEPENDS= lynx>=0:www/lynx +LYNX_RUN_DEPENDS= lynx>=0:www/lynx + +W3M_DESC= Install dependencies for www/w3m +W3M_BUILD_DEPENDS= w3m>=0:www/w3m +W3M_RUN_DEPENDS= w3m>=0:www/w3m + +OPTIONS_DEFAULT= SMTP FLOCK W3M + +.include + +.if ${PORT_OPTIONS:MTLS} +CONFIGURE_ARGS+= --with-tls +USES+= ssl +.else +CONFIGURE_ARGS+= --without-tls +.endif + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +LDFLAGS+= -g +DEBUG_FLAGS+= -O0 -Wall -Wextra -g +.endif + +CONFLICTS_INSTALL= ali ja-mh pixie p5-Dist-Joseki + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +post-install: + @${FIND} ${STAGEDIR}${ETCDIR} -type f -exec ${MV} {} {}-dist \; + +.include diff --git a/mail/nmh-devel/distinfo b/mail/nmh-devel/distinfo new file mode 100644 index 000000000000..01613be468d8 --- /dev/null +++ b/mail/nmh-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1644034920 +SHA256 (cschuber-nmh--9159514406_GH0.tar.gz) = 193975dd7c25e5475bc23700a74031fca23163225fbd708720ee1d22b388efb0 +SIZE (cschuber-nmh--9159514406_GH0.tar.gz) = 7997454 diff --git a/mail/nmh-devel/pkg-descr b/mail/nmh-devel/pkg-descr new file mode 100644 index 000000000000..5c35362c3213 --- /dev/null +++ b/mail/nmh-devel/pkg-descr @@ -0,0 +1,15 @@ +----------- +What is it? +----------- +nmh (new MH) is an electronic mail handling system - a MUA (Mail +User Agent) package for end-users to handle their e-mail. It was +originally based on the package MH-6.8.3, and is intended to be a +(mostly) compatible drop-in replacement for MH. + +nmh consists of a collection of fairly simple single-purpose programs +to send, receive, save, retrieve, and manipulate e-mail messages. Since +nmh is not a single comprehensive program, you may freely intersperse +nmh commands with other shells commands, or write custom scripts which +utilize these commands in flexible ways. + +WWW: http://savannah.nongnu.org/projects/nmh/ diff --git a/mail/nmh-devel/pkg-message b/mail/nmh-devel/pkg-message new file mode 100644 index 000000000000..4250cb9a8228 --- /dev/null +++ b/mail/nmh-devel/pkg-message @@ -0,0 +1,16 @@ +[ +{ type: install + message: <