mail/opensmtpd

This commit is contained in:
2016-03-13 18:43:03 +00:00
parent 090fc5a696
commit fe2f63f77b
6 changed files with 48 additions and 7 deletions

View File

@@ -48,6 +48,11 @@ SUBST_MESSAGE.exampledir= Fixing exampledir path
SUBST_FILES.exampledir= smtpd/Makefile.am
SUBST_SED.exampledir+= -e 's,@EXAMPLE_DIR@,${EXAMPLEDIR},'
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
CPPFLAGS+= -D_OPENBSD_SOURCE
.endif # ${OPSYS} == "NetBSD" && ${OS_VARIANT} == "Minix"
post-extract:
cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf

View File

@@ -4,13 +4,13 @@ bin/newaliases
bin/smtpscript
libexec/mail.local
libexec/opensmtpd/makemap
man/man5/aliases.5
man/man5/forward.5
man/man5/smtpd.conf.5
man/man8/makemap.8
man/man8/newaliases.8
man/man8/smtpctl.8
man/man8/smtpd.8
man/cat5/aliases.5
man/cat5/forward.5
man/cat5/smtpd.conf.5
man/cat8/makemap.8
man/cat8/newaliases.8
man/cat8/smtpctl.8
man/cat8/smtpd.8
sbin/makemap
sbin/smtpctl
sbin/smtpd

View File

@@ -6,3 +6,6 @@ Size (opensmtpd-5.3.3p1.tar.gz) = 343733 bytes
SHA1 (patch-configure.ac) = ed819952951700c057c11200095a72972aafc1f9
SHA1 (patch-smtpd_Makefile.am) = 4267002ecadceaf68868b9d782d5e6f8571ebc36
SHA1 (patch-smtpd_queue_fsqueue.c) = 80dae37705378c022c1a76d31ea54a3f907b6c1a
SHA1 (patch-zz-minix-a) = 3c402b4c78c9d44728cabf2ce9193276b56f2989
SHA1 (patch-zz-minix-b) = d77fa1c90d95e105a4b5e0d6dba2c387deae2c39
SHA1 (patch-zz-minix-c) = a5d12cacd94ae8e3a7d62fd843c7884859ebe8b8

View File

@@ -0,0 +1,11 @@
--- configure.ac.orig Sun Mar 13 17:02:45 2016
+++ configure.ac Sun Mar 13 17:08:12 2016
@@ -411,7 +411,7 @@
;;
esac
;;
-*-*-netbsd*)
+ *-*-netbsd*|*-*-minix*)
check_for_libcrypt_before=1
if test "x$withval" != "xno" ; then
need_dash_r=1

View File

@@ -0,0 +1,11 @@
--- smtpd/queue_fsqueue.c.orig Sun Mar 13 17:55:33 2016
+++ smtpd/queue_fsqueue.c Sun Mar 13 17:51:46 2016
@@ -28,7 +28,7 @@
#endif
#ifdef HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__minix)
#define statfs statvfs
#endif
#endif

View File

@@ -0,0 +1,11 @@
--- smtpd/Makefile.am.orig Sun Mar 13 18:26:08 2016
+++ smtpd/Makefile.am Sun Mar 13 18:33:22 2016
@@ -139,7 +139,7 @@
$(MANPAGES): $(MANPAGES_IN)
if test "$(MANTYPE)" = "cat"; then \
- manpage=$(srcdir)/`echo $@ | sed 's/\.[1-9]\.out$$/\.0/'`; \
+ manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \
else \
manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \
fi; \