head	1.9;
access;
symbols
	pkgsrc-2017Q3:1.8.0.24
	pkgsrc-2017Q3-base:1.8
	pkgsrc-2017Q2:1.8.0.20
	pkgsrc-2017Q2-base:1.8
	pkgsrc-2017Q1:1.8.0.18
	pkgsrc-2017Q1-base:1.8
	pkgsrc-2016Q4:1.8.0.16
	pkgsrc-2016Q4-base:1.8
	pkgsrc-2016Q3:1.8.0.14
	pkgsrc-2016Q3-base:1.8
	pkgsrc-2016Q2:1.8.0.12
	pkgsrc-2016Q2-base:1.8
	pkgsrc-2016Q1:1.8.0.10
	pkgsrc-2016Q1-base:1.8
	pkgsrc-2015Q4:1.8.0.8
	pkgsrc-2015Q4-base:1.8
	pkgsrc-2015Q3:1.8.0.6
	pkgsrc-2015Q3-base:1.8
	pkgsrc-2015Q2:1.8.0.4
	pkgsrc-2015Q2-base:1.8
	pkgsrc-2015Q1:1.8.0.2
	pkgsrc-2015Q1-base:1.8
	pkgsrc-2014Q4:1.7.0.42
	pkgsrc-2014Q4-base:1.7
	pkgsrc-2014Q3:1.7.0.40
	pkgsrc-2014Q3-base:1.7
	pkgsrc-2014Q2:1.7.0.38
	pkgsrc-2014Q2-base:1.7
	pkgsrc-2014Q1:1.7.0.36
	pkgsrc-2014Q1-base:1.7
	pkgsrc-2013Q4:1.7.0.34
	pkgsrc-2013Q4-base:1.7
	pkgsrc-2013Q3:1.7.0.32
	pkgsrc-2013Q3-base:1.7
	pkgsrc-2013Q2:1.7.0.30
	pkgsrc-2013Q2-base:1.7
	pkgsrc-2013Q1:1.7.0.28
	pkgsrc-2013Q1-base:1.7
	pkgsrc-2012Q4:1.7.0.26
	pkgsrc-2012Q4-base:1.7
	pkgsrc-2012Q3:1.7.0.24
	pkgsrc-2012Q3-base:1.7
	pkgsrc-2012Q2:1.7.0.22
	pkgsrc-2012Q2-base:1.7
	pkgsrc-2012Q1:1.7.0.20
	pkgsrc-2012Q1-base:1.7
	pkgsrc-2011Q4:1.7.0.18
	pkgsrc-2011Q4-base:1.7
	pkgsrc-2011Q3:1.7.0.16
	pkgsrc-2011Q3-base:1.7
	pkgsrc-2011Q2:1.7.0.14
	pkgsrc-2011Q2-base:1.7
	pkgsrc-2011Q1:1.7.0.12
	pkgsrc-2011Q1-base:1.7
	pkgsrc-2010Q4:1.7.0.10
	pkgsrc-2010Q4-base:1.7
	pkgsrc-2010Q3:1.7.0.8
	pkgsrc-2010Q3-base:1.7
	pkgsrc-2010Q2:1.7.0.6
	pkgsrc-2010Q2-base:1.7
	pkgsrc-2010Q1:1.7.0.4
	pkgsrc-2010Q1-base:1.7
	pkgsrc-2009Q4:1.7.0.2
	pkgsrc-2009Q4-base:1.7
	pkgsrc-2009Q3:1.6.0.26
	pkgsrc-2009Q3-base:1.6
	pkgsrc-2009Q2:1.6.0.24
	pkgsrc-2009Q2-base:1.6
	pkgsrc-2009Q1:1.6.0.22
	pkgsrc-2009Q1-base:1.6
	pkgsrc-2008Q4:1.6.0.20
	pkgsrc-2008Q4-base:1.6
	pkgsrc-2008Q3:1.6.0.18
	pkgsrc-2008Q3-base:1.6
	cube-native-xorg:1.6.0.16
	cube-native-xorg-base:1.6
	pkgsrc-2008Q2:1.6.0.14
	pkgsrc-2008Q2-base:1.6
	cwrapper:1.6.0.12
	pkgsrc-2008Q1:1.6.0.10
	pkgsrc-2008Q1-base:1.6
	pkgsrc-2007Q4:1.6.0.8
	pkgsrc-2007Q4-base:1.6
	pkgsrc-2007Q3:1.6.0.6
	pkgsrc-2007Q3-base:1.6
	pkgsrc-2007Q2:1.6.0.4
	pkgsrc-2007Q2-base:1.6
	pkgsrc-2007Q1:1.6.0.2
	pkgsrc-2007Q1-base:1.6
	pkgsrc-2006Q4:1.5.0.6
	pkgsrc-2006Q4-base:1.5
	pkgsrc-2006Q3:1.5.0.4
	pkgsrc-2006Q3-base:1.5
	pkgsrc-2006Q2:1.5.0.2
	pkgsrc-2006Q2-base:1.5
	pkgsrc-2006Q1:1.4.0.2
	pkgsrc-2006Q1-base:1.4
	pkgsrc-2005Q4:1.3.0.4
	pkgsrc-2005Q4-base:1.3
	pkgsrc-2005Q3:1.3.0.2
	pkgsrc-2005Q3-base:1.3
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.1.0.6
	netbsd-1-6-1-base:1.1
	netbsd-1-6:1.1.0.8
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.0.4
	pkgviews-base:1.1
	buildlink2-base:1.1
	buildlink2:1.1.0.2;
