aports/configs/openssh-sftp-seedbox/APKBUILD

27 lines
975 B
Plaintext
Raw Normal View History

2020-11-20 16:31:49 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-openssh-sftp-seedbox
pkgver=2020.12.7
2020-11-20 16:31:49 +00:00
pkgrel=0
pkgdesc="OpenSSH seedbox sftp access and user"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openssh"
source="
seedbox-conf
allowed_keys
"
options="!check"
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"