Compare commits
No commits in common. "c10s" and "c9-beta" have entirely different histories.
9
.gitignore
vendored
9
.gitignore
vendored
@ -1,7 +1,2 @@
|
|||||||
/ssh-key-dir-0.1.1.crate
|
SOURCES/ssh-key-dir-0.1.4-vendor.tar.gz
|
||||||
/ssh-key-dir-0.1.2.crate
|
SOURCES/ssh-key-dir-0.1.4.crate
|
||||||
/ssh-key-dir-0.1.2-vendor.tar.gz
|
|
||||||
/ssh-key-dir-0.1.3.crate
|
|
||||||
/ssh-key-dir-0.1.3-vendor.tar.gz
|
|
||||||
/ssh-key-dir-0.1.4.crate
|
|
||||||
/ssh-key-dir-0.1.4-vendor.tar.gz
|
|
||||||
|
2
.rust-ssh-key-dir.metadata
Normal file
2
.rust-ssh-key-dir.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
20231db85169a7aaacac094fb2b1b7d6d0fa36f6 SOURCES/ssh-key-dir-0.1.4-vendor.tar.gz
|
||||||
|
82075ed3d4e064d9138f82ff1ad08fd7187cdffa SOURCES/ssh-key-dir-0.1.4.crate
|
@ -1,3 +0,0 @@
|
|||||||
# rust-ssh-key-dir
|
|
||||||
|
|
||||||
sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
|
@ -5,10 +5,11 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Release: 9%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
||||||
|
|
||||||
License: Apache-2.0
|
# Upstream license specification: Apache-2.0
|
||||||
|
License: ASL 2.0
|
||||||
URL: https://crates.io/crates/ssh-key-dir
|
URL: https://crates.io/crates/ssh-key-dir
|
||||||
Source0: %{crates_source}
|
Source0: %{crates_source}
|
||||||
# not used on Fedora
|
# not used on Fedora
|
||||||
@ -16,7 +17,7 @@ Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}
|
|||||||
|
|
||||||
ExclusiveArch: %{rust_arches}
|
ExclusiveArch: %{rust_arches}
|
||||||
|
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel} && !0%{?eln}
|
||||||
BuildRequires: rust-toolset
|
BuildRequires: rust-toolset
|
||||||
%else
|
%else
|
||||||
BuildRequires: rust-packaging >= 21
|
BuildRequires: rust-packaging >= 21
|
||||||
@ -29,10 +30,10 @@ sshd AuthorizedKeysCommand to read key files from ~/.ssh/authorized_keys.d.}
|
|||||||
|
|
||||||
%package -n %{crate}
|
%package -n %{crate}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
# Apache-2.0
|
# ASL 2.0
|
||||||
# MIT
|
# MIT
|
||||||
# Apache-2.0 OR MIT
|
# MIT or ASL 2.0
|
||||||
License: (Apache-2.0 OR MIT) AND Apache-2.0 AND MIT
|
License: ASL 2.0 and MIT
|
||||||
Requires: openssh-server
|
Requires: openssh-server
|
||||||
Requires(post): openssh-server
|
Requires(post): openssh-server
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
@ -45,10 +46,6 @@ Requires(postun): systemd
|
|||||||
%{_libexecdir}/ssh-key-dir
|
%{_libexecdir}/ssh-key-dir
|
||||||
%config(noreplace) %{_sysconfdir}/ssh/sshd_config.d/40-ssh-key-dir.conf
|
%config(noreplace) %{_sysconfdir}/ssh/sshd_config.d/40-ssh-key-dir.conf
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%license LICENSE.dependencies
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%license cargo-vendor.txt
|
|
||||||
%endif
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%post -n %{crate}
|
%post -n %{crate}
|
||||||
@ -60,28 +57,32 @@ if [ $1 == 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1 %{?rhel:-a1}
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel} && !0%{?eln}
|
||||||
%cargo_prep -v vendor
|
tar xvf %{SOURCE1}
|
||||||
|
mkdir -p .cargo
|
||||||
|
cat >.cargo/config << EOF
|
||||||
|
[source.crates-io]
|
||||||
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
|
[source.vendored-sources]
|
||||||
|
directory = "vendor"
|
||||||
|
EOF
|
||||||
%else
|
%else
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !0%{?rhel}
|
|
||||||
|
%if !0%{?rhel} || 0%{?eln}
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%cargo_generate_buildrequires
|
%cargo_generate_buildrequires
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cargo_build
|
%cargo_build
|
||||||
%cargo_license_summary
|
|
||||||
%{cargo_license} > LICENSE.dependencies
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%cargo_vendor_manifest
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel} && !0%{?eln}
|
||||||
%make_install INSTALL="install -p -c"
|
%make_install INSTALL="install -p -c"
|
||||||
%else
|
%else
|
||||||
%cargo_install
|
%cargo_install
|
||||||
@ -95,48 +96,17 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.1.4-9
|
|
||||||
- Bump release for October 2024 mass rebuild:
|
|
||||||
Resolves: RHEL-64018
|
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.1.4-8
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* Fri Feb 02 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.1.4-7
|
|
||||||
- Update Rust macro usage
|
|
||||||
|
|
||||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Oct 24 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.1.4-5
|
|
||||||
- Use vendored dependencies in ELN builds
|
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-3
|
|
||||||
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.
|
|
||||||
|
|
||||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Oct 14 2022 Steven Presti <spresti@redhat.com> - 0.1.4-1
|
* Fri Oct 14 2022 Steven Presti <spresti@redhat.com> - 0.1.4-1
|
||||||
- New release
|
- New release
|
||||||
- Regenerate with rust2rpm 22
|
- Regenerate with rust2rpm 22
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-4
|
* Wed Mar 09 2022 Timothée Ravier <tim@siosm.fr> - 0.1.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Remove Windows binaries from vendor tarball
|
||||||
|
|
||||||
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1.3-3
|
|
||||||
- Rebuild with package notes
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 18 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.1.3-1
|
* Tue Jan 18 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.1.3-1
|
||||||
- New release
|
- New release
|
||||||
|
|
||||||
* Fri Jan 14 2022 Sohan Kunkerkar <skunkerk@redhat.com> - 0.1.2-9
|
* Mon Jan 17 2022 Sohan Kunkerkar <skunkerk@redhat.com> - 0.1.2-9
|
||||||
- Vendor rust dependencies on el9
|
- Vendor rust dependencies on el9
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-8
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-8
|
@ -1,7 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-10
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} # this is the testcase identifier, which OSCI pipeline uses
|
|
||||||
|
|
2
sources
2
sources
@ -1,2 +0,0 @@
|
|||||||
SHA512 (ssh-key-dir-0.1.4.crate) = e89b35ea92196701a14a36e4de74d9752994f5ccfb5af0e0b4651b9de962e7e2112c3e150b0decba1195701dfdf50db9ae1516f1e262ff883743c237f6c33632
|
|
||||||
SHA512 (ssh-key-dir-0.1.4-vendor.tar.gz) = b9366979d200a486a4b04a1fbe3585644fe19f383f21784edfc9da71dfa1df0dcdf4860f1491db7a36e347ebc0737df510ccd9e7a94e06184bfb88a420adb04f
|
|
@ -1,9 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tests:
|
|
||||||
- simple:
|
|
||||||
dir: .
|
|
||||||
run: "/usr/libexec/ssh-key-dir --help"
|
|
Loading…
Reference in New Issue
Block a user