summaryrefslogtreecommitdiff
path: root/data/adv-cmds
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-09-15 10:40:18 +0000
committerJay Freeman <saurik@saurik.com>2008-09-15 10:40:18 +0000
commit5ae171b80bf5fe4558aa777af184b5c97fc55ec5 (patch)
tree1270c95f7c278f8d5ef68e329feada18835b73c0 /data/adv-cmds
parentc226d91e0fd3e73eda801eb2ebaa1438a2b6dbeb (diff)
Correctly entitled ps and added tabs.
git-svn-id: http://svn.telesphoreo.org/trunk@479 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/adv-cmds')
l---------data/adv-cmds/_metadata/ncurses.dep1
-rw-r--r--data/adv-cmds/make.sh4
-rw-r--r--data/adv-cmds/ps.xml7
3 files changed, 11 insertions, 1 deletions
diff --git a/data/adv-cmds/_metadata/ncurses.dep b/data/adv-cmds/_metadata/ncurses.dep
new file mode 120000
index 000000000..a395fad08
--- /dev/null
+++ b/data/adv-cmds/_metadata/ncurses.dep
@@ -0,0 +1 @@
+../../ncurses \ No newline at end of file
diff --git a/data/adv-cmds/make.sh b/data/adv-cmds/make.sh
index 385b9709a..eb439df86 100644
--- a/data/adv-cmds/make.sh
+++ b/data/adv-cmds/make.sh
@@ -2,7 +2,9 @@ pkg:setup
for tproj in finger fingerd last lsvfs md ps; do
"${PKG_TARG}-gcc" -o "${tproj}" "${tproj}.tproj"/*.c -D'__FBSDID(x)='
done
+"${PKG_TARG}-gcc" -o tabs tabs.tproj/*.c -lncurses
pkg: mkdir -p /bin /usr/bin /usr/libexec
pkg: cp -a ps /bin
-pkg: cp -a finger last lsvfs md /usr/bin
+pkg: cp -a finger last lsvfs md tabs /usr/bin
pkg: cp -a fingerd /usr/libexec
+ldid -S"${PKG_DATA}/ps.xml" "${PKG_DEST}/bin/ps"
diff --git a/data/adv-cmds/ps.xml b/data/adv-cmds/ps.xml
new file mode 100644
index 000000000..b240f87ec
--- /dev/null
+++ b/data/adv-cmds/ps.xml
@@ -0,0 +1,7 @@
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>task_for_pid-allow</key>
+ <true/>
+</dict>
+</plist>