pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases phpmyadmin5: import phpmyadmin version 5.1.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16c6bdef8dda
branches:  trunk
changeset: 377554:16c6bdef8dda
user:      tm <tm%pkgsrc.org@localhost>
date:      Fri Apr 22 19:28:59 2022 +0000

description:
phpmyadmin5: import phpmyadmin version 5.1.3

As phpMyAdmin version 4 is currently supported for security fixes only
the latest stable version is imported as an extra package.

phpMyAdmin 5 is compatible with PHP 7.1 and newer and MySQL/MariaDB 5.5
and newer.

diffstat:

 databases/Makefile                                               |     3 +-
 databases/phpmyadmin5/DESCR                                      |    20 +
 databases/phpmyadmin5/INSTALL                                    |    15 +
 databases/phpmyadmin5/MESSAGE                                    |    23 +
 databases/phpmyadmin5/Makefile                                   |    93 +
 databases/phpmyadmin5/PLIST                                      |  3144 ++++++++++
 databases/phpmyadmin5/distinfo                                   |     6 +
 databases/phpmyadmin5/files/phpmyadmin.conf                      |    36 +
 databases/phpmyadmin5/patches/patch-libraries_vendor__config.php |    24 +
 9 files changed, 3363 insertions(+), 1 deletions(-)

diffs (truncated from 3410 to 300 lines):

diff -r e4089f6715c1 -r 16c6bdef8dda databases/Makefile
--- a/databases/Makefile        Fri Apr 22 18:08:10 2022 +0000
+++ b/databases/Makefile        Fri Apr 22 19:28:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.658 2022/04/20 07:03:46 nia Exp $
+# $NetBSD: Makefile,v 1.659 2022/04/22 19:28:59 tm Exp $
 
 COMMENT=       Databases
 
@@ -291,6 +291,7 @@
 SUBDIR+=       php-sqlrelay
 SUBDIR+=       phpldapadmin
 SUBDIR+=       phpmyadmin
+SUBDIR+=       phpmyadmin5
 SUBDIR+=       phppgadmin
 SUBDIR+=       poco-data
 SUBDIR+=       poco-data-mysql
