From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 1/3] gnu: Add talloc Date: Sun, 22 Jun 2014 17:20:57 -0400 Message-ID: <87vbrsvdxi.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypCF-0005iS-JG for guix-devel@gnu.org; Sun, 22 Jun 2014 17:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WypC9-0002GH-Hk for guix-devel@gnu.org; Sun, 22 Jun 2014 17:21:07 -0400 Received: from na3sys009aog112.obsmtp.com ([74.125.149.207]:59271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WypC9-0002GD-AR for guix-devel@gnu.org; Sun, 22 Jun 2014 17:21:01 -0400 Received: by mail-qg0-f44.google.com with SMTP id j107so5291961qga.3 for ; Sun, 22 Jun 2014 14:21:00 -0700 (PDT) Received: from izanagi (209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.40.86]) by mx.google.com with ESMTPSA id k5sm26387686qad.45.2014.06.22.14.20.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jun 2014 14:20:59 -0700 (PDT) In-Reply-To: <87y4wove3j.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-talloc.patch >From 0abe65240aa355cdc9a5983fa8c32a83e1dd1baa Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 6 Apr 2014 12:25:57 -0400 Subject: [PATCH 1/3] gnu: Add talloc. * gnu/packages/samba.scm (talloc): New variable. --- gnu/packages/samba.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm index 5b52a38..c6fef61 100644 --- a/gnu/packages/samba.scm +++ b/gnu/packages/samba.scm @@ -162,3 +162,35 @@ DOS and Windows, OS/2, GNU/Linux and many others. Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.") (license gpl3+))) + +(define-public talloc + (package + (name "talloc") + (version "2.1.0") + (source (origin + (method url-fetch) + (uri (string-append "http://www.samba.org/ftp/talloc/talloc-" + version ".tar.gz")) + (sha256 + (base32 + "13zh628hzlp2v9vj70knnfac2xbxqrdhgap30csq4zv4h8w3j087")))) + (build-system gnu-build-system) + (arguments + '(#:phases (alist-replace + 'configure + (lambda* (#:key outputs #:allow-other-keys) + ;; talloc uses a custom configuration script that runs a + ;; python script called 'waf'. + (setenv "CONFIG_SHELL" (which "sh")) + (let ((out (assoc-ref outputs "out"))) + (zero? (system* "./configure" + (string-append "--prefix=" out))))) + %standard-phases))) + (inputs + `(("python" ,python-2))) + (home-page "http://talloc.samba.org") + (synopsis "Hierarchical, reference counted memory pool system") + (description + "Talloc is a hierarchical, reference counted memory pool system with +destructors. It is the core memory allocator used in Samba.") + (license gpl3+))) ;; The bundled "replace" library uses LGPL3. -- 2.0.0 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--