databases/adminer: update to 4.3.1

PR:		222977
Submitted by:	Zsolt Udvari <uzsolt@uzsolt.hu> (maintainer)
This commit is contained in:
Steve Wills 2017-10-18 20:32:27 +00:00
parent 7a3d7a9a38
commit 168e9a60e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452384
4 changed files with 14 additions and 282 deletions

View file

@ -2,60 +2,29 @@
# $FreeBSD$
PORTNAME= adminer
PORTVERSION= 4.2.5
PORTVERSION= 4.3.1
CATEGORIES= databases www
MASTER_SITES= https://www.adminer.org/static/download/${PORTVERSION}/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-${PORTVERSION}.php ${PORTNAME}-${PORTVERSION}-en.php \
${PORTNAME}-${PORTVERSION}-mysql.php ${PORTNAME}-${PORTVERSION}-mysql-en.php
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MASTER_SITES= https://github.com/vrana/adminer/releases/download/v${PORTVERSION}/
EXTRACT_SUFX= .php
EXTRACT_ONLY=
MAINTAINER= uzsolt@uzsolt.hu
COMMENT= Full-featured database management tool written in PHP
LICENSE= APACHE20
USES= zip
NO_ARCH= yes
NO_BUILD= yes
USE_PHP= mysqli session
USES= php
USE_PHP= session
SUB_FILES= pkg-message
SUB_LIST= PHPVER="${PHP_VER}"
PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
OPTIONS_SINGLE= VERSION
OPTIONS_SINGLE_VERSION= LITE FULL
OPTIONS_GROUP= LT
OPTIONS_GROUP_LT= ONLY_MYSQL NLS
LITE_DESC= Lite version (only a simple index.php)
FULL_DESC= Full version (adminer and editor)
ONLY_MYSQL_DESC= Only MySQL support - ONLY IN LITE VERSION
NLS_DESC= Native Language Support - ONLY IN LITE VERSION
OPTIONS_DEFAULT= FULL
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFULL}
USE_PHP+=mssql odbc pgsql pdo_sqlite
.else
ADMINER_FILE=${PORTNAME}-${PORTVERSION}
.if ${PORT_OPTIONS:MONLY_MYSQL}
POSTFIX_MYSQL=-mysql
.endif
.if ${PORT_OPTIONS:MNLS}
POSTFIX_NLS=-en
.endif
POSTFIX=${POSTFIX_MYSQL}${POSTFIX_NLS}
.endif
do-install:
.if ${PORT_OPTIONS:MFULL}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
.else
${MKDIR} ${STAGEDIR}${WWWDIR}/${PORTNAME}
${CP} ${DISTDIR}/${ADMINER_FILE}${POSTFIX}.php ${STAGEDIR}${WWWDIR}/${PORTNAME}/index.php
.endif
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${WWWDIR}/${PORTNAME}/index.php
.include <bsd.port.mk>

View file

@ -1,11 +1,3 @@
TIMESTAMP = 1465287444
SHA256 (adminer-4.2.5.zip) = feb4962dc526cf7d6a91cee47841bf9c513f6cba8697b17c86a5804d010b33b5
SIZE (adminer-4.2.5.zip) = 648085
SHA256 (adminer-4.2.5.php) = 6fb52277b658ac00a812501a88cfe79e03750c5436dcd7427a707aa4459a8516
SIZE (adminer-4.2.5.php) = 423951
SHA256 (adminer-4.2.5-en.php) = a8d9f5df8a604e75e87670bc1d797bb49cc1047f722a8630bda514fdc407f84f
SIZE (adminer-4.2.5-en.php) = 289595
SHA256 (adminer-4.2.5-mysql.php) = d34b0a626b81a0d25ab45c069aed2955ff4cd621d619c19bb24acca937c15312
SIZE (adminer-4.2.5-mysql.php) = 321768
SHA256 (adminer-4.2.5-mysql-en.php) = 0d22e3ed77af93050c42cf31a09a451c3d78f3519098f0a9e45ed82a8c56460e
SIZE (adminer-4.2.5-mysql-en.php) = 193630
TIMESTAMP = 1507894930
SHA256 (adminer-4.3.1.php) = c26f48bc06c195928dee9ca5d5a485d86a8b14d420368061fd8045ac26fcc701
SIZE (adminer-4.3.1.php) = 436227

