summaryrefslogtreecommitdiff
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-03-07 10:52:05 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-03-07 10:52:05 +0000
commitfd0f122f9f50aa144c0243636924688ea5563cbf (patch)
tree4ae5fede96271f95c4a2822c4bd3a90c651473eb /mail/libesmtp
parentupdate to 1.6.3p7 (diff)
Add libesmtp, a library for sending email messages via SMTP.
PR: 25269 Submitted by: Anton Berezin <tobez@tobez.org>
Notes
Notes: svn path=/head/; revision=39177
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile29
-rw-r--r--mail/libesmtp/distinfo1
-rw-r--r--mail/libesmtp/files/patch-headers.c10
-rw-r--r--mail/libesmtp/files/patch-smtp-api.c11
-rw-r--r--mail/libesmtp/pkg-comment1
-rw-r--r--mail/libesmtp/pkg-descr19
-rw-r--r--mail/libesmtp/pkg-plist12
7 files changed, 83 insertions, 0 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
new file mode 100644
index 000000000000..e39b19630ae6
--- /dev/null
+++ b/mail/libesmtp/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: libesmtp
+# Date created: Sun Feb 21 2001
+# Whom: tobez@tobez.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= libesmtp
+PORTVERSION= 0.5
+CATEGORIES= mail
+MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
+ http://www.tobez.org/download/port-mirrors/mail/libesmtp/
+
+MAINTAINER= tobez@tobez.org
+
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+
+post-install:
+.ifndef(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/libesmtp
+ ${MKDIR} ${PREFIX}/share/doc/libesmtp
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/libesmtp
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/libesmtp
+ ${INSTALL_DATA} ${WRKSRC}/Notes ${PREFIX}/share/doc/libesmtp
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libesmtp
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/libesmtp/distinfo b/mail/libesmtp/distinfo
new file mode 100644
index 000000000000..17b380eb3aa3
--- /dev/null
+++ b/mail/libesmtp/distinfo
@@ -0,0 +1 @@
+MD5 (libesmtp-0.5.tar.gz) = 6650c0cd5d088aa505b219d69ae160bf
diff --git a/mail/libesmtp/files/patch-headers.c b/mail/libesmtp/files/patch-headers.c
new file mode 100644
index 000000000000..b59e31d4cf12
--- /dev/null
+++ b/mail/libesmtp/files/patch-headers.c
@@ -0,0 +1,10 @@
+--- headers.c.orig Wed Feb 21 23:07:41 2001
++++ headers.c Wed Feb 21 23:07:57 2001
+@@ -23,6 +23,7 @@
+ #include <stdarg.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <time.h>
+
+ #include "libesmtp-private.h"
+ #include "headers.h"
diff --git a/mail/libesmtp/files/patch-smtp-api.c b/mail/libesmtp/files/patch-smtp-api.c
new file mode 100644
index 000000000000..e27660e4cb67
--- /dev/null
+++ b/mail/libesmtp/files/patch-smtp-api.c
@@ -0,0 +1,11 @@
+--- smtp-api.c.orig Tue Mar 6 21:28:55 2001
++++ smtp-api.c Tue Mar 6 21:29:15 2001
+@@ -20,6 +20,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <sys/types.h>
++
+ #include <stdarg.h>
+ #include <string.h>
+ #include <stdlib.h>
diff --git a/mail/libesmtp/pkg-comment b/mail/libesmtp/pkg-comment
new file mode 100644
index 000000000000..500afc9afe2f
--- /dev/null
+++ b/mail/libesmtp/pkg-comment
@@ -0,0 +1 @@
+A library for posting electronic mail
diff --git a/mail/libesmtp/pkg-descr b/mail/libesmtp/pkg-descr
new file mode 100644
index 000000000000..72d5b27604c0
--- /dev/null
+++ b/mail/libesmtp/pkg-descr
@@ -0,0 +1,19 @@
+libESMTP is a library to manage posting (or submission of) electronic
+mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
+Exim. It may be used as part of a Mail User Agent (MUA) or another
+program that must be able to post electronic mail but where mail
+functionality is not the program's primary purpose. libESMTP is not
+intended to be used as part of a program that implements a Mail
+Transport Agent.
+
+libESMTP is an attempt to provide a robust implementation of the SMTP
+protocol for use with mail clients. It is being developed as a reaction
+to the experience of incomplete or buggy implementations of SMTP and
+also to help remove the need for the installation of MTAs on
+workstations which only need them to provide a sendmail command for a
+mail client to post its mail.
+
+WWW: http://www.stafford.uklinux.net/libesmtp/
+
+- Anton
+tobez@tobez.org
diff --git a/mail/libesmtp/pkg-plist b/mail/libesmtp/pkg-plist
new file mode 100644
index 000000000000..653b25e1a114
--- /dev/null
+++ b/mail/libesmtp/pkg-plist
@@ -0,0 +1,12 @@
+include/libesmtp.h
+lib/libesmtp.so.2
+lib/libesmtp.so
+lib/libesmtp.a
+%%PORTDOCS%%share/doc/libesmtp/INSTALL
+%%PORTDOCS%%share/doc/libesmtp/Notes
+%%PORTDOCS%%share/doc/libesmtp/README
+%%PORTDOCS%%share/examples/libesmtp/Makefile
+%%PORTDOCS%%share/examples/libesmtp/mail-file.c
+%%PORTDOCS%%share/examples/libesmtp/test-mail
+%%PORTDOCS%%@dirrm share/examples/libesmtp
+%%PORTDOCS%%@dirrm share/doc/libesmtp