delete old

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@3040 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2011-11-12 17:53:15 +00:00
parent 4a18a96bee
commit 016082f3d4
45 changed files with 0 additions and 6562 deletions

View File

@@ -1,17 +0,0 @@
# Please read the oftpd(8) man page for a more detailed explaination of these
# variables.
#
# FTPUSER (user-name in the man page):
# Set this variable to the user to run the ftp daemon as
FTPUSER=ftp
# FTPROOT (root-directory in the man page):
# The server uses chroot(2) to change the root directory of the server to this
# directory. When a user connects, this is the directory that they will start
# in, and is the top of their directory tree.
#
FTPROOT=/home/ftp
# FTPPORT (TCP port)
# 22 is the standard ftp port, but you can change it here to something else
FTPPORT=22

View File

@@ -1,29 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/files/init.d.oftpd-r1,v 1.3 2009/06/13 19:31:06 grobian Exp $
depend() {
need net
}
checkconfig() {
if [ -z "${FTPUSER}" ] || [ -z "${FTPROOT}" ] || [ -z "${FTPPORT}" ] ; then
eerror "You need to setup FTPUSER, FTPROOT and FTPPORT in /etc/conf.d/oftpd"
return 1
fi
}
start() {
checkconfig || return 1
ebegin "Starting oftpd"
start-stop-daemon --start --exec /usr/sbin/oftpd -- -p ${FTPPORT} ${FTPUSER} ${FTPROOT}
eend $?
}
stop() {
ebegin "Stopping oftpd"
start-stop-daemon --stop --quiet --exec /usr/sbin/oftpd
eend $?
}

View File

@@ -1,23 +0,0 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-01-05
Initial Package Version: 0.3.7
Origin: http://gentoo.mirror.solnet.ch/net-ftp/oftpd/files/oftpd-0.3.7-family.patch
Upstream Status: unkonwn
Description: dont crash on wrong protocol family
diff -Naur oftpd-0.3.7.orig/src/ftp_session.c oftpd-0.3.7/src/ftp_session.c
--- oftpd-0.3.7.orig/src/ftp_session.c 2010-01-05 21:56:48.540303543 +0000
+++ oftpd-0.3.7/src/ftp_session.c 2010-01-05 21:57:29.995553119 +0000
@@ -708,10 +708,12 @@
if ((((struct sockaddr *)host_port)->sa_family != AF_INET) &&
(((struct sockaddr *)host_port)->sa_family != AF_INET6)) {
reply(f, 521, "Only IPv4 and IPv6 supported, address families (4,6)");
+ return;
}
#else
if (((struct sockaddr *)host_port)->sa_family != AF_INET) {
reply(f, 521, "Only IPv4 supported, address family (4)");
+ return;
}
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,42 +0,0 @@
--- /usr/portage/net-ftp/oftpd/oftpd-0.3.7-r4.ebuild 2009-05-29 16:00:05.000000000 +0200
+++ oftpd-0.3.7-r5.ebuild 2010-01-05 23:07:34.079555852 +0100
@@ -1,9 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r4.ebuild,v 1.1 2009/05/29 14:00:05 rbu Exp $
+# $Header: $
EAPI=2
-inherit eutils
+inherit eutils autotools
DESCRIPTION="Secure, small, anonymous only ftpd"
HOMEPAGE="http://www.time-travellers.org/oftpd"
@@ -12,21 +12,23 @@
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
-IUSE=""
+IUSE="ipv6"
DEPEND="net-ftp/ftpbase"
RDEPEND="${DEPEND}"
src_prepare() {
+ epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-1.patch
# Don't crash when using an unsupported address family, #159178.
- epatch "${FILESDIR}"/oftpd-0.3.7-family.patch
+ epatch "${FILESDIR}"/oftpd-0.3.7-family-1.patch
+ eautoreconf
}
src_configure() {
# local myconf
# ipv6 support busted according to lamer
# use ipv6 && myconf="${myconf} --enable-ipv6"
- econf --bindir=/usr/sbin || die
+ econf --bindir=/usr/sbin $(use_enable ipv6) || die
}
src_install() {