diff -r e4089f6715c1 -r 16c6bdef8dda databases/phpmyadmin5/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/phpmyadmin5/DESCR       Fri Apr 22 19:28:59 2022 +0000
@@ -0,0 +1,20 @@
+phpMyAdmin is a free software tool written in PHP, intended to handle the 
+administration of MySQL over the Web. phpMyAdmin supports a wide range of 
+operations on MySQL and MariaDB.
+
+Features:
+- Intuitive web interface
+- Support for most MySQL features:
+  - browse and drop databases, tables, views, fields and indexes
+  - create, copy, drop, rename and alter databases, tables, fields and indexes
+  - maintenance server, databases and tables, with proposals on server config
+  - execute, edit and bookmark any SQL-statement, even batch-queries
+  - manage MySQL user accounts and privileges
+  - manage stored procedures and triggers
+- Import data from CSV and SQL
+- Export data to various formats: CSV, SQL, XML, PDF and others
+- Administering multiple servers
+- Creating graphics of your database layout in various formats
+- Creating complex queries using Query-by-example (QBE)
+- Searching globally in a database or a subset of it
+- And much more...
diff -r e4089f6715c1 -r 16c6bdef8dda databases/phpmyadmin5/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/phpmyadmin5/INSTALL     Fri Apr 22 19:28:59 2022 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: INSTALL,v 1.1 2022/04/22 19:28:59 tm Exp $
+
+APACHE_USER=@APACHE_USER@
+APACHE_GROUP=@APACHE_GROUP@
+PMVARDIR=@PMVARDIR@
+
+case ${STAGE} in
+POST-INSTALL)
+       if [ ! -d ${PMVARDIR}/tmp ]; then
+               ${MKDIR} -p ${PMVARDIR}/tmp
+               ${CHOWN} -R ${APACHE_USER}:${APACHE_GROUP} ${PMVARDIR}
+               ${CHMOD} -R 755 ${PMVARDIR}
+       fi
+       ;;
+esac
diff -r e4089f6715c1 -r 16c6bdef8dda databases/phpmyadmin5/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/phpmyadmin5/MESSAGE     Fri Apr 22 19:28:59 2022 +0000
@@ -0,0 +1,23 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2022/04/22 19:28:59 tm Exp $
+
+No custom configuration files are stored in "${PMCONFDIR}", do not
+change files there because they will removed during upgrades.
+
+The actual configuration file is "${PMCONFFILE}".
+
+You will need to make phpMyAdmin accessible through your HTTP server.
+If you are running Apache and ap-php, then you can add the following line
+to httpd.conf:
+
+       Include ${PKG_SYSCONFDIR}/apache.conf
+
+to make phpMyAdmin accessible through:
+
+       http://www.example.com/phpmyadmin/
+
+If you are setting up phpmyadmin for the first time you will need to
+comment out the configuration block in your apache.conf which denies
+access to the setup directory.  This only need to be done the first
+time you access your phpmyadmin installation.
+===========================================================================
diff -r e4089f6715c1 -r 16c6bdef8dda databases/phpmyadmin5/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/phpmyadmin5/Makefile    Fri Apr 22 19:28:59 2022 +0000
@@ -0,0 +1,93 @@
+# $NetBSD: Makefile,v 1.1 2022/04/22 19:28:59 tm Exp $
+
+DISTNAME=      phpMyAdmin-5.1.3-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@localhost
+HOMEPAGE=      https://www.phpmyadmin.net/
+COMMENT=       Set of PHP-scripts to adminstrate MySQL over the WWW
+LICENSE=       gnu-gpl-v2
+
+# Required
+DEPENDS+=      ${PHP_PKG_PREFIX}-iconv>=7.2.5:../../converters/php-iconv
+DEPENDS+=      ${PHP_PKG_PREFIX}-json>=7.2.5:../../textproc/php-json
+DEPENDS+=      ${PHP_PKG_PREFIX}-mysqli>=7.2.5:../../databases/php-mysqli
+
+# Suggest
+DEPENDS+=      ${PHP_PKG_PREFIX}-zlib>=7.2.5:../../archivers/php-zlib
+DEPENDS+=      ${PHP_PKG_PREFIX}-bz2>=7.2.5:../../archivers/php-bz2
+DEPENDS+=      ${PHP_PKG_PREFIX}-zip>=7.2.5:../../archivers/php-zip
+DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=7.2.5:../../converters/php-mbstring
+DEPENDS+=      ${PHP_PKG_PREFIX}-gettext>=7.2.5:../../devel/php-gettext
+DEPENDS+=      ${PHP_PKG_PREFIX}-gd>=7.2.5:../../graphics/php-gd
+
+.include "../../lang/php/phpversion.mk"
+
+CONFLICTS+=                    ${PHP_PKG_PREFIX}-phpmyadmin-4..*
+PHP_VERSIONS_INCOMPATIBLE=     56
+
+USE_LANGUAGES= # none
+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 CONTRIBUTING.md 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
+
+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+=    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/json.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e4089f6715c1 -r 16c6bdef8dda databases/phpmyadmin5/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/phpmyadmin5/PLIST       Fri Apr 22 19:28:59 2022 +0000
@@ -0,0 +1,3144 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/22 19:28:59 tm Exp $
+share/doc/phpmyadmin/CONTRIBUTING.md
+share/doc/phpmyadmin/ChangeLog
+share/doc/phpmyadmin/LICENSE
+share/doc/phpmyadmin/README
+share/doc/phpmyadmin/RELEASE-DATE-${PKGVERSION}
+share/examples/phpmyadmin/apache.conf
+share/examples/phpmyadmin/config.manyhosts.inc.php
+share/examples/phpmyadmin/config.sample.inc.php
+share/examples/phpmyadmin/openid.php
+share/examples/phpmyadmin/signon-script.php
+share/examples/phpmyadmin/signon.php
+share/phpmyadmin/config.sample.inc.php
+share/phpmyadmin/doc/html/_images/chart.png
+share/phpmyadmin/doc/html/_images/column_chart.png
+share/phpmyadmin/doc/html/_images/line_chart.png
+share/phpmyadmin/doc/html/_images/pie_chart.png
+share/phpmyadmin/doc/html/_images/pma-relations-links.png
+share/phpmyadmin/doc/html/_images/pma-relations-relation-link.png
+share/phpmyadmin/doc/html/_images/pma-relations-relation-name.png
+share/phpmyadmin/doc/html/_images/pma-relations-relation-view-link.png
+share/phpmyadmin/doc/html/_images/query_result_operations.png
+share/phpmyadmin/doc/html/_images/scatter_chart.png
+share/phpmyadmin/doc/html/_images/spline_chart.png
+share/phpmyadmin/doc/html/_images/timeline_chart.png
+share/phpmyadmin/doc/html/_images/usergroups.png
+share/phpmyadmin/doc/html/_sources/bookmarks.rst.txt
+share/phpmyadmin/doc/html/_sources/charts.rst.txt
+share/phpmyadmin/doc/html/_sources/config.rst.txt
+share/phpmyadmin/doc/html/_sources/copyright.rst.txt
+share/phpmyadmin/doc/html/_sources/credits.rst.txt
+share/phpmyadmin/doc/html/_sources/developers.rst.txt
+share/phpmyadmin/doc/html/_sources/faq.rst.txt
+share/phpmyadmin/doc/html/_sources/glossary.rst.txt
+share/phpmyadmin/doc/html/_sources/import_export.rst.txt
+share/phpmyadmin/doc/html/_sources/index.rst.txt
+share/phpmyadmin/doc/html/_sources/intro.rst.txt
+share/phpmyadmin/doc/html/_sources/other.rst.txt
+share/phpmyadmin/doc/html/_sources/privileges.rst.txt
+share/phpmyadmin/doc/html/_sources/relations.rst.txt
+share/phpmyadmin/doc/html/_sources/require.rst.txt
+share/phpmyadmin/doc/html/_sources/security.rst.txt
+share/phpmyadmin/doc/html/_sources/settings.rst.txt
+share/phpmyadmin/doc/html/_sources/setup.rst.txt
+share/phpmyadmin/doc/html/_sources/themes.rst.txt
+share/phpmyadmin/doc/html/_sources/transformations.rst.txt
+share/phpmyadmin/doc/html/_sources/two_factor.rst.txt
+share/phpmyadmin/doc/html/_sources/user.rst.txt
+share/phpmyadmin/doc/html/_sources/vendors.rst.txt
+share/phpmyadmin/doc/html/_static/basic.css
+share/phpmyadmin/doc/html/_static/classic.css
+share/phpmyadmin/doc/html/_static/default.css
+share/phpmyadmin/doc/html/_static/doctools.js
+share/phpmyadmin/doc/html/_static/documentation_options.js
+share/phpmyadmin/doc/html/_static/file.png
+share/phpmyadmin/doc/html/_static/jquery.js
+share/phpmyadmin/doc/html/_static/language_data.js
+share/phpmyadmin/doc/html/_static/minus.png
+share/phpmyadmin/doc/html/_static/plus.png
+share/phpmyadmin/doc/html/_static/pygments.css
+share/phpmyadmin/doc/html/_static/searchtools.js
+share/phpmyadmin/doc/html/_static/sidebar.js
+share/phpmyadmin/doc/html/_static/underscore.js
+share/phpmyadmin/doc/html/bookmarks.html
+share/phpmyadmin/doc/html/charts.html
+share/phpmyadmin/doc/html/config.html
+share/phpmyadmin/doc/html/copyright.html
+share/phpmyadmin/doc/html/credits.html
+share/phpmyadmin/doc/html/developers.html
+share/phpmyadmin/doc/html/faq.html
+share/phpmyadmin/doc/html/genindex.html
+share/phpmyadmin/doc/html/glossary.html
+share/phpmyadmin/doc/html/import_export.html
+share/phpmyadmin/doc/html/index.html
+share/phpmyadmin/doc/html/intro.html
+share/phpmyadmin/doc/html/other.html
+share/phpmyadmin/doc/html/privileges.html
+share/phpmyadmin/doc/html/relations.html
+share/phpmyadmin/doc/html/require.html
+share/phpmyadmin/doc/html/search.html
+share/phpmyadmin/doc/html/searchindex.js
+share/phpmyadmin/doc/html/security.html
+share/phpmyadmin/doc/html/settings.html
+share/phpmyadmin/doc/html/setup.html
+share/phpmyadmin/doc/html/themes.html
+share/phpmyadmin/doc/html/transformations.html
+share/phpmyadmin/doc/html/two_factor.html
+share/phpmyadmin/doc/html/user.html
+share/phpmyadmin/doc/html/vendors.html
+share/phpmyadmin/examples
+share/phpmyadmin/favicon.ico
+share/phpmyadmin/index.php
+share/phpmyadmin/js/config/ol/webpack.config.js
+share/phpmyadmin/js/dist/ajax.js
+share/phpmyadmin/js/dist/chart.js
+share/phpmyadmin/js/dist/codemirror/addon/lint/sql-lint.js
+share/phpmyadmin/js/dist/common.js
+share/phpmyadmin/js/dist/config.js
+share/phpmyadmin/js/dist/console.js
+share/phpmyadmin/js/dist/cross_framing_protection.js
+share/phpmyadmin/js/dist/database/central_columns.js
+share/phpmyadmin/js/dist/database/multi_table_query.js
+share/phpmyadmin/js/dist/database/operations.js
+share/phpmyadmin/js/dist/database/qbe.js
+share/phpmyadmin/js/dist/database/query_generator.js
+share/phpmyadmin/js/dist/database/search.js
+share/phpmyadmin/js/dist/database/structure.js
+share/phpmyadmin/js/dist/database/tracking.js
+share/phpmyadmin/js/dist/designer/database.js
+share/phpmyadmin/js/dist/designer/history.js
+share/phpmyadmin/js/dist/designer/init.js
+share/phpmyadmin/js/dist/designer/move.js



Home | Main Index | Thread Index | Old Index