From b28fd5fa28f0130a6fa8b00aa0feae7092066843 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sun, 3 Feb 2008 13:17:48 +0000 Subject: Many fixes for Name, Section, and mDNSResponder. git-svn-id: http://svn.telesphoreo.org/trunk@59 514c082c-b64e-11dc-b46d-3d985efe055d --- data/berkeleydb/_metadata/name | 1 + data/berkeleydb/make.sh | 5 +++-- data/javasqlite/_metadata/name | 1 + data/javasqlite/_metadata/section | 2 +- data/ruby/_metadata/name | 1 + data/ruby/mdns.diff | 23 +++++++++++++++++++++++ data/rubygems/_metadata/name | 1 + data/sm/_metadata/section | 2 +- data/tcpdump/_metadata/section | 2 +- data/xext/_metadata/section | 2 +- data/xineramaproto/_metadata/section | 2 +- 11 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 data/berkeleydb/_metadata/name create mode 100644 data/javasqlite/_metadata/name create mode 100644 data/ruby/_metadata/name create mode 100644 data/ruby/mdns.diff create mode 100644 data/rubygems/_metadata/name diff --git a/data/berkeleydb/_metadata/name b/data/berkeleydb/_metadata/name new file mode 100644 index 000000000..4062f2746 --- /dev/null +++ b/data/berkeleydb/_metadata/name @@ -0,0 +1 @@ +Berkeley DB diff --git a/data/berkeleydb/make.sh b/data/berkeleydb/make.sh index 055e506e4..7bdf244eb 100644 --- a/data/berkeleydb/make.sh +++ b/data/berkeleydb/make.sh @@ -1,5 +1,6 @@ -tar -zxvf "${PKG_DATA}/db-4.6.21.tar.gz" -cd db-4.6.21/build_unix +pkg:extract +cd * +cd build_unix PKG_CONF=../dist/configure pkg:configure make pkg:install diff --git a/data/javasqlite/_metadata/name b/data/javasqlite/_metadata/name new file mode 100644 index 000000000..3e1bbd7da --- /dev/null +++ b/data/javasqlite/_metadata/name @@ -0,0 +1 @@ +Java SQLite diff --git a/data/javasqlite/_metadata/section b/data/javasqlite/_metadata/section index f3d360b1c..bf4484b6c 100644 --- a/data/javasqlite/_metadata/section +++ b/data/javasqlite/_metadata/section @@ -1 +1 @@ -java +Java diff --git a/data/ruby/_metadata/name b/data/ruby/_metadata/name new file mode 100644 index 000000000..012625ac0 --- /dev/null +++ b/data/ruby/_metadata/name @@ -0,0 +1 @@ +Ruby diff --git a/data/ruby/mdns.diff b/data/ruby/mdns.diff new file mode 100644 index 000000000..436e1d7a4 --- /dev/null +++ b/data/ruby/mdns.diff @@ -0,0 +1,23 @@ +diff -ru ruby-1.8.6-p111/main.c ruby-1.8.6-p111+iPhone/main.c +--- ruby-1.8.6-p111/main.c 2007-02-12 23:01:19.000000000 +0000 ++++ ruby-1.8.6-p111+iPhone/main.c 2008-01-31 08:08:03.000000000 +0000 +@@ -1,3 +1,5 @@ ++#include ++ + /********************************************************************** + + main.c - +@@ -34,6 +36,13 @@ + int argc; + char **argv, **envp; + { ++ 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; ++ + #ifdef _WIN32 + NtInitialize(&argc, &argv); + #endif diff --git a/data/rubygems/_metadata/name b/data/rubygems/_metadata/name new file mode 100644 index 000000000..503d8b988 --- /dev/null +++ b/data/rubygems/_metadata/name @@ -0,0 +1 @@ +RubyGems diff --git a/data/sm/_metadata/section b/data/sm/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/sm/_metadata/section +++ b/data/sm/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/tcpdump/_metadata/section b/data/tcpdump/_metadata/section index 992ae1298..872c3bcfe 100644 --- a/data/tcpdump/_metadata/section +++ b/data/tcpdump/_metadata/section @@ -1 +1 @@ -network +Network_Analysis diff --git a/data/xext/_metadata/section b/data/xext/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xext/_metadata/section +++ b/data/xext/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows diff --git a/data/xineramaproto/_metadata/section b/data/xineramaproto/_metadata/section index b1233ea1c..42d22e0dd 100644 --- a/data/xineramaproto/_metadata/section +++ b/data/xineramaproto/_metadata/section @@ -1 +1 @@ -xwindows +X_Windows -- cgit v1.2.3