aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-04-20 19:37:09 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-04-20 19:37:09 +0000
commitaeac7e98399b4beefd15d3e42aece1a0e6b07b14 (patch)
treef3e6daa28e1da900b9209dbfcae35455e97c7527 /mail/squirrelmail
parent30beb2b2406b151d3a9ed354a4a690ece85ef048 (diff)
downloadports-aeac7e98399b4beefd15d3e42aece1a0e6b07b14.tar.gz
ports-aeac7e98399b4beefd15d3e42aece1a0e6b07b14.zip
Update to SquirrelMail STABLE 2014/04/20. Also cleaning up
the Makefiles, and using @sample. Notable changes include: * Add advanced control over the SSL context used when connecting to the SMTP and IMAP servers over SSL/TLS (Thanks to Emmanuel Dreyfus) * Add ability to show login error from the IMAP server instead of traditional "Unknown user or password incorrect" (thanks to Alain Williams) * Allow SSL socket context to be specified as well * Make configuration tool show the SquirrelMail version * Better hook results testing * Add ability to use console.log for debugging * Turn off debugging by default * Add new attachments_top hook
Notes
Notes: svn path=/head/; revision=351634
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/Makefile8
-rw-r--r--mail/squirrelmail/distinfo4
-rw-r--r--mail/squirrelmail/pkg-plist7
3 files changed, 7 insertions, 12 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index ea007467b4e3..3e9b023e6ab0 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= squirrelmail
-PORTVERSION= 20131229
-PORTREVISION= 1
+PORTVERSION= 20140420
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= adamw/squirrelmail
@@ -22,8 +21,7 @@ LICENSE= GPLv2
USE_PHP= session mhash gettext mbstring pcre openssl xml
WANT_PHP_WEB= yes
-USE_BZIP2= yes
-USES= gettext
+USES= gettext tar:bzip2
WRKSRC= ${WRKDIR}/${PORTNAME}.stable/${PORTNAME}
@@ -85,7 +83,7 @@ do-build:
@${ECHO} "left_refresh=300" >> ${WRKSRC}/data/default_pref
@${MV} ${WRKSRC}/config/config_local.php ${WRKSRC}/config/config_local.php.sample
- @${MV} ${WRKSRC}/data/default_pref ${WRKSRC}/data/default_pref-dist
+ @${MV} ${WRKSRC}/data/default_pref ${WRKSRC}/data/default_pref.sample
@${MKDIR} ${WRKSRC}/attach
@${CP} -p ${WRKSRC}/data/.htaccess ${WRKSRC}/attach/.htaccess
diff --git a/mail/squirrelmail/distinfo b/mail/squirrelmail/distinfo
index 5ec1a8767e6a..78bd8080e25e 100644
--- a/mail/squirrelmail/distinfo
+++ b/mail/squirrelmail/distinfo
@@ -1,2 +1,2 @@
-SHA256 (squirrelmail/squirrelmail-20131229_0200-SVN.stable.tar.bz2) = 0839e01d857081b91a8049eb5faee4120f267fe5babcbb08a59312348c0c48b0
-SIZE (squirrelmail/squirrelmail-20131229_0200-SVN.stable.tar.bz2) = 550388
+SHA256 (squirrelmail/squirrelmail-20140420_0200-SVN.stable.tar.bz2) = 1651f177a43aab7d07dbb1982adaf178000cb0ee6d208bfccd126bbb01415db9
+SIZE (squirrelmail/squirrelmail-20140420_0200-SVN.stable.tar.bz2) = 552142
diff --git a/mail/squirrelmail/pkg-plist b/mail/squirrelmail/pkg-plist
index f9a792580161..9041ce8b8f44 100644
--- a/mail/squirrelmail/pkg-plist
+++ b/mail/squirrelmail/pkg-plist
@@ -25,14 +25,11 @@ etc/periodic/daily/111.clean-squirrelmail
%%SQUIRRELDIR%%/config/.htaccess
%%SQUIRRELDIR%%/config/conf.pl
%%SQUIRRELDIR%%/config/config_default.php
-@unexec if cmp -s %D/www/squirrelmail/config/config_local.php %D/www/squirrelmail/config/config_local.php.sample; then rm -f %D/www/squirrelmail/config/config_local.php; fi
-%%SQUIRRELDIR%%/config/config_local.php.sample
+@sample %%SQUIRRELDIR%%/config/config_local.php.sample
%%SQUIRRELDIR%%/config/index.php
%%SQUIRRELDIR%%/configure
%%SQUIRRELDIR%%/data/.htaccess
-@unexec if cmp -s %D/www/squirrelmail/data/default_pref-dist %D/www/squirrelmail/data/default_pref; then rm -f %D/www/squirrelmail/data/default_pref; fi
-%%SQUIRRELDIR%%/data/default_pref-dist
-@exec if [ ! -f %D/www/squirrelmail/data/default_pref ]; then cp -p %D/%F %B/default_pref; fi
+@sample %%SQUIRRELDIR%%/data/default_pref.sample
%%SQUIRRELDIR%%/data/index.php
@exec chown %%SMUSER%%:%%SMGROUP%% %B
@exec chmod 750 %B