pkgsrc/mail/fetchmail/Makefile
tron 67b224660a Update "fetchmail" and "fetchmailconf" packages to version 6.3.8.
Changes since version 6.3.6:
- Make the APOP challenge parser more distrustful and have it reject
  challenges that do not conform to RFC-822 msg-id format, in the hope
  to make mounting man-in-the-middle attacks (MITM) against APOP a bit
  more difficult. (CVE-2007-1558)
- Fix pluralization of oversized-message warning mails.
- Fix manual page: --sslcheck -> --sslcertck, and do not set trailing
  "recommended:" in bold.
- Repoll immediately if a protocol error happens during the authentication
  attempt after a failed opportunistic TLS upgrade.
- Fix rendering of the "24 - 26, 28, 29" paragraph in the exit codes
  section.
- If SOCKS support was compiled in, add 'socks' to the feature_options
  Python list emitted in --configdump.
- Do not crash with a null pointer dereference when opening the BSMTP file
  fails. Improve error checking and reporting.
- Make BSMTP output actually work, it would persistently fail with SOCKET
  error after writing the first header.
- Fix KPOP.
- Fix repoll when server disconnects after opportunistic TLS failed for
  POP3.
2007-04-14 22:14:29 +00:00

69 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.162 2007/04/14 22:14:29 tron Exp $
DISTNAME= fetchmail-6.3.8
CATEGORIES= mail
MASTER_SITES= http://download.berlios.de/fetchmail/ \
http://download2.berlios.de/fetchmail/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= frueauf@NetBSD.org
HOMEPAGE= http://fetchmail.berlios.de/
COMMENT= Batch mail retrieval/forwarding utility for pop2, pop3, apop, imap
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
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"
post-extract:
@${RM} -f ${WRKSRC}/intl/libintl.h
.if ${OPSYS} == "NetBSD"
@${RM} -f ${WRKSRC}/md5.h
.endif
.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:
for file in ${WRKSRC}/fetchmail.man; do \
${MV} -f $$file $$file.tbl; \
${TBL} $$file.tbl > $$file; \
done
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}; for file in \
FAQ NOTES FEATURES README COPYING \
fetchmail-FAQ.html fetchmail-features.html \
design-notes.html; \
do \
${INSTALL_DATA} $$file ${DOCDIR}; \
done
.include "../../mk/bsd.pkg.mk"