Lines 1-9
Link Here
|
1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $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 $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
6 |
inherit eutils |
6 |
inherit eutils autotools |
7 |
|
7 |
|
8 |
DESCRIPTION="Secure, small, anonymous only ftpd" |
8 |
DESCRIPTION="Secure, small, anonymous only ftpd" |
9 |
HOMEPAGE="http://www.time-travellers.org/oftpd" |
9 |
HOMEPAGE="http://www.time-travellers.org/oftpd" |
Lines 12-32
Link Here
|
12 |
LICENSE="as-is" |
12 |
LICENSE="as-is" |
13 |
SLOT="0" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86" |
14 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86" |
15 |
IUSE="" |
15 |
IUSE="ipv6" |
16 |
|
16 |
|
17 |
DEPEND="net-ftp/ftpbase" |
17 |
DEPEND="net-ftp/ftpbase" |
18 |
RDEPEND="${DEPEND}" |
18 |
RDEPEND="${DEPEND}" |
19 |
|
19 |
|
20 |
src_prepare() { |
20 |
src_prepare() { |
|
|
21 |
epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-1.patch |
21 |
# Don't crash when using an unsupported address family, #159178. |
22 |
# Don't crash when using an unsupported address family, #159178. |
22 |
epatch "${FILESDIR}"/oftpd-0.3.7-family.patch |
23 |
epatch "${FILESDIR}"/oftpd-0.3.7-family-1.patch |
|
|
24 |
eautoreconf |
23 |
} |
25 |
} |
24 |
|
26 |
|
25 |
src_configure() { |
27 |
src_configure() { |
26 |
# local myconf |
28 |
# local myconf |
27 |
# ipv6 support busted according to lamer |
29 |
# ipv6 support busted according to lamer |
28 |
# use ipv6 && myconf="${myconf} --enable-ipv6" |
30 |
# use ipv6 && myconf="${myconf} --enable-ipv6" |
29 |
econf --bindir=/usr/sbin || die |
31 |
econf --bindir=/usr/sbin $(use_enable ipv6) || die |
30 |
} |
32 |
} |
31 |
|
33 |
|
32 |
src_install() { |
34 |
src_install() { |