summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-11-21 15:38:15 +0000
committerJeroen Roovers <jer@gentoo.org>2012-11-21 15:38:15 +0000
commitef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b (patch)
treeec0efa1b9f8831c411fe3df4943cef0cca4267bd /net-proxy/tinyproxy
parentOld. (diff)
downloadgentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.tar.gz
gentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.tar.bz2
gentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.zip
Remove keepdir /var/run/${PN} by Cedric Godin (bug #444167).
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-proxy/tinyproxy')
-rw-r--r--net-proxy/tinyproxy/ChangeLog8
-rw-r--r--net-proxy/tinyproxy/files/tinyproxy.initd45
-rw-r--r--net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild10
3 files changed, 10 insertions, 53 deletions
diff --git a/net-proxy/tinyproxy/ChangeLog b/net-proxy/tinyproxy/ChangeLog
index 2b250e8a1ffd..155a5ab53ba8 100644
--- a/net-proxy/tinyproxy/ChangeLog
+++ b/net-proxy/tinyproxy/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-proxy/tinyproxy
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.37 2011/09/03 09:20:33 scarabeus Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/ChangeLog,v 1.38 2012/11/21 15:38:15 jer Exp $
+
+ 21 Nov 2012; Jeroen Roovers <jer@gentoo.org> tinyproxy-1.8.3.ebuild,
+ -files/tinyproxy.initd:
+ Remove keepdir /var/run/${PN} by Cedric Godin (bug #444167).
03 Sep 2011; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
Remove unused local desc.
diff --git a/net-proxy/tinyproxy/files/tinyproxy.initd b/net-proxy/tinyproxy/files/tinyproxy.initd
deleted file mode 100644
index bee5d041fbdc..000000000000
--- a/net-proxy/tinyproxy/files/tinyproxy.initd
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/files/tinyproxy.initd,v 1.1 2008/02/16 07:11:25 mrness Exp $
-
-CONFFILE="/etc/tinyproxy/${SVCNAME}.conf"
-
-depend() {
- use logger dns
- need net
-}
-
-checkconfig() {
- if [ ! -f "${CONFFILE}" ]; then
- eerror "Configuration file ${CONFFILE} not found!"
- return 1
- fi
-
- PIDFILE=$(sed -n -e 's/^[[:space:]]*PidFile[[:space:]]\+"\(.*\)"[[:space:]]*$/\1/p' "${CONFFILE}")
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting tinyproxy"
- if [ -n "${PIDFILE}" ]; then
- start-stop-daemon --start --pidfile "${PIDFILE}" --startas /usr/sbin/tinyproxy -- -c "${CONFFILE}"
- else
- start-stop-daemon --start --exec /usr/sbin/tinyproxy -- -c "${CONFFILE}"
- fi
- eend $?
-}
-
-stop() {
- checkconfig || return 1
-
- ebegin "Stopping tinyproxy"
- if [ -n "${PIDFILE}" ]; then
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- else
- start-stop-daemon --stop --exec /usr/sbin/tinyproxy
- fi
- eend $?
-}
diff --git a/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild b/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild
index cfecaaa6dc5e..3ec451fa044a 100644
--- a/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild
+++ b/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild,v 1.5 2011/08/27 17:36:40 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/tinyproxy/tinyproxy-1.8.3.ebuild,v 1.6 2012/11/21 15:38:15 jer Exp $
-EAPI="4"
-
-inherit autotools eutils
+EAPI=4
+inherit autotools eutils user
DESCRIPTION="A lightweight HTTP/SSL proxy"
HOMEPAGE="http://www.banu.com/tinyproxy/"
@@ -66,7 +65,6 @@ src_install() {
diropts -m0775 -o ${PN} -g ${PN}
keepdir /var/log/${PN}
- keepdir /var/run/${PN}
newinitd "${FILESDIR}"/${PN}-1.8.2.initd tinyproxy
}