Contents of /trunk/core/inetutils/inetutils-1.6-r2.smage2
Parent Directory | Revision Log
Revision 1116 -
(show annotations)
(download)
Wed Apr 22 19:21:38 2009 UTC (15 years, 5 months ago) by niro
File size: 1691 byte(s)
Wed Apr 22 19:21:38 2009 UTC (15 years, 5 months ago) by niro
File size: 1691 byte(s)
-rebuild against readline-6.0
1 | # $Id$ |
2 | |
3 | PNAME="inetutils" |
4 | PVER="1.6" |
5 | PBUILD="r2" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Collections of programs to control linux networking." |
11 | HOMEPAGE="http://www.gnu.org/software/inetutils/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= sys-libs/readline-6.0" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | RC_CVS_REV=1.2 |
20 | |
21 | sminclude mtools |
22 | |
23 | SRC_URI=( |
24 | gnu://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/inetd.rc-${RC_CVS_REV} |
27 | ) |
28 | |
29 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | # fix missing include |
37 | sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | # NOTE: |
45 | # we want use inet; later it will be xinet; |
46 | # we also use ifconfig from net-tools |
47 | # and disable all other (insecure) servers; |
48 | # whois and logger also disabled (too old); |
49 | |
50 | mconfigure \ |
51 | --libexecdir=/usr/sbin \ |
52 | --disable-ftpd \ |
53 | --enable-inetd \ |
54 | --disable-rexecd \ |
55 | --disable-rlogind \ |
56 | --disable-rshd \ |
57 | --disable-syslogd \ |
58 | --disable-talkd \ |
59 | --disable-telnetd \ |
60 | --disable-tftpd \ |
61 | --disable-uucpd \ |
62 | --enable-ftp \ |
63 | --enable-ping \ |
64 | --enable-rcp \ |
65 | --enable-rlogin \ |
66 | --enable-rsh \ |
67 | --disable-logger \ |
68 | --enable-talk \ |
69 | --enable-telnet \ |
70 | --enable-tftp \ |
71 | --disable-whois \ |
72 | --disable-ifconfig \ |
73 | || die |
74 | |
75 | mmake || die |
76 | } |
77 | |
78 | src_install() |
79 | { |
80 | cd ${SRCDIR} |
81 | |
82 | # needed directories |
83 | minstalldir /bin || die |
84 | |
85 | minstall libexecdir=${BINDIR}/usr/sbin || die |
86 | mv ${BINDIR}/usr/bin/ping{,6} ${BINDIR}/bin || die |
87 | |
88 | # install our initscript |
89 | minstallrc inetd.rc-${RC_CVS_REV} inetd || die |
90 | |
91 | minstalldocs AUTHORS COPYING ChangeLog* NEWS README THANKS TODO || die |
92 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |