The package rpms/credentials-fetcher.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/credentials-fetcher.git/commit/?id=7....
Change: -ExclusiveArch: x86_64 aarch64 s390x
Thanks.
Full change: ============
commit 74cf21b586c1023970cac8f5b99bcf5c1c22cf01 Author: Tom spot Callaway spotaws@amazon.com Date: Mon Mar 30 12:47:55 2026 -0400
move to go, 2.0.1
diff --git a/.gitignore b/.gitignore index e6ad6a3..aadce76 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ /v.1.2.0.tar.gz /v.1.3.6.tar.gz /v.1.3.8.tar.gz +/credentials-fetcher-2.0.1.tar.gz +/credentials-fetcher-2.0.1-vendor.tar.bz2 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/credentials-fetcher.spec b/credentials-fetcher.spec index 448cf59..a6e50cb 100644 --- a/credentials-fetcher.spec +++ b/credentials-fetcher.spec @@ -1,226 +1,122 @@ -%global major_version 1 -%global minor_version 3 -%global patch_version 8 +# Generated by go2rpm 1.19.0 +# Check assumes a lot of network setup that is not valid +%bcond check 0
-# For handling bump release by rpmdev-bumpspec and mass rebuild -%global baserelease 8 -%define _unpackaged_files_terminate_build 0 +# Define _unitdir if not already defined +%{!?_unitdir: %global _unitdir /usr/lib/systemd/system}
-Name: credentials-fetcher -Version: %{major_version}.%{minor_version}.%{patch_version} -Release: %{baserelease}%{?dist} -Summary: credentials-fetcher is a daemon that refreshes tickets or tokens periodically - -License: Apache-2.0 -URL: https://github.com/aws/credentials-fetcher -Source0: https://github.com/aws/credentials-fetcher/archive/refs/tags/v.%%7Bversion%7... - -# fix protobuf detection for modern protobuf -# https://github.com/aws/credentials-fetcher/pull/116 -# Cherry-picked to v.1.3.6 and re-created against the released archive -# Patch: credentials-fetcher-1.3.6-fixprotobuf.patch -# Bump dotnet-sdk to 8.0 -#Patch: credentials-fetcher-1.3.6-fix-dotnet-version.patch -# Disable integ-tests for Fedora, for now -Patch0: credentials-fetcher-1.3.8-disable-integ-tests-for-Fedora.patch -# Also disable integ-tests for EL targets, for now -Patch1: credentials-fetcher-1.3.7-no-api-tests-on-el.patch - -BuildRequires: cmake chrpath openldap-clients grpc-devel gcc-c++ glib2-devel jsoncpp-devel -BuildRequires: openssl-devel zlib-devel protobuf-devel re2-devel krb5-devel systemd-devel -BuildRequires: systemd-rpm-macros dotnet-sdk-8.0 grpc-plugins - -%if 0%{?amzn} >= 2023 -BuildRequires: aws-sdk-cpp-devel aws-sdk-cpp aws-sdk-cpp-static -%endif - -Requires: bind-utils openldap openldap-clients awscli dotnet-runtime-8.0 jsoncpp +# Define _libexec if not already defined +%{!?_libexec: %global _libexec /usr/libexec} + +%define SERVICE_NAME credentials-fetcher.service
-ExclusiveArch: x86_64 aarch64 s390x +# https://github.com/aws/credentials-fetcher +%global goipath github.com/aws/credentials-fetcher +Version: 2.0.1
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/ +%gometa -L -f + +Name: credentials-fetcher +Release: %autorelease +Summary: Credentials Fetcher Service is used to connect to Active Directory from Linux Instances + +# Generated by go-vendor-tools +License: Apache-2.0 AND BSD-3-Clause AND ISC AND MIT +URL: %{gourl} +Source0: %{gosource} +# Generated by go-vendor-tools +Source1: %{archivename}-vendor.tar.bz2 +Source2: go-vendor-tools.toml +# missing from upstream? +Source3: LICENSE.txt + +BuildRequires: go-vendor-tools +BuildRequires: krb5-devel
%description -This daemon creates and refreshes kerberos tickets, these -tickets can be used to launch new containers. -The gMSA feature can be implemented using this daemon. -Kerberos tickets are refreshed when tickets expire -or when a gMSA password changes. -The same method can be used to refresh other types of security tokens. -This spec file is specific to Fedora, use this file to rpmbuild on Fedora. +Credentials-fetcher is a Linux daemon that retrieves gMSA credentials from +Active Directory over LDAP. It creates and refreshes kerberos tickets from gMSA +credentials. Kerberos tickets can be used by containers to run apps/services +that authenticate using Active Directory. + +This (v2) is the Golang refactor of the original credentials-fetcher.
%prep -%autosetup -n credentials-fetcher-v.%{version} -p1 -# abseil-cpp LTS 20230125 requires at least C++14; string_view requires C++17: -sed -r -i 's/(std=c++)11/\117/' CMakeLists.txt +%goprep -p1 +tar -xf %{S:1} +cp %{SOURCE3} . +cp %{SOURCE3} cmd/credentials-fetcher/ + +%generate_buildrequires +%go_vendor_license_buildrequires -c %{S:2}
%build -# We need to set ENABLE_DEBUGGING or else the binaries get stripped -%cmake -DENABLE_DEBUGGING=ON -%cmake_build +%global gomodulesmode GO111MODULE=on +%gobuild -o %{gobuilddir}/bin/credentials-fetcherd ./cmd/credentials-fetcher/main.go + %install +%go_vendor_license_install -c %{S:2} +install -m 0755 -vd %{buildroot}/usr/sbin +install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}/usr/sbin/ + +# Create additional directory structure in buildroot +mkdir -p %{buildroot}%{_unitdir}/ecs.service.d +mkdir -p %{buildroot}/var/credentials-fetcher/{krbdir,socket,logging} +mkdir -p %{buildroot}/etc/ +mkdir -p %{buildroot}%{_libexec}
-%cmake_install -# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_removing_rpath -# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_rpath_for_intern... +# Copy service file to buildroot +cp ./configuration/bin/credentials-fetcher.service %{buildroot}%{_unitdir}/ +cp ./configuration/bin/ecs-require-credentials-fetcher.conf %{buildroot}%{_unitdir}/ecs.service.d/
-# https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin -ls -al %{buildroot}/usr/sbin/credentials-fetcherd -chrpath --delete %{buildroot}/usr/sbin/credentials-fetcherd +# Copy startup-order userdata script into libexec +install -m 0755 ./scripts/credentials-fetcher-startup-order.sh %{buildroot}%{_libexec}/
-# We don't package this krb5.conf -rm -rf %{buildroot}/usr/sbin/krb5.conf +# Copy config files to buildroot +cp ./configuration/conf/credentials-fetcher.conf %{buildroot}/etc/ +# Place krb5.conf in /usr/sbin to avoid conflict with system krb5-libs package +# umm... not in Fedora we don't... +# cp ./configuration/conf/krb5.conf %{buildroot}/usr/sbin/krb5.conf
%check -# TBD: Run tests from top-level directory -ctest +%go_vendor_license_check -c %{S:2} +%if %{with check} +%gotest ./... +%endif
-%files +%post +chmod 644 %{_unitdir}/%{SERVICE_NAME} +/usr/bin/systemctl daemon-reload +# Since `ecs.service` gets a new dependency on `credentials-fetcher.service`, it stops on the initial reload. Start it back up if enabled +/usr/bin/systemctl is-enabled --quiet ecs.service 2>/dev/null && /usr/bin/systemctl restart ecs.service || : + +%postun +/usr/bin/systemctl daemon-reload +# If this is a full removal, and *NOT* an upgrade: +if [ $1 -eq 0 ]; then + # If the user ran our systemd dependency script, there will be an out-of-package systemd drop-in for ECS agent. + # Remove this, and also clean up the drop-in directory, but only if it is empty after removing ours. + if [ -d "/usr/lib/systemd/system/ecs.service.d" ]; then + rm /usr/lib/systemd/system/ecs.service.d/require-credentials-fetcher.conf + if [ -z "$( ls -A '/usr/lib/systemd/system/ecs.service.d' )" ]; then + rm -rf /usr/lib/systemd/system/ecs.service.d + fi + fi + # Service continues running after a full removal, so stop it + /usr/bin/systemctl stop credentials-fetcher.service +fi + +%files -f %{go_vendor_license_filelist} +%doc docs README.md /usr/sbin/credentials-fetcherd +%config(noreplace) /etc/credentials-fetcher.conf %{_unitdir}/credentials-fetcher.service -%license LICENSE -# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuideline... -%doc CONTRIBUTING.md NOTICE README.md -%attr(0700, -, -) /usr/sbin/credentials_fetcher_utf16_private.exe -%attr(0700, -, -) /usr/sbin/credentials_fetcher_utf16_private.runtimeconfig.json +%{_unitdir}/ecs.service.d/ecs-require-credentials-fetcher.conf +%dir /var/credentials-fetcher +%dir /var/credentials-fetcher/krbdir +%dir /var/credentials-fetcher/socket +%dir /var/credentials-fetcher/logging +%{_libexec}/credentials-fetcher-startup-order.sh
%changelog -* Sun Mar 22 2026 Björn Esser besser82@fedoraproject.org - 1.3.8-8 -- Rebuild (jsoncpp) -- Fix BR -- Update macros - -* Wed Jan 28 2026 Benjamin A. Beasley code@musicinmybrain.net - 1.3.8-7 -- Rebuilt for abseil-cpp 20260107.0 - -* Fri Jan 16 2026 Fedora Release Engineering releng@fedoraproject.org - 1.3.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jan 16 2026 Fedora Release Engineering releng@fedoraproject.org - 1.3.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Mon Sep 08 2025 Benjamin A. Beasley code@musicinmybrain.net - 1.3.8-4 -- Rebuilt for abseil-cpp 20250814.0 - -* Wed Aug 06 2025 František Zatloukal fzatlouk@redhat.com - 1.3.8-3 -- Rebuilt for icu 77.1 - -* Wed Jul 23 2025 Fedora Release Engineering releng@fedoraproject.org - 1.3.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jul 18 2025 Tom Callaway spot@fedoraproject.org - 1.3.8-1 -- update to 1.3.8 - -* Thu Jul 17 2025 Tom Callaway spot@fedoraproject.org - 1.3.7-6 -- disable tests on el targets too - -* Mon May 26 2025 Benjamin A. Beasley code@musicinmybrain.net - 1.3.7-5 -- Rebuilt for abseil-cpp 20250512.0 - -* Thu Feb 27 2025 Björn Esser besser82@fedoraproject.org - 1.3.7-4 -- Rebuild (abseil-cpp) - -* Thu Feb 27 2025 Björn Esser besser82@fedoraproject.org - 1.3.7-3 -- Rebuild (jsoncpp) -- Use ctest binary instead of ctest3 - -* Tue Feb 25 2025 Benjamin A. Beasley code@musicinmybrain.net - 1.3.7-2 -- Rebuilt for abseil-cpp-20250127.0 - -* Mon Feb 3 2025 Samiullah Mohammed samiull@amazon.com - 1.3.7-1 -- Fixes for 1.3.7 - -* Thu Jan 30 2025 Samiullah Mohammed samiull@amazon.com - 1.3.6-5 -- Bump dotnet sdk version - -* Thu Jan 16 2025 Fedora Release Engineering releng@fedoraproject.org - 1.3.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sun Aug 25 2024 Benjamin A. Beasley code@musicinmybrain.net - 1.3.6-3 -- Rebuilt for abseil-cpp-20240722.0 - -* Wed Jul 17 2024 Fedora Release Engineering releng@fedoraproject.org - 1.3.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Feb 15 2024 Benjamin A. Beasley code@musicinmybrain.net - 1.3.6-1 -- Patch for compatibility with current protobuf - -* Mon Feb 05 2024 Sai Kiran Akula saakla@amazon.com - 1.3.6 -- Create 1.3.6 release - -* Sun Feb 04 2024 Benjamin A. Beasley code@musicinmybrain.net - 1.2.0-7 -- Rebuilt for abseil-cpp-20240116.0 - -* Wed Jan 24 2024 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jan 18 2024 Jonathan Wakely jwakely@redhat.com - 1.2.0-4 -- Rebuilt for Boost 1.83 - -* Thu Aug 31 2023 Tom Callaway spot@fedoraproject.org - 1.2.0-3 -- rebuild for abseil - -* Wed Jul 19 2023 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon May 15 2023 Sai Kiran Akula saakla@amazon.com - 1.2.0 -- Create 1.2.0 release - -* Thu Mar 23 2023 Tom Callaway spot@fedoraproject.org - 1.1.0-7 -- rebuild for new abseil-cpp - -* Tue Mar 07 2023 Benjamin A. Beasley code@musicinmybrain.net - 1.1.0-6 -- Build as C++14, required by abseil-cpp 20230125 - -* Thu Feb 23 2023 Tom Callaway spotaws@amazon.com - 1.1.0-5 -- fix build against boost 1.81 (bz2172636) - -* Mon Feb 20 2023 Jonathan Wakely jwakely@redhat.com - 1.1.0-4 -- Rebuilt for Boost 1.81 - -* Thu Feb 09 2023 Benjamin A. Beasley code@musicinmybrain.net - 1.1.0-3 -- Depend on dotnet-sdk-7.0; there is no longer an unversioned “dotnet” package -- Restore ppc64le support - -* Thu Jan 19 2023 Fedora Release Engineering releng@fedoraproject.org - 1.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Oct 27 2022 Sai Kiran Akula saakla@amazon.com - 1.1.0 -- Create 1.1 release -* Mon Oct 24 2022 Samiullah Mohammed samiull@amazon.com - 1.0.0 -- Add domainless gmsa -* Wed Oct 12 2022 Sai Kiran Akula saakla@amazon.com - 1.0.0 -- Create 1.0 release -* Mon Sep 19 2022 Tom Callaway spotaws@amazon.com - 0.0.94-2 -- rebuild for rawhide -* Sat Sep 10 2022 Samiullah Mohammed samiull@amazon.com - 0.0.94-1 -- Replace mono with dotnet -* Mon Aug 29 2022 Tom Callaway spotaws@amazon.com - 0.0.94-1 -- systemd clean up -* Mon Aug 22 2022 Sai Kiran Akula saakla@amazon.com - 0.0.93 -- Add validation for read metadata file and rpm install require openldap-clients -* Wed Aug 10 2022 Samiullah Mohammed samiull@amazon.com - 0.0.92 -- Move binaries to standard Linux directories -- Add directory paths as configurable variables in cmake -- Generate systemd service file from cmake -* Sun Aug 7 2022 Samiullah Mohammed samiull@amazon.com - 0.0.91 -- Relocate binary, library files and change permissions -* Sat Jul 30 2022 Samiullah Mohammed samiull@amazon.com - 0.0.90 -- add ctests and bump revision to 0.0.90 -* Thu Jul 28 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Add mono-based utf16 decoder -* Tue Jul 12 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Resolve rpath for Fedora and change macros -* Sat Jun 18 2022 Sai Kiran Akula saakla@amazon.com - 0.0.1 -- Refactor cmake for all the directories -* Thu Jun 16 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Compile subdirectory into a shared library -* Wed Jun 15 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Add daemon infra -* Wed Jun 8 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Fixes to rpm spec -* Mon Jun 6 2022 Samiullah Mohammed samiull@amazon.com - 0.0.1 -- Initial commit +%autochangelog diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml new file mode 100644 index 0000000..598286c --- /dev/null +++ b/go-vendor-tools.toml @@ -0,0 +1,12 @@ +[archive] + +[licensing] +detector = "askalono" +[[licensing.licenses]] +path = "vendor/gopkg.in/yaml.v3/LICENSE" +sha256sum = "d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b" +expression = "MIT AND (MIT AND Apache-2.0)" +[[licensing.licenses]] +path = "cmd/credentials-fetcher/LICENSE.txt" +sha256sum = "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" +expression = "Apache-2.0" diff --git a/sources b/sources index ab22502..98158c9 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (v.1.3.8.tar.gz) = 390ad50e08758b81cd15eebfc2a2665ebab994de706ce534671dd2b4c7ce406a78103d5991d44e54157ef5a6aac2743437ba3deacca13784d853612c9f30629b +SHA512 (credentials-fetcher-2.0.1.tar.gz) = 9be64ebbfa4e0ea467d1b441b8e3416aa09f62baa1af5cf84eccf4520ff4cbb387bbf8bd38ddb487771c138bfed394b1a76dd68c518b63bc82d8c6afa4d98c6c +SHA512 (credentials-fetcher-2.0.1-vendor.tar.bz2) = 29188e5b4f14f043b4cd9862fb06afc0a609cab30c297fcd5d704a01b27c068146cbc20ef0dde95124bead0931e8e7c0f83515ff834c0dde0dcaf73cf74908f9
commit 3fb513319fe68159ddf7c7ec802399ed16b044e9 Author: Björn Esser besser82@fedoraproject.org Date: Sun Mar 22 18:36:02 2026 +0100
Update macros
diff --git a/credentials-fetcher.spec b/credentials-fetcher.spec index 535e48a..448cf59 100644 --- a/credentials-fetcher.spec +++ b/credentials-fetcher.spec @@ -55,11 +55,8 @@ This spec file is specific to Fedora, use this file to rpmbuild on Fedora. sed -r -i 's/(std=c++)11/\117/' CMakeLists.txt
%build -# Use the distributions optflags -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" # We need to set ENABLE_DEBUGGING or else the binaries get stripped -%cmake3 -DENABLE_DEBUGGING=ON +%cmake -DENABLE_DEBUGGING=ON %cmake_build %install
@@ -91,6 +88,7 @@ ctest * Sun Mar 22 2026 Björn Esser besser82@fedoraproject.org - 1.3.8-8 - Rebuild (jsoncpp) - Fix BR +- Update macros
* Wed Jan 28 2026 Benjamin A. Beasley code@musicinmybrain.net - 1.3.8-7 - Rebuilt for abseil-cpp 20260107.0
commit 62a2872905c1202e4a66a85688b37fc778851611 Author: Björn Esser besser82@fedoraproject.org Date: Sun Mar 22 18:29:07 2026 +0100
Fix BR
diff --git a/credentials-fetcher.spec b/credentials-fetcher.spec index e72efc9..535e48a 100644 --- a/credentials-fetcher.spec +++ b/credentials-fetcher.spec @@ -26,7 +26,7 @@ Patch0: credentials-fetcher-1.3.8-disable-integ-tests-for-Fedora.patch # Also disable integ-tests for EL targets, for now Patch1: credentials-fetcher-1.3.7-no-api-tests-on-el.patch
-BuildRequires: cmake3 make chrpath openldap-clients grpc-devel gcc-c++ glib2-devel jsoncpp-devel +BuildRequires: cmake chrpath openldap-clients grpc-devel gcc-c++ glib2-devel jsoncpp-devel BuildRequires: openssl-devel zlib-devel protobuf-devel re2-devel krb5-devel systemd-devel BuildRequires: systemd-rpm-macros dotnet-sdk-8.0 grpc-plugins
@@ -90,6 +90,7 @@ ctest %changelog * Sun Mar 22 2026 Björn Esser besser82@fedoraproject.org - 1.3.8-8 - Rebuild (jsoncpp) +- Fix BR
* Wed Jan 28 2026 Benjamin A. Beasley code@musicinmybrain.net - 1.3.8-7 - Rebuilt for abseil-cpp 20260107.0
commit 98e421160855a089f12615c53d91be72217637d4 Author: Björn Esser besser82@fedoraproject.org Date: Sun Mar 22 18:07:07 2026 +0100
Rebuild (jsoncpp)
diff --git a/credentials-fetcher.spec b/credentials-fetcher.spec index 071c2e5..e72efc9 100644 --- a/credentials-fetcher.spec +++ b/credentials-fetcher.spec @@ -3,7 +3,7 @@ %global patch_version 8
# For handling bump release by rpmdev-bumpspec and mass rebuild -%global baserelease 7 +%global baserelease 8 %define _unpackaged_files_terminate_build 0
Name: credentials-fetcher @@ -88,6 +88,9 @@ ctest %attr(0700, -, -) /usr/sbin/credentials_fetcher_utf16_private.runtimeconfig.json
%changelog +* Sun Mar 22 2026 Björn Esser besser82@fedoraproject.org - 1.3.8-8 +- Rebuild (jsoncpp) + * Wed Jan 28 2026 Benjamin A. Beasley code@musicinmybrain.net - 1.3.8-7 - Rebuilt for abseil-cpp 20260107.0
arch-excludes@lists.fedoraproject.org