1 |
flameeyes 12/07/08 17:42:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netkit-tftp-0.17-r8.ebuild |
5 |
Log: |
6 |
Add a patch to fix the overflow reported in bug #425184. Probably still worth of last riting though. |
7 |
|
8 |
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 net-ftp/netkit-tftp/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/netkit-tftp/ChangeLog?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/netkit-tftp/ChangeLog?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/netkit-tftp/ChangeLog?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/ChangeLog,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- ChangeLog 6 Apr 2011 05:25:34 -0000 1.24 |
24 |
+++ ChangeLog 8 Jul 2012 17:42:00 -0000 1.25 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-ftp/netkit-tftp |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/ChangeLog,v 1.24 2011/04/06 05:25:34 ulm Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/ChangeLog,v 1.25 2012/07/08 17:42:00 flameeyes Exp $ |
31 |
+ |
32 |
+*netkit-tftp-0.17-r8 (08 Jul 2012) |
33 |
+ |
34 |
+ 08 Jul 2012; Diego E. Pettenò <flameeyes@g.o> |
35 |
+ +files/netkit-tftp-0.17-overflow.patch, +netkit-tftp-0.17-r8.ebuild: |
36 |
+ Add a patch to fix the overflow reported in bug #425184. Probably still worth |
37 |
+ of last riting though. |
38 |
|
39 |
06 Apr 2011; Ulrich Mueller <ulm@g.o> netkit-tftp-0.17-r7.ebuild: |
40 |
Add blocker against atftp too. |
41 |
@@ -130,4 +137,3 @@ |
42 |
|
43 |
18 Feb 2002; F.Meyndert <m0rpheus@g.o> netkit-tftp-0.17.ebuild, |
44 |
New ebuild for netkit-tftp, ftp client and server. |
45 |
- |
46 |
|
47 |
|
48 |
|
49 |
1.1 net-ftp/netkit-tftp/netkit-tftp-0.17-r8.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/netkit-tftp/netkit-tftp-0.17-r8.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-ftp/netkit-tftp/netkit-tftp-0.17-r8.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: netkit-tftp-0.17-r8.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2012 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/netkit-tftp-0.17-r8.ebuild,v 1.1 2012/07/08 17:42:00 flameeyes Exp $ |
59 |
|
60 |
EAPI=4 |
61 |
|
62 |
inherit eutils toolchain-funcs |
63 |
|
64 |
DESCRIPTION="the tftp server included in netkit" |
65 |
HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" |
66 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
67 |
|
68 |
LICENSE="BSD" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
71 |
IUSE="" |
72 |
|
73 |
DEPEND="virtual/inetd" |
74 |
RDEPEND="!net-ftp/atftp |
75 |
!net-ftp/tftp-hpa |
76 |
${DEPEND}" |
77 |
|
78 |
src_prepare() { |
79 |
# Change default man directory |
80 |
sed -i \ |
81 |
-e 's:MANDIR="$PREFIX/man":MANDIR="$PREFIX/share/man":' \ |
82 |
-e 's:^LDFLAGS=::' \ |
83 |
configure |
84 |
|
85 |
# don't prestrip binaries |
86 |
find . -name Makefile -print0 | xargs -0 sed -i -e 's:install -s:install:' |
87 |
|
88 |
# Solve QA warning by including string.h |
89 |
epatch "${FILESDIR}"/memset.patch |
90 |
epatch "${FILESDIR}"/${P}-tftp-connect-segfault.patch |
91 |
epatch "${FILESDIR}"/${P}-tftp-manpage-typo.patch |
92 |
epatch "${FILESDIR}"/${P}-tftp-fix-put-zero-size.diff |
93 |
epatch "${FILESDIR}"/${P}-tftpd-put-fixes.patch |
94 |
epatch "${FILESDIR}"/${P}-socket-reopen-on-errors.patch |
95 |
epatch "${FILESDIR}"/${P}-overflow.patch |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
./configure \ |
100 |
--prefix=/usr \ |
101 |
--installroot="${D}" \ |
102 |
--with-c-compiler="$(tc-getCC)" \ |
103 |
|| die |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
dodir /usr/bin /usr/sbin /usr/share/man/man{1,8} |
108 |
emake install || die |
109 |
rm -f "${D}"/usr/share/man/man8/tftpd.8 #214734, collision with iputils |
110 |
insinto /etc/xinetd.d |
111 |
doins "${FILESDIR}"/{tftp-dgram,tftp-stream} |
112 |
dodoc BUGS ChangeLog README |
113 |
} |