diff options
author | Jay Freeman <saurik@saurik.com> | 2008-02-03 13:16:17 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-02-03 13:16:17 +0000 |
commit | 9beb6dab1d50116fa94d8534108b7054b002ca1b (patch) | |
tree | 9d79106f4e8334dabb417a4b58ebcdb45c62e121 | |
parent | ab7949b2815ac74f043807e23e8ad7b716452de6 (diff) |
Many fixes for Name, Section, and mDNSResponder.
git-svn-id: http://svn.telesphoreo.org/trunk@55 514c082c-b64e-11dc-b46d-3d985efe055d
28 files changed, 74 insertions, 20 deletions
diff --git a/data/apr-util/_metadata/name b/data/apr-util/_metadata/name new file mode 100644 index 000000000..2410f94de --- /dev/null +++ b/data/apr-util/_metadata/name @@ -0,0 +1 @@ +APR-util diff --git a/data/bash/_metadata/name b/data/bash/_metadata/name new file mode 100644 index 000000000..e3c203ba8 --- /dev/null +++ b/data/bash/_metadata/name @@ -0,0 +1 @@ +Bourne-Again SHell diff --git a/data/bash/_metadata/section b/data/bash/_metadata/section index 1b96f7b4f..e2a8604ba 100644 --- a/data/bash/_metadata/section +++ b/data/bash/_metadata/section @@ -1 +1 @@ -shell +Unix_Shells diff --git a/data/boost/_metadata/name b/data/boost/_metadata/name new file mode 100644 index 000000000..68c56d494 --- /dev/null +++ b/data/boost/_metadata/name @@ -0,0 +1 @@ +Boost diff --git a/data/cvs/_metadata/section b/data/cvs/_metadata/section index 7fd8a7f94..161633384 100644 --- a/data/cvs/_metadata/section +++ b/data/cvs/_metadata/section @@ -1 +1 @@ -versioning +Version_Control diff --git a/data/cvs/mdns.diff b/data/cvs/mdns.diff new file mode 100644 index 000000000..3c735a2e1 --- /dev/null +++ b/data/cvs/mdns.diff @@ -0,0 +1,23 @@ +diff -ru cvs-1.11.22/src/main.c cvs-1.11.22+iPhone/src/main.c +--- cvs-1.11.22/src/main.c 2006-05-16 03:12:35.000000000 +0000 ++++ cvs-1.11.22+iPhone/src/main.c 2008-02-02 14:50:57.000000000 +0000 +@@ -1,3 +1,5 @@ ++#include <mach-o/nlist.h> ++ + /* + * Copyright (C) 1986-2006 The Free Software Foundation, Inc. + * +@@ -395,6 +397,13 @@ + int argc; + char **argv; + { ++ struct nlist nl[2]; ++ memset(nl, 0, sizeof(nl)); ++ nl[0].n_un.n_name = "_useMDNSResponder"; ++ nlist("/usr/lib/libc.dylib", nl); ++ if (nl[0].n_type != N_UNDF) ++ *(int *) nl[0].n_value = 0; ++ + cvsroot_t *CVSroot_parsed = NULL; + int cvsroot_update_env = 1; + char *cp, *end; diff --git a/data/ice/_metadata/section b/data/ice/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/ice/_metadata/section +++ b/data/ice/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/inputproto/_metadata/section b/data/inputproto/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/inputproto/_metadata/section +++ b/data/inputproto/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/iphone-java/_metadata/name b/data/iphone-java/_metadata/name new file mode 100644 index 000000000..825816f01 --- /dev/null +++ b/data/iphone-java/_metadata/name @@ -0,0 +1 @@ +iPhone/Java diff --git a/data/iphone-java/_metadata/section b/data/iphone-java/_metadata/section index 463a353df..bf4484b6c 100644 --- a/data/iphone-java/_metadata/section +++ b/data/iphone-java/_metadata/section @@ -1 +1 @@ -programming +Java diff --git a/data/jikes/_metadata/name b/data/jikes/_metadata/name new file mode 100644 index 000000000..c8d561d1d --- /dev/null +++ b/data/jikes/_metadata/name @@ -0,0 +1 @@ +Jikes diff --git a/data/jikes/_metadata/section b/data/jikes/_metadata/section index f3d360b1c..bf4484b6c 100644 --- a/data/jikes/_metadata/section +++ b/data/jikes/_metadata/section @@ -1 +1 @@ -java +Java diff --git a/data/jocstrap/_metadata/name b/data/jocstrap/_metadata/name new file mode 100644 index 000000000..6f7749b7b --- /dev/null +++ b/data/jocstrap/_metadata/name @@ -0,0 +1 @@ +JocStrap diff --git a/data/jocstrap/_metadata/section b/data/jocstrap/_metadata/section index 463a353df..bf4484b6c 100644 --- a/data/jocstrap/_metadata/section +++ b/data/jocstrap/_metadata/section @@ -1 +1 @@ -programming +Java diff --git a/data/nano/_metadata/section b/data/nano/_metadata/section index 85042acd1..7a96df958 100644 --- a/data/nano/_metadata/section +++ b/data/nano/_metadata/section @@ -1 +1 @@ -editor +Text_Editors diff --git a/data/ngrep/_metadata/section b/data/ngrep/_metadata/section index 992ae1298..872c3bcfe 100644 --- a/data/ngrep/_metadata/section +++ b/data/ngrep/_metadata/section @@ -1 +1 @@ -network +Network_Analysis diff --git a/data/uicaboodle/_metadata/name b/data/uicaboodle/_metadata/name new file mode 100644 index 000000000..c0cf9236f --- /dev/null +++ b/data/uicaboodle/_metadata/name @@ -0,0 +1 @@ +UICaboodle diff --git a/data/uicaboodle/_metadata/section b/data/uicaboodle/_metadata/section index 463a353df..bf4484b6c 100644 --- a/data/uicaboodle/_metadata/section +++ b/data/uicaboodle/_metadata/section @@ -1 +1 @@ -programming +Java diff --git a/data/vim/_metadata/section b/data/vim/_metadata/section index 85042acd1..7a96df958 100644 --- a/data/vim/_metadata/section +++ b/data/vim/_metadata/section @@ -1 +1 @@ -editor +Text_Editors diff --git a/data/wget/make.sh b/data/wget/make.sh index 53926b832..1b3c1b776 100644 --- a/data/wget/make.sh +++ b/data/wget/make.sh @@ -1,5 +1,6 @@ -tar -zxvf "${PKG_DATA}/wget-1.9.1.tar.gz" -cd wget-1.9.1 +pkg:extract +cd * +pkg:patch pkg:configure make pkg:install diff --git a/data/wget/mdns.diff b/data/wget/mdns.diff new file mode 100644 index 000000000..f268b346e --- /dev/null +++ b/data/wget/mdns.diff @@ -0,0 +1,23 @@ +diff -ru wget-1.9.1/src/main.c wget-1.9.1+iPhone/src/main.c +--- wget-1.9.1/src/main.c 2003-10-11 13:57:11.000000000 +0000 ++++ wget-1.9.1+iPhone/src/main.c 2008-01-30 17:24:39.000000000 +0000 +@@ -1,3 +1,5 @@ ++#include <mach-o/nlist.h> ++ + /* Command line parsing. + Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001, 2002 + Free Software Foundation, Inc. +@@ -267,6 +269,13 @@ + int + main (int argc, char *const *argv) + { ++ struct nlist nl[2]; ++ memset(nl, 0, sizeof(nl)); ++ nl[0].n_un.n_name = "_useMDNSResponder"; ++ nlist("/usr/lib/libc.dylib", nl); ++ if (nl[0].n_type != N_UNDF) ++ *(int *) nl[0].n_value = 0; ++ + char **url, **t; + int i, c, nurl, status, append_to_log; + diff --git a/data/x11/_metadata/section b/data/x11/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/x11/_metadata/section +++ b/data/x11/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xcb-proto/_metadata/section b/data/xcb-proto/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xcb-proto/_metadata/section +++ b/data/xcb-proto/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xcb/_metadata/section b/data/xcb/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xcb/_metadata/section +++ b/data/xcb/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xextproto/_metadata/section b/data/xextproto/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xextproto/_metadata/section +++ b/data/xextproto/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xi/_metadata/section b/data/xi/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xi/_metadata/section +++ b/data/xi/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xmu/_metadata/section b/data/xmu/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xmu/_metadata/section +++ b/data/xmu/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xt/_metadata/section b/data/xt/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xt/_metadata/section +++ b/data/xt/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows |