From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWtS4-0005WE-7h for guix-patches@gnu.org; Wed, 03 Jan 2018 19:32:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWtS0-0007Pd-2q for guix-patches@gnu.org; Wed, 03 Jan 2018 19:32:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWtS0-0007PV-0E for guix-patches@gnu.org; Wed, 03 Jan 2018 19:32:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWtRy-0002Xs-Bs for guix-patches@gnu.org; Wed, 03 Jan 2018 19:32:03 -0500 Subject: [bug#29970] [PATCH 2/4] gnu: Add libnsl. Resent-Message-ID: From: Leo Famulari Date: Wed, 3 Jan 2018 19:30:54 -0500 Message-Id: <5bc74ec72cabbd83b361441c56f13e19d95f5d5c.1515025855.git.leo@famulari.name> In-Reply-To: References: In-Reply-To: References: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29970@debbugs.gnu.org * gnu/packages/onc-rpc.scm (libnsl): New variable. --- gnu/packages/onc-rpc.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm index bd1b6f058..38f2f5a1d 100644 --- a/gnu/packages/onc-rpc.scm +++ b/gnu/packages/onc-rpc.scm @@ -23,6 +23,8 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gettext) #:use-module (gnu packages kerberos) #:use-module (gnu packages pkg-config) #:use-module (guix build-system gnu)) @@ -95,3 +97,40 @@ IPv4 and IPv6. ONC RPC is notably used by the network file system (NFS).") universal addresses.") (license bsd-3))) + +(define-public libnsl + (package + (name "libnsl") + (version "1.2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/thkukuk/libnsl/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1y6kmxmv1difzvdhx7grqzw0j2v2b74mg4kjb803m8jcgkqqx8m5")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'bootstrap + (lambda _ + (invoke "sh" "autogen.sh")))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("libtirpc" ,libtirpc))) + (synopsis "Public client interface for NIS(YP) and NIS+") + (description "Libnsl is the public client interface for the Network +Information Service / Yellow Pages (NIS/YP) and NIS+. It includes IPv6 +support. This code was part of glibc < 2.26, but is still required by +some applications. Building glibc with '--enable-obsolete-nsl' will +cause the libnsl headers and NIS+ name service modules to be included in +glibc.") + (home-page "https://github.com/thkukuk/libnsl") + (license lgpl2.1+))) -- 2.15.1