pkgsrc/mail/nullmailer/patches/patch-test_functions.in
schmonz d263f96ea3 Update to 2.2. From the changelog:
- nullmailer-send no longer generates bounces for rejected bounces.
  Thanks Fejes József

- Fixed compile error in sendmail on GCC older than 4.9.

- Fixed treating authentication failure as message rejection.
  Thanks Fejes József

- nullmailer-inject now sets the full name of the sender to the user
  name as a fallback. This helps distinguish system sent messages when
  the MTA rewrites the address (as does GMail, for example).

- Fixed compatibility issue with gnutls 3.6 (and possibly others).
2018-10-13 14:38:54 +00:00

25 lines
750 B
Text

$NetBSD: patch-test_functions.in,v 1.2 2018/10/13 14:38:54 schmonz Exp $
Find and use mkfifo(8) and svc(8) for tests.
--- test/functions.in.orig 2018-10-11 23:55:29.000000000 +0000
+++ test/functions.in
@@ -10,7 +10,8 @@ mkdir -p \
$tmpdir/protocols \
$QUEUEDIR/{failed,queue,tmp} \
$SYSCONFDIR
-mknod $QUEUEDIR/trigger p
+export PATH=/sbin:$PATH
+mkfifo $QUEUEDIR/trigger
ln -s $builddir/src $tmpdir/sbin
ln -s $builddir/src $tmpdir/bin
ln -s $builddir/protocols/* $tmpdir/protocols/
@@ -148,7 +149,7 @@ Just testing, please ignore
EOF
}
-export PATH=/bin:/usr/bin:/usr/local/bin
+export PATH=/bin:/usr/bin:/usr/local/bin:@PREFIX@/bin
rm -f $SYSCONFDIR/*
echo f.q.d.n >$SYSCONFDIR/me
echo q.d.n >$SYSCONFDIR/defaultdomain