Skip to Content.
Sympa Menu

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

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 (c5ff3647415415c7dc2e883e50d890f9c3d50d4c)
  • Date: Thu, 21 May 2015 09:09:00 -0500

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

ChangeLog | 3 +++
http/ziproxy/DEPENDS | 14 ++++++++++++++
http/ziproxy/DETAILS | 18 ++++++++++++++++++
http/ziproxy/HISTORY | 3 +++
http/ziproxy/INSTALL | 7 +++++++
http/ziproxy/PRE_BUILD | 4 ++++
http/ziproxy/init.d/ziproxy | 20 ++++++++++++++++++++
7 files changed, 69 insertions(+)

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

ziproxy: new spell, compressing non-caching HTTP proxy

diff --git a/ChangeLog b/ChangeLog
index d769d9e..933cee8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-05-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * http/ziproxy: new spell, compressing non-caching HTTP proxy
+
2015-05-18 Ismael Luceno <ismael AT sourcemage.org>
* devel/intel2gas: new spell, Intel to AT&T assembly syntax converter

diff --git a/http/ziproxy/DEPENDS b/http/ziproxy/DEPENDS
new file mode 100755
index 0000000..c986729
--- /dev/null
+++ b/http/ziproxy/DEPENDS
@@ -0,0 +1,14 @@
+depends zlib &&
+depends giflib &&
+depends JPEG &&
+depends libpng &&
+
+optional_depends jasper \
+ "--with-jasper" \
+ "--without-jasper" \
+ "for JPEG 2000 support" &&
+
+optional_depends LIBSASL \
+ "--with-sasl2" \
+ "--without-sasl2" \
+ "for SASL support"
diff --git a/http/ziproxy/DETAILS b/http/ziproxy/DETAILS
new file mode 100755
index 0000000..6d64533
--- /dev/null
+++ b/http/ziproxy/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=ziproxy
+ VERSION=3.3.1
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:8ffbc99413052fb6ee8ad79855f18b1ae267951de4da2bed32920be1f16db4d8f36763fd11010b7675a1ebdfeddbf88f2777b63cd45b5837385251241909b736:UPSTREAM_HASH
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=http://ziproxy.sourceforge.net/
+ DOCS="CREDITS JPEG2000.txt THANKS $DOCS"
+ ENTERED=20150521
+ LICENSE[0]=GPL
+ KEYWORDS="http proxy compression"
+ SHORT="compressing non-caching HTTP proxy"
+cat << EOF
+Ziproxy is forwarding HTTP proxy server aimed to speed up low-bandwidth
+connections. It does so by gzipping HTML and using lossy compression of GIF,
+PNG and JPEG pictures. Ziproxy also offers JPEG 2000 support, transparent
+proxying and more.
+EOF
diff --git a/http/ziproxy/HISTORY b/http/ziproxy/HISTORY
new file mode 100644
index 0000000..e158691
--- /dev/null
+++ b/http/ziproxy/HISTORY
@@ -0,0 +1,3 @@
+2015-05-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, INSTALL, PRE_BUILD, init.d: created spell, version
+ 3.3.1
diff --git a/http/ziproxy/INSTALL b/http/ziproxy/INSTALL
new file mode 100755
index 0000000..0f4f2ba
--- /dev/null
+++ b/http/ziproxy/INSTALL
@@ -0,0 +1,7 @@
+default_install &&
+
+install -vm 755 -d "$INSTALL_ROOT/usr/share/ziproxy" &&
+
+cp -Rv var/ziproxy/* "$INSTALL_ROOT/usr/share/ziproxy/" &&
+cp -Rv etc/xinetd.d "$INSTALL_ROOT/usr/share/ziproxy/" &&
+cp -Rv etc/ziproxy "$INSTALL_ROOT/usr/share/ziproxy/examples"
diff --git a/http/ziproxy/PRE_BUILD b/http/ziproxy/PRE_BUILD
new file mode 100755
index 0000000..4a672a4
--- /dev/null
+++ b/http/ziproxy/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sedit "s:/var/ziproxy:$INSTALL_ROOT/usr/share/ziproxy:g"
etc/ziproxy/ziproxy.conf
diff --git a/http/ziproxy/init.d/ziproxy b/http/ziproxy/init.d/ziproxy
new file mode 100755
index 0000000..530160e
--- /dev/null
+++ b/http/ziproxy/init.d/ziproxy
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+PROGRAM=/usr/bin/ziproxy
+PIDFILE="/var/run/ziproxy.pid"
+ARGS="-d -p ${PIDFILE}"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+stop() {
+ echo "Stopping $NAME..."
+
+ $PROGRAM -k -p ${PIDFILE}
+ evaluate_retval
+}
+
+reload() {
+ _restart
+}



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (c5ff3647415415c7dc2e883e50d890f9c3d50d4c), Vlad Glagolev, 05/21/2015

Archive powered by MHonArc 2.6.24.

Top of Page