mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
23 lines
620 B
Plaintext
23 lines
620 B
Plaintext
name=openssh
|
|
revision=1
|
|
from_source=openssh
|
|
imagedeps="gcc"
|
|
hostdeps="xgcc xbinutils"
|
|
deps="base zlib openssl libxcrypt"
|
|
|
|
configure() {
|
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --sysconfdir=/etc/ssh --with-privsep-path=/var/lib/sshd --with-default-path=${prefix}/bin --with-superuser-path=${prefix}/sbin:${prefix}/bin --with-pid-dir=/run
|
|
}
|
|
|
|
build() {
|
|
make -j ${parallelism}
|
|
}
|
|
|
|
package() {
|
|
install -v -m700 -d ${dest_dir}/var/lib/sshd
|
|
install -v -d ${dest_dir}/run
|
|
make install DESTDIR=${dest_dir}
|
|
mkdir -p ${dest_dir}/etc/init.d
|
|
cp ${base_dir}/service-scripts/sshd ${dest_dir}/etc/init.d
|
|
}
|