summaryrefslogtreecommitdiff
path: root/mail/ezmlm-idx/Makefile
diff options
context:
space:
mode:
authorTom Hukins <tom@FreeBSD.org>2003-01-18 19:08:03 +0000
committerTom Hukins <tom@FreeBSD.org>2003-01-18 19:08:03 +0000
commite622b31995ec67e9938264ab9fc85a9f975a4170 (patch)
tree942b6bfba421f86d9eddbc15ecac2990a3926987 /mail/ezmlm-idx/Makefile
parentAdded patch-helpers.cpp (diff)
Fix a possible security issue with ezmlm-cgi mentioned in ports/47091.
While I'm here, merge pkg-plist and pkg-plist.docs and remove some dead MASTER_SITES. PR: ports/47091 Submitted by: Matthias Andree <matthias.andree@web.de>
Notes
Notes: svn path=/head/; revision=73420
Diffstat (limited to 'mail/ezmlm-idx/Makefile')
-rw-r--r--mail/ezmlm-idx/Makefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
index 2232a42c8034..abef80c6f074 100644
--- a/mail/ezmlm-idx/Makefile
+++ b/mail/ezmlm-idx/Makefile
@@ -7,23 +7,18 @@
PORTNAME= ezmlm-idx
PORTVERSION= 0.40
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.ezmlm.org/pub/patches/ \
- ftp://ftp.rivertown.net/pub/ezmlm/ \
- ftp://ftp.crc.ca/ftp/packages/mail/ezmlm-patches-fred/ \
- http://ftp.crc.ca/ftp/ftp/packages/mail/ezmlm-patches-fred/ \
- ftp://ftp.win.or.jp/pub/network/mail/qmail/ezmlm-idx/ \
- ftp://jp.ezmlm.org/ezmlm/ \
- ftp://de.ezmlm.org/pub/ \
ftp://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ \
http://gd.tuwien.ac.at/infosys/mail/qmail/ezmlm-patches/ \
- ftp://pl.ezmlm.org/ \
- ftp://uk.ezmlm.org/pub/ \
ftp://ftp.eos.hokudai.ac.jp/pub/mail/qmail/ezmlm-idx/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
ezmlm-${EZMLM_VERSION}${EXTRACT_SUFX}
+PATCHFILES= ezmlm-cgi.patch
+PATCH_SITES= ${MASTER_SITES}
+
MAINTAINER= tom@FreeBSD.org
# QMAIL_DIR is the directory where qmail is installed
@@ -76,11 +71,9 @@ MY_CONFIG= ezmlmglrc ezmlmrc ezmlmsubrc
EZMLM_VERSION= 0.53
-PLIST= ${WRKDIR}/pkg-plist
-
pre-patch:
@${MV} -f ${WRKDIR}/ezmlm-idx-${PORTVERSION}/* ${WRKSRC}
- @cd ${WRKSRC} && ${PATCH} < idx.patch
+ @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < idx.patch
post-patch:
@${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
@@ -101,10 +94,6 @@ post-patch:
@${MV} ${WRKSRC}/idx.h ${WRKSRC}/idx.h.orig
@${SED} -e 's#/etc/ezmlm/#'${PREFIX}'/etc/ezmlm/#' \
< ${WRKSRC}/idx.h.orig > ${WRKSRC}/idx.h
- @${CP} ${PKGDIR}/pkg-plist ${WRKDIR}
-.if !defined(NOPORTDOCS)
- @${CAT} ${PKGDIR}/pkg-plist.docs >> ${WRKDIR}/pkg-plist
-.endif
pre-install:
@${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX