From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/ftplib: ftplib-4.0-r1.ebuild ChangeLog |
Date: | Mon, 31 Mar 2014 04:27:42 |
Message-Id: | 20140331042725.7BBFD2005C@flycatcher.gentoo.org |
1 | vapier 14/03/31 04:27:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ftplib-4.0-r1.ebuild |
5 | Log: |
6 | Fix crash in FtpClose and other issues. Convert to multilib-minimal. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 | |
10 | Revision Changes Path |
11 | 1.4 net-libs/ftplib/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ftplib/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ftplib/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ftplib/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-libs/ftplib/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 23 Mar 2014 06:54:44 -0000 1.3 |
24 | +++ ChangeLog 31 Mar 2014 04:27:25 -0000 1.4 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for net-libs/ftplib |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/ftplib/ChangeLog,v 1.3 2014/03/23 06:54:44 vapier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/ftplib/ChangeLog,v 1.4 2014/03/31 04:27:25 vapier Exp $ |
30 | + |
31 | +*ftplib-4.0-r1 (31 Mar 2014) |
32 | + |
33 | + 31 Mar 2014; Mike Frysinger <vapier@g.o> +files/ftplib-4.0-crash.patch, |
34 | + +ftplib-4.0-r1.ebuild: |
35 | + Fix crash in FtpClose and other issues. Convert to multilib-minimal. |
36 | |
37 | 23 Mar 2014; Mike Frysinger <vapier@g.o> ftplib-4.0.ebuild: |
38 | Update LICENSE to match source changes. |
39 | |
40 | |
41 | |
42 | 1.1 net-libs/ftplib/ftplib-4.0-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ftplib/ftplib-4.0-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/ftplib/ftplib-4.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: ftplib-4.0-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-libs/ftplib/ftplib-4.0-r1.ebuild,v 1.1 2014/03/31 04:27:25 vapier Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | inherit multilib multilib-minimal toolchain-funcs eutils |
56 | |
57 | DESCRIPTION="A set of routines that implement the FTP protocol" |
58 | HOMEPAGE="http://nbpfaus.net/~pfau/ftplib/" |
59 | SRC_URI="http://nbpfaus.net/~pfau/ftplib/${P}.tar.gz" |
60 | |
61 | LICENSE="Artistic-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~x86" |
64 | IUSE="" |
65 | |
66 | src_prepare() { |
67 | sed -i \ |
68 | -e '/shared/s:$(CC):$(CC) $(LDFLAGS):' \ |
69 | -e 's:/usr/local:$(DESTDIR)/usr:' \ |
70 | -e '/^LDFLAGS/s:=:+=:' \ |
71 | -e "s:/lib:/$(get_libdir):" \ |
72 | -e '/ar -rcs/s:ar:$(AR):' \ |
73 | src/Makefile || die |
74 | epatch "${FILESDIR}"/${PN}-4.0-crash.patch |
75 | |
76 | multilib_copy_sources |
77 | } |
78 | |
79 | multilib_src_compile() { |
80 | emake -C src \ |
81 | DEBUG="${CFLAGS} ${CPPFLAGS}" \ |
82 | AR="$(tc-getAR)" \ |
83 | CC="$(tc-getCC)" |
84 | } |
85 | |
86 | multilib_src_install() { |
87 | dodir /usr/bin /usr/include /usr/$(get_libdir) |
88 | emake -C src DESTDIR="${ED}" install |
89 | } |
90 | |
91 | multilib_src_install_all() { |
92 | dodoc additional_rfcs CHANGES README* RFC959.txt |
93 | dohtml html/* |
94 | } |