1) Need update varsion Simple update to 4.7.5. Changelog: https://sourceforge.net/p/adminer/news/ 2) It is necessary to remove the adminer subdirectory so that the directory path is shorter - /usr/local/www/adminer /usr/ports/databases/adminer# diff pkg-plist pkg-plist.old 4c4 < %%WWWDIR%%/index.php --- > %%WWWDIR%%/adminer/index.php 3) Need to lower file permissions from 755 to 644. /usr/ports/databases/adminer# diff pkg-plist pkg-plist.old 3,4c3,4 < @mode 0644 < %%WWWDIR%%/index.php --- > @mode 0755 > %%WWWDIR%%/adminer/index.php
(In reply to Vladislav V. Prodan from comment #0) Thanks for reports! Would you like create and upload a patchfile? If yes I'll wait :) https://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html#pr-writing-attaching-patches
Created attachment 209337 [details] pkg-plist patch
Created attachment 209339 [details] Makefile patch
Created attachment 209340 [details] distinfo patch
It seems that I did the wrong patch files and you can’t delete them from PR ...
(In reply to Vladislav V. Prodan from comment #5) You should merge them into one file (the "diff" and "svn diff" can handle directory too so the "diff /usr/ports/databases/adminer{,.old}" should enough - the "svn diff /usr/ports/databases/adminer" would be simplier :) ). If you upload new file you can mark some old uploaded file as "Obsolote".
Thank you for the recommendations, but these techniques are too long and resource-intensive in comparison with the constant use of portsnap auto. I hope you can make it easier to create patches for ports.
Created attachment 209361 [details] Patch as reporter This patch fixes: - update to 4.7.5 - change location (remove duplicated 'adminer') - correct mode
Comment on attachment 209337 [details] pkg-plist patch My patch obsolote this.
Up.
(In reply to Zsolt Udvari from comment #8) 4.7.6 released :) wen
Moin moin You should probably use INSTALL_DATA [1] instead of CP. mfg Tobias [1] https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html
Created attachment 212421 [details] Patch for 4.7.6 - update to 4.7.6 - lower permissions - CP -> INSTALL_DATA - simplify install directory (adminer/adminer -> adminer/)
A commit references this bug: Author: tcberner Date: Sun Mar 15 07:34:34 UTC 2020 New revision: 528473 URL: https://svnweb.freebsd.org/changeset/ports/528473 Log: 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> Changes: head/databases/adminer/Makefile head/databases/adminer/distinfo head/databases/adminer/pkg-plist
Committed. Thanks.