1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

www/webtrees21: Update to 2.1.16

- nginx configuration added to pkg-message

ChangeLog:	https://github.com/fisharebest/webtrees/compare/2.1.7...2.1.16
PR:		269312
This commit is contained in:
Krzysztof 2023-02-06 08:39:04 +00:00 committed by Nuno Teixeira
parent d71a7959cf
commit a68b5b61d8
4 changed files with 219 additions and 204 deletions

View File

@ -1,11 +1,11 @@
PORTNAME= webtrees
PORTVERSION= 2.1.7
PORTVERSION= 2.1.16
CATEGORIES= www
MASTER_SITES= https://github.com/fisharebest/${PORTNAME}/releases/download/${PORTVERSION}/
PKGNAMESUFFIX= 21
MAINTAINER= ports@bsdserwis.com
COMMENT= Online genealogy viewer (for PHP 7.4-8.1)
COMMENT= Online genealogy viewer (for PHP 7.4-8.2)
WWW= https://webtrees.net/
LICENSE= GPLv3+
@ -26,7 +26,7 @@ SUB_LIST= VERSION_SUFFIX=${PKGNAMESUFFIX}
do-install:
-${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC}/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${WWWDIR} "! -name *\.md"
@(cd ${WRKSRC}/${PORTNAME}; ${FIND} . -not -type d) | ${SORT} | \
${SED} -ne 's,^${PORTNAME}/,${WWWDIR_REL}/,p' >> ${TMPPLIST}
@${ECHO_CMD} \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1667220461
SHA256 (webtrees-2.1.7.zip) = 47ac8c5ad92f177a3be39bf498419f910767fe790ff3ce1d29ed0f65780ac116
SIZE (webtrees-2.1.7.zip) = 32269631
TIMESTAMP = 1675427678
SHA256 (webtrees-2.1.16.zip) = 3b5dc78b4a2abac37eebb8fca0bb1a21339ad1316ca5d269083725ba92ffaf54
SIZE (webtrees-2.1.16.zip) = 32458310

View File

@ -5,7 +5,7 @@ The following configuration will need to be done prior to using
webtrees for the first time:
1. For installation on the apache web server, add the following to your
apache site configuration, and restart the web server:
apache site configuration, and reload the web server:
Alias /webtrees%%VERSION_SUFFIX%% %%WWWDIR%%/
@ -19,7 +19,23 @@ webtrees for the first time:
Allow from all
</Directory>
2. Webtrees uses a MySQL database. Configure a MySQL webtrees user
2. For installation on the nginx web server, add the following to your
nginx site configuration, and reload the web server:
location /webtrees%%VERSION_SUFFIX%% {
alias %%WWWDIR%%;
index index.php;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm-www.socket;
fastcgi_param HTTPS on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
3. Webtrees uses a MySQL database. Configure a MySQL webtrees user
and database using commands such as (substitute PASSWD for something
of your own choosing):
@ -27,7 +43,7 @@ webtrees for the first time:
mysql> create database webtrees%%VERSION_SUFFIX%%;
mysql> grant all on webtrees%%VERSION_SUFFIX%%.* to webtrees%%VERSION_SUFFIX%%@localhost;
3. Configure webtrees by browsing to the webtrees URL:
4. Configure webtrees by browsing to the webtrees URL:
http://your.server.com/webtrees%%VERSION_SUFFIX%%/
and you should be taken to the setup wizard, which will lead you
through setting up webtrees: asking for the database server, database

File diff suppressed because it is too large Load Diff