databases/adminer: update to 4.7.6

- update to 4.7.6
- lower permissions
- CP -> INSTALL_DATA
- simplify install directory (adminer/adminer -> adminer/)

PR:		242145
Submitted by:	Zsolt Udvari  <uzsolt@uzsolt.hu> (maintainer)
Reported by:	Vladislav V. Prodan <admin@support.od.ua>
This commit is contained in:
Tobias C. Berner 2020-03-15 07:34:33 +00:00
parent 3d1bdfca59
commit 5fa0a40159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528473
3 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= adminer
PORTVERSION= 4.7.4
PORTVERSION= 4.7.6
CATEGORIES= databases www
MASTER_SITES= https://github.com/vrana/adminer/releases/download/v${PORTVERSION}/
EXTRACT_SUFX= .php
@ -24,7 +24,7 @@ SUB_FILES= pkg-message
SUB_LIST= PHPVER="${PHP_VER}"
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}/${PORTNAME}
${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${WWWDIR}/${PORTNAME}/index.php
${MKDIR} ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${WWWDIR}/index.php
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1572098178
SHA256 (adminer-4.7.4.php) = b8c4e0c6f7dfd9b7a7421be17ec5d6b1259e180d5ff4b79645621ce1d5575e66
SIZE (adminer-4.7.4.php) = 485037
TIMESTAMP = 1584245697
SHA256 (adminer-4.7.6.php) = 78f718f3b60faa1d1765af6c0010465f8d780fcaf8990a9e9223ce9c716de2d2
SIZE (adminer-4.7.6.php) = 489252

View file

@ -1,4 +1,4 @@
@owner %%WWWOWN%%
@group %%WWWGRP%%
@mode 0755
%%WWWDIR%%/adminer/index.php
@mode 0644
%%WWWDIR%%/index.php