1 |
commit: 37ff52d54efbf93e0bd792b8d7541c24bc810b61 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 19:15:19 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 19:17:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ff52d5 |
7 |
|
8 |
net-proxy/ziproxy: remove old version |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-proxy/ziproxy/ziproxy-3.3.1.ebuild | 84 ---------------------------------- |
13 |
1 file changed, 84 deletions(-) |
14 |
|
15 |
diff --git a/net-proxy/ziproxy/ziproxy-3.3.1.ebuild b/net-proxy/ziproxy/ziproxy-3.3.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 56c5c78..0000000 |
18 |
--- a/net-proxy/ziproxy/ziproxy-3.3.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,84 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
-inherit user |
27 |
- |
28 |
-DESCRIPTION="A forwarding, non-caching, compressing web proxy server" |
29 |
-HOMEPAGE="http://ziproxy.sourceforge.net/" |
30 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
35 |
-IUSE="jpeg2k sasl xinetd" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- media-libs/giflib |
39 |
- media-libs/libpng:0= |
40 |
- virtual/jpeg |
41 |
- sys-libs/zlib |
42 |
- jpeg2k? ( media-libs/jasper ) |
43 |
- sasl? ( dev-libs/cyrus-sasl ) |
44 |
- xinetd? ( virtual/inetd ) |
45 |
-" |
46 |
-DEPEND="${RDEPEND} |
47 |
- app-arch/xz-utils |
48 |
-" |
49 |
- |
50 |
-pkg_setup() { |
51 |
- enewgroup ziproxy |
52 |
- enewuser ziproxy -1 -1 -1 ziproxy |
53 |
-} |
54 |
- |
55 |
-src_prepare() { |
56 |
- # fix sample config file |
57 |
- sed -i \ |
58 |
- -e "s:/var/ziproxy/:/var/lib/ziproxy/:g" \ |
59 |
- -e "s:%j-%Y.log:/var/log/ziproxy/%j-%Y.log:g" \ |
60 |
- etc/ziproxy/ziproxy.conf || die |
61 |
- |
62 |
- # fix sample xinetd config |
63 |
- sed -i \ |
64 |
- -e "s:/usr/bin/:/usr/sbin/:g" \ |
65 |
- -e "s:\(.*port.*\):\1\n\ttype\t\t\t= UNLISTED:g" \ |
66 |
- -e "s:root:ziproxy:g" \ |
67 |
- etc/xinetd.d/ziproxy || die |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- econf \ |
72 |
- $(use_with jpeg2k jasper) \ |
73 |
- $(use_with sasl sasl2) \ |
74 |
- --with-cfgfile=/etc/ziproxy/ziproxy.conf |
75 |
-} |
76 |
- |
77 |
-src_install() { |
78 |
- emake DESTDIR="${D}" install |
79 |
- |
80 |
- dodir /usr/sbin |
81 |
- mv -vf "${D}"usr/{,s}bin/ziproxy || die |
82 |
- |
83 |
- dobin src/tools/ziproxy_genhtml_stats.sh |
84 |
- |
85 |
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
86 |
- newconfd "${FILESDIR}"/${PN}.confd ${PN} |
87 |
- |
88 |
- dodoc ChangeLog CREDITS README README.tools |
89 |
- use jpeg2k && dodoc JPEG2000.txt |
90 |
- |
91 |
- insinto /etc |
92 |
- doins -r etc/ziproxy |
93 |
- |
94 |
- insinto /var/lib/ziproxy/error |
95 |
- doins var/ziproxy/error/*.html |
96 |
- |
97 |
- if use xinetd; then |
98 |
- insinto /etc/xinetd.d |
99 |
- doins etc/xinetd.d/ziproxy |
100 |
- fi |
101 |
- |
102 |
- diropts -m0750 -o ziproxy -g ziproxy |
103 |
- keepdir /var/log/ziproxy |
104 |
-} |