unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add polipo.
Date: Mon, 02 Feb 2015 00:26:54 +0100	[thread overview]
Message-ID: <87bnldjjr5.fsf@taylan.uni.cx> (raw)
In-Reply-To: <87zj8xe31h.fsf@netris.org> (Mark H. Weaver's message of "Sun, 01 Feb 2015 16:26:50 -0500")

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

Mark H Weaver <mhw@netris.org> writes:

>> ---
>>  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 =				\
>>    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				\
>
> This change is no longer appropriate, since polipo.scm doesn't exist.
> Otherwise it looks good.  Can you send an updated patch?

Ah, thanks for catching that. :-)

Fixed the commit message too.


[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 2655 bytes --]

From 142284db6dfbba4bffa5e5a2cd8e61f35dde8629 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
Date: Sun, 1 Feb 2015 00:03:19 +0100
Subject: [PATCH] gnu: Add polipo.

* gnu/packages/web.scm (polipo): New variable.
---
 gnu/packages/web.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

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 © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
 ;;;
 ;;; 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))
 
 (define-public httpd
   (package
@@ -727,3 +729,36 @@ SSL-aware without much effort, at least if you do blocking 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/polipo/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=" out)
+                            (string-append "LOCAL_ROOT="
+                                           out "/share/polipo/www")
+                            "CC=gcc"))
+       ;; 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 group
+of people.")
+    (license l:expat)))
-- 
2.2.1


  reply	other threads:[~2015-02-01 23:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31 23:39 [PATCH] gnu: Add polipo "Taylan Ulrich Bayırlı/Kammer"
2015-02-01  6:40 ` Mark H Weaver
2015-02-01 13:39   ` Taylan Ulrich Bayırlı/Kammer
2015-02-01 21:26     ` Mark H Weaver
2015-02-01 23:26       ` Taylan Ulrich Bayırlı/Kammer [this message]
2015-02-02  1:51         ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnldjjr5.fsf@taylan.uni.cx \
    --to=taylanbayirli@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).