1 |
pva 08/08/13 14:02:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: netkit-telnetd-0.17-r10.ebuild |
5 |
Removed: netkit-telnetd-0.17-r7.ebuild |
6 |
Log: |
7 |
Respect LDFLAGS, bug #233759, thank Mart Raudsepp for report. Remove unused. |
8 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.46 net-misc/netkit-telnetd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-telnetd/ChangeLog?rev=1.46&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-telnetd/ChangeLog?rev=1.46&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-telnetd/ChangeLog?r1=1.45&r2=1.46 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/ChangeLog,v |
20 |
retrieving revision 1.45 |
21 |
retrieving revision 1.46 |
22 |
diff -u -r1.45 -r1.46 |
23 |
--- ChangeLog 2 Aug 2008 16:58:11 -0000 1.45 |
24 |
+++ ChangeLog 13 Aug 2008 14:02:07 -0000 1.46 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/netkit-telnetd |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/ChangeLog,v 1.45 2008/08/02 16:58:11 solar Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/ChangeLog,v 1.46 2008/08/13 14:02:07 pva Exp $ |
30 |
+ |
31 |
+*netkit-telnetd-0.17-r10 (13 Aug 2008) |
32 |
+ |
33 |
+ 13 Aug 2008; Peter Volkov <pva@g.o> -netkit-telnetd-0.17-r7.ebuild, |
34 |
+ +netkit-telnetd-0.17-r10.ebuild: |
35 |
+ Respect LDFLAGS, bug #233759, thank Mart Raudsepp for report. Remove unused. |
36 |
|
37 |
*netkit-telnetd-0.17-r9 (02 Aug 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: netkit-telnetd-0.17-r10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-telnetd/netkit-telnetd-0.17-r10.ebuild,v 1.1 2008/08/13 14:02:07 pva Exp $ |
52 |
|
53 |
inherit eutils toolchain-funcs |
54 |
|
55 |
PATCHLEVEL=36 |
56 |
DESCRIPTION="Standard Linux telnet client and server" |
57 |
HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" |
58 |
# http://packages.debian.org/stablesource/netkit-telnet |
59 |
# http://packages.debian.org/testing/source/netkit-telnet |
60 |
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-${PV}.tar.gz |
61 |
mirror://debian/pool/main/n/netkit-telnet/netkit-telnet_0.17-${PATCHLEVEL}.diff.gz" |
62 |
|
63 |
LICENSE="BSD" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="" |
67 |
|
68 |
DEPEND=">=sys-libs/ncurses-5.2 |
69 |
!net-misc/telnet-bsd" |
70 |
|
71 |
S=${WORKDIR}/netkit-telnet-${PV} |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${A} |
75 |
cd "${S}" |
76 |
# Patch: [0] |
77 |
# Gentoo lacks a maintainer for this package right now. And a |
78 |
# security problem arose. While reviewing our options for how |
79 |
# should we proceed with the security bug we decided it would be |
80 |
# better to just stay in sync with debian's own netkit-telnet |
81 |
# package. Lots of bug fixes by them over time which were not in |
82 |
# our telnetd. |
83 |
epatch "${WORKDIR}"/netkit-telnet_0.17-${PATCHLEVEL}.diff |
84 |
|
85 |
# Patch: [1] |
86 |
# after the deb patch we need to add a small patch that defines |
87 |
# gnu source. This is needed for gcc-3.4.x (needs to be pushed |
88 |
# back to the deb folk?) |
89 |
epatch "${FILESDIR}"/netkit-telnetd-0.17-cflags-gnu_source.patch |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
./configure --prefix=/usr || die |
94 |
|
95 |
sed -i \ |
96 |
-e "s:-pipe -O2:${CFLAGS}:" \ |
97 |
-e "s:^\(LDFLAGS=\).*:\1${LDFLAGS}:" \ |
98 |
-e "s:-Wpointer-arith::" \ |
99 |
-e "s:^CC=.*:CC=$(tc-getCC):" \ |
100 |
-e "s:^CXX=.*:CXX=$(tc-getCXX):" \ |
101 |
MCONFIG |
102 |
|
103 |
make || die |
104 |
cd telnetlogin && make || die |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
dobin telnet/telnet || die |
109 |
|
110 |
dosbin telnetd/telnetd || die |
111 |
dosym telnetd /usr/sbin/in.telnetd |
112 |
dosbin telnetlogin/telnetlogin || die |
113 |
doman telnet/telnet.1 |
114 |
doman telnetd/*.8 |
115 |
doman telnetd/issue.net.5 |
116 |
dosym telnetd.8 /usr/share/man/man8/in.telnetd.8 |
117 |
doman telnetlogin/telnetlogin.8 |
118 |
dodoc BUGS ChangeLog README |
119 |
dodoc "${FILESDIR}"/net.issue.sample |
120 |
newdoc telnet/README README.telnet |
121 |
newdoc telnet/TODO TODO.telnet |
122 |
insinto /etc/xinetd.d |
123 |
newins "${FILESDIR}"/telnetd.xinetd telnetd |
124 |
} |