[packages/aws-lc] - initial (boringssl fork)

qboosh qboosh at pld-linux.org
Sat Jun 14 10:05:03 CEST 2025


commit 05f6954162c2feb9ff09dce179c595e52ad4c1d8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 14 08:56:19 2025 +0200

    - initial (boringssl fork)

 aws-lc.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)
---
diff --git a/aws-lc.spec b/aws-lc.spec
new file mode 100644
index 0000000..c90e874
--- /dev/null
+++ b/aws-lc.spec
@@ -0,0 +1,99 @@
+#
+# Conditional build:
+%bcond_with	tests		# unit tests
+#
+Summary:	AWS Lib Crypto library
+Summary(pl.UTF-8):	Biblioteka AWS Lib Crypto
+Name:		aws-lc
+Version:	1.53.0
+Release:	0.1
+License:	OpenSSL, ISC, Apache v2.0
+Group:		Libraries
+#Source0Download: https://github.com/aws/aws-lc
+Source0:	https://github.com/aws/aws-lc/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	f3cc42600a83ab02f05f3d2685511ac7
+URL:		https://github.com/aws/aws-lc
+BuildRequires:	cmake >= 3.5
+BuildRequires:	gcc >= 5:4.7
+%{?with_tests:BuildRequires:	golang}
+BuildRequires:	libstdc++-devel >= 6:4.7
+BuildRequires:	perl-base
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AWS-LC is a general-purpose cryptographic library maintained by the
+AWS Cryptography team for AWS and their customers. It's based on code
+from the Google BoringSSL project and the OpenSSL project.
+
+AWS-LC contains portable C implementations of algorithms needed for
+TLS and common applications. For performance critical algorithms,
+optimized assembly versions are included for x86 and ARM.
+
+%description -l pl.UTF-8
+AWS-LC to biblioteka kryptograficzna ogólnego przeznaczenia,
+utrzymywana przez zespół AWS Cryptography dla AWS i jego klientów.
+Jest oparta na kodzie projektów Google BoringSSL oraz OpenSSL.
+
+AWS-LC zawiera przenośne implementacje w języku C algorytmów
+potrzebnych do aplikacji TLS i ogólnych. Dla algorytmów krytycznych
+wydajnościowo dostarczone są wersje zoptymalizowane w asemblerze x86 i
+ARM.
+
+%package devel
+Summary:	Header files for AWS Lib Crypto library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki AWS Lib Crypto
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for AWS Lib Crypto library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki AWS Lib Crypto.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake .. \
+	-DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/aws \
+	-DCMAKE_INSTALL_LIBDIR=%{_libdir}/aws \
+	%{!?with_tests:-DBUILD_TESTING=OFF}
+
+%{__make}
+
+%if %{with tests}
+%{__make} test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/{,aws-}bssl
+%{__mv} $RPM_BUILD_ROOT%{_bindir}/{,aws-}openssl
+%{__rm} $RPM_BUILD_ROOT%{_bindir}/c_rehash
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE NOTICE README.md
+%attr(755,root,root) %{_bindir}/aws-bssl
+%attr(755,root,root) %{_bindir}/aws-openssl
+%dir %{_libdir}/aws
+%attr(755,root,root) %{_libdir}/aws/libcrypto.so
+%attr(755,root,root) %{_libdir}/aws/libssl.so
+
+%files devel
+%defattr(644,root,root,755)
+%doc API-CONVENTIONS.md SANDBOXING.md
+%{_includedir}/aws/openssl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aws-lc.git/commitdiff/05f6954162c2feb9ff09dce179c595e52ad4c1d8



More information about the pld-cvs-commit mailing list