251497c282
4.9.2 (2019-11-21) - issue #14184 Change the cookie name from phpMyAdmin to phpMyAdmin_https for HTTPS, fixes many "Failed to set session cookie" errors - issue #15304 Fix ssl_use php error - issue #14804 Fix undefined index: ssl_* variables - issue #14245 Fix mysql 8.0.3 and above fails on advisor - issue #15499 Fix unparenthesized php deprecation - issue #15482 Fix URL encoding plus sign (+) in the table or DB name when configuring foreign keys - issue #14898 Fixed bottom table in list in left panel blocked by horizontal scroll bar - issue #15161 Fix text area overflows its parent element on "Query" page - issue #15511 Fixed exporting users after a delete will delete all selected users on "Users" page - issue #14598 Fixed checking referencial integrity on "Operations" page - issue #14433 Fix "You do not have privileges to manipulate with the users!" on root superadmin - issue #15391 Fix GIS polygon of a geometry field is not drawn on "GIS visualization" - issue #15311 Fix adjust privileges on copy database fails with MariaDB - issue #15477 Fix display referential integrity check for InnoDB - issue #15236 Support phpunit 8 in our test suite to help packaging phpMyAdmin on Debian - issue #15522 Fix missing image error fills logs, removed ic_b_info icon from icon list - issue #15537 Fixed some issues with the sort by key selectors - issue #15546 Fix operators precedence in DatabaseInterface class - issue #14906 Test test suite on 32-bit systems - issue Fix Long2IP transformation issue with PHP 7.1 - issue #14951 Fix moving columns with DEFAULT NULL doesn't work on MariaDB 10.2+ - issue #14951 Fix moving columns with INT AND DEFAULT CURRENT_TIMESTAMP doesn't work on MariaDB - issue #12241 Fixed table alias is removed when exporting a query - issue #15316 Fixed cross join clause is removed on export - issue #14809 Fix error "is_uploaded_file() expects parameter 1 to be string" when inserting blobs from files - issue #15127 Fix white square when refreshing designer or browsing other pages - issue #13912 Detect when phpMyAdmin storage tables are not accessible, help users browse corrupt DBs - issue #15465 Display profiling when query outputs no rows - issue Fix setting and removing display field on Designer - issue Added a warning when trying to set a display field on Designer and configuration storage is not setup - issue #15327 Fix shift-click in Export misses a checkbox - issue [security] Fix improperly sanitized data when showing the Git branch (thanks to Ali Hubail for this report) - issue [security] Fix security weaknesses in Designer feature,including a flaw where an attacker could trigger an SQL injection attack (PMASA-2019-5)
101 lines
3.4 KiB
Makefile
101 lines
3.4 KiB
Makefile
# $NetBSD: Makefile,v 1.161 2019/12/03 12:42:28 tm Exp $
|
|
|
|
DISTNAME= phpMyAdmin-4.9.2-all-languages
|
|
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/-all-languages//:tl}
|
|
CATEGORIES= databases www
|
|
MASTER_SITES= https://files.phpmyadmin.net/phpMyAdmin/${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= tm@NetBSD.org
|
|
HOMEPAGE= https://www.phpmyadmin.net/
|
|
COMMENT= Set of PHP-scripts to adminstrate MySQL over the WWW
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-bz2>=5.3.0:../../archivers/php-bz2
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.3.0:../../archivers/php-zlib
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.3.0:../../converters/php-mbstring
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=5.3.0:../../devel/php-gettext
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mysqli>=5.3.0:../../databases/php-mysqli
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
|
|
.if ${PKG_PHP_VERSION} < 71
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=5.3.0:../../security/php-mcrypt
|
|
.else
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-pecl-mcrypt>=1.0.1:../../security/php-pecl-mcrypt
|
|
.endif
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
APACHE_USER?= www
|
|
APACHE_GROUP?= www
|
|
|
|
PKG_GROUPS= ${APACHE_GROUP}
|
|
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
|
|
BUILD_DEFS+= APACHE_USER APACHE_GROUP VARBASE
|
|
|
|
PKG_USERS_VARS= APACHE_USER
|
|
PKG_GROUPS_VARS= APACHE_GROUP
|
|
|
|
PKG_SYSCONFSUBDIR= phpmyadmin
|
|
|
|
FILES_SUBST+= APACHE_GROUP=${APACHE_GROUP} APACHE_USER=${APACHE_USER}
|
|
FILES_SUBST+= PMCONFDIR=${PMCONFDIR} PMVARDIR=${PMVARDIR}
|
|
MESSAGE_SUBST+= PMCONFDIR=${PMCONFDIR} PMCONFFILE=${PMCONFFILE}
|
|
|
|
DOC_FILES= ChangeLog CODE_OF_CONDUCT.md CONTRIBUTING.md DCO LICENSE \
|
|
README RELEASE-DATE-${PKGVERSION_NOREV}
|
|
|
|
EXDIR= ${PREFIX}/share/examples/phpmyadmin
|
|
PMCONFDIR= ${PKG_SYSCONFDIR}
|
|
PMCONFFILE= ${PKG_SYSCONFDIR}/config.inc.php
|
|
PMDIR= ${PREFIX}/share/phpmyadmin
|
|
PMVARDIR= ${VARBASE}/phpmyadmin
|
|
|
|
REPLACE_INTERPRETER+= php
|
|
REPLACE.php.old= /usr/bin/env php
|
|
REPLACE.php.new= ${PREFIX}/bin/php
|
|
REPLACE_FILES.php= vendor/bin/highlight-query vendor/bin/lint-query
|
|
REPLACE_FILES.php+= vendor/phpmyadmin/sql-parser/bin/highlight-query
|
|
REPLACE_FILES.php+= vendor/phpmyadmin/sql-parser/bin/lint-query
|
|
REPLACE_FILES.php+= vendor/phpmyadmin/sql-parser/bin/tokenize-query
|
|
|
|
REPLACE_SH+= vendor/twig/twig/drupal_test.sh
|
|
|
|
CONF_FILES+= ${EXDIR}/apache.conf ${PKG_SYSCONFDIR}/apache.conf
|
|
|
|
SRCS= *.css *.ico *.php *.txt doc js libraries locale setup \
|
|
sql templates themes vendor
|
|
|
|
NO_BUILD= yes
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths+= ${WRKDIR}/phpmyadmin.conf
|
|
SUBST_FILES.paths+= ${WRKSRC}/libraries/vendor_config.php
|
|
SUBST_VARS.paths= PMDIR
|
|
SUBST_VARS.paths+= PMVARDIR
|
|
SUBST_SED.paths+= -e "s|@PMCONFDIR@|${PMCONFDIR}/|g"
|
|
SUBST_STAGE.paths= post-configure
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/share/doc/phpmyadmin \
|
|
${PREFIX}/share/examples/phpmyadmin
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/phpmyadmin.conf ${WRKDIR}
|
|
|
|
do-install:
|
|
${RM} -f ${WRKSRC}/libraries/vendor_config.php.orig
|
|
cd ${WRKSRC} && pax -rw ${SRCS} ${DESTDIR}${PMDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/config.sample.inc.php ${DESTDIR}${EXDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${EXDIR}
|
|
${LN} -fs ${EXDIR} ${DESTDIR}${PMDIR}/examples
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_DATA} ${DOC_FILES} \
|
|
${DESTDIR}${PREFIX}/share/doc/phpmyadmin
|
|
${INSTALL_DATA} ${WRKDIR}/phpmyadmin.conf ${DESTDIR}${EXDIR}/apache.conf
|
|
|
|
.include "../../lang/php/phpversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|