mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 23:06:40 +02:00
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=sish
|
|
pkgver=2.16.1
|
|
pkgrel=4
|
|
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
|
|
"
|
|
# !check: no tests provided by upstream
|
|
# net: download go modules
|
|
options="!check net"
|
|
|
|
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="
|
|
638b618199d8f6884ab40f31f320c43521735d795bbf5578aaea0942adae617245e1dc117ee6f607d120f043980b700dfdf3fbfbeeac71b45e5a1150d5f2377b sish-2.16.1.tar.gz
|
|
8d810e48e3106babdce734e4f83249c62de5b562c7b1c50a33914c426b5406f958d3b5868f68af1f1f766142b5cd1ef60f19457f059ff6f1985cae6001d79398 sish.initd
|
|
4b1e752dcd49ce7d8f145ad0b8bc3ea5a86dc322dc61048364a7c36386dfb21ea8b243d41bebc3db96c9c490f6b6e7e006536fe4ebfd27078f5b32181b8dd5d4 sish.confd
|
|
"
|