View file

@ -1,20 +1,2 @@
POST-INSTALL CONFIGURATION FOR Adminer
=====================================
Please add the following to your Apache configuration,
and restart the server:
### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
Alias /adminer %%WWWDIR%%/adminer
AcceptPathInfo On
<Directory %%WWWDIR%%>
AllowOverride None
Order Allow,Deny
Allow from all
</Directory>
Then you can visit your Adminer site with a browser
(i.e. http://your.server.com/adminer/)
=====================================
You should install the database extension(s) what you want to use:
php%%PHPVER%%-mysqli, php%%PHPVER%%-mssql, php%%PHPVER%%-odbc, php%%PHPVER%%-pgsql or php%%PHPVER%%-pdo_sqlite.

View file

@ -1,215 +1,4 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
@mode 0755
%%FULL%%%%WWWDIR%%/adminer/call.inc.php
%%FULL%%%%WWWDIR%%/adminer/create.inc.php
%%FULL%%%%WWWDIR%%/adminer/database.inc.php
%%FULL%%%%WWWDIR%%/adminer/db.inc.php
%%FULL%%%%WWWDIR%%/adminer/download.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/firebird.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/elastic.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/mongo.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/mssql.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/mysql.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/oracle.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/pgsql.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/simpledb.inc.php
%%FULL%%%%WWWDIR%%/adminer/drivers/sqlite.inc.php
%%FULL%%%%WWWDIR%%/adminer/dump.inc.php
%%FULL%%%%WWWDIR%%/adminer/edit.inc.php
%%FULL%%%%WWWDIR%%/adminer/event.inc.php
%%FULL%%%%WWWDIR%%/adminer/file.inc.php
%%FULL%%%%WWWDIR%%/adminer/foreign.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/adminer.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/auth.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/bootstrap.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/connect.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/coverage.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/design.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/driver.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/editing.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/functions.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/lang.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/pdo.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/tmpfile.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/version.inc.php
%%FULL%%%%WWWDIR%%/adminer/include/xxtea.inc.php
%%FULL%%%%WWWDIR%%/adminer/indexes.inc.php
%%FULL%%%%WWWDIR%%/composer.json
%%WWWDIR%%/adminer/index.php
%%FULL%%%%WWWDIR%%/adminer/lang/ar.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/bg.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/bn.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/bs.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ca.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/cs.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/da.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/de.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/el.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/en.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/es.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/et.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/fa.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/fi.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/fr.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/gl.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/hu.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/id.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/it.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ja.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ko.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/lt.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/no.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/nl.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/pl.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/pt.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/pt-br.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ro.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ru.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/sk.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/sl.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/sr.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/ta.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/th.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/tr.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/uk.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/vi.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/xx.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/zh.inc.php
%%FULL%%%%WWWDIR%%/adminer/lang/zh-tw.inc.php
%%FULL%%%%WWWDIR%%/adminer/plugin.php
%%FULL%%%%WWWDIR%%/adminer/privileges.inc.php
%%FULL%%%%WWWDIR%%/adminer/procedure.inc.php
%%FULL%%%%WWWDIR%%/adminer/processlist.inc.php
%%FULL%%%%WWWDIR%%/adminer/schema.inc.php
%%FULL%%%%WWWDIR%%/adminer/scheme.inc.php
%%FULL%%%%WWWDIR%%/adminer/script.inc.php
%%FULL%%%%WWWDIR%%/adminer/select.inc.php
%%FULL%%%%WWWDIR%%/adminer/sequence.inc.php
%%FULL%%%%WWWDIR%%/adminer/sql.inc.php
%%FULL%%%%WWWDIR%%/adminer/static/arrow.gif
%%FULL%%%%WWWDIR%%/adminer/static/cross.gif
%%FULL%%%%WWWDIR%%/adminer/static/default.css
%%FULL%%%%WWWDIR%%/adminer/static/down.gif
%%FULL%%%%WWWDIR%%/adminer/static/editing.js
%%FULL%%%%WWWDIR%%/adminer/static/favicon.ico
%%FULL%%%%WWWDIR%%/adminer/static/functions.js
%%FULL%%%%WWWDIR%%/adminer/static/plus.gif
%%FULL%%%%WWWDIR%%/adminer/static/up.gif
%%FULL%%%%WWWDIR%%/adminer/table.inc.php
%%FULL%%%%WWWDIR%%/adminer/trigger.inc.php
%%FULL%%%%WWWDIR%%/adminer/type.inc.php
%%FULL%%%%WWWDIR%%/adminer/user.inc.php
%%FULL%%%%WWWDIR%%/adminer/variables.inc.php
%%FULL%%%%WWWDIR%%/adminer/view.inc.php
%%FULL%%%%WWWDIR%%/changes.txt
%%FULL%%%%WWWDIR%%/compile.php
%%FULL%%%%WWWDIR%%/coverage.php
%%FULL%%%%WWWDIR%%/designs/brade/adminer.css
%%FULL%%%%WWWDIR%%/designs/bueltge/adminer.css
%%FULL%%%%WWWDIR%%/designs/cvicebni-ubor/adminer.css
%%FULL%%%%WWWDIR%%/designs/galkaev/adminer.css
%%FULL%%%%WWWDIR%%/designs/haeckel/adminer.css
%%FULL%%%%WWWDIR%%/designs/hever/adminer.css
%%FULL%%%%WWWDIR%%/designs/jukin/adminer.css
%%FULL%%%%WWWDIR%%/designs/kahi/adminer.css
%%FULL%%%%WWWDIR%%/designs/konya/adminer.css
%%FULL%%%%WWWDIR%%/designs/nette/adminer.css
%%FULL%%%%WWWDIR%%/designs/nicu/adminer.css
%%FULL%%%%WWWDIR%%/designs/ng9/adminer.css
%%FULL%%%%WWWDIR%%/designs/pappu687/adminer.css
%%FULL%%%%WWWDIR%%/designs/paranoiq/adminer.css
%%FULL%%%%WWWDIR%%/designs/pepa-linha/adminer.css
%%FULL%%%%WWWDIR%%/designs/pilot/adminer.css
%%FULL%%%%WWWDIR%%/designs/pokorny/adminer.css
%%FULL%%%%WWWDIR%%/designs/price/adminer.css
%%FULL%%%%WWWDIR%%/designs/readme.txt
%%FULL%%%%WWWDIR%%/editor/db.inc.php
%%FULL%%%%WWWDIR%%/editor/example.php
%%FULL%%%%WWWDIR%%/editor/include/adminer.inc.php
%%FULL%%%%WWWDIR%%/editor/include/connect.inc.php
%%FULL%%%%WWWDIR%%/editor/include/editing.inc.php
%%FULL%%%%WWWDIR%%/editor/index.php
%%FULL%%%%WWWDIR%%/editor/script.inc.php
%%FULL%%%%WWWDIR%%/editor/static/editing.js
%%FULL%%%%WWWDIR%%/externals/JsShrink/jsShrink.php
%%FULL%%%%WWWDIR%%/externals/jush/jush.css
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-cnf.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-css.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-htm.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-http.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-js.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-mssql.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-oracle.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-pgsql.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-php.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-simpledb.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-sql.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-sqlite.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-textarea.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush-txt.js
%%FULL%%%%WWWDIR%%/externals/jush/modules/jush.js
%%FULL%%%%WWWDIR%%/lang.php
%%FULL%%%%WWWDIR%%/plugins/database-hide.php
%%FULL%%%%WWWDIR%%/plugins/dump-alter.php
%%FULL%%%%WWWDIR%%/plugins/dump-bz2.php
%%FULL%%%%WWWDIR%%/plugins/dump-date.php
%%FULL%%%%WWWDIR%%/plugins/dump-json.php
%%FULL%%%%WWWDIR%%/plugins/dump-php.php
%%FULL%%%%WWWDIR%%/plugins/dump-xml.php
%%FULL%%%%WWWDIR%%/plugins/dump-zip.php
%%FULL%%%%WWWDIR%%/plugins/edit-calendar.php
%%FULL%%%%WWWDIR%%/plugins/edit-foreign.php
%%FULL%%%%WWWDIR%%/plugins/edit-textarea.php
%%FULL%%%%WWWDIR%%/plugins/email-table.php
%%FULL%%%%WWWDIR%%/plugins/enum-option.php
%%FULL%%%%WWWDIR%%/plugins/file-upload.php
%%FULL%%%%WWWDIR%%/plugins/foreign-system.php
%%FULL%%%%WWWDIR%%/plugins/frames.php
%%FULL%%%%WWWDIR%%/plugins/json-column.php
%%FULL%%%%WWWDIR%%/plugins/links-direct.php
%%FULL%%%%WWWDIR%%/plugins/login-servers.php
%%FULL%%%%WWWDIR%%/plugins/login-table.php
%%FULL%%%%WWWDIR%%/plugins/master-slave.php
%%FULL%%%%WWWDIR%%/plugins/plugin.php
%%FULL%%%%WWWDIR%%/plugins/readme.txt
%%FULL%%%%WWWDIR%%/plugins/slugify.php
%%FULL%%%%WWWDIR%%/plugins/sql-log.php
%%FULL%%%%WWWDIR%%/plugins/tables-filter.php
%%FULL%%%%WWWDIR%%/plugins/tinymce.php
%%FULL%%%%WWWDIR%%/plugins/translation.php
%%FULL%%%%WWWDIR%%/plugins/version-noverify.php
%%FULL%%%%WWWDIR%%/plugins/wymeditor.php
%%FULL%%%%WWWDIR%%/readme.txt
%%FULL%%%%WWWDIR%%/tests/0-login.html
%%FULL%%%%WWWDIR%%/tests/10-clone.html
%%FULL%%%%WWWDIR%%/tests/11-reference.html
%%FULL%%%%WWWDIR%%/tests/12-update.html
%%FULL%%%%WWWDIR%%/tests/13-delete.html
%%FULL%%%%WWWDIR%%/tests/14-truncate.html
%%FULL%%%%WWWDIR%%/tests/15-privileges.html
%%FULL%%%%WWWDIR%%/tests/16-processlist.html
%%FULL%%%%WWWDIR%%/tests/17-export.html
%%FULL%%%%WWWDIR%%/tests/18-events.html
%%FULL%%%%WWWDIR%%/tests/19-procedures.html
%%FULL%%%%WWWDIR%%/tests/1-create-database.html
%%FULL%%%%WWWDIR%%/tests/20-partitioning.html
%%FULL%%%%WWWDIR%%/tests/21-variables.html
%%FULL%%%%WWWDIR%%/tests/22-history.html
%%FULL%%%%WWWDIR%%/tests/23-editor.html
%%FULL%%%%WWWDIR%%/tests/24-explain.html
%%FULL%%%%WWWDIR%%/tests/2-create-table.html
%%FULL%%%%WWWDIR%%/tests/3-create-index.html
%%FULL%%%%WWWDIR%%/tests/4-create-table-2.html
%%FULL%%%%WWWDIR%%/tests/5-foreign-key.html
%%FULL%%%%WWWDIR%%/tests/6-alter-table.html
%%FULL%%%%WWWDIR%%/tests/7-create-trigger.html
%%FULL%%%%WWWDIR%%/tests/8-create-view.html
%%FULL%%%%WWWDIR%%/tests/9-insert.html
%%FULL%%%%WWWDIR%%/tests/iexplore.bat
%%FULL%%%%WWWDIR%%/tests/logout.html
%%FULL%%%%WWWDIR%%/tests/selenium.html
%%FULL%%%%WWWDIR%%/todo.txt
@owner root
@group wheel
@mode