aboutsummaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2002-09-29 18:23:32 +0000
committerCy Schubert <cy@FreeBSD.org>2002-09-29 18:23:32 +0000
commit312ab9677d455090ae13eaccf3f5371291d72a35 (patch)
treef6cedb2d23462d50e557147032afccca0a6d5672 /mail/fetchmail
parentcf3ebcc97d37c784d8760e8fe2b891e6744c40c2 (diff)
downloadports-312ab9677d455090ae13eaccf3f5371291d72a35.tar.gz
ports-312ab9677d455090ae13eaccf3f5371291d72a35.zip
Update 5.9.13 --> 6.1.0. Fixes yet another buffer overflow (exploit)
described at http://security.e-matters.de/advisories/032002.html. Approved by: nectar (using his security-officer hat) will (using his portmgr hat) As we are so close to last tagging, as suggested by portmgr, maintainer approval is forgone.
Notes
Notes: svn path=/head/; revision=67246
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile7
-rw-r--r--mail/fetchmail/distinfo2
-rw-r--r--mail/fetchmail/files/patch-aclocal.m414
3 files changed, 12 insertions, 11 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index ef669584ef65..fabb11925275 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -10,21 +10,20 @@
# want fetchmailconf to work, define WITH_X11
PORTNAME= fetchmail
-PORTVERSION= 5.9.13
+PORTVERSION= 6.1.0
CATEGORIES= mail ipv6
MASTER_SITES= http://www.tuxedo.org/~esr/fetchmail/ \
ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= ve@sci.fi
-FORBIDDEN= "Yet another remote buffer overflow. http://security.e-matters.de/advisories/032002.html"
-
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
.if defined(WITH_X11)
USE_PYTHON= yes
RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
.endif
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-POP2 --enable-SDPS \
@@ -82,6 +81,8 @@ pre-patch:
@${MV} -f ${WRKDIR}/fetchmailconf.temp ${WRKSRC}/fetchmailconf
@${SED} -e "s,@PREFIX@,${PREFIX},g" \
${FILESDIR}/fetchmailconf > ${WRKDIR}/fetchmailconf
+ @${REINPLACE_CMD} -e "s,@l@,,;s,@GT_NO@,," \
+ ${WRKSRC}/intl/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
diff --git a/mail/fetchmail/distinfo b/mail/fetchmail/distinfo
index d673ed788efe..b33105abcf18 100644
--- a/mail/fetchmail/distinfo
+++ b/mail/fetchmail/distinfo
@@ -1 +1 @@
-MD5 (fetchmail-5.9.13.tar.gz) = da6fbd034bf9af1e2ec078fa3141f06c
+MD5 (fetchmail-6.1.0.tar.gz) = 8c57c33e4c49ffddde0024e24e371d25
diff --git a/mail/fetchmail/files/patch-aclocal.m4 b/mail/fetchmail/files/patch-aclocal.m4
index 454af9df60c4..665b8020ea90 100644
--- a/mail/fetchmail/files/patch-aclocal.m4
+++ b/mail/fetchmail/files/patch-aclocal.m4
@@ -2,11 +2,11 @@
+++ aclocal.m4 Wed May 22 21:11:00 2002
@@ -273,6 +273,9 @@
- CATOBJEXT=.gmo
- fi
-+ if test "$gt_cv_func_gettext_libintl" = "yes"; then
-+ INTLLIBS='-lintl'
-+ fi
- ])
+ CATOBJEXT=.gmo
+ fi
++ if test "$gt_cv_func_gettext_libintl" = "yes"; then
++ INTLLIBS='-lintl'
++ fi
+ ])
- if test "$CATOBJEXT" = "NONE"; then
+ if test "$gt_use_preinstalled_gnugettext" = "yes" \