2003-07-13 15:50:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.127 2003/07/13 13:52:26 wiz Exp $
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2003-03-22 06:18:42 +01:00
|
|
|
DISTNAME= fetchmail-6.2.2
|
2003-07-13 15:50:19 +02:00
|
|
|
PKGREVISION= 1
|
1998-02-28 12:05:37 +01:00
|
|
|
CATEGORIES= mail
|
1998-12-02 12:13:46 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ \
|
|
|
|
http://www.tuxedo.org/~esr/fetchmail/ \
|
|
|
|
http://sunsite.unc.edu/pub/Linux/system/mail/pop/
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2001-05-14 14:12:47 +02:00
|
|
|
MAINTAINER= frueauf@netbsd.org
|
2000-02-05 20:51:13 +01:00
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2002-10-01 08:53:50 +02:00
|
|
|
BUILD_USES_MSGFMT= YES
|
1999-03-29 18:26:46 +02:00
|
|
|
|
2002-10-01 08:53:50 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-12-01 16:37:58 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-10-01 08:53:50 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2001-06-27 06:17:35 +02:00
|
|
|
CONFIGURE_ARGS+= --without-hesiod
|
2002-11-24 20:55:37 +01:00
|
|
|
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
|
|
|
|
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2001-06-27 06:17:35 +02:00
|
|
|
BUILD_DEFS+= USE_INET6
|
2001-06-27 06:28:48 +02:00
|
|
|
LDFLAGS+= ${CFLAGS}
|
1999-08-18 11:24:08 +02:00
|
|
|
|
1998-06-03 15:07:08 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-06-27 06:17:35 +02:00
|
|
|
FETCHMAIL_USE_SSL?= YES
|
2000-05-21 21:19:33 +02:00
|
|
|
|
|
|
|
.if defined(FETCHMAIL_USE_SSL) && ${FETCHMAIL_USE_SSL} == YES
|
2002-08-26 07:27:02 +02:00
|
|
|
. include "../../security/openssl/buildlink2.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
|
2000-05-21 21:19:33 +02:00
|
|
|
.else
|
2001-06-27 06:17:35 +02:00
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
2000-05-21 21:19:33 +02:00
|
|
|
.endif
|
|
|
|
|
2001-06-27 06:17:35 +02:00
|
|
|
BUILD_DEFS+= FETCHMAIL_USE_SSL
|
2000-05-21 21:19:33 +02:00
|
|
|
|
2001-03-04 04:26:50 +01:00
|
|
|
.if defined(KERBEROS)
|
2002-06-15 23:19:59 +02:00
|
|
|
PKG_USE_KERBEROS= yes
|
2001-06-27 06:17:35 +02:00
|
|
|
CONFIGURE_ARGS+= --with-kerberos=yes
|
2002-08-26 07:27:02 +02:00
|
|
|
. if ${MACHINE_PLATFORM:MNetBSD-1.[0-4]*-i386} == ""
|
2001-03-23 11:01:01 +01:00
|
|
|
REPLACE_KERBEROS_LIBS= # defined
|
2002-08-26 07:27:02 +02:00
|
|
|
. endif
|
1999-09-14 04:32:21 +02:00
|
|
|
.else
|
2001-06-27 06:17:35 +02:00
|
|
|
CONFIGURE_ARGS+= --with-kerberos=no
|
1998-02-28 12:05:37 +01:00
|
|
|
.endif
|
1999-09-14 04:32:21 +02:00
|
|
|
|
1999-09-04 00:00:52 +02:00
|
|
|
.if defined(USE_INET6) && ${USE_INET6} == YES
|
2001-06-27 06:17:35 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-inet6
|
1999-07-08 01:28:12 +02:00
|
|
|
.endif
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1999-03-29 18:26:46 +02:00
|
|
|
FDOC= ${PREFIX}/share/doc/fetchmail
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1998-02-28 12:35:39 +01:00
|
|
|
post-extract:
|
2001-07-31 18:19:08 +02:00
|
|
|
@${RM} -f ${WRKSRC}/intl/libintl.h
|
1999-10-09 00:06:51 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
@${RM} -f ${WRKSRC}/md5.h
|
1999-10-01 12:31:57 +02:00
|
|
|
.endif
|
1999-10-09 00:06:51 +02:00
|
|
|
@${MV} ${WRKSRC}/fetchmail.man ${WRKSRC}/fetchmail.tbl
|
2001-03-23 11:01:01 +01:00
|
|
|
.if defined(REPLACE_KERBEROS_LIBS)
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for F in configure.in configure; do \
|
|
|
|
${SED} -e "s/-lkrb -ldes/-lkrb -ldes -lcom_err -lroken/" \
|
|
|
|
$$F > $$F.mod; \
|
|
|
|
${MV} -f $$F.mod $$F; \
|
|
|
|
done
|
|
|
|
${CHMOD} a+x ${WRKSRC}/configure
|
|
|
|
.endif
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1999-10-09 00:06:51 +02:00
|
|
|
post-build:
|
|
|
|
tbl ${WRKSRC}/fetchmail.tbl >${WRKSRC}/fetchmail.man
|
2000-02-05 20:51:13 +01:00
|
|
|
|
1998-02-28 12:05:37 +01:00
|
|
|
post-install:
|
2001-02-24 03:25:22 +01:00
|
|
|
${INSTALL_DATA_DIR} ${FDOC}
|
1998-02-28 12:05:37 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} \
|
Update fetchmail{conf} to 5.7.0.
Changes since 5.6.0:
fetchmail-5.7.0 (Thu Mar 1 18:00:08 EST 2001), 20131 lines:
* Updated Danish translation from Byrial Jensen.
* Fixed bug in NTLM support. Separately, "auth ntlm" now works.
* Imail server and vircom NTLM account added to test list.
* Don't require Tkinter to read --configdump output.
fetchmail-5.6.8 (Thu Feb 22 02:57:31 EST 2001), 20110 lines:
* `preauth' option changed back to `auth'
* IMAP code now bails out if the server forces the mailbox read-only.
* Fixed a core dump in Dave Zarzycki's new plugin code.
* POP3 latency optimization: only do CAPA and set authentication capabilities
from it once at start of run.
fetchmail-5.6.7 (Mon Feb 19 12:31:03 EST 2001), 20082 lines:
* Fixed brown-paper-bag password bug (only showed up if it was necessary
to prompt for a password). This fixes Debian bug #86350: Fetchmail doesn't
ask for password.
* In POP3, query for AUTH methods a la RFC2449.
fetchmail-5.6.6 (Thu Feb 15 20:43:47 EST 2001), 20083 lines:
* Fixed locale setting; this should make i18n actually work.
* Resolved Debian bug #85938: fetchmail asks for a password when using ETRN.
* Resolved Debian bugs #85853 and #86047. POP3: Don't issue AUTH between
USER and PASS, some servers choke on this.
* Resolved Debian bug #85772 re Kerberos compilation.
* Resolved Debian bug #85961: Wrong error message when local connection fails.
* Serious pre-release regression testing begins. This version tested
against 18 different POP3 and IMAP servers.
fetchmail-5.6.5 (Mon Feb 12 04:33:39 EST 2001), 20062 lines:
* CRAM-MD5 authentication of IMAP and POP3 is working. Tested against
IMAP4rev1 2000.287 and v2000.70 POP3 gateway at neo.netnea.com.
* Full support for POP3 AUTH (RFC1734) with KERBEROS_IV, GSSAPI, OTP.
This code has been completely refactored. In the process, it is
possible I have broken GSSAPI, KERBEROS, and OPIE; this needs to be tested.
The old IMAP-LOGIN, IMAP-GSS, and IMAP-K4 protocols are gone; fetchmail
now uses these automatically when it detects the right capabilities.
To prevent having fetchmail look for a password, specify a "preauth"
option other than "password".
* Noted that Debian bugs #78963, #63064, #81312, #78796, #78363, #78149,
#68627, #67559, #63308, #63088, #71428 are fixed.
* Resolved Debian bug #65505: fetchmail now returns a nonzero exit status
when interrupted before a successful fetch.
* configure --ssl works correctly again.
fetchmail-5.6.4 (Sun Feb 11 00:43:14 EST 2001), 20085 lines:
* ODMR port fix for AIX.
* Dave Zarzycki's fix for former FAQ item F5 (%h and %p not being expanded).
* Dave Zarzycki's fix to reap zombie processes when nodetach is set.
* Attempted fix for CRAM-MD5 problem with IMAP 2000.
fetchmail-5.6.3 (Wed Feb 7 10:56:21 EST 2001), 19901 lines:
* VPATH build fixed (thanks to Harry McGavran).
* Danny O'Brien's patch allowing preauth and idle to work together.
* Fixed a bug in configure.in that was resulting in KERBEROS_IV being
set when it should not have been (several reports).
* FAQ change: mailing lists have moved to MailMan.
* Deal with brain-dead netmind mail missing the RFC822 delimiter line.
* ODMR (RFC 2645) support -- untested and probably buggy!
fetchmail-5.6.2 (Fri Jan 5 16:45:47 EST 2001), 19744 lines:
* Dave Bodenstab's fix for the lockfile re-exec problem.
* Fixes for `principal' handling in fetchmailconf.
* Make --with-included-gettext work again (Thanks to Albert Chin-A-Young).
fetchmail-5.6.1 (Mon Dec 11 23:11:59 EST 2000), 19718 lines:
* More on ETRN in the FAQ.
* Horst Klokow's patch to make interface check the remote IP address.
* Roger Luethi's patch to write the UIDL file when you hit a fetchlimit.
* Don Beusee's patch to eliminate wedging on authentication failure.
Instead, fetchmail will now notify the user on the third failure, then
continue polling silently until service is restored (at which time the
user will get a notification).
* Samuel Leo's patch to add LMTP capability to the smtphost option.
* Fix UIDL handling on skip entries.
* Add Don Beusee's `spambounce' option (default off).
2001-03-03 13:27:50 +01:00
|
|
|
FAQ NOTES FEATURES README COPYING \
|
1998-02-28 12:05:37 +01:00
|
|
|
fetchmail-FAQ.html fetchmail-features.html \
|
|
|
|
design-notes.html ${FDOC}
|
|
|
|
|
2002-08-26 07:27:02 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink2.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|