summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-09-07 09:40:08 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-09-07 09:40:08 +0000
commitd2c6c149cc8b689d52da8dd2624be4b0f8a4a921 (patch)
treee182396c3a25c9a90ce6fe71385732cc6b0d3080 /net-ftp/frox
parentno-herd intead of empty herd tag (diff)
downloadhistorical-d2c6c149cc8b689d52da8dd2624be4b0f8a4a921.tar.gz
historical-d2c6c149cc8b689d52da8dd2624be4b0f8a4a921.tar.bz2
historical-d2c6c149cc8b689d52da8dd2624be4b0f8a4a921.zip
fixed initscript - thanks ian bug #105121. QA fixes too
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-ftp/frox')
-rw-r--r--net-ftp/frox/ChangeLog9
-rw-r--r--net-ftp/frox/Manifest12
-rw-r--r--net-ftp/frox/files/digest-frox-0.7.18-r11
-rw-r--r--net-ftp/frox/files/frox.rc6
-rw-r--r--net-ftp/frox/frox-0.7.18-r1.ebuild73
5 files changed, 92 insertions, 9 deletions
diff --git a/net-ftp/frox/ChangeLog b/net-ftp/frox/ChangeLog
index dc1b4dda8f6c..97c686e3f391 100644
--- a/net-ftp/frox/ChangeLog
+++ b/net-ftp/frox/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-ftp/frox
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.8 2005/08/23 22:03:28 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.9 2005/09/07 09:40:08 dragonheart Exp $
+
+*frox-0.7.18-r1 (07 Sep 2005)
+
+ 07 Sep 2005; Daniel Black <dragonheart@gentoo.org> files/frox.rc,
+ +frox-0.7.18-r1.ebuild:
+ fixed initscript - thanks ian@g.o bug #105121. revision bump to install
+ fixed initscript. also stops installing COPYING information. QA fixes too
23 Aug 2005; Daniel Black <dragonheart@gentoo.org> frox-0.7.18.ebuild:
removing /bin/false from enewuser - bug #103421
diff --git a/net-ftp/frox/Manifest b/net-ftp/frox/Manifest
index fa630c5c62b5..2ad0ca22f99a 100644
--- a/net-ftp/frox/Manifest
+++ b/net-ftp/frox/Manifest
@@ -2,15 +2,17 @@
Hash: SHA1
MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
-MD5 c6c5e1148efa44b4a3539278bbb06df4 ChangeLog 1294
+MD5 2faee46ed2b4a6478586be419c845172 ChangeLog 1571
MD5 d1ede9dc096fa5b565620e2c01f02653 frox-0.7.18.ebuild 1788
-MD5 c24bdfcbd28e6bd71f002adc5527b092 files/frox.rc 1080
+MD5 4ed8b45b788394d07de8ee0d6d4ec015 frox-0.7.18-r1.ebuild 1821
+MD5 b4bef74e030a66fdc8146dded33be009 files/frox.rc 1076
MD5 4fc077cd1a556548e43d1bbc6176c1fb files/digest-frox-0.7.18 64
MD5 e80a76dccec13cd8104fe980f63395fd files/config-0.7.18.patch 1953
+MD5 4fc077cd1a556548e43d1bbc6176c1fb files/digest-frox-0.7.18-r1 64
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDC50/mdTrptrqvGERAqYEAJ9npBAB9ZhswDUmLcW+Kc6pGE59iACgh7Eg
-3phveDSfXmCB1bM1W39iM0A=
-=lbE6
+iD8DBQFDHrWOmdTrptrqvGERAqGoAJ9r9DWNl22ePENCrbk0BSbzcrklfwCcCSPB
+6wZTqKa7WuEzBflklvSoiTM=
+=/eX2
-----END PGP SIGNATURE-----
diff --git a/net-ftp/frox/files/digest-frox-0.7.18-r1 b/net-ftp/frox/files/digest-frox-0.7.18-r1
new file mode 100644
index 000000000000..215190b8427b
--- /dev/null
+++ b/net-ftp/frox/files/digest-frox-0.7.18-r1
@@ -0,0 +1 @@
+MD5 d30c35b9820d706ff2f9a6ab3b501247 frox-0.7.18.tar.bz2 173355
diff --git a/net-ftp/frox/files/frox.rc b/net-ftp/frox/files/frox.rc
index 72d0a505c9f4..800621c50921 100644
--- a/net-ftp/frox/files/frox.rc
+++ b/net-ftp/frox/files/frox.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/files/frox.rc,v 1.2 2005/02/07 11:15:16 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/files/frox.rc,v 1.3 2005/09/07 09:40:08 dragonheart Exp $
PROGNAME=`basename $1`
@@ -12,8 +12,8 @@ depend() {
}
checkconfig() {
- if [ -f /etc/frox.config ] ; then
- eerror "missing /etc/frox.config"
+ if [ -f /etc/frox.conf ] ; then
+ eerror "missing /etc/frox.conf"
return 1
fi
diff --git a/net-ftp/frox/frox-0.7.18-r1.ebuild b/net-ftp/frox/frox-0.7.18-r1.ebuild
new file mode 100644
index 000000000000..7b2b6290ba1c
--- /dev/null
+++ b/net-ftp/frox/frox-0.7.18-r1.ebuild
@@ -0,0 +1,73 @@
+# 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.1 2005/09/07 09:40:08 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 \
+ $(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
+}