1 # configuration for picobsd build script.
3 # it should only contain variable definitions -- it is sourced
4 # by the shell much like rc.conf* files
8 # To copy individual files you can use the function do_copyfiles_user
9 # as below (find_progs locates the programs and their libraries,
10 # then you manually copy them.
14 local dst=$1 # the destination root
15 log "--- put the libraries in /usr/lib to avoid conflicts"
16 mkdir -p ${dst}/usr/lib
17 log "-- import dropbear from its build directory --"
18 find_progs -L / -P /usr/ports/security/dropbear/work/dropbear-0.52 \
20 cp -p ${u_progs} ${dst}/bin
21 cp -p ${u_libs} ${dst}/usr/lib
22 log "--- also import ssh, scp and sshd ---"
23 find_progs -L / /usr/bin/ssh /usr/bin/scp /usr/sbin/sshd
24 cp -p ${u_progs} ${dst}/bin
25 cp -p ${u_libs} ${dst}/usr/lib