47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
name='openssh'
|
|
release='6'
|
|
version='10.0p1'
|
|
url='https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable'
|
|
description='OpenBSD ssh server & client'
|
|
email='aliriza.keskin@pardus.org.tr'
|
|
maintainer='aliriza'
|
|
license=('GPLv3')
|
|
source=("https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$version.tar.gz"
|
|
"sshd.initd"
|
|
"sshd.confd")
|
|
depends=(zlib libxcrypt openssl libmd)
|
|
makedepends=()
|
|
sha256sums=('021a2e709a0edf4250b1256bd5a9e500411a90dddabea830ed59cef90eb9d85c'
|
|
'SKIP'
|
|
'SKIP')
|
|
group=(net.misc)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
autoreconf -vfi
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib64/ \
|
|
--sysconfdir=/etc/ssh \
|
|
--without-pam \
|
|
--disable-strip \
|
|
--with-ssl-engine \
|
|
--with-privsep-user=nobody \
|
|
--with-pid-dir=/run \
|
|
--with-default-path='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
|
|
}
|
|
|
|
build(){
|
|
make $jobs
|
|
}
|
|
|
|
package(){
|
|
make install $jobs DESTDIR="${DESTDIR}"
|
|
install -m755 -D ../sshd.initd "$DESTDIR"/etc/init.d/sshd
|
|
install -m755 -D ../sshd.confd "$DESTDIR"/etc/conf.d/sshd
|
|
}
|
|
|