From 8db53f70bd6b445c546ecedfe11238d5f85a1d8d Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 9 Jul 2020 22:05:46 +0200 Subject: [PATCH] add(any/cs-dev-sshkeys): Init --- any/cs-dev-sshkeys/.gitignore | 6 ++++++ any/cs-dev-sshkeys/PKGBUILD | 11 ++++++++++ any/cs-dev-sshkeys/cs-dev-sshkeys.install | 25 +++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 any/cs-dev-sshkeys/.gitignore create mode 100644 any/cs-dev-sshkeys/PKGBUILD create mode 100644 any/cs-dev-sshkeys/cs-dev-sshkeys.install diff --git a/any/cs-dev-sshkeys/.gitignore b/any/cs-dev-sshkeys/.gitignore new file mode 100644 index 0000000..a7fbd40 --- /dev/null +++ b/any/cs-dev-sshkeys/.gitignore @@ -0,0 +1,6 @@ +* +!*.sh +!*.install +!.gitignore +!Makefile +!PKGBUILD \ No newline at end of file diff --git a/any/cs-dev-sshkeys/PKGBUILD b/any/cs-dev-sshkeys/PKGBUILD new file mode 100644 index 0000000..5da2c84 --- /dev/null +++ b/any/cs-dev-sshkeys/PKGBUILD @@ -0,0 +1,11 @@ +# Maintainer: Markus Pesch + +pkgname=cs-dev-sshkeys +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Register the development ssh keys in /root/.ssh/authorized_keys' +arch=('any') +url=https://git.cryptic.systems/volker.raschek/PKGBUILDs/any/cs-dev-sshkys +license=('Apache 2.0') +depends=('openssh') +install=${pkgname}.install \ No newline at end of file diff --git a/any/cs-dev-sshkeys/cs-dev-sshkeys.install b/any/cs-dev-sshkeys/cs-dev-sshkeys.install new file mode 100644 index 0000000..fa1b333 --- /dev/null +++ b/any/cs-dev-sshkeys/cs-dev-sshkeys.install @@ -0,0 +1,25 @@ +post_install(){ + cat >> root/.ssh/authorized_keys <> root/.ssh/authorized_keys <