Skip to Content.
Sympa Menu

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

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 (e0c1a67e8611914576ded72b3890c992cea8dc35)
  • Date: Sat, 12 Jun 2010 06:09:07 -0500

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

http/tinyproxy/HISTORY | 2 ++
http/tinyproxy/INSTALL | 3 +++
http/tinyproxy/PRE_BUILD | 3 +++
http/tinyproxy/init.d/tinyproxy | 9 +++++++++
4 files changed, 17 insertions(+)

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

tinyproxy: addedinit script, corrected run dir and default non-priv group

diff --git a/http/tinyproxy/HISTORY b/http/tinyproxy/HISTORY
index 5e544dd..ffec2db 100644
--- a/http/tinyproxy/HISTORY
+++ b/http/tinyproxy/HISTORY
@@ -3,6 +3,8 @@
* DEPENDS: added, for required dependencies
* BUILD, CONFIGURE: added, for build options
* PRE_BUILD, nodoc.patch: added for ability to build without docs
+ * INSTALL: added, to pre-install pid dir
+ * init.d/tinyproxy: added

2008-08-19 Martin Spitzbarth <m.spitzbarth AT gmx.de>
* DETAILS: spell created
diff --git a/http/tinyproxy/INSTALL b/http/tinyproxy/INSTALL
new file mode 100755
index 0000000..2b78280
--- /dev/null
+++ b/http/tinyproxy/INSTALL
@@ -0,0 +1,3 @@
+default_install &&
+
+install -d -o nobody -g nogroup -vm 755 "$INSTALL_ROOT/var/run/tinyproxy"
diff --git a/http/tinyproxy/PRE_BUILD b/http/tinyproxy/PRE_BUILD
index 3c6ea1c..665c83b 100755
--- a/http/tinyproxy/PRE_BUILD
+++ b/http/tinyproxy/PRE_BUILD
@@ -1,6 +1,9 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

+# correct default group name
+sed -i "s:Group nobody:Group nogroup:" etc/tinyproxy.conf.in &&
+
if [[ $TINYPROXY_DOCS == n ]]; then
patch -p0 < "$SPELL_DIRECTORY/nodoc.patch"
fi
diff --git a/http/tinyproxy/init.d/tinyproxy b/http/tinyproxy/init.d/tinyproxy
new file mode 100755
index 0000000..1f5bf89
--- /dev/null
+++ b/http/tinyproxy/init.d/tinyproxy
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+PIDFILE=/var/run/tinyproxy/tinyproxy.pid
+PROGRAM=/usr/sbin/tinyproxy
+ARGS="-c /etc/tinyproxy.conf"
+RUNLEVEL=3
+NEEDS="+network +remote_fs"
+
+. /etc/init.d/smgl_init



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e0c1a67e8611914576ded72b3890c992cea8dc35), Vlad Glagolev, 06/12/2010

Archive powered by MHonArc 2.6.24.

Top of Page