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,19 +0,0 @@
# ChangeLog for net-ftp/oftpd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com> +files/init.d.oftpd-r1:
add init script back
06 Nov 2010; Mario Fetka <mario.fetka@gmail.com> -oftpd-0.3.7-r5.ebuild,
+oftpd-0.3.7-r6.ebuild, -files/conf.d.oftpd-r1, +files/conf.d.oftpd-r6,
-files/init.d.oftpd-r1:
bump to gentoo's latest conf file
09 May 2010; Mario Fetka <mario.fetka@gmail.com>
+files/oftpd-0.3.7-r4.diff:
add ipv6 patch
05 Jan 2010; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
initial checkin based on official gentoo ebuild but with proper ipv6 patch

View File

@@ -1,9 +0,0 @@
AUX conf.d.oftpd-r6 579 RMD160 8433daa924b3cda57ca579ef451c25749b07b4d2 SHA1 9989021aac01c58e0b5e5703b2263c32184a0c34 SHA256 fabff4fcce71d756ea1fb88951dee6f6146aa3d0dc867ccbca02723369fce800
AUX init.d.oftpd-r1 722 RMD160 3e24790f4d56d2eff46ce810c8433a10f852c1ad SHA1 49e4d235f382eedd24b25955c1cf2764a94ee08b SHA256 cd3c98cc8bc3255503d9cc9946749d53d90410bf9d4c0a3a9ddb6819c87ab84e
AUX oftpd-0.3.7-family-1.patch 936 RMD160 0668323bb69fac190d8b1c4bcb0f5ed1c9c2b692 SHA1 945970c75cd4d23b4027f72521f4390a8b8ee4e6 SHA256 fe903d6fbb4a523f7b85dfb4c112f489da07764e8d67e15faa9b8380d400ba2a
AUX oftpd-0.3.7-ipv6rel2-1.patch 44765 RMD160 563fafe68e9e1be6b96116b7ae0c24204147b6f7 SHA1 5b7fd9a9b46cdcb2e3d081bdecb255b584826d42 SHA256 4ae576a749c26dd66432c273ec71c0d7fc34a4159cd7fd7760e484304eeb1ccc
AUX oftpd-0.3.7-r4.diff 1254 RMD160 64dbf5d120e03beffb3bce72ce16d647f54c906c SHA1 f8182ff728b0d9752429702e7ca04e79051dfca2 SHA256 4497626ffbbff1134b8940da423a2ad1f8fecba0e743d370e73da756ae949438
DIST oftpd-0.3.7.tar.gz 97364 RMD160 9430607bf0c51847a4e4cc97c84be0495c931183 SHA1 d6d3ce43c009bb68736d50739e9a2f60bede99c1 SHA256 b135cd2bc6c54e03e5374845964eab73d5e567160c15bb4226c1c922b1e6d64e
EBUILD oftpd-0.3.7-r6.ebuild 1030 RMD160 f7c031eefa6978cb7402c2291b8d4aa0f282ad2e SHA1 183e9049795dd1feb90784d9c9bcb47aabe31d08 SHA256 0eddbfd2e9371052b8ba1a2a1aafb41b7224e4ff0efb33bae8039d0ad82fd72b
MISC ChangeLog 668 RMD160 c32b7d7b407ce6141f32f22e6d3caba40713a7ed SHA1 2de30e96bc412ca29dcf84ba57e090bfb6b08978 SHA256 b17456cb39c45c46de0c71a1add806e7c11b69c3f60bf4a87576ff7368918033
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

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() {

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils autotools
DESCRIPTION="Secure, small, anonymous only ftpd"
HOMEPAGE="http://www.time-travellers.org/oftpd"
SRC_URI="http://www.time-travellers.org/oftpd/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
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-1.patch
eautoreconf
}
src_configure() {
# local myconf
# ipv6 support busted according to lamer
# use ipv6 && myconf="${myconf} --enable-ipv6"
econf --bindir=/usr/sbin $(use_enable ipv6) || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS BUGS FAQ NEWS README TODO
keepdir /home/ftp
newinitd "${FILESDIR}"/init.d.oftpd-r1 oftpd
newconfd "${FILESDIR}"/conf.d.oftpd-r6 oftpd
}