Date: Mon, 21 Mar 2022 22:40:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 262712] devel/gitlist: update to 1.1.1 Message-ID: <bug-262712-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 <bugzilla@FreeBSD.org> --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262712-7788>