pkgsrc/mail/fetchmail/Makefile

83 lines
2 KiB
Makefile
Raw Normal View History

2003-07-13 15:50:19 +02:00
# $NetBSD: Makefile,v 1.127 2003/07/13 13:52:26 wiz Exp $
DISTNAME= fetchmail-6.2.2
2003-07-13 15:50:19 +02:00
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/ \
http://www.tuxedo.org/~esr/fetchmail/ \
http://sunsite.unc.edu/pub/Linux/system/mail/pop/
MAINTAINER= frueauf@netbsd.org
2000-02-05 20:51:13 +01:00
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
COMMENT= batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
BUILD_USES_MSGFMT= YES
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
2001-06-27 06:17:35 +02:00
CONFIGURE_ARGS+= --without-hesiod
CONFIG_GUESS_OVERRIDE= ${WRKSRC}/config.guess
CONFIG_SUB_OVERRIDE= ${WRKSRC}/config.sub
2001-06-27 06:17:35 +02:00
BUILD_DEFS+= USE_INET6
LDFLAGS+= ${CFLAGS}
.include "../../mk/bsd.prefs.mk"
2001-06-27 06:17:35 +02:00
FETCHMAIL_USE_SSL?= YES
.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}
.else
2001-06-27 06:17:35 +02:00
CONFIGURE_ARGS+= --without-ssl
.endif
2001-06-27 06:17:35 +02:00
BUILD_DEFS+= FETCHMAIL_USE_SSL
2001-03-04 04:26:50 +01:00
.if defined(KERBEROS)
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} == ""
REPLACE_KERBEROS_LIBS= # defined
2002-08-26 07:27:02 +02:00
. endif
.else
2001-06-27 06:17:35 +02:00
CONFIGURE_ARGS+= --with-kerberos=no
.endif
.if defined(USE_INET6) && ${USE_INET6} == YES
2001-06-27 06:17:35 +02:00
CONFIGURE_ARGS+= --enable-inet6
.endif
FDOC= ${PREFIX}/share/doc/fetchmail
1998-02-28 12:35:39 +01:00
post-extract:
@${RM} -f ${WRKSRC}/intl/libintl.h
.if ${OPSYS} == "NetBSD"
@${RM} -f ${WRKSRC}/md5.h
1999-10-01 12:31:57 +02:00
.endif
@${MV} ${WRKSRC}/fetchmail.man ${WRKSRC}/fetchmail.tbl
.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
post-build:
tbl ${WRKSRC}/fetchmail.tbl >${WRKSRC}/fetchmail.man
2000-02-05 20:51:13 +01:00
post-install:
${INSTALL_DATA_DIR} ${FDOC}
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 \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html ${FDOC}
2002-08-26 07:27:02 +02:00
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"