Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/frox/
Date: Sun, 11 Jul 2021 21:23:23
Message-Id: 1626038302.0816038f2b906b0bb3ba3c4cef6b3d08cd103804.conikost@gentoo
1 commit: 0816038f2b906b0bb3ba3c4cef6b3d08cd103804
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 11 20:39:19 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 11 21:18:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0816038f
7
8 net-ftp/frox: drop old version
9
10 Closes: https://bugs.gentoo.org/781386
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 net-ftp/frox/frox-0.7.18-r7.ebuild | 86 --------------------------------------
15 1 file changed, 86 deletions(-)
16
17 diff --git a/net-ftp/frox/frox-0.7.18-r7.ebuild b/net-ftp/frox/frox-0.7.18-r7.ebuild
18 deleted file mode 100644
19 index b0221a94fd7..00000000000
20 --- a/net-ftp/frox/frox-0.7.18-r7.ebuild
21 +++ /dev/null
22 @@ -1,86 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -inherit autotools user
28 -
29 -DESCRIPTION="A transparent ftp proxy"
30 -SRC_URI="http://frox.sourceforge.net/download/${P}.tar.bz2"
31 -HOMEPAGE="http://frox.sourceforge.net/"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="amd64 ~ppc x86"
36 -IUSE="clamav ssl transparent"
37 -
38 -DEPEND="
39 - clamav? ( >=app-antivirus/clamav-0.80 )
40 - ssl? (
41 - dev-libs/openssl:0=
42 - )
43 - kernel_linux? ( >=sys-kernel/linux-headers-2.6 )
44 -"
45 -RDEPEND="${DEPEND}"
46 -
47 -# INSTALL has useful filewall rules
48 -DOCS=(
49 - BUGS README
50 - doc/CREDITS doc/ChangeLog doc/FAQ doc/INSTALL
51 - doc/INTERNALS doc/README.transdata doc/RELEASE
52 - doc/SECURITY doc/TODO
53 -)
54 -
55 -pkg_setup() {
56 - enewgroup ftpproxy
57 - enewuser ftpproxy -1 -1 /var/spool/frox ftpproxy
58 -
59 - use clamav && ewarn "Virus scanner potentialy broken in chroot - see bug #81035"
60 -}
61 -
62 -src_prepare() {
63 - HTML_DOCS=( doc/*.html doc/*.sgml )
64 -
65 - default
66 -
67 - eapply "${FILESDIR}/${PV}-respect-CFLAGS.patch"
68 - eapply "${FILESDIR}/${PV}-netfilter-includes.patch"
69 - eapply "${FILESDIR}/${P}-config.patch"
70 - eapply "${FILESDIR}/${P}-no-common.patch"
71 -
72 - if use clamav ; then
73 - sed -i -e "s:^# VirusScanner.*:# VirusScanner '\"/usr/bin/clamscan\" \"%s\"':" \
74 - "src/${PN}.conf" || die
75 - fi
76 -
77 - mv configure.in configure.ac || die
78 - eautoreconf
79 -}
80 -
81 -src_configure() {
82 - econf \
83 - --enable-http-cache --enable-local-cache \
84 - --enable-procname \
85 - --enable-configfile=/etc/frox.conf \
86 - $(use_enable !kernel_linux libiptc) \
87 - $(use_enable clamav virus-scan) \
88 - $(use_enable ssl) \
89 - $(use_enable transparent transparent-data) \
90 - $(use_enable !transparent ntp)
91 -}
92 -
93 -src_install() {
94 - default
95 -
96 - keepdir /var/{log,spool}/"${PN}"
97 -
98 - fperms 700 /var/spool/frox
99 - fowners ftpproxy:ftpproxy /var/{log,spool}/frox
100 -
101 - newman "doc/${PN}.man" "${PN}.man.8"
102 - newman "doc/${PN}.conf.man" "${PN}.conf.man.5"
103 -
104 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
105 -
106 - insinto /etc
107 - newins "src/${PN}.conf" "${PN}.conf.example"
108 -}