From: florian Date: Sat, 31 Jul 2010 11:39:13 +0000 (+0000) Subject: [package] tinyproxy: fix creation of pid and log (#7641) X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5cf435ad03e11f72a70b34d9dfd1fe645b6606df;p=packages.git [package] tinyproxy: fix creation of pid and log (#7641) git-svn-id: svn://svn.openwrt.org/openwrt/packages@22431 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/tinyproxy/Makefile b/net/tinyproxy/Makefile index 50a23ab27..96f3bf781 100644 --- a/net/tinyproxy/Makefile +++ b/net/tinyproxy/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tinyproxy PKG_VERSION:=1.8.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.banu.com/pub/tinyproxy/1.8/ diff --git a/net/tinyproxy/patches/020-config_and_pid-path.patch b/net/tinyproxy/patches/020-config_and_pid-path.patch new file mode 100644 index 000000000..2e9f9e48c --- /dev/null +++ b/net/tinyproxy/patches/020-config_and_pid-path.patch @@ -0,0 +1,15 @@ +diff -Nur a/src/main.c b/src/main.c +--- a/src/main.c 2010-07-17 11:57:25.000000000 +0200 ++++ b/src/main.c 2010-07-17 11:58:52.000000000 +0200 +@@ -326,8 +326,8 @@ + conf->errorpages = NULL; + conf->stathost = safestrdup (TINYPROXY_STATHOST); + conf->idletimeout = MAX_IDLE_TIME; +- conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy/tinyproxy.log"); +- conf->pidpath = safestrdup (LOCALSTATEDIR "/run/tinyproxy/tinyproxy.pid"); ++ conf->logf_name = safestrdup (LOCALSTATEDIR "/log/tinyproxy.log"); ++ conf->pidpath = safestrdup (LOCALSTATEDIR "/tinyproxy.pid"); + } + + /** +