Magellan Linux

Annotation of /branches/R11-stable/core/inetutils/inetutils-1.9.1-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13204 - (hide annotations) (download)
Wed Sep 5 09:49:57 2012 UTC (11 years, 9 months ago) by niro
Original Path: trunk/core/inetutils/inetutils-1.9.1-r4.smage2
File size: 1345 byte(s)
-added missing provides
1 niro 13204 # $Id$
2    
3     PNAME="inetutils"
4     PVER="1.9.1"
5     PBUILD="r4"
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.2
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_prepare()
31     {
32     munpack ${SRCFILE} || die
33     cd ${SRCDIR}
34    
35     # fix missing include
36     sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c || die
37     }
38    
39     src_compile()
40     {
41     cd ${SRCDIR}
42    
43     # NOTE:
44     # we want use inet; later it will be xinet;
45     # we also use ifconfig from net-tools
46     # and disable all other (insecure) servers;
47     # whois and logger also disabled (too old);
48    
49     mconfigure \
50     --libexecdir=/usr/sbin \
51     --disable-ftpd \
52     --disable-inetd \
53     --disable-rexecd \
54     --disable-rlogind \
55     --disable-rshd \
56     --disable-syslogd \
57     --disable-talkd \
58     --disable-telnetd \
59     --disable-tftpd \
60     --disable-uucpd \
61     --enable-ftp \
62     --enable-ping \
63     --enable-rcp \
64     --enable-rlogin \
65     --enable-rsh \
66     --disable-logger \
67     --enable-talk \
68     --enable-telnet \
69     --enable-tftp \
70     --disable-whois \
71     --disable-ifconfig \
72     || die
73    
74     mmake || die
75     }