Contents of /trunk/core/inetutils/inetutils-1.9.4-r5.smage2
Parent Directory | Revision Log
Revision 31994 -
(show annotations)
(download)
Tue Feb 12 10:39:00 2019 UTC (5 years, 7 months ago) by niro
File size: 2199 byte(s)
Tue Feb 12 10:39:00 2019 UTC (5 years, 7 months ago) by niro
File size: 2199 byte(s)
auto added: ver bump to 1.9.4-r5
1 | # $Id$ |
2 | |
3 | PNAME="inetutils" |
4 | PVER="1.9.4" |
5 | PBUILD="r5" |
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 | # added here to override systemd depend |
13 | sminclude mbuild mtools systemd |
14 | |
15 | DEPEND=">= virtual/glibc |
16 | >= sys-libs/pam-1.1 |
17 | >= sys-libs/readline-8.0 |
18 | >= sys-libs/ncurses-6.1" |
19 | |
20 | PROVIDE="virtual/inetutils" |
21 | |
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
24 | |
25 | SRC_URI=( |
26 | gnu://${PNAME}/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/ftpd.service |
29 | mirror://${PNAME}/rexec.pam-systemauth |
30 | mirror://${PNAME}/rlogind.service |
31 | mirror://${PNAME}/rlogind.socket |
32 | mirror://${PNAME}/rlogin.pam-systemauth |
33 | mirror://${PNAME}/rshd.service |
34 | mirror://${PNAME}/rshd.socket |
35 | mirror://${PNAME}/rsh.pam-systemauth |
36 | ) |
37 | |
38 | UP2DATE="updatecmd_gnu ${PNAME} gz" |
39 | |
40 | src_compile() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | # NOTE: |
45 | # we want use inet; later it will be xinet; decprecated by systemd |
46 | # we also use ifconfig from net-tools |
47 | # and disable all other (insecure) servers; |
48 | # whois and logger also disabled (too old); |
49 | mconfigure \ |
50 | --libexecdir=/usr/sbin \ |
51 | --with-pam \ |
52 | --enable-ftp \ |
53 | --enable-ftpd \ |
54 | --enable-telnet \ |
55 | --disable-telnetd \ |
56 | --enable-talk \ |
57 | --disable-talkd \ |
58 | --enable-rlogin \ |
59 | --enable-rlogind \ |
60 | --enable-rsh \ |
61 | --enable-rshd \ |
62 | --enable-rcp \ |
63 | --enable-rexec \ |
64 | --disable-rexecd \ |
65 | --enable-tftp \ |
66 | --disable-tftpd \ |
67 | --disable-inetd \ |
68 | --disable-syslogd \ |
69 | --disable-uucpd \ |
70 | --disable-logger \ |
71 | --disable-whois \ |
72 | --disable-ifconfig \ |
73 | --enable-ping \ |
74 | --enable-ping6 \ |
75 | --enable-hostname \ |
76 | --enable-dnsdomainname \ |
77 | || die |
78 | |
79 | mmake || die |
80 | } |
81 | |
82 | src_install() |
83 | { |
84 | cd ${SRCDIR} |
85 | mmake DESTDIR=${BINDIR} install || die |
86 | minstalldocs AUTHORS ChangeLog COPYING NEWS README TODO || die |
87 | |
88 | # install systemd units and pam configurations |
89 | minstallunit ftpd.service || die |
90 | minstallunit rlogind.service rlogind@.service || die |
91 | minstallunit rlogind.socket || die |
92 | minstallunit rshd.service rshd@.service || die |
93 | minstallunit rshd.socket || die |
94 | minstallpam rexec.pam-systemauth rexec || die |
95 | minstallpam rlogin.pam-systemauth rlogin || die |
96 | minstallpam rsh.pam-systemauth rsh || die |
97 | } |