Created attachment 223323 [details] created by following porters-handbook/port-upgrading.html
Maintainer informed via mail
## ## testresults by patching current webtrees-2.0.12 with webtrees20-2.0.13.diff ## 1) cat the test script ## 2) run the test script root@web-int:~/newport # cat testport #!/bin/sh set -x cd /usr/ports/www/webtrees20 patch < /root/newport/workdir/webtrees20-2.0.13.diff set -e uname -a make deinstall make clean set +x echo "======================================" echo "=== Testing with FreeBSD port tool ===" echo "======================================" set -x pkg which $(which port) port test set +x echo "====================================================================================================================" echo "=== Testing according to https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html ===" echo "====================================================================================================================" set -x make stage make package make install set +x echo "==============================================" echo "=== Test it installs next to webtrees 1.17 ===" echo "==============================================" set -x pkg info | grep webtrees make deinstall make clean chown testuser . echo "id; make package" | su testuser chown root . make package make clean root@web-int:~/newport # ./testport + cd /usr/ports/www/webtrees20 + patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |=================================================================== |--- Makefile (revision 568542) |+++ Makefile (working copy) -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 2. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: distinfo |=================================================================== |--- distinfo (revision 568542) |+++ distinfo (working copy) -------------------------- Patching file distinfo using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pkg-plist |=================================================================== |--- pkg-plist (revision 568542) |+++ pkg-plist (working copy) -------------------------- Patching file pkg-plist using Plan A... Hunk #1 succeeded at 286. done + set -e + uname -a FreeBSD web-int 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 + make deinstall ===> Deinstalling for webtrees20 ===> webtrees20 not installed, skipping + make clean ===> Cleaning for webtrees20-2.0.13 + set +x ====================================== === Testing with FreeBSD port tool === ====================================== + which port + pkg which /usr/local/bin/port /usr/local/bin/port was installed by package porttools-1.09 + port test ===> Using ports tree /usr/ports ===> Validating port with portlint looks fine. ===> flags: PREFIX=/tmp/webtrees20-2.0.13 NO_DEPENDS=yes PKG_DBDIR=/tmp/pkg_db.pgMYSTFX PORTSDIR=/usr/ports -- ===> Cleaning workspace before port test ===> Cleaning for webtrees20-2.0.13 ===> License LGPL3 accepted by the user ===> Fetching all distfiles required by webtrees20-2.0.13 for building ===> Extracting for webtrees20-2.0.13 => SHA256 Checksum OK for webtrees-2.0.13.zip. ===> Patching for webtrees20-2.0.13 ===> Configuring for webtrees20-2.0.13 ===> Staging for webtrees20-2.0.13 ===> Generating temporary packing list /bin/mkdir -p /usr/ports/www/webtrees20/work/stage/tmp/webtrees20-2.0.13/www/webtrees20 ====> Compressing man pages (compress-man) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) ===> Building package for webtrees20-2.0.13 ===> Installing for webtrees20-2.0.13 ===> Checking if webtrees20 is already installed ===> Registering installation for webtrees20-2.0.13 Installing webtrees20-2.0.13... 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: Alias /webtrees20 /tmp/webtrees20-2.0.13/www/webtrees20/ ### Add the AcceptPathInfo directive only for Apache 2.0.30 ### or later. AcceptPathInfo On <Directory /tmp/webtrees20-2.0.13/www/webtrees20> AllowOverride None Order Allow,Deny Allow from all </Directory> 2. Webtrees uses a MySQL database. Configure a MySQL webtrees user and database using commands such as (substitute PASSWD for something of your own choosing): mysql> create user webtrees20@localhost identified by PASSWD; mysql> create database webtrees20; mysql> grant all on webtrees20.* to webtrees20@localhost; 3. Configure webtrees by browsing to the webtrees URL: http://your.server.com/webtrees20/ and you should be taken to the setup wizard, which will lead you through setting up webtrees: asking for the database server, database user and database name, and then assist you in creating a webtrees admin account, etc. ===> Checking pkg info webtrees20-2.0.13 Name : webtrees20 Version : 2.0.13 Installed on : Tue Mar 16 13:45:22 2021 CET Origin : www/webtrees20 Architecture : FreeBSD:12:* Prefix : /tmp/webtrees20-2.0.13 Categories : www Licenses : LGPL3 Maintainer : freebsd-ports@misc.ark-ict.nl WWW : http://webtrees.net/ Comment : Online genealogy viewer Annotations : cpe : cpe:2.3:a:webtrees20:webtrees20:2.0.13:::::freebsd12:x64 Flat size : 69.2MiB Description : webtrees is the web's leading online collaborative genealogy application. webtrees works from standard GEDCOM files, and is therefore compatible with every major desktop application. webtrees aims to be efficient and effective by using the right combination of third-party tools, design techniques and open standards. WWW: http://webtrees.net/ ===> Checking shared library dependencies ===> Deinstalling for webtrees20 ===> Deinstalling webtrees20-2.0.13 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: webtrees20: 2.0.13 Number of packages to be removed: 1 The operation will free 69 MiB. [1/1] Deinstalling webtrees20-2.0.13... [1/1] Deleting files for webtrees20-2.0.13: 100% ========================================================================= There remains some webtrees local configuration in /tmp/webtrees20-2.0.13/www/webtrees20/data. If you plan on reinstalling webtrees, leave this configuration there and it will be reused by the new version. If you are completely uninstalling webtrees, please delete this directory and /tmp/webtrees20-2.0.13/www/webtrees20 by hand. You may want to save your GEDCOM file(s) from the MySQL server, too. To do that, you will need to reinstall webtrees, log on as an administrator and select: My Page >> GEDCOM Administration >> Download This will let you save your family tree data in a foo.ged GEDCOM file which you can upload into most other ancestry software or websites. ========================================================================= ===> Extra files and directories check ===> Cleaning up after port test ===> Cleaning for webtrees20-2.0.13 ===> Removing existing /tmp/webtrees20-2.0.13 dir ===> Done. + set +x ==================================================================================================================== === Testing according to https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-testing.html === ==================================================================================================================== + make stage ===> License LGPL3 accepted by the user ===> webtrees20-2.0.13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by webtrees20-2.0.13 for building ===> Extracting for webtrees20-2.0.13 => SHA256 Checksum OK for webtrees-2.0.13.zip. ===> Patching for webtrees20-2.0.13 ===> Configuring for webtrees20-2.0.13 ===> Staging for webtrees20-2.0.13 ===> webtrees20-2.0.13 depends on file: /usr/local/include/php/main/php.h - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/calendar.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/dom.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/filter.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/gd.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/json.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/pdo_mysql.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/session.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/simplexml.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/xml.so - found ===> Generating temporary packing list /bin/mkdir -p /usr/ports/www/webtrees20/work/stage/usr/local/www/webtrees20 ====> Compressing man pages (compress-man) + make package ===> Building package for webtrees20-2.0.13 + make install ===> Installing for webtrees20-2.0.13 ===> Checking if webtrees20 is already installed ===> Registering installation for webtrees20-2.0.13 Installing webtrees20-2.0.13... 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: Alias /webtrees20 /usr/local/www/webtrees20/ ### Add the AcceptPathInfo directive only for Apache 2.0.30 ### or later. AcceptPathInfo On <Directory /usr/local/www/webtrees20> AllowOverride None Order Allow,Deny Allow from all </Directory> 2. Webtrees uses a MySQL database. Configure a MySQL webtrees user and database using commands such as (substitute PASSWD for something of your own choosing): mysql> create user webtrees20@localhost identified by PASSWD; mysql> create database webtrees20; mysql> grant all on webtrees20.* to webtrees20@localhost; 3. Configure webtrees by browsing to the webtrees URL: http://your.server.com/webtrees20/ and you should be taken to the setup wizard, which will lead you through setting up webtrees: asking for the database server, database user and database name, and then assist you in creating a webtrees admin account, etc. + set +x ============================================== === Test it installs next to webtrees 1.17 === ============================================== + pkg info + grep webtrees webtrees-1.7.13 Online genealogy viewer webtrees20-2.0.13 Online genealogy viewer + make deinstall ===> Deinstalling for webtrees20 ===> Deinstalling webtrees20-2.0.13 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: webtrees20: 2.0.13 Number of packages to be removed: 1 The operation will free 69 MiB. [1/1] Deinstalling webtrees20-2.0.13... [1/1] Deleting files for webtrees20-2.0.13: 100% ========================================================================= There remains some webtrees local configuration in /usr/local/www/webtrees20/data. If you plan on reinstalling webtrees, leave this configuration there and it will be reused by the new version. If you are completely uninstalling webtrees, please delete this directory and /usr/local/www/webtrees20 by hand. You may want to save your GEDCOM file(s) from the MySQL server, too. To do that, you will need to reinstall webtrees, log on as an administrator and select: My Page >> GEDCOM Administration >> Download This will let you save your family tree data in a foo.ged GEDCOM file which you can upload into most other ancestry software or websites. ========================================================================= + make clean ===> Cleaning for webtrees20-2.0.13 + chown testuser . + echo 'id; make package' + su testuser uid=1003(testuser) gid=1003(testuser) groups=1003(testuser) ===> License LGPL3 accepted by the user ===> webtrees20-2.0.13 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by webtrees20-2.0.13 for building ===> Extracting for webtrees20-2.0.13 => SHA256 Checksum OK for webtrees-2.0.13.zip. ===> Patching for webtrees20-2.0.13 ===> Configuring for webtrees20-2.0.13 ===> Staging for webtrees20-2.0.13 ===> webtrees20-2.0.13 depends on file: /usr/local/include/php/main/php.h - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/calendar.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/dom.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/filter.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/gd.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/json.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/pdo_mysql.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/session.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/simplexml.so - found ===> webtrees20-2.0.13 depends on file: /usr/local/lib/php/20190902-zts/xml.so - found ===> Generating temporary packing list /bin/mkdir -p /usr/ports/www/webtrees20/work/stage/usr/local/www/webtrees20 ====> Compressing man pages (compress-man) ===> Building package for webtrees20-2.0.13 + chown root . + make package + make clean ===> Cleaning for webtrees20-2.0.13 root@web-int:~/newport #
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/271303574
Keep in mind it is a good idea to set "maintainer-feedback" to "+".
I'll handle it, because original port has to be removed and readded properly anyway.
A commit references this bug: Author: danfe Date: Fri Mar 19 07:51:23 UTC 2021 New revision: 568779 URL: https://svnweb.freebsd.org/changeset/ports/568779 Log: Fork off the `www/webtrees20' port which tracks 2.0.x branch and targets PHP versions 7.1-7.4. It is fully supported and actively maintained. PR: 250883, 254336 Changes: head/www/Makefile head/www/webtrees20/ head/www/webtrees20/Makefile head/www/webtrees20/distinfo head/www/webtrees20/pkg-plist