Skip to content
Snippets Groups Projects
Commit 1ef9f4f7 authored by Leo's avatar Leo Committed by Francesco Colista
Browse files

community/autossh: modernize, fix url, fix license

parent 8ee62d84
No related branches found
No related tags found
No related merge requests found
...@@ -2,22 +2,19 @@ ...@@ -2,22 +2,19 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=autossh pkgname=autossh
pkgver=1.4g pkgver=1.4g
pkgrel=0 pkgrel=1
pkgdesc="Automatically restart SSH sessions and tunnels" pkgdesc="Automatically restart SSH sessions and tunnels"
url="http://www.harding.motd.ca/autossh/" url="https://www.harding.motd.ca/autossh/"
arch="all" arch="all"
license="BSD" license="MIT"
depends="openssh-client" depends="openssh-client"
makedepends=""
options="!check" # no unit tests available options="!check" # no unit tests available
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://www.harding.motd.ca/autossh/autossh-$pkgver.tgz source="http://www.harding.motd.ca/autossh/autossh-$pkgver.tgz
README.alpine README.alpine
" "
builddir="$srcdir/autossh-$pkgver"
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -30,7 +27,6 @@ build() { ...@@ -30,7 +27,6 @@ build() {
} }
package() { package() {
cd "$builddir"
install -D -m755 autossh \ install -D -m755 autossh \
"$pkgdir"/usr/bin/autossh "$pkgdir"/usr/bin/autossh
install -D -m644 CHANGES \ install -D -m644 CHANGES \
...@@ -44,7 +40,7 @@ package() { ...@@ -44,7 +40,7 @@ package() {
install -D -m644 autossh.1 \ install -D -m644 autossh.1 \
"$pkgdir"/usr/share/man/man1/autossh.1 "$pkgdir"/usr/share/man/man1/autossh.1
install -Dm644 "$srcdir"/README.alpine \ install -Dm644 "$srcdir"/README.alpine \
"$pkgdir"/usr/share/doc/$pkgname/README.alpine "$pkgdir"/usr/share/doc/$pkgname/README.alpine
} }
sha512sums="499b560d978736f4e764d5d828282fdaba1cbf94811ae6be0be5434d9c1cdc6ca5513d728b6372aa243843cb1b91e61cfc5fdeb77ddb0b6a7ce027218ba67466 autossh-1.4g.tgz sha512sums="499b560d978736f4e764d5d828282fdaba1cbf94811ae6be0be5434d9c1cdc6ca5513d728b6372aa243843cb1b91e61cfc5fdeb77ddb0b6a7ce027218ba67466 autossh-1.4g.tgz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment