26 lines
672 B
Bash
26 lines
672 B
Bash
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
|
|
pkgname=hl-workstation-env
|
|
pkgver=0.0.1
|
|
pkgrel=1
|
|
pkgdesc="Workstation environment for konchin.com homelab"
|
|
arch=(any)
|
|
url="https://gitea.konchin.com/package/hl-workstation-env"
|
|
license=('0BSD')
|
|
depends=(
|
|
'fail2ban'
|
|
)
|
|
install="$pkgname.install"
|
|
source=(
|
|
'jail.local'
|
|
'ssh-jail.local'
|
|
)
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
|
|
install -Dm644 'jail.local' "$pkgdir/etc/fail2ban/jail.local"
|
|
install -Dm644 'ssh-jail.local' "$pkgdir/etc/fail2ban/jail.d/ssh-jail.local"
|
|
}
|
|
sha256sums=('654de70aeeae86e663454cd7bd68dacab1b99cb386b5c587140a37f6596509a5'
|
|
'68b256ad918cdd6c088f24f2413867e34313e755611be5ef7a0105b985b28bea')
|