Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/oftpd: oftpd-0.3.7-r9.ebuild ChangeLog
Date: Sat, 29 Mar 2014 20:58:16
Message-Id: 20140329205811.844A520054@flycatcher.gentoo.org
1 vapier 14/03/29 20:58:11
2
3 Modified: ChangeLog
4 Added: oftpd-0.3.7-r9.ebuild
5 Log:
6 Delay root check until after processing the command line.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.40 net-ftp/oftpd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?rev=1.40&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?rev=1.40&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?r1=1.39&r2=1.40
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v
20 retrieving revision 1.39
21 retrieving revision 1.40
22 diff -u -r1.39 -r1.40
23 --- ChangeLog 23 Jan 2013 17:26:57 -0000 1.39
24 +++ ChangeLog 29 Mar 2014 20:58:11 -0000 1.40
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-ftp/oftpd
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.39 2013/01/23 17:26:57 xmw Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.40 2014/03/29 20:58:11 vapier Exp $
31 +
32 +*oftpd-0.3.7-r9 (29 Mar 2014)
33 +
34 + 29 Mar 2014; Mike Frysinger <vapier@g.o>
35 + +files/oftpd-0.3.7-delay-root-check.patch, +oftpd-0.3.7-r9.ebuild:
36 + Delay root check until after processing the command line.
37
38 *oftpd-0.3.7-r8 (23 Jan 2013)
39
40
41
42
43 1.1 net-ftp/oftpd/oftpd-0.3.7-r9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: oftpd-0.3.7-r9.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r9.ebuild,v 1.1 2014/03/29 20:58:11 vapier Exp $
53
54 EAPI=4
55
56 inherit autotools eutils
57
58 DESCRIPTION="Secure, small, anonymous only ftpd"
59 HOMEPAGE="http://www.time-travellers.org/oftpd"
60 SRC_URI="http://www.time-travellers.org/oftpd/${P}.tar.gz
61 ftp://ftp.deepspace6.net/pub/ds6/sources/${PN}/${PN}-0.3.6-ipv6rel2.patch.gz"
62
63 LICENSE="BSD-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
66 IUSE="ipv6"
67
68 DEPEND="net-ftp/ftpbase"
69 RDEPEND="${DEPEND}"
70
71 src_prepare() {
72 cd "${WORKDIR}" || die
73 epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch
74
75 cd "${S}" || die
76 epatch "${WORKDIR}"/${PN}-0.3.6-ipv6rel2.patch
77 epatch "${FILESDIR}"/${PN}-0.3.7-delay-root-check.patch
78
79 # Don't crash when using an unsupported address family, #159178.
80 # updated in bug #157005
81 epatch "${FILESDIR}"/${P}-family-1.patch
82
83 # htons patch #371963
84 epatch "${FILESDIR}"/${P}-htons.patch
85
86 epatch "${FILESDIR}"/${P}-unistd.patch
87 eautoreconf
88 }
89
90 src_configure() {
91 econf --bindir=/usr/sbin $(use_enable ipv6)
92 }
93
94 src_install() {
95 default
96 keepdir /home/ftp
97 newinitd "${FILESDIR}"/init.d.oftpd-r7 oftpd
98 newconfd "${FILESDIR}"/conf.d.oftpd-r7 oftpd
99 }