pkgsrc/mail/fetchmail/Makefile

72 lines
1.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.165 2008/01/18 05:08:24 tnn Exp $
DISTNAME= fetchmail-6.3.8
PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://download.berlios.de/fetchmail/ \
http://download2.berlios.de/fetchmail/
EXTRACT_SUFX= .tar.bz2
2003-07-17 23:41:05 +02:00
MAINTAINER= frueauf@NetBSD.org
Update fetchmail to 6.2.5.5. Change homepage to http://fetchmail.berlios.de/ and update MASTER_SITES. Changes introduced since 6.2.5: fetchmail-6.2.5.X is a security fix branch that forked off fetchmail-6.2.5. It does not change for anything but security and the most severe bug fixes. Note that no 6.2.5.X security audits are planned except when a particular bug is reported, and that 6.2.5.X is unsafe to use on some systems, particularly those that lack a *working and secure* snprintf implementation. The fetchmail 6.2.5.X branch will be discontinued early in 2006. fetchmail-6.2.5.5 2005-12-19 Matthias Andree * SECURITY FIX CVE-2005-4348: fix null pointer dereference in multidrop mode when the message is empty. Reported by Daniel Drake <http://article.gmane.org/gmane.mail.fetchmail.user/7573> and others (Debian Bug #343836). Fix by Sunil Shetye. * Fix Debian bug #301964, fetchmail leaks sockets when SSL negotiation fails. Fix suggested by Goswin Brederlow. * Add fetchmail-SA-2005-{01,02,03}.txt fetchmail-6.2.5.4 2005-11-13 Matthias Andree * Also ship pre-built rcfile_y.[ch] for systems that don't have flex, yacc or bison. * On FreeBSD, add /usr/local/include to CPPFLAGS so that libintl.h is found. * Avoid automatically picking up HESIOD implementations that lack hesiod_getmailhost, such as the one in FreeBSD's base system. * Fix makedepend for separated build (where the build is not run from the source directory), but prevent packaging from separated build, it yields bogus results. * Fix resolv.h autodetection. * Add +HESIOD to version printout if appropriate. fetchmail-6.2.5.3 2005-11-12 Matthias Andree * SECURITY FIX CVE-2005-3088: fetchmailconf: fix password exposure: use umask 077 before opening output file and restore umask later. * Critical fix: fix IMAP timeouts, counting message count down on servers that do not send EXISTS counts after EXPUNGE. Debian Bug#314509. * Ship pre-built rcfile_l.c for systems that don't have flex. * Build environment: Update included gettext. Fix --with-included-gettext. Fix parallel build (make -j). Fix "always rebuild fetchmail" syndrome. * Do not link against -ll or -lfl (not needed). fetchmail-6.2.5.2 (patch Fri Jul 22 01:52 GMT 2005, tarball Sat Jul 23 21:34 GMT 2005) * README: Added a note about release status - READ IT! * Note: Due to a Makefile.in bug, you may need to use GNU make. * SECURITY FIX CVE-2005-2335: truncate UIDL replies, lest malicious or compromised POP3 servers overflow fetchmail's stack. Debian bug #212762. This is a remote root exploit. Thanks: Miloslav Trmac for pointing out the fix in 6.2.5.1 was buggy. Thanks: Ludwig Nussel for a much simpler fix. * Critical fix: omit blank between MAIL FROM: and <user@example.org>, as this causes mail loss with some listeners. * Fix: POP2 driver wouldn't properly check authentication failure. * Sunil Shetye's fix to force fetchsizelimit to 1 for APOP and RPOP.
2005-12-20 15:27:53 +01:00
HOMEPAGE= http://fetchmail.berlios.de/
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
PKG_DESTDIR_SUPPORT= user-destdir
2004-01-06 08:05:24 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
2004-03-31 04:32:56 +02:00
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
2001-06-27 06:17:35 +02:00
CONFIGURE_ARGS+= --without-hesiod
CONFIGURE_ENV+= PYTHON=:
LDFLAGS+= ${CFLAGS}
USE_TOOLS+= msgfmt tbl
.if ${OPSYS} == "Darwin"
LDFLAGS+= -lresolv
CFLAGS.Darwin+= -DBIND_8_COMPAT -DHAVE_RESOLV_H
.endif
.include "options.mk"
DOCDIR= ${PREFIX}/share/doc/fetchmail
RCD_SCRIPTS= fetchmail
.include "../../devel/gettext-lib/buildlink3.mk"
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
2004-03-31 04:22:04 +02:00
.if defined(REPLACE_KERBEROS_LIBS)
pre-configure:
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:
2004-03-31 04:22:04 +02:00
for file in ${WRKSRC}/fetchmail.man; do \
${MV} -f $$file $$file.tbl; \
${TBL} $$file.tbl > $$file; \
2004-03-31 04:22:04 +02:00
done
2000-02-05 20:51:13 +01:00
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
cd ${WRKSRC}; for file in \
FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html; \
do \
${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"