Skip to content

Commit

Permalink
Update to 3.2
Browse files Browse the repository at this point in the history
  - move public facing stuff into public/, this allows us to stop exposing
    templates_c/ etc. to the world (but also means you'll need to adjust your
    webserver config)
  - enable users to reset their passwords by mail or SMS
    ($CONF['forgotten_user_password_reset'],
    $CONF['forgotten_admin_password_reset'], $CONF['sms_send_function'])
  - allow local alias targets (without @Domain) - see #134
  - add $CONF['edit_alias'] to disable "edit_alias" function for users
  - add php_crypt $CONF["encrypt"] option (see #170 for examples)
  - add random_compat phar (see: https://github.com/paragonie/random_compat) to
    support random_int()/random_string() in older PHP versions.
  - add support for MySQL connections over SSL
  - language updates: sk, ja, nl, bg, fr, cz
  - update bundled smarty library (lib/smarty to 3.1.32; includes security fixes)
  - split up pacrypt() into different functions; add some minimal test coverage
  - add id autoincrement field to log table (#89)
  - add token to login.php to prevent CSRF
  - lots of bugfixes and code cleanup
  - drop unused code in postfixadmin-cli
  - introduce PHP-CS-Fixer to enforce code style
  - vacation.pl:
    - avoid answering to more known autoresponders
    - add $no_vacation_pattern to avoid sending autoresponders based on the To:
      address
    - replace Deprecated Mail::Sender by Email::Sender
    - use MIME:EncWords
    - remove unused MIME::Base64
- add docker repo, see https://github.com/postfixadmin/docker

PR:		229370
Submitted by:	Melissa Pilgrim <[email protected]> (maintainer)
Sponsored by:	Netzkommune
  • Loading branch information
joneum committed Sep 4, 2018
1 parent ee057ee commit a78fb6e
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 284 deletions.
15 changes: 7 additions & 8 deletions mail/postfixadmin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= postfixadmin
PORTVERSION= 3.1
PORTVERSION= 3.2
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

Expand All @@ -13,10 +13,10 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/GPL-LICENSE.TXT

RUN_DEPENDS+= p5-DBI>=1.634:databases/p5-DBI \
p5-Email-Sender>=1.300031:mail/p5-Email-Sender \
p5-Email-Valid>=0.12:mail/p5-Email-Valid \
p5-Log-Dispatch>=1.79:devel/p5-Log-Dispatch \
p5-Log-Log4perl>=0.26:devel/p5-Log-Log4perl \
p5-Mail-Sender>=0.7.04:mail/p5-Mail-Sender \
p5-MIME-EncWords>=0.040:mail/p5-MIME-EncWords

USES= cpe perl5 shebangfix php
Expand All @@ -36,7 +36,7 @@ OPTIONS_DEFAULT= PGSQL

USE_PERL5= run

USE_PHP= mbstring pcre session spl xmlrpc
USE_PHP= mbstring pcre phar session spl xmlrpc

MYSQL_USE= php=mysqli
PGSQL_USE= php=pgsql
Expand All @@ -45,19 +45,18 @@ SQLITE_USE= php=sqlite3
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}/templates_c
.for i in *.php calendar.js favicon.ico
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${WWWDIR}
.endfor
.for i in configs css images languages model scripts smarty templates tests users
${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${WWWDIR}
.for i in configs languages lib model public scripts templates tests
@cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${i}
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.TXT ${WRKSRC}/README.md ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.TXT ${STAGEDIR}${DATADIR}
.for i in ADDITIONS VIRTUAL_VACATION
@cd ${WRKSRC}/${i} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${i}
.endfor

do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DATADIR}
@cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions mail/postfixadmin/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1504130429
SHA256 (postfixadmin-3.1.tar.gz) = 36eaed433c673382fb5d513bc3b0d2685bf3169ead6065293d3a0f8f6d262aa4
SIZE (postfixadmin-3.1.tar.gz) = 1279224
TIMESTAMP = 1525403385
SHA256 (postfixadmin-3.2.tar.gz) = 866d4c0ca870b2cac184e5837a4d201af8fcefecef09bc2c887a6e017a00cefe
SIZE (postfixadmin-3.2.tar.gz) = 1324335
15 changes: 9 additions & 6 deletions mail/postfixadmin/files/pkg-message.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
If you are upgrading, you need to update your current installation's
database by browsing to [URL]/setup.php where [URL] is the
postfixadmin webroot.
If you are upgrading, you may need to update your current installation's
database. You can do so by browsing to [URL]/setup.php where [URL] is the
postfixadmin root.

To avoid checksum errors when removing or upgrading postfixadmin, do not
edit config.inc.php. Instead put your configuration settings in
config.local.php in the postfixadmin webroot. That file will be included
edit config.inc.php. Instead, put your configuration settings in
config.local.php in the postfixadmin webroot. That file will be included
automatically by config.inc.php.

For detailed information, please see the complete installation steps in
%%DATADIR%%/INSTALL.TXT
%%DATADIR%%/INSTALL.TXT.

See %%DATADIR%%/CHANGELOG.TXT for any upgrade-related details, including
configuration changes.
Loading

0 comments on commit a78fb6e

Please sign in to comment.