summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-05-14 17:01:36 +0000
committerChuck Short <zul@gentoo.org>2004-05-14 17:01:36 +0000
commit68e15500befa8c1367791981e01d16abd090f69e (patch)
treeba9248a9706f824db932d6922221ceff5ad7352d /net-www/mod_ftpd
parentInitial Import. Closes #49810 (diff)
downloadhistorical-68e15500befa8c1367791981e01d16abd090f69e.tar.gz
historical-68e15500befa8c1367791981e01d16abd090f69e.tar.bz2
historical-68e15500befa8c1367791981e01d16abd090f69e.zip
New ebuild.
Diffstat (limited to 'net-www/mod_ftpd')
-rw-r--r--net-www/mod_ftpd/ChangeLog11
-rw-r--r--net-www/mod_ftpd/Manifest5
-rw-r--r--net-www/mod_ftpd/files/0.12.3-mod_ftpd-ipv6.patch14
-rw-r--r--net-www/mod_ftpd/files/digest-mod_ftpd-0.12.31
-rw-r--r--net-www/mod_ftpd/metadata.xml8
-rw-r--r--net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild40
6 files changed, 79 insertions, 0 deletions
diff --git a/net-www/mod_ftpd/ChangeLog b/net-www/mod_ftpd/ChangeLog
new file mode 100644
index 000000000000..80705a171896
--- /dev/null
+++ b/net-www/mod_ftpd/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-www/mod_ftpd
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ftpd/ChangeLog,v 1.1 2004/05/14 17:01:36 zul Exp $
+
+*mod_ftpd-0.12.3 (15 May 2004)
+
+ 15 May 2004; Chuck Short <zul@gentoo.org> metadata.xml,
+ mod_ftpd-0.12.3.ebuild, files/0.12.3-mod_ftpd-ipv6.patch:
+ Initial version, ebuild written by Sven Wegener. < sven.wegener -at-
+ stealer.net>. Closes #50300.
+
diff --git a/net-www/mod_ftpd/Manifest b/net-www/mod_ftpd/Manifest
new file mode 100644
index 000000000000..b24501dcd450
--- /dev/null
+++ b/net-www/mod_ftpd/Manifest
@@ -0,0 +1,5 @@
+MD5 9f31df47b3e0d0d21dea74daaa78cd79 mod_ftpd-0.12.3.ebuild 1123
+MD5 bc1dec510800916e5ad42f137594c830 ChangeLog 464
+MD5 5b6dd438f81019e56fa641841c0c13fe metadata.xml 501
+MD5 853c5251554ad3b0b04dd46bd6f3ce90 files/digest-mod_ftpd-0.12.3 68
+MD5 e4b00c859e767293dba0066453b34da2 files/0.12.3-mod_ftpd-ipv6.patch 513
diff --git a/net-www/mod_ftpd/files/0.12.3-mod_ftpd-ipv6.patch b/net-www/mod_ftpd/files/0.12.3-mod_ftpd-ipv6.patch
new file mode 100644
index 000000000000..184636d987bf
--- /dev/null
+++ b/net-www/mod_ftpd/files/0.12.3-mod_ftpd-ipv6.patch
@@ -0,0 +1,14 @@
+diff -Nur mod_ftpd-0.12.3.orig/ftp_protocol.c mod_ftpd-0.12.3/ftp_protocol.c
+--- mod_ftpd-0.12.3.orig/ftp_protocol.c 2004-05-14 12:35:21.711380077 +0000
++++ mod_ftpd-0.12.3/ftp_protocol.c 2004-05-14 12:39:00.132117006 +0000
+@@ -872,8 +872,10 @@
+ family = apr_atoi64(strfamily);
+ if (family == 1) {
+ family = APR_INET;
++#if APR_HAVE_IPV6
+ } else if (family == 2) {
+ family = APR_INET6;
++#endif
+ } else {
+ ap_rprintf(r, FTP_C_INVALID_PROTO" Unsupported Protocol, use (1,2)\r\n");
+ ap_rflush(r);
diff --git a/net-www/mod_ftpd/files/digest-mod_ftpd-0.12.3 b/net-www/mod_ftpd/files/digest-mod_ftpd-0.12.3
new file mode 100644
index 000000000000..81759345d98b
--- /dev/null
+++ b/net-www/mod_ftpd/files/digest-mod_ftpd-0.12.3
@@ -0,0 +1 @@
+MD5 c0574d3c6923cd6a2eb61f1fcc997910 mod_ftpd-0.12.3.tar.bz2 316199
diff --git a/net-www/mod_ftpd/metadata.xml b/net-www/mod_ftpd/metadata.xml
new file mode 100644
index 000000000000..bcaabdbbd0d3
--- /dev/null
+++ b/net-www/mod_ftpd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>apache</herd>
+<longdescription>
+The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
+</longdescription>
+</pkgmetadata>
diff --git a/net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild b/net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild
new file mode 100644
index 000000000000..fe544df046b1
--- /dev/null
+++ b/net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild,v 1.1 2004/05/14 17:01:36 zul Exp $
+
+DESCRIPTION="Apache2 protocol module which provides an FTP server"
+HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_ftpd/"
+SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gdbm"
+
+DEPEND="=net-www/apache-2*
+ gdbm? ( >=sys-libs/gdbm-1.8.0-r5 )"
+
+src_compile() {
+
+ epatch ${FILESDIR}/0.12.3-mod_ftpd-ipv6.patch || die
+ local providers="default fail"
+
+ use gdbm && providers="dbm ${providers}"
+ use dbi && providers="dbi ${providers}"
+
+ econf \
+ --with-apxs=/usr/sbin/apxs2 \
+ --enable-providers="${providers}" \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ exeinto /usr/lib/apache2-extramodules
+ doexe .libs/mod_ftpd.so providers/*/.libs/*.so
+
+ insinto /etc/apache2/conf/modules.d
+ doins ${FILESDIR}/mod_ftpd.conf
+
+ dohtml docs/manual.html
+ dodoc docs/manual.pdf AUTHORS ChangeLog README TODO
+}