Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
aecf2f9e74
!15 Specification NestOS Project Component Description File
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2023-06-21 07:15:57 +00:00
duyiwei
05c68b32b8
Specification NestOS Project Component Description File
Signed-off-by: duyiwei <duyiwei@kylinos.cn>
2023-06-21 06:26:08 +00:00
openeuler-ci-bot
c6d8a27bdc
!12 Fix unsafe compile option STRIP
From: @ccdxx 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2022-12-09 08:28:47 +00:00
chendexi
ebad677d9d Fix unsafe compile option STRIP 2022-12-09 16:22:26 +08:00
openeuler-ci-bot
082345eef8
!9 【轻量级 PR】: [sync]手动同步master分支代码
From: @dingdingaaaaa 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2022-12-09 07:02:31 +00:00
丁紫薇
694cc5dc20
[sync]手动同步master分支代码
Signed-off-by: 丁紫薇 <dingziwei@kylinos.cn>
2022-12-09 06:22:42 +00:00
openeuler-ci-bot
0eb5b06074
!6 【NestOS】22.03-LTS-SP1选型升级至0.1.4
From: @duyiwei7w 
Reviewed-by: @fu-shanqing 
Signed-off-by: @fu-shanqing
2022-11-14 05:46:02 +00:00
duyiwei
c83d94fa72 upgrade to 0.1.4 2022-11-11 09:13:52 +08:00
openeuler-ci-bot
0552dddf6c
!4 [sync] PR-2: upgrade ssh-key-dir to 0.1.3
From: @openeuler-sync-bot 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
2022-11-07 07:11:19 +00:00
duyiwei
ab3325bae8 upgrade to 0.1.3
(cherry picked from commit 2566f36f3062f61f4c80b5a01c8b61b68ad250a6)
2022-06-07 16:06:51 +08:00
7 changed files with 35 additions and 21 deletions

View File

@ -1,30 +1,33 @@
# ssh-key-dir
#### 介绍
ssh-key-dir is an sshd AuthorizedKeysCommand that reads SSH authorized key files from a directory
ssh-key-dir is an sshd AuthorizedKeysCommand that reads SSH authorized key files from a directory, ~/.ssh/authorized_keys.d. It allows SSH keys to be managed by multiple tools and processes, without competing over ~/.ssh/authorized_keys.
#### 软件架构
软件架构说明
ssh-key-dir reads key files in lexigraphical order, ignoring any filenames starting with a dot.
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
Install ssh-key-dir rpm package:
yum install ssh-key-dir
You can also install just the ssh-key-dir binary with Rust's Cargo package manager:
cargo install ssh-key-dir
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
ssh-key-dir 是云底座操作系统NestOS的必需组件
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
master分支使用最新的上游版本如果检测到上游有最新版本发布先形成issue后再提交对应PR更新流程如下。
1. 提交issue
2. Fork 本仓库
3. 新建 Feat_xxx 分支
4. 提交代码
5. 新建 Pull Request
#### 特技

View File

@ -1,12 +1,11 @@
%define debug_package %{nil}
%bcond_without check
%global __cargo_skip_build 0
%global crate ssh-key-dir
Name: rust-%{crate}
Version: 0.1.2
Release: 1
Version: 0.1.4
Release: 2
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
License: ASL 2.0
@ -15,7 +14,7 @@ Source: %{crate}-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
sshd AuthorizedKeysCommand to read key files from ~/.ssh/authorized_keys.d.}
@ -61,14 +60,13 @@ replace-with = "vendored-sources"
directory = "vendor"
EOF
%build
%cargo_build
%install
%cargo_install
mkdir -p %{buildroot}%{_libexecdir}
mv %{_builddir}/ssh-key-dir-0.1.2/.cargo/bin/ssh-key-dir %{buildroot}%{_libexecdir}
mv %{_builddir}/ssh-key-dir-0.1.4/.cargo/bin/ssh-key-dir %{buildroot}%{_libexecdir}
install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key-dir.conf
%if %{with check}
@ -77,5 +75,14 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key
%endif
%changelog
* Fri Dec 09 2022 chendexi <chendexi@kylinos.cn> -0.1.4-2
- Fix unsafe compile option STRIP
* Tue Nov 08 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.4-1
- upgrade version to 0.1.4
* Tue Jun 07 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.3-1
- upgrade to 0.1.3
* Wed Jan 26 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.2-1
- Package init
- Package init

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
ssh-key-dir-0.1.4.crate Normal file

Binary file not shown.

4
ssh-key-dir.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: coreos/ssh-key-dir
tag_prefix: "v"
separator: "."