FreeBSD Bugzilla – Attachment 144630 Details for
Bug 189248
[security] mail/postfixadmin update to 2.3.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
New patch for postfixadmin 2.3.7
postfixadmin-2.3.7.diff (text/plain), 6.28 KB, created by
Lukasz Wasikowski
on 2014-07-13 10:47:45 UTC
(
hide
)
Description:
New patch for postfixadmin 2.3.7
Filename:
MIME Type:
Creator:
Lukasz Wasikowski
Created:
2014-07-13 10:47:45 UTC
Size:
6.28 KB
patch
obsolete
>diff -ruN postfixadmin.dist/Makefile postfixadmin/Makefile >--- postfixadmin.dist/Makefile 2014-02-21 14:37:56.000000000 +0100 >+++ postfixadmin/Makefile 2014-07-13 12:37:44.799002082 +0200 >@@ -2,7 +2,7 @@ > # $FreeBSD: head/mail/postfixadmin/Makefile 345418 2014-02-21 13:37:56Z ehaupt $ > > PORTNAME= postfixadmin >-PORTVERSION= 2.3.6 >+PORTVERSION= 2.3.7 > CATEGORIES= mail www > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} >@@ -17,6 +17,7 @@ > NO_BUILD= yes > > SUB_FILES+= pkg-message >+SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} > > OPTIONS_SINGLE= DB > OPTIONS_SINGLE_DB= MYSQL MYSQLI PGSQL >@@ -24,8 +25,6 @@ > > OPTIONS_DEFAULT= MYSQL > >-NO_STAGE= yes >- > OPTIONS_DEFINE= DOCS > > .include <bsd.port.options.mk> >@@ -44,6 +43,8 @@ > USE_PHP+= pgsql > .endif > >+WANT_PHP_WEB= yes >+ > post-patch: > @${FIND} ${WRKSRC} -name '*.orig' -delete > >@@ -51,46 +52,35 @@ > @${RM} -rf ${WRKSRC}/ADDITIONS/squirrelmail-plugin > > do-install: >- @${MKDIR} ${PREFIX}/www/postfixadmin/VIRTUAL_VACATION >- @${MKDIR} ${PREFIX}/www/postfixadmin/ADDITIONS >- @${MKDIR} ${PREFIX}/www/postfixadmin/ADDITIONS/cyrus >- @${MKDIR} ${PREFIX}/www/postfixadmin/css >- @${MKDIR} ${PREFIX}/www/postfixadmin/admin >- @${MKDIR} ${PREFIX}/www/postfixadmin/images >- @${MKDIR} ${PREFIX}/www/postfixadmin/languages >- @${MKDIR} ${PREFIX}/www/postfixadmin/model >- @${MKDIR} ${PREFIX}/www/postfixadmin/templates >- @${MKDIR} ${PREFIX}/www/postfixadmin/users >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/VIRTUAL_VACATION >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/ADDITIONS >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/ADDITIONS/cyrus >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/css >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/admin >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/images >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/languages >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/model >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/templates >+ @${MKDIR} ${STAGEDIR}${WWWDIR}/users > (cd ${WRKSRC}/ && \ >- ${COPYTREE_SHARE} \*.php ${PREFIX}/www/postfixadmin "! -name config.inc.php") >- @${CP} ${WRKSRC}/config.inc.php ${PREFIX}/www/postfixadmin/config.inc.php.sample >- @${CP} -n ${WRKSRC}/config.inc.php ${PREFIX}/www/postfixadmin/config.inc.php || ${TRUE} >- @${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/www/postfixadmin >- @${INSTALL_DATA} ${WRKSRC}/*.TXT ${PREFIX}/www/postfixadmin >- @${INSTALL_DATA} ${WRKSRC}/css/* ${PREFIX}/www/postfixadmin/css >- @${INSTALL_DATA} ${WRKSRC}/admin/* ${PREFIX}/www/postfixadmin/admin >- @${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/www/postfixadmin/images >- @${INSTALL_DATA} ${WRKSRC}/languages/* ${PREFIX}/www/postfixadmin/languages >- @${INSTALL_DATA} ${WRKSRC}/model/* ${PREFIX}/www/postfixadmin/model >- @${INSTALL_DATA} ${WRKSRC}/templates/* ${PREFIX}/www/postfixadmin/templates >- @${INSTALL_DATA} ${WRKSRC}/users/* ${PREFIX}/www/postfixadmin/users >- @${CP} -R ${WRKSRC}/VIRTUAL_VACATION/* ${PREFIX}/www/postfixadmin/VIRTUAL_VACATION >+ ${COPYTREE_SHARE} \*.php ${STAGEDIR}${WWWDIR} "! -name config.inc.php") >+ @${CP} ${WRKSRC}/config.inc.php ${STAGEDIR}${WWWDIR}/config.inc.php.sample >+ @${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${WWWDIR} >+ @${INSTALL_DATA} ${WRKSRC}/*.TXT ${STAGEDIR}${WWWDIR} >+ @${INSTALL_DATA} ${WRKSRC}/css/* ${STAGEDIR}${WWWDIR}/css >+ @${INSTALL_DATA} ${WRKSRC}/admin/* ${STAGEDIR}${WWWDIR}/admin >+ @${INSTALL_DATA} ${WRKSRC}/images/* ${STAGEDIR}${WWWDIR}/images >+ @${INSTALL_DATA} ${WRKSRC}/languages/* ${STAGEDIR}${WWWDIR}/languages >+ @${INSTALL_DATA} ${WRKSRC}/model/* ${STAGEDIR}${WWWDIR}/model >+ @${INSTALL_DATA} ${WRKSRC}/templates/* ${STAGEDIR}${WWWDIR}/templates >+ @${INSTALL_DATA} ${WRKSRC}/users/* ${STAGEDIR}${WWWDIR}/users >+ @${CP} -R ${WRKSRC}/VIRTUAL_VACATION/* ${STAGEDIR}${WWWDIR}/VIRTUAL_VACATION > (cd ${WRKSRC}/ADDITIONS/ && \ >- ${COPYTREE_SHARE} \* ${PREFIX}/www/postfixadmin/ADDITIONS/ "! -name squirrelmail-plugin") >+ ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}/ADDITIONS/ "! -name squirrelmail-plugin") > > .if ${PORT_OPTIONS:MDOCS} >- ${MKDIR} ${DOCSDIR} >- (cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${DOCSDIR}) >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/DOCUMENTS && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) > .endif > >-post-install: >- @if [ ! -f ${PREFIX}/www/postfixadmin/config.inc.php ]; then \ >- ${CP} -p ${PREFIX}/www/postfixadmin/config.inc.php.sample ${PREFIX}/www/postfixadmin/config.inc.php ; \ >- fi >- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/postfixadmin >- @${CHMOD} 640 ${PREFIX}/www/postfixadmin/*.php ${PREFIX}/www/postfixadmin/css/*.css >- @${CHMOD} 640 ${PREFIX}/www/postfixadmin/admin/*.php >- @${CHMOD} 640 ${PREFIX}/www/postfixadmin/users/*.php >- @${CAT} ${PKGMESSAGE} >- > .include <bsd.port.mk> >diff -ruN postfixadmin.dist/distinfo postfixadmin/distinfo >--- postfixadmin.dist/distinfo 2013-02-23 22:04:09.000000000 +0100 >+++ postfixadmin/distinfo 2014-07-13 11:44:15.587813000 +0200 >@@ -1,2 +1,2 @@ >-SHA256 (postfixadmin-2.3.6.tar.gz) = ea505281b6c04bda887eb4e6aa6c023b354c4ef4864aa60dcb1425942bf2af63 >-SIZE (postfixadmin-2.3.6.tar.gz) = 1597001 >+SHA256 (postfixadmin-2.3.7.tar.gz) = 761074e711ab618deda425dc013133b9d5968e0859bb883f10164061fd87006e >+SIZE (postfixadmin-2.3.7.tar.gz) = 1600662 >diff -ruN postfixadmin.dist/files/pkg-message.in postfixadmin/files/pkg-message.in >--- postfixadmin.dist/files/pkg-message.in 2014-01-22 16:52:06.000000000 +0100 >+++ postfixadmin/files/pkg-message.in 2014-07-13 11:44:48.932831000 +0200 >@@ -9,7 +9,7 @@ > ---------- > - You are using Postfix 2.0 or higher. > - You are using Apache 1.3.27 / Lighttpd 1.3.15 or higher. >-- You are using PHP 4.1 or higher (5.X recommended) >+- You are using PHP 5.1.2 or higher. > - You are using MySQL 3.23 or higher (5.x recommended) OR PostgreSQL 7.4 (or higher) > > INSTALL / UPGRADE >diff -ruN postfixadmin.dist/pkg-descr postfixadmin/pkg-descr >--- postfixadmin.dist/pkg-descr 2014-01-22 16:44:51.000000000 +0100 >+++ postfixadmin/pkg-descr 2014-07-13 11:45:25.918497000 +0200 >@@ -2,7 +2,7 @@ > Postfix with Postfix-style Virtual Domains using MySQL or > PostgreSQL lookups. Postfix Admin is known to work on Apache > and Lighttpd, but is designed to work on any web server with >-PHP 4.1+ support. >+PHP 5.1.2+ support. > > Postfix Admin features: > >@@ -13,4 +13,4 @@ > - Backup MX; > - Packaged with over 25 languages. > >-WWW: http://www.postfixadmin.org >+WWW: http://www.postfixadmin.org
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189248
:
142252
|
142253
| 144630