Gentoo Archives: gentoo-commits

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