6260e312ef
- fixes a few buffer overflows and a broken boundary check which could potentially lead to a remote vulnerability. http://marc.theaimsgroup.com/?l=bugtraq&m=103340148625187&w=2 -- Ok'd by: pvalchev@
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.87 2002/09/30 16:37:14 brad Exp $
|
|
|
|
COMMENT= "mail retrieval utility for POP2, POP3, KPOP, IMAP and more"
|
|
|
|
DISTNAME= fetchmail-6.1.0
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \
|
|
ftp://ftp.ccil.org/pub/esr/fetchmail/
|
|
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/fetchmail/
|
|
|
|
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= gettext
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --disable-nls --enable-inet6 --with-ssl \
|
|
--with-kerberos --with-kerberos5 --enable-NTLM
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
DOCS= FAQ NOTES FEATURES README COPYING fetchmail-FAQ.html \
|
|
fetchmail-features.html design-notes.html todo.html
|
|
|
|
pre-patch:
|
|
@sed -e "s|@PREFIX@|${LOCALBASE}|" \
|
|
${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
|
|
@tbl ${WRKSRC}/fetchmail.man > ${WRKSRC}/fetchmail.tbl && \
|
|
cp -f ${WRKSRC}/fetchmail.tbl ${WRKSRC}/fetchmail.man
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fetchmail
|
|
@cd ${PREFIX}/man/man1 && ln -sf fetchmail.1 fetchmailconf.1
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/fetchmail
|
|
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf \
|
|
${PREFIX}/libexec/fetchmailconf.bin
|
|
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|