summaryrefslogtreecommitdiff
path: root/packages/inetutils
diff options
context:
space:
mode:
Diffstat (limited to 'packages/inetutils')
-rw-r--r--packages/inetutils/.mtn2git_empty0
-rw-r--r--packages/inetutils/inetutils-1.4.2/.mtn2git_empty0
-rw-r--r--packages/inetutils/inetutils-1.4.2/configure.patch94
-rw-r--r--packages/inetutils/inetutils_1.4.2.bb18
4 files changed, 112 insertions, 0 deletions
diff --git a/packages/inetutils/.mtn2git_empty b/packages/inetutils/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/inetutils/.mtn2git_empty
diff --git a/packages/inetutils/inetutils-1.4.2/.mtn2git_empty b/packages/inetutils/inetutils-1.4.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/inetutils/inetutils-1.4.2/.mtn2git_empty
diff --git a/packages/inetutils/inetutils-1.4.2/configure.patch b/packages/inetutils/inetutils-1.4.2/configure.patch
index e69de29bb2..95c75a33fc 100644
--- a/packages/inetutils/inetutils-1.4.2/configure.patch
+++ b/packages/inetutils/inetutils-1.4.2/configure.patch
@@ -0,0 +1,94 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- inetutils-1.4.2/acinclude.m4~configure 2002-12-11 07:37:59.000000000 -0500
++++ inetutils-1.4.2/acinclude.m4 2004-01-26 16:19:05.000000000 -0500
+@@ -554,7 +554,7 @@
+ dnl VERSION should be either 4 or 5
+ dnl Defines KRB_CFLAGS and KRB_LIBS if found.
+ dnl Defines KRB_IMPL to "Heimdal", "MIT", or "OldMIT", or "none" if not found
+-AC_DEFUN(IU_CHECK_KRB5,
++AC_DEFUN([IU_CHECK_KRB5],
+ [
+ if test "x$iu_cv_lib_krb5_libs" = x; then
+ cache=""
+--- inetutils-1.4.2/configure.ac~configure 2002-12-22 23:27:37.000000000 -0500
++++ inetutils-1.4.2/configure.ac 2004-01-26 16:23:13.000000000 -0500
+@@ -529,8 +529,8 @@
+
+ jm_INCLUDED_REGEX(libinetutils/regex.c)
+
+-AC_CHECK_FUNC(_obstack_free, ,
+- AC_LIBOBJ(obstack) INCLUDES="$INCLUDES obstack.h")
++AC_CHECK_FUNC(_obstack_free, ,[
++ AC_LIBOBJ(obstack) INCLUDES="$INCLUDES obstack.h"])
+
+ dnl Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
+ AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp,
+@@ -538,37 +538,37 @@
+
+ dnl We use our own version of getopt (including our own header file) if the
+ dnl system one doesn't have getopt_long.
+-AC_CHECK_FUNC(getopt_long, ,
++AC_CHECK_FUNC(getopt_long, ,[
+ AC_LIBOBJ(getopt)
+ AC_LIBOBJ(getopt1)
+- INCLUDES="$INCLUDES getopt.h")
++ INCLUDES="$INCLUDES getopt.h"])
+
+ dnl Supply a version of poll() if the libray is missing.
+ dnl syslogd uses poll() unconditionnaly.
+-AC_CHECK_FUNC(poll, ,
++AC_CHECK_FUNC(poll, ,[
+ AC_DEFINE(HAVE_POLL_H, 1, [Define to one if you have <poll.h>])
+ AC_LIBOBJ(poll)
+- INCLUDES="$INCLUDES poll.h")
++ INCLUDES="$INCLUDES poll.h"])
+
+ dnl Supply versions of the BSD error reporting functions if the system doesn't
+-AC_CHECK_FUNC(verrx, ,
++AC_CHECK_FUNC(verrx, ,[
+ AC_LIBOBJ(err)
+- INCLUDES="$INCLUDES err.h")
++ INCLUDES="$INCLUDES err.h"])
+
+ dnl See if the __PROGNAME variable is defined, otherwise use our own.
+ AC_CHECK_FUNC(__progname,
+ AC_DEFINE(HAVE___PROGNAME, 1, [Define to one if you have __progname]),
+- AC_LIBOBJ(__progname))
++ [AC_LIBOBJ(__progname)])
+
+ dnl See if snprintf exists, otherwise just use a bogus version
+ AC_CHECK_FUNC(snprintf,
+ AC_DEFINE(HAVE_SNPRINTF, 1, [Define to one if you have snprintf]),
+- AC_LIBOBJ(snprintf))
++ [AC_LIBOBJ(snprintf)])
+
+ dnl See if vsnprintf exists, otherwise use our own.
+ AC_CHECK_FUNC(vsnprintf,
+ AC_DEFINE(HAVE_VSNPRINTF, 1, [FIXME]),
+- AC_LIBOBJ(snprintf))
++ [AC_LIBOBJ(snprintf)])
+ AH_BOTTOM(
+ [#ifndef HAVE_VSNPRINTF
+ #include <sys/types.h>
+@@ -581,7 +581,7 @@
+ #endif])
+
+ dnl See if the system has strerror, and replace it if not
+-AC_CHECK_FUNC(strerror, , AC_LIBOBJ(strerror))
++AC_CHECK_FUNC(strerror, , [AC_LIBOBJ(strerror)])
+ if test "$ac_cv_func_strerror" = no; then
+ # No strerror, so see if the SYS_ERRLIST variable can be used by ours
+ AC_CHECK_FUNC(sys_errlist, AC_DEFINE(HAVE_SYS_ERRLIST, 1,
+@@ -596,7 +596,7 @@
+ fi
+
+ dnl See if the system has hstrerror, and replace it if not
+-AC_CHECK_FUNC(hstrerror, , AC_LIBOBJ(hstrerror))
++AC_CHECK_FUNC(hstrerror, , [AC_LIBOBJ(hstrerror)])
+ if test "$ac_cv_func_hstrerror" = yes; then
+ AC_CHECK_DECL(hstrerror, , , [#include <netdb.h>])
+ else
diff --git a/packages/inetutils/inetutils_1.4.2.bb b/packages/inetutils/inetutils_1.4.2.bb
index e69de29bb2..6d77638a77 100644
--- a/packages/inetutils/inetutils_1.4.2.bb
+++ b/packages/inetutils/inetutils_1.4.2.bb
@@ -0,0 +1,18 @@
+SECTION = "libs"
+DEPENDS = "ncurses"
+LICENSE = "GPL"
+DESCRIPTION = "The GNU inetutils are a collection of common \
+networking utilities and servers including ftp, ftpd, rcp, \
+rexec, rlogin, rlogind, rsh, rshd, syslog, syslogd, talk, \
+talkd, telnet, telnetd, tftp, tftpd, and uucpd."
+
+SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
+ file://configure.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR}"
+
+do_configure_prepend () {
+ rm -f ${S}/glob/configure*
+}