Magellan Linux

Contents of /branches/R11-stable/core/inetutils/inetutils-1.9.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21624 - (show annotations) (download)
Mon Jul 21 09:23:26 2014 UTC (9 years, 10 months ago) by niro
File size: 1219 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="inetutils"
4 PVER="1.9.2"
5 PBUILD="r2"
6
7 PCAT="sys-apps"
8
9 DESCRIPTION="Collections of programs to control linux networking."
10 HOMEPAGE="http://www.gnu.org/software/inetutils/"
11
12 DEPEND=">= virtual/glibc
13 >= sys-libs/readline-6.3
14 >= sys-libs/ncurses-5.9"
15
16 PROVIDE="virtual/inetutils"
17
18 SRCFILE="${PNAME}-${PVER}.tar.gz"
19 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
20
21 sminclude mbuild mtools
22
23 SRC_URI=(
24 gnu://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd_gnu ${PNAME} gz"
29
30 src_compile()
31 {
32 cd ${SRCDIR}
33
34 # NOTE:
35 # we want use inet; later it will be xinet; decprecated by systemd
36 # we also use ifconfig from net-tools
37 # and disable all other (insecure) servers;
38 # whois and logger also disabled (too old);
39
40 mconfigure \
41 --libexecdir=/usr/sbin \
42 --disable-ftpd \
43 --disable-inetd \
44 --disable-rexecd \
45 --disable-rlogind \
46 --disable-rshd \
47 --disable-syslogd \
48 --disable-talkd \
49 --disable-telnetd \
50 --disable-tftpd \
51 --disable-uucpd \
52 --enable-ftp \
53 --enable-ping \
54 --enable-rcp \
55 --enable-rlogin \
56 --enable-rsh \
57 --disable-logger \
58 --enable-talk \
59 --enable-telnet \
60 --enable-tftp \
61 --disable-whois \
62 --disable-ifconfig \
63 || die
64
65 mmake || die
66 }