blob: 7c6c00eedf230f3e266738f0dc1cb6a5ac061a68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Sven Wick <sven.wick@gmx.de>
pkgname=ssh-tools
pkgver=1.7
pkgrel=1
pkgdesc="collection of various tools using ssh"
arch=("any")
url="https://github.com/vaporup/ssh-tools"
license=("GPL")
depends=("openssh")
optdepends=("colordiff: colors for ssh-diff")
makedepends=("help2man")
changelog=
source=("https://github.com/vaporup/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("da60a5c1925f17743585d7cb1167f9ef")
build() {
cd "$pkgname-$pkgver"
mkdir -p "man"
help2man -n "check if host is reachable using ssh_config" -S SSH-TOOLS -N --version-string " " -o man/ssh-ping.1 ./ssh-ping
help2man -n "shows version of the SSH server you are connecting to" -S SSH-TOOLS -N --version-string " " -o man/ssh-version.1 ./ssh-version
help2man -n "diff a file over SSH" -S SSH-TOOLS -N --version-string " " -o man/ssh-diff.1 ./ssh-diff
help2man -n "get some facts about the remote system" -S SSH-TOOLS -N --version-string " " -o man/ssh-facts.1 ./ssh-facts
help2man -n "prints server host keys in several formats" -S SSH-TOOLS -N --version-string " " -o man/ssh-hostkeys.1 ./ssh-hostkeys
help2man -n "shows validity and information of SSH certificates" -S SSH-TOOLS -N --version-string " " -o man/ssh-certinfo.1 ./ssh-certinfo
help2man -n "prints keys in several formats" -S SSH-TOOLS -N --version-string " " -o man/ssh-keyinfo.1 ./ssh-keyinfo
help2man -n "enforces password authentication" -S SSH-TOOLS -N --version-string " " -o man/ssh-force-password.1 ./ssh-force-password
}
package() {
cd "$pkgname-$pkgver"
mkdir -p $pkgdir/usr/share/man/man1/
cp man/* $pkgdir/usr/share/man/man1/
mkdir -p $pkgdir/usr/bin/
cp ssh-* $pkgdir/usr/bin/
}
|