From nobody Mon Mar 21 22:40:01 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D1FBC1A28795 for ; Mon, 21 Mar 2022 22:40:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KMqLn3Kdtz3PV0 for ; Mon, 21 Mar 2022 22:40:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4EA14238AE for ; Mon, 21 Mar 2022 22:40:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22LMe1KG007014 for ; Mon, 21 Mar 2022 22:40:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22LMe1A0007013 for ports-bugs@FreeBSD.org; Mon, 21 Mar 2022 22:40:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262712] devel/gitlist: update to 1.1.1 Date: Mon, 21 Mar 2022 22:40:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd-ports@andre.rikkertdekoe.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647902401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lgQi2X+twI6qzONwOtyaYyZW0mB4oqZWlDPI3yrFX00=; b=hDqut6gprYsRmWwgAToidXbqYuGVLHhE767t64txHYVyWXjG4l7rAg3RKDaY0ysTpU6yrj BHCwrookQiIZP95HKMhWJm5YGR22fmdQe1U8ZKwLfTTeSai4FBPum6U5LMfoeifakSuEIl 3QYSXS28/++ggGkHe1q/Tx0K5WBplaf2BX3gxxJe2ezVGVfuT3deDy+fQIgHhCPH+o3R1P VyUP1DtNUYj3VroZljh5znKdQqxNyWElVkeB6J35MfdIAjusH2T+1O/LWSZClKCrFmfOQX XoI4I5k24N+CVsTtjubtH86dXxqtIFB8GVhTPl0XJGrffL2Sa35EICxjE7KEvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647902401; a=rsa-sha256; cv=none; b=CzU7pWUHK0AE3HsdEedfaefCRVTAzQcMmsSQCX9aiVYfg2EHk0zzSvz66Zyio+Bn5ONGRz OMTZtrkTIkS30DlvaSBAVyXMyPMTQUFczAZSfP7QLoG3sEdzF2tcKfMbpkX5zMMSJjP+gb rksSQU7OXHjY0VP2nAv+FbDywF5lRFcAtQ4lHx/VBYYN5miWya1m0j4+6XsyU6kJkLDD/n oqcuRGCQlFKZZa9pzgqKSSmS912dWfa4I3XbcB2rR/iMYQnKb9l0EWpuDk27zQcCBiD5yz p8ePZ1eEUuur761JXaTKM1eK+A8FbjULAzb+V8i9FzOfdW5zY+W7KqyveywBdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262712 Bug ID: 262712 Summary: devel/gitlist: update to 1.1.1 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/klaussilveira/gitlist/releases OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd-ports@andre.rikkertdekoe.nl Attachment #232620 maintainer-approval+ Flags: Created attachment 232620 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232620&action= =3Dedit update created by following porters-handbook/port-upgrading.html ##=20 ## testresults by patching current gitlist-1.0.2 with gitlist-1.1.1.diff ## 1) cat the test script ## 2) run the test script ## [root@web-int ~/newport2/gitlist]# cat testport=20 #!/bin/sh set -x set -e : : apply the update : uname -a cd /usr/ports/devel/gitlist make deinstall make clean patch < /root/newport2/gitlist/gitlist-1.1.1.diff :=20 : Testing with FreeBSD port tool : pkg which $(which port) port test : : Testing according to https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-= testing.html : make stage make stage-qa make package make install make deinstall make clean chown testuser . echo "id; make package" | su testuser chown root . make package make clean [root@web-int ~/newport2/gitlist]#=20 [root@web-int ~/newport2/gitlist]#=20 [root@web-int ~/newport2/gitlist]#=20 [root@web-int ~/newport2/gitlist]# ./testport=20 + set -e + : + : apply the update + : + uname -a FreeBSD web-int 12.2-RELEASE-p14 FreeBSD 12.2-RELEASE-p14 GENERIC amd64 + cd /usr/ports/devel/gitlist + make deinstall =3D=3D=3D> Deinstalling for gitlist =3D=3D=3D> Deinstalling gitlist-1.0.2 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: gitlist: 1.0.2 Number of packages to be removed: 1 The operation will free 15 MiB. [1/1] Deinstalling gitlist-1.0.2... [1/1] Deleting files for gitlist-1.0.2: 100% + make clean =3D=3D=3D> Cleaning for gitlist-1.0.2 + patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/devel/gitlist/Makefile b/devel/gitlist/Makefile |index c23ea1115967..7eb6403270db 100644 |--- a/devel/gitlist/Makefile |+++ b/devel/gitlist/Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 15. Hunk #3 succeeded at 30. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/devel/gitlist/distinfo b/devel/gitlist/distinfo |index 0296b42f5a4f..f35e590f678b 100644 |--- a/devel/gitlist/distinfo |+++ b/devel/gitlist/distinfo -------------------------- Patching file distinfo using Plan A... Hunk #1 succeeded at 1. done + : + : Testing with FreeBSD port tool + : + which port + pkg which /usr/local/bin/port /usr/local/bin/port was installed by package porttools-1.10 + port test =3D=3D=3D> Using ports tree /usr/ports =3D=3D=3D> Validating port with portlint looks fine. =3D=3D=3D> flags: PREFIX=3D/tmp/gitlist-1.1.1 NO_DEPENDS=3Dyes PKG_DBDIR=3D/tmp/pkg_db.WpTLl0NI PORTSDIR=3D/usr/ports -- =3D=3D=3D> Cleaning workspace before port test =3D=3D=3D> Cleaning for gitlist-1.1.1 =3D=3D=3D> License BSD3CLAUSE accepted by the user =3D=3D=3D> Fetching all distfiles required by gitlist-1.1.1 for building =3D=3D=3D> Extracting for gitlist-1.1.1 =3D> SHA256 Checksum OK for gitlist-1.1.1.zip. =3D=3D=3D> Patching for gitlist-1.1.1 /bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist-1.1.1/cache cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; /usr/bin/sed -i.bak -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; /usr/bin/find . ! -type d | /usr/bin/sort | /usr/bin/sed -e "s,^\.,%%WWWDIR%%," > /usr/ports/devel/gitlist/work/plist; echo "@dir(www,www,) %%WWWDIR%%/vendor/twig/twig/doc" >> /usr/ports/devel/gitlist/work/plist echo "@dir(www,www,) %%WWWDIR%%/cache" >> /usr/ports/devel/gitlist/work/pli= st =3D=3D=3D> Configuring for gitlist-1.1.1 =3D=3D=3D> Staging for gitlist-1.1.1 =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Creating groups. =3D=3D=3D> Creating users cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; IFS=3D"$(printf '\n\t')"; = for src in $( /usr/bin/find . ); do=20 dst=3D"/usr/ports/devel/gitlist/work/stage/tmp/gitlist-1.1.1/www/gitlist${s= rc#.}"; if test -d "$src"; then /bin/mkdir -p "$dst"; else install -m 0644 "$s= rc" "$dst"; fi done /bin/rm -f -r "/tmp/gitlist-1.1.1/www/gitlist/cache/views" =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR =3D=3D=3D> No pkg-plist issues found (check-plist) =3D=3D=3D> Building package for gitlist-1.1.1 =3D=3D=3D> Installing for gitlist-1.1.1 =3D=3D=3D> Checking if gitlist is already installed =3D=3D=3D> Registering installation for gitlist-1.1.1 Installing gitlist-1.1.1... =3D=3D=3D> Creating groups. Using existing group 'www'. =3D=3D=3D> Creating users Using existing user 'www'. The port will install an htdocs dir /tmp/gitlist-1.1.1/www/gitlist. Copy /tmp/gitlist-1.1.1/www/gitlist/config.ini-example to /tmp/gitlist-1.1.1/www/gitlist/config.ini and edit it to make it use your git repositories. Then configure your webserver to use the htdocs directory. Make sure mod_rewrite is enabled in your webserver, else the url-rewrite will not work and result in a 404 when accessing a repository. =3D=3D=3D> Checking pkg info gitlist-1.1.1 Name : gitlist Version : 1.1.1 Installed on : Mon Mar 21 23:21:24 2022 CET Origin : devel/gitlist Architecture : FreeBSD:12:amd64 Prefix : /tmp/gitlist-1.1.1 Categories : devel www Licenses : BSD3CLAUSE Maintainer : freebsd-ports@misc.ark-ict.nl WWW : http://gitlist.org Comment : Web based Git repository browser written in PHP Annotations : FreeBSD_version: 1202000 cpe : cpe:2.3:a:gitlist:gitlist:1.1.1:::::freebsd12:x64 Flat size : 7.06MiB Description : GitList is a web based git repository browser written in PHP similar to Git= Hub WWW: http://gitlist.org =3D=3D=3D> Checking shared library dependencies =3D=3D=3D> Deinstalling for gitlist =3D=3D=3D> Deinstalling gitlist-1.1.1 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: gitlist: 1.1.1 Number of packages to be removed: 1 The operation will free 7 MiB. [1/1] Deinstalling gitlist-1.1.1... [1/1] Deleting files for gitlist-1.1.1: 100% =3D=3D=3D> Extra files and directories check =3D=3D=3D> Cleaning up after port test =3D=3D=3D> Cleaning for gitlist-1.1.1 =3D=3D=3D> Removing existing /tmp/gitlist-1.1.1 dir =3D=3D=3D> Done. + : + : Testing according to https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-= testing.html + : + make stage =3D=3D=3D> License BSD3CLAUSE accepted by the user =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by gitlist-1.1.1 for building =3D=3D=3D> Extracting for gitlist-1.1.1 =3D> SHA256 Checksum OK for gitlist-1.1.1.zip. =3D=3D=3D> Patching for gitlist-1.1.1 /bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist-1.1.1/cache cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; /usr/bin/sed -i.bak -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; /usr/bin/find . ! -type d | /usr/bin/sort | /usr/bin/sed -e "s,^\.,%%WWWDIR%%," > /usr/ports/devel/gitlist/work/plist; echo "@dir(www,www,) %%WWWDIR%%/vendor/twig/twig/doc" >> /usr/ports/devel/gitlist/work/plist echo "@dir(www,www,) %%WWWDIR%%/cache" >> /usr/ports/devel/gitlist/work/pli= st =3D=3D=3D> Configuring for gitlist-1.1.1 =3D=3D=3D> Staging for gitlist-1.1.1 =3D=3D=3D> gitlist-1.1.1 depends on executable: git - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/include/php/main/php= .h - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts= /ctype.so - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts= /json.so - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts/simplexml.so - found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Creating groups. =3D=3D=3D> Creating users cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; IFS=3D"$(printf '\n\t')"; = for src in $( /usr/bin/find . ); do=20 dst=3D"/usr/ports/devel/gitlist/work/stage/usr/local/www/gitlist${src#.}"; = if test -d "$src"; then /bin/mkdir -p "$dst"; else install -m 0644 "$src" "$dst"; fi done /bin/rm -f -r "/usr/local/www/gitlist/cache/views" =3D=3D=3D=3D> Compressing man pages (compress-man) + make stage-qa =3D=3D=3D=3D> Running Q/A tests (stage-qa) /!\ To run stage-qa automatically add DEVELOPER=3Dyes to your environment /= !\ + make package =3D=3D=3D> Building package for gitlist-1.1.1 + make install =3D=3D=3D> Installing for gitlist-1.1.1 =3D=3D=3D> Checking if gitlist is already installed =3D=3D=3D> Registering installation for gitlist-1.1.1 Installing gitlist-1.1.1... =3D=3D=3D> Creating groups. Using existing group 'www'. =3D=3D=3D> Creating users Using existing user 'www'. The port will install an htdocs dir /usr/local/www/gitlist. Copy /usr/local/www/gitlist/config.ini-example to /usr/local/www/gitlist/config.ini and edit it to make it use your git repositories. Then configure your webserver to use the htdocs directory. Make sure mod_rewrite is enabled in your webserver, else the url-rewrite will not work and result in a 404 when accessing a repository. + make deinstall =3D=3D=3D> Deinstalling for gitlist =3D=3D=3D> Deinstalling gitlist-1.1.1 Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packag= es in the universe): Installed packages to be REMOVED: gitlist: 1.1.1 Number of packages to be removed: 1 The operation will free 7 MiB. [1/1] Deinstalling gitlist-1.1.1... [1/1] Deleting files for gitlist-1.1.1: 100% + make clean =3D=3D=3D> Cleaning for gitlist-1.1.1 + chown testuser . + echo 'id; make package' + su testuser uid=3D1003(testuser) gid=3D1003(testuser) groups=3D1003(testuser) =3D=3D=3D> License BSD3CLAUSE accepted by the user =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by gitlist-1.1.1 for building =3D=3D=3D> Extracting for gitlist-1.1.1 =3D> SHA256 Checksum OK for gitlist-1.1.1.zip. =3D=3D=3D> Patching for gitlist-1.1.1 /bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist-1.1.1/cache cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; /usr/bin/sed -i.bak -e 's|/usr/bin/git|/usr/local/bin/git|g' config.ini-example; /usr/bin/find . ! -type d | /usr/bin/sort | /usr/bin/sed -e "s,^\.,%%WWWDIR%%," > /usr/ports/devel/gitlist/work/plist; echo "@dir(www,www,) %%WWWDIR%%/vendor/twig/twig/doc" >> /usr/ports/devel/gitlist/work/plist echo "@dir(www,www,) %%WWWDIR%%/cache" >> /usr/ports/devel/gitlist/work/pli= st =3D=3D=3D> Configuring for gitlist-1.1.1 =3D=3D=3D> Staging for gitlist-1.1.1 =3D=3D=3D> gitlist-1.1.1 depends on executable: git - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/include/php/main/php= .h - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts= /ctype.so - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts= /json.so - found =3D=3D=3D> gitlist-1.1.1 depends on file: /usr/local/lib/php/20190902-zts/simplexml.so - found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Creating groups. =3D=3D=3D> Creating users cd /usr/ports/devel/gitlist/work/gitlist-1.1.1; IFS=3D"$(printf '\n\t')"; = for src in $( /usr/bin/find . ); do=20 dst=3D"/usr/ports/devel/gitlist/work/stage/usr/local/www/gitlist${src#.}"; = if test -d "$src"; then /bin/mkdir -p "$dst"; else install -m 0644 "$src" "$dst"; fi done /bin/rm -f -r "/usr/local/www/gitlist/cache/views" =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D> Building package for gitlist-1.1.1 + chown root . + make package + make clean =3D=3D=3D> Cleaning for gitlist-1.1.1 [root@web-int ~/newport2/gitlist]# --- Comment #1 from Bugzilla Automation --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=