summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-26 19:42:53 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-26 19:42:53 +0000
commitaac5f2570fd484294393e0eeb1a860adc4fd8f44 (patch)
tree77efa355056e3c537a3648dfeba3a671df68f86d /net-ftp/frox
parentold (diff)
downloadgentoo-2-aac5f2570fd484294393e0eeb1a860adc4fd8f44.tar.gz
gentoo-2-aac5f2570fd484294393e0eeb1a860adc4fd8f44.tar.bz2
gentoo-2-aac5f2570fd484294393e0eeb1a860adc4fd8f44.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-ftp/frox')
-rw-r--r--net-ftp/frox/frox-0.7.18-r1.ebuild72
1 files changed, 0 insertions, 72 deletions
diff --git a/net-ftp/frox/frox-0.7.18-r1.ebuild b/net-ftp/frox/frox-0.7.18-r1.ebuild
deleted file mode 100644
index 17cdf14a98fd..000000000000
--- a/net-ftp/frox/frox-0.7.18-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/frox-0.7.18-r1.ebuild,v 1.2 2007/07/15 02:38:18 mr_bones_ Exp $
-
-inherit eutils
-
-IUSE="clamav"
-
-MY_P=${P/_/}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="A transparent ftp proxy"
-SRC_URI="http://frox.sourceforge.net/download/${MY_P}.tar.bz2"
-HOMEPAGE="http://frox.sourceforge.net/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc sparc x86"
-
-DEPEND="clamav? ( >=app-antivirus/clamav-0.80 )"
-
-pkg_setup() {
- enewgroup ftpproxy
- enewuser ftpproxy -1 -1 /var/spool/frox ftpproxy
-}
-
-src_compile() {
-
- econf \
- --sbindir=/usr/sbin \
- --localstatedir=/var/run \
- --sysconfdir=/etc \
- --enable-http-cache --enable-local-cache \
- $(use_enable clamav virus-scan) || die "bad ./configure"
-
- emake || die "compile problem"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- keepdir /var/run/frox
- keepdir /var/spool/frox
- keepdir /var/log/frox
-
- fperms 700 /var/spool/frox
- fowners ftpproxy:ftpproxy /var/run/frox /var/spool/frox /var/log/frox
-
- # INSTALL has useful filewall rules
- dodoc BUGS README \
- doc/CREDITS doc/ChangeLog doc/FAQ doc/INSTALL \
- doc/INTERNALS doc/README.transdata doc/RELEASE \
- doc/SECURITY doc/TODO
-
- dohtml doc/*.html doc/*.sgml
-
- mv doc/frox.man doc/frox.man.8
- mv doc/frox.conf.man doc/frox.conf.man.8
- doman doc/frox.man.8 doc/frox.conf.man.8
-
- exeinto /etc/init.d ; newexe ${FILESDIR}/frox.rc frox
-
- cd src
- epatch ${FILESDIR}/config-${PV}.patch || die "config patch failed"
-
- if use clamav; then
- sed -e "s:^# VirusScanner.*:# VirusScanner '\"/usr/bin/clamscan\" \"%s\"':" \
- frox.conf > ${D}/etc/frox.conf.example
- ewarn "Virus scanner potentialy broken in chroot - see bug #81035."
- else
- cp frox.conf ${D}/etc/frox.conf.example
- fi
-}