openssh: switch to libressl.

This commit is contained in:
Juan RP 2014-07-18 15:35:56 +02:00
parent 1f981a836a
commit 862665416c
2 changed files with 36 additions and 4 deletions

View file

@ -0,0 +1,32 @@
Index: configure.ac
===================================================================
RCS file: /var/cvs/openssh/configure.ac,v
retrieving revision 1.577
diff -u -p -r1.577 configure.ac
--- configure.ac 3 Jul 2014 01:54:19 -0000 1.577
+++ configure.ac 13 Jul 2014 23:34:33 -0000
@@ -1575,10 +1575,6 @@ AC_CHECK_FUNCS([ \
Blowfish_expandstate \
Blowfish_expand0state \
Blowfish_stream2word \
- arc4random \
- arc4random_buf \
- arc4random_stir \
- arc4random_uniform \
asprintf \
b64_ntop \
__b64_ntop \
@@ -2639,6 +2635,13 @@ fi
AC_SUBST([TEST_SSH_ECC])
AC_SUBST([COMMENT_OUT_ECC])
+
+AC_CHECK_FUNCS([ \
+ arc4random \
+ arc4random_buf \
+ arc4random_stir \
+ arc4random_uniform \
+])
saved_LIBS="$LIBS"
AC_CHECK_LIB([iaf], [ia_openinfo], [

View file

@ -3,15 +3,15 @@ _desc="The OpenSSH implementation of SSH protocol"
pkgname=openssh
version=6.6p1
revision=7
revision=8
build_style=gnu-configure
configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
--with-mantype=man --without-rpath --with-xauth=/usr/bin/xauth
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
--with-pid-dir=/run --with-pam --with-pie --without-kerberos5 LD=$CC"
hostmakedepends="libtool perl"
makedepends="zlib-devel openssl-devel pam-devel"
hostmakedepends="automake libtool perl"
makedepends="zlib-devel libressl-devel pam-devel"
short_desc="${_desc} - client"
replaces="openssh-client<6.1p1"
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config"
@ -31,7 +31,7 @@ pre_configure() {
patch -sNp1 -i identpersist.patch
msg_normal "$pkgver: applied identitypersist patch.\n"
fi
libtoolize -f
autoreconf -fi
}
post_install() {