Tue May 25 15:24:20 2021 UTC ()
import mail/s-nail. via jgw@sdf.org, PR pkg/56111

S-nail (later S-mailx) provides a simple and friendly environment for
sending and receiving mail.  It is intended to provide the functionality
of the POSIX mailx(1) command, but is MIME capable and optionally offers
extensions for line editing, S/MIME, SMTP and POP3, among others.
It divides incoming mail into its constituent messages and allows the
user to deal with them in any order, offers many commands and variables
for manipulating messages and sending mail, as well as line editing, and
increasingly powerful scripting capabilities.


(nia)
diff -r1.569 -r1.570 pkgsrc/mail/Makefile
diff -r0 -r1.1 pkgsrc/mail/s-nail/DESCR
diff -r0 -r1.1 pkgsrc/mail/s-nail/Makefile
diff -r0 -r1.1 pkgsrc/mail/s-nail/PLIST
diff -r0 -r1.1 pkgsrc/mail/s-nail/patches/patch-make.rc

cvs diff -r1.569 -r1.570 pkgsrc/mail/Makefile (expand / switch to unified diff)

--- pkgsrc/mail/Makefile 2021/04/21 09:34:58 1.569
+++ pkgsrc/mail/Makefile 2021/05/25 15:24:20 1.570
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.569 2021/04/21 09:34:58 nia Exp $ 1# $NetBSD: Makefile,v 1.570 2021/05/25 15:24:20 nia Exp $
2# 2#
3 3
4COMMENT= Electronic mail utilities 4COMMENT= Electronic mail utilities
5 5
6SUBDIR+= GNUMail 6SUBDIR+= GNUMail
7SUBDIR+= OSBF-lua 7SUBDIR+= OSBF-lua
8SUBDIR+= Pantomime 8SUBDIR+= Pantomime
9SUBDIR+= R-mime 9SUBDIR+= R-mime
10SUBDIR+= akonadi 10SUBDIR+= akonadi
11SUBDIR+= alpine 11SUBDIR+= alpine
12SUBDIR+= amavisd-milter 12SUBDIR+= amavisd-milter
13SUBDIR+= amavisd-new 13SUBDIR+= amavisd-new
14SUBDIR+= anomy-sanitizer 14SUBDIR+= anomy-sanitizer
@@ -342,26 +342,27 @@ SUBDIR+= ruby-actionmailbox61 @@ -342,26 +342,27 @@ SUBDIR+= ruby-actionmailbox61
342SUBDIR+= ruby-actionmailer52 342SUBDIR+= ruby-actionmailer52
343SUBDIR+= ruby-actionmailer60 343SUBDIR+= ruby-actionmailer60
344SUBDIR+= ruby-actionmailer61 344SUBDIR+= ruby-actionmailer61
345SUBDIR+= ruby-mail 345SUBDIR+= ruby-mail
346SUBDIR+= ruby-mailfactory 346SUBDIR+= ruby-mailfactory
347SUBDIR+= ruby-mime-types 347SUBDIR+= ruby-mime-types
348SUBDIR+= ruby-mime-types-data 348SUBDIR+= ruby-mime-types-data
349SUBDIR+= ruby-mime-types1 349SUBDIR+= ruby-mime-types1
350SUBDIR+= ruby-mime-types2 350SUBDIR+= ruby-mime-types2
351SUBDIR+= ruby-mini_mime 351SUBDIR+= ruby-mini_mime
352SUBDIR+= ruby-roadie 352SUBDIR+= ruby-roadie
353SUBDIR+= ruby-roadie-rails 353SUBDIR+= ruby-roadie-rails
354SUBDIR+= ruby-tmail 354SUBDIR+= ruby-tmail
 355SUBDIR+= s-nail
