mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Update squirrelmail to 20161030 sources, which most notably brings
much better php70 support. The optional database backend has switched from PEAR to PDO, so include an UPDATING note about it.
This commit is contained in:
parent
8469005d41
commit
2c2e3eefde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424954
9
UPDATING
9
UPDATING
@ -5,6 +5,15 @@ they are unavoidable.
|
||||
You should get into the habit of checking this file for changes each time
|
||||
you update your ports collection, before attempting any port upgrades.
|
||||
|
||||
20161030:
|
||||
AFFECTS: users of mail/squirrelmail
|
||||
AUTHOR: adamw@FreeBSD.org
|
||||
|
||||
For better php70 support, the squirrelmail port has switched from
|
||||
PEAR database access to PDO. If you are using squirrelmail with
|
||||
a database backend, you'll need to install a corresponding PDO
|
||||
database module, such as php56-pdo_sqlite.
|
||||
|
||||
20161030:
|
||||
AFFECTS: users of security/srm
|
||||
AUTHOR: rakuco@FreeBSD.org
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= squirrelmail-translations
|
||||
PORTVERSION= 20160216
|
||||
PORTVERSION= 20161030
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= LOCAL/adamw/squirrelmail
|
||||
DISTNAME= squirrelmail-${PORTVERSION}_0200-SVN.locales
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (squirrelmail/squirrelmail-20160216_0200-SVN.locales.tar.bz2) = 1a8cf0d118c4bf35bced197bce0ba688a9a0e7499e3d4f0d88283cab82ac58e5
|
||||
SIZE (squirrelmail/squirrelmail-20160216_0200-SVN.locales.tar.bz2) = 5253689
|
||||
TIMESTAMP = 1477843914
|
||||
SHA256 (squirrelmail/squirrelmail-20161030_0200-SVN.locales.tar.bz2) = 6cf0e335b99309244e883dfabfdac3d14b60eb04215efd4fecc0b2fb1b381750
|
||||
SIZE (squirrelmail/squirrelmail-20161030_0200-SVN.locales.tar.bz2) = 5254292
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= squirrelmail
|
||||
PORTVERSION= 20160216
|
||||
PORTVERSION= 20161030
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= LOCAL/adamw/squirrelmail
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}_0200-SVN.stable
|
||||
@ -13,21 +13,18 @@ COMMENT= Webmail system which accesses mail over IMAP
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
# This snapshot tarball contains php 5.4 and 5.5 compatibility
|
||||
# patches, but the only guaranteed compatibility is with php 5.3.
|
||||
# If you encounter problems, downgrade to php 5.3.
|
||||
|
||||
USES= cpe gettext perl5 php:web tar:bzip2
|
||||
USE_PHP= session hash gettext mbstring pcre openssl xml
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
USES= cpe gettext perl5 tar:bzip2
|
||||
USE_PERL5= run
|
||||
NO_ARCH= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}.stable/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DATABASE LDAP DOCS
|
||||
DATABASE_DESC= PEAR database support (must also install a driver)
|
||||
DATABASE_DESC= PDO database support (must also install a driver)
|
||||
|
||||
DATABASE_USE= PHP=pdo
|
||||
LDAP_USE= PHP=ldap
|
||||
|
||||
# if you were using WITHOUT_WWWDIR, use SQUIRRELDIR=${PREFIX}/squirrelmail
|
||||
SQUIRRELDIR?= ${WWWDIR}
|
||||
@ -47,9 +44,6 @@ SUB_LIST= SQUIRRELDIR=${SQUIRRELDIR} SMUSER=${SMUSER} SMGROUP=${SMGROUP}
|
||||
|
||||
CONFLICTS= squirreloutlook-[0-9]*
|
||||
|
||||
DATABASE_RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:databases/pear-DB
|
||||
LDAP_USE= PHP=ldap
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|ispell|${LOCALBASE}/bin/aspell|g' \
|
||||
${WRKSRC}/plugins/squirrelspell/sqspell_config.php
|
||||
|
@ -48,7 +48,9 @@ NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_PHP?= yes
|
||||
WANT_PHP_WEB= yes
|
||||
.if empty(USES:Mphp*)
|
||||
USES+= php:web
|
||||
.endif
|
||||
|
||||
SQUIRREL_PLUGIN_NAME?= ${PORTNAME}
|
||||
PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (squirrelmail/squirrelmail-20160216_0200-SVN.stable.tar.bz2) = 6302b030805f194b34e48b329815a3911be7f2c1a5dbd1786955078ea3e0ea1a
|
||||
SIZE (squirrelmail/squirrelmail-20160216_0200-SVN.stable.tar.bz2) = 560164
|
||||
TIMESTAMP = 1477843339
|
||||
SHA256 (squirrelmail/squirrelmail-20161030_0200-SVN.stable.tar.bz2) = 5a187955b048e557276b73c74bc38dfa78e2f63e4d3273163ef1e5283f2874e6
|
||||
SIZE (squirrelmail/squirrelmail-20161030_0200-SVN.stable.tar.bz2) = 560672
|
||||
|
@ -1,5 +1,5 @@
|
||||
If you enable the PEAR database framework option, you still need to install a
|
||||
database-specific PEAR driver.
|
||||
If you enable the PDO database framework option, you still need to install a
|
||||
database-specific PDO driver.
|
||||
|
||||
SquirrelMail is only compatible with old-style pear-DB drivers, not the newer
|
||||
MDB2 drivers.
|
||||
For example, if you're using php 7.0, you could install php70-pdo_sqlite,
|
||||
from /usr/ports/databases/php70-pdo_sqlite.
|
||||
|
Loading…
Reference in New Issue
Block a user