diff options
-rw-r--r-- | net-www/mod_ftpd/ChangeLog | 11 | ||||
-rw-r--r-- | net-www/mod_ftpd/Manifest | 2 | ||||
-rw-r--r-- | net-www/mod_ftpd/files/0.12.3-mod_ftpd-ipv6.patch | 14 | ||||
-rw-r--r-- | net-www/mod_ftpd/files/digest-mod_ftpd-0.12.3 | 1 | ||||
-rw-r--r-- | net-www/mod_ftpd/metadata.xml | 8 | ||||
-rw-r--r-- | net-www/mod_ftpd/mod_ftpd-0.12.3.ebuild | 40 |
6 files changed, 76 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..7758d5a4a097 --- /dev/null +++ b/net-www/mod_ftpd/Manifest @@ -0,0 +1,2 @@ +MD5 a81cebc89f8c1b3596948b6fa1760510 mod_ftpd-0.12.3.ebuild 1174 +MD5 853c5251554ad3b0b04dd46bd6f3ce90 files/digest-mod_ftpd-0.12.3 68 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 +} |