aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/b2evolution/Makefile8
-rw-r--r--www/b2evolution/distinfo6
-rw-r--r--www/b2evolution/pkg-message5
-rw-r--r--www/b2evolution/pkg-warning19
4 files changed, 33 insertions, 5 deletions
diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile
index cc1f6be456e3..23563503c65f 100644
--- a/www/b2evolution/Makefile
+++ b/www/b2evolution/Makefile
@@ -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 @@ PATCH_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
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 @@ WRKSRC= ${WRKDIR}/${TMPDIR}
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 @@ USE_MYSQL= YES
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 --git a/www/b2evolution/distinfo b/www/b2evolution/distinfo
index be3a03e0c23c..7d24c85c4c9b 100644
--- a/www/b2evolution/distinfo
+++ b/www/b2evolution/distinfo
@@ -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 --git a/www/b2evolution/pkg-message b/www/b2evolution/pkg-message
index 28d5c7113a3e..808a53305054 100644
--- a/www/b2evolution/pkg-message
+++ b/www/b2evolution/pkg-message
@@ -36,4 +36,9 @@ you may need to perform the following steps.
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 --git a/www/b2evolution/pkg-warning b/www/b2evolution/pkg-warning
new file mode 100644
index 000000000000..1e2e143d2704
--- /dev/null
+++ b/www/b2evolution/pkg-warning
@@ -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
+