2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/openssh/build

22 lines
495 B
Plaintext
Raw Normal View History

2019-07-01 05:40:19 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--datadir=/usr/share/openssh \
--sysconfdir=/etc/ssh \
--without-selinux \
--with-privsep-user=nobody \
--with-mantype=doc \
--without-rpath \
--disable-strip \
--with-ssl-engine \
--with-pid-dir=/run \
--disable-wtmp \
--disable-utmp
make
make DESTDIR="$1" install
install -m 755 contrib/ssh-copy-id "$1/usr/bin/ssh-copy-id"
install -m 644 contrib/ssh-copy-id.1 "$1/usr/share/man/man8/ssh-copy-id.1"