summaryrefslogtreecommitdiff
path: root/data/inetutils
diff options
context:
space:
mode:
Diffstat (limited to 'data/inetutils')
-rw-r--r--data/inetutils/_metadata/description2
l---------data/inetutils/_metadata/license1
l---------data/inetutils/_metadata/maintainer1
-rw-r--r--data/inetutils/_metadata/priority1
-rw-r--r--data/inetutils/_metadata/section1
-rw-r--r--data/inetutils/_metadata/version1
-rw-r--r--data/inetutils/inetutils-1.5.tar.gzbin0 -> 1390529 bytes
-rw-r--r--data/inetutils/make.sh7
-rw-r--r--data/inetutils/sysnerr.diff11
-rw-r--r--data/inetutils/utmpx.diff32
10 files changed, 57 insertions, 0 deletions
diff --git a/data/inetutils/_metadata/description b/data/inetutils/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/inetutils/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/inetutils/_metadata/license b/data/inetutils/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/inetutils/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/inetutils/_metadata/maintainer b/data/inetutils/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/inetutils/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/inetutils/_metadata/priority b/data/inetutils/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/inetutils/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/inetutils/_metadata/section b/data/inetutils/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/inetutils/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/inetutils/_metadata/version b/data/inetutils/_metadata/version
new file mode 100644
index 000000000..c239c60cb
--- /dev/null
+++ b/data/inetutils/_metadata/version
@@ -0,0 +1 @@
+1.5
diff --git a/data/inetutils/inetutils-1.5.tar.gz b/data/inetutils/inetutils-1.5.tar.gz
new file mode 100644
index 000000000..94e0641d7
--- /dev/null
+++ b/data/inetutils/inetutils-1.5.tar.gz
Binary files differ
diff --git a/data/inetutils/make.sh b/data/inetutils/make.sh
new file mode 100644
index 000000000..c48344358
--- /dev/null
+++ b/data/inetutils/make.sh
@@ -0,0 +1,7 @@
+pkg:extract
+cd *
+pkg:patch
+autoconf
+pkg:configure ac_cv_type_sa_family_t=yes ac_cv_type_socklen_t=yes ac_cv_member_struct_utmp_ut_user=yes ac_cv_func_obstack=no
+make
+pkg:install
diff --git a/data/inetutils/sysnerr.diff b/data/inetutils/sysnerr.diff
new file mode 100644
index 000000000..402cfe598
--- /dev/null
+++ b/data/inetutils/sysnerr.diff
@@ -0,0 +1,11 @@
+diff -ru inetutils-1.5/talk/io.c inetutils-1.5+iPhone/talk/io.c
+--- inetutils-1.5/talk/io.c 2006-10-11 21:46:26.000000000 +0000
++++ inetutils-1.5+iPhone/talk/io.c 2008-01-02 02:27:47.000000000 +0000
+@@ -129,7 +129,6 @@
+ }
+
+ extern int errno;
+-extern int sys_nerr;
+
+ /*
+ * p_error prints the system error message on the standard location
diff --git a/data/inetutils/utmpx.diff b/data/inetutils/utmpx.diff
new file mode 100644
index 000000000..b3b64cb58
--- /dev/null
+++ b/data/inetutils/utmpx.diff
@@ -0,0 +1,32 @@
+diff -ru inetutils-1.5/configure.ac inetutils-1.5+iPhone/configure.ac
+--- inetutils-1.5/configure.ac 2007-06-28 22:58:23.000000000 +0000
++++ inetutils-1.5+iPhone/configure.ac 2008-01-02 02:07:05.000000000 +0000
+@@ -776,8 +776,7 @@
+ AC_DEFINE(UTMPX, 1, [FIXME])
+ AC_DEFINE(HAVE_STREAMSPTY, 1, [FIXME])
+ ;;
+-*irix* | *hpux*)
+- AC_DEFINE(UTMPX, 1, [FIXME])
++*irix* | *hpux* | *darwin*)
+ AC_DEFINE(UTMPX, 1, [FIXME])
+ ;;
+ esac
+diff -ru inetutils-1.5/libinetutils/utmp_logout.c inetutils-1.5+iPhone/libinetutils/utmp_logout.c
+--- inetutils-1.5/libinetutils/utmp_logout.c 2006-10-11 21:46:24.000000000 +0000
++++ inetutils-1.5+iPhone/libinetutils/utmp_logout.c 2008-01-02 02:23:02.000000000 +0000
+@@ -52,11 +52,15 @@
+
+ if ((ut = getutxline(&utx))) {
+ ut->ut_type = DEAD_PROCESS;
++#ifdef HAVE_STRUCT_UTMPX_UT_EXIT
+ ut->ut_exit.e_termination = 0;
+ ut->ut_exit.e_exit = 0;
++#endif
+ gettimeofday(&(ut->ut_tv), 0);
+ pututxline(ut);
++#ifdef HAVE_UPDWTMPX
+ updwtmpx(PATH_WTMPX, ut);
++#endif
+ }
+ endutxent();
+ #else