diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-24 14:47:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-24 14:47:38 +0100 |
commit | b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 (patch) | |
tree | 911928b566777494d08ebe2c16cb64f15af71901 /net-ftp/frox/frox-0.7.18-r6.ebuild | |
parent | 61f10f985e19dfe20a4d9552902625edd5b6eabb (diff) |
gentoo resync : 24.06.2021
Diffstat (limited to 'net-ftp/frox/frox-0.7.18-r6.ebuild')
-rw-r--r-- | net-ftp/frox/frox-0.7.18-r6.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/net-ftp/frox/frox-0.7.18-r6.ebuild b/net-ftp/frox/frox-0.7.18-r6.ebuild deleted file mode 100644 index 680bcbd95232..000000000000 --- a/net-ftp/frox/frox-0.7.18-r6.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools user - -DESCRIPTION="A transparent ftp proxy" -SRC_URI="http://frox.sourceforge.net/download/${P}.tar.bz2" -HOMEPAGE="http://frox.sourceforge.net/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="clamav ssl transparent" - -DEPEND=" - clamav? ( >=app-antivirus/clamav-0.80 ) - ssl? ( - dev-libs/openssl:0 - ) - kernel_linux? ( >=sys-kernel/linux-headers-2.6 ) -" -RDEPEND="${DEPEND}" - -# INSTALL has useful filewall rules -DOCS=( - BUGS README - doc/CREDITS doc/ChangeLog doc/FAQ doc/INSTALL - doc/INTERNALS doc/README.transdata doc/RELEASE - doc/SECURITY doc/TODO -) - -pkg_setup() { - enewgroup ftpproxy - enewuser ftpproxy -1 -1 /var/spool/frox ftpproxy - - use clamav && ewarn "Virus scanner potentialy broken in chroot - see bug #81035" -} - -src_prepare() { - HTML_DOCS=( doc/*.html doc/*.sgml ) - - default - - eapply "${FILESDIR}/${PV}-respect-CFLAGS.patch" - eapply "${FILESDIR}/${PV}-netfilter-includes.patch" - eapply "${FILESDIR}/${P}-config.patch" - eapply "${FILESDIR}/${P}-no-common.patch" - - if use clamav ; then - sed -i -e "s:^# VirusScanner.*:# VirusScanner '\"/usr/bin/clamscan\" \"%s\"':" \ - "src/${PN}.conf" || die - fi - - mv configure.in configure.ac || die - eautoreconf -} - -src_configure() { - econf \ - --enable-http-cache --enable-local-cache \ - --enable-procname \ - --enable-configfile=/etc/frox.conf \ - $(use_enable !kernel_linux libiptc) \ - $(use_enable clamav virus-scan) \ - $(use_enable ssl) \ - $(use_enable transparent transparent-data) \ - $(use_enable !transparent ntp) -} - -src_install() { - default - - keepdir /var/{log,spool}/"${PN}" - - fperms 700 /var/spool/frox - fowners ftpproxy:ftpproxy /var/{log,spool}/frox - - newman "doc/${PN}.man" "${PN}.man.8" - newman "doc/${PN}.conf.man" "${PN}.conf.man.5" - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - - insinto /etc - newins "src/${PN}.conf" "${PN}.conf.example" -} |