diff options
l--------- | data/adv-cmds/_metadata/ncurses.dep | 1 | ||||
-rw-r--r-- | data/adv-cmds/make.sh | 4 | ||||
-rw-r--r-- | data/adv-cmds/ps.xml | 7 |
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> |