24 lines
847 B
Plaintext
24 lines
847 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_svcname=openssh-sftp-seedbox
|
|
|
|
. ../APKBUILD-config.common
|
|
|
|
pkgver=2020.12.07
|
|
pkgrel=1
|
|
source="
|
|
seedbox-conf
|
|
allowed_keys
|
|
"
|
|
|
|
package() {
|
|
install -dm755 -o root -g root "$pkgdir"/sftp-chroot
|
|
install -Dm644 allowed_keys "$pkgdir"/etc/ssh/authorized_keys/seedbox
|
|
# NOTE: Inclusion of this file doesn't work in openssh
|
|
# It has to be appended manually to /etc/ssh/sshd_config
|
|
install -Dm644 seedbox-conf "$pkgdir"/etc/ssh/sshd.conf.d/redxen/seedbox
|
|
}
|
|
|
|
sha512sums="29d0bc0a52bd87d7544ce1d369d676ac38dcc4c18dac24b43b6bb649b7097617d53747935b0b4304dfce161158f5e8f008436bf036899b4e857b64f3c7c11a58 seedbox-conf
|
|
f87e66868b1315cb63e89a9d7f47e7ffb889b9ec19bcd82e307774169446c546e6d3d51a977df7bffd70b83889979151a557575dc13a9f1d3c08d158e1a5a8cc allowed_keys"
|