summaryrefslogtreecommitdiff
path: root/data/darwintools
diff options
context:
space:
mode:
Diffstat (limited to 'data/darwintools')
-rw-r--r--data/darwintools/DarwinTools-1.tar.gzbin0 -> 4664 bytes
-rw-r--r--data/darwintools/_metadata/description1
-rw-r--r--data/darwintools/_metadata/license38
l---------data/darwintools/_metadata/maintainer1
-rw-r--r--data/darwintools/_metadata/priority1
-rw-r--r--data/darwintools/_metadata/section1
-rw-r--r--data/darwintools/_metadata/version1
-rw-r--r--data/darwintools/make.sh8
8 files changed, 51 insertions, 0 deletions
diff --git a/data/darwintools/DarwinTools-1.tar.gz b/data/darwintools/DarwinTools-1.tar.gz
new file mode 100644
index 000000000..b5676a5a0
--- /dev/null
+++ b/data/darwintools/DarwinTools-1.tar.gz
Binary files differ
diff --git a/data/darwintools/_metadata/description b/data/darwintools/_metadata/description
new file mode 100644
index 000000000..6368d6296
--- /dev/null
+++ b/data/darwintools/_metadata/description
@@ -0,0 +1 @@
+startupfiletool, sw_vers
diff --git a/data/darwintools/_metadata/license b/data/darwintools/_metadata/license
new file mode 100644
index 000000000..206bf7e11
--- /dev/null
+++ b/data/darwintools/_metadata/license
@@ -0,0 +1,38 @@
+startupfiletool.c:
+
+/*
+ * startupfiletool - Shantonu Sen <ssen@opendarwin.org>
+ * Tool to set HFS+ Startup File
+ * cc -o startupfiletool startupfiletool.c -O0 -g -Wall
+ */
+
+sw_vers.c:
+
+/*
+ * Copyright (c) 2005 Finlay Dobbie
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of Finlay Dobbie nor the names of his contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
diff --git a/data/darwintools/_metadata/maintainer b/data/darwintools/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/darwintools/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/darwintools/_metadata/priority b/data/darwintools/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/darwintools/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/darwintools/_metadata/section b/data/darwintools/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/darwintools/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/darwintools/_metadata/version b/data/darwintools/_metadata/version
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/data/darwintools/_metadata/version
@@ -0,0 +1 @@
+1
diff --git a/data/darwintools/make.sh b/data/darwintools/make.sh
new file mode 100644
index 000000000..cf0191d94
--- /dev/null
+++ b/data/darwintools/make.sh
@@ -0,0 +1,8 @@
+pkg:extract
+cd *
+pkg: mkdir -p /usr/bin
+
+for tool in startupfiletool sw_vers; do
+ arm-apple-darwin-gcc -o "${tool}" "${tool}.c" -framework CoreFoundation
+ pkg: cp -a "${tool}" /usr/bin
+done