mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-12 09:12:36 +02:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=sish
|
|
pkgver=2.11.0
|
|
pkgrel=0
|
|
pkgdesc="HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH"
|
|
url="https://github.com/antoniomika/sish"
|
|
# s390x, riscv64: doesn't compile
|
|
arch="all !s390x !riscv64"
|
|
license="MIT"
|
|
makedepends="go"
|
|
install="$pkgname.pre-install"
|
|
subpackages="$pkgname-openrc"
|
|
source="https://github.com/antoniomika/sish/archive/refs/tags/v$pkgver/sish-$pkgver.tar.gz
|
|
sish.initd
|
|
sish.confd
|
|
"
|
|
options="!check" # no tests provided by upstream
|
|
|
|
build() {
|
|
go build -o sish
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 sish "$pkgdir"/usr/bin/sish
|
|
install -Dm644 config.example.yml "$pkgdir"/etc/sish/config.yml
|
|
|
|
install -Dm755 "$srcdir"/sish.initd "$pkgdir"/etc/init.d/sish
|
|
install -Dm644 "$srcdir"/sish.confd "$pkgdir"/etc/conf.d/sish
|
|
}
|
|
|
|
sha512sums="
|
|
b2606dce73dcebf74ae24255c9ccae61c7a5ae2f6bc7767f6ac07ff4c01ae76fe88e0c7cd05c44408c1cafeac13e1facfd1038ef950e077ea9adada4172fe9ec sish-2.11.0.tar.gz
|
|
8d810e48e3106babdce734e4f83249c62de5b562c7b1c50a33914c426b5406f958d3b5868f68af1f1f766142b5cd1ef60f19457f059ff6f1985cae6001d79398 sish.initd
|
|
4b1e752dcd49ce7d8f145ad0b8bc3ea5a86dc322dc61048364a7c36386dfb21ea8b243d41bebc3db96c9c490f6b6e7e006536fe4ebfd27078f5b32181b8dd5d4 sish.confd
|
|
"
|