Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2021 11:12:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254377] devel/gitlist: update to 1.0.2
Message-ID:  <bug-254377-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254377

            Bug ID: 254377
           Summary: devel/gitlist: update to 1.0.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd-ports@andre.rikkertdekoe.nl

Created attachment 223386
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223386&action=
=3Dedit
update created by following porters-handbook/port-upgrading.html

##=20
## testresults by patching current gitlist-1.0.1 with gitlist-1.0.2.diff
## 1) cat the test script
## 2) run the test script
##

root@web-int:~/newport/gitlist # cat testport=20
#!/bin/sh
set -x
:
: apply the update
:
uname -a
cd /usr/ports/devel/gitlist
make deinstall
make clean
patch < /root/newport/gitlist/workdir/gitlist-1.0.2.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:~/newport/gitlist # ./testport=20
+ :
+ : apply the update
+ :
+ uname -a
FreeBSD web-int 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC  amd64
+ cd /usr/ports/devel/gitlist
+ make deinstall
=3D=3D=3D>  Deinstalling for gitlist
=3D=3D=3D>   gitlist not installed, skipping
+ make clean
=3D=3D=3D>  Cleaning for gitlist-1.0.1_1
+ patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Makefile
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- Makefile   (revision 568736)
|+++ Makefile   (working copy)
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 2 with fuzz 1.
Hunk #2 succeeded at 15.
Hunk #3 succeeded at 44.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: distinfo
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- distinfo   (revision 568736)
|+++ 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: files/pkg-message.in
|=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
|--- files/pkg-message.in       (revision 568736)
|+++ files/pkg-message.in       (working copy)
--------------------------
Patching file files/pkg-message.in using Plan A...
Hunk #1 succeeded at 6.
done
+ :
+ : 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
=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.0.2 NO_DEPENDS=3Dyes
PKG_DBDIR=3D/tmp/pkg_db.5PHhFOZq PORTSDIR=3D/usr/ports --
=3D=3D=3D> Cleaning workspace before port test
=3D=3D=3D>  Cleaning for gitlist-1.0.2
=3D=3D=3D>  License BSD3CLAUSE accepted by the user
=3D=3D=3D> Fetching all distfiles required by gitlist-1.0.2 for building
=3D=3D=3D>  Extracting for gitlist-1.0.2
=3D> SHA256 Checksum OK for gitlist-1.0.2.tar.gz.
=3D=3D=3D>  Patching for gitlist-1.0.2
/bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist/cache
cd /usr/ports/devel/gitlist/work/gitlist;  /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%%/cache" >> /usr/ports/devel/gitlist/work/pli=
st
=3D=3D=3D>  Configuring for gitlist-1.0.2
=3D=3D=3D>  Staging for gitlist-1.0.2
=3D=3D=3D>   Generating temporary packing list
=3D=3D=3D> Creating groups.
=3D=3D=3D> Creating users
cd /usr/ports/devel/gitlist/work/gitlist;  IFS=3D"$(printf '\n\t')";  for s=
rc in
$( /usr/bin/find . ); do=20
dst=3D"/usr/ports/devel/gitlist/work/stage/tmp/gitlist-1.0.2/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.0.2/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.0.2
=3D=3D=3D>  Installing for gitlist-1.0.2
=3D=3D=3D>  Checking if gitlist is already installed
=3D=3D=3D>   Registering installation for gitlist-1.0.2
Installing gitlist-1.0.2...
=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.0.2/www/gitlist.
Copy /tmp/gitlist-1.0.2/www/gitlist/config.ini-example
to /tmp/gitlist-1.0.2/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.0.2
Name           : gitlist
Version        : 1.0.2
Installed on   : Thu Mar 18 12:02:58 2021 CET
Origin         : devel/gitlist
Architecture   : FreeBSD:12:amd64
Prefix         : /tmp/gitlist-1.0.2
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
Flat size      : 15.2MiB
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.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%
=3D=3D=3D> Extra files and directories check
=3D=3D=3D> Cleaning up after port test
=3D=3D=3D>  Cleaning for gitlist-1.0.2
=3D=3D=3D>  Removing existing /tmp/gitlist-1.0.2 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.0.2 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by gitlist-1.0.2 for building
=3D=3D=3D>  Extracting for gitlist-1.0.2
=3D> SHA256 Checksum OK for gitlist-1.0.2.tar.gz.
=3D=3D=3D>  Patching for gitlist-1.0.2
/bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist/cache
cd /usr/ports/devel/gitlist/work/gitlist;  /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%%/cache" >> /usr/ports/devel/gitlist/work/pli=
st
=3D=3D=3D>  Configuring for gitlist-1.0.2
=3D=3D=3D>  Staging for gitlist-1.0.2
=3D=3D=3D>   gitlist-1.0.2 depends on executable: git - found
=3D=3D=3D>   gitlist-1.0.2 depends on file: /usr/local/include/php/main/php=
.h - found
=3D=3D=3D>   gitlist-1.0.2 depends on file: /usr/local/lib/php/20190902-zts=
/ctype.so
- found
=3D=3D=3D>   gitlist-1.0.2 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;  IFS=3D"$(printf '\n\t')";  for s=
rc 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.0.2
+ make install
=3D=3D=3D>  Installing for gitlist-1.0.2
=3D=3D=3D>  Checking if gitlist is already installed
=3D=3D=3D>   Registering installation for gitlist-1.0.2
Installing gitlist-1.0.2...
=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.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
+ 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.0.2 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by gitlist-1.0.2 for building
=3D=3D=3D>  Extracting for gitlist-1.0.2
=3D> SHA256 Checksum OK for gitlist-1.0.2.tar.gz.
=3D=3D=3D>  Patching for gitlist-1.0.2
/bin/mkdir -p /usr/ports/devel/gitlist/work/gitlist/cache
cd /usr/ports/devel/gitlist/work/gitlist;  /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%%/cache" >> /usr/ports/devel/gitlist/work/pli=
st
=3D=3D=3D>  Configuring for gitlist-1.0.2
=3D=3D=3D>  Staging for gitlist-1.0.2
=3D=3D=3D>   gitlist-1.0.2 depends on executable: git - found
=3D=3D=3D>   gitlist-1.0.2 depends on file: /usr/local/include/php/main/php=
.h - found
=3D=3D=3D>   gitlist-1.0.2 depends on file: /usr/local/lib/php/20190902-zts=
/ctype.so
- found
=3D=3D=3D>   gitlist-1.0.2 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;  IFS=3D"$(printf '\n\t')";  for s=
rc 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.0.2
+ chown root .
+ make package
+ make clean
=3D=3D=3D>  Cleaning for gitlist-1.0.2
root@web-int:~/newport/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-254377-7788>