summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-06-26 00:32:57 +0000
committerMike Frysinger <vapier@gentoo.org>2003-06-26 00:32:57 +0000
commitc8b2c99bada0083d5dbba600d3fdc9345a190d62 (patch)
tree69d23148ffe0e9e1e983b0bb0c2d1a964439cc1b /net-ftp
parentbleh (diff)
downloadhistorical-c8b2c99bada0083d5dbba600d3fdc9345a190d62.tar.gz
historical-c8b2c99bada0083d5dbba600d3fdc9345a190d62.tar.bz2
historical-c8b2c99bada0083d5dbba600d3fdc9345a190d62.zip
tweaks #23463
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/jftpgw/ChangeLog7
-rw-r--r--net-ftp/jftpgw/files/digest-jftpgw-0.13.4-r11
-rw-r--r--net-ftp/jftpgw/files/jftpgw.rc20
-rw-r--r--net-ftp/jftpgw/jftpgw-0.13.4-r1.ebuild47
4 files changed, 74 insertions, 1 deletions
diff --git a/net-ftp/jftpgw/ChangeLog b/net-ftp/jftpgw/ChangeLog
index 256d92aad5c1..e9fcc755de62 100644
--- a/net-ftp/jftpgw/ChangeLog
+++ b/net-ftp/jftpgw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/jftpgw
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/jftpgw/ChangeLog,v 1.3 2003/04/06 09:31:15 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/jftpgw/ChangeLog,v 1.4 2003/06/26 00:32:57 vapier Exp $
+
+*jftpgw-0.13.4-r1 (25 Jun 2003)
+
+ 25 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added USE support for xinetd,crypt,tcpd and an init.d file #23463.
*jftpgw-0.13.4 (06 Apr 2002)
diff --git a/net-ftp/jftpgw/files/digest-jftpgw-0.13.4-r1 b/net-ftp/jftpgw/files/digest-jftpgw-0.13.4-r1
new file mode 100644
index 000000000000..fd2ed994dffc
--- /dev/null
+++ b/net-ftp/jftpgw/files/digest-jftpgw-0.13.4-r1
@@ -0,0 +1 @@
+MD5 75c8be9742d21c2f2028ad581066a8e5 jftpgw-0.13.4.tar.gz 255160
diff --git a/net-ftp/jftpgw/files/jftpgw.rc b/net-ftp/jftpgw/files/jftpgw.rc
new file mode 100644
index 000000000000..e5a61cd060b4
--- /dev/null
+++ b/net-ftp/jftpgw/files/jftpgw.rc
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/jftpgw/files/jftpgw.rc,v 1.1 2003/06/26 00:32:57 vapier Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting jftpgw"
+ jftpgw
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping jftpgw"
+ kill `</var/run/jftpgw.pid`
+ eend $?
+}
diff --git a/net-ftp/jftpgw/jftpgw-0.13.4-r1.ebuild b/net-ftp/jftpgw/jftpgw-0.13.4-r1.ebuild
new file mode 100644
index 000000000000..6a853d7e9767
--- /dev/null
+++ b/net-ftp/jftpgw/jftpgw-0.13.4-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/jftpgw/jftpgw-0.13.4-r1.ebuild,v 1.1 2003/06/26 00:32:57 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="A small FTP gateway"
+HOMEPAGE="http://www.mcknight.de/jftpgw/"
+SRC_URI="http://www.mcknight.de/jftpgw/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="crypt tcpd xinetd"
+
+DEPEND="virtual/glibc
+ tcpd? ( sys-apps/tcp-wrappers )"
+RDEPEND="${DEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+src_compile() {
+ econf \
+ --sysconfdir=/etc/jftpgw \
+ --with-logpath=/var/log \
+ `use_enable crypt` \
+ `use_enable tcpd libwrap` \
+ || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc ChangeLog COPYING README TODO
+
+ dosed "s:nobody:${PN}:" /etc/jftpgw/jftpgw.conf
+ dosed "s:nobody:${PN}:" /etc/jftpgw/jftpgw.conf.sample
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/jftpgw.rc jftpgw
+
+ if [ `use xinetd` ] ; then
+ insinto /etc/xinetd.d
+ newins support/jftpgw.xinetd jftpgw
+ dosed "s:nobody:${PN}:" /etc/xinetd.d/jftpgw
+ fi
+
+ enewuser ${PN} -1 /bin/false /dev/null nobody
+}