vapier      14/03/29 20:58:11

  Modified:             ChangeLog
  Added:                oftpd-0.3.7-r9.ebuild
  Log:
  Delay root check until after processing the command line.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
D2E96200)

Revision  Changes    Path
1.40                 net-ftp/oftpd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?rev=1.40&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?rev=1.40&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/ChangeLog?r1=1.39&r2=1.40

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ChangeLog   23 Jan 2013 17:26:57 -0000      1.39
+++ ChangeLog   29 Mar 2014 20:58:11 -0000      1.40
@@ -1,6 +1,12 @@
 # ChangeLog for net-ftp/oftpd
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.39 2013/01/23 
17:26:57 xmw Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/oftpd/ChangeLog,v 1.40 2014/03/29 
20:58:11 vapier Exp $
+
+*oftpd-0.3.7-r9 (29 Mar 2014)
+
+  29 Mar 2014; Mike Frysinger <[email protected]>
+  +files/oftpd-0.3.7-delay-root-check.patch, +oftpd-0.3.7-r9.ebuild:
+  Delay root check until after processing the command line.
 
 *oftpd-0.3.7-r8 (23 Jan 2013)
 



1.1                  net-ftp/oftpd/oftpd-0.3.7-r9.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/oftpd/oftpd-0.3.7-r9.ebuild?rev=1.1&view=markup
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

Index: oftpd-0.3.7-r9.ebuild
===================================================================
# Copyright 1999-2014 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-r9.ebuild,v 1.1 
2014/03/29 20:58:11 vapier Exp $

EAPI=4

inherit autotools eutils

DESCRIPTION="Secure, small, anonymous only ftpd"
HOMEPAGE="http://www.time-travellers.org/oftpd";
SRC_URI="http://www.time-travellers.org/oftpd/${P}.tar.gz
        
ftp://ftp.deepspace6.net/pub/ds6/sources/${PN}/${PN}-0.3.6-ipv6rel2.patch.gz";

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="ipv6"

DEPEND="net-ftp/ftpbase"
RDEPEND="${DEPEND}"

src_prepare() {
        cd "${WORKDIR}" || die
        epatch "${FILESDIR}"/oftpd-0.3.7-ipv6rel2-0.3.6-to-0.3.7.patch

        cd "${S}" || die
        epatch "${WORKDIR}"/${PN}-0.3.6-ipv6rel2.patch
        epatch "${FILESDIR}"/${PN}-0.3.7-delay-root-check.patch

        # Don't crash when using an unsupported address family, #159178.
        # updated in bug #157005
        epatch "${FILESDIR}"/${P}-family-1.patch

        # htons patch #371963
        epatch "${FILESDIR}"/${P}-htons.patch

        epatch "${FILESDIR}"/${P}-unistd.patch
        eautoreconf
}

src_configure() {
        econf --bindir=/usr/sbin $(use_enable ipv6)
}

src_install() {
        default
        keepdir /home/ftp
        newinitd "${FILESDIR}"/init.d.oftpd-r7 oftpd
        newconfd "${FILESDIR}"/conf.d.oftpd-r7 oftpd
}




Reply via email to