makedeb


ssh-tools 1.8-1


collection of various tools using ssh

Click here to go back to the commit logs for ssh-tools.

Commit:


Hash: 7e8d880ae96f0d5943a38ca18ab5c99a594a6a06

Message: Update ssh-tools to 1.8

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 7c15ab9..e0c7b80 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,17 @@
-pkgbase = ssh-tools
-	pkgdesc = collection of various tools using ssh
-	pkgver = 1.7
-	pkgrel = 1
-	url = https://github.com/vaporup/ssh-tools
-	arch = any
-	license = GPL
-	makedepends = help2man
-	depends = openssh-client
-	optdepends = colordiff: colors for ssh-diff
-	source = https://github.com/vaporup/ssh-tools/archive/v1.7.tar.gz
-	md5sums = da60a5c1925f17743585d7cb1167f9ef
-
+generated-by = makedeb
 pkgname = ssh-tools
+changelog = 
+pkgbase = ssh-tools
+pkgdesc = collection of various tools using ssh
+pkgrel = 1
+pkgver = 1.8
+url = https://codeberg.org/vaporup/ssh-tools
+arch = any
+depends = openssh-client
+license = GPL
+makedepends = help2man
+optdepends = colordiff: colors for ssh-diff
+source = https://codeberg.org/vaporup/ssh-tools/archive/v1.8.tar.gz
+md5sums = 10ca72357514b1be61afdd8b81a3b866
+makedepends = help2man
+optdepends = colordiff: colors for ssh-diff
diff --git a/PKGBUILD b/PKGBUILD
index 9fd2b94..67613d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,39 +2,108 @@
 # Maintainer: Sven Wick <sven.wick@gmx.de>
 
 pkgname=ssh-tools
-pkgver=1.7
+pkgver=1.8
 pkgrel=1
 pkgdesc="collection of various tools using ssh"
 arch=("any")
-url="https://github.com/vaporup/ssh-tools"
+url="https://codeberg.org/vaporup/ssh-tools"
 license=("GPL")
 depends=("openssh-client")
 optdepends=("colordiff: colors for ssh-diff")
 makedepends=("help2man")
 changelog=
-source=("https://github.com/vaporup/${pkgname}/archive/v${pkgver}.tar.gz")
-md5sums=("da60a5c1925f17743585d7cb1167f9ef")
+source=("https://codeberg.org/vaporup/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=("10ca72357514b1be61afdd8b81a3b866")
 
 build() {
 
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   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
+  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
+
+  help2man \
+          -n "quickly echo path to use for scp, rsync" \
+          -S SSH-TOOLS \
+          -N \
+          --version-string " " \
+          -o man/ssh-pwd.1 \
+          ./ssh-pwd
+
+  pod2man \
+          -r SSH-TOOLS \
+          -c "User Commands" \
+          ./ssh-last \
+          man/ssh-last.1
 
 }
 
 package() {
 
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
 
   mkdir -p $pkgdir/usr/share/man/man1/
   cp man/* $pkgdir/usr/share/man/man1/