From 641fcd3f2c221eba046c58c1b2ccb2a1c9851538 Mon Sep 17 00:00:00 2001 From: Yashashwi Date: Fri, 24 May 2024 20:42:47 +0530 Subject: [PATCH] feat(23.10):add archive for curl in mantic (#186) --------- Co-authored-by: Cristovao Cordeiro --- slices/curl.yaml | 17 +++++++++++++++++ slices/libbrotli1.yaml | 18 ++++++++++++++++++ slices/libcurl4.yaml | 27 +++++++++++++++++++++++++++ slices/libgcrypt20.yaml | 17 +++++++++++++++++ slices/libgnutls30.yaml | 23 +++++++++++++++++++++++ slices/libgpg-error0.yaml | 17 +++++++++++++++++ slices/libhogweed6.yaml | 18 ++++++++++++++++++ slices/libldap2.yaml | 18 ++++++++++++++++++ slices/libnettle8.yaml | 15 +++++++++++++++ slices/libnghttp2-14.yaml | 16 ++++++++++++++++ slices/librtmp1.yaml | 21 +++++++++++++++++++++ slices/libsasl2-2.yaml | 17 +++++++++++++++++ slices/libsasl2-modules-db.yaml | 16 ++++++++++++++++ slices/libssh-4.yaml | 18 ++++++++++++++++++ slices/libssh2-1.yaml | 22 ++++++++++++++++++++++ 15 files changed, 280 insertions(+) create mode 100644 slices/curl.yaml create mode 100644 slices/libbrotli1.yaml create mode 100644 slices/libcurl4.yaml create mode 100644 slices/libgcrypt20.yaml create mode 100644 slices/libgnutls30.yaml create mode 100644 slices/libgpg-error0.yaml create mode 100644 slices/libhogweed6.yaml create mode 100644 slices/libldap2.yaml create mode 100644 slices/libnettle8.yaml create mode 100644 slices/libnghttp2-14.yaml create mode 100644 slices/librtmp1.yaml create mode 100644 slices/libsasl2-2.yaml create mode 100644 slices/libsasl2-modules-db.yaml create mode 100644 slices/libssh-4.yaml create mode 100644 slices/libssh2-1.yaml diff --git a/slices/curl.yaml b/slices/curl.yaml new file mode 100644 index 000000000..eef05f8db --- /dev/null +++ b/slices/curl.yaml @@ -0,0 +1,17 @@ +package: curl + +essential: + - curl_copyright + +slices: + bins: + essential: + - libc6_libs + - libcurl4_libs + - zlib1g_libs + contents: + /usr/bin/curl: + + copyright: + contents: + /usr/share/doc/curl/copyright: diff --git a/slices/libbrotli1.yaml b/slices/libbrotli1.yaml new file mode 100644 index 000000000..0333ed560 --- /dev/null +++ b/slices/libbrotli1.yaml @@ -0,0 +1,18 @@ +# Library implementing brotli encoder and decoder (shared libraries) +package: libbrotli1 + +essential: + - libbrotli1_copyright + +slices: + libs: + essentials: + - libc6_libs + contents: + /usr/lib/*-linux-*/libbrotlicommon.so.1*: + /usr/lib/*-linux-*/libbrotlidec.so.1*: + /usr/lib/*-linux-*/libbrotlienc.so.1*: + + copyright: + contents: + /usr/share/doc/libbrotli1/copyright: diff --git a/slices/libcurl4.yaml b/slices/libcurl4.yaml new file mode 100644 index 000000000..163c420a3 --- /dev/null +++ b/slices/libcurl4.yaml @@ -0,0 +1,27 @@ +# Easy-to-use client-side URL transfer library (OpenSSL flavour) +package: libcurl4 + +essential: + - libcurl4_copyright + +slices: + libs: + essential: + - libbrotli1_libs + - libc6_libs + - libgssapi-krb5-2_libs + - libidn2-0_libs + - libldap2_libs + - libnghttp2-14_libs + - libpsl5_libs + - librtmp1_libs + - libssh-4_libs + - libssl3_libs + - libzstd1_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libcurl.so.4*: + + copyright: + contents: + /usr/share/doc/libcurl4/copyright: diff --git a/slices/libgcrypt20.yaml b/slices/libgcrypt20.yaml new file mode 100644 index 000000000..9fa95b5e9 --- /dev/null +++ b/slices/libgcrypt20.yaml @@ -0,0 +1,17 @@ +# LGPL Crypto library - runtime library +package: libgcrypt20 + +essential: + - libgcrypt20_copyright + +slices: + libs: + essential: + - libc6_libs + - libgpg-error0_libs + contents: + /usr/lib/*-linux-*/libgcrypt.so.20*: + + copyright: + contents: + /usr/share/doc/libgcrypt20/copyright: diff --git a/slices/libgnutls30.yaml b/slices/libgnutls30.yaml new file mode 100644 index 000000000..b54438ba0 --- /dev/null +++ b/slices/libgnutls30.yaml @@ -0,0 +1,23 @@ +# GNU TLS library - main runtime library +package: libgnutls30 + +essential: + - libgnutls30_copyright + +slices: + libs: + essentials: + - libc6_libs + - libgmp10_libs + - libhogweed6_libs + - libidn2-0_libs + - libnettle8_libs + - libp11-kit0_libs + - libtasn1-6_libs + - libunistring2_libs + contents: + /usr/lib/*-linux-*/libgnutls.so.30*: + + copyright: + contents: + /usr/share/doc/libgnutls30/copyright: diff --git a/slices/libgpg-error0.yaml b/slices/libgpg-error0.yaml new file mode 100644 index 000000000..847ff674b --- /dev/null +++ b/slices/libgpg-error0.yaml @@ -0,0 +1,17 @@ +# Library that defines common error values, messages, and common +# runtime functionality for all GnuPG components. +package: libgpg-error0 + +essential: + - libgpg-error0_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /lib/*-linux-*/libgpg-error.so.0*: + + copyright: + contents: + /usr/share/doc/libgpg-error0/copyright: diff --git a/slices/libhogweed6.yaml b/slices/libhogweed6.yaml new file mode 100644 index 000000000..984306787 --- /dev/null +++ b/slices/libhogweed6.yaml @@ -0,0 +1,18 @@ +# Low level cryptographic library (public-key cryptos) +package: libhogweed6 + +essential: + - libhogweed6_copyright + +slices: + libs: + essentials: + - libc6_libs + - libgmp10_libs + - libnettle8_libs + contents: + /usr/lib/*-linux-*/libhogweed.so.6*: + + copyright: + contents: + /usr/share/doc/libhogweed6/copyright: diff --git a/slices/libldap2.yaml b/slices/libldap2.yaml new file mode 100644 index 000000000..8efbbdacf --- /dev/null +++ b/slices/libldap2.yaml @@ -0,0 +1,18 @@ +package: libldap2 + +essential: + - libldap2_copyright + +slices: + libs: + essential: + - libc6_libs + - libgnutls30_libs + - libsasl2-2_libs + contents: + /usr/lib/*-linux-*/liblber.so.2*: + /usr/lib/*-linux-*/libldap.so.2*: + + copyright: + contents: + /usr/share/doc/libldap2/copyright: diff --git a/slices/libnettle8.yaml b/slices/libnettle8.yaml new file mode 100644 index 000000000..9c38ca439 --- /dev/null +++ b/slices/libnettle8.yaml @@ -0,0 +1,15 @@ +package: libnettle8 + +essential: + - libnettle8_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libnettle.so.8*: + + copyright: + contents: + /usr/share/doc/libnettle8/copyright: diff --git a/slices/libnghttp2-14.yaml b/slices/libnghttp2-14.yaml new file mode 100644 index 000000000..bf7dd7cca --- /dev/null +++ b/slices/libnghttp2-14.yaml @@ -0,0 +1,16 @@ +# Library implementing HTTP/2 protocol +package: libnghttp2-14 + +essential: + - libnghttp2-14_copyright + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libnghttp2.so.14*: + + copyright: + contents: + /usr/share/doc/libnghttp2-14/copyright: diff --git a/slices/librtmp1.yaml b/slices/librtmp1.yaml new file mode 100644 index 000000000..ac76c4fd9 --- /dev/null +++ b/slices/librtmp1.yaml @@ -0,0 +1,21 @@ +# Toolkit for RTMP streams +package: librtmp1 + +essential: + - librtmp1_copyright + +slices: + libs: + essential: + - libc6_libs + - libgmp10_libs + - libgnutls30_libs + - libhogweed6_libs + - libnettle8_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/librtmp.so.1: + + copyright: + contents: + /usr/share/doc/librtmp1/copyright: diff --git a/slices/libsasl2-2.yaml b/slices/libsasl2-2.yaml new file mode 100644 index 000000000..c65a4f874 --- /dev/null +++ b/slices/libsasl2-2.yaml @@ -0,0 +1,17 @@ +package: libsasl2-2 + +essential: + - libsasl2-2_copyright + +slices: + libs: + essential: + - libc6_libs + - libsasl2-modules-db_libs + - libssl3_libs + contents: + /usr/lib/*-linux-*/libsasl2.so.2*: + + copyright: + contents: + /usr/share/doc/libsasl2-2/copyright: diff --git a/slices/libsasl2-modules-db.yaml b/slices/libsasl2-modules-db.yaml new file mode 100644 index 000000000..564937c04 --- /dev/null +++ b/slices/libsasl2-modules-db.yaml @@ -0,0 +1,16 @@ +package: libsasl2-modules-db + +essential: + - libsasl2-modules-db_copyright + +slices: + libs: + essential: + - libc6_libs + - libdb5.3_libs + contents: + /usr/lib/*-linux-*/sasl2/libsasldb.so*: + + copyright: + contents: + /usr/share/doc/libsasl2-modules-db/copyright: diff --git a/slices/libssh-4.yaml b/slices/libssh-4.yaml new file mode 100644 index 000000000..889726a42 --- /dev/null +++ b/slices/libssh-4.yaml @@ -0,0 +1,18 @@ +package: libssh-4 + +essential: + - libssh-4_copyright + +slices: + libs: + essential: + - libc6_libs + - libgssapi-krb5-2_libs + - libssl3_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libssh.so.4*: + + copyright: + contents: + /usr/share/doc/libssh-4/copyright: diff --git a/slices/libssh2-1.yaml b/slices/libssh2-1.yaml new file mode 100644 index 000000000..f1cb5a263 --- /dev/null +++ b/slices/libssh2-1.yaml @@ -0,0 +1,22 @@ +# Libssh2 is a client-side C library implementing the SSH2 protocol. +# It supports regular terminal, SCP and SFTP (v1-v5) sessions; +# port forwarding, X11 forwarding; password, key-based and +# keyboard-interactive authentication. + +package: libssh2-1 + +essential: + - libssh2-1_copyright + +slices: + libs: + essential: + - libc6_libs + - libssl3_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libssh2.so.1*: + + copyright: + contents: + /usr/share/doc/libssh2-1/copyright: