hi!
Ideally I would like to be able to follow these steps on my build machine:
cd /usr/local/ports/my_overlay/security/strongswan
make # obtain strongwan-6.0.1.pkg
# copy pkg file to a http document root
(optional) on a target server:
append to /etc/pkg/FreeBSD.conf a new url that would only provide my package
pkg update # but make it pick and download the package from my url
let's pretend that the run time dependencies are always met for my package on the target server.
I know that poudriere exists, but it's not optimal for this particular use case (I want to keep the target server 99.9999999% based on official packages and only patch one or two). Also I cannot build the package directly on the target server.
so my questions would be these:
1. how do I intercept the pkg file that gets created during make above? I can even 'make install' on the build machine but the pkg is nowhere to be found in /var/cache/pkg ...
2. how do I create data.pkg, packagesite.pkg in that document root for pkg's consumption?
many thanks.
Ideally I would like to be able to follow these steps on my build machine:
cd /usr/local/ports/my_overlay/security/strongswan
make # obtain strongwan-6.0.1.pkg
# copy pkg file to a http document root
(optional) on a target server:
append to /etc/pkg/FreeBSD.conf a new url that would only provide my package
pkg update # but make it pick and download the package from my url
let's pretend that the run time dependencies are always met for my package on the target server.
I know that poudriere exists, but it's not optimal for this particular use case (I want to keep the target server 99.9999999% based on official packages and only patch one or two). Also I cannot build the package directly on the target server.
so my questions would be these:
1. how do I intercept the pkg file that gets created during make above? I can even 'make install' on the build machine but the pkg is nowhere to be found in /var/cache/pkg ...
2. how do I create data.pkg, packagesite.pkg in that document root for pkg's consumption?
many thanks.