diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb')
| -rw-r--r-- | meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb deleted file mode 100644 index ce0df82db7..0000000000 --- a/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | DESCRIPTION = "The GNU inetutils are a collection of common \ | ||
| 2 | networking utilities and servers including ftp, ftpd, rcp, \ | ||
| 3 | rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \ | ||
| 4 | talkd, telnet, telnetd, tftp, tftpd, and uucpd." | ||
| 5 | SECTION = "libs" | ||
| 6 | DEPENDS = "ncurses" | ||
| 7 | LICENSE = "GPLv3" | ||
| 8 | |||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010" | ||
| 10 | |||
| 11 | SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ | ||
| 12 | file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch \ | ||
| 13 | file://inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch \ | ||
| 14 | file://inetutils-1.8-0003-wchar.patch \ | ||
| 15 | file://inetutils-1.8-1001-ftp-rename-ruserpass-to-avoid-C-library-collision.patch \ | ||
| 16 | file://inetutils-1.8-1002-rshd-detect-__rcmd_errstr-support-in-the-C-lib.patch \ | ||
| 17 | file://inetutils-1.8-1003-use-daemon-from-the-C-library-when-possible.patch \ | ||
| 18 | file://inetutils-1.8-1004-detect-fork-support.patch \ | ||
| 19 | file://inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch \ | ||
| 20 | file://fix-disable-ipv6.patch \ | ||
| 21 | " | ||
| 22 | SRC_URI[md5sum] = "ad8fdcdf1797b9ca258264a6b04e48fd" | ||
| 23 | SRC_URI[sha256sum] = "c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7" | ||
| 24 | |||
| 25 | inherit autotools gettext | ||
| 26 | |||
| 27 | noipv6="${@base_contains('DISTRO_FEATURES', 'ipv6', '', '--disable-ipv6 gl_cv_socket_ipv6=no', d)}" | ||
| 28 | EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \ | ||
| 29 | --with-path-procnet-dev=/proc/net/dev \ | ||
| 30 | ${noipv6} \ | ||
| 31 | " | ||
| 32 | |||
| 33 | do_configure_prepend () { | ||
| 34 | export HELP2MAN='true' | ||
| 35 | cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}/build-aux/config.rpath | ||
| 36 | rm -f ${S}/glob/configure* | ||
| 37 | } | ||
| 38 | |||
| 39 | do_install () { | ||
| 40 | autotools_do_install | ||
| 41 | install -d ${D}${base_sbindir} ${D}${base_bindir} | ||
| 42 | mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} | ||
| 43 | mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} | ||
| 44 | mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN} | ||
| 45 | mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN} | ||
| 46 | mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} | ||
| 47 | mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN} | ||
| 48 | } | ||
| 49 | |||
| 50 | pkg_postinst_${PN} () { | ||
| 51 | update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 | ||
| 52 | update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 | ||
| 53 | update-alternatives --install ${bindir}/logger logger logger.${PN} 100 | ||
| 54 | update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100 | ||
| 55 | update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100 | ||
| 56 | update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 | ||
| 57 | } | ||
| 58 | |||
| 59 | pkg_prerm_${PN} () { | ||
| 60 | update-alternatives --remove tftp tftp.${PN} | ||
| 61 | update-alternatives --remove telnet telnet.${PN} | ||
| 62 | update-alternatives --remove logger logger.${PN} | ||
| 63 | update-alternatives --remove traceroute traceroute.${PN} | ||
| 64 | update-alternatives --remove ifconfig ifconfig.${PN} | ||
| 65 | } | ||
