diff options
author | tron <tron> | 1998-02-28 11:05:37 +0000 |
---|---|---|
committer | tron <tron> | 1998-02-28 11:05:37 +0000 |
commit | 0c8cb4694f1167d35c33da752f8c4ed259b9c49c (patch) | |
tree | 7776e0d4218223b4bb5363d1a7ab100bec1a0df7 /mail | |
parent | 895e2bdcbe6f04ba58b1b7a63fa3e8087feb2a5e (diff) | |
download | pkgsrc-0c8cb4694f1167d35c33da752f8c4ed259b9c49c.tar.gz |
Initial import of FreeBSD's "fetchmail" port.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/fetchmail/Makefile | 36 | ||||
-rw-r--r-- | mail/fetchmail/files/md5 | 1 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-aa | 20 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-ab | 29 | ||||
-rw-r--r-- | mail/fetchmail/pkg/COMMENT | 1 | ||||
-rw-r--r-- | mail/fetchmail/pkg/DESCR | 6 | ||||
-rw-r--r-- | mail/fetchmail/pkg/PLIST | 12 |
7 files changed, 105 insertions, 0 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile new file mode 100644 index 00000000000..61befee76c5 --- /dev/null +++ b/mail/fetchmail/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: fetchmail +# Version required: 4.3.6 +# Date created: 26 Oct 1996 +# Whom: Ville Eerola <ve@sci.fi> +# +# $Id: Makefile,v 1.1.1.1 1998/02/28 11:05:37 tron Exp $ +# + +DISTNAME= fetchmail-4.3.6 +CATEGORIES= mail +MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ + +MAINTAINER= ve@sci.fi + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-opie +CONFIGURE_ENV= LDFLAGS="${CFLAGS}" +MAN1= fetchmail.1 + +.if exists(/usr/lib/libkrb.a) && (defined(MAKE_EBONES) || defined(MAKE_KERBEROS4)) +CONFIGURE_ARGS += --with-kerberos=/usr/include/kerberosIV +.endif + +FDOC= ${PREFIX}/share/doc/fetchmail + +post-patch: + @${CP} -f /usr/include/md5.h ${WRKSRC} + +post-install: + ${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC} + cd ${WRKSRC} && ${INSTALL_DATA} \ + sample.rcfile FAQ NOTES FEATURES README COPYING \ + fetchmail-FAQ.html fetchmail-features.html \ + design-notes.html ${FDOC} + +.include <bsd.port.mk> diff --git a/mail/fetchmail/files/md5 b/mail/fetchmail/files/md5 new file mode 100644 index 00000000000..da01a93d61d --- /dev/null +++ b/mail/fetchmail/files/md5 @@ -0,0 +1 @@ +MD5 (fetchmail-4.3.6.tar.gz) = 13ceabd6b9d055f4c885624a0844220e diff --git a/mail/fetchmail/patches/patch-aa b/mail/fetchmail/patches/patch-aa new file mode 100644 index 00000000000..0e961a19a8d --- /dev/null +++ b/mail/fetchmail/patches/patch-aa @@ -0,0 +1,20 @@ +*** md5ify.c.orig Fri Nov 8 20:13:11 1996 +--- md5ify.c Wed Jun 11 06:34:20 1997 +*************** +*** 16,22 **** + #include <string.h> + #endif + +! #include "md5.h" + + char * + MD5Digest (s) +--- 16,23 ---- + #include <string.h> + #endif + +! #include <sys/types.h> +! #include <md5.h> + + char * + MD5Digest (s) diff --git a/mail/fetchmail/patches/patch-ab b/mail/fetchmail/patches/patch-ab new file mode 100644 index 00000000000..b38bdfc11f1 --- /dev/null +++ b/mail/fetchmail/patches/patch-ab @@ -0,0 +1,29 @@ +--- Makefile.in.orig Tue Oct 14 06:12:14 1997 ++++ Makefile.in Thu Oct 16 06:55:05 1997 +@@ -36,7 +36,7 @@ + + # If your system needs extra libraries loaded in, define them here. + # In particular, add -lresolv if you are running bind 4.9.5 +-LOADLIBS = @LIBS@ @LEXLIB@ ++LOADLIBS = @LIBS@ @LEXLIB@ -lmd + # LOADLIBS = -lsocket3r -lunix3r # QNX + + # Any extra object files your system needs. +@@ -82,7 +82,7 @@ + + protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \ + etrn.o fetchmail.o env.o options.o daemon.o driver.o rfc822.o smtp.o \ +- xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o interface.o netrc.o \ ++ xmalloc.o uid.o mxget.o md5ify.o rpa.o interface.o netrc.o \ + base64.o error.o + + objs = $(protobjs) $(extras) $(EXTRAOBJ) +@@ -93,7 +93,7 @@ + $(srcdir)/options.c $(srcdir)/daemon.c \ + $(srcdir)/driver.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \ + $(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \ +- $(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/rpa.c \ ++ $(srcdir)/md5ify.c $(srcdir)/rpa.c \ + $(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \ + $(srcdir)/error.c + diff --git a/mail/fetchmail/pkg/COMMENT b/mail/fetchmail/pkg/COMMENT new file mode 100644 index 00000000000..a4f65c8b71c --- /dev/null +++ b/mail/fetchmail/pkg/COMMENT @@ -0,0 +1 @@ +batch mail retrieval/forwarding utility for pop2, pop3, apop, imap diff --git a/mail/fetchmail/pkg/DESCR b/mail/fetchmail/pkg/DESCR new file mode 100644 index 00000000000..1d005033ac1 --- /dev/null +++ b/mail/fetchmail/pkg/DESCR @@ -0,0 +1,6 @@ +Fetchmail is a full-featured IMAP/POP2/POP3/APOP/KPOP client with easy +configuration, daemon mode, forwarding via SMTP or local MDA, superior +reply handling. Not a mail user agent, rather a pipe-fitting that +seamlessly forwards fetched mail to your local delivery system. Your +one-stop solution for intermittent email connections. This is the +lineal descendant of and replacement for the old popclient program. diff --git a/mail/fetchmail/pkg/PLIST b/mail/fetchmail/pkg/PLIST new file mode 100644 index 00000000000..dd9e8252024 --- /dev/null +++ b/mail/fetchmail/pkg/PLIST @@ -0,0 +1,12 @@ +bin/fetchmail +man/man1/fetchmail.1.gz +share/doc/fetchmail/README +share/doc/fetchmail/COPYING +share/doc/fetchmail/FAQ +share/doc/fetchmail/NOTES +share/doc/fetchmail/FEATURES +share/doc/fetchmail/fetchmail-FAQ.html +share/doc/fetchmail/design-notes.html +share/doc/fetchmail/fetchmail-features.html +share/doc/fetchmail/sample.rcfile +@dirrm share/doc/fetchmail |