diff options
author | Erich Eckner <git@eckner.net> | 2022-01-28 08:29:23 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-01-28 08:44:39 +0100 |
commit | 9e6f530dc098f33b9f90cb1f8da48dc4f6c61ce1 (patch) | |
tree | 2d0f782a45a6f8b924ca77df75de50dfc97767bd | |
parent | 4aeb761d11576b9129940e7c1d7af9659c0b1b75 (diff) | |
download | archlinuxewe-9e6f530dc098f33b9f90cb1f8da48dc4f6c61ce1.tar.xz |
sshfp neu
-rwxr-xr-x | pkixssh/PKGBUILD | 8 | ||||
-rw-r--r-- | sshfp/PKGBUILD | 34 |
2 files changed, 41 insertions, 1 deletions
diff --git a/pkixssh/PKGBUILD b/pkixssh/PKGBUILD index 4438a932e..414b1ac11 100755 --- a/pkixssh/PKGBUILD +++ b/pkixssh/PKGBUILD @@ -7,7 +7,13 @@ arch=('armv6h' 'armv7h' 'aarch64' 'i486' 'i686' 'pentium4' 'x86_64') url='https://roumenpetrov.info/secsh/index.html' license=('BSD') groups=() -depends=(openssl zlib ldns) +_pinned_dependencies=( + 'glibc>=2.33' + 'libcrypt.so=2' + 'openssl=1.1.1.m' + 'zlib=1:1.2.11' +) +depends=(openssl zlib ldns "${_pinned_dependencies[@]}") makedepends=() backup=('etc/ssh/ssh_config' 'etc/ssh/sshd_config') source=( diff --git a/sshfp/PKGBUILD b/sshfp/PKGBUILD new file mode 100644 index 000000000..5dea48f0e --- /dev/null +++ b/sshfp/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Erich Eckner <arch at eckner dot net> +# Contributor: Phillip Smith <pkgbuild@phs.id.au> +# http://github.com/fukawi2/aur-packages + +pkgname=sshfp +pkgver=1.2.2 +pkgrel=1 +pkgdesc="Generates DNS SSHFP-type records from SSH public keys from public keys from a known_hosts file or from scanning the host's sshd daemon." +arch=('any') +license=('GPL') +depends=('python2' 'python2-dnspython') +url="https://github.com/xelerance/sshfp" +source=("$pkgname-$pkgver.tar.gz::https://github.com/xelerance/$pkgname/archive/${pkgver}.tar.gz") +md5sums=('3cedcc3463e72196ee2028543d03ebfc') + +build() { + cd "$srcdir"/$pkgname-$pkgver/ + + # use python2 instead of python + sed -e 's|python |python2 |g' \ + -i "$srcdir"/$pkgname-$pkgver/Makefile +} + +package() { + cd "$srcdir"/$pkgname-$pkgver/ + + make DESTDIR="$pkgdir" install + + sed -e 's|^#!/usr/bin/python$|#!/usr/bin/python2|g' \ + -i "$pkgdir"/usr/bin/sshfp \ + -i "$pkgdir"/usr/bin/dane +} + +# vim:set ts=2 sw=2 et: |