aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssh')
-rw-r--r--main/openssh/APKBUILD33
1 files changed, 22 insertions, 11 deletions
diff --git a/main/openssh/APKBUILD b/main/openssh/APKBUILD
index 4250f8cd37..e0ef952517 100644
--- a/main/openssh/APKBUILD
+++ b/main/openssh/APKBUILD
@@ -11,6 +11,8 @@ depends="openssh-client"
makedepends="openssl-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-client"
source="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$pkgname-$_myver.tar.gz
+ openssh-fix-includes.diff
+ openssh-fix-utmp.diff
openssh-peaktput.diff
openssh-hmac-accel.diff
sshd.initd
@@ -40,19 +42,22 @@ prepare() {
build () {
cd "$_builddir"
- ./configure --prefix=/usr \
- --with-mantype=man \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --datadir=/usr/share/openssh \
+ --libexecdir=/usr/lib/ssh \
--mandir=/usr/share/man \
- --with-ldflags="${LDFLAGS}" \
- --disable-strip \
+ --with-mantype=man \
+ --with-ldflags="${LDFLAGS}" \
+ --disable-strip \
--disable-lastlog \
- --sysconfdir=/etc/ssh \
- --datadir=/usr/share/openssh \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- --with-md5-passwords \
- --with-ssl-engine \
- --libexecdir=/usr/lib/ssh \
+ --with-privsep-path=/var/empty \
+ --with-privsep-user=sshd \
+ --with-md5-passwords \
+ --with-ssl-engine \
--without-tcp-wrappers \
--without-pam \
|| return 1
@@ -95,16 +100,22 @@ client() {
}
md5sums="be46174dcbb77ebb4ea88ef140685de1 openssh-6.2p2.tar.gz
+99adc484731fcd5fc17b39a6f9fe055b openssh-fix-includes.diff
+223b1a488cd937388e99ce75e00fb7d4 openssh-fix-utmp.diff
949ff348573438163240c60d6c3618eb openssh-peaktput.diff
c65d454dc5b149647273485fc184636d openssh-hmac-accel.diff
cb0dd08c413fad346f0c594107b4a2e0 sshd.initd
b35e9f3829f4cfca07168fcba98749c7 sshd.confd"
sha256sums="7f29b9d2ad672ae0f9e1dcbff871fc5c2e60a194e90c766432e32161b842313b openssh-6.2p2.tar.gz
+41940659600fe455c43247c6a7cb3d258c3abb5fcec40fc5559d243277a2be35 openssh-fix-includes.diff
+9f9cbea58ba220e64a97b190169b732af47bd1791d2629fdc3a469856a03db44 openssh-fix-utmp.diff
dab18c1fd1496c1ba4a4fe08c6c6b8cf3347fc82878d85498202f50168161f6b openssh-peaktput.diff
902ea83a9ef726f32b096280da0f1b722f4372886c65c4e28985ee57e725d95c openssh-hmac-accel.diff
3fa062fd4bfac64abf21f3c1d0548f1dfcf3c6e56e84ece14c848f53a293024e sshd.initd
29c6d57ac3ec6018cadc6ba6cd9b90c9ed46e20049b970fdcc68ee2481a2ee41 sshd.confd"
sha512sums="80c8fb6bb25e86e8261cc7c6671773cdc0d9b0da9c9ebca33b3d5278c44197734fe32e878e1f444b693c4b49b0a525458aa07e57c231cefafc23a9c6975b05df openssh-6.2p2.tar.gz
+5521b3a02d36573480c799c748badeab72127b03a85c73184c556d69e8e20643c823c43e5d06f6edb46e83310969333c08427dacf6c6f09227b1871c48c96984 openssh-fix-includes.diff
+de5f9b3f64e9bb13a1eed348f6f1239aa35b62bb71ee1af091437ea24b24c65681969469ce1680e307d481c51fb2cc5ebe97ab79902a04c36341a770ba0f7bbd openssh-fix-utmp.diff
64f2c94f41225c76428440d778b0bf5657408123d1cd7d6cb4bdf5000bfba8ad80ec5e57acd0880adc7a8ea7e2f1a64e329b83cf8be630b9aaebff6ab138d025 openssh-peaktput.diff
aaa128126400171d0755038a846672aa7b1e87340edf73a672962d403abf404ef1821466b17da51dde25f04ec7533ae4a653399ccc912ea9c4a7b1a14032e76f openssh-hmac-accel.diff
1483e2bcd700da9b02f04508d490b472c816344787bf1675fef2f7e27f72b91e4323e4e8c1db701e47d81d37d6d4b0623eaeac46b2cf589ae5ad69f363baa594 sshd.initd