diff options
author | roam <roam@FreeBSD.org> | 2001-03-07 18:52:05 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-03-07 18:52:05 +0800 |
commit | 9ee2163169ca82f3e87588734f70328a02b8a8c5 (patch) | |
tree | 0338e5bb84c034e9ca60740f852ab9268e929fb5 /mail | |
parent | 0efac8e3b9019a836eefd9747b0bcffb36985f5f (diff) | |
download | freebsd-ports-gnome-9ee2163169ca82f3e87588734f70328a02b8a8c5.tar.gz freebsd-ports-gnome-9ee2163169ca82f3e87588734f70328a02b8a8c5.tar.zst freebsd-ports-gnome-9ee2163169ca82f3e87588734f70328a02b8a8c5.zip |
Add libesmtp, a library for sending email messages via SMTP.
PR: 25269
Submitted by: Anton Berezin <tobez@tobez.org>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/libesmtp/Makefile | 29 | ||||
-rw-r--r-- | mail/libesmtp/distinfo | 1 | ||||
-rw-r--r-- | mail/libesmtp/files/patch-headers.c | 10 | ||||
-rw-r--r-- | mail/libesmtp/files/patch-smtp-api.c | 11 | ||||
-rw-r--r-- | mail/libesmtp/pkg-comment | 1 | ||||
-rw-r--r-- | mail/libesmtp/pkg-descr | 19 | ||||
-rw-r--r-- | mail/libesmtp/pkg-plist | 12 |
8 files changed, 84 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 3da8be92dfa8..d7918ec1c3b6 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -47,6 +47,7 @@ SUBDIR += kbiff SUBDIR += knewmail SUBDIR += lbdb + SUBDIR += libesmtp SUBDIR += listar SUBDIR += listmanager SUBDIR += mahogany 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 |