From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com ("Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Subject: [PATCH] gnu: Add polipo. Date: Sun, 01 Feb 2015 00:39:26 +0100 Message-ID: <87oaper041.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHhdT-0007dm-16 for guix-devel@gnu.org; Sat, 31 Jan 2015 18:39:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHhdR-00032f-NI for guix-devel@gnu.org; Sat, 31 Jan 2015 18:39:30 -0500 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:40720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHhdR-00032a-Fx for guix-devel@gnu.org; Sat, 31 Jan 2015 18:39:29 -0500 Received: by mail-wi0-f180.google.com with SMTP id h11so8823875wiw.1 for ; Sat, 31 Jan 2015 15:39:28 -0800 (PST) Received: from taylan.uni.cx (p200300514A46341E0213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a46:341e:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id q4sm13105376wiz.4.2015.01.31.15.39.28 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 31 Jan 2015 15:39:28 -0800 (PST) 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 ===File /home/tub/media/src/guix/0001-gnu-Add-polipo.patch=== >From 5178c21a46062b328677cfa2015419c270c6536b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Sun, 1 Feb 2015 00:03:19 +0100 Subject: [PATCH] gnu: Add polipo. * gnu-system.am (GNU_SYSTEM_MODULES): Add polipo.scm. * gnu/packages/polipo.scm: New file. --- gnu-system.am | 1 + gnu/packages/polipo.scm | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 gnu/packages/polipo.scm diff --git a/gnu-system.am b/gnu-system.am index 706ad57..03f148d 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -222,6 +222,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/photo.scm \ gnu/packages/pkg-config.scm \ gnu/packages/plotutils.scm \ + gnu/packages/polipo.scm \ gnu/packages/polkit.scm \ gnu/packages/popt.scm \ gnu/packages/pth.scm \ diff --git a/gnu/packages/polipo.scm b/gnu/packages/polipo.scm new file mode 100644 index 0000000..9d01995 --- /dev/null +++ b/gnu/packages/polipo.scm @@ -0,0 +1,60 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages polipo) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages texinfo)) + +(define-public polipo + (package + (name "polipo") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-" + version ".tar.gz")) + (sha256 + (base32 + "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2")))) + (inputs `(("texinfo" ,texinfo))) + (build-system gnu-build-system) + (arguments + `(#:phases + (alist-replace + 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("/usr/local") out) + (("/usr/share") (string-append out "/share")))) + (setenv "CC" "gcc")) + %standard-phases) + ;; No test suite. + #:tests? #f)) + (home-page "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/") + (synopsis "Small caching web proxy") + (description + "Polipo is a small caching web proxy (web cache, HTTP proxy, and proxy +server). It was primarily designed to be used by one person or a small group +of people.") + (license (bsd-style "file://COPYING")))) -- 2.2.1 ============================================================