summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-11-12 04:13:12 +0000
committerminskim <minskim@pkgsrc.org>2005-11-12 04:13:12 +0000
commit95052e230ee28af29aaca5f7cf0f49d2d4682a52 (patch)
treee621d4db012a636a13c2dd28190eac53b805dbd2 /mail
parent3025ab532aeff96460592031ea6acea6a5c6141c (diff)
downloadpkgsrc-95052e230ee28af29aaca5f7cf0f49d2d4682a52.tar.gz
Import esmtp from pkgsrc-wip. Packaged by Leonard Schmidt.
esmtp is a user-configurable relay-only Mail Transfer Agent (MTA) with a sendmail-compatible syntax. It is based on libESMTP supporting the AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the StartTLS SMTP extensions. Features include: * fully sendmail command-line compatible, * supports the AUTH SMTP extension, with the CRAM-MD5 and NTLM SASL mechanisms, * supports the StartTLS SMTP extension, * requires no administration privileges, * individual user configuration, * does not receive mail, expand aliases or manage a queue, * local mail delivery via a MDA.
Diffstat (limited to 'mail')
-rw-r--r--mail/esmtp/DESCR14
-rw-r--r--mail/esmtp/Makefile43
-rw-r--r--mail/esmtp/PLIST8
-rw-r--r--mail/esmtp/distinfo6
-rw-r--r--mail/esmtp/patches/patch-aa16
5 files changed, 87 insertions, 0 deletions
diff --git a/mail/esmtp/DESCR b/mail/esmtp/DESCR
new file mode 100644
index 00000000000..e6cbac4de84
--- /dev/null
+++ b/mail/esmtp/DESCR
@@ -0,0 +1,14 @@
+esmtp is a user-configurable relay-only Mail Transfer Agent (MTA) with
+a sendmail-compatible syntax. It is based on libESMTP supporting the
+AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the
+StartTLS SMTP extensions.
+
+Features include:
+ * fully sendmail command-line compatible,
+ * supports the AUTH SMTP extension, with the CRAM-MD5 and NTLM SASL
+ mechanisms,
+ * supports the StartTLS SMTP extension,
+ * requires no administration privileges,
+ * individual user configuration,
+ * does not receive mail, expand aliases or manage a queue,
+ * local mail delivery via a MDA.
diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile
new file mode 100644
index 00000000000..aa2e33d8582
--- /dev/null
+++ b/mail/esmtp/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/12 04:13:12 minskim Exp $
+#
+
+DISTNAME= esmtp-0.5.1
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=esmtp/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= lems@gmx.net
+HOMEPAGE= http://esmtp.sourceforge.net/
+COMMENT= Relay-only Mail Transfer Agent with sendmail-compatible syntax
+
+GNU_CONFIGURE= yes
+USE_PKGINSTALL= yes
+USE_TOOLS+= bison flex
+PTHREAD_OPTS+= require
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= README esmtp.1 esmtprc.5 sample.esmtprc
+SUBST_SED.paths= -e 's|/usr/bin|${PREFIX}/bin|g'
+SUBST_SED.paths+= -e 's|/etc|${PKG_SYSCONFDIR}|g'
+
+PKG_SYSCONFSUBDIR= esmtp
+
+EGDIR= ${PREFIX}/share/examples/esmtp
+CONF_FILES= ${EGDIR}/sample.esmtprc \
+ ${PKG_SYSCONFDIR}/sample.esmtprc
+
+.include "../../mail/libesmtp/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/esmtp
+ ${INSTALL_DATA} ${WRKSRC}/sample.esmtprc ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/esmtp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/esmtp/PLIST b/mail/esmtp/PLIST
new file mode 100644
index 00000000000..5480acf04e3
--- /dev/null
+++ b/mail/esmtp/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/12 04:13:12 minskim Exp $
+bin/esmtp
+man/man1/esmtp.1
+man/man5/esmtprc.5
+share/doc/esmtp/README
+share/examples/esmtp/sample.esmtprc
+@dirrm share/examples/esmtp
+@dirrm share/doc/esmtp
diff --git a/mail/esmtp/distinfo b/mail/esmtp/distinfo
new file mode 100644
index 00000000000..9d602851239
--- /dev/null
+++ b/mail/esmtp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/11/12 04:13:12 minskim Exp $
+
+SHA1 (esmtp-0.5.1.tar.bz2) = daf31e9e4283dbbc8a35b1841626b69bc636960e
+RMD160 (esmtp-0.5.1.tar.bz2) = 740e9bbd855095bd89673345f22bcab4557c013a
+Size (esmtp-0.5.1.tar.bz2) = 127355 bytes
+SHA1 (patch-aa) = be7a30232434f5b9bcc61b9523e434b8dc5bfed9
diff --git a/mail/esmtp/patches/patch-aa b/mail/esmtp/patches/patch-aa
new file mode 100644
index 00000000000..524c463c373
--- /dev/null
+++ b/mail/esmtp/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/11/12 04:13:12 minskim Exp $
+
+--- Makefile.in.orig 2005-03-10 18:00:26.000000000 +0000
++++ Makefile.in
+@@ -630,11 +630,9 @@ info-am:
+
+ install-data-am: install-man
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+ install-exec-am: install-binPROGRAMS
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+
+ install-info: install-info-am
+