public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-ftp/frox: metadata.xml frox-0.7.18-r4.ebuild ChangeLog frox-0.7.18-r3.ebuild
@ 2012-03-03 12:53 Pacho Ramos (pacho)
  0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2012-03-03 12:53 UTC (permalink / raw
  To: gentoo-commits

pacho       12/03/03 12:53:16

  Modified:             metadata.xml ChangeLog
  Added:                frox-0.7.18-r4.ebuild
  Removed:              frox-0.7.18-r3.ebuild
  Log:
  Respect CFLAGS, add transparent support and more fixes, bug #406483 by Bertrand Jacquin. Drop old.
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  net-ftp/frox/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/metadata.xml?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/metadata.xml?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-ftp/frox/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml	24 Sep 2011 09:57:25 -0000	1.3
+++ metadata.xml	3 Mar 2012 12:53:16 -0000	1.4
@@ -4,5 +4,8 @@
 <maintainer>
   <email>maintainer-needed@gentoo.org</email>
 </maintainer>
+<use>
+<flag name="transparent">Enable transparent proxying of data connections</flag>
+</use>
 <longdescription></longdescription>
 </pkgmetadata>



1.17                 net-ftp/frox/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/ChangeLog?rev=1.17&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/ChangeLog?rev=1.17&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/ChangeLog?r1=1.16&r2=1.17

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ChangeLog	20 Jul 2011 14:44:12 -0000	1.16
+++ ChangeLog	3 Mar 2012 12:53:16 -0000	1.17
@@ -1,6 +1,14 @@
 # ChangeLog for net-ftp/frox
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.16 2011/07/20 14:44:12 pacho Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/frox/ChangeLog,v 1.17 2012/03/03 12:53:16 pacho Exp $
+
+*frox-0.7.18-r4 (03 Mar 2012)
+
+  03 Mar 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/0.7.18-netfilter-includes.patch, +files/0.7.18-respect-CFLAGS.patch,
+  +frox-0.7.18-r4.ebuild, -frox-0.7.18-r3.ebuild, metadata.xml:
+  Respect CFLAGS, add transparent support and more fixes, bug #406483 by
+  Bertrand Jacquin. Drop old.
 
   20 Jul 2011; Pacho Ramos <pacho@gentoo.org> metadata.xml:
   Drop maintainer due retirement, bug #34534



1.1                  net-ftp/frox/frox-0.7.18-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/frox-0.7.18-r4.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/frox/frox-0.7.18-r4.ebuild?rev=1.1&content-type=text/plain

Index: frox-0.7.18-r4.ebuild
===================================================================
# Copyright 1999-2012 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-r4.ebuild,v 1.1 2012/03/03 12:53:16 pacho Exp $

EAPI=4
inherit eutils autotools

IUSE="clamav ssl transparent"

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 )
	ssl? ( dev-libs/openssl )
	kernel_linux? ( >=sys-kernel/linux-headers-2.6 )"
RDEPEND="${DEPEND}"

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 () {
	epatch "${FILESDIR}"/${PV}-respect-CFLAGS.patch
	epatch "${FILESDIR}"/${PV}-netfilter-includes.patch

	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() {
	emake DESTDIR=${D} install

	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"

	cp frox.conf ${D}/etc/frox.conf.example
	if use clamav ; then
		sed -i \
		  -e "s:^# VirusScanner.*:# VirusScanner '\"/usr/bin/clamscan\" \"%s\"':" \
			${D}/etc/frox.conf.example || die
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-03 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 12:53 [gentoo-commits] gentoo-x86 commit in net-ftp/frox: metadata.xml frox-0.7.18-r4.ebuild ChangeLog frox-0.7.18-r3.ebuild Pacho Ramos (pacho)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox