diff options
Diffstat (limited to 'pcr/openssh-knock/PKGBUILD')
-rw-r--r-- | pcr/openssh-knock/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pcr/openssh-knock/PKGBUILD b/pcr/openssh-knock/PKGBUILD index bae0ee03d..2ade20dea 100644 --- a/pcr/openssh-knock/PKGBUILD +++ b/pcr/openssh-knock/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 223946 2014-10-07 02:36:53Z bisson $ +# $Id: PKGBUILD 241658 2015-07-01 05:21:46Z bisson $ # Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> # Contributor (Arch): Aaron Griffin <aaron@archlinux.org> # Contributor (Arch): judd <jvinet@zeroflux.org> @@ -7,7 +7,7 @@ _pkgname=openssh pkgname=openssh-knock -pkgver=6.7p1 +pkgver=6.9p1 pkgrel=1 pkgdesc='Free version of the SSH connectivity tools, with support for stealth TCP sockets' url='http://www.openssh.org/portable.html' @@ -15,23 +15,28 @@ license=('custom:BSD') arch=('i686' 'x86_64') conflicts=(${_pkgname}) provides=(${_pkgname}) -makedepends=('linux-headers') +makedepends=('linux-libre-headers') depends=('krb5' 'openssl' 'libedit' 'ldns') optdepends=('xorg-xauth: X11 forwarding' 'x11-ssh-askpass: input passphrase in X') +validpgpkeys=('59C2118ED206D927E667EBE3D3E5F56B6D920D30' + 'C92BAA713B8D53D3CAE63FC9E6974752F9704456') source=("ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${_pkgname}-${pkgver}.tar.gz"{,.asc} - "http://gnunet.org/sites/default/files/${_pkgname}-linux-knock-patch_0.diff" + #"http://gnunet.org/sites/default/files/${_pkgname}-linux-knock-patch_0.diff" + "https://repo.parabola.nu/other/knock/patches/openssh/${_pkgname}-${pkgver}-linux-knock-patch.diff"{,.sig} 'sshdgenkeys.service' 'sshd@.service' 'sshd.service' 'sshd.socket' + 'sshd.conf' 'sshd.pam') -sha1sums=('14e5fbed710ade334d65925e080d1aaeb9c85bf6' 'SKIP' - 'f9ea1f6411548e5c29383664b5a57866bc2579f4' +sha1sums=('86ab57f00d0fd9bf302760f2f6deac1b6e9df265' 'SKIP' + '149450fd40099e274a09b033cd2ff6e7439e64e8' 'SKIP' 'cc1ceec606c98c7407e7ac21ade23aed81e31405' '6a0ff3305692cf83aca96e10f3bb51e1c26fccda' 'ec49c6beba923e201505f5669cea48cad29014db' 'e12fa910b26a5634e5a6ac39ce1399a132cf6796' + 'c9b2e4ce259cd62ddb00364d3ee6f00a8bf2d05f' 'd93dca5ebda4610ff7647187f8928a3de28703f3') backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd') @@ -41,7 +46,7 @@ install=install prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}"/${_pkgname}-linux-knock-patch_0.diff + patch -Np1 -i "${srcdir}"/${_pkgname}-${pkgver}-linux-knock-patch.diff } build() { @@ -89,6 +94,7 @@ package() { install -Dm644 ../sshd@.service "${pkgdir}"/usr/lib/systemd/system/sshd@.service install -Dm644 ../sshd.service "${pkgdir}"/usr/lib/systemd/system/sshd.service install -Dm644 ../sshd.socket "${pkgdir}"/usr/lib/systemd/system/sshd.socket + install -Dm644 ../sshd.conf "${pkgdir}"/usr/lib/tmpfiles.d/sshd.conf install -Dm644 ../sshd.pam "${pkgdir}"/etc/pam.d/sshd install -Dm755 contrib/findssl.sh "${pkgdir}"/usr/bin/findssl.sh |