Contents of /trunk/core/inetutils/inetutils-1.5-r4.smage2
Parent Directory | Revision Log
Revision 121 -
(show annotations)
(download)
Tue Oct 14 11:39:54 2008 UTC (15 years, 11 months ago) by niro
File size: 1639 byte(s)
Tue Oct 14 11:39:54 2008 UTC (15 years, 11 months ago) by niro
File size: 1639 byte(s)
-rev bump to 1.5-r4
1 | # $Header: /magellan-cvs/smage/inetutils/inetutils-1.5-r3.smage2,v 1.1 2008/02/10 01:49:00 niro Exp $ |
2 | |
3 | PNAME="inetutils" |
4 | PVER="1.5" |
5 | PBUILD="r4" |
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-5.2" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude mtools |
20 | |
21 | SRC_URI=( |
22 | gnu://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/inetd.rc |
25 | ) |
26 | |
27 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | } |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | # NOTE: |
39 | # we want use inet; later it will be xinet; |
40 | # we also use ifconfig from net-tools |
41 | # and disable all other (insecure) servers; |
42 | # whois and logger also disabled (too old); |
43 | |
44 | mconfigure \ |
45 | --libexecdir=/usr/sbin \ |
46 | --disable-ftpd \ |
47 | --enable-inetd \ |
48 | --disable-rexecd \ |
49 | --disable-rlogind \ |
50 | --disable-rshd \ |
51 | --disable-syslogd \ |
52 | --disable-talkd \ |
53 | --disable-telnetd \ |
54 | --disable-tftpd \ |
55 | --disable-uucpd \ |
56 | --enable-ftp \ |
57 | --enable-ping \ |
58 | --enable-rcp \ |
59 | --enable-rlogin \ |
60 | --enable-rsh \ |
61 | --disable-logger \ |
62 | --enable-talk \ |
63 | --enable-telnet \ |
64 | --enable-tftp \ |
65 | --disable-whois \ |
66 | --disable-ifconfig \ |
67 | || die |
68 | |
69 | mmake || die |
70 | } |
71 | |
72 | src_install() |
73 | { |
74 | cd ${SRCDIR} |
75 | |
76 | # needed directories |
77 | minstalldir /bin || die |
78 | |
79 | minstall libexecdir=${BINDIR}/usr/sbin || die |
80 | mv ${BINDIR}/usr/bin/ping{,6} ${BINDIR}/bin || die |
81 | |
82 | # install our initscript |
83 | minstallrc inetd.rc inetd || die |
84 | |
85 | minstalldocs AUTHORS COPYING ChangeLog* NEWS README THANKS TODO || die |
86 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |