This commit is contained in:
parent
b7c19097e1
commit
e5975b2b67
4 changed files with 15 additions and 3 deletions
|
@ -56,7 +56,7 @@ Install `/home/_portzap/ports/` into `/usr/ports/` <br>
|
|||
|
||||
* __$PORTZAP\_CLONEURL__ <br>
|
||||
The URL of a git repository <br>
|
||||
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
|
||||
Default: https://github.com/HardenedBSD/ports
|
||||
|
||||
* __$PORTZAP\_INSTALLDIR__ <br>
|
||||
The directory where the ports collection will be installed <br>
|
||||
|
|
|
@ -6,7 +6,7 @@ set -e
|
|||
localbase=${LOCALBASE:-$(realpath "$(dirname "$0")"/..)}
|
||||
libexec="${localbase}"/libexec/portzap
|
||||
gitdir="/home/_portzap/ports"
|
||||
giturl="${PORTZAP_CLONEURL:-https://git.hardenedbsd.org/hardenedbsd/ports.git}"
|
||||
giturl="${PORTZAP_CLONEURL:-https://github.com/hardenedbsd/ports}"
|
||||
installdir="${PORTZAP_INSTALLDIR:-/usr/ports}"
|
||||
defaultbranch="hardenedbsd/main"
|
||||
commitfile="${installdir}"/.portzap
|
||||
|
|
|
@ -84,7 +84,7 @@ This command requires root privileges
|
|||
.br
|
||||
The URL of a git repository
|
||||
.br
|
||||
Default: https://git.HardenedBSD.org/HardenedBSD/ports.git
|
||||
Default: https://github.com/HardenedBSD/ports
|
||||
.sp
|
||||
.Nm PORTZAP_INSTALLDIR
|
||||
.br
|
||||
|
|
|
@ -2,6 +2,18 @@
|
|||
|
||||
* vNEXT
|
||||
|
||||
**** Change default clone url
|
||||
After this change, the default clone URL points at
|
||||
the GitHub mirror: https://github.com/hardenedbsd/ports
|
||||
|
||||
This change was made because clone and pull operations
|
||||
from ~git.hardenedbsd.org~ are not always stable, especially
|
||||
with big repositories like the ports collection
|
||||
|
||||
The default can be changed through the environment variable
|
||||
~$PORTZAP_CLONEURL~, or by modifying the ~origin~ remote
|
||||
after a successful clone
|
||||
|
||||
**** Fix ~libexec/portzap/scripts/setup-doas~ bug
|
||||
This change fixes a bug in ~setup-doas~ that could hang
|
||||
the ~portzap setup~ command
|
||||
|
|
Loading…
Reference in a new issue