Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/tinyproxy/files/, net-proxy/tinyproxy/
Date: Sat, 27 Feb 2021 14:04:18
Message-Id: 1614434573.4be775bc194d21884e76e9648f292850b2362d93.bkohler@gentoo
1 commit: 4be775bc194d21884e76e9648f292850b2362d93
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 14:02:53 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 14:02:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be775bc
7
8 net-proxy/tinyproxy: drop old
9
10 Package-Manager: Portage-3.0.16, Repoman-3.0.2
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 net-proxy/tinyproxy/Manifest | 1 -
14 net-proxy/tinyproxy/files/tinyproxy.service | 9 ----
15 net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild | 71 --------------------------
16 3 files changed, 81 deletions(-)
17
18 diff --git a/net-proxy/tinyproxy/Manifest b/net-proxy/tinyproxy/Manifest
19 index 70424c11705..123fc01f106 100644
20 --- a/net-proxy/tinyproxy/Manifest
21 +++ b/net-proxy/tinyproxy/Manifest
22 @@ -1,2 +1 @@
23 -DIST tinyproxy-1.10.0.tar.xz 176060 BLAKE2B 58f9b443c731de6b74d689a80ebd422d3b6f51f643546ee144b37fb3262725246f6a5fa1015267a94f192f8715eaf71ffc078ead75e6225a210f58ec28ee8fcf SHA512 8d82598c5f9c89bc672f4632139ac52696d5c7788963de51688a8aeb576c69004f8338fe1e1897bf704a21dfd25ab1effb092003b6afaa9a88c2b5d0608310f5
24 DIST tinyproxy-1.11.0-rc1.tar.xz 176732 BLAKE2B a448c90b17a8d3256aec1dba4307e9bce87ac421a67486e4987afbf22e49041971138f09e98a4a775cc05071b73b4f1b34e652eb2c0992b2a5fa1861a0df26b2 SHA512 e1d05777072d178c66d1f007163bcb4b3a0b1dfdf460881daaf962b5f1c0d0213ec5403bf50c161d811f46c8b50a476cd534f535962ec01b70fbb955471c1af1
25
26 diff --git a/net-proxy/tinyproxy/files/tinyproxy.service b/net-proxy/tinyproxy/files/tinyproxy.service
27 deleted file mode 100644
28 index 4d860df7693..00000000000
29 --- a/net-proxy/tinyproxy/files/tinyproxy.service
30 +++ /dev/null
31 @@ -1,9 +0,0 @@
32 -[Unit]
33 -Description=Tinyproxy Web Proxy Server
34 -After=network.target
35 -
36 -[Service]
37 -ExecStart=/usr/sbin/tinyproxy -d -c /etc/tinyproxy.conf
38 -
39 -[Install]
40 -WantedBy=multi-user.target
41
42 diff --git a/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild b/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild
43 deleted file mode 100644
44 index 8bca4032ebe..00000000000
45 --- a/net-proxy/tinyproxy/tinyproxy-1.10.0-r1.ebuild
46 +++ /dev/null
47 @@ -1,71 +0,0 @@
48 -# Copyright 1999-2020 Gentoo Authors
49 -# Distributed under the terms of the GNU General Public License v2
50 -
51 -EAPI=6
52 -
53 -inherit autotools systemd tmpfiles user
54 -
55 -DESCRIPTION="A lightweight HTTP/SSL proxy"
56 -HOMEPAGE="https://github.com/tinyproxy/tinyproxy/"
57 -SRC_URI="https://github.com/tinyproxy/tinyproxy/releases/download/${PV}/${P}.tar.xz"
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0"
61 -KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~sparc x86"
62 -
63 -IUSE="test debug +filter-proxy reverse-proxy transparent-proxy
64 -+upstream-proxy +xtinyproxy-header"
65 -RESTRICT="!test? ( test )"
66 -
67 -REQUIRED_USE="test? ( xtinyproxy-header )"
68 -
69 -pkg_setup() {
70 - enewgroup ${PN}
71 - enewuser ${PN} "" "" "" ${PN}
72 -}
73 -
74 -src_prepare() {
75 - default
76 -
77 - sed -i \
78 - -e "s|nobody|${PN}|g" \
79 - etc/${PN}.conf.in || die "sed failed"
80 -
81 - eautoreconf
82 -}
83 -
84 -src_configure() {
85 - econf \
86 - $(use_enable debug) \
87 - $(use_enable filter-proxy filter) \
88 - $(use_enable reverse-proxy reverse) \
89 - $(use_enable transparent-proxy transparent) \
90 - $(use_enable upstream-proxy upstream) \
91 - $(use_enable xtinyproxy-header xtinyproxy) \
92 - --localstatedir=/var
93 -}
94 -
95 -src_test() {
96 - # The make check target does not run the test suite
97 - emake test
98 -}
99 -
100 -src_install() {
101 - default
102 -
103 - dodoc AUTHORS ChangeLog NEWS README TODO
104 -
105 - diropts -m0775 -o ${PN} -g ${PN}
106 - keepdir /var/log/${PN}
107 -
108 - newinitd "${FILESDIR}"/${PN}-1.10.0.initd tinyproxy
109 - systemd_newunit "${FILESDIR}"/${PN}-1.10.0.service tinyproxy.service
110 - dotmpfiles "${FILESDIR}"/${PN}.tmpfiles.conf
111 -}
112 -
113 -pkg_postinst() {
114 - tmpfiles_process ${PN}.tmpfiles.conf
115 -
116 - elog "For filtering domains and URLs, enable filter option in the configuration"
117 - elog "file and add them to the filter file (one domain or URL per line)."
118 -}