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
--- 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 | |
4 | COMMENT= Electronic mail utilities | | 4 | COMMENT= Electronic mail utilities |
5 | | | 5 | |
6 | SUBDIR+= GNUMail | | 6 | SUBDIR+= GNUMail |
7 | SUBDIR+= OSBF-lua | | 7 | SUBDIR+= OSBF-lua |
8 | SUBDIR+= Pantomime | | 8 | SUBDIR+= Pantomime |
9 | SUBDIR+= R-mime | | 9 | SUBDIR+= R-mime |
10 | SUBDIR+= akonadi | | 10 | SUBDIR+= akonadi |
11 | SUBDIR+= alpine | | 11 | SUBDIR+= alpine |
12 | SUBDIR+= amavisd-milter | | 12 | SUBDIR+= amavisd-milter |
13 | SUBDIR+= amavisd-new | | 13 | SUBDIR+= amavisd-new |
14 | SUBDIR+= anomy-sanitizer | | 14 | SUBDIR+= anomy-sanitizer |
| @@ -342,26 +342,27 @@ SUBDIR+= ruby-actionmailbox61 | | | @@ -342,26 +342,27 @@ SUBDIR+= ruby-actionmailbox61 |
342 | SUBDIR+= ruby-actionmailer52 | | 342 | SUBDIR+= ruby-actionmailer52 |
343 | SUBDIR+= ruby-actionmailer60 | | 343 | SUBDIR+= ruby-actionmailer60 |
344 | SUBDIR+= ruby-actionmailer61 | | 344 | SUBDIR+= ruby-actionmailer61 |
345 | SUBDIR+= ruby-mail | | 345 | SUBDIR+= ruby-mail |
346 | SUBDIR+= ruby-mailfactory | | 346 | SUBDIR+= ruby-mailfactory |
347 | SUBDIR+= ruby-mime-types | | 347 | SUBDIR+= ruby-mime-types |
348 | SUBDIR+= ruby-mime-types-data | | 348 | SUBDIR+= ruby-mime-types-data |
349 | SUBDIR+= ruby-mime-types1 | | 349 | SUBDIR+= ruby-mime-types1 |
350 | SUBDIR+= ruby-mime-types2 | | 350 | SUBDIR+= ruby-mime-types2 |
351 | SUBDIR+= ruby-mini_mime | | 351 | SUBDIR+= ruby-mini_mime |
352 | SUBDIR+= ruby-roadie | | 352 | SUBDIR+= ruby-roadie |
353 | SUBDIR+= ruby-roadie-rails | | 353 | SUBDIR+= ruby-roadie-rails |
354 | SUBDIR+= ruby-tmail | | 354 | SUBDIR+= ruby-tmail |
| | | 355 | SUBDIR+= s-nail |
355 | SUBDIR+= safecat | | 356 | SUBDIR+= safecat |
356 | SUBDIR+= sendmail | | 357 | SUBDIR+= sendmail |
357 | SUBDIR+= sendmail-cidrexpand | | 358 | SUBDIR+= sendmail-cidrexpand |
358 | SUBDIR+= sendmail-qtool | | 359 | SUBDIR+= sendmail-qtool |
359 | SUBDIR+= sendymail | | 360 | SUBDIR+= sendymail |
360 | SUBDIR+= serialmail | | 361 | SUBDIR+= serialmail |
361 | SUBDIR+= sid-milter | | 362 | SUBDIR+= sid-milter |
362 | SUBDIR+= sieve-connect | | 363 | SUBDIR+= sieve-connect |
363 | SUBDIR+= sigrot | | 364 | SUBDIR+= sigrot |
364 | SUBDIR+= sma | | 365 | SUBDIR+= sma |
365 | SUBDIR+= smtp-vilter | | 366 | SUBDIR+= smtp-vilter |
366 | SUBDIR+= smtpfeed | | 367 | SUBDIR+= smtpfeed |
367 | SUBDIR+= solid-pop3d | | 368 | SUBDIR+= solid-pop3d |
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.
# $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"
@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
$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