355SUBDIR+= safecat 356SUBDIR+= safecat
356SUBDIR+= sendmail 357SUBDIR+= sendmail
357SUBDIR+= sendmail-cidrexpand 358SUBDIR+= sendmail-cidrexpand
358SUBDIR+= sendmail-qtool 359SUBDIR+= sendmail-qtool
359SUBDIR+= sendymail 360SUBDIR+= sendymail
360SUBDIR+= serialmail 361SUBDIR+= serialmail
361SUBDIR+= sid-milter 362SUBDIR+= sid-milter
362SUBDIR+= sieve-connect 363SUBDIR+= sieve-connect
363SUBDIR+= sigrot 364SUBDIR+= sigrot
364SUBDIR+= sma 365SUBDIR+= sma
365SUBDIR+= smtp-vilter 366SUBDIR+= smtp-vilter
366SUBDIR+= smtpfeed 367SUBDIR+= smtpfeed
367SUBDIR+= solid-pop3d 368SUBDIR+= solid-pop3d

File Added: pkgsrc/mail/s-nail/DESCR
S-nail (later S-mailx) provides a simple and friendly environment for
sending and receiving mail.  It is intended to provide the functionality
of the POSIX mailx(1) command, but is MIME capable and optionally offers
extensions for line editing, S/MIME, SMTP and POP3, among others.
It divides incoming mail into its constituent messages and allows the
user to deal with them in any order, offers many commands and variables
for manipulating messages and sending mail, as well as line editing, and
increasingly powerful scripting capabilities.

File Added: pkgsrc/mail/s-nail/Makefile
# $NetBSD: Makefile,v 1.1 2021/05/25 15:24:20 nia Exp $

DISTNAME=		s-nail-14.9.22
CATEGORIES=		mail
MASTER_SITES=		https://www.sdaoden.eu/downloads/

MAINTAINER=		jgw@sdf.org
HOMEPAGE=		https://www.sdaoden.eu/code.html
COMMENT=		BSD mail utility with MIME extensions
LICENSE=		original-bsd AND osl AND mpl-1.1

MAKE_FILE=		makefile

EGDIR=			${PREFIX}/share/examples/${PKGBASE}
BUILD_MAKE_FLAGS+=	SYSCONFDIR=${PKG_SYSCONFDIR}
INSTALL_MAKE_FLAGS+=	SYSCONFDIR=${EGDIR}

CONF_FILES=		${EGDIR}/s-nail.rc ${PKG_SYSCONFDIR}/s-nail.rc

.include "../../devel/libidn2/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/mail/s-nail/PLIST
@comment $NetBSD: PLIST,v 1.1 2021/05/25 15:24:20 nia Exp $
bin/s-nail
libexec/s-nail-dotlock
man/man1/s-nail.1
share/examples/s-nail/s-nail.rc

File Added: pkgsrc/mail/s-nail/patches/patch-make.rc
$NetBSD: patch-make.rc,v 1.1 2021/05/25 15:24:20 nia Exp $

 - fixed VAL_PREFIX, VAL_MANDIR and VAL_SYSCONFDIR for pkgsrc
 - set OPT_AUTOCC=no to allow LDFLAGS in pkgsrc Makefile

--- make.rc.orig        2021-02-23 18:38:16.000000000 -0700
+++ make.rc     2021-03-26 22:28:52.314771598 -0600
@@ -62,7 +62,7 @@
 VAL_PS_DOTLOCK_USER=root

 # General prefix of installation.
-VAL_PREFIX=/usr/local
+VAL_PREFIX=$PREFIX

 # Fine tune individual locations, normally under $VAL_PREFIX.
 # . the place of normal binaries.
@@ -72,9 +72,9 @@
 #   (Only with: $OPT_DOTLOCK.)
 VAL_LIBEXECDIR=${VAL_PREFIX}/libexec
 # . of the manual.
-VAL_MANDIR=${VAL_PREFIX}/share/man
+VAL_MANDIR=${VAL_PREFIX}/man
 # . of the exemplary resource file.
-VAL_SYSCONFDIR=${VAL_PREFIX}/etc
+VAL_SYSCONFDIR=${VAL_PREFIX}/share/examples/s-nail

 # The variable $DESTDIR is prepended to all the paths from above at
 # installation time; this feature can be used for, e.g., package
@@ -193,7 +193,7 @@
 #     $ make EXTRA_CFLAGS=-std=c99 tangerine
 # Whatever you do, the configuration is fixated and updates will force
 # rebuilds.
-OPT_AUTOCC=yes
+OPT_AUTOCC=no

    # With $OPT_AUTOCC we will use stack protector guards shall the
    # detected compiler support them; this goes in line with our own