locks; strict;
comment	@# @;


1.9
date	2017.10.28.04.51.06;	author schmonz;	state dead;
branches;
next	1.8;
commitid	PqMsLks1z6BS9McA;

1.8
date	2015.01.02.04.38.20;	author schmonz;	state Exp;
branches;
next	1.7;
commitid	8R9BoNtU3cKEbp4y;

1.7
date	2009.10.11.10.25.24;	author plunky;	state Exp;
branches;
next	1.6;

1.6
date	2007.03.24.06.49.02;	author schmonz;	state Exp;
branches;
next	1.5;

1.5
date	2006.07.01.19.33.30;	author schmonz;	state Exp;
branches;
next	1.4;

1.4
date	2006.01.03.19.12.52;	author schmonz;	state Exp;
branches;
next	1.3;

1.3
date	2005.08.20.02.20.45;	author schmonz;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.17.01.45.32;	author jtb;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.14.00.35.24;	author jtb;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2002.05.14.00.35.24;	author jlam;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2002.06.23.18.51.50;	author jlam;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Update to 2.1. From the changelog:

- Added support for TLS anonymous authentication.
  Thanks Uffe Jakobsen.
- Fixed sendmail wrapper handling of empty sender on command line.
  Thanks Sebastian Wiedenroth.
- Fixed handling of quoted strings in the "remotes" file.
  Thanks Mihai Moldovan.
- Fixed nullmailer-inject handling of leading "From " lines.
- Some build fixes.
- Fixed bogus temporary gethostbyname error message when the protocol
  source address was incorrect.
- Fixed potential race condition in tests.
  Thanks Felix Lechner.
- Fixed handling of time values on 32-bit big-endian systems.
  Thanks Felix Lechner.
- Added support to nullmailer-send to move permanently failing messages
  out of the queue, and to generate bounce messages.
- Added support for IPv6.
- Added program to generate bounce/delay messages.
- Added an "allmailfrom" control file to nullmailer-queue, causing all
  messages to share a hard-coded envelope sender.
- Added logging the message sender/recipient in nullmailer-send.
- Improved handling of system errors when reading config files.
- Secured handling of password options for protocol modules.
- Support standard shell quoting for options in the "remotes" file.
- Added protocol option to set a separate TLS client private key file.
- Added protocol option to bind the source address on connections.
- Fixed nullmailer-inject to report errors to stderr.
- Fixed gnutls cast to pointer from integer of different size warning.
- Fixed nullmailer-inject and -queue to handle the null (empty) sender
  address. Needed for RFC 3798 (Message Disposition Notification).
- Moved spool directory to /var/spool/nullmailer like other MTAs.
@
text
@$NetBSD: patch-ab,v 1.8 2015/01/02 04:38:20 schmonz Exp $

--- doc/nullmailer-send.8.orig	2013-03-28 23:08:05.000000000 +0000
+++ doc/nullmailer-send.8
@@@@ -115,16 +115,16 @@@@ If this is set to
 will wait forever for messages to complete sending.
 .SH FILES
 .TP
