From 6b6898d905270975a8d72f58c7138d008bb3c615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 16 May 2016 11:56:20 -0300 Subject: openssh-knock-7.2p2-2: updating version --- pcr/openssh-knock/PKGBUILD | 21 ++++++++++----------- pcr/openssh-knock/install | 10 ---------- pcr/openssh-knock/sshdgenkeys.service | 6 ++---- 3 files changed, 12 insertions(+), 25 deletions(-) delete mode 100644 pcr/openssh-knock/install diff --git a/pcr/openssh-knock/PKGBUILD b/pcr/openssh-knock/PKGBUILD index 12b962e38..e2573677b 100644 --- a/pcr/openssh-knock/PKGBUILD +++ b/pcr/openssh-knock/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 244461 2015-08-21 07:49:53Z bisson $ +# $Id: PKGBUILD 268047 2016-05-14 22:24:23Z bisson $ # Maintainer (Arch): Gaetan Bisson # Contributor (Arch): Aaron Griffin # Contributor (Arch): judd @@ -7,8 +7,9 @@ _pkgname=openssh pkgname=openssh-knock -pkgver=7.1p1 -pkgrel=1 +pkgver=7.2p2 +_knockpatchver=7.2p2 +pkgrel=2 pkgdesc='Free version of the SSH connectivity tools, with support for stealth TCP sockets' url='http://www.openssh.org/portable.html' license=('custom:BSD') @@ -21,18 +22,18 @@ 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} +source=("http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${_pkgname}-${pkgver}.tar.gz"{,.asc} #"http://gnunet.org/sites/default/files/${_pkgname}-linux-knock-patch_0.diff" - "https://repo.parabola.nu/other/knock/patches/openssh/${_pkgname}-7.0p1-linux-knock-patch.diff"{,.sig} + "https://repo.parabola.nu/other/knock/patches/openssh/${_pkgname}-${_knockpatchver}-linux-knock-patch.diff"{,.sig} 'sshdgenkeys.service' 'sshd@.service' 'sshd.service' 'sshd.socket' 'sshd.conf' 'sshd.pam') -sha1sums=('ed22af19f962262c493fcc6ed8c8826b2761d9b6' 'SKIP' - '36fc52e849ef5baf20f48b3d8bd0568849d45dd6' 'SKIP' - 'cc1ceec606c98c7407e7ac21ade23aed81e31405' +sha1sums=('70e35d7d6386fe08abbd823b3a12a3ca44ac6d38' 'SKIP' + '37d0c4e91e0507b00644f9fa47e3e0e64ad58741' 'SKIP' + 'caaa801da59a5d14c0c29c43e9de5fef281ea03e' '6a0ff3305692cf83aca96e10f3bb51e1c26fccda' 'ec49c6beba923e201505f5669cea48cad29014db' 'e12fa910b26a5634e5a6ac39ce1399a132cf6796' @@ -41,11 +42,9 @@ sha1sums=('ed22af19f962262c493fcc6ed8c8826b2761d9b6' 'SKIP' backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config' 'etc/pam.d/sshd') -install=install - prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" - patch -Np1 -i "${srcdir}"/${_pkgname}-7.0p1-linux-knock-patch.diff + patch -p1 -i "${srcdir}"/${_pkgname}-${_knockpatchver}-linux-knock-patch.diff } build() { diff --git a/pcr/openssh-knock/install b/pcr/openssh-knock/install deleted file mode 100644 index 6f0cd3703..000000000 --- a/pcr/openssh-knock/install +++ /dev/null @@ -1,10 +0,0 @@ -post_upgrade() { - if [[ $(vercmp $2 6.2p2) = -1 ]]; then - cat < The sshd daemon has been moved to /usr/bin alongside all binaries. -==> Please update this path in your scripts if applicable. - -EOF - fi -} diff --git a/pcr/openssh-knock/sshdgenkeys.service b/pcr/openssh-knock/sshdgenkeys.service index 1d01b7acf..cfb9f6aa1 100644 --- a/pcr/openssh-knock/sshdgenkeys.service +++ b/pcr/openssh-knock/sshdgenkeys.service @@ -1,15 +1,13 @@ [Unit] Description=SSH Key Generation -ConditionPathExists=|!/etc/ssh/ssh_host_key -ConditionPathExists=|!/etc/ssh/ssh_host_key.pub -ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key -ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub +ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key +ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub [Service] ExecStart=/usr/bin/ssh-keygen -A -- cgit v1.2.3-2-g168b