mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add ssh authorized_keys
This commit is contained in:
parent
a818bbbe16
commit
40960587c2
12
pkg/de-p1st-ssh-key-placeholder/PKGBUILD
Normal file
12
pkg/de-p1st-ssh-key-placeholder/PKGBUILD
Normal file
@ -0,0 +1,12 @@
|
||||
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||
_pkgname=ssh-key-placeholder
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="ssh authorized_keys placeholder"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
license=('MIT')
|
||||
provides=('de-p1st-ssh-key')
|
||||
conflicts=('de-p1st-ssh-key')
|
23
pkg/de-p1st-ssh-key-yoda/PKGBUILD
Normal file
23
pkg/de-p1st-ssh-key-yoda/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
||||
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
||||
_pkgname=ssh-key-yoda
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="ssh authorized_keys for user yoda"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
license=('MIT')
|
||||
depends=('openssh')
|
||||
makedepends=('git') # to fetch source(s) via git
|
||||
provides=('de-p1st-ssh-key')
|
||||
conflicts=('de-p1st-ssh-key')
|
||||
source=("git+${url}.git")
|
||||
sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
|
||||
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
install -dm0700 "$pkgdir"/home/yoda/.ssh/
|
||||
install -m0600 authorized_keys "$pkgdir"/home/yoda/.ssh/authorized_keys
|
||||
}
|
1
pkg/de-p1st-ssh-key-yoda/authorized_keys
Normal file
1
pkg/de-p1st-ssh-key-yoda/authorized_keys
Normal file
@ -0,0 +1 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCpgihAg8Qzu5q+AGXHLR7p+rrS1yB0KlZb/Y/EwZT15EhEtsUMqBMRiY0TdjKQU0broyygZnymccLmCXvihEgk3zk/hP8VEDmN5wmE2tRBPR4lSjo8E1R8N79G+gaFkwi93QYh57MsGfa9k4tvGrJy0yaD7GrPqtQf+IIuvV14WJQAqnikTdbFqRjk5JGearYLU7jSKa+9NmR7JQ9NExoyIPgmQ/pd0Xc2qt8k5UGfz3HM9MAmIVQ30whK6m1iYZ8nxEidHrfreQx8NOa7ujo4zQnV1NYvRUjObr/qyIhPU6DYLT2mVRNupQFKx6LI38O4U13heugUFqJ3zvog3aDsriFiv8jzJAJvWXx7Q3TqKhqiG9VTkwBw1NDbCAOXKiEdMfiCYbdCfpNgdepU75bMloJcSQQVUqoH2tQhSbwKLuRFgOnyaHpvWbieXBRcUnfG8gg4p4jqiwx5laweEeOIOD/i7G1Mjx7Dj2ctnT/ILat/xsf+Y0W4eJr3bc5L9ghgw6wsKbNSqwjFUCFcHcARK3gvSH+hO2/BpgMVoyvZjO5PNuUqfsZ7bIIs5cDdyB/ly3irKuaRz1+3x1x4gPgSiOcji7HxPwogzhPsyfoRLHNt9tJ5X4nF2Iz1M5RTJpbZCi6yEj+9Q85FVjD76BEWuZe18kRrwhuLf/XgKdF9tQ== openpgp:0xA8B75370
|
@ -10,6 +10,7 @@ url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
license=('MIT')
|
||||
depends=('openssh' 'systemd')
|
||||
depends+=('holo' 'git' 'base') # holo and its dependencies: git because of git-diff; without base "holo apply" may fail on initial system installation
|
||||
depends+=('de-p1st-ssh-key')
|
||||
makedepends=('git')
|
||||
install='.install'
|
||||
source=("git+${url}.git")
|
||||
|
@ -22,7 +22,7 @@ install=
|
||||
changelog=
|
||||
source=("git+${url}.git")
|
||||
noextract=()
|
||||
sha256sums=('SKIP') # 'SKIP' for git soruces; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
|
||||
sha256sums=('SKIP') # 'SKIP' for git sources; Otherwise: autofill using updpkgsums, see https://man.archlinux.org/man/updpkgsums.8.en
|
||||
|
||||
build() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
Loading…
Reference in New Issue
Block a user