Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,5 +1,5 @@
===========================================================================
$NetBSD: MESSAGE,v 1.13 2011/12/26 16:38:29 tron Exp $
$NetBSD: MESSAGE,v 1.14 2016/08/23 15:53:14 taca Exp $
Do *not* edit "${CONF_INC_PHP}" to customize
this package because it is a link which will removed during upgrades.
@@ -9,11 +9,11 @@ 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 ${EXDIR}/apache.conf
Include ${PKG_SYSCONFDIR}/apache.conf
to make phpMyAdmin accessible through:
http://www.domain.com/phpmyadmin/
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

View File

@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.146 2015/05/15 17:36:06 tron Exp $
# $NetBSD: Makefile,v 1.150 2016/08/23 15:53:14 taca Exp $
DISTNAME= phpMyAdmin-${DIST_VERSION}-all-languages
PKGNAME= phpmyadmin-${DIST_VERSION:S/-//}
DISTNAME= phpMyAdmin-4.6.4-all-languages
PKGNAME= ${DISTNAME:S/-all-languages//:tl}
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=phpmyadmin/}
MASTER_SITES= https://files.phpmyadmin.net/phpMyAdmin/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -21,24 +21,27 @@ DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-mcrypt>=5.3.0:../../security/php-mcrypt
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
USE_TOOLS+= pax
FILES_SUBST+= APACHE_GROUP=${APACHE_GROUP} APACHE_USER=${APACHE_USER}
FILES_SUBST+= PMSETUPDIR=${PMSETUPDIR} PMSETUPFILE=${PMSETUPFILE}
PLIST_SUBST+= DIST_VERSION=${DIST_VERSION:Q}
MESSAGE_SUBST+= CONF_INC_PHP=${CONF_INC_PHP} PMCONFFILE=${PMCONFFILE:Q} \
EXDIR=${EXDIR:Q}
MESSAGE_SUBST+= CONF_INC_PHP=${CONF_INC_PHP} PMCONFFILE=${PMCONFFILE}
CONF_INC_PHP= ${PREFIX}/share/phpmyadmin/config.inc.php
DIST_VERSION= 4.3.12
DOC_FILES= ChangeLog LICENSE README RELEASE-DATE-${DIST_VERSION}
DOC_FILES= CONTRIBUTING.md ChangeLog DCO LICENSE README \
RELEASE-DATE-${PKGVERSION_NOREV}
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= www
APACHE_GROUP?= www
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
BUILD_DEFS+= APACHE_USER APACHE_GROUP
BUILD_DEFS+= APACHE_USER APACHE_GROUP VARBASE
PKG_USERS_VARS+= APACHE_USER
PKG_GROUPS_VARS+= APACHE_GROUP
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
EXDIR= ${PREFIX}/share/examples/phpmyadmin
PMCONFFILE= ${PKG_SYSCONFDIR}/config.inc.php
@@ -46,320 +49,49 @@ PMSETUPDIR= ${VARBASE}/phpmyadmin
PMSETUPFILE= ${PMSETUPDIR}/config.inc.php
PMDIR= ${PREFIX}/share/phpmyadmin
PKG_SYSCONFSUBDIR?= phpmyadmin
CONF_FILES+= ${EXDIR}/apache.conf ${PKG_SYSCONFDIR}/apache.conf
SRCS= *.css *.ico *.php *.txt doc/html js libraries locale setup \
sql templates test themes
PKG_SYSCONFSUBDIR= phpmyadmin
NO_BUILD= yes
CHECK_INTERPRETER_SKIP+= share/phpmyadmin/config.inc.php
CHECK_INTERPRETER_SKIP= share/phpmyadmin/test/install-runkit
SUBST_CLASSES+= paths
SUBST_FILES.paths+= ${WRKDIR}/phpmyadmin.conf
SUBST_FILES.paths+= ${WRKSRC}/libraries/vendor_config.php
SUBST_SED.paths+= -e "s|@PMDIR@|${PMDIR}|g"
SUBST_SED.paths+= -e 's|@@PMSETUPFILE@@|${PMSETUPFILE}|g'
SUBST_STAGE.paths= post-configure
INSTALLATION_DIRS+= ${PREFIX}/share/doc/phpmyadmin \
${PREFIX}/share/examples/phpmyadmin \
${PMDIR} ${PMDIR}/scripts
${PMDIR}/doc ${PMDIR}/scripts
INSTALL_DIRS= doc/html
INSTALL_DIRS+= doc/html/_static
INSTALL_DIRS+= js
INSTALL_DIRS+= js/canvg
INSTALL_DIRS+= js/codemirror
INSTALL_DIRS+= js/codemirror/addon
INSTALL_DIRS+= js/codemirror/addon/hint
INSTALL_DIRS+= js/codemirror/addon/runmode
INSTALL_DIRS+= js/codemirror/lib
INSTALL_DIRS+= js/codemirror/mode
INSTALL_DIRS+= js/codemirror/mode/sql
INSTALL_DIRS+= js/jqplot
INSTALL_DIRS+= js/jqplot/plugins
INSTALL_DIRS+= js/jquery
INSTALL_DIRS+= js/jquery/src
INSTALL_DIRS+= js/jquery/src/jquery
INSTALL_DIRS+= js/jquery/src/jquery-ui
INSTALL_DIRS+= js/jquery/src/jquery/ajax
INSTALL_DIRS+= js/openlayers
INSTALL_DIRS+= js/openlayers/img
INSTALL_DIRS+= js/openlayers/src
INSTALL_DIRS+= js/openlayers/src/openlayers
INSTALL_DIRS+= js/openlayers/src/openlayers/lib
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Firebug
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Gears
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Control
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Feature
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Filter
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/ArcXML
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetDomain
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetRecords
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/GML
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSCommon
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSContext
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/SLD
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSCapabilities
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSDescribeLayer
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Format/WMTSCapabilities
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Geometry
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Handler
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Lang
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/Google
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/MapServer
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/Vector
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMS
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Marker
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Popup
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SOS
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SQL
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Renderer
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Request
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Strategy
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Tile
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/OpenLayers/Tile/Image
INSTALL_DIRS+= js/openlayers/src/openlayers/lib/Rico
INSTALL_DIRS+= js/openlayers/theme
INSTALL_DIRS+= js/openlayers/theme/default
INSTALL_DIRS+= js/openlayers/theme/default/img
INSTALL_DIRS+= js/pmd
INSTALL_DIRS+= js/tracekit
INSTALL_DIRS+= js/transformations
INSTALL_DIRS+= libraries
INSTALL_DIRS+= libraries/PHPExcel
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/CachedObjectStorage
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Calculation
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Cell
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader/Excel2007
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Reader/Excel5
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/RichText
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DgContainer/SpgrContainer
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/JAMA
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/JAMA/utils
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/OLE
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/OLE/PPS
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/PCLZip
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Shared/trend
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Style
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Worksheet
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Worksheet/Drawing
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Writer
INSTALL_DIRS+= libraries/PHPExcel/PHPExcel/Writer/Excel2007
INSTALL_DIRS+= libraries/auth
INSTALL_DIRS+= libraries/auth/swekey
INSTALL_DIRS+= libraries/bfShapeFiles
INSTALL_DIRS+= libraries/chart
INSTALL_DIRS+= libraries/chart/pChart
INSTALL_DIRS+= libraries/chart/pChart/fonts
INSTALL_DIRS+= libraries/config
INSTALL_DIRS+= libraries/dbi
INSTALL_DIRS+= libraries/engines
INSTALL_DIRS+= libraries/export
INSTALL_DIRS+= libraries/gis
INSTALL_DIRS+= libraries/import
INSTALL_DIRS+= libraries/import/upload
INSTALL_DIRS+= libraries/navigation
INSTALL_DIRS+= libraries/navigation/Nodes
INSTALL_DIRS+= libraries/php-gettext
INSTALL_DIRS+= libraries/phpseclib/Crypt
INSTALL_DIRS+= libraries/plugins
INSTALL_DIRS+= libraries/plugins/auth
INSTALL_DIRS+= libraries/plugins/auth/swekey
INSTALL_DIRS+= libraries/plugins/export
INSTALL_DIRS+= libraries/plugins/import
INSTALL_DIRS+= libraries/plugins/import/upload
INSTALL_DIRS+= libraries/plugins/schema
INSTALL_DIRS+= libraries/plugins/schema/dia
INSTALL_DIRS+= libraries/plugins/schema/eps
INSTALL_DIRS+= libraries/plugins/schema/pdf
INSTALL_DIRS+= libraries/plugins/schema/svg
INSTALL_DIRS+= libraries/plugins/transformations
INSTALL_DIRS+= libraries/plugins/transformations/abstract
INSTALL_DIRS+= libraries/plugins/transformations/input
INSTALL_DIRS+= libraries/plugins/transformations/output
INSTALL_DIRS+= libraries/properties
INSTALL_DIRS+= libraries/properties/options
INSTALL_DIRS+= libraries/properties/options/groups
INSTALL_DIRS+= libraries/properties/options/items
INSTALL_DIRS+= libraries/properties/plugins
INSTALL_DIRS+= libraries/rte
INSTALL_DIRS+= libraries/schema
INSTALL_DIRS+= libraries/tcpdf
INSTALL_DIRS+= libraries/tcpdf/cache
INSTALL_DIRS+= libraries/tcpdf/config
INSTALL_DIRS+= libraries/tcpdf/config/lang
INSTALL_DIRS+= libraries/tcpdf/fonts
INSTALL_DIRS+= libraries/tcpdf/fonts/dejavu-fonts-ttf-2.32
INSTALL_DIRS+= libraries/tcpdf/fonts/dejavu-fonts-ttf-2.33
INSTALL_DIRS+= libraries/tcpdf/include
INSTALL_DIRS+= libraries/transformations
INSTALL_DIRS+= locale
INSTALL_DIRS+= locale/ar
INSTALL_DIRS+= locale/ar/LC_MESSAGES
INSTALL_DIRS+= locale/az
INSTALL_DIRS+= locale/az/LC_MESSAGES
INSTALL_DIRS+= locale/be
INSTALL_DIRS+= locale/be/LC_MESSAGES
INSTALL_DIRS+= locale/be@latin
INSTALL_DIRS+= locale/be@latin/LC_MESSAGES
INSTALL_DIRS+= locale/bg
INSTALL_DIRS+= locale/bg/LC_MESSAGES
INSTALL_DIRS+= locale/bn
INSTALL_DIRS+= locale/bn/LC_MESSAGES
INSTALL_DIRS+= locale/ca
INSTALL_DIRS+= locale/ca/LC_MESSAGES
INSTALL_DIRS+= locale/cs
INSTALL_DIRS+= locale/cs/LC_MESSAGES
INSTALL_DIRS+= locale/da
INSTALL_DIRS+= locale/da/LC_MESSAGES
INSTALL_DIRS+= locale/de
INSTALL_DIRS+= locale/de/LC_MESSAGES
INSTALL_DIRS+= locale/el
INSTALL_DIRS+= locale/el/LC_MESSAGES
INSTALL_DIRS+= locale/en_GB
INSTALL_DIRS+= locale/en_GB/LC_MESSAGES
INSTALL_DIRS+= locale/es
INSTALL_DIRS+= locale/es/LC_MESSAGES
INSTALL_DIRS+= locale/et
INSTALL_DIRS+= locale/et/LC_MESSAGES
INSTALL_DIRS+= locale/fi
INSTALL_DIRS+= locale/fi/LC_MESSAGES
INSTALL_DIRS+= locale/fr
INSTALL_DIRS+= locale/fr/LC_MESSAGES
INSTALL_DIRS+= locale/gl
INSTALL_DIRS+= locale/gl/LC_MESSAGES
INSTALL_DIRS+= locale/hi
INSTALL_DIRS+= locale/hi/LC_MESSAGES
INSTALL_DIRS+= locale/hr
INSTALL_DIRS+= locale/hr/LC_MESSAGES
INSTALL_DIRS+= locale/hu
INSTALL_DIRS+= locale/hu/LC_MESSAGES
INSTALL_DIRS+= locale/ia
INSTALL_DIRS+= locale/ia/LC_MESSAGES
INSTALL_DIRS+= locale/id
INSTALL_DIRS+= locale/id/LC_MESSAGES
INSTALL_DIRS+= locale/it
INSTALL_DIRS+= locale/it/LC_MESSAGES
INSTALL_DIRS+= locale/ja
INSTALL_DIRS+= locale/ja/LC_MESSAGES
INSTALL_DIRS+= locale/ka
INSTALL_DIRS+= locale/ka/LC_MESSAGES
INSTALL_DIRS+= locale/ko
INSTALL_DIRS+= locale/ko/LC_MESSAGES
INSTALL_DIRS+= locale/lt
INSTALL_DIRS+= locale/lt/LC_MESSAGES
INSTALL_DIRS+= locale/mn
INSTALL_DIRS+= locale/mn/LC_MESSAGES
INSTALL_DIRS+= locale/nb
INSTALL_DIRS+= locale/nb/LC_MESSAGES
INSTALL_DIRS+= locale/nl
INSTALL_DIRS+= locale/nl/LC_MESSAGES
INSTALL_DIRS+= locale/pl
INSTALL_DIRS+= locale/pl/LC_MESSAGES
INSTALL_DIRS+= locale/pt/LC_MESSAGES
INSTALL_DIRS+= locale/pt_BR
INSTALL_DIRS+= locale/pt_BR/LC_MESSAGES
INSTALL_DIRS+= locale/ro
INSTALL_DIRS+= locale/ro/LC_MESSAGES
INSTALL_DIRS+= locale/ru
INSTALL_DIRS+= locale/ru/LC_MESSAGES
INSTALL_DIRS+= locale/si
INSTALL_DIRS+= locale/si/LC_MESSAGES
INSTALL_DIRS+= locale/sk
INSTALL_DIRS+= locale/sk/LC_MESSAGES
INSTALL_DIRS+= locale/sl
INSTALL_DIRS+= locale/sl/LC_MESSAGES
INSTALL_DIRS+= locale/sr
INSTALL_DIRS+= locale/sr/LC_MESSAGES
INSTALL_DIRS+= locale/sr@latin
INSTALL_DIRS+= locale/sr@latin/LC_MESSAGES
INSTALL_DIRS+= locale/sv
INSTALL_DIRS+= locale/sv/LC_MESSAGES
INSTALL_DIRS+= locale/tr
INSTALL_DIRS+= locale/tr/LC_MESSAGES
INSTALL_DIRS+= locale/uk
INSTALL_DIRS+= locale/uk/LC_MESSAGES
INSTALL_DIRS+= locale/uz
INSTALL_DIRS+= locale/uz/LC_MESSAGES
INSTALL_DIRS+= locale/uz@latin
INSTALL_DIRS+= locale/uz@latin/LC_MESSAGES
INSTALL_DIRS+= locale/zh_CN
INSTALL_DIRS+= locale/zh_CN/LC_MESSAGES
INSTALL_DIRS+= locale/zh_TW
INSTALL_DIRS+= locale/zh_TW/LC_MESSAGES
INSTALL_DIRS+= scripts
INSTALL_DIRS+= setup
INSTALL_DIRS+= setup/frames
INSTALL_DIRS+= setup/lib
INSTALL_DIRS+= themes
INSTALL_DIRS+= themes/original
INSTALL_DIRS+= themes/original/css
INSTALL_DIRS+= themes/original/img
INSTALL_DIRS+= themes/original/img/pmd
INSTALL_DIRS+= themes/original/jquery
INSTALL_DIRS+= themes/original/jquery/images
INSTALL_DIRS+= themes/pmahomme
INSTALL_DIRS+= themes/pmahomme/css
INSTALL_DIRS+= themes/pmahomme/img
INSTALL_DIRS+= themes/pmahomme/img/pmd
INSTALL_DIRS+= themes/pmahomme/jquery
INSTALL_DIRS+= themes/pmahomme/jquery/images
.for dir in $(INSTALL_DIRS)
INSTALLATION_DIRS+= ${PMDIR}/${dir}
.endfor
post-extract:
${CP} ${FILESDIR}/phpmyadmin.conf ${WRKDIR}
do-configure:
${SED} -e "s|@PMDIR@|${PMDIR}|g" ${FILESDIR}/phpmyadmin.conf \
>${WRKDIR}/phpmyadmin.conf
cd ${WRKSRC}/libraries; \
${SED} -e "s#@@PMSETUPFILE@@#${PMSETUPFILE}#" vendor_config.php \
>vendor_config.php.pkgsrc
cd ${WRKSRC}/libraries; \
${MV} ${WRKSRC}/config.sample.inc.php ${WRKDIR}/config.inc.php
pre-install:
cd ${WRKSRC}; \
${FIND} . -type f \( -name .buildinfo -o -name .jshintrc -o -name '*.orig' \) -exec ${RM} -f -- {} \;
do-install:
${INSTALL_DATA} ${WRKSRC}/*.css ${DESTDIR}${PMDIR}
${INSTALL_DATA} ${WRKSRC}/*.ico ${DESTDIR}${PMDIR}
${INSTALL_DATA} ${WRKSRC}/*.php ${DESTDIR}${PMDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PMDIR}
${MV} ${DESTDIR}${PREFIX}/share/phpmyadmin/config.sample.inc.php \
${DESTDIR}${EXDIR}/config.inc.php
cd ${WRKSRC} && pax -rw ${SRCS} ${DESTDIR}${PMDIR}
${INSTALL_DATA} ${WRKDIR}/config.inc.php ${DESTDIR}${EXDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${EXDIR}
${LN} -fs ${EXDIR} ${DESTDIR}${PREFIX}/share/phpmyadmin/examples
for dir in ${INSTALL_DIRS}; do \
for file in ${WRKSRC}/$$dir/*; do \
case "$$file" in \
*.orig|*.sh) \
;; \
*) \
if [ -f "$$file" ]; then \
${INSTALL_DATA} "$$file" \
${DESTDIR}${PMDIR}/$$dir; \
fi \
;; \
esac; \
done \
done
cd ${WRKSRC} && \
${INSTALL_DATA} ${DOC_FILES} ${DESTDIR}${PREFIX}/share/doc/phpmyadmin
${INSTALL_DATA} ${DOC_FILES} \
${DESTDIR}${PREFIX}/share/doc/phpmyadmin
${INSTALL_DATA} ${WRKDIR}/phpmyadmin.conf ${DESTDIR}${EXDIR}/apache.conf
${LN} -s ${PMCONFFILE} ${DESTDIR}${CONF_INC_PHP}
cd ${DESTDIR}${PREFIX}/share/phpmyadmin/libraries; \
${MV} -f vendor_config.php.pkgsrc vendor_config.php
${LN} -fs ${PMCONFFILE} ${DESTDIR}${CONF_INC_PHP}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.102 2015/03/18 21:25:28 tron Exp $
$NetBSD: distinfo,v 1.105 2016/08/23 15:53:14 taca Exp $
SHA1 (phpMyAdmin-4.3.12-all-languages.tar.xz) = bb0c5f440043534145b9db3afb1b62dd05dd42c4
RMD160 (phpMyAdmin-4.3.12-all-languages.tar.xz) = ee53e7daf657641f75f4bc374a61659f3d818fd6
Size (phpMyAdmin-4.3.12-all-languages.tar.xz) = 5370996 bytes
SHA1 (phpMyAdmin-4.6.4-all-languages.tar.xz) = 9ae9e5a8d917960106f8359ea555e31097e12a77
RMD160 (phpMyAdmin-4.6.4-all-languages.tar.xz) = 445f08b898ad4255e94abfbc4035db3500114f12
SHA512 (phpMyAdmin-4.6.4-all-languages.tar.xz) = 80ee0180c283c6ea139410289f9aa6535077f68812014dd8c7e334bdae0f49171a47b50274172a153d81e5f3145f906fdcda52751ba703fed8158482a924c6b2
Size (phpMyAdmin-4.6.4-all-languages.tar.xz) = 6137016 bytes
SHA1 (patch-libraries_vendor_config.php) = af587496e999bf1e92d6c5a9ab8053fe6e92a0f2

View File

@@ -1,4 +1,4 @@
# $NetBSD: phpmyadmin.conf,v 1.3 2008/05/03 10:46:28 adrianp Exp $
# $NetBSD: phpmyadmin.conf,v 1.4 2016/08/23 15:53:14 taca Exp $
#
# phpmyadmin configuration file fragment for Apache
@@ -9,8 +9,13 @@
<Directory "@PMDIR@">
Options Indexes
AllowOverride None
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
#
@@ -21,6 +26,11 @@
# installation.
#
<Directory "@PMDIR@/scripts">
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Directory>