2008-01-18 06:06:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.165 2008/01/18 05:08:24 tnn Exp $
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2007-04-15 00:14:29 +02:00
|
|
|
DISTNAME= fetchmail-6.3.8
|
2008-01-18 06:06:18 +01:00
|
|
|
PKGREVISION= 2
|
1998-02-28 12:05:37 +01:00
|
|
|
CATEGORIES= mail
|
2007-01-17 18:36:51 +01:00
|
|
|
MASTER_SITES= http://download.berlios.de/fetchmail/ \
|
|
|
|
http://download2.berlios.de/fetchmail/
|
2007-01-17 15:29:11 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1998-02-28 12:05:37 +01:00
|
|
|
|
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/
|
2003-07-21 18:56:41 +02:00
|
|
|
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2008-01-05 21:50:00 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-01-06 08:05:24 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2004-08-05 04:31:24 +02:00
|
|
|
.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
|
2007-01-17 20:18:01 +01:00
|
|
|
CONFIGURE_ENV+= PYTHON=:
|
2001-06-27 06:28:48 +02:00
|
|
|
LDFLAGS+= ${CFLAGS}
|
2006-04-13 20:23:29 +02:00
|
|
|
USE_TOOLS+= msgfmt tbl
|
1999-08-18 11:24:08 +02:00
|
|
|
|
2005-10-21 22:56:50 +02:00
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
LDFLAGS+= -lresolv
|
|
|
|
CFLAGS.Darwin+= -DBIND_8_COMPAT -DHAVE_RESOLV_H
|
|
|
|
.endif
|
|
|
|
|
2004-08-05 04:31:24 +02:00
|
|
|
.include "options.mk"
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2004-03-31 04:25:11 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/fetchmail
|
2003-09-12 00:58:05 +02:00
|
|
|
RCD_SCRIPTS= fetchmail
|
1998-02-28 12:05:37 +01:00
|
|
|
|
2004-07-30 23:05:41 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
|
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
|
2004-03-31 04:22:04 +02:00
|
|
|
|
2001-03-23 11:01:01 +01:00
|
|
|
.if defined(REPLACE_KERBEROS_LIBS)
|
2004-09-15 09:43:01 +02:00
|
|
|
pre-configure:
|
2001-03-23 11:01:01 +01:00
|
|
|
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:
|
2004-03-31 04:22:04 +02:00
|
|
|
for file in ${WRKSRC}/fetchmail.man; do \
|
|
|
|
${MV} -f $$file $$file.tbl; \
|
2004-07-09 14:34:53 +02:00
|
|
|
${TBL} $$file.tbl > $$file; \
|
2004-03-31 04:22:04 +02:00
|
|
|
done
|
2000-02-05 20:51:13 +01:00
|
|
|
|
1998-02-28 12:05:37 +01:00
|
|
|
post-install:
|
2008-01-05 21:50:00 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
2004-03-31 04:25:11 +02:00
|
|
|
cd ${WRKSRC}; for file in \
|
|
|
|
FAQ NOTES FEATURES README COPYING \
|
|
|
|
fetchmail-FAQ.html fetchmail-features.html \
|
|
|
|
design-notes.html; \
|
|
|
|
do \
|
2008-01-05 21:50:00 +01:00
|
|
|
${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}; \
|
2004-03-31 04:25:11 +02:00
|
|
|
done
|
1998-02-28 12:05:37 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|