1 |
vapier 11/11/30 04:03:53 |
2 |
|
3 |
Modified: tftp-hpa-5.1.ebuild ChangeLog |
4 |
Log: |
5 |
Respect $(AR), update to EAPI=4, and make sure readline/tcp-wrappers are in RDEPEND since they're used at runtime. |
6 |
|
7 |
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: tftp-hpa-5.1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- tftp-hpa-5.1.ebuild 10 Jul 2011 11:13:04 -0000 1.7 |
23 |
+++ tftp-hpa-5.1.ebuild 30 Nov 2011 04:03:53 -0000 1.8 |
24 |
@@ -1,10 +1,14 @@ |
25 |
# Copyright 1999-2011 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild,v 1.7 2011/07/10 11:13:04 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/tftp-hpa-5.1.ebuild,v 1.8 2011/11/30 04:03:53 vapier Exp $ |
29 |
+ |
30 |
+EAPI="4" |
31 |
+ |
32 |
+inherit toolchain-funcs |
33 |
|
34 |
DESCRIPTION="port of the OpenBSD TFTP server" |
35 |
HOMEPAGE="http://www.kernel.org/pub/software/network/tftp/" |
36 |
-SRC_URI="mirror://kernel/software/network/tftp/${P}.tar.bz2" |
37 |
+SRC_URI="mirror://kernel/software/network/tftp/${PN}/${P}.tar.xz" |
38 |
|
39 |
LICENSE="BSD" |
40 |
SLOT="0" |
41 |
@@ -12,23 +16,25 @@ |
42 |
IUSE="ipv6 readline selinux tcpd" |
43 |
|
44 |
RDEPEND="selinux? ( sec-policy/selinux-tftpd ) |
45 |
+ readline? ( sys-libs/readline ) |
46 |
+ tcpd? ( sys-apps/tcp-wrappers ) |
47 |
!net-ftp/atftp |
48 |
!net-ftp/netkit-tftp" |
49 |
-DEPEND="${RDEPEND} |
50 |
- readline? ( sys-libs/readline ) |
51 |
- tcpd? ( sys-apps/tcp-wrappers )" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die |
56 |
+} |
57 |
|
58 |
-src_compile() { |
59 |
+src_configure() { |
60 |
econf \ |
61 |
$(use_with ipv6) \ |
62 |
$(use_with tcpd tcpwrappers) \ |
63 |
- $(use_with readline) \ |
64 |
- || die |
65 |
- emake || die |
66 |
+ $(use_with readline) |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
- emake INSTALLROOT="${D}" install || die |
71 |
+ emake INSTALLROOT="${D}" install |
72 |
dodoc README* CHANGES tftpd/sample.rules |
73 |
|
74 |
# iputils installs this |
75 |
|
76 |
|
77 |
|
78 |
1.56 net-ftp/tftp-hpa/ChangeLog |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/ChangeLog?rev=1.56&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/ChangeLog?rev=1.56&content-type=text/plain |
82 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/tftp-hpa/ChangeLog?r1=1.55&r2=1.56 |
83 |
|
84 |
Index: ChangeLog |
85 |
=================================================================== |
86 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v |
87 |
retrieving revision 1.55 |
88 |
retrieving revision 1.56 |
89 |
diff -u -r1.55 -r1.56 |
90 |
--- ChangeLog 10 Jul 2011 11:13:04 -0000 1.55 |
91 |
+++ ChangeLog 30 Nov 2011 04:03:53 -0000 1.56 |
92 |
@@ -1,6 +1,10 @@ |
93 |
# ChangeLog for net-ftp/tftp-hpa |
94 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
95 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.55 2011/07/10 11:13:04 armin76 Exp $ |
96 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/ChangeLog,v 1.56 2011/11/30 04:03:53 vapier Exp $ |
97 |
+ |
98 |
+ 30 Nov 2011; Mike Frysinger <vapier@g.o> tftp-hpa-5.1.ebuild: |
99 |
+ Respect $(AR), update to EAPI=4, and make sure readline/tcp-wrappers are in |
100 |
+ RDEPEND since they're used at runtime. |
101 |
|
102 |
10 Jul 2011; Raúl Porcel <armin76@g.o> tftp-hpa-5.1.ebuild: |
103 |
alpha/ia64/s390/sh/sparc stable wrt #374001 |