-.B /var/nullmailer/queue
+.B @@VARBASE@@/spool/nullmailer/queue
 The message queue.
 .TP
-.B /var/nullmailer/trigger
+.B @@VARBASE@@/spool/nullmailer/trigger
 A trigger file to cause immediate delivery.
 .TP
-.B /usr/local/etc/nullmailer
+.B @@PKG_SYSCONFDIR@@/nullmailer
 The configuration directory.
 .TP
-.B /usr/local/libexec/nullmailer
+.B @@PREFIX@@/libexec/nullmailer
 The protocol program directory.
 .SH SEE ALSO
 nullmailer-queue(8),
@


1.8
log
@Fix build on OS X with patch from Sevan Janiyan in PR pkg/49523.
While here, recenter a couple other patches.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2009/10/11 10:25:24 plunky Exp $
@


1.7
log
@update to nullmailer-1.04

while here, fix some pkglint complaints, add DESTDIR support and
provide a LICENCE
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.6 2007/03/24 06:49:02 schmonz Exp $
d3 1
a3 1
--- doc/nullmailer-send.8.orig	2007-10-09 17:35:44.000000000 +0100
d5 1
a5 1
@@@@ -94,16 +94,16 @@@@ If this is set to
@


1.6
log
@Do SUBST_SED in post-configure rather than post-patch to ease patch
maintenance. Set INSTALLATION_DIRS appropriately. Add VARBASE to
BUILD_DEFS. Fix paths in man pages.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.5 2006/07/01 19:33:30 schmonz Exp $
d3 1
a3 1
--- doc/nullmailer-send.8.orig	2006-06-23 11:19:40.000000000 -0400
d5 2
a6 2
@@@@ -74,16 +74,16 @@@@ PLAIN method, use:
 Blank lines and lines starting with a pound are ignored.
@


1.5
log
@Update to 1.03. From the changelog:

- Fixed the SMTP protocol module to send QUIT on protocol failures.

- Added support for the SMTP AUTH LOGIN method.  Thanks to Sean
  MacLennan for the suggestion.

- Fixed the SMTP protocol module to send EHLO instead of HELO when doing
  authentication.  Thanks to Norbert Tretkowski for pointing this out.

- Fixed compile breakage on Solaris due to use of setenv.

- Fixed netstring length bug in QMQP sending module.

- If the sender name cannot be determined from the environment
  variables, try to pull it from /etc/passwd before using "unknown".
  Thanks Roderick Schertler.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.4 2006/01/03 19:12:52 schmonz Exp $
d10 1
a10 1
+.B /var/spool/nullmailer/queue
d14 1
a14 1
+.B /var/spool/nullmailer/trigger
d18 1
a18 1
+.B /etc/pkg/nullmailer
d22 1
a22 1
+.B /usr/pkg/libexec/nullmailer
@


1.4
log
@Update to 1.01. From the changelog:

- Added support for SMTP AUTH PLAIN.
  Thanks to Ace Jones for the initial implementation.

- Fixed compile error in lib/list.h
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.3 2005/08/20 02:20:45 schmonz Exp $
d3 1
a3 1
--- doc/nullmailer-send.8.orig	2005-11-07 13:30:04.000000000 -0500
d5 1
a5 1
@@@@ -67,16 +67,16 @@@@ which also requires SMTP authentication,
d10 1
a10 1
+.B @@VARBASE@@/spool/nullmailer/queue
d14 1
a14 1
+.B @@VARBASE@@/spool/nullmailer/trigger
d18 1
a18 1
+.B @@PKG_SYSCONFDIR@@/nullmailer
d22 1
a22 1
+.B @@PREFIX@@/libexec/nullmailer
@


1.3
log
@Update to 1.00. From the changelog:

- Fixed problem with multiple arguments to protocol modules.
  Thanks Sascha Silbe.

- Fixed extraneous spaces in SMTP sender.

- Made permissions on queued files more strict.

- Handle the "-bs" flag in the sendmail wrapper by dieing when we see it.

- Fixed the address parser handling domain names with trailing periods.

- Fixed bug in header parsing that would cause the last header line to
  be repeated if there was no body.

- Fixed bug in handling headers containing CR+LF line endings.

