summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/frox')
-rw-r--r--net-ftp/frox/ChangeLog9
-rw-r--r--net-ftp/frox/Manifest3
-rw-r--r--net-ftp/frox/frox-0.7.18-r3.ebuild73
3 files changed, 82 insertions, 3 deletions
diff --git a/net-ftp/frox/ChangeLog b/net-ftp/frox/ChangeLog
index 98e186c26bcc..e58afac75191 100644
--- a/net-ftp/frox/ChangeLog
+++ b/net-ftp/frox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/frox
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.12 2007/04/29 18:06:37 tove Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.13 2008/04/02 07:56:34 dragonheart Exp $
+
+*frox-0.7.18-r3 (02 Apr 2008)
+
+ 02 Apr 2008; Daniel Black <dragonheart@gentoo.org> +frox-0.7.18-r3.ebuild:
+ added --enable-transparent-data as per bug #189896 by Chih-Hsiang Hsu
29 Apr 2007; Torsten Veller <tove@gentoo.org> frox-0.7.18-r2.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)
diff --git a/net-ftp/frox/Manifest b/net-ftp/frox/Manifest
index 13b84323a476..e4a54e22b96d 100644
--- a/net-ftp/frox/Manifest
+++ b/net-ftp/frox/Manifest
@@ -2,5 +2,6 @@ AUX config-0.7.18.patch 1953 RMD160 8b057f26827c32ffe79a7ffdb1ebd26b3ac7eeac SHA
AUX frox.rc 1078 RMD160 f3bbf0f09ec9172312c2bb566f48cab90e051ec7 SHA1 a5c4367b99356271012074f3763df234480d9214 SHA256 900daa22ef0a47648242f686f3e0605dc7b3a97cda8e57c721a1b0a594e85191
DIST frox-0.7.18.tar.bz2 173355 RMD160 f0dec4e54a5badd8ccc471198c557ea93416a3fc SHA1 9d4e590628103f19b5c2c989a2784eb1c7100221 SHA256 f7b637dd108444ff9c2302aa134f434e1606a2f965c01492abfbdc9b1c0bd0fc
EBUILD frox-0.7.18-r2.ebuild 1798 RMD160 5b2d417f4d8dbe3635c388facbf9e9b354b80a1d SHA1 b0261ef00c87fbcf78276a4e97c0728bc44962e7 SHA256 41e7f2f5ce8bf9a5c34d0ae2258590e98eac2a4099c4121dbd8cf202755480d6
-MISC ChangeLog 2027 RMD160 f02bcc8d8610506422f8720943321221d56d0afa SHA1 63a505123c770259b0da745b01995bfd154a75ff SHA256 6d01ca62d388b766f43e97ff1ba15c57a2fefcfcc4bd579aaa4110f501fa4075
+EBUILD frox-0.7.18-r3.ebuild 1833 RMD160 1f20b613717089e0832f7cfdb0d3ace64f6919e4 SHA1 8d07705c25b60090f9c4d65f4a6d4b9770663dc0 SHA256 84a8ec4b6ffc9e8b23e9453b392459d67ca0d20273b9e30d6dcb6e7fb8804ecd
+MISC ChangeLog 2215 RMD160 9fad7c411655e35ad9de17a6cfc0af35c782dab4 SHA1 25a9886e7b30ad879721506c56664099f1f16a51 SHA256 250d7968a5ea198f8c61f6c426e3d3c80798f7302c96a631aae3e0735e949376
MISC metadata.xml 403 RMD160 48afb924f8ddebfd4ea31a43eca3b277a30b62b6 SHA1 ec604212b5eb7dde6256c827184a228eaa8161d5 SHA256 148b8bb5514a7787fab372ad8a71c93c67db9ce84ed2aa5953691c2104ca788a
diff --git a/net-ftp/frox/frox-0.7.18-r3.ebuild b/net-ftp/frox/frox-0.7.18-r3.ebuild
new file mode 100644
index 000000000000..8c37d6b2ccd5
--- /dev/null
+++ b/net-ftp/frox/frox-0.7.18-r3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2008 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-r3.ebuild,v 1.1 2008/04/02 07:56:34 dragonheart 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 \
+ --enable-transparent-data \
+ $(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
+
+ newinitd ${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
+}