Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3956610f54097650b27979e39977565d5d03e030)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3956610f54097650b27979e39977565d5d03e030)
  • Date: Wed, 16 Apr 2014 09:10:27 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
http/polipo/BUILD | 1 +
http/polipo/DEPENDS | 1 +
http/polipo/DETAILS | 36 ++++++++++++++++++++++++++++++++++++
http/polipo/HISTORY | 3 +++
http/polipo/INSTALL | 14 ++++++++++++++
http/polipo/PRE_BUILD | 4 ++++
http/polipo/init.d/polipo | 9 +++++++++
http/polipo/polipo.gpg |binary
9 files changed, 71 insertions(+)

New commits:
commit 3956610f54097650b27979e39977565d5d03e030
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

polipo: new spell, caching web proxy

diff --git a/ChangeLog b/ChangeLog
index bb978e1..568c371 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2014-04-16 Vlad Glagolev <stealth AT sourcemage.org>
+ * http/polipo: new spell, caching web proxy
+
2014-04-15 Ismael Luceno <ismael AT sourcemage.org>
* perl-cpan/parse-debcontrol: new spell, Easy OO parsing of debian
control-like files

diff --git a/http/polipo/BUILD b/http/polipo/BUILD
new file mode 100755
index 0000000..72af8ad
--- /dev/null
+++ b/http/polipo/BUILD
@@ -0,0 +1 @@
+make PREFIX="$INSTALL_ROOT/usr" CDEBUGFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
diff --git a/http/polipo/DEPENDS b/http/polipo/DEPENDS
new file mode 100755
index 0000000..8fae400
--- /dev/null
+++ b/http/polipo/DEPENDS
@@ -0,0 +1 @@
+optional_depends SYSTEM-LOGGER "" "" "for logging to syslog"
diff --git a/http/polipo/DETAILS b/http/polipo/DETAILS
new file mode 100755
index 0000000..4a50245
--- /dev/null
+++ b/http/polipo/DETAILS
@@ -0,0 +1,36 @@
+ SPELL=polipo
+ VERSION=1.1.0
+ SOURCE=${SPELL}-${VERSION}.tar.gz
+ SOURCE2=${SOURCE}.asc
+
SOURCE_URL[0]=http://www.pps.univ-paris-diderot.fr/~jch/software/files/${SPELL}/${SOURCE}
+ SOURCE2_URL[0]=${SOURCE_URL[0]}.asc
+ SOURCE_GPG=polipo.gpg:${SOURCE2}:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/
+ ENTERED=20140416
+ LICENSE[0]=MIT
+ KEYWORDS="http proxy cache"
+ SHORT="caching web proxy"
+cat << EOF
+Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, a
+proxy server). While Polipo was designed to be used by one person or a small
+group of people, there is nothing that prevents it from being used by a
larger
+group.
+
+Polipo has some features that are unique among currently available proxies:
+
+* Polipo will use HTTP/1.1 pipelining if it believes that the remote server
+ supports it, whether the incoming requests are pipelined or come in
+ simultaneously on multiple connections (this is more than the simple usage
of
+ persistent connections, which is done by e.g. Squid);
+* Polipo will cache the initial segment of an instance if the download has
been
+ interrupted, and, if necessary, complete it later using Range requests;
+* Polipo will upgrade client requests to HTTP/1.1 even if they come in as
+ HTTP/1.0, and up- or downgrade server replies to the client's capabilities
+ (this may involve conversion to or from the HTTP/1.1 chunked encoding);
+* Polipo has complete support for IPv6 (except for scoped (link-local)
+ addresses);
+* Polipo can optionally use a technique known as Poor Man's Multiplexing to
+ reduce latency even further.
+EOF
diff --git a/http/polipo/HISTORY b/http/polipo/HISTORY
new file mode 100644
index 0000000..edafb7a
--- /dev/null
+++ b/http/polipo/HISTORY
@@ -0,0 +1,3 @@
+2014-04-16 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, polipo.gpg, init.d/polipo:
+ spell created
diff --git a/http/polipo/INSTALL b/http/polipo/INSTALL
new file mode 100755
index 0000000..8ba89a9
--- /dev/null
+++ b/http/polipo/INSTALL
@@ -0,0 +1,14 @@
+make PREFIX="$INSTALL_ROOT/usr" install &&
+
+install -vm 755 -d "$INSTALL_ROOT/etc/polipo" &&
+
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SOURCE_DIRECTORY/config.sample" \
+ "$INSTALL_ROOT/etc/polipo/config" &&
+
+ install_config_file "$SOURCE_DIRECTORY/forbidden.sample" \
+ "$INSTALL_ROOT/etc/polipo/forbidden"
+fi &&
+
+install -vm 700 -d "$INSTALL_ROOT/var/cache/polipo"
diff --git a/http/polipo/PRE_BUILD b/http/polipo/PRE_BUILD
new file mode 100755
index 0000000..d60a33f
--- /dev/null
+++ b/http/polipo/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sedit "s:^MANDIR =.*:MANDIR = $INSTALL_ROOT/usr/share/man:;s:^INFODIR
=.*:INFODIR = $INSTALL_ROOT/usr/share/info:" Makefile
diff --git a/http/polipo/init.d/polipo b/http/polipo/init.d/polipo
new file mode 100755
index 0000000..3d47d4d
--- /dev/null
+++ b/http/polipo/init.d/polipo
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PROGRAM=/usr/bin/polipo
+PIDFILE="/var/run/polipo.pid"
+ARGS="-c /etc/polipo/config daemonise=true pidFile=${PIDFILE}"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
diff --git a/http/polipo/polipo.gpg b/http/polipo/polipo.gpg
new file mode 100644
index 0000000..2be80b2
Binary files /dev/null and b/http/polipo/polipo.gpg differ



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3956610f54097650b27979e39977565d5d03e030), Vlad Glagolev, 04/16/2014

Archive powered by MHonArc 2.6.24.

Top of Page