Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit f467fd1

Browse files
committed
Merge branch 'master' of github.com:keithduncan/iam-ssh-agent
2 parents a392010 + 8d8bb28 commit f467fd1

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

agent/.rpm/iam-ssh-agent.spec

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
%define __spec_install_post %{nil}
2+
%define __os_install_post %{_dbpath}/brp-compress
3+
%define debug_package %{nil}
4+
5+
Name: iam-ssh-agent
6+
Summary: ssh-agent compatible daemon that forwards list-keys and sign-data operations to an API Gateway backend, access controlled by the caller's IAM identity.
7+
Version: @@VERSION@@
8+
Release: @@RELEASE@@
9+
License: BSD
10+
Group: Applications/System
11+
Source0: %{name}-%{version}.tar.gz
12+
13+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14+
15+
%description
16+
%{summary}
17+
18+
%prep
19+
%setup -q
20+
21+
%install
22+
rm -rf %{buildroot}
23+
mkdir -p %{buildroot}
24+
cp -a * %{buildroot}
25+
26+
%clean
27+
rm -rf %{buildroot}
28+
29+
%files
30+
%defattr(-,root,root,-)
31+
%{_bindir}/*

agent/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ openssh-keys = "0.4.1"
2626
base64 = "0.11.0"
2727
env_logger = "0.7.1"
2828
signal-hook = "0.1.13"
29+
30+
[package.metadata.rpm.cargo]
31+
buildflags = ["--release"]
32+
33+
[package.metadata.rpm.targets]
34+
iam-ssh-agent = { path = "/usr/bin/iam-ssh-agent" }

0 commit comments

Comments
 (0)