- Update to 2.4.2

PR:		123836
Submitted by:	Sergei Vyshenski <svysh@pn.sinp.msu.ru> (maintainer)
This commit is contained in:
Martin Wilke 2008-05-21 17:32:07 +00:00
parent 7ecbb3e64b
commit 2f69449394
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213469
4 changed files with 33 additions and 5 deletions

View file

@ -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} \

View file

@ -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

View file

@ -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
==================================================================

View file

@ -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