Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 08:34:34 -0500
From:      Mark Felder <feld@feld.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173214: [PATCH] mail/vexim: update to 2.2.2
Message-ID:  <E1TTBxi-000Nj1-Dq@feld.me>
Resent-Message-ID: <201210301340.q9UDe1Ic089031@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173214
>Category:       ports
>Synopsis:       [PATCH] mail/vexim: update to 2.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 13:40:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT
>Description:
- Update to 2.2.2

Vexim 2.2.2rc1 was released in May 2010 with some serious security fixes.
It was never listed on their main website for some reason and never finalized even
though they said they would re-roll it into a final release. Vexim development/maintainer
has been dead for years, so this is not surprising.

FreeBSD ports should be have this version which closes these security holes.

I'm posting this patch with the version simply as "2.2.2" not mentioning the rc1 status of this tarball.

https://redports.org/buildarchive/20121030132628-28143/

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: suffix)
>How-To-Repeat:
>Fix:

--- vexim-2.2.2.patch begins here ---
diff -ruN --exclude=CVS ../vexim.orig/Makefile ./Makefile
--- ../vexim.orig/Makefile	2012-10-30 00:00:44.000000000 -0500
+++ ./Makefile	2012-10-30 08:27:03.025535166 -0500
@@ -2,11 +2,10 @@
 # $FreeBSD: ports/mail/vexim/Makefile,v 1.10 2012/10/29 15:57:24 jhale Exp $
 
 PORTNAME=	vexim
-PORTVERSION=	2.2.1
-PORTREVISION=	1
+PORTVERSION=	2.2.2
 CATEGORIES=	mail www
-MASTER_SITES=	http://silverwraith.com/vexim/
-DISTNAME=	${PORTNAME}${PORTVERSION}
+MASTER_SITES=	GOOGLE_CODE
+DISTNAME=	${PORTNAME}_${PORTVERSION}_rc1
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Web interface for managing virtual domains for exim
@@ -17,7 +16,7 @@
 RUN_DEPENDS=	${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
 
 VEXIMDIR=	www/${PORTNAME}
-WRKSRC=		${WRKDIR}/vexim2
+WRKSRC=		${WRKDIR}/vexim-release
 
 SUB_FILES=	pkg-message
 NO_BUILD=	yes
@@ -42,27 +41,27 @@
 .endif
 
 post-patch:
-	${FIND} ${WRKSRC} -name CVS -prune -exec ${RM} -r {} \;
+	${RM} -r ${WRKSRC}/.hg ${WRKSRC}/.hgtags ${WRKSRC}/vexim/adminuserchange.phps
 
 do-install:
 	@${ECHO} "Installing in ${VEXIMDIR}"
 	${MKDIR} ${PREFIX}/${VEXIMDIR}
-	cd ${WRKSRC}/vexim && ${FIND} . \! -path '*.svn*' \
+	cd ${WRKSRC}/vexim && ${FIND} . \
 		-type d -exec ${MKDIR} ${PREFIX}/${VEXIMDIR}/{} \;  \
-		-o \! -path '*.svn*' -type f \
+		-o -type f \
 		-exec ${INSTALL_DATA} {} ${PREFIX}/${VEXIMDIR}/{} \;
 	${MKDIR} ${DATADIR}
-	cd ${WRKSRC}/setup && ${FIND} . \! -path '*.svn*' \
+	cd ${WRKSRC}/setup && ${FIND} . \
 		-type d -exec ${MKDIR} ${DATADIR}/{} \; \
-		-o \! -path '*.svn*' -type f \
+		-o -type f \
 		-exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
-.if ${PORT_OPTIONS:MDOCS}
+.if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${FIND} docs \! -path '*.svn*' \
+	cd ${WRKSRC} && ${FIND} docs \
 		-type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
-		-o \! -path '*.svn*' -type f \
+		-o -type f \
 		-exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
-.for i in INSTALL README TODO
+.for i in INSTALL LICENSE README TODO
 	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
 .endfor
 .endif
diff -ruN --exclude=CVS ../vexim.orig/distinfo ./distinfo
--- ../vexim.orig/distinfo	2011-07-03 08:53:48.000000000 -0500
+++ ./distinfo	2012-10-30 08:25:55.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (vexim2.2.1.tar.gz) = 6f057b6c008cacb9d9dbb7c2b69c3c4b4be43f3d2f3d9db811c8ba43ad073a79
-SIZE (vexim2.2.1.tar.gz) = 232441
+SHA256 (vexim_2.2.2_rc1.tar.gz) = cb0d47e3e3e3b53545ad5c959d6acae13f17604550779bc1d01621e65c85a507
+SIZE (vexim_2.2.2_rc1.tar.gz) = 290286
--- vexim-2.2.2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TTBxi-000Nj1-Dq>