pkgsrc changes:
* Replace @@exec and @@unexec in PLIST with bsd.pkginstall.mk incantations
* sort PLIST
* Honor VARBASE in manpages and rc.d script
* Enable logging in rc.d script
* Allow rc.d script to start nullmailer without rc.subr
* Take MAINTAINER.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.2 2003/02/17 01:45:32 jtb Exp $
d3 1
a3 1
--- doc/nullmailer-send.8.orig	2003-01-03 15:50:07.000000000 -0500
d5 1
a5 1
@@@@ -66,16 +66,16 @@@@ For example, to connect to port 2525 on 
@


1.2
log
@Update to nullmailer-100RC7.

Changes for pkgsrc:

* Added an rc.d/nullmailer script
* Added brief instructions on how to set up nullmailer in MESSAGE.
* Changed spool directory from /var/nullmailer to /var/spool/nullmailer

Changes in nullmailer itself:

Changes in version 1.00RC7

- Fixed typo in smtp protocol module that caused HELO to be sent without
  a hostname.

- Added a one-shot mode to nullmailer-send, triggered by setting the
  pausetime to zero.

Note:  If no further bugs are found, this will become the official
version 1.00 release.

Changes in version 1.00RC6

- Protocol modules now report all failure and success messages.

- Removed the whole gethostname/getdomainname mess and replaced it with
  code to read the hostname from the "me" control file, and the default
  domain name from the "defaultdomain" control file.

- Fixed a bug that would cause lines starting with a period to have that
  period stripped when it was sent via SMTP.

- Added some missing includes to fix compilation failures in various
  sources.

- Fixed a bug in the setenv function in sendmail.cc.

NOTE!  Make sure to set up the new "me" control file before using this
version.  The RPM install does this automatically.
@
text
@d1 1
a1 1
$NetBSD$
d3 1
a3 1
--- doc/nullmailer-send.8.orig	Fri Jan  3 20:50:07 2003
d10 1
a10 1
+.B /var/spool/nullmailer/queue
d14 1
a14 1
+.B /var/spool/nullmailer/trigger
@


1.1
log
@Allow specification of the NULLMAILER_USER and NULLMAILER_GROUP.
Fix paths in manual pages.
@
text
@d3 23
a25 16
--- Makefile.in.orig	Mon May 13 17:39:12 2002
+++ Makefile.in	Mon May 13 17:38:58 2002
@@@@ -365,10 +365,10 @@@@
 	chmod 600 $(DESTDIR)$(localstatedir)/trigger
 
 install-root:
-	chown nullmail $(DESTDIR)$(localstatedir)/*
-	chown nullmail $(DESTDIR)$(sbindir)/nullmailer-queue
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(localstatedir)/*
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(sbindir)/nullmailer-queue
 	chmod u+s $(DESTDIR)$(sbindir)/nullmailer-queue
-	chown nullmail $(DESTDIR)$(bindir)/mailq
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(bindir)/mailq
 	chmod u+s $(DESTDIR)$(bindir)/mailq
 
 dist-hook:
@


1.1.2.1
log
@file patch-ab was added on branch buildlink2 on 2002-06-23 18:51:50 +0000
@
text
@d1 18
@


1.1.2.2
log
@Merge from pkgsrc-current to buildlink2 branch.
@
text
@a0 18
$NetBSD: patch-ab,v 1.1.2.1 2002/06/23 18:51:50 jlam Exp $

--- Makefile.in.orig	Mon May 13 17:39:12 2002
+++ Makefile.in	Mon May 13 17:38:58 2002
@@@@ -365,10 +365,10 @@@@
 	chmod 600 $(DESTDIR)$(localstatedir)/trigger
 
 install-root:
-	chown nullmail $(DESTDIR)$(localstatedir)/*
-	chown nullmail $(DESTDIR)$(sbindir)/nullmailer-queue
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(localstatedir)/*
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(sbindir)/nullmailer-queue
 	chmod u+s $(DESTDIR)$(sbindir)/nullmailer-queue
-	chown nullmail $(DESTDIR)$(bindir)/mailq
+	chown ${NULLMAILER_USER}:${NULLMAILER_GROUP} $(DESTDIR)$(bindir)/mailq
 	chmod u+s $(DESTDIR)$(bindir)/mailq
 
 dist-hook:
@
