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