Test ran at 2024-03-22 00:30:27.486009+00:00 SOLUTION: secretada=1.0.0: Secret service Ada binding Origin: commit 6f859734729cb7720c0e82f45be3808a87a7ccfa from https://github.com/stcarrez/ada-libsecret.git Available when: (case OS is Linux => True, others => False) Properties: Author: Stephane.Carrez@gmail.com Configuration: no modifiers Description: Secret service Ada binding GPR Scenario: SECRETADA_BUILD := distrib | debug | optimize | profile | coverage GPR Scenario: SECRETADA_LIBRARY_TYPE := relocatable | static | static-pic License: Apache-2.0 Long_Description: The [libsecret](https://wiki.gnome.org/Projects/Libsecret) is a library for storing and retrieving passwords and others secrets. The library uses the [Secret Service API](https://standards.freedesktop.org/secret-service/) provided by Gnome Keyring or KDE Wallet. This library provides an Ada binding to the [Secret Service API](https://standards.freedesktop.org/secret-service/). You can store a secret by using the following code extract: ``` with Secret.Services; with Secret.Attributes; with Secret.Values; ... Service : Secret.Services.Service_Type; List : Secret.Attributes.Map; Value : Secret.Values.Secret_Type; ... Service.Initialize; List.Insert ("secret identification key", "secret identification value"); Value := Secret.Values.Create ("the-secret-to-store"); Service.Store (List, "The secret label (for the keyring manager)", Value); ``` And you will retrieve it with: ``` Value := Service.Lookup (List); if not Value.Is_Null then Ada.Text_IO.Put_Line (Value.Get_Value); end if; ``` Maintainer: Stephane.Carrez@gmail.com Maintainers_Logins: stcarrez Name: secretada Tag: secret Tag: bindings Version: 1.0.0 Website: https://gitlab.com/stcarrez/ada-libsecret Dependencies (direct): libglib* libsecret* Dependencies (solution): libglib=2.72.4 libsecret=0.20.5 Dependencies (graph): secretada=1.0.0 --> libglib=2.72.4 (*) secretada=1.0.0 --> libsecret=0.20.5 (*) LOG: Spawning: alr -d -n get --build secretada=1.0.0 Note: Deploying secretada=1.0.0... Note: Building secretada=1.0.0/secretada.gpr... Setup [mkdir] object directory for project SecretAda [mkdir] library directory for project SecretAda Compile [Ada] secret-values.adb [Ada] secret.adb [Ada] secret-services.adb [Ada] secret-attributes.adb Build Libraries [gprlib] secretada.lexch [archive] libsecretada.a [index] libsecretada.a secretada=1.0.0 successfully retrieved and built. Dependencies were solved as follows: +b libglib 2.72.4 (new,system package) +b libsecret 0.20.5 (new,system package) Found declared GPR file: secretada.gpr