Subject: bug#28734: closed (Re: [bug#28734] Add Belgian e-id middleware [1/2])

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 10 Oct 2017 08:32:04 +0000

Your bug report

#28734: Add Belgian e-id middleware [1/2]

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
28734: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28734
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#28734] Add Belgian e-id middleware [1/2]
From: Thomas Danckaert <[email-masked]>
To: [email-masked], [email-masked]
Cc: [email-masked]
Date: Tue, 10 Oct 2017 10:30:53 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

From: [email-masked] (Ludovic Courtès)
Subject: Re: [bug#28734] Add Belgian e-id middleware [1/2]
Date: Sun, 08 Oct 2017 21:59:12 +0200

>> +    (synopsis "Library providing automatic proxy configuration 
>> management")
>> +    (description "Libproxy handles all the details of proxy 
>> configuration for
>                                                          ^
> Maybe “of HTTP/HTTPS proxy configuration”?

OK, pushed with that change.

Thanks!

Thomas

Subject: Add Belgian e-id middleware [1/2]
From: Thomas Danckaert <[email-masked]>
To: [email-masked]
Date: Sat, 07 Oct 2017 21:35:42 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

This adds the middleware for the Belgian electronic id card.

This first patch adds a dependency, libproxy.

Thomas
>From 917460cf6764257002c5f4fc5cb11182e87f1804 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <[email-masked]>
Date: Wed, 26 Apr 2017 20:18:56 +0200
Subject: [PATCH 1/2] gnu: Add libproxy.

* gnu/packages/networking.scm (libproxy): New variable.
---
 gnu/packages/networking.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 418d11ad0..1a2db007d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -37,6 +37,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
@@ -56,6 +57,7 @@
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages libidn)
@@ -922,6 +924,38 @@ information by IP Address.")
 sockets in Perl.")
   (license license:perl-license)))
 
+(define-public libproxy
+  (package
+    (name "libproxy")
+    (version "0.4.15")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/libproxy/libproxy/"
+                                  "releases/download/" version "/libproxy-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0kvdrazlzwia876w988cmlypp253gwy6idlh8mjk958c29jb8kb5"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("dbus" ,dbus)
+       ("zlib" ,zlib)
+       ("network-manager" ,network-manager)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+                  (lambda _
+                    (zero? (system* "ctest" "-E" "url-test")))))))
+    (synopsis "Library providing automatic proxy configuration management")
+    (description "Libproxy handles all the details of proxy configuration for
+applications across all scenarios.  Applications using libproxy only have to
+specify which proxy to use.")
+    (home-page "https://libproxy.github.io/libproxy")
+    (license license:lgpl2.1+)))
+
 (define-public proxychains-ng
   (package
     (name "proxychains-ng")
-- 
2.14.2