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
commit67b7a33c87734cebaa8b2a6d1e4c1c115535fe13 (patch)
tree0b455757a80b546ca7d012c40b2a12cd0c9842ae /net-ftp/frox
parentno-herd intead of empty herd tag (diff)
downloadgentoo-2-67b7a33c87734cebaa8b2a6d1e4c1c115535fe13.tar.gz
gentoo-2-67b7a33c87734cebaa8b2a6d1e4c1c115535fe13.tar.bz2
gentoo-2-67b7a33c87734cebaa8b2a6d1e4c1c115535fe13.zip
fixed initscript - thanks ian bug #105121. QA fixes too
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-ftp/frox')
-rw-r--r--net-ftp/frox/ChangeLog9
-rw-r--r--net-ftp/frox/Manifest16
-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, 89 insertions, 16 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..438953107762 100644
--- a/net-ftp/frox/Manifest
+++ b/net-ftp/frox/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403
-MD5 c6c5e1148efa44b4a3539278bbb06df4 ChangeLog 1294
+MD5 30995070dbdcdf7f158fd2d580f73584 ChangeLog 1452
MD5 d1ede9dc096fa5b565620e2c01f02653 frox-0.7.18.ebuild 1788
-MD5 c24bdfcbd28e6bd71f002adc5527b092 files/frox.rc 1080
+MD5 c084e315df04a90bce64632bc6a9e9f0 frox-0.7.18-r1.ebuild 1781
+MD5 3122d228272efa313c824289555360a7 files/frox.rc 1076
MD5 4fc077cd1a556548e43d1bbc6176c1fb files/digest-frox-0.7.18 64
MD5 e80a76dccec13cd8104fe980f63395fd files/config-0.7.18.patch 1953
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDC50/mdTrptrqvGERAqYEAJ9npBAB9ZhswDUmLcW+Kc6pGE59iACgh7Eg
-3phveDSfXmCB1bM1W39iM0A=
-=lbE6
------END PGP SIGNATURE-----
+MD5 4fc077cd1a556548e43d1bbc6176c1fb files/digest-frox-0.7.18-r1 64
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
+}