Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2008 19:41:43 +0400 (MSD)
From:      Sergei Vyshenski <svysh@pn.sinp.msu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123836: maintainer update: www/b2evolution
Message-ID:  <200805201541.m4KFfhn3087880@vivaldi.pn.sinp.msu.ru>
Resent-Message-ID: <200805201600.m4KG08rJ090957@freefall.freebsd.org>

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

>Number:         123836
>Category:       ports
>Synopsis:       maintainer update: www/b2evolution
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 16:00:08 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Vyshenski
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD vivaldi.pn.sinp.msu.ru 6.3-STABLE FreeBSD 6.3-STABLE #0: Sat Mar 29 01:49:38 MSK 2008     root@vivaldi.pn.sinp.msu.ru:/usr/obj/usr/src/sys/VIVALDI  i386


	
>Description:
	Regular update of www/b2evolution	
>How-To-Repeat:
	
>Fix:

	

diff -urN www/b2evolution/Makefile www/b2evolution.new/Makefile
--- www/b2evolution/Makefile	2008-01-15 16:31:57.000000000 +0300
+++ www/b2evolution.new/Makefile	2008-05-20 19:04:21.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	b2evolution
-PORTVERSION=	1.10.3
+PORTVERSION=	2.4.2
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	evocms
@@ -20,7 +20,7 @@
 USE_ZIP=	YES
 USE_DOS2UNIX=	YES
 
-B2EVO_DATE?=	2007-11-01
+B2EVO_DATE?=	stable-2008-04-27
 USE_PHP=	mysql pcre session xml
 NO_BUILD=	YES
 WANT_PHP_WEB=	YES
@@ -30,6 +30,7 @@
 B2EVO_URL?=	b2evo
 B2EVO_DIR?=	www/${B2EVO_URL}
 PLIST=		${WRKDIR}/pkg-plist
+WARNING=	${PKGDIR}/pkg-warning
 
 OPTIONS=	LOCAL_DB_SERVER "Want to use local MySQL server?" on
 
@@ -40,6 +41,9 @@
 RUN_DEPENDS+=	mysql-server>=0:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
 .endif
 
+pre-everything::
+	@${SH} ${WARNING}
+
 pre-install:
 	@cd ${WRKSRC} && ${FIND} -s . -type f | \
 		${SED} -e 's|^./||;s|^|${B2EVO_DIR}/|' > ${PLIST} \
diff -urN www/b2evolution/distinfo www/b2evolution.new/distinfo
--- www/b2evolution/distinfo	2008-01-15 16:31:57.000000000 +0300
+++ www/b2evolution.new/distinfo	2008-05-20 18:06:04.000000000 +0400
@@ -1,3 +1,3 @@
-MD5 (b2evolution-1.10.3-2007-11-01.zip) = c7a2accdf1a2b1588d8ec90d500ddf9a
-SHA256 (b2evolution-1.10.3-2007-11-01.zip) = d6a5c944acb9e4fc0f7c58f37fc72253641211388f22eb380b411a3ccd26dd99
-SIZE (b2evolution-1.10.3-2007-11-01.zip) = 2547297
+MD5 (b2evolution-2.4.2-stable-2008-04-27.zip) = 173ad1fcda74ddb4fbc0fd1b4b2c5948
+SHA256 (b2evolution-2.4.2-stable-2008-04-27.zip) = 5e6fddad28bf967651785b64920ad6ec3afbba77a5eb3ec8b3583814dffab733
+SIZE (b2evolution-2.4.2-stable-2008-04-27.zip) = 2933207
diff -urN www/b2evolution/pkg-message www/b2evolution.new/pkg-message
--- www/b2evolution/pkg-message	2007-09-07 21:00:56.000000000 +0400
+++ www/b2evolution.new/pkg-message	2008-05-20 19:24:18.000000000 +0400
@@ -36,4 +36,9 @@
    when you install b2evolution.
    If you lose it, you will have to delete the database tables and reinstall.
 
+   If you upgrade from b2evolution version 1.x.y you may need to upgrade 
+   your database as described at
+
+   http://manual.b2evolution.net/Upgrade_from_an_older_version
+
 ==================================================================
diff -urN www/b2evolution/pkg-warning www/b2evolution.new/pkg-warning
--- www/b2evolution/pkg-warning	1970-01-01 03:00:00.000000000 +0300
+++ www/b2evolution.new/pkg-warning	2008-05-20 19:16:23.000000000 +0400
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# $FreeBSD: ports/databases/www/b2evolution/pkg-warning
+
+echo "
+
+  =========== BACKUP YOUR DATA! =============
+  If you upgrade from b2evolution version prior to 2.0, 
+  backup by hand all your b2evolution files and your database
+  before upgrading, as described at 
+  http://manual.b2evolution.net/Upgrade_from_an_older_version
+  This is *NOT* done by the port!
+
+  Press ctrl-C *now* if you need to backup by hand.
+  ===========================================
+
+"
+	sleep 10
+
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805201541.m4KFfhn3087880>