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?=) Subject: Re: [PATCH] gnu: Add polipo. Date: Sun, 01 Feb 2015 14:39:42 +0100 Message-ID: <87sieppx7l.fsf@taylan.uni.cx> References: <87oaper041.fsf@taylan.uni.cx> <878ugif82r.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHukc-0004UE-OZ for guix-devel@gnu.org; Sun, 01 Feb 2015 08:39:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHukb-0002QQ-EH for guix-devel@gnu.org; Sun, 01 Feb 2015 08:39:46 -0500 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:59099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHukb-0002Pc-7j for guix-devel@gnu.org; Sun, 01 Feb 2015 08:39:45 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so34388903wgh.6 for ; Sun, 01 Feb 2015 05:39:44 -0800 (PST) In-Reply-To: <878ugif82r.fsf@netris.org> (Mark H. Weaver's message of "Sun, 01 Feb 2015 01:40:28 -0500") 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: Mark H Weaver Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Thanks for the feedback. :-) Is this OK? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-polipo.patch Content-Transfer-Encoding: quoted-printable Content-Description: gnu: Add polipo. >From 34a01e8bf1977c722ae06cf0e4238ec2a27796dc Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Taylan=3D20Ulrich=3D20Bay=3DC4=3DB1rl=3DC4=3DB1/Kammer?=3D Date: Sun, 1 Feb 2015 00:03:19 +0100 Subject: [PATCH] gnu: Add polipo. * gnu/packages/web.scm: Add polipo. --- gnu-system.am | 1 + gnu/packages/web.scm | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) 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 =3D \ 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/web.scm b/gnu/packages/web.scm index 7abed9d..123fece 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2014 Mark H Weaver ;;; Copyright =C2=A9 2015 Ricardo Wurmus +;;; Copyright =C2=A9 2015 Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,7 +42,8 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages xml) #:use-module (gnu packages curl) - #:use-module (gnu packages perl)) + #:use-module (gnu packages perl) + #:use-module (gnu packages texinfo)) =20 (define-public httpd (package @@ -727,3 +729,36 @@ SSL-aware without much effort, at least if you do bloc= king I/O and don't use select or poll.") (license (package-license perl)) (home-page "https://github.com/noxxi/p5-io-socket-ssl"))) + +(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/pol= ipo/polipo-" + version ".tar.gz")) + (sha256 + (base32 + "05g09sg9qkkhnc2mxldm1w1xkxzs2ylybkjzs28w8ydbjc3pand2")))) + (native-inputs `(("texinfo" ,texinfo))) + (build-system gnu-build-system) + (arguments + `(#:phases + (alist-delete 'configure %standard-phases) + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=3D" out) + (string-append "LOCAL_ROOT=3D" + out "/share/polipo/www") + "CC=3Dgcc")) + ;; No 'check' target. + #: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 gr= oup +of people.") + (license l:expat))) --=20 2.2.1 --=-=-=--