summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/nmap/_metadata/name1
-rw-r--r--data/nmap/_metadata/section2
-rw-r--r--data/spidermonkey/_metadata/name1
-rw-r--r--data/spidermonkey/mdns.diff23
-rw-r--r--data/subversion/_metadata/name1
-rw-r--r--data/subversion/_metadata/section2
-rw-r--r--data/subversion/make.sh4
-rw-r--r--data/subversion/mdns.diff161
-rw-r--r--data/xau/_metadata/section2
-rw-r--r--data/xeyes/_metadata/section2
10 files changed, 193 insertions, 6 deletions
diff --git a/data/nmap/_metadata/name b/data/nmap/_metadata/name
new file mode 100644
index 000000000..853608090
--- /dev/null
+++ b/data/nmap/_metadata/name
@@ -0,0 +1 @@
+Nmap
diff --git a/data/nmap/_metadata/section b/data/nmap/_metadata/section
index 992ae1298..872c3bcfe 100644
--- a/data/nmap/_metadata/section
+++ b/data/nmap/_metadata/section
@@ -1 +1 @@
-network
+Network_Analysis
diff --git a/data/spidermonkey/_metadata/name b/data/spidermonkey/_metadata/name
new file mode 100644
index 000000000..e07116f0a
--- /dev/null
+++ b/data/spidermonkey/_metadata/name
@@ -0,0 +1 @@
+SpiderMonkey
diff --git a/data/spidermonkey/mdns.diff b/data/spidermonkey/mdns.diff
new file mode 100644
index 000000000..898af4c40
--- /dev/null
+++ b/data/spidermonkey/mdns.diff
@@ -0,0 +1,23 @@
+diff -ru js/src/js.c js+iPhone/src/js.c
+--- js/src/js.c 2007-04-20 18:45:18.000000000 +0000
++++ js+iPhone/src/js.c 2008-01-31 08:09:53.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * vim: set ts=8 sw=4 et tw=78:
+ *
+@@ -3033,6 +3035,13 @@
+ int
+ main(int argc, char **argv, char **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;
++
+ int stackDummy;
+ JSRuntime *rt;
+ JSContext *cx;
diff --git a/data/subversion/_metadata/name b/data/subversion/_metadata/name
new file mode 100644
index 000000000..231afa21d
--- /dev/null
+++ b/data/subversion/_metadata/name
@@ -0,0 +1 @@
+Subversion
diff --git a/data/subversion/_metadata/section b/data/subversion/_metadata/section
index 7fd8a7f94..161633384 100644
--- a/data/subversion/_metadata/section
+++ b/data/subversion/_metadata/section
@@ -1 +1 @@
-versioning
+Version_Control
diff --git a/data/subversion/make.sh b/data/subversion/make.sh
index 5a8174953..8ac64fcd3 100644
--- a/data/subversion/make.sh
+++ b/data/subversion/make.sh
@@ -1,5 +1,5 @@
-tar -jxvf "${PKG_DATA}/subversion-1.4.6.tar.bz2"
-cd subversion-1.4.6
+pkg:extract
+cd *
pkg:patch
autoconf
CFLAGS="-DSVN_NEON_0_25 -DSVN_NEON_0_26" pkg:configure --enable-maintainer-mode --disable-keychain --with-neon="${PKG_ROOT}/usr" --with-apr="$(PKG_WORK_ apr)/apr-1.2.12" --with-apr-util="$(PKG_WORK_ apr-util)/apr-util-1.2.12"
diff --git a/data/subversion/mdns.diff b/data/subversion/mdns.diff
new file mode 100644
index 000000000..049aadb36
--- /dev/null
+++ b/data/subversion/mdns.diff
@@ -0,0 +1,161 @@
+diff -ru subversion-1.4.6/contrib/client-side/mucc.c subversion-1.4.6+iPhone/contrib/client-side/mucc.c
+--- subversion-1.4.6/contrib/client-side/mucc.c 2005-12-19 23:24:53.000000000 +0000
++++ subversion-1.4.6+iPhone/contrib/client-side/mucc.c 2008-01-31 08:02:38.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /* Multiple URL Command Client
+
+ Combine a list of mv, cp and rm commands on URLs into a single commit.
+@@ -445,6 +447,13 @@
+ int
+ main(int argc, const 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;
++
+ apr_pool_t *pool = init("mucc");
+ apr_array_header_t *actions = apr_array_make(pool, 1, sizeof(struct action*));
+ const char *anchor = NULL;
+diff -ru subversion-1.4.6/subversion/svn/main.c subversion-1.4.6+iPhone/subversion/svn/main.c
+--- subversion-1.4.6/subversion/svn/main.c 2006-08-14 20:47:44.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svn/main.c 2008-01-31 08:03:11.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * main.c: Subversion command line client.
+ *
+@@ -815,6 +817,13 @@
+ int
+ main(int argc, const 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;
++
+ svn_error_t *err;
+ apr_allocator_t *allocator;
+ apr_pool_t *pool;
+diff -ru subversion-1.4.6/subversion/svnadmin/main.c subversion-1.4.6+iPhone/subversion/svnadmin/main.c
+--- subversion-1.4.6/subversion/svnadmin/main.c 2007-12-12 22:45:36.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svnadmin/main.c 2008-01-31 08:03:07.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * main.c: Subversion server administration tool.
+ *
+@@ -1148,6 +1150,13 @@
+ int
+ main(int argc, const 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;
++
+ svn_error_t *err;
+ apr_status_t apr_err;
+ apr_allocator_t *allocator;
+diff -ru subversion-1.4.6/subversion/svnlook/main.c subversion-1.4.6+iPhone/subversion/svnlook/main.c
+--- subversion-1.4.6/subversion/svnlook/main.c 2006-07-12 17:07:21.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svnlook/main.c 2008-01-31 08:03:00.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * main.c: Subversion server inspection tool.
+ *
+@@ -1858,6 +1860,13 @@
+ int
+ main(int argc, const 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;
++
+ svn_error_t *err;
+ apr_status_t apr_err;
+ apr_allocator_t *allocator;
+diff -ru subversion-1.4.6/subversion/svnserve/main.c subversion-1.4.6+iPhone/subversion/svnserve/main.c
+--- subversion-1.4.6/subversion/svnserve/main.c 2006-07-12 17:07:21.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svnserve/main.c 2008-01-31 08:03:05.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * main.c : Main control function for svnserve
+ *
+@@ -297,6 +299,13 @@
+
+ int main(int argc, const 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;
++
+ enum run_mode run_mode = run_mode_unspecified;
+ svn_boolean_t foreground = FALSE;
+ apr_socket_t *sock, *usock;
+diff -ru subversion-1.4.6/subversion/svnsync/main.c subversion-1.4.6+iPhone/subversion/svnsync/main.c
+--- subversion-1.4.6/subversion/svnsync/main.c 2007-10-30 21:56:56.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svnsync/main.c 2008-01-31 08:03:14.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * ====================================================================
+ * Copyright (c) 2005-2006 CollabNet. All rights reserved.
+@@ -1295,6 +1297,13 @@
+ int
+ main(int argc, const 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;
++
+ const svn_opt_subcommand_desc_t *subcommand = NULL;
+ apr_array_header_t *received_opts;
+ opt_baton_t opt_baton;
+diff -ru subversion-1.4.6/subversion/svnversion/main.c subversion-1.4.6+iPhone/subversion/svnversion/main.c
+--- subversion-1.4.6/subversion/svnversion/main.c 2006-07-12 17:07:21.000000000 +0000
++++ subversion-1.4.6+iPhone/subversion/svnversion/main.c 2008-01-31 08:03:09.000000000 +0000
+@@ -1,3 +1,5 @@
++#include <mach-o/nlist.h>
++
+ /*
+ * ====================================================================
+ * Copyright (c) 2003-2004 CollabNet. All rights reserved.
+@@ -108,6 +110,13 @@
+ int
+ main(int argc, const 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;
++
+ const char *wc_path, *trail_url;
+ apr_allocator_t *allocator;
+ apr_pool_t *pool;
diff --git a/data/xau/_metadata/section b/data/xau/_metadata/section
index b1233ea1c..42d22e0dd 100644
--- a/data/xau/_metadata/section
+++ b/data/xau/_metadata/section
@@ -1 +1 @@
-xwindows
+X_Windows
diff --git a/data/xeyes/_metadata/section b/data/xeyes/_metadata/section
index b1233ea1c..42d22e0dd 100644
--- a/data/xeyes/_metadata/section
+++ b/data/xeyes/_metadata/section
@@ -1 +1 @@
-xwindows
+X_Windows