mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Generalize the packge building scripts to be able to be run on more than
one 'head' node, rather than just pointyhat itself. Constants are factored out into installation-specific files known as portbuild/conf/server.conf and portbuild/conf/client.conf. There is only one server.conf file. Individual <arch> directories may have their own client.conf files, or may symlink to ../conf/client.conf. Fix the sed script to correctly handle '.' in branch directory names. Feature safe: yes
This commit is contained in:
parent
3d5c2cff29
commit
8784a39301
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256989
@ -15,6 +15,7 @@ branch=$2
|
||||
buildid=$3
|
||||
shift
|
||||
|
||||
. ${pb}/conf/server.conf
|
||||
. ${pb}/${arch}/portbuild.conf
|
||||
. ${pb}/scripts/buildenv
|
||||
|
||||
@ -33,6 +34,6 @@ export PORT_DBDIR=/nonexistentport
|
||||
|
||||
cd ${PORTSDIR}
|
||||
make -j4 ECHO_MSG=true clean-restricted-list \
|
||||
| sed -e "s./usr/ports/packages/.${builddir}/packages/.g" \
|
||||
-e "s./usr/ports/.${builddir}/ports/.g" \
|
||||
| sed -e "s!/usr/ports/packages/!${builddir}/packages/!g" \
|
||||
-e "s!/usr/ports/!${builddir}/ports/!g" \
|
||||
> ${builddir}/restricted.sh
|
||||
|
Loading…
Reference in New Issue
Block a user