pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail opensmtpd: remove, needs a newer version re-impor...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e50b35ef6ea
branches: trunk
changeset: 450762:8e50b35ef6ea
user: nia <nia%pkgsrc.org@localhost>
date: Wed Apr 21 09:34:58 2021 +0000
description:
opensmtpd: remove, needs a newer version re-importing from wip
this version is broken with current openssl and old and likely insecure.
newer version probably needs something like libretls sitting in front.
diffstat:
mail/Makefile | 3 +-
mail/opensmtpd/DESCR | 10 --
mail/opensmtpd/Makefile | 81 ---------------------
mail/opensmtpd/PLIST | 20 -----
mail/opensmtpd/distinfo | 11 --
mail/opensmtpd/files/mailer.conf | 9 --
mail/opensmtpd/files/opensmtpd.sh | 19 ----
mail/opensmtpd/patches/patch-configure.ac | 22 -----
mail/opensmtpd/patches/patch-mk_makemap_Makefile.am | 14 ---
mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am | 29 -------
mail/opensmtpd/patches/patch-smtpd_queue__fs.c | 19 ----
mail/opensmtpd/patches/patch-smtpd_smtp__session.c | 69 -----------------
12 files changed, 1 insertions(+), 305 deletions(-)
diffs (truncated from 364 to 300 lines):
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/Makefile
--- a/mail/Makefile Wed Apr 21 09:34:00 2021 +0000
+++ b/mail/Makefile Wed Apr 21 09:34:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.568 2021/03/18 09:18:17 adam Exp $
+# $NetBSD: Makefile,v 1.569 2021/04/21 09:34:58 nia Exp $
#
COMMENT= Electronic mail utilities
@@ -185,7 +185,6 @@
SUBDIR+= offlineimap
SUBDIR+= opendkim
SUBDIR+= opendmarc
-SUBDIR+= opensmtpd
SUBDIR+= p5-App-Siesh
SUBDIR+= p5-Catalyst-View-Email
SUBDIR+= p5-Email-Abstract
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/DESCR
--- a/mail/opensmtpd/DESCR Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-OpenSMTPD is a FREE implementation of the server-side SMTP protocol
-as defined by RFC 5321, with some additional standard extensions.
-It allows ordinary machines to exchange e-mails with other systems
-speaking the SMTP protocol.
-
-Started out of dissatisfaction with other implementations, OpenSMTPD
-nowadays is a fairly complete SMTP implementation.
-
-OpenSMTPD is primarily developed by Gilles Chehade, Eric Faurot and
-Charles Longeau; with contributions from various OpenBSD hackers.
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/Makefile
--- a/mail/opensmtpd/Makefile Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-# $NetBSD: Makefile,v 1.16 2020/04/24 11:23:08 nia Exp $
-
-VERSION= 5.7.3p2
-DISTNAME= opensmtpd-${VERSION}
-PKGREVISION= 1
-CATEGORIES= mail net
-MASTER_SITES= https://www.opensmtpd.org/archives/
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://www.opensmtpd.org/
-COMMENT= The OpenSMTPD mail transfer agent, a replacement for sendmail
-LICENSE= isc AND modified-bsd AND 2-clause-bsd
-
-BROKEN= "Fails to build with OpenSSL 1.1"
-
-CONFLICTS+= courier-mta-[0-9]* fastforward>=0.51nb2 sendmail-[0-9]*
-CONFLICTS+= esmtp>=1.2 nullmailer-[0-9]* postfix-[0-9]*
-BROKEN_FOR_PLATFORM= OpenBSD-*-*
-
-BUILD_DEFS+= VARBASE
-
-USE_LANGUAGES= c
-USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config yacc
-USE_TOOLS+= automake aclocal autoheader autoconf
-
-SMTPD_HOME= ${VARBASE}/chroot/smtpd
-OWN_DIRS= ${SMTPD_HOME}
-
-PKG_GROUPS= _smtpd _smtpq
-PKG_USERS= _smtpd:_smtpd _smtpq:_smtpq
-PKG_GECOS._smtpd= OpenSMTPD pseudo-user
-PKG_HOME._smtpd= ${SMTPD_HOME}
-PKG_GECOS._smtpq= OpenSMTPD pseudo-user
-PKG_HOME._smtpq= ${SMTPD_HOME}
-
-GNU_CONFIGURE= yes
-USE_DB185= yes
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+= --with-mantype=man
-CONFIGURE_ARGS+= --with-privsep-path=${SMTPD_HOME}
-CONFIGURE_ARGS+= --with-ssl-dir=${SSLBASE:Q}
-CONFIGURE_ARGS+= --enable-table-db
-CONFIGURE_ARGS+= --without-zlib-version-check
-
-EXAMPLEDIR= ${PREFIX}/share/examples/opensmtpd
-CONF_FILES= ${EXAMPLEDIR}/smtpd.conf ${PKG_SYSCONFDIR}/smtpd.conf
-
-RCD_SCRIPTS= opensmtpd
-
-SUBST_CLASSES+= paths
-SUBST_FILES.paths= ${WRKDIR}/mailer.conf
-SUBST_VARS.paths= PREFIX
-SUBST_STAGE.paths= pre-configure
-
-SUBST_CLASSES+= exampledir
-SUBST_STAGE.exampledir= pre-configure
-SUBST_MESSAGE.exampledir= Fixing exampledir path
-SUBST_FILES.exampledir= mk/smtpd/Makefile.am
-SUBST_SED.exampledir+= -e 's,@EXAMPLE_DIR@,${EXAMPLEDIR},'
-
-post-extract:
- cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
-
-pre-configure:
- cd ${WRKSRC} && ${PREFIX}/bin/libtoolize --copy --force
- cd ${WRKSRC} && ${TOOLS_CMD.aclocal}
- cd ${WRKSRC} && ${TOOLS_CMD.autoconf}
- cd ${WRKSRC} && ${TOOLS_CMD.autoheader}
- cd ${WRKSRC} && ${TOOLS_CMD.automake} --foreign --add-missing --copy
-
-post-install:
- ${INSTALL_DATA} ${WRKDIR}/mailer.conf \
- ${DESTDIR}${EXAMPLEDIR}/mailer.conf
-
-.include "../../databases/db5/buildlink3.mk"
-.include "../../devel/libevent/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../net/libasr/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/PLIST
--- a/mail/opensmtpd/PLIST Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2016/05/01 05:56:40 mef Exp $
-bin/sendmail
-libexec/opensmtpd/encrypt
-libexec/opensmtpd/mail.local
-man/man5/aliases.5
-man/man5/forward.5
-man/man5/smtpd.conf.5
-man/man5/table.5
-man/man8/makemap.8
-man/man8/newaliases.8
-man/man8/sendmail.8
-man/man8/smtpctl.8
-man/man8/smtpd.8
-sbin/mailq
-sbin/makemap
-sbin/newaliases
-sbin/smtpctl
-sbin/smtpd
-share/examples/opensmtpd/mailer.conf
-share/examples/opensmtpd/smtpd.conf
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/distinfo
--- a/mail/opensmtpd/distinfo Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: distinfo,v 1.6 2016/06/01 11:47:06 wiz Exp $
-
-SHA1 (opensmtpd-5.7.3p2.tar.gz) = 4d1edc5811a80ec26de040227a298a742c494e72
-RMD160 (opensmtpd-5.7.3p2.tar.gz) = 5d6faebea3a303e5effeafbef5def597bfac434e
-SHA512 (opensmtpd-5.7.3p2.tar.gz) = bac0b8d6a6969a5e49a1d45b2c74cb2f3da44d06b12c7162500adf3ca312751020762bc8301075a9d7634d94cf51f978d04fac327f843680646e9e687737c42f
-Size (opensmtpd-5.7.3p2.tar.gz) = 709074 bytes
-SHA1 (patch-configure.ac) = d8aa50afb48abcfb38c9cd7080ba59122aee8ba6
-SHA1 (patch-mk_makemap_Makefile.am) = 51da0f13b1b32b3c364ae638a38d4b33efaf1ec7
-SHA1 (patch-mk_smtpd_Makefile.am) = ebc62819300d3ddd824178c08a5630ca85dc6fdc
-SHA1 (patch-smtpd_queue__fs.c) = f13d1bf1d26544b3c81e5e2c813d2fe5e917b96b
-SHA1 (patch-smtpd_smtp__session.c) = f9c034827519a02b97cadb3c034ad1e84abc805a
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/files/mailer.conf
--- a/mail/opensmtpd/files/mailer.conf Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: mailer.conf,v 1.2 2016/05/01 05:56:40 mef Exp $
-#
-# Use "opensmtpd" replacements
-#
-sendmail @PREFIX@/sbin/smtpctl
-send-mail @PREFIX@/sbin/smtpctl
-mailq @PREFIX@/sbin/mailq
-makemap @PREFIX@/sbin/makemap
-newaliases @PREFIX@/sbin/newaliases
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/files/opensmtpd.sh
--- a/mail/opensmtpd/files/opensmtpd.sh Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: opensmtpd.sh,v 1.1 2013/11/18 22:50:01 pettai Exp $
-#
-
-# PROVIDE: mail
-# REQUIRE: LOGIN
-# we make mail start late, so that things like .forward's are not
-# processed until the system is fully operational
-
-. /etc/rc.subr
-
-name="smtpd"
-rcvar=opensmtpd
-command="@PREFIX@/sbin/${name}"
-required_files="@PKG_SYSCONFDIR@/smtpd.conf"
-
-load_rc_config $name
-run_rc_command "$1"
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/patches/patch-configure.ac
--- a/mail/opensmtpd/patches/patch-configure.ac Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-configure.ac,v 1.3 2016/06/01 11:47:06 wiz Exp $
-
-Add sys/statvfs for NetBSD.
-
---- configure.ac.orig 2016-02-02 07:40:06.000000000 +0000
-+++ configure.ac
-@@ -338,6 +338,7 @@ AC_CHECK_HEADERS([ \
- sys/ndir.h \
- sys/pstat.h \
- sys/statfs.h \
-+ sys/statvfs.h \
- sys/time.h \
- sys/un.h \
- time.h \
-@@ -701,6 +702,7 @@ AC_CHECK_FUNCS([ \
- setreuid \
- setsid \
- sigaction \
-+ snprintf \
- socketpair \
- strdup \
- strerror \
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/patches/patch-mk_makemap_Makefile.am
--- a/mail/opensmtpd/patches/patch-mk_makemap_Makefile.am Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-mk_makemap_Makefile.am,v 1.1 2016/05/31 21:33:15 joerg Exp $
-
---- mk/makemap/Makefile.am.orig 2016-05-07 12:20:44.083460074 +0000
-+++ mk/makemap/Makefile.am
-@@ -29,8 +29,7 @@ makemap_CFLAGS= -DNO_IO
-
-
- AM_CPPFLAGS= -I$(smtpd_srcdir) \
-- -I$(compat_srcdir) \
-- -I$(asr_srcdir)
-+ -I$(compat_srcdir)
-
- LIBCOMPAT= $(top_builddir)/openbsd-compat/libopenbsd-compat.a
-
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am
--- a/mail/opensmtpd/patches/patch-mk_smtpd_Makefile.am Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-$NetBSD: patch-mk_smtpd_Makefile.am,v 1.1 2016/05/01 05:56:40 mef Exp $
-
-Install the configuration file in the example directory.
-
---- mk/smtpd/Makefile.am.orig 2016-02-02 07:40:06.000000000 +0000
-+++ mk/smtpd/Makefile.am
-@@ -151,17 +151,16 @@ $(CONFIGFILES): $(CONFIGFILES_IN)
-
- # smtpd.conf
- # newaliases makemap
-+
-+EXAMPLE_DIR=@EXAMPLE_DIR@
-+
- install-exec-hook: $(CONFIGFILES) $(MANPAGES)
-- $(MKDIR_P) $(DESTDIR)$(sysconfdir)
-+ $(MKDIR_P) $(DESTDIR)$(EXAMPLE_DIR)
- $(MKDIR_P) $(DESTDIR)$(bindir)
- $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
- $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
-
-- @if [ ! -f $(DESTDIR)$(sysconfdir)/smtpd.conf ]; then \
-- $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(sysconfdir)/smtpd.conf; \
-- else \
-- echo "$(DESTDIR)$(sysconfdir)/smtpd.conf already exists, install will not overwrite"; \
-- fi
-+ $(INSTALL) -m 644 smtpd.conf.out $(DESTDIR)$(EXAMPLE_DIR)/smtpd.conf
-
- $(INSTALL) -m 644 aliases.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/aliases.5
- $(INSTALL) -m 644 forward.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/forward.5
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/patches/patch-smtpd_queue__fs.c
--- a/mail/opensmtpd/patches/patch-smtpd_queue__fs.c Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-smtpd_queue__fs.c,v 1.1 2016/05/01 05:56:40 mef Exp $
-
-NetBSD use statvfs, not statfs.
-
---- smtpd/queue_fs.c.orig 2016-02-02 07:40:06.000000000 +0000
-+++ smtpd/queue_fs.c
-@@ -30,6 +30,12 @@
- #ifdef HAVE_SYS_STATFS_H
- #include <sys/statfs.h>
- #endif
-+#ifdef HAVE_SYS_STATVFS_H
-+#include <sys/statvfs.h>
-+#ifdef __NetBSD__
-+#define statfs statvfs
-+#endif
-+#endif
-
- #include <ctype.h>
- #include <dirent.h>
diff -r 802b4e355c8c -r 8e50b35ef6ea mail/opensmtpd/patches/patch-smtpd_smtp__session.c
--- a/mail/opensmtpd/patches/patch-smtpd_smtp__session.c Wed Apr 21 09:34:00 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,69 +0,0 @@
-$NetBSD: patch-smtpd_smtp__session.c,v 1.1 2016/05/01 05:56:40 mef Exp $
-
-Add a patch to handle long usernames during SMTP authentication,
-e.g. often username exceeds the limit when it contains @host.name
-part.
Home |
Main Index |
Thread Index |
Old Index