summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-01 05:58:43 +0000
commitea2670c18699e514ee1d65dfd35ad22c296a74e7 (patch)
tree6826a5266d78c22210c194772a8daed06ef0a19c /data
parenta45e85d54e8df7a333946cc52fec519fc6aa4d87 (diff)
Initial commit.
git-svn-id: http://svn.telesphoreo.org/trunk@2 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data')
-rw-r--r--data/adv-cmds/_metadata/description2
l---------data/adv-cmds/_metadata/license1
l---------data/adv-cmds/_metadata/maintainer1
-rw-r--r--data/adv-cmds/_metadata/priority1
-rw-r--r--data/adv-cmds/_metadata/section1
-rw-r--r--data/adv-cmds/_metadata/version1
-rw-r--r--data/adv-cmds/adv_cmds-118.tar.gzbin0 -> 319689 bytes
-rw-r--r--data/adv-cmds/make.sh5
l---------data/apr-util/_metadata/berkeleydb.dep1
-rw-r--r--data/apr-util/_metadata/description2
l---------data/apr-util/_metadata/expat.dep1
l---------data/apr-util/_metadata/license1
l---------data/apr-util/_metadata/maintainer1
-rw-r--r--data/apr-util/_metadata/priority1
-rw-r--r--data/apr-util/_metadata/section1
-rw-r--r--data/apr-util/_metadata/version1
-rw-r--r--data/apr-util/apr-util-1.2.12.tar.gzbin0 -> 668292 bytes
-rw-r--r--data/apr-util/make.sh5
-rw-r--r--data/apr/_metadata/description2
l---------data/apr/_metadata/license1
l---------data/apr/_metadata/maintainer1
-rw-r--r--data/apr/_metadata/priority1
-rw-r--r--data/apr/_metadata/section1
-rw-r--r--data/apr/_metadata/version1
-rw-r--r--data/apr/apr-1.2.12.tar.gzbin0 -> 1127522 bytes
-rw-r--r--data/apr/make.sh5
-rw-r--r--data/apt/_metadata/description2
l---------data/apt/_metadata/dpkg.dep1
-rw-r--r--data/apt/_metadata/license142
l---------data/apt/_metadata/maintainer1
-rw-r--r--data/apt/_metadata/priority1
-rw-r--r--data/apt/_metadata/section1
-rw-r--r--data/apt/_metadata/version1
-rw-r--r--data/apt/apt_0.6.46.4-0.1.tar.gzbin0 -> 1797866 bytes
-rw-r--r--data/apt/make.sh16
-rw-r--r--data/apt/port.diff525
-rw-r--r--data/base/_metadata/description2
l---------data/base/_metadata/license1
l---------data/base/_metadata/maintainer1
-rw-r--r--data/base/_metadata/priority1
-rw-r--r--data/base/_metadata/section1
-rw-r--r--data/base/_metadata/version1
-rw-r--r--data/base/base-1.tgzbin0 -> 1208 bytes
-rw-r--r--data/base/make.sh1
-rw-r--r--data/bash/_metadata/description2
l---------data/bash/_metadata/license1
l---------data/bash/_metadata/maintainer1
-rw-r--r--data/bash/_metadata/priority1
-rw-r--r--data/bash/_metadata/section1
-rw-r--r--data/bash/_metadata/version1
-rw-r--r--data/bash/bash-3.2.tar.gzbin0 -> 2529838 bytes
-rw-r--r--data/bash/make.sh7
-rw-r--r--data/basic-cmds/_metadata/description2
-rw-r--r--data/basic-cmds/_metadata/license143
l---------data/basic-cmds/_metadata/maintainer1
-rw-r--r--data/basic-cmds/_metadata/priority1
-rw-r--r--data/basic-cmds/_metadata/section1
-rw-r--r--data/basic-cmds/_metadata/version1
-rw-r--r--data/basic-cmds/basic_cmds-48.tar.gzbin0 -> 17334 bytes
-rw-r--r--data/basic-cmds/make.sh6
-rw-r--r--data/berkeleydb/_metadata/description2
-rw-r--r--data/berkeleydb/_metadata/license100
l---------data/berkeleydb/_metadata/maintainer1
-rw-r--r--data/berkeleydb/_metadata/priority1
-rw-r--r--data/berkeleydb/_metadata/section1
-rw-r--r--data/berkeleydb/_metadata/version1
-rw-r--r--data/berkeleydb/db-4.6.21.tar.gzbin0 -> 11881885 bytes
-rw-r--r--data/berkeleydb/make.sh5
-rw-r--r--data/bind/_metadata/description2
-rw-r--r--data/bind/_metadata/license30
l---------data/bind/_metadata/maintainer1
-rw-r--r--data/bind/_metadata/priority1
-rw-r--r--data/bind/_metadata/section1
-rw-r--r--data/bind/_metadata/version1
-rw-r--r--data/bind/bind-9.4.2.tar.gzbin0 -> 6574042 bytes
-rw-r--r--data/bind/gen.diff12
-rw-r--r--data/bind/make.sh5
-rw-r--r--data/boost/_metadata/description2
-rw-r--r--data/boost/_metadata/license23
l---------data/boost/_metadata/maintainer1
-rw-r--r--data/boost/_metadata/priority1
-rw-r--r--data/boost/_metadata/section1
-rw-r--r--data/boost/_metadata/version1
-rw-r--r--data/boost/boost_1_34_1.tar.gzbin0 -> 16017741 bytes
-rw-r--r--data/boost/make.sh14
-rw-r--r--data/boost/port.diff162
-rw-r--r--data/bootstrap-cmds/_metadata/description2
l---------data/bootstrap-cmds/_metadata/license1
l---------data/bootstrap-cmds/_metadata/maintainer1
-rw-r--r--data/bootstrap-cmds/_metadata/priority1
-rw-r--r--data/bootstrap-cmds/_metadata/section1
-rw-r--r--data/bootstrap-cmds/_metadata/version1
-rw-r--r--data/bootstrap-cmds/arm.diff12
-rw-r--r--data/bootstrap-cmds/bootstrap_cmds-60.tar.gzbin0 -> 145064 bytes
-rw-r--r--data/bootstrap-cmds/make.sh15
-rw-r--r--data/bzip2/_metadata/description2
-rw-r--r--data/bzip2/_metadata/license43
l---------data/bzip2/_metadata/maintainer1
-rw-r--r--data/bzip2/_metadata/priority1
-rw-r--r--data/bzip2/_metadata/section1
-rw-r--r--data/bzip2/_metadata/version1
-rw-r--r--data/bzip2/bzip2-1.0.4.tar.gzbin0 -> 841221 bytes
-rw-r--r--data/bzip2/make.sh5
-rw-r--r--data/classpath/_metadata/description2
l---------data/classpath/_metadata/license1
l---------data/classpath/_metadata/maintainer1
-rw-r--r--data/classpath/_metadata/priority1
-rw-r--r--data/classpath/_metadata/section1
-rw-r--r--data/classpath/_metadata/version1
-rw-r--r--data/classpath/classpath-0.96.1.tar.gzbin0 -> 10292454 bytes
-rw-r--r--data/classpath/make.sh5
-rw-r--r--data/coreutils/_metadata/description2
l---------data/coreutils/_metadata/license1
l---------data/coreutils/_metadata/maintainer1
-rw-r--r--data/coreutils/_metadata/priority1
-rw-r--r--data/coreutils/_metadata/section1
-rw-r--r--data/coreutils/_metadata/version1
-rw-r--r--data/coreutils/coreutils-6.9.tar.gzbin0 -> 8194001 bytes
-rw-r--r--data/coreutils/make.sh6
-rw-r--r--data/curl/_metadata/description2
-rw-r--r--data/curl/_metadata/license21
l---------data/curl/_metadata/maintainer1
l---------data/curl/_metadata/openssl.dep1
-rw-r--r--data/curl/_metadata/priority1
-rw-r--r--data/curl/_metadata/section1
-rw-r--r--data/curl/_metadata/version1
-rw-r--r--data/curl/curl-7.17.1.tar.gzbin0 -> 2225788 bytes
-rw-r--r--data/curl/make.sh7
-rw-r--r--data/curl/strerror.diff45
-rw-r--r--data/diskdev-cmds/_metadata/description2
l---------data/diskdev-cmds/_metadata/libutil.dep1
l---------data/diskdev-cmds/_metadata/license1
l---------data/diskdev-cmds/_metadata/maintainer1
-rw-r--r--data/diskdev-cmds/_metadata/priority1
-rw-r--r--data/diskdev-cmds/_metadata/section1
-rw-r--r--data/diskdev-cmds/_metadata/version1
-rw-r--r--data/diskdev-cmds/diskdev_cmds-419.tar.gzbin0 -> 693773 bytes
-rw-r--r--data/diskdev-cmds/make.sh20
-rw-r--r--data/dpkg/_metadata/description2
l---------data/dpkg/_metadata/license1
l---------data/dpkg/_metadata/maintainer1
-rw-r--r--data/dpkg/_metadata/priority1
-rw-r--r--data/dpkg/_metadata/section1
l---------data/dpkg/_metadata/tar.dep1
-rw-r--r--data/dpkg/_metadata/version1
-rw-r--r--data/dpkg/dpkg_1.13.25.tar.gzbin0 -> 3384618 bytes
-rw-r--r--data/dpkg/make.sh8
-rw-r--r--data/dpkg/port.diff81
-rw-r--r--data/expat/_metadata/description2
-rw-r--r--data/expat/_metadata/license22
l---------data/expat/_metadata/maintainer1
-rw-r--r--data/expat/_metadata/priority1
-rw-r--r--data/expat/_metadata/section1
-rw-r--r--data/expat/_metadata/version1
-rw-r--r--data/expat/expat-2.0.1.tar.gzbin0 -> 446456 bytes
-rw-r--r--data/expat/make.sh5
-rw-r--r--data/findutils/_metadata/description2
l---------data/findutils/_metadata/license1
l---------data/findutils/_metadata/maintainer1
-rw-r--r--data/findutils/_metadata/priority1
-rw-r--r--data/findutils/_metadata/section1
-rw-r--r--data/findutils/_metadata/version1
-rw-r--r--data/findutils/findutils-4.2.31.tar.gzbin0 -> 1326294 bytes
-rw-r--r--data/findutils/make.sh5
-rw-r--r--data/gawk/_metadata/description2
l---------data/gawk/_metadata/license1
l---------data/gawk/_metadata/maintainer1
-rw-r--r--data/gawk/_metadata/priority1
-rw-r--r--data/gawk/_metadata/section1
-rw-r--r--data/gawk/_metadata/version1
-rw-r--r--data/gawk/dynamic.diff19
-rw-r--r--data/gawk/gawk-3.1.6.tar.gzbin0 -> 2488684 bytes
-rw-r--r--data/gawk/make.sh7
-rw-r--r--data/grep/_metadata/description2
l---------data/grep/_metadata/license1
l---------data/grep/_metadata/maintainer1
-rw-r--r--data/grep/_metadata/priority1
-rw-r--r--data/grep/_metadata/section1
-rw-r--r--data/grep/_metadata/version1
-rw-r--r--data/grep/destdir.diff25
-rw-r--r--data/grep/grep-2.5.tar.gzbin0 -> 683116 bytes
-rw-r--r--data/grep/make.sh7
-rw-r--r--data/gzip/_metadata/description2
l---------data/gzip/_metadata/license1
l---------data/gzip/_metadata/maintainer1
-rw-r--r--data/gzip/_metadata/priority1
-rw-r--r--data/gzip/_metadata/section1
-rw-r--r--data/gzip/_metadata/version1
-rw-r--r--data/gzip/gzip-1.3.12.tar.gzbin0 -> 462169 bytes
-rw-r--r--data/gzip/make.sh6
-rw-r--r--data/iokittools/IOKitTools-76.tar.gzbin0 -> 17076 bytes
-rw-r--r--data/iokittools/_metadata/description2
l---------data/iokittools/_metadata/license1
l---------data/iokittools/_metadata/maintainer1
-rw-r--r--data/iokittools/_metadata/priority1
-rw-r--r--data/iokittools/_metadata/section1
-rw-r--r--data/iokittools/_metadata/version1
-rw-r--r--data/iokittools/make.sh8
l---------data/jamvm/_metadata/classpath.dep1
-rw-r--r--data/jamvm/_metadata/description2
l---------data/jamvm/_metadata/license1
l---------data/jamvm/_metadata/maintainer1
-rw-r--r--data/jamvm/_metadata/priority1
-rw-r--r--data/jamvm/_metadata/section1
-rw-r--r--data/jamvm/_metadata/version1
-rw-r--r--data/jamvm/jamvm-1.5.1b2.tar.gzbin0 -> 583822 bytes
-rw-r--r--data/jamvm/make.sh5
-rw-r--r--data/javasqlite/_metadata/description2
-rw-r--r--data/javasqlite/_metadata/license26
l---------data/javasqlite/_metadata/maintainer1
-rw-r--r--data/javasqlite/_metadata/priority1
-rw-r--r--data/javasqlite/_metadata/section1
-rw-r--r--data/javasqlite/_metadata/version1
-rw-r--r--data/javasqlite/dylib.diff15
-rw-r--r--data/javasqlite/javasqlite-20071108.tar.gzbin0 -> 354808 bytes
-rw-r--r--data/javasqlite/make.sh7
-rw-r--r--data/javasqlite/mkconst.diff15
-rw-r--r--data/kext-tools/_metadata/description2
l---------data/kext-tools/_metadata/license1
l---------data/kext-tools/_metadata/maintainer1
-rw-r--r--data/kext-tools/_metadata/priority1
-rw-r--r--data/kext-tools/_metadata/section1
-rw-r--r--data/kext-tools/_metadata/version1
-rw-r--r--data/kext-tools/getiopolicy_np.c93
-rw-r--r--data/kext-tools/kext_tools-117.tar.gzbin0 -> 208690 bytes
-rwxr-xr-xdata/kext-tools/make.sh18
-rw-r--r--data/less/_metadata/description2
l---------data/less/_metadata/license1
l---------data/less/_metadata/maintainer1
-rw-r--r--data/less/_metadata/priority1
-rw-r--r--data/less/_metadata/section1
-rw-r--r--data/less/_metadata/version1
-rw-r--r--data/less/less-416.tar.gzbin0 -> 294541 bytes
-rw-r--r--data/less/make.sh5
-rw-r--r--data/libffi/_metadata/description2
l---------data/libffi/_metadata/license1
l---------data/libffi/_metadata/maintainer1
-rw-r--r--data/libffi/_metadata/priority1
-rw-r--r--data/libffi/_metadata/section1
-rw-r--r--data/libffi/_metadata/version1
-rw-r--r--data/libffi/assembler.diff43
-rw-r--r--data/libffi/libffi-130618.tgzbin0 -> 982313 bytes
-rw-r--r--data/libffi/make.sh12
-rw-r--r--data/libffi/private.diff12
-rw-r--r--data/libpcap/_metadata/description2
l---------data/libpcap/_metadata/license1
l---------data/libpcap/_metadata/maintainer1
-rw-r--r--data/libpcap/_metadata/priority1
-rw-r--r--data/libpcap/_metadata/section1
-rw-r--r--data/libpcap/_metadata/version1
-rw-r--r--data/libpcap/libpcap-0.9.8.tar.gzbin0 -> 520526 bytes
-rw-r--r--data/libpcap/make.sh6
-rw-r--r--data/libutil/_metadata/description2
-rw-r--r--data/libutil/_metadata/license238
l---------data/libutil/_metadata/maintainer1
-rw-r--r--data/libutil/_metadata/priority1
-rw-r--r--data/libutil/_metadata/section1
-rw-r--r--data/libutil/_metadata/version1
-rw-r--r--data/libutil/libutil-11.tar.gzbin0 -> 24167 bytes
-rw-r--r--data/libutil/make.sh4
-rw-r--r--data/links/_metadata/description2
l---------data/links/_metadata/license1
l---------data/links/_metadata/maintainer1
l---------data/links/_metadata/openssl.dep1
-rw-r--r--data/links/_metadata/priority1
-rw-r--r--data/links/_metadata/section1
-rw-r--r--data/links/_metadata/version1
-rw-r--r--data/links/links-0.99.tar.gzbin0 -> 587574 bytes
-rw-r--r--data/links/make.sh5
-rw-r--r--data/make/_metadata/description2
l---------data/make/_metadata/license1
l---------data/make/_metadata/maintainer1
-rw-r--r--data/make/_metadata/priority1
-rw-r--r--data/make/_metadata/section1
-rw-r--r--data/make/_metadata/version1
-rw-r--r--data/make/make-3.81.tar.gzbin0 -> 1564560 bytes
-rw-r--r--data/make/make.sh5
-rw-r--r--data/nano/_metadata/description2
l---------data/nano/_metadata/license1
l---------data/nano/_metadata/maintainer1
-rw-r--r--data/nano/_metadata/priority1
-rw-r--r--data/nano/_metadata/section1
-rw-r--r--data/nano/_metadata/version1
-rw-r--r--data/nano/make.sh5
-rw-r--r--data/nano/nano-2.0.7.tar.gzbin0 -> 1363684 bytes
-rw-r--r--data/ncftp/_metadata/description2
-rw-r--r--data/ncftp/_metadata/license136
l---------data/ncftp/_metadata/maintainer1
-rw-r--r--data/ncftp/_metadata/priority1
-rw-r--r--data/ncftp/_metadata/section1
-rw-r--r--data/ncftp/_metadata/version1
-rw-r--r--data/ncftp/make.sh6
-rw-r--r--data/ncftp/ncftp-3.2.1-src.tar.gzbin0 -> 537768 bytes
-rw-r--r--data/ncurses/_metadata/description2
-rw-r--r--data/ncurses/_metadata/license27
l---------data/ncurses/_metadata/maintainer1
-rw-r--r--data/ncurses/_metadata/priority1
-rw-r--r--data/ncurses/_metadata/section1
-rw-r--r--data/ncurses/_metadata/version1
-rw-r--r--data/ncurses/make.sh5
-rw-r--r--data/ncurses/ncurses-5.6.tar.gzbin0 -> 2402592 bytes
-rw-r--r--data/neon/_metadata/description2
l---------data/neon/_metadata/expat.dep1
l---------data/neon/_metadata/license1
l---------data/neon/_metadata/maintainer1
l---------data/neon/_metadata/openssl.dep1
-rw-r--r--data/neon/_metadata/priority1
-rw-r--r--data/neon/_metadata/section1
-rw-r--r--data/neon/_metadata/version1
-rw-r--r--data/neon/make.sh8
-rw-r--r--data/neon/neon-0.26.4.tar.gzbin0 -> 794225 bytes
-rw-r--r--data/neon/nmedit.diff51
-rw-r--r--data/netcat/_metadata/description2
l---------data/netcat/_metadata/license1
l---------data/netcat/_metadata/maintainer1
-rw-r--r--data/netcat/_metadata/priority1
-rw-r--r--data/netcat/_metadata/section1
-rw-r--r--data/netcat/_metadata/version1
-rw-r--r--data/netcat/make.sh6
-rw-r--r--data/netcat/netcat-0.7.1.tar.gzbin0 -> 398872 bytes
-rw-r--r--data/network-cmds/_metadata/description2
l---------data/network-cmds/_metadata/license1
l---------data/network-cmds/_metadata/maintainer1
-rw-r--r--data/network-cmds/_metadata/priority1
-rw-r--r--data/network-cmds/_metadata/section1
-rw-r--r--data/network-cmds/_metadata/version1
-rw-r--r--data/network-cmds/make.sh10
-rw-r--r--data/network-cmds/network_cmds-306.tar.gzbin0 -> 505632 bytes
-rw-r--r--data/ngrep/_metadata/description2
-rw-r--r--data/ngrep/_metadata/license38
l---------data/ngrep/_metadata/maintainer1
-rw-r--r--data/ngrep/_metadata/priority1
-rw-r--r--data/ngrep/_metadata/section1
-rw-r--r--data/ngrep/_metadata/version1
-rw-r--r--data/ngrep/host.diff12
-rw-r--r--data/ngrep/make.sh10
-rw-r--r--data/ngrep/ngrep-1.45.tar.bz2bin0 -> 463361 bytes
-rw-r--r--data/nmap/_metadata/description2
l---------data/nmap/_metadata/libpcap.dep1
l---------data/nmap/_metadata/license1
l---------data/nmap/_metadata/maintainer1
l---------data/nmap/_metadata/openssl.dep1
-rw-r--r--data/nmap/_metadata/priority1
-rw-r--r--data/nmap/_metadata/section1
-rw-r--r--data/nmap/_metadata/version1
-rw-r--r--data/nmap/bsd.diff12
-rw-r--r--data/nmap/bsd.diff_24
-rw-r--r--data/nmap/exit.diff11
-rw-r--r--data/nmap/libpcap.diff27
-rw-r--r--data/nmap/make.sh10
-rw-r--r--data/nmap/nmap-4.50.tar.bz2bin0 -> 3128562 bytes
-rw-r--r--data/nvi/_metadata/description2
-rw-r--r--data/nvi/_metadata/license40
l---------data/nvi/_metadata/maintainer1
-rw-r--r--data/nvi/_metadata/priority1
-rw-r--r--data/nvi/_metadata/section1
-rw-r--r--data/nvi/_metadata/version1
-rw-r--r--data/nvi/make.sh7
-rw-r--r--data/nvi/nvi-1.79.tar.gzbin0 -> 1295401 bytes
-rw-r--r--data/nvi/subshell.diff16
-rw-r--r--data/odcctools/_metadata/description2
l---------data/odcctools/_metadata/license1
l---------data/odcctools/_metadata/maintainer1
-rw-r--r--data/odcctools/_metadata/priority1
-rw-r--r--data/odcctools/_metadata/section1
-rw-r--r--data/odcctools/_metadata/version1
-rw-r--r--data/odcctools/adrbxj.diff176
-rw-r--r--data/odcctools/archive64.diff21
-rw-r--r--data/odcctools/comm.diff35
-rw-r--r--data/odcctools/ifnc.diff225
-rw-r--r--data/odcctools/make.sh8
-rw-r--r--data/odcctools/odcctools-209.tgzbin0 -> 2200232 bytes
-rw-r--r--data/odcctools/word.diff12
-rw-r--r--data/openssl/_metadata/description2
-rw-r--r--data/openssl/_metadata/license127
l---------data/openssl/_metadata/maintainer1
-rw-r--r--data/openssl/_metadata/priority1
-rw-r--r--data/openssl/_metadata/section1
-rw-r--r--data/openssl/_metadata/version1
-rw-r--r--data/openssl/armnm.diff12
-rw-r--r--data/openssl/darwin.diff11
-rw-r--r--data/openssl/make.sh10
-rw-r--r--data/openssl/openssl-0.9.8g.tar.gzbin0 -> 3354792 bytes
-rw-r--r--data/psmisc/_metadata/description2
l---------data/psmisc/_metadata/license1
l---------data/psmisc/_metadata/maintainer1
-rw-r--r--data/psmisc/_metadata/priority1
-rw-r--r--data/psmisc/_metadata/section1
-rw-r--r--data/psmisc/_metadata/version1
-rw-r--r--data/psmisc/fuser.diff23
-rw-r--r--data/psmisc/getline.diff32
-rw-r--r--data/psmisc/make.sh7
-rw-r--r--data/psmisc/pathmax.diff11
-rw-r--r--data/psmisc/psmisc-22.6.tar.gzbin0 -> 283532 bytes
-rw-r--r--data/readline/_metadata/description2
l---------data/readline/_metadata/license1
l---------data/readline/_metadata/maintainer1
-rw-r--r--data/readline/_metadata/priority1
-rw-r--r--data/readline/_metadata/section1
-rw-r--r--data/readline/_metadata/version1
-rw-r--r--data/readline/archarm.diff49
-rw-r--r--data/readline/make.sh6
-rw-r--r--data/readline/readline-5.2.tar.gzbin0 -> 2037705 bytes
-rw-r--r--data/rsync/_metadata/description2
l---------data/rsync/_metadata/license1
l---------data/rsync/_metadata/maintainer1
-rw-r--r--data/rsync/_metadata/priority1
-rw-r--r--data/rsync/_metadata/section1
-rw-r--r--data/rsync/_metadata/version1
-rw-r--r--data/rsync/make.sh5
-rw-r--r--data/rsync/rsync-2.6.9.tar.gzbin0 -> 811841 bytes
-rw-r--r--data/sed/_metadata/description2
l---------data/sed/_metadata/license1
l---------data/sed/_metadata/maintainer1
-rw-r--r--data/sed/_metadata/priority1
-rw-r--r--data/sed/_metadata/section1
-rw-r--r--data/sed/_metadata/version1
-rw-r--r--data/sed/make.sh7
-rw-r--r--data/sed/obstack.diff83
-rw-r--r--data/sed/sed-4.1.5.tar.gzbin0 -> 799584 bytes
-rw-r--r--data/shell-cmds/_metadata/description2
l---------data/shell-cmds/_metadata/license1
l---------data/shell-cmds/_metadata/maintainer1
-rw-r--r--data/shell-cmds/_metadata/priority1
-rw-r--r--data/shell-cmds/_metadata/section1
-rw-r--r--data/shell-cmds/_metadata/version1
-rw-r--r--data/shell-cmds/make.sh8
-rw-r--r--data/shell-cmds/shell_cmds-116.tar.gzbin0 -> 173439 bytes
-rw-r--r--data/spidermonkey/_metadata/description2
l---------data/spidermonkey/_metadata/maintainer1
-rw-r--r--data/spidermonkey/_metadata/priority1
-rw-r--r--data/spidermonkey/_metadata/section1
-rw-r--r--data/spidermonkey/_metadata/version1
-rw-r--r--data/spidermonkey/js-1.7.0.tar.gzbin0 -> 1165607 bytes
-rw-r--r--data/spidermonkey/jsautocfg.h52
-rw-r--r--data/spidermonkey/make.sh10
-rw-r--r--data/spidermonkey/port.diff97
-rw-r--r--data/srelay/_metadata/description2
-rw-r--r--data/srelay/_metadata/license27
l---------data/srelay/_metadata/maintainer1
-rw-r--r--data/srelay/_metadata/priority1
-rw-r--r--data/srelay/_metadata/section1
-rw-r--r--data/srelay/_metadata/version1
-rw-r--r--data/srelay/bindaddr.diff21
-rw-r--r--data/srelay/filio.diff12
-rw-r--r--data/srelay/make.sh7
-rw-r--r--data/srelay/sigpoll.diff12
-rw-r--r--data/srelay/srelay-0.4.6.tar.gzbin0 -> 92950 bytes
-rw-r--r--data/srelay/thread.diff28
l---------data/subversion/_metadata/apr-util.dep1
l---------data/subversion/_metadata/apr.dep1
-rw-r--r--data/subversion/_metadata/description2
l---------data/subversion/_metadata/expat.dep1
-rw-r--r--data/subversion/_metadata/license57
l---------data/subversion/_metadata/maintainer1
l---------data/subversion/_metadata/neon.dep1
-rw-r--r--data/subversion/_metadata/priority1
-rw-r--r--data/subversion/_metadata/section1
-rw-r--r--data/subversion/_metadata/version1
-rw-r--r--data/subversion/make.sh7
-rw-r--r--data/subversion/neon.diff18
-rw-r--r--data/subversion/subversion-1.4.6.tar.bz2bin0 -> 4680316 bytes
-rw-r--r--data/subversion/svnversion.diff12
-rw-r--r--data/system-cmds/_metadata/description2
l---------data/system-cmds/_metadata/license1
l---------data/system-cmds/_metadata/maintainer1
-rw-r--r--data/system-cmds/_metadata/priority1
-rw-r--r--data/system-cmds/_metadata/section1
-rw-r--r--data/system-cmds/_metadata/version1
-rw-r--r--data/system-cmds/kextmanager.h615
-rw-r--r--data/system-cmds/kextmanagerServer.c2756
-rw-r--r--data/system-cmds/kextmanagerUser.c2844
-rw-r--r--data/system-cmds/make.sh16
-rw-r--r--data/system-cmds/system_cmds-431.tar.gzbin0 -> 453106 bytes
-rw-r--r--data/tar/_metadata/description2
l---------data/tar/_metadata/license1
l---------data/tar/_metadata/maintainer1
-rw-r--r--data/tar/_metadata/priority1
-rw-r--r--data/tar/_metadata/section1
-rw-r--r--data/tar/_metadata/version1
-rw-r--r--data/tar/make.sh7
-rw-r--r--data/tar/static.diff64
-rw-r--r--data/tar/tar-1.19.tar.gzbin0 -> 2726656 bytes
-rw-r--r--data/tcpdump/_metadata/description2
l---------data/tcpdump/_metadata/libpcap.dep1
l---------data/tcpdump/_metadata/license1
l---------data/tcpdump/_metadata/maintainer1
-rw-r--r--data/tcpdump/_metadata/priority1
-rw-r--r--data/tcpdump/_metadata/section1
-rw-r--r--data/tcpdump/_metadata/version1
-rw-r--r--data/tcpdump/make.sh5
-rw-r--r--data/tcpdump/tcpdump-3.9.8.tar.gzbin0 -> 938054 bytes
-rw-r--r--data/top/_metadata/description2
l---------data/top/_metadata/license1
l---------data/top/_metadata/maintainer1
-rw-r--r--data/top/_metadata/priority1
-rw-r--r--data/top/_metadata/section1
-rw-r--r--data/top/_metadata/version1
-rw-r--r--data/top/make.sh5
-rw-r--r--data/top/mvpath.diff11
-rw-r--r--data/top/strip.diff13
-rw-r--r--data/top/top-37.tar.gzbin0 -> 52240 bytes
-rw-r--r--data/unrar/_metadata/description2
-rw-r--r--data/unrar/_metadata/license40
l---------data/unrar/_metadata/maintainer1
-rw-r--r--data/unrar/_metadata/priority1
-rw-r--r--data/unrar/_metadata/section1
-rw-r--r--data/unrar/_metadata/version1
-rw-r--r--data/unrar/exceptions.diff39
-rw-r--r--data/unrar/make.sh5
-rw-r--r--data/unrar/unrarsrc-3.6.8.tar.gzbin0 -> 125045 bytes
-rw-r--r--data/unzip/_metadata/description2
-rw-r--r--data/unzip/_metadata/license55
l---------data/unzip/_metadata/maintainer1
-rw-r--r--data/unzip/_metadata/priority1
-rw-r--r--data/unzip/_metadata/section1
-rw-r--r--data/unzip/_metadata/version1
-rw-r--r--data/unzip/make.sh5
-rw-r--r--data/unzip/unzip552.tar.gzbin0 -> 1140291 bytes
-rw-r--r--data/vim/_metadata/description2
-rw-r--r--data/vim/_metadata/license78
l---------data/vim/_metadata/maintainer1
-rw-r--r--data/vim/_metadata/priority1
-rw-r--r--data/vim/_metadata/section1
-rw-r--r--data/vim/_metadata/version1
-rw-r--r--data/vim/cross.diff328
-rw-r--r--data/vim/make.sh9
-rw-r--r--data/vim/vim-7.1.tar.bz2bin0 -> 6876053 bytes
-rw-r--r--data/wget/_metadata/description2
l---------data/wget/_metadata/license1
l---------data/wget/_metadata/maintainer1
l---------data/wget/_metadata/openssl.dep1
-rw-r--r--data/wget/_metadata/priority1
-rw-r--r--data/wget/_metadata/section1
-rw-r--r--data/wget/_metadata/version1
-rw-r--r--data/wget/make.sh5
-rw-r--r--data/wget/wget-1.9.1.tar.gzbin0 -> 1322378 bytes
-rw-r--r--data/whois/_metadata/description2
l---------data/whois/_metadata/license1
l---------data/whois/_metadata/maintainer1
-rw-r--r--data/whois/_metadata/priority1
-rw-r--r--data/whois/_metadata/section1
-rw-r--r--data/whois/_metadata/version1
-rw-r--r--data/whois/make.sh4
-rw-r--r--data/whois/whois_4.7.24.tar.gzbin0 -> 61416 bytes
-rw-r--r--data/zip/_metadata/description2
-rw-r--r--data/zip/_metadata/license55
l---------data/zip/_metadata/maintainer1
-rw-r--r--data/zip/_metadata/priority1
-rw-r--r--data/zip/_metadata/section1
-rw-r--r--data/zip/_metadata/version1
-rw-r--r--data/zip/make.sh5
-rw-r--r--data/zip/zip232.zipbin0 -> 961121 bytes
553 files changed, 11163 insertions, 0 deletions
diff --git a/data/adv-cmds/_metadata/description b/data/adv-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/adv-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/adv-cmds/_metadata/license b/data/adv-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/adv-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/adv-cmds/_metadata/maintainer b/data/adv-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/adv-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/adv-cmds/_metadata/priority b/data/adv-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/adv-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/adv-cmds/_metadata/section b/data/adv-cmds/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/adv-cmds/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/adv-cmds/_metadata/version b/data/adv-cmds/_metadata/version
new file mode 100644
index 000000000..415196e47
--- /dev/null
+++ b/data/adv-cmds/_metadata/version
@@ -0,0 +1 @@
+118
diff --git a/data/adv-cmds/adv_cmds-118.tar.gz b/data/adv-cmds/adv_cmds-118.tar.gz
new file mode 100644
index 000000000..760601bca
--- /dev/null
+++ b/data/adv-cmds/adv_cmds-118.tar.gz
Binary files differ
diff --git a/data/adv-cmds/make.sh b/data/adv-cmds/make.sh
new file mode 100644
index 000000000..651693003
--- /dev/null
+++ b/data/adv-cmds/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/adv_cmds-118.tar.gz"
+cd adv_cmds-118
+arm-apple-darwin-gcc -o ps ps.tproj/*.c -D'__FBSDID(x)='
+mkdir -p "${PKG_DEST}/usr/bin"
+cp -a ps "${PKG_DEST}/usr/bin"
diff --git a/data/apr-util/_metadata/berkeleydb.dep b/data/apr-util/_metadata/berkeleydb.dep
new file mode 120000
index 000000000..f945cb1a2
--- /dev/null
+++ b/data/apr-util/_metadata/berkeleydb.dep
@@ -0,0 +1 @@
+../../berkeleydb \ No newline at end of file
diff --git a/data/apr-util/_metadata/description b/data/apr-util/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/apr-util/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/apr-util/_metadata/expat.dep b/data/apr-util/_metadata/expat.dep
new file mode 120000
index 000000000..2100fb19e
--- /dev/null
+++ b/data/apr-util/_metadata/expat.dep
@@ -0,0 +1 @@
+../../expat \ No newline at end of file
diff --git a/data/apr-util/_metadata/license b/data/apr-util/_metadata/license
new file mode 120000
index 000000000..d0b14a610
--- /dev/null
+++ b/data/apr-util/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apache-2.0 \ No newline at end of file
diff --git a/data/apr-util/_metadata/maintainer b/data/apr-util/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/apr-util/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/apr-util/_metadata/priority b/data/apr-util/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/apr-util/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/apr-util/_metadata/section b/data/apr-util/_metadata/section
new file mode 100644
index 000000000..f99e8394e
--- /dev/null
+++ b/data/apr-util/_metadata/section
@@ -0,0 +1 @@
+platform
diff --git a/data/apr-util/_metadata/version b/data/apr-util/_metadata/version
new file mode 100644
index 000000000..f2ae0b4a2
--- /dev/null
+++ b/data/apr-util/_metadata/version
@@ -0,0 +1 @@
+1.2.12
diff --git a/data/apr-util/apr-util-1.2.12.tar.gz b/data/apr-util/apr-util-1.2.12.tar.gz
new file mode 100644
index 000000000..a97916bee
--- /dev/null
+++ b/data/apr-util/apr-util-1.2.12.tar.gz
Binary files differ
diff --git a/data/apr-util/make.sh b/data/apr-util/make.sh
new file mode 100644
index 000000000..8aaa84de9
--- /dev/null
+++ b/data/apr-util/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/apr-util-1.2.12.tar.gz"
+cd apr-util-1.2.12
+pkg:configure --disable-static --with-apr="$(PKG_WORK_ apr)/apr-1.2.12" --with-berkeley-db="${PKG_ROOT}"
+make
+pkg:install
diff --git a/data/apr/_metadata/description b/data/apr/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/apr/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/apr/_metadata/license b/data/apr/_metadata/license
new file mode 120000
index 000000000..d0b14a610
--- /dev/null
+++ b/data/apr/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apache-2.0 \ No newline at end of file
diff --git a/data/apr/_metadata/maintainer b/data/apr/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/apr/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/apr/_metadata/priority b/data/apr/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/apr/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/apr/_metadata/section b/data/apr/_metadata/section
new file mode 100644
index 000000000..f99e8394e
--- /dev/null
+++ b/data/apr/_metadata/section
@@ -0,0 +1 @@
+platform
diff --git a/data/apr/_metadata/version b/data/apr/_metadata/version
new file mode 100644
index 000000000..f2ae0b4a2
--- /dev/null
+++ b/data/apr/_metadata/version
@@ -0,0 +1 @@
+1.2.12
diff --git a/data/apr/apr-1.2.12.tar.gz b/data/apr/apr-1.2.12.tar.gz
new file mode 100644
index 000000000..cd31d9615
--- /dev/null
+++ b/data/apr/apr-1.2.12.tar.gz
Binary files differ
diff --git a/data/apr/make.sh b/data/apr/make.sh
new file mode 100644
index 000000000..a472e891d
--- /dev/null
+++ b/data/apr/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/apr-1.2.12.tar.gz"
+cd apr-1.2.12
+pkg:configure --disable-static ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes apr_cv_mutex_robust_shared=no apr_cv_tcp_nodelay_with_cork=no
+make
+pkg:install
diff --git a/data/apt/_metadata/description b/data/apt/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/apt/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/apt/_metadata/dpkg.dep b/data/apt/_metadata/dpkg.dep
new file mode 120000
index 000000000..3e57eea03
--- /dev/null
+++ b/data/apt/_metadata/dpkg.dep
@@ -0,0 +1 @@
+../../dpkg \ No newline at end of file
diff --git a/data/apt/_metadata/license b/data/apt/_metadata/license
new file mode 100644
index 000000000..9e277e57d
--- /dev/null
+++ b/data/apt/_metadata/license
@@ -0,0 +1,142 @@
+Apt is copyright 1997, 1998, 1999 Jason Gunthorpe and others.
+
+Apt is licened under the terms of the GNU General Public License (GPL),
+version 2.0 or later, as published by the Free Software Foundation. See
+the file COPYING.GPL [included], /usr/share/common-licenses/GPL, or
+<http://www.gnu.org/copyleft/gpl.txt> for the terms of the latest version
+of the GNU General Public License.
+
+In addition, prior to November 15th, 2000, apt may be distributed under
+terms identical to the above with the following addition:
+
+Works using apt may link against the GUI library "libqt", copyright by
+Troll Tech AS, Norway, provided that:
+
+1. The version of "libqt" is licensed under the terms of the "Qt Free Edition
+ License" published by Troll Tech AS. The license terms identified as
+ the Qt Free Edition License below are the only such terms under which
+ distribution of works derived from both apt and "libqt" are permitted;
+
+and
+
+2. The source code of the version of "libqt" used is
+
+ a) Distributed with the binary version;
+
+ or
+
+ b) Downloadable by anyone, without fee, using a publicly-announced
+ URL on the Internet, for a duration of at least three years
+ starting with distribution of the binary version.
+
+On and after November 15th, 2000, the above additional terms lose all
+force, and apt will be licensed only under the terms of the GNU General
+Public License, version 2.0 or later.
+
+ _______________________________________________________________
+
+The following text, up to the text of the Qt Free Edition License, is
+informational and not part of the license terms on apt.
+
+Modifications to apt in either source or compiled form must be licensed
+under the terms of the GNU General Public License, version 2.0 (or later),
+but need not include the above clause permitting usage of the "libqt"
+library under the Qt Free Edition License. Note that removal of this
+clause will result in software which is not licensed for binary
+redistribution linked against software governed by the Qt Free Edition
+License. In the event that a version of "libqt" is released that is
+licensed under terms that do not conflict with the GPL, the additional
+clause above is not required to grant permission for distribution of works
+that are derived from both apt and "libqt".
+
+No part of apt is licensed under the Qt Free Edition License. The terms
+below are provided to help identify the circumstances under which the
+"libqt" library may be used with apt (or a work derived from both). The
+terms below are copied from the LICENSE file of the qt-1.44 distribution,
+as of November 10th, 1999.
+
+ _______________________________________________________________
+
+ QT FREE EDITION LICENSE
+
+Copyright (C) 1992-1999 Troll Tech AS. All rights reserved.
+
+This is the license for Qt Free Edition version 1.44; it covers private use,
+use of third-party application programs based on Qt, and development of
+free software for the free software community.
+
+
+ COPYRIGHT AND RESTRICTIONS
+
+The Qt toolkit is a product of Troll Tech AS. The Qt Free Edition is limited
+to use with the X Window System.
+
+You may copy this version of the Qt Free Edition provided that the entire
+archive is distributed unchanged and as a whole, including this notice.
+
+You may use this version of the Qt Free Edition to compile, link and run
+application programs legally developed by third parties.
+
+You may use the Qt Free Edition to create application programs
+provided that:
+
+ You accept this license.
+ Your software does not require modifications to Qt Free Edition.
+ You satisfy ONE of the following three requirements
+ EITHER
+ Users of your software can freely obtain source code for the
+ software, freely modify the source code (possibly with
+ restrictions on copyright notices, attributions and legal
+ responsibility), and freely redistribute original or modified
+ versions of the software.
+ OR
+ Your software is distributed under the GNU GENERAL
+ PUBLIC LICENSE, version 2 or later, as defined by the
+ Free Software Foundation.
+ OR
+ Your software is distributed under the GNU LIBRARY
+ GENERAL PUBLIC LICENSE, version 2 or later, as
+ defined by the Free Software Foundation.
+
+If you are paid to develop something with Qt Free Edition or it is a part of
+your job the following conditions also apply:
+
+ Your software must not require libraries, programs, data or
+ documentation that are not available outside your organization in
+ order to compile or use.
+ If and when your organization starts using the software, you must
+ notify Troll Tech AS of the following:
+ Your organization's name and purpose.
+ The software's name and purpose.
+ The software's license.
+ That your organization considers the software to be free
+ software.
+
+You may also use the Qt Free Edition to create reusable components
+(such as libraries) provided that you accept the terms above, and in
+addition that:
+
+ Your components' license includes the following text:
+
+ [Your package] requires the Qt library, which is
+ copyright Troll Tech AS. Freely distributable
+ programs may generally use Qt Free Edition free of
+ charge, see [README.QT] for details.
+
+ README.QT is distributed along with your components.
+ Qt Free Edition is not distributed as an integral part of your
+ components.
+
+ LIMITATIONS OF LIABILITY
+
+Troll Tech AS makes no obligation under this license to support or
+upgrade Qt Free Edition, or assist in the use of Qt Free Edition.
+
+In no event shall Troll Tech AS be liable for any lost revenue or profits or
+other direct, indirect, special, incidental or consequential damages, even
+if Troll Tech has been advised of the possibility of such damages.
+
+QT FREE EDITION IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND,
+INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE.
+ _______________________________________________________________
diff --git a/data/apt/_metadata/maintainer b/data/apt/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/apt/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/apt/_metadata/priority b/data/apt/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/apt/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/apt/_metadata/section b/data/apt/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/apt/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/apt/_metadata/version b/data/apt/_metadata/version
new file mode 100644
index 000000000..f44089729
--- /dev/null
+++ b/data/apt/_metadata/version
@@ -0,0 +1 @@
+0.6.46.4-0.1
diff --git a/data/apt/apt_0.6.46.4-0.1.tar.gz b/data/apt/apt_0.6.46.4-0.1.tar.gz
new file mode 100644
index 000000000..99840a4ee
--- /dev/null
+++ b/data/apt/apt_0.6.46.4-0.1.tar.gz
Binary files differ
diff --git a/data/apt/make.sh b/data/apt/make.sh
new file mode 100644
index 000000000..83831e6ae
--- /dev/null
+++ b/data/apt/make.sh
@@ -0,0 +1,16 @@
+tar -zxvf "${PKG_DATA}/apt_0.6.46.4-0.1.tar.gz"
+cd apt-0.6.46.4.1
+pkg:patch
+autoconf
+pkg:configure
+make
+pkg:mkdir /etc/apt/sources.list.d
+pkg:mkdir /var/cache/apt/archives/partial
+pkg:mkdir /var/lib/apt/lists/partial
+pkg:mkdir /var/lib/apt/periodic
+pkg: mkdir -p /usr/bin /usr/lib/apt
+pkg: cp -a bin/apt-* /usr/bin
+pkg: cp -a bin/libapt-* /usr/lib
+pkg: cp -a bin/methods /usr/lib/apt
+pkg:mkdir /usr/lib/dpkg/methods
+cp -a scripts/dselect "${PKG_DEST}/usr/lib/dpkg/methods/apt"
diff --git a/data/apt/port.diff b/data/apt/port.diff
new file mode 100644
index 000000000..3ac2c0c6f
--- /dev/null
+++ b/data/apt/port.diff
@@ -0,0 +1,525 @@
+diff -ru apt-0.6.46.4.1/apt-inst/deb/dpkgdb.cc apt-0.6.46.4.1+iPhone/apt-inst/deb/dpkgdb.cc
+--- apt-0.6.46.4.1/apt-inst/deb/dpkgdb.cc 2006-12-04 14:37:34.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/apt-inst/deb/dpkgdb.cc 2007-12-31 01:46:53.000000000 +0000
+@@ -26,6 +26,7 @@
+
+ #include <stdio.h>
+ #include <errno.h>
++#include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
+ #include <fcntl.h>
+diff -ru apt-0.6.46.4.1/buildlib/environment.mak.in apt-0.6.46.4.1+iPhone/buildlib/environment.mak.in
+--- apt-0.6.46.4.1/buildlib/environment.mak.in 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/buildlib/environment.mak.in 2007-12-29 10:58:41.000000000 +0000
+@@ -62,11 +62,11 @@
+
+ # Shared library things
+ HOST_OS = @host_os@
+-ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
+- SONAME_MAGIC=-Wl,-soname -Wl,
++#ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
++ SONAME_MAGIC=
+ LFLAGS_SO=
+-else
++#else
+ # Do not know how to create shared libraries here.
+- ONLYSTATICLIBS = yes
+-endif
++# ONLYSTATICLIBS = yes
++#endif
+
+diff -r -u apt-0.6.46.4/apt-inst/makefile apt-0.6.46.4.1+iPhone/apt-inst/makefile
+--- apt-0.6.46.4/apt-inst/makefile 2006-12-04 14:37:34.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/apt-inst/makefile 2007-12-25 06:42:18.000000000 +0000
+@@ -11,7 +11,8 @@
+
+ # The library name
+ LIBRARY=apt-inst
+-LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
++LIBEXT=
++#$(GLIBC_VER)$(LIBSTDCPP_VER)
+ MAJOR=1.1
+ MINOR=0
+ SLIBS=$(PTHREADLIB) -lapt-pkg
+diff -r -u apt-0.6.46.4/apt-pkg/deb/dpkgpm.cc apt-0.6.46.4.1+iPhone/apt-pkg/deb/dpkgpm.cc
+--- apt-0.6.46.4/apt-pkg/deb/dpkgpm.cc 2006-12-04 16:33:53.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/apt-pkg/deb/dpkgpm.cc 2007-12-24 11:22:47.000000000 +0000
+@@ -511,6 +511,8 @@
+ clog << flush;
+ cerr << flush;
+
++ typedef void (*sighandler_t)(int);
++
+ /* Mask off sig int/quit. We do this because dpkg also does when
+ it forks scripts. What happens is that when you hit ctrl-c it sends
+ it to all processes in the group. Since dpkg ignores the signal
+diff -r -u apt-0.6.46.4/apt-pkg/init.cc apt-0.6.46.4.1+iPhone/apt-pkg/init.cc
+--- apt-0.6.46.4/apt-pkg/init.cc 2006-12-04 14:37:34.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/apt-pkg/init.cc 2007-12-25 05:36:40.000000000 +0000
+@@ -95,14 +95,6 @@
+ if (Cnf.FindB("Debug::pkgInitConfig",false) == true)
+ Cnf.Dump();
+
+-#ifdef APT_DOMAIN
+- if (Cnf.Exists("Dir::Locale"))
+- {
+- bindtextdomain(APT_DOMAIN,Cnf.FindDir("Dir::Locale").c_str());
+- bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
+- }
+-#endif
+-
+ return true;
+ }
+ /*}}}*/
+diff -r -u apt-0.6.46.4/apt-pkg/makefile apt-0.6.46.4.1+iPhone/apt-pkg/makefile
+--- apt-0.6.46.4/apt-pkg/makefile 2006-12-04 14:37:34.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/apt-pkg/makefile 2007-12-25 06:42:27.000000000 +0000
+@@ -12,7 +12,8 @@
+ # The library name, don't forget to update init.h and the copy in
+ # methods/makefile - FIXME
+ LIBRARY=apt-pkg
+-LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
++LIBEXT=
++#$(GLIBC_VER)$(LIBSTDCPP_VER)
+ MAJOR=3.11
+ MINOR=0
+ SLIBS=$(PTHREADLIB) $(INTLLIBS)
+diff -r -u apt-0.6.46.4/buildlib/library.mak apt-0.6.46.4.1+iPhone/buildlib/library.mak
+--- apt-0.6.46.4/buildlib/library.mak 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/buildlib/library.mak 2007-12-25 05:46:57.000000000 +0000
+@@ -16,11 +16,11 @@
+ # See defaults.mak for information about LOCAL
+
+ # Some local definitions
+-LOCAL := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
++LOCAL := lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR).$(MINOR)
+ $(LOCAL)-OBJS := $(addprefix $(OBJ)/,$(addsuffix .opic,$(notdir $(basename $(SOURCE)))))
+ $(LOCAL)-DEP := $(addprefix $(DEP)/,$(addsuffix .opic.d,$(notdir $(basename $(SOURCE)))))
+ $(LOCAL)-HEADERS := $(addprefix $(INCLUDE)/,$(HEADERS))
+-$(LOCAL)-SONAME := lib$(LIBRARY)$(LIBEXT).so.$(MAJOR)
++$(LOCAL)-SONAME := lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR)
+ $(LOCAL)-SLIBS := $(SLIBS)
+ $(LOCAL)-LIBRARY := $(LIBRARY)
+
+@@ -29,7 +29,7 @@
+
+ # Install the command hooks
+ headers: $($(LOCAL)-HEADERS)
+-library: $(LIB)/lib$(LIBRARY).so $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR)
++library: $(LIB)/lib$(LIBRARY).dylib $(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR)
+ clean: clean/$(LOCAL)
+ veryclean: veryclean/$(LOCAL)
+
+@@ -41,21 +41,21 @@
+ clean/$(LOCAL):
+ -rm -f $($(@F)-OBJS) $($(@F)-DEP)
+ veryclean/$(LOCAL): clean/$(LOCAL)
+- -rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY)*.so*
++ -rm -f $($(@F)-HEADERS) $(LIB)/lib$($(@F)-LIBRARY)*.dylib*
+
+ # Build rules for the two symlinks
+-.PHONY: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR) $(LIB)/lib$(LIBRARY).so
+-$(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR): $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
++.PHONY: $(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR) $(LIB)/lib$(LIBRARY).dylib
++$(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR): $(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR).$(MINOR)
+ ln -sf $(<F) $@
+-$(LIB)/lib$(LIBRARY).so: $(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR)
++$(LIB)/lib$(LIBRARY).dylib: $(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR).$(MINOR)
+ ln -sf $(<F) $@
+
+ # The binary build rule
+-$(LIB)/lib$(LIBRARY)$(LIBEXT).so.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
+- -rm -f $(LIB)/lib$($(@F)-LIBRARY)*.so* 2> /dev/null
++$(LIB)/lib$(LIBRARY)$(LIBEXT).dylib.$(MAJOR).$(MINOR): $($(LOCAL)-HEADERS) $($(LOCAL)-OBJS)
++ -rm -f $(LIB)/lib$($(@F)-LIBRARY)*.dylib* 2> /dev/null
+ echo Building shared library $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(PICFLAGS) $(LFLAGS) $(LFLAGS_SO)\
+- -o $@ $(SONAME_MAGIC)$($(@F)-SONAME) -shared \
++ -o $@ -dynamiclib \
+ $(filter %.opic,$^) \
+ $($(@F)-SLIBS)
+
+diff -r -u apt-0.6.46.4/buildlib/podomain.mak apt-0.6.46.4.1+iPhone/buildlib/podomain.mak
+--- apt-0.6.46.4/buildlib/podomain.mak 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/buildlib/podomain.mak 2007-12-25 06:41:16.000000000 +0000
+@@ -14,7 +14,8 @@
+ $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list: SRC := $(addprefix $(SUBDIR)/,$(SOURCE))
+ $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list: makefile
+ (echo $(SRC) | xargs -n1 echo) > $@
+-binary program clean: $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list
++binary program clean:
++#$(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list
+
+ veryclean: veryclean/$(LOCAL)
+ veryclean/po/$(LOCAL): LIST := $(PO_DOMAINS)/$(MY_DOMAIN)/$(LOCAL).$(TYPE)list
+diff -r -u apt-0.6.46.4/buildlib/program.mak apt-0.6.46.4.1+iPhone/buildlib/program.mak
+--- apt-0.6.46.4/buildlib/program.mak 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/buildlib/program.mak 2007-12-25 05:26:04.000000000 +0000
+@@ -44,6 +44,7 @@
+ # The binary build rule
+ $($(LOCAL)-BIN): $($(LOCAL)-OBJS) $($(LOCAL)-MKS)
+ echo Building program $@
++ echo $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(@F)-SLIBS) $(LEFLAGS)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $(filter %.o,$^) $($(@F)-SLIBS) $(LEFLAGS)
+
+ # Compilation rules
+diff -r -u apt-0.6.46.4/cmdline/apt-cache.cc apt-0.6.46.4.1+iPhone/cmdline/apt-cache.cc
+--- apt-0.6.46.4/cmdline/apt-cache.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-cache.cc 2007-12-25 03:50:15.000000000 +0000
+@@ -1704,7 +1704,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc,const char *argv[])
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -1748,7 +1752,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+diff -r -u apt-0.6.46.4/cmdline/apt-cdrom.cc apt-0.6.46.4.1+iPhone/cmdline/apt-cdrom.cc
+--- apt-0.6.46.4/cmdline/apt-cdrom.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-cdrom.cc 2007-12-25 03:50:24.000000000 +0000
+@@ -165,7 +165,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc,const char *argv[])
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -188,7 +192,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+diff -r -u apt-0.6.46.4/cmdline/apt-config.cc apt-0.6.46.4.1+iPhone/cmdline/apt-config.cc
+--- apt-0.6.46.4/cmdline/apt-config.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-config.cc 2007-12-25 03:50:35.000000000 +0000
+@@ -89,7 +89,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc,const char *argv[])
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -103,7 +107,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+diff -r -u apt-0.6.46.4/cmdline/apt-extracttemplates.cc apt-0.6.46.4.1+iPhone/cmdline/apt-extracttemplates.cc
+--- apt-0.6.46.4/cmdline/apt-extracttemplates.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-extracttemplates.cc 2007-12-25 03:50:39.000000000 +0000
+@@ -349,7 +349,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc, const char **argv)
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -361,7 +365,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+diff -r -u apt-0.6.46.4/cmdline/apt-get.cc apt-0.6.46.4.1+iPhone/cmdline/apt-get.cc
+--- apt-0.6.46.4/cmdline/apt-get.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-get.cc 2007-12-26 09:03:07.000000000 +0000
+@@ -62,12 +62,13 @@
+ #include <sys/wait.h>
+ /*}}}*/
+
++#define _trace() printf("_trace(%s:%d)\n", __FILE__, __LINE__)
++
+ using namespace std;
+
+ ostream c0out(0);
+ ostream c1out(0);
+ ostream c2out(0);
+-ofstream devnull("/dev/null");
+ unsigned int ScreenWidth = 80 - 1; /* - 1 for the cursor */
+
+ // class CacheFile - Cover class for some dependency cache functions /*{{{*/
+@@ -2501,7 +2502,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc,const char *argv[])
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -2560,7 +2565,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+@@ -2588,6 +2593,8 @@
+ if (!isatty(STDOUT_FILENO) && _config->FindI("quiet",0) < 1)
+ _config->Set("quiet","1");
+
++ ofstream devnull("/dev/null");
++
+ // Setup the output streams
+ c0out.rdbuf(cout.rdbuf());
+ c1out.rdbuf(cout.rdbuf());
+diff -r -u apt-0.6.46.4/cmdline/apt-sortpkgs.cc apt-0.6.46.4.1+iPhone/cmdline/apt-sortpkgs.cc
+--- apt-0.6.46.4/cmdline/apt-sortpkgs.cc 2006-12-04 14:37:35.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/cmdline/apt-sortpkgs.cc 2007-12-25 03:50:52.000000000 +0000
+@@ -162,7 +162,11 @@
+ }
+ /*}}}*/
+
+-int main(unsigned int argc,const char *argv[])
++int main_(int argc,const char *argv[]);
++int main(int argc,const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ CommandLine::Args Args[] = {
+ {'h',"help","help",0},
+@@ -174,7 +178,7 @@
+
+ // Set up gettext support
+ setlocale(LC_ALL,"");
+- textdomain(PACKAGE);
++ //textdomain(PACKAGE);
+
+ // Parse the command line and initialize the package library
+ CommandLine CmdL(Args,_config);
+diff -r -u apt-0.6.46.4/ftparchive/cachedb.cc apt-0.6.46.4.1+iPhone/ftparchive/cachedb.cc
+--- apt-0.6.46.4/ftparchive/cachedb.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/ftparchive/cachedb.cc 2007-12-24 11:27:03.000000000 +0000
+@@ -319,6 +319,14 @@
+ }
+ }
+
++void *memrchr(void *data, char value, int size) {
++ char *cdata = (char *) data;
++ for (int i = 0; i != size; ++i)
++ if (cdata[size - i - 1] == value)
++ return cdata + size - i - 1;
++ return NULL;
++}
++
+ // CacheDB::GetMD5 - Get the MD5 hash /*{{{*/
+ // ---------------------------------------------------------------------
+ /* */
+diff -r -u apt-0.6.46.4/ftparchive/contents.cc apt-0.6.46.4.1+iPhone/ftparchive/contents.cc
+--- apt-0.6.46.4/ftparchive/contents.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/ftparchive/contents.cc 2007-12-24 11:27:23.000000000 +0000
+@@ -41,7 +41,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <memory.h>
+ /*}}}*/
+
+ // GenContents::~GenContents - Free allocated memory /*{{{*/
+diff -r -u apt-0.6.46.4/Makefile apt-0.6.46.4.1+iPhone/Makefile
+--- apt-0.6.46.4/Makefile 2006-12-04 14:37:34.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/Makefile 2007-12-25 05:49:13.000000000 +0000
+@@ -18,7 +18,6 @@
+ $(MAKE) -C ftparchive $@
+ $(MAKE) -C dselect $@
+ $(MAKE) -C doc $@
+- $(MAKE) -C po $@
+
+ # Some very common aliases
+ .PHONY: maintainer-clean dist-clean distclean pristine sanity
+diff -r -u apt-0.6.46.4/methods/cdrom.cc apt-0.6.46.4.1+iPhone/methods/cdrom.cc
+--- apt-0.6.46.4/methods/cdrom.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/cdrom.cc 2007-12-25 03:53:13.000000000 +0000
+@@ -191,7 +191,11 @@
+ }
+ /*}}}*/
+
+-int main()
++int main_();
++int main() {
++ _exit(main_());
++}
++int main_()
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/copy.cc apt-0.6.46.4.1+iPhone/methods/copy.cc
+--- apt-0.6.46.4/methods/copy.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/copy.cc 2007-12-25 03:53:07.000000000 +0000
+@@ -84,7 +84,11 @@
+ }
+ /*}}}*/
+
+-int main()
++int main_();
++int main() {
++ _exit(main_());
++}
++int main_()
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/file.cc apt-0.6.46.4.1+iPhone/methods/file.cc
+--- apt-0.6.46.4/methods/file.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/file.cc 2007-12-25 03:53:02.000000000 +0000
+@@ -87,7 +87,11 @@
+ }
+ /*}}}*/
+
+-int main()
++int main_();
++int main() {
++_exit(main_());
++}
++int main_()
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/ftp.cc apt-0.6.46.4.1+iPhone/methods/ftp.cc
+--- apt-0.6.46.4/methods/ftp.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/ftp.cc 2007-12-25 03:53:38.000000000 +0000
+@@ -1084,7 +1084,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc,const char *argv[])
++int main_(int argc, const char *argv[]);
++int main(int argc, const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc, const char *argv[])
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/gpgv.cc apt-0.6.46.4.1+iPhone/methods/gpgv.cc
+--- apt-0.6.46.4/methods/gpgv.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/gpgv.cc 2007-12-25 03:53:27.000000000 +0000
+@@ -300,7 +300,11 @@
+ }
+
+
+-int main()
++int main_();
++int main() {
++_exit(main_());
++}
++int main_()
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/gzip.cc apt-0.6.46.4.1+iPhone/methods/gzip.cc
+--- apt-0.6.46.4/methods/gzip.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/gzip.cc 2007-12-25 03:53:44.000000000 +0000
+@@ -160,7 +160,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc, char *argv[])
++int main_(int argc, const char *argv[]);
++int main(int argc, const char *argv[]) {
++ _exit(main_(argc, argv));
++}
++int main_(int argc, const char *argv[])
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/http.cc apt-0.6.46.4.1+iPhone/methods/http.cc
+--- apt-0.6.46.4/methods/http.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/http.cc 2007-12-25 03:53:57.000000000 +0000
+@@ -1222,7 +1222,11 @@
+ }
+ /*}}}*/
+
+-int main()
++int main_();
++int main() {
++_exit(main_());
++}
++int main_()
+ {
+ setlocale(LC_ALL, "");
+
+diff -r -u apt-0.6.46.4/methods/rred.cc apt-0.6.46.4.1+iPhone/methods/rred.cc
+--- apt-0.6.46.4/methods/rred.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/rred.cc 2007-12-25 03:54:23.000000000 +0000
+@@ -251,7 +251,11 @@
+ return true;
+ }
+
+-int main(int argc, char *argv[])
++int main_(int argc, const char *argv[]);
++int main(int argc, const char *argv[]) {
++_exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ RredMethod Mth;
+
+diff -r -u apt-0.6.46.4/methods/rsh.cc apt-0.6.46.4.1+iPhone/methods/rsh.cc
+--- apt-0.6.46.4/methods/rsh.cc 2006-12-04 14:37:36.000000000 +0000
++++ apt-0.6.46.4.1+iPhone/methods/rsh.cc 2007-12-25 03:54:38.000000000 +0000
+@@ -509,7 +509,11 @@
+ }
+ /*}}}*/
+
+-int main(int argc, const char *argv[])
++int main_(int argc, const char *argv[]);
++int main(int argc, const char *argv[]) {
++_exit(main_(argc, argv));
++}
++int main_(int argc,const char *argv[])
+ {
+ setlocale(LC_ALL, "");
+
diff --git a/data/base/_metadata/description b/data/base/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/base/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/base/_metadata/license b/data/base/_metadata/license
new file mode 120000
index 000000000..8a4bc1936
--- /dev/null
+++ b/data/base/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/modified-bsd \ No newline at end of file
diff --git a/data/base/_metadata/maintainer b/data/base/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/base/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/base/_metadata/priority b/data/base/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/base/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/base/_metadata/section b/data/base/_metadata/section
new file mode 100644
index 000000000..df967b96a
--- /dev/null
+++ b/data/base/_metadata/section
@@ -0,0 +1 @@
+base
diff --git a/data/base/_metadata/version b/data/base/_metadata/version
new file mode 100644
index 000000000..d00491fd7
--- /dev/null
+++ b/data/base/_metadata/version
@@ -0,0 +1 @@
+1
diff --git a/data/base/base-1.tgz b/data/base/base-1.tgz
new file mode 100644
index 000000000..3594c315e
--- /dev/null
+++ b/data/base/base-1.tgz
Binary files differ
diff --git a/data/base/make.sh b/data/base/make.sh
new file mode 100644
index 000000000..72290cbb2
--- /dev/null
+++ b/data/base/make.sh
@@ -0,0 +1 @@
+tar -zxvf "${PKG_DATA}/base-1.tgz" -C "${PKG_DEST}"
diff --git a/data/bash/_metadata/description b/data/bash/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/bash/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/bash/_metadata/license b/data/bash/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/bash/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/bash/_metadata/maintainer b/data/bash/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/bash/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/bash/_metadata/priority b/data/bash/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/bash/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/bash/_metadata/section b/data/bash/_metadata/section
new file mode 100644
index 000000000..1b96f7b4f
--- /dev/null
+++ b/data/bash/_metadata/section
@@ -0,0 +1 @@
+shell
diff --git a/data/bash/_metadata/version b/data/bash/_metadata/version
new file mode 100644
index 000000000..a3ec5a4bd
--- /dev/null
+++ b/data/bash/_metadata/version
@@ -0,0 +1 @@
+3.2
diff --git a/data/bash/bash-3.2.tar.gz b/data/bash/bash-3.2.tar.gz
new file mode 100644
index 000000000..59f992a1d
--- /dev/null
+++ b/data/bash/bash-3.2.tar.gz
Binary files differ
diff --git a/data/bash/make.sh b/data/bash/make.sh
new file mode 100644
index 000000000..2ac5e0236
--- /dev/null
+++ b/data/bash/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/bash-3.2.tar.gz"
+cd bash-3.2
+pkg:configure
+make
+pkg:install
+pkg:bin bash
+ln -s bash "${PKG_DEST}/bin/sh"
diff --git a/data/basic-cmds/_metadata/description b/data/basic-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/basic-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/basic-cmds/_metadata/license b/data/basic-cmds/_metadata/license
new file mode 100644
index 000000000..d92742b42
--- /dev/null
+++ b/data/basic-cmds/_metadata/license
@@ -0,0 +1,143 @@
+mesg.c:
+/*
+ * Copyright (c) 1987, 1993
+ * The Regents of the University of California. All rights reserved.
+ * (c) UNIX System Laboratories, Inc.
+ * All or some portions of this file are derived from material licensed
+ * to the University of California by American Telephone and Telegraph
+ * Co. or Unix System Laboratories, Inc. and are reproduced herein with
+ * the permission of UNIX System Laboratories, Inc.
+ *
+ * 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+ */
+
+uudecode.c:
+/*-
+ * Copyright (c) 1983, 1993
+ * The Regents of the University of California. 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+ */
+
+uuencode.c:
+/*-
+ * Copyright (c) 1983, 1993
+ * The Regents of the University of California. 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+ */
+
+write.c:
+/*
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Jef Poskanzer and Craig Leres of the Lawrence Berkeley Laboratory.
+ *
+ * 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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/basic-cmds/_metadata/maintainer b/data/basic-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/basic-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/basic-cmds/_metadata/priority b/data/basic-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/basic-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/basic-cmds/_metadata/section b/data/basic-cmds/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/basic-cmds/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/basic-cmds/_metadata/version b/data/basic-cmds/_metadata/version
new file mode 100644
index 000000000..21e72e8ac
--- /dev/null
+++ b/data/basic-cmds/_metadata/version
@@ -0,0 +1 @@
+48
diff --git a/data/basic-cmds/basic_cmds-48.tar.gz b/data/basic-cmds/basic_cmds-48.tar.gz
new file mode 100644
index 000000000..8913a0934
--- /dev/null
+++ b/data/basic-cmds/basic_cmds-48.tar.gz
Binary files differ
diff --git a/data/basic-cmds/make.sh b/data/basic-cmds/make.sh
new file mode 100644
index 000000000..5c580e3f2
--- /dev/null
+++ b/data/basic-cmds/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/basic_cmds-48.tar.gz"
+cd basic_cmds-48
+for bin in mesg write uudecode uuencode; do
+ arm-apple-darwin-gcc -o "${bin}/${bin}" "${bin}"/*.c
+ pkg:usrbin "${bin}/${bin}"
+done
diff --git a/data/berkeleydb/_metadata/description b/data/berkeleydb/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/berkeleydb/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/berkeleydb/_metadata/license b/data/berkeleydb/_metadata/license
new file mode 100644
index 000000000..8bdd5c9d1
--- /dev/null
+++ b/data/berkeleydb/_metadata/license
@@ -0,0 +1,100 @@
+/*-
+ * $Id: LICENSE,v 12.7 2007/05/17 15:14:46 bostic Exp $
+ */
+
+The following is the license that applies to this copy of the Berkeley DB
+software. For a license to use the Berkeley DB software under conditions
+other than those described here, or to purchase support for this software,
+please contact Oracle at berkeleydb-info_us@oracle.com.
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+/*
+ * Copyright (c) 1990,2007 Oracle. 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. Redistributions in any form must be accompanied by information on
+ * how to obtain complete source code for the DB software and any
+ * accompanying software that uses the DB software. The source code
+ * must either be included in the distribution or be available for no
+ * more than the cost of distribution plus a nominal fee, and must be
+ * freely redistributable under reasonable conditions. For an
+ * executable file, complete source code means the source code for all
+ * modules it contains. It does not include source code for modules or
+ * files that typically accompany the major components of the operating
+ * system on which the executable file runs.
+ *
+ * THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
+ * NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE 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.
+ */
+/*
+ * Copyright (c) 1990, 1993, 1994, 1995
+ * The Regents of the University of California. 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 the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
+ */
+/*
+ * Copyright (c) 1995, 1996
+ * The President and Fellows of Harvard University. 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 the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS 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 HARVARD OR ITS 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/berkeleydb/_metadata/maintainer b/data/berkeleydb/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/berkeleydb/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/berkeleydb/_metadata/priority b/data/berkeleydb/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/berkeleydb/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/berkeleydb/_metadata/section b/data/berkeleydb/_metadata/section
new file mode 100644
index 000000000..aa0d57e89
--- /dev/null
+++ b/data/berkeleydb/_metadata/section
@@ -0,0 +1 @@
+database
diff --git a/data/berkeleydb/_metadata/version b/data/berkeleydb/_metadata/version
new file mode 100644
index 000000000..1529b5150
--- /dev/null
+++ b/data/berkeleydb/_metadata/version
@@ -0,0 +1 @@
+4.6.21
diff --git a/data/berkeleydb/db-4.6.21.tar.gz b/data/berkeleydb/db-4.6.21.tar.gz
new file mode 100644
index 000000000..47287abca
--- /dev/null
+++ b/data/berkeleydb/db-4.6.21.tar.gz
Binary files differ
diff --git a/data/berkeleydb/make.sh b/data/berkeleydb/make.sh
new file mode 100644
index 000000000..b3a332fa9
--- /dev/null
+++ b/data/berkeleydb/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/db-4.6.21.tar.gz"
+cd db-4.6.21/build_unix
+PKG_CONF=../dist/configure pkg:configure --enable-static=no
+make
+pkg:install
diff --git a/data/bind/_metadata/description b/data/bind/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/bind/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/bind/_metadata/license b/data/bind/_metadata/license
new file mode 100644
index 000000000..48141e718
--- /dev/null
+++ b/data/bind/_metadata/license
@@ -0,0 +1,30 @@
+Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
+Copyright (C) 1996-2003 Internet Software Consortium.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
+$Id: COPYRIGHT,v 1.9.18.4 2007/08/28 07:19:54 tbox Exp $
+
+Portions Copyright (C) 1996-2001 Nominum, Inc.
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/data/bind/_metadata/maintainer b/data/bind/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/bind/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/bind/_metadata/priority b/data/bind/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/bind/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/bind/_metadata/section b/data/bind/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/bind/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/bind/_metadata/version b/data/bind/_metadata/version
new file mode 100644
index 000000000..3c40359d3
--- /dev/null
+++ b/data/bind/_metadata/version
@@ -0,0 +1 @@
+9.4.2
diff --git a/data/bind/bind-9.4.2.tar.gz b/data/bind/bind-9.4.2.tar.gz
new file mode 100644
index 000000000..b625049f8
--- /dev/null
+++ b/data/bind/bind-9.4.2.tar.gz
Binary files differ
diff --git a/data/bind/gen.diff b/data/bind/gen.diff
new file mode 100644
index 000000000..9816fafba
--- /dev/null
+++ b/data/bind/gen.diff
@@ -0,0 +1,12 @@
+diff -r -u bind-9.3.2-P2/lib/dns/Makefile.in bind-9.3.2-P2+iPhone/lib/dns/Makefile.in
+--- bind-9.3.2-P2/lib/dns/Makefile.in 2004-12-09 04:07:15.000000000 +0000
++++ bind-9.3.2-P2+iPhone/lib/dns/Makefile.in 2007-12-28 05:22:22.000000000 +0000
+@@ -156,7 +156,7 @@
+ ./gen -s ${srcdir} > code.h
+
+ gen: gen.c
+- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ gcc ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
+
+ rbtdb64.@O@: rbtdb.c
+
diff --git a/data/bind/make.sh b/data/bind/make.sh
new file mode 100644
index 000000000..b8a32fc36
--- /dev/null
+++ b/data/bind/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/bind-9.4.2.tar.gz"
+cd bind-9.4.2
+pkg:configure --enable-shared=yes --enable-static=no --with-randomdev=/dev/random BUILD_CC=gcc
+make
+pkg:install
diff --git a/data/boost/_metadata/description b/data/boost/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/boost/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/boost/_metadata/license b/data/boost/_metadata/license
new file mode 100644
index 000000000..36b7cd93c
--- /dev/null
+++ b/data/boost/_metadata/license
@@ -0,0 +1,23 @@
+Boost Software License - Version 1.0 - August 17th, 2003
+
+Permission is hereby granted, free of charge, to any person or organization
+obtaining a copy of the software and accompanying documentation covered by
+this license (the "Software") to use, reproduce, display, distribute,
+execute, and transmit the Software, and to prepare derivative works of the
+Software, and to permit third-parties to whom the Software is furnished to
+do so, all subject to the following:
+
+The copyright notices in the Software and this entire statement, including
+the above license grant, this restriction and the following disclaimer,
+must be included in all copies of the Software, in whole or in part, and
+all derivative works of the Software, unless such copies or derivative
+works are solely in the form of machine-executable object code generated by
+a source language processor.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/data/boost/_metadata/maintainer b/data/boost/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/boost/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/boost/_metadata/priority b/data/boost/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/boost/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/boost/_metadata/section b/data/boost/_metadata/section
new file mode 100644
index 000000000..f99e8394e
--- /dev/null
+++ b/data/boost/_metadata/section
@@ -0,0 +1 @@
+platform
diff --git a/data/boost/_metadata/version b/data/boost/_metadata/version
new file mode 100644
index 000000000..a95a46d9f
--- /dev/null
+++ b/data/boost/_metadata/version
@@ -0,0 +1 @@
+1.34.1
diff --git a/data/boost/boost_1_34_1.tar.gz b/data/boost/boost_1_34_1.tar.gz
new file mode 100644
index 000000000..da01fdb6b
--- /dev/null
+++ b/data/boost/boost_1_34_1.tar.gz
Binary files differ
diff --git a/data/boost/make.sh b/data/boost/make.sh
new file mode 100644
index 000000000..75f76d8a4
--- /dev/null
+++ b/data/boost/make.sh
@@ -0,0 +1,14 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/boost_1_34_1.tar.gz"
+cd boost_1_34_1
+pkg:patch
+./configure --prefix=/usr --without-icu --without-libraries=python
+echo 'using darwin ;' >user-config.jam
+make
+make install PREFIX="${PKG_DEST}/usr"
+rm -f "${PKG_DEST}"/usr/lib/*-d?(-+([0-9_])).@(a|dylib)
+for na in "${PKG_DEST}"/usr/lib/*-+([0-9_]).a; do
+ a=${na/-+([0-9_]).a/.a}
+ rm -f "$a"
+ ln -s "$(basename "$na")" "$a"
+done
diff --git a/data/boost/port.diff b/data/boost/port.diff
new file mode 100644
index 000000000..c1747eeb4
--- /dev/null
+++ b/data/boost/port.diff
@@ -0,0 +1,162 @@
+diff -ru boost_1_34_1/boost/test/impl/execution_monitor.ipp boost_1_34_1+iPhone/boost/test/impl/execution_monitor.ipp
+--- boost_1_34_1/boost/test/impl/execution_monitor.ipp 2006-02-22 16:14:45.000000000 +0000
++++ boost_1_34_1+iPhone/boost/test/impl/execution_monitor.ipp 2007-12-29 13:59:38.000000000 +0000
+@@ -85,7 +85,9 @@
+
+ # include <unistd.h>
+ # include <signal.h>
++extern "C" {
+ # include <setjmp.h>
++}
+
+ #else
+
+diff -ru boost_1_34_1/configure boost_1_34_1+iPhone/configure
+--- boost_1_34_1/configure 2007-05-09 22:09:39.000000000 +0000
++++ boost_1_34_1+iPhone/configure 2007-12-29 14:31:08.000000000 +0000
+@@ -339,8 +339,8 @@
+ @cd status && ../\$(BJAM) \$(BJAM_CONFIG) --user-config=../user-config.jam || echo "Some Boost regression tests failed. This is normal for many compilers."
+
+ install: .dummy
+- @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) --exec-prefix=\$(EPREFIX) --libdir=\$(LIBDIR) --includedir=\$(INCLUDEDIR) \$(LIBS) install"
+- @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) --exec-prefix=\$(EPREFIX) --libdir=\$(LIBDIR) --includedir=\$(INCLUDEDIR) \$(LIBS) install || echo "Not all Boost libraries built properly."
++ @echo "\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) \$(LIBS) install"
++ @\$(BJAM) \$(BJAM_CONFIG) --user-config=user-config.jam --prefix=\$(PREFIX) \$(LIBS) install || echo "Not all Boost libraries built properly."
+
+ .dummy:
+
+diff -ru boost_1_34_1/libs/serialization/build/Jamfile.v2 boost_1_34_1+iPhone/libs/serialization/build/Jamfile.v2
+--- boost_1_34_1/libs/serialization/build/Jamfile.v2 2006-03-06 08:20:39.000000000 +0000
++++ boost_1_34_1+iPhone/libs/serialization/build/Jamfile.v2 2007-12-29 13:50:00.000000000 +0000
+@@ -60,11 +60,3 @@
+ :
+ : <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
+ ;
+-
+-lib boost_wserialization
+- : $(WSOURCES).cpp boost_serialization
+- : <toolset>msvc:<cxxflags>/Gy
+- <link>shared:<define>BOOST_WSERIALIZATION_DYN_LINK=1
+- :
+- : <link>shared:<define>BOOST_SERIALIZATION_DYN_LINK=1
+- ;
+diff -ru boost_1_34_1/tools/build/v2/test/BoostBuild.py boost_1_34_1+iPhone/tools/build/v2/test/BoostBuild.py
+--- boost_1_34_1/tools/build/v2/test/BoostBuild.py 2006-11-10 07:41:29.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/test/BoostBuild.py 2007-12-29 09:35:11.000000000 +0000
+@@ -43,8 +43,7 @@
+ if toolset in ["gcc"]:
+ suffixes['.lib'] = '.a' # static libs have '.a' suffix with mingw...
+ suffixes['.obj'] = '.o'
+- if os.__dict__.has_key('uname') and os.uname()[0] == 'Darwin':
+- suffixes['.dll'] = '.dylib'
++ suffixes['.dll'] = '.dylib'
+
+ def re_remove(sequence,regex):
+ me = re.compile(regex)
+diff -ru boost_1_34_1/tools/build/v2/tools/darwin.jam boost_1_34_1+iPhone/tools/build/v2/tools/darwin.jam
+--- boost_1_34_1/tools/build/v2/tools/darwin.jam 2007-03-15 04:02:23.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/tools/darwin.jam 2007-12-29 13:45:29.000000000 +0000
+@@ -31,7 +31,7 @@
+ rule init ( version ? : command * : options * )
+ {
+ local condition = [ common.check-init-parameters darwin : version $(version) ] ;
+- local command = [ common.get-invocation-command darwin : g++ : $(command) ] ;
++ local command = [ common.get-invocation-command darwin : arm-apple-darwin-g++ : $(command) ] ;
+
+ common.handle-options darwin : $(condition) : $(command) : $(options) ;
+
+@@ -42,6 +42,7 @@
+ flags darwin.compile.c++ OPTIONS : -fcoalesce-templates ;
+ }
+
++ #flags darwin.compile.c++ OPTIONS : -v ;
+ gcc.init-link-flags darwin darwin $(condition) ;
+
+ flags darwin.link NEED_STRIP $(condition)/<debug-symbols>off : "" ;
+@@ -86,7 +87,7 @@
+
+ actions link.dll bind LIBRARIES
+ {
+- $(CONFIG_COMMAND) -dynamiclib -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
++ $(CONFIG_COMMAND) -dynamiclib -single_module -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
+ }
+
+ actions piecemeal archive
+diff -ru boost_1_34_1/tools/build/v2/tools/gcc.jam boost_1_34_1+iPhone/tools/build/v2/tools/gcc.jam
+--- boost_1_34_1/tools/build/v2/tools/gcc.jam 2007-06-12 04:47:49.000000000 +0000
++++ boost_1_34_1+iPhone/tools/build/v2/tools/gcc.jam 2007-12-29 09:30:15.000000000 +0000
+@@ -62,7 +62,7 @@
+ {
+ # Information about the gcc command...
+ # The command.
+- local command = [ common.get-invocation-command gcc : g++ : $(command) ] ;
++ local command = [ common.get-invocation-command gcc : arm-apple-darwin-g++ : $(command) ] ;
+ # The root directory of the tool install.
+ local root = [ feature.get-values <root> : $(options) ] ;
+ # The bin directory where to find the command to execute.
+@@ -109,17 +109,7 @@
+ common.handle-options gcc : $(condition) : $(command) : $(options) ;
+
+ local linker = [ feature.get-values <linker-type> : $(options) ] ;
+- if ! $(linker) {
+-
+- if [ os.name ] = OSF
+- {
+- linker = osf ;
+- }
+- else
+- {
+- linker = gnu ;
+- }
+- }
++ linker = darwin ;
+ init-link-flags gcc $(linker) $(condition) ;
+
+
+@@ -310,14 +300,6 @@
+ # to implement and will increase target path length even more.
+ flags gcc.compile OPTIONS <link>shared : -fPIC ;
+ }
+-if [ os.name ] != NT && [ os.name ] != OSF
+-{
+- # OSF does have an option called -soname but it doesn't seem to work as
+- # expected, therefore it has been disabled.
+-
+- HAVE_SONAME = "" ;
+- SONAME_OPTION = -h ;
+-}
+
+
+
+@@ -629,7 +611,7 @@
+ # Differ from 'link' above only by -shared.
+ actions link.dll bind LIBRARIES
+ {
+- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
++ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -dynamiclib $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
+ }
+
+ # Set up threading support. It's somewhat contrived, so perform it at the end,
+diff -ru boost_1_34_1/tools/jam/src/jam.c boost_1_34_1+iPhone/tools/jam/src/jam.c
+--- boost_1_34_1/tools/jam/src/jam.c 2005-11-15 05:44:03.000000000 +0000
++++ boost_1_34_1+iPhone/tools/jam/src/jam.c 2007-12-29 09:28:28.000000000 +0000
+@@ -375,7 +375,7 @@
+ list_new(
+ list_new(
+ list_new( L0,
+- newstr( u.sysname ) ),
++ newstr( "Darwin" ) ),
+ newstr( u.nodename ) ),
+ newstr( u.release ) ),
+ newstr( u.version ) ),
+diff -ru boost_1_34_1/tools/jam/src/jam.h boost_1_34_1+iPhone/tools/jam/src/jam.h
+--- boost_1_34_1/tools/jam/src/jam.h 2005-10-16 15:34:27.000000000 +0000
++++ boost_1_34_1+iPhone/tools/jam/src/jam.h 2007-12-29 09:42:21.000000000 +0000
+@@ -556,4 +556,7 @@
+ # define DEBUG_GRAPH ( globs.debug[ 12 ] ) /* debug dependencies */
+ # define DEBUG_FATE ( globs.debug[ 13 ] ) /* show changes to fate in make0() */
+
++# undef OSMINOR
++# define OSMINOR "OS=MACOSX"
++
+ #endif
diff --git a/data/bootstrap-cmds/_metadata/description b/data/bootstrap-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/bootstrap-cmds/_metadata/license b/data/bootstrap-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/bootstrap-cmds/_metadata/maintainer b/data/bootstrap-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/bootstrap-cmds/_metadata/priority b/data/bootstrap-cmds/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/bootstrap-cmds/_metadata/section b/data/bootstrap-cmds/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/bootstrap-cmds/_metadata/version b/data/bootstrap-cmds/_metadata/version
new file mode 100644
index 000000000..abdfb053e
--- /dev/null
+++ b/data/bootstrap-cmds/_metadata/version
@@ -0,0 +1 @@
+60
diff --git a/data/bootstrap-cmds/arm.diff b/data/bootstrap-cmds/arm.diff
new file mode 100644
index 000000000..365f105f1
--- /dev/null
+++ b/data/bootstrap-cmds/arm.diff
@@ -0,0 +1,12 @@
+diff -ru bootstrap_cmds-60/migcom.tproj/mig_machine.h bootstrap_cmds-60+iPhone/migcom.tproj/mig_machine.h
+--- bootstrap_cmds-60/migcom.tproj/mig_machine.h 2000-01-11 00:36:17.000000000 +0000
++++ bootstrap_cmds-60+iPhone/migcom.tproj/mig_machine.h 2007-12-30 06:00:47.000000000 +0000
+@@ -4,6 +4,8 @@
+ #include "i386/mig_machine.h"
+ #elif defined(__ppc__)
+ #include "ppc/mig_machine.h"
++#elif defined(__arm__)
++#include "arm/mig_machine.h"
+ #else
+ #error Architecture not supported
+ #endif
diff --git a/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz b/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz
new file mode 100644
index 000000000..1061685da
--- /dev/null
+++ b/data/bootstrap-cmds/bootstrap_cmds-60.tar.gz
Binary files differ
diff --git a/data/bootstrap-cmds/make.sh b/data/bootstrap-cmds/make.sh
new file mode 100644
index 000000000..bc6273cd3
--- /dev/null
+++ b/data/bootstrap-cmds/make.sh
@@ -0,0 +1,15 @@
+tar -zxvf "${PKG_DATA}/bootstrap_cmds-60.tar.gz"
+cd bootstrap_cmds-60
+pkg:patch
+cd migcom.tproj
+cat >ident.c <<EOF
+char *MigGenerationDate = "`date`";
+char *MigMoreData = "`whoami`@`hostname`";
+EOF
+cp -a i386 arm
+yacc -d parser.y -o parser.c
+lex lexxer.l
+arm-apple-darwin-gcc -o migcom *.c
+pkg: mkdir -p /usr/bin /usr/libexec
+pkg: cp -a migcom /usr/libexec
+pkg: cp -a mig.sh /usr/bin/mig
diff --git a/data/bzip2/_metadata/description b/data/bzip2/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/bzip2/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/bzip2/_metadata/license b/data/bzip2/_metadata/license
new file mode 100644
index 000000000..4458e35bb
--- /dev/null
+++ b/data/bzip2/_metadata/license
@@ -0,0 +1,43 @@
+
+--------------------------------------------------------------------------
+
+This program, "bzip2", the associated library "libbzip2", and all
+documentation, are copyright (C) 1996-2006 Julian R Seward. 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. The origin of this software must not be misrepresented; you must
+ not claim that you wrote the original software. If you use this
+ software in a product, an acknowledgment in the product
+ documentation would be appreciated but is not required.
+
+3. Altered source versions must be plainly marked as such, and must
+ not be misrepresented as being the original software.
+
+4. The name of the author may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+Julian Seward, Cambridge, UK.
+jseward@bzip.org
+bzip2/libbzip2 version 1.0.4 of 20 December 2006
+
+--------------------------------------------------------------------------
diff --git a/data/bzip2/_metadata/maintainer b/data/bzip2/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/bzip2/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/bzip2/_metadata/priority b/data/bzip2/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/bzip2/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/bzip2/_metadata/section b/data/bzip2/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/bzip2/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/bzip2/_metadata/version b/data/bzip2/_metadata/version
new file mode 100644
index 000000000..ee90284c2
--- /dev/null
+++ b/data/bzip2/_metadata/version
@@ -0,0 +1 @@
+1.0.4
diff --git a/data/bzip2/bzip2-1.0.4.tar.gz b/data/bzip2/bzip2-1.0.4.tar.gz
new file mode 100644
index 000000000..8c1f3b66a
--- /dev/null
+++ b/data/bzip2/bzip2-1.0.4.tar.gz
Binary files differ
diff --git a/data/bzip2/make.sh b/data/bzip2/make.sh
new file mode 100644
index 000000000..3a1bb44fd
--- /dev/null
+++ b/data/bzip2/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/bzip2-1.0.4.tar.gz"
+cd bzip2-1.0.4
+make bzip2 bzip2recover CC=arm-apple-darwin-gcc
+pkg: mkdir -p /bin
+pkg: cp -a bzip2 bzip2recover /bin
diff --git a/data/classpath/_metadata/description b/data/classpath/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/classpath/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/classpath/_metadata/license b/data/classpath/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/classpath/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/classpath/_metadata/maintainer b/data/classpath/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/classpath/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/classpath/_metadata/priority b/data/classpath/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/classpath/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/classpath/_metadata/section b/data/classpath/_metadata/section
new file mode 100644
index 000000000..f3d360b1c
--- /dev/null
+++ b/data/classpath/_metadata/section
@@ -0,0 +1 @@
+java
diff --git a/data/classpath/_metadata/version b/data/classpath/_metadata/version
new file mode 100644
index 000000000..483b77194
--- /dev/null
+++ b/data/classpath/_metadata/version
@@ -0,0 +1 @@
+0.96.1
diff --git a/data/classpath/classpath-0.96.1.tar.gz b/data/classpath/classpath-0.96.1.tar.gz
new file mode 100644
index 000000000..12b0e368d
--- /dev/null
+++ b/data/classpath/classpath-0.96.1.tar.gz
Binary files differ
diff --git a/data/classpath/make.sh b/data/classpath/make.sh
new file mode 100644
index 000000000..cdc300e7f
--- /dev/null
+++ b/data/classpath/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/classpath-0.96.1.tar.gz"
+cd classpath-0.96.1
+pkg:configure --disable-examples --disable-gconf-peer --disable-gtk-peer --disable-plugin
+make
+pkg:install
diff --git a/data/coreutils/_metadata/description b/data/coreutils/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/coreutils/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/coreutils/_metadata/license b/data/coreutils/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/coreutils/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/coreutils/_metadata/maintainer b/data/coreutils/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/coreutils/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/coreutils/_metadata/priority b/data/coreutils/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/coreutils/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/coreutils/_metadata/section b/data/coreutils/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/coreutils/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/coreutils/_metadata/version b/data/coreutils/_metadata/version
new file mode 100644
index 000000000..12e414129
--- /dev/null
+++ b/data/coreutils/_metadata/version
@@ -0,0 +1 @@
+6.9
diff --git a/data/coreutils/coreutils-6.9.tar.gz b/data/coreutils/coreutils-6.9.tar.gz
new file mode 100644
index 000000000..5cc79b61d
--- /dev/null
+++ b/data/coreutils/coreutils-6.9.tar.gz
Binary files differ
diff --git a/data/coreutils/make.sh b/data/coreutils/make.sh
new file mode 100644
index 000000000..d2caf157b
--- /dev/null
+++ b/data/coreutils/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/coreutils-6.9.tar.gz"
+cd coreutils-6.9
+./configure --prefix=/usr --host=arm-apple-darwin
+make
+pkg:install
+pkg:bin cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir mknod mv pwd readlink rm rmdir vdir sleep stty sync touch true uname
diff --git a/data/curl/_metadata/description b/data/curl/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/curl/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/curl/_metadata/license b/data/curl/_metadata/license
new file mode 100644
index 000000000..12a41cee6
--- /dev/null
+++ b/data/curl/_metadata/license
@@ -0,0 +1,21 @@
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright (c) 1996 - 2007, Daniel Stenberg, <daniel@haxx.se>.
+
+All rights reserved.
+
+Permission to use, copy, modify, and distribute this software for any purpose
+with or without fee is hereby granted, provided that the above copyright
+notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
+NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
+OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder shall not
+be used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization of the copyright holder.
diff --git a/data/curl/_metadata/maintainer b/data/curl/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/curl/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/curl/_metadata/openssl.dep b/data/curl/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/curl/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/curl/_metadata/priority b/data/curl/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/curl/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/curl/_metadata/section b/data/curl/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/curl/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/curl/_metadata/version b/data/curl/_metadata/version
new file mode 100644
index 000000000..1f4c47dc0
--- /dev/null
+++ b/data/curl/_metadata/version
@@ -0,0 +1 @@
+7.17.1
diff --git a/data/curl/curl-7.17.1.tar.gz b/data/curl/curl-7.17.1.tar.gz
new file mode 100644
index 000000000..a40636577
--- /dev/null
+++ b/data/curl/curl-7.17.1.tar.gz
Binary files differ
diff --git a/data/curl/make.sh b/data/curl/make.sh
new file mode 100644
index 000000000..c2ab49598
--- /dev/null
+++ b/data/curl/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/curl-7.17.1.tar.gz"
+cd curl-7.17.1
+pkg:patch
+autoconf
+pkg:configure --enable-static=no ac_cv_file___dev_urandom_=yes
+make
+pkg:install
diff --git a/data/curl/strerror.diff b/data/curl/strerror.diff
new file mode 100644
index 000000000..961a32d9e
--- /dev/null
+++ b/data/curl/strerror.diff
@@ -0,0 +1,45 @@
+diff -r -u curl-7.17.1/acinclude.m4 curl-7.17.1+iPhone/acinclude.m4
+--- curl-7.17.1/acinclude.m4 2007-10-24 20:08:45.000000000 +0000
++++ curl-7.17.1+iPhone/acinclude.m4 2007-12-28 11:24:03.000000000 +0000
+@@ -1944,41 +1944,8 @@
+ ) dnl with _THREAD_SAFE
+ ]) dnl plain cpp for it
+
+- dnl determine if this strerror_r() is glibc or POSIX
+- AC_MSG_CHECKING([for a glibc strerror_r API])
+- AC_TRY_RUN([
+-#include <string.h>
+-#include <errno.h>
+-int
+-main () {
+- char buffer[1024]; /* big enough to play with */
+- char *string =
+- strerror_r(EACCES, buffer, sizeof(buffer));
+- /* this should've returned a string */
+- if(!string || !string[0])
+- return 99;
+- return 0;
+-}
+-],
+ GLIBC_STRERROR_R="1"
+ AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_RESULT([no]),
+-
+- dnl Use an inferior method of strerror_r detection while cross-compiling
+- AC_EGREP_CPP(yes, [
+-#include <features.h>
+-#ifdef __GLIBC__
+-yes
+-#endif
+-],
+- dnl looks like glibc, so assume a glibc-style strerror_r()
+- GLIBC_STRERROR_R="1"
+- AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_NOTICE([cannot determine strerror_r() style: edit lib/config.h manually!])
+- ) dnl while cross-compiling
+- )
+
+ if test -z "$GLIBC_STRERROR_R"; then
+
diff --git a/data/diskdev-cmds/_metadata/description b/data/diskdev-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/diskdev-cmds/_metadata/libutil.dep b/data/diskdev-cmds/_metadata/libutil.dep
new file mode 120000
index 000000000..828c65dfc
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/libutil.dep
@@ -0,0 +1 @@
+../../libutil \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/license b/data/diskdev-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/maintainer b/data/diskdev-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/diskdev-cmds/_metadata/priority b/data/diskdev-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/diskdev-cmds/_metadata/section b/data/diskdev-cmds/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/diskdev-cmds/_metadata/version b/data/diskdev-cmds/_metadata/version
new file mode 100644
index 000000000..7b53aa000
--- /dev/null
+++ b/data/diskdev-cmds/_metadata/version
@@ -0,0 +1 @@
+419
diff --git a/data/diskdev-cmds/diskdev_cmds-419.tar.gz b/data/diskdev-cmds/diskdev_cmds-419.tar.gz
new file mode 100644
index 000000000..0ad8555e9
--- /dev/null
+++ b/data/diskdev-cmds/diskdev_cmds-419.tar.gz
Binary files differ
diff --git a/data/diskdev-cmds/make.sh b/data/diskdev-cmds/make.sh
new file mode 100644
index 000000000..469b34568
--- /dev/null
+++ b/data/diskdev-cmds/make.sh
@@ -0,0 +1,20 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/diskdev_cmds-419.tar.gz"
+cd diskdev_cmds-419
+cd disklib
+rm -f mntopts.h getmntopts.c
+arm-apple-darwin-gcc -c *.c
+arm-apple-darwin-ar -r libdisk.a *.o
+cd ..
+for tproj in !(fstyp|dev_mkdb|dump|fsck_hfs|fuser|mount_hfs|restore|quotacheck|ufs).tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ echo ${tproj}
+ arm-apple-darwin-gcc -Idisklib -o "${tproj}" $(find "${tproj}.tproj" -name '*.c') disklib/libdisk.a -framework IOKit -framework CoreFoundation -lutil
+ pkg:usrbin "${tproj}"
+done
+cd fstyp.tproj
+for c in *.c; do
+ bin=$(basename "${c}" .c)
+ arm-apple-darwin-gcc -o "${bin}" "${c}"
+ pkg:usrbin "${bin}"
+done
diff --git a/data/dpkg/_metadata/description b/data/dpkg/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/dpkg/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/dpkg/_metadata/license b/data/dpkg/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/dpkg/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/dpkg/_metadata/maintainer b/data/dpkg/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/dpkg/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/dpkg/_metadata/priority b/data/dpkg/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/dpkg/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/dpkg/_metadata/section b/data/dpkg/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/dpkg/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/dpkg/_metadata/tar.dep b/data/dpkg/_metadata/tar.dep
new file mode 120000
index 000000000..0eab7f1b6
--- /dev/null
+++ b/data/dpkg/_metadata/tar.dep
@@ -0,0 +1 @@
+../../tar \ No newline at end of file
diff --git a/data/dpkg/_metadata/version b/data/dpkg/_metadata/version
new file mode 100644
index 000000000..e67bd845b
--- /dev/null
+++ b/data/dpkg/_metadata/version
@@ -0,0 +1 @@
+1.13.25
diff --git a/data/dpkg/dpkg_1.13.25.tar.gz b/data/dpkg/dpkg_1.13.25.tar.gz
new file mode 100644
index 000000000..535e9fdbd
--- /dev/null
+++ b/data/dpkg/dpkg_1.13.25.tar.gz
Binary files differ
diff --git a/data/dpkg/make.sh b/data/dpkg/make.sh
new file mode 100644
index 000000000..45da861e8
--- /dev/null
+++ b/data/dpkg/make.sh
@@ -0,0 +1,8 @@
+tar -zxvf "${PKG_DATA}/dpkg_1.13.25.tar.gz"
+cd dpkg-1.13.25
+pkg:patch
+autoconf
+cp -a getopt/obstack.c lib
+pkg:configure --with-admindir=/var/lib/dpkg --without-start-stop-daemon --without-dselect --disable-nls --sysconfdir=/etc --disable-linker-optimisations
+make
+pkg:install
diff --git a/data/dpkg/port.diff b/data/dpkg/port.diff
new file mode 100644
index 000000000..c53516c99
--- /dev/null
+++ b/data/dpkg/port.diff
@@ -0,0 +1,81 @@
+diff -ru dpkg-1.13.25/lib/Makefile.am dpkg-1.13.25+iPhone/lib/Makefile.am
+--- dpkg-1.13.25/lib/Makefile.am 2006-06-21 13:41:12.000000000 +0000
++++ dpkg-1.13.25+iPhone/lib/Makefile.am 2007-12-29 10:00:00.000000000 +0000
+@@ -34,4 +34,5 @@
+ tarfn.c tarfn.h \
+ utils.c \
+ varbuf.c \
+- vercmp.c
++ vercmp.c \
++ obstack.c
+diff -ru dpkg-1.13.25/lib/tarfn.c dpkg-1.13.25+iPhone/lib/tarfn.c
+--- dpkg-1.13.25/lib/tarfn.c 2006-06-21 13:41:12.000000000 +0000
++++ dpkg-1.13.25+iPhone/lib/tarfn.c 2007-12-29 09:51:34.000000000 +0000
+@@ -53,6 +53,13 @@
+ return n;
+ }
+
++int strnlen(const char *s, int size) {
++ for (int i = 0; i != size; ++i)
++ if (s[i] == '\0')
++ return i;
++ return size;
++}
++
+ /* String block to C null-terminated string */
+ char *
+ StoC(const char *s, int size)
+diff -ru dpkg-1.13.25/m4/funcs.m4 dpkg-1.13.25+iPhone/m4/funcs.m4
+--- dpkg-1.13.25/m4/funcs.m4 2006-06-04 15:45:45.000000000 +0000
++++ dpkg-1.13.25+iPhone/m4/funcs.m4 2007-12-29 09:51:34.000000000 +0000
+@@ -3,7 +3,7 @@
+ # Define HAVE_VA_COPY if we have va_copy, fail if they can't be assigned
+ AC_DEFUN([DPKG_FUNC_VA_COPY],
+ [AC_CACHE_CHECK([for va_copy], [dpkg_cv_va_copy],
+-[AC_TRY_RUN(
++[AC_TRY_COMPILE(
+ [#include <stdarg.h>
+ main() {
+ va_list v1, v2;
+diff -ru dpkg-1.13.25/src/help.c dpkg-1.13.25+iPhone/src/help.c
+--- dpkg-1.13.25/src/help.c 2006-06-19 01:22:03.000000000 +0000
++++ dpkg-1.13.25+iPhone/src/help.c 2007-12-29 09:51:34.000000000 +0000
+@@ -69,11 +69,8 @@
+
+ void checkpath(void) {
+ /* Verify that some programs can be found in the PATH. */
+- static const char *const checklist[]= { "ldconfig",
+-#ifdef WITH_START_STOP_DAEMON
+- "start-stop-daemon",
+-#endif
+- "install-info", "update-rc.d", 0
++ static const char *const checklist[]= {
++ "install-info", 0
+ };
+
+ struct stat stab;
+diff -ru dpkg-1.13.25/utils/start-stop-daemon.c dpkg-1.13.25+iPhone/utils/start-stop-daemon.c
+--- dpkg-1.13.25/utils/start-stop-daemon.c 2006-06-21 14:59:36.000000000 +0000
++++ dpkg-1.13.25+iPhone/utils/start-stop-daemon.c 2007-12-29 09:51:34.000000000 +0000
+@@ -32,7 +32,7 @@
+ # define OSOpenBSD
+ #elif defined(hpux)
+ # define OShpux
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || 1
+ # define OSFreeBSD
+ #elif defined(__NetBSD__)
+ # define OSNetBSD
+@@ -928,10 +928,10 @@
+ errx(1, "%s", errbuf);
+ if ((kp = kvm_getprocs(kd, KERN_PROC_PID, pid, &nentries)) == 0)
+ errx(1, "%s", kvm_geterr(kd));
+- if (kp->kp_proc.p_cred )
++ /*if (kp->kp_proc.p_cred )
+ kvm_read(kd, (u_long)&(kp->kp_proc.p_cred->p_ruid),
+ &proc_uid, sizeof(uid_t));
+- else
++ else*/
+ return 0;
+ return (proc_uid == (uid_t)uid);
+ }
diff --git a/data/expat/_metadata/description b/data/expat/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/expat/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/expat/_metadata/license b/data/expat/_metadata/license
new file mode 100644
index 000000000..dcb450642
--- /dev/null
+++ b/data/expat/_metadata/license
@@ -0,0 +1,22 @@
+Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+ and Clark Cooper
+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/data/expat/_metadata/maintainer b/data/expat/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/expat/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/expat/_metadata/priority b/data/expat/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/expat/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/expat/_metadata/section b/data/expat/_metadata/section
new file mode 100644
index 000000000..a9fe5db96
--- /dev/null
+++ b/data/expat/_metadata/section
@@ -0,0 +1 @@
+xml
diff --git a/data/expat/_metadata/version b/data/expat/_metadata/version
new file mode 100644
index 000000000..38f77a65b
--- /dev/null
+++ b/data/expat/_metadata/version
@@ -0,0 +1 @@
+2.0.1
diff --git a/data/expat/expat-2.0.1.tar.gz b/data/expat/expat-2.0.1.tar.gz
new file mode 100644
index 000000000..f42c713f2
--- /dev/null
+++ b/data/expat/expat-2.0.1.tar.gz
Binary files differ
diff --git a/data/expat/make.sh b/data/expat/make.sh
new file mode 100644
index 000000000..395ac67cb
--- /dev/null
+++ b/data/expat/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/expat-2.0.1.tar.gz"
+cd expat-2.0.1
+pkg:configure
+make
+pkg:install
diff --git a/data/findutils/_metadata/description b/data/findutils/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/findutils/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/findutils/_metadata/license b/data/findutils/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/findutils/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/findutils/_metadata/maintainer b/data/findutils/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/findutils/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/findutils/_metadata/priority b/data/findutils/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/findutils/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/findutils/_metadata/section b/data/findutils/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/findutils/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/findutils/_metadata/version b/data/findutils/_metadata/version
new file mode 100644
index 000000000..3ea600dc3
--- /dev/null
+++ b/data/findutils/_metadata/version
@@ -0,0 +1 @@
+4.2.31
diff --git a/data/findutils/findutils-4.2.31.tar.gz b/data/findutils/findutils-4.2.31.tar.gz
new file mode 100644
index 000000000..7569326c7
--- /dev/null
+++ b/data/findutils/findutils-4.2.31.tar.gz
Binary files differ
diff --git a/data/findutils/make.sh b/data/findutils/make.sh
new file mode 100644
index 000000000..fcd539415
--- /dev/null
+++ b/data/findutils/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/findutils-4.2.31.tar.gz"
+cd findutils-4.2.31
+pkg:configure
+make
+pkg:install
diff --git a/data/gawk/_metadata/description b/data/gawk/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/gawk/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/gawk/_metadata/license b/data/gawk/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/gawk/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/gawk/_metadata/maintainer b/data/gawk/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/gawk/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/gawk/_metadata/priority b/data/gawk/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/gawk/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/gawk/_metadata/section b/data/gawk/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/gawk/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/gawk/_metadata/version b/data/gawk/_metadata/version
new file mode 100644
index 000000000..9cec7165a
--- /dev/null
+++ b/data/gawk/_metadata/version
@@ -0,0 +1 @@
+3.1.6
diff --git a/data/gawk/dynamic.diff b/data/gawk/dynamic.diff
new file mode 100644
index 000000000..322b9acec
--- /dev/null
+++ b/data/gawk/dynamic.diff
@@ -0,0 +1,19 @@
+diff -r -u gawk-3.1.6/configure.ac gawk-3.1.6+iPhone/configure.ac
+--- gawk-3.1.6/configure.ac 2007-10-22 06:51:06.000000000 +0000
++++ gawk-3.1.6+iPhone/configure.ac 2007-12-27 12:18:29.000000000 +0000
+@@ -285,15 +285,6 @@
+ dnl This is known to be very primitive
+ AC_CHECK_HEADER(dlfcn.h,
+ [AC_DEFINE([DYNAMIC], 1, [dynamic loading is possible])
+- if test "$GCC" = yes
+- then
+- # Add others here as appropriate,
+- # one day use GNU libtool.
+- if uname | $EGREP -i 'linux|freebsd|cygwin' > /dev/null
+- then
+- LDFLAGS="$LDFLAGS -export-dynamic"
+- fi
+- fi
+
+ # Check this separately. Some systems have dlopen
+ # in libc. Notably freebsd and cygwin.
diff --git a/data/gawk/gawk-3.1.6.tar.gz b/data/gawk/gawk-3.1.6.tar.gz
new file mode 100644
index 000000000..36c324543
--- /dev/null
+++ b/data/gawk/gawk-3.1.6.tar.gz
Binary files differ
diff --git a/data/gawk/make.sh b/data/gawk/make.sh
new file mode 100644
index 000000000..ade52a1f8
--- /dev/null
+++ b/data/gawk/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/gawk-3.1.6.tar.gz"
+cd gawk-3.1.6
+pkg:patch
+pkg:configure
+make
+pkg:install
+rm -f "${PKG_DEST}"/usr/bin/{pgawk*,gawk-*}
diff --git a/data/grep/_metadata/description b/data/grep/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/grep/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/grep/_metadata/license b/data/grep/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/grep/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/grep/_metadata/maintainer b/data/grep/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/grep/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/grep/_metadata/priority b/data/grep/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/grep/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/grep/_metadata/section b/data/grep/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/grep/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/grep/_metadata/version b/data/grep/_metadata/version
new file mode 100644
index 000000000..95e3ba819
--- /dev/null
+++ b/data/grep/_metadata/version
@@ -0,0 +1 @@
+2.5
diff --git a/data/grep/destdir.diff b/data/grep/destdir.diff
new file mode 100644
index 000000000..6c28ab173
--- /dev/null
+++ b/data/grep/destdir.diff
@@ -0,0 +1,25 @@
+diff -r -u grep-2.5/src/Makefile.am grep-2.5+iPhone/src/Makefile.am
+--- grep-2.5/src/Makefile.am 2002-03-13 15:20:13.000000000 +0000
++++ grep-2.5+iPhone/src/Makefile.am 2007-12-26 23:59:25.000000000 +0000
+@@ -18,5 +18,5 @@
+ vms_fab.c vms_fab.h
+
+ install-exec-local:
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep
+diff -r -u grep-2.5/src/Makefile.in grep-2.5+iPhone/src/Makefile.in
+--- grep-2.5/src/Makefile.in 2002-03-13 15:23:51.000000000 +0000
++++ grep-2.5+iPhone/src/Makefile.in 2007-12-26 23:59:16.000000000 +0000
+@@ -354,8 +354,8 @@
+
+
+ install-exec-local:
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/data/grep/grep-2.5.tar.gz b/data/grep/grep-2.5.tar.gz
new file mode 100644
index 000000000..7787ac5f6
--- /dev/null
+++ b/data/grep/grep-2.5.tar.gz
Binary files differ
diff --git a/data/grep/make.sh b/data/grep/make.sh
new file mode 100644
index 000000000..6053ef5d6
--- /dev/null
+++ b/data/grep/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/grep-2.5.tar.gz"
+cd grep-2.5
+pkg:patch
+pkg:configure --disable-perl-regexp
+make
+pkg:install
+pkg:bin grep
diff --git a/data/gzip/_metadata/description b/data/gzip/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/gzip/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/gzip/_metadata/license b/data/gzip/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/gzip/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/gzip/_metadata/maintainer b/data/gzip/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/gzip/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/gzip/_metadata/priority b/data/gzip/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/gzip/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/gzip/_metadata/section b/data/gzip/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/gzip/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/gzip/_metadata/version b/data/gzip/_metadata/version
new file mode 100644
index 000000000..90a7f6029
--- /dev/null
+++ b/data/gzip/_metadata/version
@@ -0,0 +1 @@
+1.3.12
diff --git a/data/gzip/gzip-1.3.12.tar.gz b/data/gzip/gzip-1.3.12.tar.gz
new file mode 100644
index 000000000..b5757314e
--- /dev/null
+++ b/data/gzip/gzip-1.3.12.tar.gz
Binary files differ
diff --git a/data/gzip/make.sh b/data/gzip/make.sh
new file mode 100644
index 000000000..c7939fef9
--- /dev/null
+++ b/data/gzip/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/gzip-1.3.12.tar.gz"
+cd gzip-1.3.12
+pkg:configure
+make
+pkg:install
+pkg:bin
diff --git a/data/iokittools/IOKitTools-76.tar.gz b/data/iokittools/IOKitTools-76.tar.gz
new file mode 100644
index 000000000..25b29a4f0
--- /dev/null
+++ b/data/iokittools/IOKitTools-76.tar.gz
Binary files differ
diff --git a/data/iokittools/_metadata/description b/data/iokittools/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/iokittools/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/iokittools/_metadata/license b/data/iokittools/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/iokittools/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/iokittools/_metadata/maintainer b/data/iokittools/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/iokittools/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/iokittools/_metadata/priority b/data/iokittools/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/iokittools/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/iokittools/_metadata/section b/data/iokittools/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/iokittools/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/iokittools/_metadata/version b/data/iokittools/_metadata/version
new file mode 100644
index 000000000..dd475631b
--- /dev/null
+++ b/data/iokittools/_metadata/version
@@ -0,0 +1 @@
+76
diff --git a/data/iokittools/make.sh b/data/iokittools/make.sh
new file mode 100644
index 000000000..566b36f34
--- /dev/null
+++ b/data/iokittools/make.sh
@@ -0,0 +1,8 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/IOKitTools-76.tar.gz"
+cd IOKitTools-76
+for tproj in *.tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ arm-apple-darwin-gcc -lcurses -o "${tproj}" "${tproj}.tproj"/*.c -framework CoreFoundation -framework IOKit
+ pkg:usrbin "${tproj}"
+done
diff --git a/data/jamvm/_metadata/classpath.dep b/data/jamvm/_metadata/classpath.dep
new file mode 120000
index 000000000..1c19bc70d
--- /dev/null
+++ b/data/jamvm/_metadata/classpath.dep
@@ -0,0 +1 @@
+../../classpath \ No newline at end of file
diff --git a/data/jamvm/_metadata/description b/data/jamvm/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/jamvm/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/jamvm/_metadata/license b/data/jamvm/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/jamvm/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/jamvm/_metadata/maintainer b/data/jamvm/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/jamvm/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/jamvm/_metadata/priority b/data/jamvm/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/jamvm/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/jamvm/_metadata/section b/data/jamvm/_metadata/section
new file mode 100644
index 000000000..f3d360b1c
--- /dev/null
+++ b/data/jamvm/_metadata/section
@@ -0,0 +1 @@
+java
diff --git a/data/jamvm/_metadata/version b/data/jamvm/_metadata/version
new file mode 100644
index 000000000..7404b5d17
--- /dev/null
+++ b/data/jamvm/_metadata/version
@@ -0,0 +1 @@
+1.5.1b2
diff --git a/data/jamvm/jamvm-1.5.1b2.tar.gz b/data/jamvm/jamvm-1.5.1b2.tar.gz
new file mode 100644
index 000000000..3be037659
--- /dev/null
+++ b/data/jamvm/jamvm-1.5.1b2.tar.gz
Binary files differ
diff --git a/data/jamvm/make.sh b/data/jamvm/make.sh
new file mode 100644
index 000000000..4c5f930ac
--- /dev/null
+++ b/data/jamvm/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/jamvm-1.5.1b2.tar.gz"
+cd jamvm-1.5.1
+CFLAGS=-O0 pkg:configure --with-classpath-install-dir=/usr
+make
+pkg:install
diff --git a/data/javasqlite/_metadata/description b/data/javasqlite/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/javasqlite/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/javasqlite/_metadata/license b/data/javasqlite/_metadata/license
new file mode 100644
index 000000000..734b58705
--- /dev/null
+++ b/data/javasqlite/_metadata/license
@@ -0,0 +1,26 @@
+This software is copyrighted by Christian Werner <chw@ch-werner.de> and others.
+The following terms apply to all files associated with the software
+unless explicitly disclaimed in individual files.
+
+The authors hereby grant permission to use, copy, modify, distribute,
+and license this software and its documentation for any purpose, provided
+that existing copyright notices are retained in all copies and that this
+notice is included verbatim in any distributions. No written agreement,
+license, or royalty fee is required for any of the authorized uses.
+Modifications to this software may be copyrighted by their authors
+and need not follow the licensing terms described here, provided that
+the new terms are clearly indicated on the first page of each file where
+they apply.
+
+IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
+IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+MODIFICATIONS.
diff --git a/data/javasqlite/_metadata/maintainer b/data/javasqlite/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/javasqlite/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/javasqlite/_metadata/priority b/data/javasqlite/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/javasqlite/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/javasqlite/_metadata/section b/data/javasqlite/_metadata/section
new file mode 100644
index 000000000..f3d360b1c
--- /dev/null
+++ b/data/javasqlite/_metadata/section
@@ -0,0 +1 @@
+java
diff --git a/data/javasqlite/_metadata/version b/data/javasqlite/_metadata/version
new file mode 100644
index 000000000..c30809d4c
--- /dev/null
+++ b/data/javasqlite/_metadata/version
@@ -0,0 +1 @@
+20071108
diff --git a/data/javasqlite/dylib.diff b/data/javasqlite/dylib.diff
new file mode 100644
index 000000000..b921f9117
--- /dev/null
+++ b/data/javasqlite/dylib.diff
@@ -0,0 +1,15 @@
+diff -ru javasqlite-20071108/configure.in javasqlite-20071108+iPhone/configure.in
+--- javasqlite-20071108/configure.in 2007-10-25 06:29:14.000000000 +0000
++++ javasqlite-20071108+iPhone/configure.in 2007-11-22 05:04:05.000000000 +0000
+@@ -155,6 +155,11 @@
+ SQLITE3_LIB="$i/lib/libsqlite3.la"
+ SQLITE3_LIBDIR="$i/lib"
+ break
++ elif test -r $i/lib/libsqlite3.dylib ; then
++ SQLITE3_INC="$i/include"
++ SQLITE3_LIB="$i/lib/libsqlite3.dylib"
++ SQLITE3_LIBDIR="$i/lib"
++ break;
+ elif test -r $i/lib/libsqlite3.a ; then
+ SQLITE3_INC="$i/include"
+ SQLITE3_LIB="$i/lib/libsqlite3.a"
diff --git a/data/javasqlite/javasqlite-20071108.tar.gz b/data/javasqlite/javasqlite-20071108.tar.gz
new file mode 100644
index 000000000..ffebc0576
--- /dev/null
+++ b/data/javasqlite/javasqlite-20071108.tar.gz
Binary files differ
diff --git a/data/javasqlite/make.sh b/data/javasqlite/make.sh
new file mode 100644
index 000000000..db0ce749e
--- /dev/null
+++ b/data/javasqlite/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/javasqlite-20071108.tar.gz"
+cd javasqlite-20071108
+pkg:patch
+autoconf
+pkg:configure --with-sqlite="${PKG_ROOT}/usr" --with-sqlite3="${PKG_ROOT}/usr"
+make
+pkg:install
diff --git a/data/javasqlite/mkconst.diff b/data/javasqlite/mkconst.diff
new file mode 100644
index 000000000..96502c855
--- /dev/null
+++ b/data/javasqlite/mkconst.diff
@@ -0,0 +1,15 @@
+diff -ru javasqlite-20071108/Makefile.in javasqlite-20071108+iPhone/Makefile.in
+--- javasqlite-20071108/Makefile.in 2007-10-25 06:30:12.000000000 +0000
++++ javasqlite-20071108+iPhone/Makefile.in 2007-12-28 12:12:23.000000000 +0000
+@@ -125,9 +125,9 @@
+ -rpath $(NATIVE_LIB_DIR) $(LIBS)
+
+ native/mkconst: native/mkconst.c
+- $(LIBTOOL) $(CC) $(SQLITE_INC) $(SQLITE3_INC) \
++ $(LIBTOOL) gcc $(SQLITE_INC) $(SQLITE3_INC) \
+ -DHAVE_SQLITE2=@HAVE_SQLITE2@ -DHAVE_SQLITE3=@HAVE_SQLITE3@ \
+- -o native/mkconst native/mkconst.c $(LIBS)
++ -o native/mkconst native/mkconst.c
+
+ Makefile: Makefile.in configure config.status
+ ./config.status
diff --git a/data/kext-tools/_metadata/description b/data/kext-tools/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/kext-tools/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/kext-tools/_metadata/license b/data/kext-tools/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/kext-tools/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/kext-tools/_metadata/maintainer b/data/kext-tools/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/kext-tools/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/kext-tools/_metadata/priority b/data/kext-tools/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/kext-tools/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/kext-tools/_metadata/section b/data/kext-tools/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/kext-tools/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/kext-tools/_metadata/version b/data/kext-tools/_metadata/version
new file mode 100644
index 000000000..5bc6609e3
--- /dev/null
+++ b/data/kext-tools/_metadata/version
@@ -0,0 +1 @@
+117
diff --git a/data/kext-tools/getiopolicy_np.c b/data/kext-tools/getiopolicy_np.c
new file mode 100644
index 000000000..5a4c842fe
--- /dev/null
+++ b/data/kext-tools/getiopolicy_np.c
@@ -0,0 +1,93 @@
+/*
+ * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
+ *
+ * @APPLE_LICENSE_HEADER_START@
+ *
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this
+ * file.
+ *
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
+ *
+ * @APPLE_LICENSE_HEADER_END@
+ */
+#include <errno.h>
+#include <sys/resource.h>
+
+extern int __iopolicysys(int, struct _iopol_param_t *);
+
+int
+getiopolicy_np(int iotype, int scope)
+{
+ int policy, error;
+ struct _iopol_param_t iop_param;
+
+ if (iotype != IOPOL_TYPE_DISK ||
+ (scope != IOPOL_SCOPE_PROCESS && scope != IOPOL_SCOPE_THREAD)) {
+ errno = EINVAL;
+ policy = -1;
+ goto exit;
+ }
+
+ iop_param.iop_scope = scope;
+ iop_param.iop_iotype = iotype;
+ error = syscall(322, IOPOL_CMD_GET, &iop_param);
+ if (error != 0) {
+ errno = error;
+ policy = -1;
+ goto exit;
+ }
+
+ policy = iop_param.iop_policy;
+
+ exit:
+ return policy;
+}
+
+int
+setiopolicy_np(int iotype, int scope, int policy)
+{
+ int error;
+ struct _iopol_param_t iop_param;
+
+ if (iotype != IOPOL_TYPE_DISK ||
+ (scope != IOPOL_SCOPE_PROCESS && scope != IOPOL_SCOPE_THREAD)) {
+ errno = EINVAL;
+ error = -1;
+ goto exit;
+ }
+
+ switch (policy) {
+ case IOPOL_DEFAULT:
+ case IOPOL_NORMAL:
+ case IOPOL_THROTTLE:
+ case IOPOL_PASSIVE:
+ break;
+ default:
+ errno = EINVAL;
+ error = -1;
+ goto exit;
+ }
+
+ iop_param.iop_scope = scope;
+ iop_param.iop_iotype = iotype;
+ iop_param.iop_policy = policy;
+ error = syscall(322, IOPOL_CMD_SET, &iop_param);
+ if (error != 0) {
+ errno = error;
+ error = -1;
+ goto exit;
+ }
+
+ exit:
+ return error;
+}
diff --git a/data/kext-tools/kext_tools-117.tar.gz b/data/kext-tools/kext_tools-117.tar.gz
new file mode 100644
index 000000000..513cb7764
--- /dev/null
+++ b/data/kext-tools/kext_tools-117.tar.gz
Binary files differ
diff --git a/data/kext-tools/make.sh b/data/kext-tools/make.sh
new file mode 100755
index 000000000..5d02653d6
--- /dev/null
+++ b/data/kext-tools/make.sh
@@ -0,0 +1,18 @@
+tar -zxvf "${PKG_DATA}/kext_tools-117.tar.gz"
+cd kext_tools-117
+cp -a "${PKG_DATA}/getiopolicy_np.c" .
+#arm-apple-darwin-gcc -o kextload kextload_main.c -framework CoreFoundation utility.c -framework IOKit getiopolicy_np.c -DPRIVATE
+arm-apple-darwin-gcc -o kextstat kextstat_main.c
+arm-apple-darwin-gcc -o kextfind kextfind_*.c -framework IOKit -framework CoreFoundation QEQuery.c utility.c getiopolicy_np.c -DPRIVATE
+arm-apple-darwin-gcc -I. -o kextunload kextunload_main.c -framework CoreFoundation -framework IOKit utility.c getiopolicy_np.c -DPRIVATE
+arm-apple-darwin-gcc -o kextlibs kextlibs_main.c -framework IOKit -framework CoreFoundation utility.c getiopolicy_np.c -DPRIVATE
+arm-apple-darwin-gcc -o kextsymboltool kextsymboltool.c
+arm-apple-darwin-gcc -o mkextunpack mkextunpack_main.c -framework CoreFoundation compression.c
+#arm-apple-darwin-gcc -o kextd kextd_main.c -framework CoreFoundation -framework IOKit getiopolicy_np.c -DPRIVATE logging.c request.c PTLock.c watchvol.c bootcaches.c utility.c safecalls.c
+#arm-apple-darwin-gcc -o kextcache kextcache_main.c -framework CoreFoundation -framework IOKit utility.c prelink.c mkext_file.c logging.c arch.c bootcaches.c compression.c safecalls.c update_boot.c getiopolicy_np.c -DPRIVATE
+# XXX: these files shouldn't go in /usr/bin
+pkg: mkdir -p /sbin /usr/bin /usr/sbin
+pkg: cp -a kextfind kextlibs kextsymboltool /usr/bin
+#pkg: cp -a kextd /usr/libexec
+pkg: cp -a kextunload /sbin #kextload
+pkg: cp -a mkextunpack kextstat /usr/sbin #kextcache
diff --git a/data/less/_metadata/description b/data/less/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/less/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/less/_metadata/license b/data/less/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/less/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/less/_metadata/maintainer b/data/less/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/less/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/less/_metadata/priority b/data/less/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/less/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/less/_metadata/section b/data/less/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/less/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/less/_metadata/version b/data/less/_metadata/version
new file mode 100644
index 000000000..1c105f1a6
--- /dev/null
+++ b/data/less/_metadata/version
@@ -0,0 +1 @@
+416
diff --git a/data/less/less-416.tar.gz b/data/less/less-416.tar.gz
new file mode 100644
index 000000000..d3c6f0cb0
--- /dev/null
+++ b/data/less/less-416.tar.gz
Binary files differ
diff --git a/data/less/make.sh b/data/less/make.sh
new file mode 100644
index 000000000..b956d398c
--- /dev/null
+++ b/data/less/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/less-416.tar.gz"
+cd less-416
+pkg:configure
+make
+pkg:install
diff --git a/data/libffi/_metadata/description b/data/libffi/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/libffi/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/libffi/_metadata/license b/data/libffi/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libffi/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libffi/_metadata/maintainer b/data/libffi/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/libffi/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/libffi/_metadata/priority b/data/libffi/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libffi/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libffi/_metadata/section b/data/libffi/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/libffi/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/libffi/_metadata/version b/data/libffi/_metadata/version
new file mode 100644
index 000000000..d83f6df35
--- /dev/null
+++ b/data/libffi/_metadata/version
@@ -0,0 +1 @@
+130618
diff --git a/data/libffi/assembler.diff b/data/libffi/assembler.diff
new file mode 100644
index 000000000..a6b6c6c18
--- /dev/null
+++ b/data/libffi/assembler.diff
@@ -0,0 +1,43 @@
+Index: src/arm/sysv.S
+===================================================================
+--- libffi/src/arm/sysv.S (revision 130618)
++++ libffi+iPhone/src/arm/sysv.S (working copy)
+@@ -38,7 +38,7 @@
+ #else
+ #define CNAME(x) x
+ #endif
+-#define ENTRY(x) .globl CNAME(x); .type CNAME(x),%function; CNAME(x):
++#define ENTRY(x) .globl CNAME(x); CNAME(x):
+ #endif
+
+ #ifdef __ELF__
+@@ -219,7 +219,7 @@
+
+ .ffi_call_SYSV_end:
+ UNWIND .fnend
+- .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
++@ .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV)
+
+ /*
+ unsigned int FFI_HIDDEN
+@@ -235,11 +235,11 @@
+ stmfd sp!, {ip, lr}
+ UNWIND .save {r0, lr}
+ add r2, sp, #8
+- .pad #16
++@ .pad #16
+ sub sp, sp, #16
+ str sp, [sp, #8]
+ add r1, sp, #8
+- bl ffi_closure_SYSV_inner
++ bl _ffi_closure_SYSV_inner
+ cmp r0, #FFI_TYPE_INT
+ beq .Lretint
+
+@@ -291,5 +291,5 @@
+
+ .ffi_closure_SYSV_end:
+ UNWIND .fnend
+- .size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
++@ .size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV)
+
diff --git a/data/libffi/libffi-130618.tgz b/data/libffi/libffi-130618.tgz
new file mode 100644
index 000000000..d1d035c7d
--- /dev/null
+++ b/data/libffi/libffi-130618.tgz
Binary files differ
diff --git a/data/libffi/make.sh b/data/libffi/make.sh
new file mode 100644
index 000000000..04d7f7dc2
--- /dev/null
+++ b/data/libffi/make.sh
@@ -0,0 +1,12 @@
+pkg:extract
+cd gcc/libffi
+pkg:patch
+cd ../..
+mkdir build
+cd build
+PKG_CONF=../gcc/libffi/configure
+pkg:configure --with-sysroot="${PKG_ROOT}"
+make
+pkg:install
+pkg: mv /usr/lib/gcc/arm-apple-darwin/include /usr/
+pkg: rm -rfv /usr/lib/gcc
diff --git a/data/libffi/private.diff b/data/libffi/private.diff
new file mode 100644
index 000000000..cd3ee23a7
--- /dev/null
+++ b/data/libffi/private.diff
@@ -0,0 +1,12 @@
+Index: src/arm/ffi.c
+===================================================================
+--- libffi/src/arm/ffi.c (revision 130618)
++++ libffi+iPhone/src/arm/ffi.c (working copy)
+@@ -199,6 +199,7 @@
+
+ /* This function is jumped to by the trampoline */
+
++__private_extern__
+ unsigned int
+ ffi_closure_SYSV_inner (closure, respp, args)
+ ffi_closure *closure;
diff --git a/data/libpcap/_metadata/description b/data/libpcap/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/libpcap/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/libpcap/_metadata/license b/data/libpcap/_metadata/license
new file mode 120000
index 000000000..8a4bc1936
--- /dev/null
+++ b/data/libpcap/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/modified-bsd \ No newline at end of file
diff --git a/data/libpcap/_metadata/maintainer b/data/libpcap/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/libpcap/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/libpcap/_metadata/priority b/data/libpcap/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/libpcap/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/libpcap/_metadata/section b/data/libpcap/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/libpcap/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/libpcap/_metadata/version b/data/libpcap/_metadata/version
new file mode 100644
index 000000000..e3e180701
--- /dev/null
+++ b/data/libpcap/_metadata/version
@@ -0,0 +1 @@
+0.9.8
diff --git a/data/libpcap/libpcap-0.9.8.tar.gz b/data/libpcap/libpcap-0.9.8.tar.gz
new file mode 100644
index 000000000..14344a44d
--- /dev/null
+++ b/data/libpcap/libpcap-0.9.8.tar.gz
Binary files differ
diff --git a/data/libpcap/make.sh b/data/libpcap/make.sh
new file mode 100644
index 000000000..8ab25ab77
--- /dev/null
+++ b/data/libpcap/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/libpcap-0.9.8.tar.gz"
+cd libpcap-0.9.8
+pkg:configure --with-pcap=bpf
+make
+mkdir -p "${PKG_DEST}/usr/lib"
+make install-shared DESTDIR="${PKG_DEST}"
diff --git a/data/libutil/_metadata/description b/data/libutil/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/libutil/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/libutil/_metadata/license b/data/libutil/_metadata/license
new file mode 100644
index 000000000..02cb9934f
--- /dev/null
+++ b/data/libutil/_metadata/license
@@ -0,0 +1,238 @@
+_secure_path.c:
+/*-
+ * Based on code copyright (c) 1995,1997 by
+ * Berkeley Software Design, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, is permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice immediately at the beginning of the file, without modification,
+ * 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. This work was done expressly for inclusion into FreeBSD. Other use
+ * is permitted provided this notation is included.
+ * 4. Absolutely no warranty of function or purpose is made by the authors.
+ * 5. Modifications may be freely made to this file providing the above
+ * conditions are met.
+ */
+
+fparseln.c:
+/*
+ * Copyright (c) 1997 Christos Zoulas. 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Christos Zoulas.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+ */
+
+humanize_number.c:
+/*
+ * Copyright (c) 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to The NetBSD Foundation
+ * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
+ * NASA Ames Research Center, by Luke Mewburn and by Tomas Svensson.
+ *
+ * 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the NetBSD
+ * Foundation, Inc. and its contributors.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
+ */
+
+pidfile.c:
+/*-
+ * Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>
+ * 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS 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 AUTHORS 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.
+ */
+
+property.c:
+/*
+ *
+ * Simple property list handling code.
+ *
+ * Copyright (c) 1998
+ * Jordan "Perky" Hubbard. 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,
+ * verbatim and that no modifications are made prior to this
+ * point in the file.
+ * 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR OR HIS PETS 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, LIFE 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.
+ */
+
+realhostname.c:
+/*-
+ * Copyright (c) 1999 Brian Somers <brian@Awfulhak.org>
+ * 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+ */
+
+trimdomain.c:
+/*-
+ * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
+ * Based on original work by Atsushi Murai <amurai@FreeBSD.org>
+ * 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+ *
+ */
+
+uucplock.c:
+/*
+ * Copyright (c) 1988, 1993
+ * The Regents of the University of California. 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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/libutil/_metadata/maintainer b/data/libutil/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/libutil/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/libutil/_metadata/priority b/data/libutil/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/libutil/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/libutil/_metadata/section b/data/libutil/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/libutil/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/libutil/_metadata/version b/data/libutil/_metadata/version
new file mode 100644
index 000000000..b4de39476
--- /dev/null
+++ b/data/libutil/_metadata/version
@@ -0,0 +1 @@
+11
diff --git a/data/libutil/libutil-11.tar.gz b/data/libutil/libutil-11.tar.gz
new file mode 100644
index 000000000..d6cb5a3c3
--- /dev/null
+++ b/data/libutil/libutil-11.tar.gz
Binary files differ
diff --git a/data/libutil/make.sh b/data/libutil/make.sh
new file mode 100644
index 000000000..db247280f
--- /dev/null
+++ b/data/libutil/make.sh
@@ -0,0 +1,4 @@
+tar -zxvf "${PKG_DATA}/libutil-11.tar.gz"
+cd libutil-11
+make CC=arm-apple-darwin-gcc
+make install STRIP=arm-apple-darwin-strip DSTROOT="${PKG_DEST}"
diff --git a/data/links/_metadata/description b/data/links/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/links/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/links/_metadata/license b/data/links/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/links/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/links/_metadata/maintainer b/data/links/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/links/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/links/_metadata/openssl.dep b/data/links/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/links/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/links/_metadata/priority b/data/links/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/links/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/links/_metadata/section b/data/links/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/links/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/links/_metadata/version b/data/links/_metadata/version
new file mode 100644
index 000000000..0338f8d1a
--- /dev/null
+++ b/data/links/_metadata/version
@@ -0,0 +1 @@
+0.99
diff --git a/data/links/links-0.99.tar.gz b/data/links/links-0.99.tar.gz
new file mode 100644
index 000000000..2d25f73d9
--- /dev/null
+++ b/data/links/links-0.99.tar.gz
Binary files differ
diff --git a/data/links/make.sh b/data/links/make.sh
new file mode 100644
index 000000000..9a69a71dd
--- /dev/null
+++ b/data/links/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/links-0.99.tar.gz"
+cd links-0.99
+pkg:configure
+make
+pkg:install
diff --git a/data/make/_metadata/description b/data/make/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/make/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/make/_metadata/license b/data/make/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/make/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/make/_metadata/maintainer b/data/make/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/make/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/make/_metadata/priority b/data/make/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/make/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/make/_metadata/section b/data/make/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/make/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/make/_metadata/version b/data/make/_metadata/version
new file mode 100644
index 000000000..e004c8779
--- /dev/null
+++ b/data/make/_metadata/version
@@ -0,0 +1 @@
+3.81
diff --git a/data/make/make-3.81.tar.gz b/data/make/make-3.81.tar.gz
new file mode 100644
index 000000000..7395e0527
--- /dev/null
+++ b/data/make/make-3.81.tar.gz
Binary files differ
diff --git a/data/make/make.sh b/data/make/make.sh
new file mode 100644
index 000000000..2e15bb43c
--- /dev/null
+++ b/data/make/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/make-3.81.tar.gz"
+cd make-3.81
+pkg:configure
+make
+pkg:install
diff --git a/data/nano/_metadata/description b/data/nano/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/nano/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/nano/_metadata/license b/data/nano/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/nano/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/nano/_metadata/maintainer b/data/nano/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/nano/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/nano/_metadata/priority b/data/nano/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/nano/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/nano/_metadata/section b/data/nano/_metadata/section
new file mode 100644
index 000000000..85042acd1
--- /dev/null
+++ b/data/nano/_metadata/section
@@ -0,0 +1 @@
+editor
diff --git a/data/nano/_metadata/version b/data/nano/_metadata/version
new file mode 100644
index 000000000..f1547e6d1
--- /dev/null
+++ b/data/nano/_metadata/version
@@ -0,0 +1 @@
+2.0.7
diff --git a/data/nano/make.sh b/data/nano/make.sh
new file mode 100644
index 000000000..4b04980d0
--- /dev/null
+++ b/data/nano/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/nano-2.0.7.tar.gz"
+cd nano-2.0.7
+pkg:configure
+make
+pkg:install
diff --git a/data/nano/nano-2.0.7.tar.gz b/data/nano/nano-2.0.7.tar.gz
new file mode 100644
index 000000000..fd55d0f85
--- /dev/null
+++ b/data/nano/nano-2.0.7.tar.gz
Binary files differ
diff --git a/data/ncftp/_metadata/description b/data/ncftp/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/ncftp/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/ncftp/_metadata/license b/data/ncftp/_metadata/license
new file mode 100644
index 000000000..c51327ab2
--- /dev/null
+++ b/data/ncftp/_metadata/license
@@ -0,0 +1,136 @@
+ The Clarified Artistic License
+
+ Preamble
+
+The intent of this document is to state the conditions under which a
+Package may be copied, such that the Copyright Holder maintains some
+semblance of artistic control over the development of the package,
+while giving the users of the package the right to use and distribute
+the Package in a more-or-less customary fashion, plus the right to make
+reasonable modifications.
+
+Definitions:
+
+ "Package" refers to the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection of files
+ created through textual modification.
+
+ "Standard Version" refers to such a Package if it has not been
+ modified, or has been modified in accordance with the wishes
+ of the Copyright Holder as specified below.
+
+ "Copyright Holder" is whoever is named in the copyright or
+ copyrights for the package.
+
+ "You" is you, if you're thinking about copying or distributing
+ this Package.
+
+ "Distribution fee" is a fee you charge for providing a copy
+ of this Package to another party.
+
+ "Freely Available" means that no fee is charged for the right to
+ use the item, though there may be fees involved in handling the
+ item. It also means that recipients of the item may redistribute
+ it under the same conditions they received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications
+derived from the Public Domain, or those made Freely Available, or from
+the Copyright Holder. A Package modified in such a way shall still be
+considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided
+that you insert a prominent notice in each changed file stating how and
+when you changed that file, and provided that you do at least ONE of the
+following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or an
+ equivalent medium, or placing the modifications on a major network
+ archive site allowing unrestricted access to them, or by allowing the
+ Copyright Holder to include your modifications in the Standard Version
+ of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided, and provide
+ a separate manual page for each non-standard executable that clearly
+ documents how it differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+ e) permit and encourage anyone who receives a copy of the modified Package
+ permission to make your modifications Freely Available
+ in some specific way.
+
+
+4. You may distribute the programs of this Package in object code or
+executable form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where
+ to get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of
+ the Package with your modifications.
+
+ c) give non-standard executables non-standard names, and clearly
+ document the differences in manual pages (or equivalent), together
+ with instructions on where to get the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+ e) offer the machine-readable source of the Package, with your
+ modifications, by mail order.
+
+5. You may charge a distribution fee for any distribution of this Package.
+If you offer support for this Package, you may charge any fee you choose
+for that support. You may not charge a license fee for the right to use
+this Package itself. You may distribute this Package in aggregate with
+other (possibly commercial and possibly nonfree) programs as part of a
+larger (possibly commercial and possibly nonfree) software distribution,
+and charge license fees for other parts of that software distribution,
+provided that you do not advertise this Package as a product of your own.
+If the Package includes an interpreter, You may embed this Package's
+interpreter within an executable of yours (by linking); this shall be
+construed as a mere form of aggregation, provided that the complete
+Standard Version of the interpreter is so embedded.
+
+6. The scripts and library files supplied as input to or produced as
+output from the programs of this Package do not automatically fall
+under the copyright of this Package, but belong to whoever generated
+them, and may be sold commercially, and may be aggregated with this
+Package. If such scripts or library files are aggregated with this
+Package via the so-called "undump" or "unexec" methods of producing a
+binary executable image, then distribution of such an image shall
+neither be construed as a distribution of this Package nor shall it
+fall under the restrictions of Paragraphs 3 and 4, provided that you do
+not represent such an executable image as a Standard Version of this
+Package.
+
+7. C subroutines (or comparably compiled subroutines in other
+languages) supplied by you and linked into this Package in order to
+emulate subroutines and variables of the language defined by this
+Package shall not be considered part of this Package, but are the
+equivalent of input as in Paragraph 6, provided these subroutines do
+not change the language in any way that would cause it to fail the
+regression tests for the language.
+
+8. Aggregation of the Standard Version of the Package with a commercial
+distribution is always permitted provided that the use of this Package
+is embedded; that is, when no overt attempt is made to make this Package's
+interfaces visible to the end user of the commercial distribution.
+Such use shall not be construed as a distribution of this Package.
+
+9. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ The End
diff --git a/data/ncftp/_metadata/maintainer b/data/ncftp/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/ncftp/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/ncftp/_metadata/priority b/data/ncftp/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/ncftp/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/ncftp/_metadata/section b/data/ncftp/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/ncftp/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/ncftp/_metadata/version b/data/ncftp/_metadata/version
new file mode 100644
index 000000000..e4604e3af
--- /dev/null
+++ b/data/ncftp/_metadata/version
@@ -0,0 +1 @@
+3.2.1
diff --git a/data/ncftp/make.sh b/data/ncftp/make.sh
new file mode 100644
index 000000000..6fdffefe7
--- /dev/null
+++ b/data/ncftp/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/ncftp-3.2.1-src.tar.gz"
+cd ncftp-3.2.1
+CC=$(which arm-apple-darwin-gcc) ./configure --prefix=/usr
+make
+mkdir -p "${PKG_DEST}/usr/share"
+pkg:install
diff --git a/data/ncftp/ncftp-3.2.1-src.tar.gz b/data/ncftp/ncftp-3.2.1-src.tar.gz
new file mode 100644
index 000000000..c92b29a92
--- /dev/null
+++ b/data/ncftp/ncftp-3.2.1-src.tar.gz
Binary files differ
diff --git a/data/ncurses/_metadata/description b/data/ncurses/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/ncurses/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/ncurses/_metadata/license b/data/ncurses/_metadata/license
new file mode 100644
index 000000000..f68feb873
--- /dev/null
+++ b/data/ncurses/_metadata/license
@@ -0,0 +1,27 @@
+-------------------------------------------------------------------------------
+-- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. --
+-- --
+-- Permission is hereby granted, free of charge, to any person obtaining a --
+-- copy of this software and associated documentation files (the --
+-- "Software"), to deal in the Software without restriction, including --
+-- without limitation the rights to use, copy, modify, merge, publish, --
+-- distribute, distribute with modifications, sublicense, and/or sell copies --
+-- of the Software, and to permit persons to whom the Software is furnished --
+-- to do so, subject to the following conditions: --
+-- --
+-- The above copyright notice and this permission notice shall be included --
+-- in all copies or substantial portions of the Software. --
+-- --
+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
+-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
+-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
+-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
+-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
+-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
+-- USE OR OTHER DEALINGS IN THE SOFTWARE. --
+-- --
+-- Except as contained in this notice, the name(s) of the above copyright --
+-- holders shall not be used in advertising or otherwise to promote the --
+-- sale, use or other dealings in this Software without prior written --
+-- authorization. --
+-------------------------------------------------------------------------------
diff --git a/data/ncurses/_metadata/maintainer b/data/ncurses/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/ncurses/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/ncurses/_metadata/priority b/data/ncurses/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/ncurses/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/ncurses/_metadata/section b/data/ncurses/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/ncurses/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/ncurses/_metadata/version b/data/ncurses/_metadata/version
new file mode 100644
index 000000000..2df33d769
--- /dev/null
+++ b/data/ncurses/_metadata/version
@@ -0,0 +1 @@
+5.6
diff --git a/data/ncurses/make.sh b/data/ncurses/make.sh
new file mode 100644
index 000000000..5ad559445
--- /dev/null
+++ b/data/ncurses/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/ncurses-5.6.tar.gz"
+cd ncurses-5.6
+pkg:configure --with-shared --without-normal --without-debug
+make
+pkg:install
diff --git a/data/ncurses/ncurses-5.6.tar.gz b/data/ncurses/ncurses-5.6.tar.gz
new file mode 100644
index 000000000..427a2230e
--- /dev/null
+++ b/data/ncurses/ncurses-5.6.tar.gz
Binary files differ
diff --git a/data/neon/_metadata/description b/data/neon/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/neon/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/neon/_metadata/expat.dep b/data/neon/_metadata/expat.dep
new file mode 120000
index 000000000..2100fb19e
--- /dev/null
+++ b/data/neon/_metadata/expat.dep
@@ -0,0 +1 @@
+../../expat \ No newline at end of file
diff --git a/data/neon/_metadata/license b/data/neon/_metadata/license
new file mode 120000
index 000000000..a278a1931
--- /dev/null
+++ b/data/neon/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/lgpl-2 \ No newline at end of file
diff --git a/data/neon/_metadata/maintainer b/data/neon/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/neon/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/neon/_metadata/openssl.dep b/data/neon/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/neon/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/neon/_metadata/priority b/data/neon/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/neon/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/neon/_metadata/section b/data/neon/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/neon/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/neon/_metadata/version b/data/neon/_metadata/version
new file mode 100644
index 000000000..12a91df0e
--- /dev/null
+++ b/data/neon/_metadata/version
@@ -0,0 +1 @@
+0.26.4
diff --git a/data/neon/make.sh b/data/neon/make.sh
new file mode 100644
index 000000000..4c1fedf53
--- /dev/null
+++ b/data/neon/make.sh
@@ -0,0 +1,8 @@
+tar -zxvf "${PKG_DATA}/neon-0.26.4.tar.gz"
+cd neon-0.26.4
+pkg:patch
+autoconf
+pkg:configure --enable-shared=yes --enable-static=no --with-ssl
+#--with-expat="${PKG_ROOT}/usr/lib/libexpat.la"
+make
+pkg:install
diff --git a/data/neon/neon-0.26.4.tar.gz b/data/neon/neon-0.26.4.tar.gz
new file mode 100644
index 000000000..ca34b96a1
--- /dev/null
+++ b/data/neon/neon-0.26.4.tar.gz
Binary files differ
diff --git a/data/neon/nmedit.diff b/data/neon/nmedit.diff
new file mode 100644
index 000000000..2b2797a7e
--- /dev/null
+++ b/data/neon/nmedit.diff
@@ -0,0 +1,51 @@
+diff -ru neon-0.26.4/aclocal.m4 neon-0.26.4+iPhone/aclocal.m4
+--- neon-0.26.4/aclocal.m4 2007-07-14 20:45:34.000000000 +0000
++++ neon-0.26.4+iPhone/aclocal.m4 2007-12-28 12:48:28.000000000 +0000
+@@ -3087,11 +3087,11 @@
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ case $cc_basename in
+ xlc*)
+@@ -3099,8 +3099,8 @@
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
+- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ ;;
+ *)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+@@ -5855,8 +5855,8 @@
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
+- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ case $cc_basename in
+ xlc*)
+@@ -5864,8 +5864,8 @@
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
+- _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+- _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
++ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~arm-apple-darwin-nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ ;;
+ *)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
diff --git a/data/netcat/_metadata/description b/data/netcat/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/netcat/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/netcat/_metadata/license b/data/netcat/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/netcat/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/netcat/_metadata/maintainer b/data/netcat/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/netcat/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/netcat/_metadata/priority b/data/netcat/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/netcat/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/netcat/_metadata/section b/data/netcat/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/netcat/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/netcat/_metadata/version b/data/netcat/_metadata/version
new file mode 100644
index 000000000..39e898a4f
--- /dev/null
+++ b/data/netcat/_metadata/version
@@ -0,0 +1 @@
+0.7.1
diff --git a/data/netcat/make.sh b/data/netcat/make.sh
new file mode 100644
index 000000000..dd680557e
--- /dev/null
+++ b/data/netcat/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/netcat-0.7.1.tar.gz"
+cd netcat-0.7.1
+pkg:configure
+make
+pkg:install
+pkg:bin
diff --git a/data/netcat/netcat-0.7.1.tar.gz b/data/netcat/netcat-0.7.1.tar.gz
new file mode 100644
index 000000000..d9ddba836
--- /dev/null
+++ b/data/netcat/netcat-0.7.1.tar.gz
Binary files differ
diff --git a/data/network-cmds/_metadata/description b/data/network-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/network-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/network-cmds/_metadata/license b/data/network-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/network-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/network-cmds/_metadata/maintainer b/data/network-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/network-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/network-cmds/_metadata/priority b/data/network-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/network-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/network-cmds/_metadata/section b/data/network-cmds/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/network-cmds/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/network-cmds/_metadata/version b/data/network-cmds/_metadata/version
new file mode 100644
index 000000000..cd307095a
--- /dev/null
+++ b/data/network-cmds/_metadata/version
@@ -0,0 +1 @@
+306
diff --git a/data/network-cmds/make.sh b/data/network-cmds/make.sh
new file mode 100644
index 000000000..bded00874
--- /dev/null
+++ b/data/network-cmds/make.sh
@@ -0,0 +1,10 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/network_cmds-306.tar.gz"
+cd network_cmds-306
+for tproj in !(natd|spray).tproj; do
+ tproj=$(basename "${tproj}" .tproj)
+ arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/*.c -DPRIVATE -Dether_ntohost=_old_ether_ntohost
+ pkg:usrbin "${tproj}"
+done
+arm-apple-darwin-gcc -Ialias -o natd natd.tproj/*.c alias/*.c -DPRIVATE
+pkg:usrbin natd
diff --git a/data/network-cmds/network_cmds-306.tar.gz b/data/network-cmds/network_cmds-306.tar.gz
new file mode 100644
index 000000000..a3e30a72a
--- /dev/null
+++ b/data/network-cmds/network_cmds-306.tar.gz
Binary files differ
diff --git a/data/ngrep/_metadata/description b/data/ngrep/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/ngrep/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/ngrep/_metadata/license b/data/ngrep/_metadata/license
new file mode 100644
index 000000000..426c9c344
--- /dev/null
+++ b/data/ngrep/_metadata/license
@@ -0,0 +1,38 @@
+Copyright (c) 2006 Jordan Ritter. All rights reserved.
+
+Permission is granted to anyone to use this software for any purpose on
+any computer system, and to alter it and redistribute it, subject
+to the following restrictions:
+
+1. The origin of this software must not be misrepresented, either by
+ explicit claim or by omission.
+
+2. Altered versions must be plainly marked as such, and must not be
+ misrepresented as being the original software. Any altered version
+ must clearly and properly represent the origin of this software in
+ any accompanying documentation.
+
+3. All advertising materials which relate specifically to derivate
+ works of this software must display the following acknowledgement:
+ This product includes software developed by Jordan Ritter.
+
+4. The name of the Author may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+5. This notice, and any references to this notice, in any original or
+ derived source distribution of or documentation for this software,
+ may not be removed or altered.
+
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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/ngrep/_metadata/maintainer b/data/ngrep/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/ngrep/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/ngrep/_metadata/priority b/data/ngrep/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/ngrep/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/ngrep/_metadata/section b/data/ngrep/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/ngrep/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/ngrep/_metadata/version b/data/ngrep/_metadata/version
new file mode 100644
index 000000000..24c87c512
--- /dev/null
+++ b/data/ngrep/_metadata/version
@@ -0,0 +1 @@
+1.45
diff --git a/data/ngrep/host.diff b/data/ngrep/host.diff
new file mode 100644
index 000000000..752dd069a
--- /dev/null
+++ b/data/ngrep/host.diff
@@ -0,0 +1,12 @@
+diff -ur ngrep-1.45/configure.in ngrep-1.45+iPhone/configure.in
+--- ngrep-1.45/configure.in 2006-11-15 03:43:56.000000000 +0000
++++ ngrep-1.45+iPhone/configure.in 2007-12-31 01:29:18.000000000 +0000
+@@ -146,7 +146,7 @@
+
+ fi
+
+-( cd $REGEX_DIR && ./configure )
++( cd $REGEX_DIR && eval ./configure $ac_configure_args )
+
+ AC_SUBST(REGEX_DIR)
+ AC_SUBST(REGEX_OBJS)
diff --git a/data/ngrep/make.sh b/data/ngrep/make.sh
new file mode 100644
index 000000000..53af27b91
--- /dev/null
+++ b/data/ngrep/make.sh
@@ -0,0 +1,10 @@
+tar -jxvf "${PKG_DATA}/ngrep-1.45.tar.bz2"
+cd ngrep-1.45
+pkg:patch
+autoconf
+cd regex-0.12
+autoconf
+cd ..
+pkg:configure "--with-pcap-includes=${PKG_ROOT}/usr/include"
+make
+pkg:install
diff --git a/data/ngrep/ngrep-1.45.tar.bz2 b/data/ngrep/ngrep-1.45.tar.bz2
new file mode 100644
index 000000000..636e9d1d3
--- /dev/null
+++ b/data/ngrep/ngrep-1.45.tar.bz2
Binary files differ
diff --git a/data/nmap/_metadata/description b/data/nmap/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/nmap/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/nmap/_metadata/libpcap.dep b/data/nmap/_metadata/libpcap.dep
new file mode 120000
index 000000000..6c356a9b8
--- /dev/null
+++ b/data/nmap/_metadata/libpcap.dep
@@ -0,0 +1 @@
+../../libpcap \ No newline at end of file
diff --git a/data/nmap/_metadata/license b/data/nmap/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/nmap/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/nmap/_metadata/maintainer b/data/nmap/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/nmap/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/nmap/_metadata/openssl.dep b/data/nmap/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/nmap/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/nmap/_metadata/priority b/data/nmap/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/nmap/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/nmap/_metadata/section b/data/nmap/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/nmap/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/nmap/_metadata/version b/data/nmap/_metadata/version
new file mode 100644
index 000000000..4ba185d41
--- /dev/null
+++ b/data/nmap/_metadata/version
@@ -0,0 +1 @@
+4.50
diff --git a/data/nmap/bsd.diff b/data/nmap/bsd.diff
new file mode 100644
index 000000000..23ab29271
--- /dev/null
+++ b/data/nmap/bsd.diff
@@ -0,0 +1,12 @@
+diff -ru nmap-4.50/libdnet-stripped/configure.in nmap-4.50+iPhone/libdnet-stripped/configure.in
+--- nmap-4.50/libdnet-stripped/configure.in 2007-11-27 06:22:46.000000000 +0000
++++ nmap-4.50+iPhone/libdnet-stripped/configure.in 2007-12-24 19:50:24.000000000 +0000
+@@ -226,7 +226,7 @@
+ elif test "$ac_cv_dnet_bsd_bpf" = yes ; then
+ AC_LIBOBJ([eth-bsd])
+ elif test "$ac_cv_dnet_linux_pf_packet" = yes ; then
+- AC_LIBOBJ([eth-linux])
++ AC_LIBOBJ([eth-bsd])
+ elif test "$ac_cv_header_net_raw_h" = yes ; then
+ AC_LIBOBJ([eth-snoop])
+ elif test "$ac_cv_header_sys_ndd_var_h" = yes ; then
diff --git a/data/nmap/bsd.diff_ b/data/nmap/bsd.diff_
new file mode 100644
index 000000000..69f5cd2e5
--- /dev/null
+++ b/data/nmap/bsd.diff_
@@ -0,0 +1,24 @@
+diff -ru nmap-4.50/libdnet-stripped/configure.in nmap-4.50+iPhone/libdnet-stripped/configure.in
+--- nmap-4.50/libdnet-stripped/configure.in 2007-11-27 06:22:46.000000000 +0000
++++ nmap-4.50+iPhone/libdnet-stripped/configure.in 2007-12-24 19:50:24.000000000 +0000
+@@ -226,7 +226,7 @@
+ elif test "$ac_cv_dnet_bsd_bpf" = yes ; then
+ AC_LIBOBJ([eth-bsd])
+ elif test "$ac_cv_dnet_linux_pf_packet" = yes ; then
+- AC_LIBOBJ([eth-linux])
++ AC_LIBOBJ([eth-bsd])
+ elif test "$ac_cv_header_net_raw_h" = yes ; then
+ AC_LIBOBJ([eth-snoop])
+ elif test "$ac_cv_header_sys_ndd_var_h" = yes ; then
+diff -ru nmap-4.50/libdnet-stripped/src/Makefile.in nmap-4.50+iPhone/libdnet-stripped/src/Makefile.in
+--- nmap-4.50/libdnet-stripped/src/Makefile.in 2007-11-27 06:22:46.000000000 +0000
++++ nmap-4.50+iPhone/libdnet-stripped/src/Makefile.in 2007-12-24 19:50:24.000000000 +0000
+@@ -40,7 +40,7 @@
+ host_triplet = @host@
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(top_srcdir)/Makefile.am.common arp-bsd.c arp-ioctl.c \
+- arp-none.c arp-win32.c err.c eth-bsd.c eth-dlpi.c eth-linux.c \
++ arp-none.c arp-win32.c err.c eth-bsd.c eth-dlpi.c eth-bsd.c \
+ eth-ndd.c eth-none.c eth-pfilt.c eth-snoop.c eth-win32.c \
+ fw-none.c intf-win32.c intf.c ip-cooked.c ip-win32.c ip.c \
+ memcmp.c route-bsd.c route-hpux.c route-linux.c route-none.c \
diff --git a/data/nmap/exit.diff b/data/nmap/exit.diff
new file mode 100644
index 000000000..41a490bce
--- /dev/null
+++ b/data/nmap/exit.diff
@@ -0,0 +1,11 @@
+diff -ru nmap-4.50/nmap.cc nmap-4.50+iPhone/nmap.cc
+--- nmap-4.50/nmap.cc 2007-11-03 01:31:02.000000000 +0000
++++ nmap-4.50+iPhone/nmap.cc 2007-12-24 21:19:34.000000000 +0000
+@@ -1826,6 +1826,7 @@
+
+ nmap_free_mem();
+ }
++ _exit(0);
+ return 0;
+ }
+
diff --git a/data/nmap/libpcap.diff b/data/nmap/libpcap.diff
new file mode 100644
index 000000000..96af35421
--- /dev/null
+++ b/data/nmap/libpcap.diff
@@ -0,0 +1,27 @@
+diff -r -u nmap-4.50/configure.ac nmap-4.50+iPhone/configure.ac
+--- nmap-4.50/configure.ac 2007-11-27 22:18:59.000000000 +0000
++++ nmap-4.50+iPhone/configure.ac 2007-12-28 08:46:40.000000000 +0000
+@@ -306,22 +306,7 @@
+ LIBS_OLD="$LIBS"
+ LIBS="$LIBS -lpcap"
+ AC_MSG_CHECKING(if libpcap version is recent enough)
+- AC_TRY_RUN([
+-#include <stdio.h>
+-extern char pcap_version[];
+-int main() {
+- int major, minor1, minor2;
+- sscanf(pcap_version,"%d.%d.%d", &major, &minor1, &minor2);
+- if (major > 0)
+- exit(0);
+- if (minor1 < 9)
+- exit(1);
+- if (minor2 < 4)
+- exit(1);
+- exit(0);
+-}],
+-[AC_MSG_RESULT(yes); have_libpcap=yes],
+-[AC_MSG_RESULT(no); have_libpcap=no])
++AC_MSG_RESULT(yes); have_libpcap=yes
+ LIBS="$LIBS_OLD"
+ fi
+
diff --git a/data/nmap/make.sh b/data/nmap/make.sh
new file mode 100644
index 000000000..d7434e06c
--- /dev/null
+++ b/data/nmap/make.sh
@@ -0,0 +1,10 @@
+tar -jxvf "${PKG_DATA}/nmap-4.50.tar.bz2"
+cd nmap-4.50
+pkg:patch
+autoconf
+cd libdnet-stripped
+autoconf
+cd ..
+pkg:configure --without-liblua --without-python --without-zenmap
+make
+pkg:install
diff --git a/data/nmap/nmap-4.50.tar.bz2 b/data/nmap/nmap-4.50.tar.bz2
new file mode 100644
index 000000000..0ac163110
--- /dev/null
+++ b/data/nmap/nmap-4.50.tar.bz2
Binary files differ
diff --git a/data/nvi/_metadata/description b/data/nvi/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/nvi/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/nvi/_metadata/license b/data/nvi/_metadata/license
new file mode 100644
index 000000000..78e8f4a40
--- /dev/null
+++ b/data/nvi/_metadata/license
@@ -0,0 +1,40 @@
+The vi program is freely redistributable. You are welcome to copy, modify
+and share it with others under the conditions listed in this file. If any
+company (not any individual!) finds vi sufficiently useful that you would
+have purchased it, or if any company wishes to redistribute it, contributions
+to the authors would be appreciated.
+
+/*-
+ * Copyright (c) 1991, 1992, 1993, 1994
+ * The Regents of the University of California. All rights reserved.
+ * Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996
+ * Keith Bostic. 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the University of
+ * California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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/nvi/_metadata/maintainer b/data/nvi/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/nvi/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/nvi/_metadata/priority b/data/nvi/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/nvi/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/nvi/_metadata/section b/data/nvi/_metadata/section
new file mode 100644
index 000000000..85042acd1
--- /dev/null
+++ b/data/nvi/_metadata/section
@@ -0,0 +1 @@
+editor
diff --git a/data/nvi/_metadata/version b/data/nvi/_metadata/version
new file mode 100644
index 000000000..17420a571
--- /dev/null
+++ b/data/nvi/_metadata/version
@@ -0,0 +1 @@
+1.79
diff --git a/data/nvi/make.sh b/data/nvi/make.sh
new file mode 100644
index 000000000..5b013df51
--- /dev/null
+++ b/data/nvi/make.sh
@@ -0,0 +1,7 @@
+pkg:extract
+cd nvi-1.79
+pkg:patch
+cd build
+ac_cv_lib_termcap=no vi_cv_sys5_pty=no pkg:configure --disable-curses
+make CC=arm-apple-darwin-gcc
+make install prefix="${PKG_DEST}/usr" strip="$(which arm-apple-darwin-strip)"
diff --git a/data/nvi/nvi-1.79.tar.gz b/data/nvi/nvi-1.79.tar.gz
new file mode 100644
index 000000000..ccb6ac979
--- /dev/null
+++ b/data/nvi/nvi-1.79.tar.gz
Binary files differ
diff --git a/data/nvi/subshell.diff b/data/nvi/subshell.diff
new file mode 100644
index 000000000..71322ab43
--- /dev/null
+++ b/data/nvi/subshell.diff
@@ -0,0 +1,16 @@
+diff -ru nvi-1.79/build/Makefile.in nvi-1.79+iPhone/build/Makefile.in
+--- nvi-1.79/build/Makefile.in 1996-10-23 13:43:38.000000000 +0000
++++ nvi-1.79+iPhone/build/Makefile.in 2008-01-01 05:24:54.000000000 +0000
+@@ -137,12 +137,6 @@
+ $(chmod) $(dmode) $(datadir)/vi/catalog
+ (cd $(srcdir)/catalog && $(cp) $(cat) $(datadir)/vi/catalog && \
+ cd $(datadir)/vi/catalog && $(chmod) $(fmode) *)
+- @echo "Installing Perl scripts: $(datadir)/vi/perl ..."
+- $(mkdir) $(datadir)/vi/perl && $(chmod) $(dmode) $(datadir)/vi/perl
+- [ -f VI.pm ] && $(cp) VI.pm $(datadir)/vi/perl && \
+- cd $(datadir)/vi/perl && $(chmod) $(fmode) VI.pm)
+- (cd $(srcdir)/perl_scripts && $(cp) *.pl $(datadir)/vi/perl && \
+- cd $(datadir)/vi/perl && $(chmod) $(fmode) *.pl)
+ @echo "Installing Tcl scripts: $(datadir)/vi/tcl ..."
+ $(mkdir) $(datadir)/vi/tcl && $(chmod) $(dmode) $(datadir)/vi/tcl
+ (cd $(srcdir)/tcl_scripts && $(cp) *.tcl $(datadir)/vi/tcl && \
diff --git a/data/odcctools/_metadata/description b/data/odcctools/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/odcctools/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/odcctools/_metadata/license b/data/odcctools/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/odcctools/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/odcctools/_metadata/maintainer b/data/odcctools/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/odcctools/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/odcctools/_metadata/priority b/data/odcctools/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/odcctools/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/odcctools/_metadata/section b/data/odcctools/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/odcctools/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/odcctools/_metadata/version b/data/odcctools/_metadata/version
new file mode 100644
index 000000000..7fba2b437
--- /dev/null
+++ b/data/odcctools/_metadata/version
@@ -0,0 +1 @@
+209
diff --git a/data/odcctools/adrbxj.diff b/data/odcctools/adrbxj.diff
new file mode 100644
index 000000000..4e82a3d19
--- /dev/null
+++ b/data/odcctools/adrbxj.diff
@@ -0,0 +1,176 @@
+diff -ru odcctools/as/arm.c odcctools+iPhone/as/arm.c
+--- odcctools/as/arm.c 2007-09-13 02:31:45.000000000 +0000
++++ odcctools+iPhone/as/arm.c 2007-12-29 08:49:20.000000000 +0000
+@@ -648,6 +648,18 @@
+ fill_reloc_value(buf, (unsigned int)n, 0x00000fff);
+ break;
+
++ case ARM_RELOC_ADR:
++ val -= 4;
++ if (val >= 0)
++ n = 1 << 23;
++ else {
++ n = 1 << 22;
++ val = -val;
++ }
++ n |= generate_shifted_immediate(val, NULL);
++ fill_reloc_value(buf, (unsigned int)n, 0x00c00fff);
++ break;
++
+ case ARM_RELOC_SHIFT_IMM:
+ if (val == 32)
+ val = 0;
+diff -ru odcctools/as/armop.c odcctools+iPhone/as/armop.c
+--- odcctools/as/armop.c 2007-10-16 20:20:35.000000000 +0000
++++ odcctools+iPhone/as/armop.c 2007-12-29 08:49:59.000000000 +0000
+@@ -5,7 +5,7 @@
+
+ #include "army.h"
+
+-int arm_op_count = 5823;
++int arm_op_count = 5863;
+ struct arm_op_info arm_op_info[] = {
+ { "adc", OP_DATA_PROC_3, 0xe0a00000 },
+ { "adcal", OP_DATA_PROC_3, 0xe0a00000 },
+@@ -87,6 +87,46 @@
+ { "addvcs", OP_DATA_PROC_3, 0x70900000 },
+ { "addvs", OP_DATA_PROC_3, 0x60800000 },
+ { "addvss", OP_DATA_PROC_3, 0x60900000 },
++ { "adr", OP_ADR, 0xe0000000 },
++ { "adral", OP_ADR, 0xe0000000 },
++ { "adrals", OP_ADR, 0xe0100000 },
++ { "adrcc", OP_ADR, 0x30000000 },
++ { "adrccs", OP_ADR, 0x30100000 },
++ { "adrcs", OP_ADR, 0x20000000 },
++ { "adrcss", OP_ADR, 0x20100000 },
++ { "adreq", OP_ADR, 0x00000000 },
++ { "adreqs", OP_ADR, 0x00100000 },
++ { "adrge", OP_ADR, 0xa0000000 },
++ { "adrges", OP_ADR, 0xa0100000 },
++ { "adrgt", OP_ADR, 0xc0000000 },
++ { "adrgts", OP_ADR, 0xc0100000 },
++ { "adrhi", OP_ADR, 0x80000000 },
++ { "adrhis", OP_ADR, 0x80100000 },
++ { "adrhs", OP_ADR, 0x20000000 },
++ { "adrhss", OP_ADR, 0x20100000 },
++ { "adrle", OP_ADR, 0xd0000000 },
++ { "adrles", OP_ADR, 0xd0100000 },
++ { "adrlo", OP_ADR, 0x30000000 },
++ { "adrlos", OP_ADR, 0x30100000 },
++ { "adrls", OP_ADR, 0x90000000 },
++ { "adrlss", OP_ADR, 0x90100000 },
++ { "adrlt", OP_ADR, 0xb0000000 },
++ { "adrlts", OP_ADR, 0xb0100000 },
++ { "adrmi", OP_ADR, 0x40000000 },
++ { "adrmis", OP_ADR, 0x40100000 },
++ { "adrne", OP_ADR, 0x10000000 },
++ { "adrnes", OP_ADR, 0x10100000 },
++ { "adrnv", OP_ADR, 0xf0000000 },
++ { "adrnvs", OP_ADR, 0xf0100000 },
++ { "adrpl", OP_ADR, 0x50000000 },
++ { "adrpls", OP_ADR, 0x50100000 },
++ { "adrs", OP_ADR, 0xe0100000 },
++ { "adrul", OP_ADR, 0x30000000 },
++ { "adruls", OP_ADR, 0x30100000 },
++ { "adrvc", OP_ADR, 0x70000000 },
++ { "adrvcs", OP_ADR, 0x70100000 },
++ { "adrvs", OP_ADR, 0x60000000 },
++ { "adrvss", OP_ADR, 0x60100000 },
+ { "and", OP_DATA_PROC_3, 0xe0000000 },
+ { "andal", OP_DATA_PROC_3, 0xe0000000 },
+ { "andals", OP_DATA_PROC_3, 0xe0100000 },
+Only in odcctools+iPhone/as: armop.c.orig
+Only in odcctools+iPhone/as: armop.c.rej
+diff -ru odcctools/as/armop.in odcctools+iPhone/as/armop.in
+--- odcctools/as/armop.in 2007-10-16 20:20:35.000000000 +0000
++++ odcctools+iPhone/as/armop.in 2007-12-29 08:49:20.000000000 +0000
+@@ -27,6 +27,7 @@
+ mov{<cond>}{s} t: OP_DATA_PROC_1 e: 1101 (21)
+ bic{<cond>}{s} t: OP_DATA_PROC_3 e: 1110 (21)
+ mvn{<cond>}{s} t: OP_DATA_PROC_1 e: 1111 (21)
++adr{<cond>}{s} t: OP_ADR e: 0000 (21)
+
+ # Multiply instructions
+ mul{<cond>}{s} t: OP_MUL e: 0000000 (21), 1001 (4)
+@@ -164,6 +165,7 @@
+ # -----------------------------------------------------------------------------
+
+ blx{<cond>} t: OP_BLX e: 0 (0)
++bxj{<cond>} t: OP_BXJ e: 0 (0)
+
+ smla{<x>}{<y>}{<cond>} t: OP_SMLA_XY e: 00010000 (20), 1 (7), 0 (4)
+ smlaw{<y>}{<cond>} t: OP_SMLA_XY e: 00010010 (20), 1 (7), 0 (5), 0 (4)
+diff -ru odcctools/as/army.y odcctools+iPhone/as/army.y
+--- odcctools/as/army.y 2007-10-16 23:11:52.000000000 +0000
++++ odcctools+iPhone/as/army.y 2007-12-29 08:49:20.000000000 +0000
+@@ -31,7 +31,7 @@
+ %token <nval> OPRD_REG
+ %token <ival> OPRD_IMM
+ %token <nval> OP_BRANCH OP_DATA_PROC_1 OP_DATA_PROC_2 OP_DATA_PROC_3 OP_MUL
+-%token <nval> OP_MLA OP_SMLAL OP_CLZ OP_LDR OP_LDRH OP_LDM OP_SWI OP_BKPT
++%token <nval> OP_MLA OP_SMLAL OP_CLZ OP_LDR OP_LDRH OP_LDM OP_SWI OP_BKPT OP_BXJ
+ %token <nval> OP_CPS_EFFECT OP_CPS OP_LDREX OP_MCRR2 OP_PKHBT OP_QADD16 OP_REV
+ %token <nval> OP_RFE OP_SXTAH OP_SEL OP_SETEND OP_SMLAD OP_SMLALD OP_SMMUL
+ %token <nval> OP_SRS OP_SSAT OP_SSAT16 OP_STREX OP_SXTH OP_SWP OP_USAD8 OP_USADA8
+@@ -41,7 +41,7 @@
+ %token <nval> OP_VFP_ST_D OP_VFP_MSR OP_VFP_MRS OP_VFP_MDXR OP_VFP_MRDX
+ %token <nval> OP_VFP_MXR OP_VFP_MRX OP_VFP_FMSTAT OP_VFP_DPX1_S OP_VFP_DPX1_D
+ %token <nval> OP_VFP_FMDRR OP_VFP_FMRRD OP_VFP_FMSRR OP_VFP_FMRRS OP_VFP_DPX_SD
+-%token <nval> OP_VFP_DPX_DS OP_MSR OP_MRS OP_LDC OP_MCR
++%token <nval> OP_VFP_DPX_DS OP_MSR OP_MRS OP_LDC OP_MCR OP_ADR
+ %token <nval> OPRD_LSL_LIKE OPRD_RRX OPRD_IFLAGS OPRD_COPROC OPRD_CR OPRD_REG_S
+ %token <nval> OPRD_REG_D OPRD_REG_VFP_SYS OPRD_ENDIANNESS OPRD_PSR
+ %token <nval> OPRD_COPRO_REG
+@@ -66,6 +66,7 @@
+ %type <nval> vfp_maybe_imm_offset generic_reg vfp_data_proc_inst
+ %type <nval> vfp_store_inst vfp_misc_inst vfp2_inst vfp_imm_offset_with_u_bit
+ %type <nval> vfp_store_am armv3_inst clz_class_inst armv2_inst
++%type <nval> bxj_class_inst
+ %type <nval> load_store_copro_am imm_div_4_with_u_bit mcr_opcode_2
+
+ %%
+@@ -101,6 +102,11 @@
+ { $$ = ($1 | $2 | $4 | (1 << 20)); }
+ | OP_DATA_PROC_3 dest_reg ',' src_reg ',' shifter_operand
+ { $$ = ($1 | $2 | $4 | $6); }
++ | OP_ADR dest_reg ',' expr
++ {
++ register_reloc_type(ARM_RELOC_ADR, 4, 1);
++ $$ = ($1 | $2 | (15 << 16) | (1 << 25));
++ }
+ ;
+
+ load_inst:
+@@ -378,6 +384,7 @@
+
+ armv5_inst:
+ blx_class_inst { $$ = $1; }
++ | bxj_class_inst { $$ = $1; }
+ | smla_xy_class_inst { $$ = $1; }
+ | smlal_xy_class_inst { $$ = $1; }
+ | smul_xy_class_inst { $$ = $1; }
+@@ -389,6 +396,10 @@
+ OP_CLZ OPRD_REG ',' OPRD_REG { $$ = ($1 | ($2 << 12) | $4); }
+ ;
+
++bxj_class_inst:
++ OP_BXJ OPRD_REG { $$ = ($1 | (0x12 << 20) | (0xfff2 << 4) | $2); }
++ ;
++
+ blx_class_inst:
+ OP_BLX branch_am { $$ = ((0x7d << 25) | $2); }
+ | OP_BLX OPRD_REG { $$ = ($1 | (0x12 << 20) | (0xfff3 << 4) | $2); }
+Only in odcctools+iPhone/as: army.y.orig
+diff -ru odcctools/include/mach-o/arm/reloc.h odcctools+iPhone/include/mach-o/arm/reloc.h
+--- odcctools/include/mach-o/arm/reloc.h 2007-09-08 01:05:35.000000000 +0000
++++ odcctools+iPhone/include/mach-o/arm/reloc.h 2007-12-29 08:49:16.000000000 +0000
+@@ -21,7 +21,8 @@
+ ARM_RELOC_PCREL_DATA_IMM12, /* Load and Store Word/Immediate Offset, r15 */
+ ARM_RELOC_SHIFT_IMM12, /* Data-processing operands - Immediate */
+ ARM_RELOC_PCREL_VFP_IMM8_TIMES_4, /* VFP Load and Store Word, r15 */
+- ARM_RELOC_SHIFT_IMM /* immediate shifter operand */
++ ARM_RELOC_SHIFT_IMM, /* immediate shifter operand */
++ ARM_RELOC_ADR /* immediate shifter operand with add/sub */
+ };
+
+ /* Determines whether a reloc can be exported to object files (1) or whether
diff --git a/data/odcctools/archive64.diff b/data/odcctools/archive64.diff
new file mode 100644
index 000000000..48ecb5e1a
--- /dev/null
+++ b/data/odcctools/archive64.diff
@@ -0,0 +1,21 @@
+diff -r -u odcctools/libstuff/ofile.c odcctools+iPhone/libstuff/ofile.c
+--- odcctools/libstuff/ofile.c 2007-09-08 01:05:35.000000000 +0000
++++ odcctools+iPhone/libstuff/ofile.c 2007-12-29 09:01:22.000000000 +0000
+@@ -105,7 +105,7 @@
+ unsigned long module_index);
+
+ #ifndef OTOOL
+-#ifdef ALIGNMENT_CHECKS
++#ifdef ALIGNMENT_CHECKS_ARCHIVE_64_BIT
+ static
+ void
+ temporary_archive_member_warning(
+@@ -128,7 +128,7 @@
+ print("\n");
+ va_end(ap);
+ }
+-#endif /* defined(ALIGNMENT_CHECKS) */
++#endif /* defined(ALIGNMENT_CHECKS_ARCHIVE_64_BIT) */
+ #endif /* !defined(OTOOL) */
+
+ #ifndef OFI
diff --git a/data/odcctools/comm.diff b/data/odcctools/comm.diff
new file mode 100644
index 000000000..93b5d0a54
--- /dev/null
+++ b/data/odcctools/comm.diff
@@ -0,0 +1,35 @@
+Index: as/read.c
+===================================================================
+--- odcctools/as/read.c (revision 206)
++++ odcctools+iPhone/as/read.c (working copy)
+@@ -1698,7 +1700,7 @@
+
+ /*
+ * s_comm() implements the pseudo op:
+- * .comm name , expression
++ * .comm name , expression [ , align_expression ]
+ */
+ static
+ void
+@@ -1710,6 +1712,7 @@
+ char *p;
+ signed_target_addr_t temp;
+ symbolS *symbolP;
++ int align;
+
+ if(*input_line_pointer == '"')
+ name = input_line_pointer + 1;
+@@ -1731,6 +1734,13 @@
+ ignore_rest_of_line();
+ return;
+ }
++ align = 0;
++ if(*input_line_pointer == ','){
++ input_line_pointer++;
++ align = get_absolute_expression();
++ as_warn("Alignment of %u specified on .comm, and we didn't care.", align);
++ }
++
+ *p = 0;
+ symbolP = symbol_find_or_make(name);
+ *p = c;
diff --git a/data/odcctools/ifnc.diff b/data/odcctools/ifnc.diff
new file mode 100644
index 000000000..5d77c5981
--- /dev/null
+++ b/data/odcctools/ifnc.diff
@@ -0,0 +1,225 @@
+Index: as/read.c
+===================================================================
+--- odcctools/as/read.c (revision 206)
++++ odcctools+iPhone/as/read.c (working copy)
+@@ -524,6 +525,7 @@
+ { "rept", s_rept, 0 },
+ { "endr", s_endr, 0 },
+ { "ifc", s_ifc, 0 },
++ { "ifnc", s_ifnc, 0 },
+ { NULL } /* end sentinel */
+ };
+
+@@ -3826,6 +3836,15 @@
+ return(s);
+ }
+
++static int is_identifier_char(char c) {
++ return
++ (c >= 'a' && c <= 'z') ||
++ (c >= 'A' && c <= 'Z') ||
++ (c >= '0' && c <= '9') ||
++ (c == '_' || c == '.') ||
++ (c == '=' || c == '$');
++}
++
+ /*
+ * demand_copy_string()
+ *
+@@ -3855,19 +3874,20 @@
+ obstack_1grow(&notes, c);
+ len++;
+ }
+- /*
+- * This next line is so demand_copy_C_string will return a null
+- * termanated string.
+- */
+- obstack_1grow(&notes, '\0');
+- retval = obstack_finish(&notes);
+ }
+ else{
+- as_bad("Missing string");
+- retval = NULL;
+- ignore_rest_of_line();
++ while (is_identifier_char(*input_line_pointer)) {
++ obstack_1grow(&notes, *input_line_pointer++);
++ len++;
++ }
+ }
++ /*
++ * This next line is so demand_copy_C_string will return a null
++ * termanated string.
++ */
++ obstack_1grow(&notes, '\0');
+ *lenP = len;
++ retval = obstack_finish(&notes);
+ return(retval);
+ }
+
+@@ -3964,6 +3984,36 @@
+ }
+
+ /* iPhone binutils extension: .ifc assembles if the two strings are the same */
++void s_ifnc(int value)
++{
++ char *ptr1, *ptr2;
++ int len1, len2;
++
++ if (if_depth >= MAX_IF_DEPTH)
++ as_fatal("Maximum if nesting level reached");
++ last_states[if_depth++] = the_cond_state;
++ the_cond_state.the_cond = if_cond;
++
++ if (the_cond_state.ignore)
++ totally_ignore_line();
++ else {
++ ptr1 = demand_copy_string(&len1);
++
++ SKIP_WHITESPACE();
++ if (*input_line_pointer != ',')
++ as_bad(".ifnc needs two strings separated by a comma (',')");
++ else
++ input_line_pointer++;
++
++ ptr2 = demand_copy_string(&len2);
++
++ the_cond_state.cond_met = (len1 != len2 || strncmp(ptr1, ptr2, len1));
++ the_cond_state.ignore = !the_cond_state.cond_met;
++ demand_empty_rest_of_line();
++ }
++}
++
++/* iPhone binutils extension: .ifc assembles if the two strings are the same */
+ void s_ifc(int value)
+ {
+ char *ptr1, *ptr2;
+@@ -4381,7 +4431,7 @@
+ * determine which it is. */
+ named_invocation = 0;
+ ptr = input_line_pointer;
+- while (!is_end_of_line(*ptr)) {
++ while (is_identifier_char(*ptr)) {
+ if (*ptr == '=') {
+ named_invocation = 1;
+ break;
+@@ -4391,66 +4441,58 @@
+
+ index = 0;
+
+- while (is_ignorable_ws(*input_line_pointer))
+- input_line_pointer++;
+- ptr = input_line_pointer;
++ SKIP_WHITESPACE();
+
+ /* Ok, now parse each argument. */
+ while (1) {
+- if (is_end_of_line(*input_line_pointer) || *input_line_pointer ==
+- ',' || is_ignorable_ws(*input_line_pointer)) {
+- len = input_line_pointer - ptr;
+- arg_buf = malloc(len + 1);
+- if (len)
+- strncpy(arg_buf, ptr, len);
+- arg_buf[len] = '\0';
++ int length;
++ char *value = demand_copy_string(&length);
+
+-#if 0
+- printf("arg is '%s'\n", arg_buf);
+-#endif
++ if (named_invocation) {
++ if (*input_line_pointer++ != '=') {
++ as_bad("In a named-argument-style macro invocation, "
++ "all of the arguments must be specified in the "
++ "named-argument style, but one or more weren't");
++ break;
++ }
+
+- if (named_invocation) {
+- arg_val_ptr = arg_buf;
+- strsep(&arg_val_ptr, "=");
+- if (arg_val_ptr == NULL) {
+- as_bad("In a named-argument-style macro invocation, "
+- "all of the arguments must be specified in the "
+- "named-argument style, but one or more weren't");
++ /* We've parsed it fine, now just find which argument the
++ * user meant. */
++ which_arg = -1;
++ for (i = 0; i < info->arg_count; i++) {
++ if (!strcmp(value, info->args[i]->name)) {
++ which_arg = i;
+ break;
+ }
++ }
+
+- /* We've parsed it fine, now just find which argument the
+- * user meant. */
+- which_arg = -1;
+- for (i = 0; i < info->arg_count; i++) {
+- if (!strcmp(arg_buf, info->args[i]->name)) {
+- which_arg = i;
+- break;
+- }
+- }
++ if (which_arg == -1) {
++ as_bad("'%s' doesn't name an argument of the macro "
++ "'%s'", arg_buf, info->name);
++ break;
++ }
+
+- if (which_arg == -1) {
+- as_bad("'%s' doesn't name an argument of the macro "
+- "'%s'", arg_buf, info->name);
+- break;
+- }
++ arguments[which_arg] = demand_copy_string(&length);
++ } else {
++ /* If not a named invocation, it's simple. */
++ arguments[index++] = value;
++ }
+
+- arguments[which_arg] = arg_val_ptr;
+- } else {
+- /* If not a named invocation, it's simple. */
+- arguments[index++] = arg_buf;
+- }
++ if (*input_line_pointer == ',') {
++ ++input_line_pointer;
++ SKIP_WHITESPACE();
++ continue;
++ } else if (
++ !is_end_of_line(*input_line_pointer) &&
++ !is_ignorable_ws(*input_line_pointer)
++ ) {
++ as_bad("invalid macro expansion argument character (%c)", *input_line_pointer);
++ }
+
+- if (*input_line_pointer == ',' || is_ignorable_ws(
+- *input_line_pointer)) {
+- input_line_pointer++;
+- while (is_ignorable_ws(*input_line_pointer))
+- input_line_pointer++;
+- ptr = input_line_pointer;
+- } else /* must be end of line */
+- break;
+- } else
+- input_line_pointer++;
++ SKIP_WHITESPACE();
++
++ if (is_end_of_line(*input_line_pointer))
++ break;
+ }
+
+ nargs = info->arg_count;
+Index: as/read.h
+===================================================================
+--- odcctools/as/read.h (revision 206)
++++ odcctools+iPhone/as/read.h (working copy)
+@@ -110,6 +110,8 @@
+ int value);
+ extern void s_endr(
+ int value);
++extern void s_ifnc(
++ int value);
+ extern void s_ifc(
+ int value);
+ extern void big_cons(
diff --git a/data/odcctools/make.sh b/data/odcctools/make.sh
new file mode 100644
index 000000000..ab01d270f
--- /dev/null
+++ b/data/odcctools/make.sh
@@ -0,0 +1,8 @@
+tar -zxvf "${PKG_DATA}/odcctools-209.tgz"
+cd odcctools
+rm -f include/mach/machine/{boolean,exception,kern_return,processor_info,thread_state,thread_status,vm_param,vm_types}.h
+rm -f include/mach/{task,thread_act,thread_status}.h include/mach/machine/rpc.h
+pkg:patch
+pkg:configure
+make
+pkg:install
diff --git a/data/odcctools/odcctools-209.tgz b/data/odcctools/odcctools-209.tgz
new file mode 100644
index 000000000..05de50e94
--- /dev/null
+++ b/data/odcctools/odcctools-209.tgz
Binary files differ
diff --git a/data/odcctools/word.diff b/data/odcctools/word.diff
new file mode 100644
index 000000000..9b588b21e
--- /dev/null
+++ b/data/odcctools/word.diff
@@ -0,0 +1,12 @@
+Index: as/read.c
+===================================================================
+--- odcctools/as/read.c (revision 206)
++++ odcctools+iPhone/as/read.c (working copy)
+@@ -488,6 +488,7 @@
+ { "lcomm", s_lcomm, 0 },
+ { "line", s_line, 0 },
+ { "long", cons, 4 },
++ { "word", cons, 4 },
+ { "quad", cons, 8 },
+ { "lsym", s_lsym, 0 },
+ { "section", s_section, 0 },
diff --git a/data/openssl/_metadata/description b/data/openssl/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/openssl/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/openssl/_metadata/license b/data/openssl/_metadata/license
new file mode 100644
index 000000000..ff99d9724
--- /dev/null
+++ b/data/openssl/_metadata/license
@@ -0,0 +1,127 @@
+
+ LICENSE ISSUES
+ ==============
+
+ The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
+ the OpenSSL License and the original SSLeay license apply to the toolkit.
+ See below for the actual license texts. Actually both licenses are BSD-style
+ Open Source licenses. In case of any license issues related to OpenSSL
+ please contact openssl-core@openssl.org.
+
+ OpenSSL License
+ ---------------
+
+/* ====================================================================
+ * Copyright (c) 1998-2007 The OpenSSL Project. 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. All advertising materials mentioning features or use of this
+ * software must display the following acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
+ *
+ * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
+ * endorse or promote products derived from this software without
+ * prior written permission. For written permission, please contact
+ * openssl-core@openssl.org.
+ *
+ * 5. Products derived from this software may not be called "OpenSSL"
+ * nor may "OpenSSL" appear in their names without prior written
+ * permission of the OpenSSL Project.
+ *
+ * 6. Redistributions of any form whatsoever must retain the following
+ * acknowledgment:
+ * "This product includes software developed by the OpenSSL Project
+ * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
+ * EXPRESSED 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 OpenSSL PROJECT OR
+ * ITS 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.
+ * ====================================================================
+ *
+ * This product includes cryptographic software written by Eric Young
+ * (eay@cryptsoft.com). This product includes software written by Tim
+ * Hudson (tjh@cryptsoft.com).
+ *
+ */
+
+ Original SSLeay License
+ -----------------------
+
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
+ * All rights reserved.
+ *
+ * This package is an SSL implementation written
+ * by Eric Young (eay@cryptsoft.com).
+ * The implementation was written so as to conform with Netscapes SSL.
+ *
+ * This library is free for commercial and non-commercial use as long as
+ * the following conditions are aheared to. The following conditions
+ * apply to all code found in this distribution, be it the RC4, RSA,
+ * lhash, DES, etc., code; not just the SSL code. The SSL documentation
+ * included with this distribution is covered by the same copyright terms
+ * except that the holder is Tim Hudson (tjh@cryptsoft.com).
+ *
+ * Copyright remains Eric Young's, and as such any Copyright notices in
+ * the code are not to be removed.
+ * If this package is used in a product, Eric Young should be given attribution
+ * as the author of the parts of the library used.
+ * This can be in the form of a textual message at program startup or
+ * in documentation (online or textual) provided with the package.
+ *
+ * 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 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. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * "This product includes cryptographic software written by
+ * Eric Young (eay@cryptsoft.com)"
+ * The word 'cryptographic' can be left out if the rouines from the library
+ * being used are not cryptographic related :-).
+ * 4. If you include any Windows specific code (or a derivative thereof) from
+ * the apps directory (application code) you must include an acknowledgement:
+ * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
+ *
+ * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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.
+ *
+ * The licence and distribution terms for any publically available version or
+ * derivative of this code cannot be changed. i.e. this code cannot simply be
+ * copied and put under another distribution licence
+ * [including the GNU Public Licence.]
+ */
+
diff --git a/data/openssl/_metadata/maintainer b/data/openssl/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/openssl/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/openssl/_metadata/priority b/data/openssl/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/openssl/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/openssl/_metadata/section b/data/openssl/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/openssl/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/openssl/_metadata/version b/data/openssl/_metadata/version
new file mode 100644
index 000000000..c58f8bc67
--- /dev/null
+++ b/data/openssl/_metadata/version
@@ -0,0 +1 @@
+0.9.8g
diff --git a/data/openssl/armnm.diff b/data/openssl/armnm.diff
new file mode 100644
index 000000000..d6fed48e6
--- /dev/null
+++ b/data/openssl/armnm.diff
@@ -0,0 +1,12 @@
+diff -ru openssl-0.9.8g/Makefile.shared openssl-0.9.8g+iPhone/Makefile.shared
+--- openssl-0.9.8g/Makefile.shared 2007-09-16 14:11:51.000000000 +0000
++++ openssl-0.9.8g+iPhone/Makefile.shared 2007-12-30 04:20:19.000000000 +0000
+@@ -101,7 +101,7 @@
+ LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \
+ SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \
+ SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \
+- nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
++ arm-apple-darwin-nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \
+ LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \
+ LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \
+ LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \
diff --git a/data/openssl/darwin.diff b/data/openssl/darwin.diff
new file mode 100644
index 000000000..fc65cf9e7
--- /dev/null
+++ b/data/openssl/darwin.diff
@@ -0,0 +1,11 @@
+diff -ru openssl-0.9.8g/Configure openssl-0.9.8g+iPhone/Configure
+--- openssl-0.9.8g/Configure 2007-09-16 12:24:17.000000000 +0000
++++ openssl-0.9.8g+iPhone/Configure 2007-12-30 04:04:20.000000000 +0000
+@@ -501,6 +501,7 @@
+ "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::",
+ "darwin-ppc-cc","cc:-arch ppc -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+ "darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:ppccpuid_osx64.o:osx_ppc64.o osx_ppc64-mont.o:::::sha1-ppc_osx64.o sha256-ppc_osx64.o sha512-ppc_osx64.o:::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
++"darwin-arm-gcc","arm-apple-darwin-gcc:-arch arm -O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch arm -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib:arm-apple-darwin-ranlib",
+ "darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+ "darwin64-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer -DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
+ "debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib",
diff --git a/data/openssl/make.sh b/data/openssl/make.sh
new file mode 100644
index 000000000..927406d2a
--- /dev/null
+++ b/data/openssl/make.sh
@@ -0,0 +1,10 @@
+tar -zxvf "${PKG_DATA}/openssl-0.9.8g.tar.gz"
+cd openssl-0.9.8g
+pkg:patch
+./Configure darwin-arm-gcc --prefix=/usr --openssldir=/usr/lib/ssl shared
+make AR='arm-apple-darwin-ar -r'
+make install INSTALL_PREFIX="${PKG_DEST}"
+rm -rf "${PKG_DEST}"/usr/lib/man
+mkdir -p "${PKG_DEST}"/etc/ssl
+mv "${PKG_DEST}"/usr/lib/ssl/{certs,openssl.cnf,private} "${PKG_DEST}"/etc/ssl
+ln -s /etc/ssl/{certs,openssl.cnf,private} "${PKG_DEST}"/usr/lib/ssl
diff --git a/data/openssl/openssl-0.9.8g.tar.gz b/data/openssl/openssl-0.9.8g.tar.gz
new file mode 100644
index 000000000..14ac17618
--- /dev/null
+++ b/data/openssl/openssl-0.9.8g.tar.gz
Binary files differ
diff --git a/data/psmisc/_metadata/description b/data/psmisc/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/psmisc/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/psmisc/_metadata/license b/data/psmisc/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/psmisc/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/psmisc/_metadata/maintainer b/data/psmisc/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/psmisc/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/psmisc/_metadata/priority b/data/psmisc/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/psmisc/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/psmisc/_metadata/section b/data/psmisc/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/psmisc/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/psmisc/_metadata/version b/data/psmisc/_metadata/version
new file mode 100644
index 000000000..059080291
--- /dev/null
+++ b/data/psmisc/_metadata/version
@@ -0,0 +1 @@
+22.6
diff --git a/data/psmisc/fuser.diff b/data/psmisc/fuser.diff
new file mode 100644
index 000000000..20ac47f51
--- /dev/null
+++ b/data/psmisc/fuser.diff
@@ -0,0 +1,23 @@
+diff -r -u psmisc-22.6/src/Makefile.am psmisc-22.6+iPhone/src/Makefile.am
+--- psmisc-22.6/src/Makefile.am 2007-07-04 02:21:50.000000000 +0000
++++ psmisc-22.6+iPhone/src/Makefile.am 2007-12-27 13:27:03.000000000 +0000
+@@ -1,7 +1,7 @@
+
+ AM_CFLAGS = -Wall -DLOCALEDIR=\"/usr/share/locale\"
+
+-bin_PROGRAMS = fuser killall pstree oldfuser
++bin_PROGRAMS = killall pstree
+ if WANT_PEEKFD_I386
+ bin_PROGRAMS += peekfd
+ AM_CFLAGS += -DI386
+@@ -15,10 +15,6 @@
+ AM_CFLAGS += -DPPC
+ endif
+
+-oldfuser_SOURCES = oldfuser.c comm.h signals.c signals.h loop.h i18n.h
+-
+-fuser_SOURCES = fuser.c comm.h signals.c signals.h i18n.h fuser.h
+-
+ killall_SOURCES = killall.c comm.h signals.c signals.h i18n.h
+
+ killall_LDADD = @SELINUX_LIB@
diff --git a/data/psmisc/getline.diff b/data/psmisc/getline.diff
new file mode 100644
index 000000000..9b2b3d44d
--- /dev/null
+++ b/data/psmisc/getline.diff
@@ -0,0 +1,32 @@
+diff -r -u psmisc-22.6/src/killall.c psmisc-22.6+iPhone/src/killall.c
+--- psmisc-22.6/src/killall.c 2007-06-03 10:58:09.000000000 +0000
++++ psmisc-22.6+iPhone/src/killall.c 2007-12-27 13:28:53.000000000 +0000
+@@ -64,9 +64,8 @@
+ {
+ int res;
+ size_t len;
+- char *line;
++ char line[1024];
+
+- line = NULL;
+ len = 0;
+
+ do {
+@@ -79,16 +78,14 @@
+
+ fflush (stdout);
+
+- if (getline (&line, &len, stdin) < 0)
++ if (fgets(line, sizeof(line), stdin) == NULL)
+ return 0;
+ /* Check for default */
+ if (line[0] == '\n') {
+- free(line);
+ return 0;
+ }
+ res = rpmatch(line);
+ if (res >= 0) {
+- free(line);
+ return res;
+ }
+ } while(1);
diff --git a/data/psmisc/make.sh b/data/psmisc/make.sh
new file mode 100644
index 000000000..8337f63c8
--- /dev/null
+++ b/data/psmisc/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/psmisc-22.6.tar.gz"
+cd psmisc-22.6
+pkg:patch
+automake
+pkg:configure ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
+make
+pkg:install
diff --git a/data/psmisc/pathmax.diff b/data/psmisc/pathmax.diff
new file mode 100644
index 000000000..23f83dd49
--- /dev/null
+++ b/data/psmisc/pathmax.diff
@@ -0,0 +1,11 @@
+diff -r -u psmisc-22.6/src/killall.c psmisc-22.6+iPhone/src/killall.c
+--- psmisc-22.6/src/killall.c 2007-06-03 10:58:09.000000000 +0000
++++ psmisc-22.6+iPhone/src/killall.c 2007-12-27 13:26:48.000000000 +0000
+@@ -36,6 +36,7 @@
+ #include <dirent.h>
+ #include <signal.h>
+ #include <errno.h>
++#include <sys/param.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <getopt.h>
diff --git a/data/psmisc/psmisc-22.6.tar.gz b/data/psmisc/psmisc-22.6.tar.gz
new file mode 100644
index 000000000..b9616e6b4
--- /dev/null
+++ b/data/psmisc/psmisc-22.6.tar.gz
Binary files differ
diff --git a/data/readline/_metadata/description b/data/readline/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/readline/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/readline/_metadata/license b/data/readline/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/readline/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/readline/_metadata/maintainer b/data/readline/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/readline/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/readline/_metadata/priority b/data/readline/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/readline/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/readline/_metadata/section b/data/readline/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/readline/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/readline/_metadata/version b/data/readline/_metadata/version
new file mode 100644
index 000000000..ef425ca98
--- /dev/null
+++ b/data/readline/_metadata/version
@@ -0,0 +1 @@
+5.2
diff --git a/data/readline/archarm.diff b/data/readline/archarm.diff
new file mode 100644
index 000000000..40d3a909f
--- /dev/null
+++ b/data/readline/archarm.diff
@@ -0,0 +1,49 @@
+diff -ru readline-5.2/support/shobj-conf readline-5.2+iPhone/support/shobj-conf
+--- readline-5.2/support/shobj-conf 2006-04-11 13:15:43.000000000 +0000
++++ readline-5.2+iPhone/support/shobj-conf 2007-12-28 14:22:45.000000000 +0000
+@@ -142,42 +142,19 @@
+ ;;
+
+ # Darwin/MacOS X
+-darwin8*)
++darwin*|macosx*)
+ SHOBJ_STATUS=supported
+ SHLIB_STATUS=supported
+
+ SHOBJ_CFLAGS='-fno-common'
+
+- SHOBJ_LD='MACOSX_DEPLOYMENT_TARGET=10.3 ${CC}'
+-
+- SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
+- SHLIB_LIBSUFF='dylib'
+-
+- SHOBJ_LDFLAGS='-undefined dynamic_lookup'
+- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+-
+- SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
+- ;;
+-
+-darwin*|macosx*)
+- SHOBJ_STATUS=unsupported
+- SHLIB_STATUS=supported
+-
+- SHOBJ_CFLAGS='-fno-common'
+-
+ SHOBJ_LD='${CC}'
+
+ SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)'
+ SHLIB_LIBSUFF='dylib'
+
+- case "${host_os}" in
+- darwin[78]*) SHOBJ_LDFLAGS=''
+- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+- ;;
+- *) SHOBJ_LDFLAGS='-dynamic'
+- SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+- ;;
+- esac
++ SHOBJ_LDFLAGS='-undefined dynamic_lookup'
++ SHLIB_XLDFLAGS='-dynamiclib -arch_only arm -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
+
+ SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1
+ ;;
diff --git a/data/readline/make.sh b/data/readline/make.sh
new file mode 100644
index 000000000..9e49126ad
--- /dev/null
+++ b/data/readline/make.sh
@@ -0,0 +1,6 @@
+tar -zxvf "${PKG_DATA}/readline-5.2.tar.gz"
+cd readline-5.2
+pkg:patch
+pkg:configure
+make
+pkg:install
diff --git a/data/readline/readline-5.2.tar.gz b/data/readline/readline-5.2.tar.gz
new file mode 100644
index 000000000..5f3ac6052
--- /dev/null
+++ b/data/readline/readline-5.2.tar.gz
Binary files differ
diff --git a/data/rsync/_metadata/description b/data/rsync/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/rsync/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/rsync/_metadata/license b/data/rsync/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/rsync/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/rsync/_metadata/maintainer b/data/rsync/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/rsync/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/rsync/_metadata/priority b/data/rsync/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/rsync/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/rsync/_metadata/section b/data/rsync/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/rsync/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/rsync/_metadata/version b/data/rsync/_metadata/version
new file mode 100644
index 000000000..d48d3702a
--- /dev/null
+++ b/data/rsync/_metadata/version
@@ -0,0 +1 @@
+2.6.9
diff --git a/data/rsync/make.sh b/data/rsync/make.sh
new file mode 100644
index 000000000..290d2eeef
--- /dev/null
+++ b/data/rsync/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/rsync-2.6.9.tar.gz"
+cd rsync-2.6.9
+pkg:configure
+make
+pkg:install
diff --git a/data/rsync/rsync-2.6.9.tar.gz b/data/rsync/rsync-2.6.9.tar.gz
new file mode 100644
index 000000000..6377f639e
--- /dev/null
+++ b/data/rsync/rsync-2.6.9.tar.gz
Binary files differ
diff --git a/data/sed/_metadata/description b/data/sed/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/sed/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/sed/_metadata/license b/data/sed/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/sed/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/sed/_metadata/maintainer b/data/sed/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/sed/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/sed/_metadata/priority b/data/sed/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/sed/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/sed/_metadata/section b/data/sed/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/sed/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/sed/_metadata/version b/data/sed/_metadata/version
new file mode 100644
index 000000000..b1cbc1fcd
--- /dev/null
+++ b/data/sed/_metadata/version
@@ -0,0 +1 @@
+4.1.5
diff --git a/data/sed/make.sh b/data/sed/make.sh
new file mode 100644
index 000000000..015b17dd2
--- /dev/null
+++ b/data/sed/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/sed-4.1.5.tar.gz"
+cd sed-4.1.5
+pkg:patch
+pkg:configure
+make
+pkg:install
+pkg:bin sed
diff --git a/data/sed/obstack.diff b/data/sed/obstack.diff
new file mode 100644
index 000000000..d3576f0fb
--- /dev/null
+++ b/data/sed/obstack.diff
@@ -0,0 +1,83 @@
+Only in sed-4.1.5+iPhone/: config.h
+Only in sed-4.1.5+iPhone/: config.log
+Only in sed-4.1.5+iPhone/: config.status
+Only in sed-4.1.5+iPhone/doc: Makefile
+Only in sed-4.1.5+iPhone/intl: bindtextdom.o
+Only in sed-4.1.5+iPhone/intl: charset.alias
+Only in sed-4.1.5+iPhone/intl: dcgettext.o
+Only in sed-4.1.5+iPhone/intl: dcigettext.o
+Only in sed-4.1.5+iPhone/intl: dcngettext.o
+Only in sed-4.1.5+iPhone/intl: dgettext.o
+Only in sed-4.1.5+iPhone/intl: dngettext.o
+Only in sed-4.1.5+iPhone/intl: explodename.o
+Only in sed-4.1.5+iPhone/intl: finddomain.o
+Only in sed-4.1.5+iPhone/intl: gettext.o
+Only in sed-4.1.5+iPhone/intl: intl-compat.o
+Only in sed-4.1.5+iPhone/intl: l10nflist.o
+Only in sed-4.1.5+iPhone/intl: libintl.a
+Only in sed-4.1.5+iPhone/intl: libintl.h
+Only in sed-4.1.5+iPhone/intl: loadmsgcat.o
+Only in sed-4.1.5+iPhone/intl: localcharset.o
+Only in sed-4.1.5+iPhone/intl: localealias.o
+Only in sed-4.1.5+iPhone/intl: localename.o
+Only in sed-4.1.5+iPhone/intl: Makefile
+Only in sed-4.1.5+iPhone/intl: ngettext.o
+Only in sed-4.1.5+iPhone/intl: osdep.o
+Only in sed-4.1.5+iPhone/intl: plural-exp.o
+Only in sed-4.1.5+iPhone/intl: plural.o
+Only in sed-4.1.5+iPhone/intl: ref-add.sed
+Only in sed-4.1.5+iPhone/intl: ref-del.sed
+Only in sed-4.1.5+iPhone/intl: textdomain.o
+Only in sed-4.1.5+iPhone/lib: .deps
+Only in sed-4.1.5+iPhone/lib: getline.o
+Only in sed-4.1.5+iPhone/lib: getopt1.o
+Only in sed-4.1.5+iPhone/lib: getopt.o
+Only in sed-4.1.5+iPhone/lib: libsed.a
+Only in sed-4.1.5+iPhone/lib: Makefile
+diff -r -u sed-4.1.5/lib/Makefile.in sed-4.1.5+iPhone/lib/Makefile.in
+--- sed-4.1.5/lib/Makefile.in 2006-02-03 09:24:34.000000000 +0000
++++ sed-4.1.5+iPhone/lib/Makefile.in 2007-12-27 00:16:29.000000000 +0000
+@@ -125,11 +125,11 @@
+ LDFLAGS = @LDFLAGS@
+ LIBICONV = @LIBICONV@
+ LIBINTL = @LIBINTL@
+-LIBOBJS = @LIBOBJS@
++LIBOBJS = @LIBOBJS@ obstack.o
+ LIBS = @LIBS@
+ LTLIBICONV = @LTLIBICONV@
+ LTLIBINTL = @LTLIBINTL@
+-LTLIBOBJS = @LTLIBOBJS@
++LTLIBOBJS = @LTLIBOBJS@ obstack.o
+ MAKEINFO = @MAKEINFO@
+ MAKEINFO_HTML_FALSE = @MAKEINFO_HTML_FALSE@
+ MAKEINFO_HTML_TRUE = @MAKEINFO_HTML_TRUE@
+@@ -206,7 +206,7 @@
+ AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/intl -I$(top_srcdir) \
+ -I$(top_builddir)/lib -I$(top_builddir)/intl
+
+-libsed_a_LIBADD = @LIBOBJS@ @ALLOCA@
++libsed_a_LIBADD = @LIBOBJS@ @ALLOCA@ obstack.o
+ libsed_a_DEPENDENCIES = $(libsed_a_LIBADD)
+ DISTCLEANFILES = regex.h stdbool.h
+ all: all-am
+Only in sed-4.1.5+iPhone/lib: obstack.o
+Only in sed-4.1.5+iPhone/lib: regex.h
+Only in sed-4.1.5+iPhone/lib: regex.o
+Only in sed-4.1.5+iPhone/lib: strverscmp.o
+Only in sed-4.1.5+iPhone/lib: utils.o
+Only in sed-4.1.5+iPhone/: Makefile
+Only in sed-4.1.5+iPhone/po: Makefile
+Only in sed-4.1.5+iPhone/po: Makefile.in
+Only in sed-4.1.5+iPhone/po: POTFILES
+Only in sed-4.1.5+iPhone/sed: compile.o
+Only in sed-4.1.5+iPhone/sed: .deps
+Only in sed-4.1.5+iPhone/sed: execute.o
+Only in sed-4.1.5+iPhone/sed: fmt.o
+Only in sed-4.1.5+iPhone/sed: Makefile
+Only in sed-4.1.5+iPhone/sed: mbcs.o
+Only in sed-4.1.5+iPhone/sed: regexp.o
+Only in sed-4.1.5+iPhone/sed: sed
+Only in sed-4.1.5+iPhone/sed: sed.o
+Only in sed-4.1.5+iPhone/: stamp-h1
+Only in sed-4.1.5+iPhone/testsuite: .deps
+Only in sed-4.1.5+iPhone/testsuite: Makefile
diff --git a/data/sed/sed-4.1.5.tar.gz b/data/sed/sed-4.1.5.tar.gz
new file mode 100644
index 000000000..7273f1537
--- /dev/null
+++ b/data/sed/sed-4.1.5.tar.gz
Binary files differ
diff --git a/data/shell-cmds/_metadata/description b/data/shell-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/shell-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/shell-cmds/_metadata/license b/data/shell-cmds/_metadata/license
new file mode 120000
index 000000000..eea9de8d1
--- /dev/null
+++ b/data/shell-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/bsd \ No newline at end of file
diff --git a/data/shell-cmds/_metadata/maintainer b/data/shell-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/shell-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/shell-cmds/_metadata/priority b/data/shell-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/shell-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/shell-cmds/_metadata/section b/data/shell-cmds/_metadata/section
new file mode 100644
index 000000000..2ac05bdde
--- /dev/null
+++ b/data/shell-cmds/_metadata/section
@@ -0,0 +1 @@
+console
diff --git a/data/shell-cmds/_metadata/version b/data/shell-cmds/_metadata/version
new file mode 100644
index 000000000..4699eb3cc
--- /dev/null
+++ b/data/shell-cmds/_metadata/version
@@ -0,0 +1 @@
+116
diff --git a/data/shell-cmds/make.sh b/data/shell-cmds/make.sh
new file mode 100644
index 000000000..898fd4f2a
--- /dev/null
+++ b/data/shell-cmds/make.sh
@@ -0,0 +1,8 @@
+tar -zxvf "${PKG_DATA}/shell_cmds-116.tar.gz"
+cd shell_cmds-116
+mkdir -p "${PKG_DEST}/usr/bin"
+for bin in mktemp renice script time which; do
+ arm-apple-darwin-gcc -o "${bin}/${bin}" "${bin}"/*.c -D'__FBSDID(x)='
+ cp -a "${bin}/${bin}" "${PKG_DEST}/usr/bin"
+done
+pkg:bin mktemp
diff --git a/data/shell-cmds/shell_cmds-116.tar.gz b/data/shell-cmds/shell_cmds-116.tar.gz
new file mode 100644
index 000000000..fa50bc47b
--- /dev/null
+++ b/data/shell-cmds/shell_cmds-116.tar.gz
Binary files differ
diff --git a/data/spidermonkey/_metadata/description b/data/spidermonkey/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/spidermonkey/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/spidermonkey/_metadata/maintainer b/data/spidermonkey/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/spidermonkey/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/spidermonkey/_metadata/priority b/data/spidermonkey/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/spidermonkey/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/spidermonkey/_metadata/section b/data/spidermonkey/_metadata/section
new file mode 100644
index 000000000..463a353df
--- /dev/null
+++ b/data/spidermonkey/_metadata/section
@@ -0,0 +1 @@
+programming
diff --git a/data/spidermonkey/_metadata/version b/data/spidermonkey/_metadata/version
new file mode 100644
index 000000000..bd8bf882d
--- /dev/null
+++ b/data/spidermonkey/_metadata/version
@@ -0,0 +1 @@
+1.7.0
diff --git a/data/spidermonkey/js-1.7.0.tar.gz b/data/spidermonkey/js-1.7.0.tar.gz
new file mode 100644
index 000000000..27607a637
--- /dev/null
+++ b/data/spidermonkey/js-1.7.0.tar.gz
Binary files differ
diff --git a/data/spidermonkey/jsautocfg.h b/data/spidermonkey/jsautocfg.h
new file mode 100644
index 000000000..7dccf19bb
--- /dev/null
+++ b/data/spidermonkey/jsautocfg.h
@@ -0,0 +1,52 @@
+#ifndef js_cpucfg___
+#define js_cpucfg___
+
+/* AUTOMATICALLY GENERATED - DO NOT EDIT */
+
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+
+#define JS_BYTES_PER_BYTE 1L
+#define JS_BYTES_PER_SHORT 2L
+#define JS_BYTES_PER_INT 4L
+#define JS_BYTES_PER_INT64 8L
+#define JS_BYTES_PER_LONG 4L
+#define JS_BYTES_PER_FLOAT 4L
+#define JS_BYTES_PER_DOUBLE 8L
+#define JS_BYTES_PER_WORD 4L
+#define JS_BYTES_PER_DWORD 8L
+
+#define JS_BITS_PER_BYTE 8L
+#define JS_BITS_PER_SHORT 16L
+#define JS_BITS_PER_INT 32L
+#define JS_BITS_PER_INT64 64L
+#define JS_BITS_PER_LONG 32L
+#define JS_BITS_PER_FLOAT 32L
+#define JS_BITS_PER_DOUBLE 64L
+#define JS_BITS_PER_WORD 32L
+
+#define JS_BITS_PER_BYTE_LOG2 3L
+#define JS_BITS_PER_SHORT_LOG2 4L
+#define JS_BITS_PER_INT_LOG2 5L
+#define JS_BITS_PER_INT64_LOG2 6L
+#define JS_BITS_PER_LONG_LOG2 5L
+#define JS_BITS_PER_FLOAT_LOG2 5L
+#define JS_BITS_PER_DOUBLE_LOG2 6L
+#define JS_BITS_PER_WORD_LOG2 5L
+
+#define JS_ALIGN_OF_SHORT 2L
+#define JS_ALIGN_OF_INT 4L
+#define JS_ALIGN_OF_LONG 4L
+#define JS_ALIGN_OF_INT64 4L
+#define JS_ALIGN_OF_FLOAT 4L
+#define JS_ALIGN_OF_DOUBLE 4L
+#define JS_ALIGN_OF_POINTER 4L
+#define JS_ALIGN_OF_WORD 4L
+
+#define JS_BYTES_PER_WORD_LOG2 2L
+#define JS_BYTES_PER_DWORD_LOG2 3L
+#define JS_WORDS_PER_DWORD_LOG2 1L
+
+#define JS_STACK_GROWTH_DIRECTION (-1)
+
+#endif /* js_cpucfg___ */
diff --git a/data/spidermonkey/make.sh b/data/spidermonkey/make.sh
new file mode 100644
index 000000000..75fce99de
--- /dev/null
+++ b/data/spidermonkey/make.sh
@@ -0,0 +1,10 @@
+pkg:extract
+cd js
+pkg:patch
+cd src
+mkdir Darwin_DBG.OBJ
+cp -a "${PKG_DATA}"/jsautocfg.h Darwin_DBG.OBJ
+make -f Makefile.ref
+pkg: mkdir -p /usr/bin /usr/lib
+pkg: cp -a Darwin_DBG.OBJ/libjs.dylib /usr/lib
+pkg: cp -a Darwin_DBG.OBJ/js /usr/bin
diff --git a/data/spidermonkey/port.diff b/data/spidermonkey/port.diff
new file mode 100644
index 000000000..51dcfee37
--- /dev/null
+++ b/data/spidermonkey/port.diff
@@ -0,0 +1,97 @@
+diff -ru js/src/config/Darwin.mk js+iPhone/src/config/Darwin.mk
+--- js/src/config/Darwin.mk 2007-02-05 16:24:49.000000000 +0000
++++ js+iPhone/src/config/Darwin.mk 2007-12-31 21:06:50.000000000 +0000
+@@ -43,12 +43,12 @@
+ # Just ripped from Linux config
+ #
+
+-CC = cc
+-CCC = g++
++CC = arm-apple-darwin-gcc
++CCC = arm-apple-darwin-g++
+ CFLAGS += -Wall -Wno-format
+ OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN
+
+-RANLIB = ranlib
++RANLIB = arm-apple-darwin-ranlib
+ MKSHLIB = $(CC) -dynamiclib $(XMKSHLIBOPTS) -framework System
+
+ SO_SUFFIX = dylib
+@@ -81,3 +81,4 @@
+ # Don't allow Makefile.ref to use libmath
+ NO_LIBM = 1
+
++PREBUILT_CPUCFG = 1
+diff -ru js/src/config.mk js+iPhone/src/config.mk
+--- js/src/config.mk 2006-07-27 21:00:57.000000000 +0000
++++ js+iPhone/src/config.mk 2007-12-31 20:58:38.000000000 +0000
+@@ -45,9 +45,11 @@
+
+ # Set os+release dependent make variables
+ OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
++OS_ARCH := Darwin
+
+ # Attempt to differentiate between SunOS 5.4 and x86 5.4
+ OS_CPUARCH := $(shell uname -m)
++OS_CPUARCH := iPhone1,1
+ ifeq ($(OS_CPUARCH),i86pc)
+ OS_RELEASE := $(shell uname -r)_$(OS_CPUARCH)
+ else
+diff -ru js/src/jscpucfg.h js+iPhone/src/jscpucfg.h
+--- js/src/jscpucfg.h 2006-07-07 02:12:01.000000000 +0000
++++ js+iPhone/src/jscpucfg.h 2007-12-31 20:58:38.000000000 +0000
+@@ -46,7 +46,7 @@
+
+ #if defined(_WIN64)
+
+-#if defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)
++#if 0//defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)
+ #define IS_LITTLE_ENDIAN 1
+ #undef IS_BIG_ENDIAN
+
+@@ -94,7 +94,7 @@
+ #error "CPU type is unknown"
+ #endif /* !(defined(_M_X64) || defined(_M_AMD64) || defined(_AMD64_)) */
+
+-#elif defined(_WIN32) || defined(XP_OS2) || defined(WINCE)
++#elif 1//defined(_WIN32) || defined(XP_OS2) || defined(WINCE)
+
+ #ifdef __WATCOMC__
+ #define HAVE_VA_LIST_AS_ARRAY
+diff -ru js/src/jsnum.c js+iPhone/src/jsnum.c
+--- js/src/jsnum.c 2007-04-06 20:53:22.000000000 +0000
++++ js+iPhone/src/jsnum.c 2007-12-31 20:58:38.000000000 +0000
+@@ -517,7 +517,7 @@
+
+ static jsdouble NaN;
+
+-#if (defined XP_WIN || defined XP_OS2) && \
++#if 0 && (defined XP_WIN || defined XP_OS2) && \
+ !defined WINCE && \
+ !defined __MWERKS__ && \
+ (defined _M_IX86 || \
+diff -ru js/src/Makefile.ref js+iPhone/src/Makefile.ref
+--- js/src/Makefile.ref 2006-07-26 19:16:47.000000000 +0000
++++ js+iPhone/src/Makefile.ref 2007-12-31 21:07:20.000000000 +0000
+@@ -82,7 +82,7 @@
+ #
+ # XCFLAGS may be set in the environment or on the gmake command line
+ #
+-CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS)
++CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS) -O0
+
+ LDFLAGS = $(XLDFLAGS)
+
+@@ -320,10 +320,10 @@
+
+ $(OBJDIR)/jskwgen.o: jskwgen.c jskeyword.tbl
+ @$(MAKE_OBJDIR)
+- $(CC) -o $@ -c $(CFLAGS) $<
++ gcc -o $@ -c $(CFLAGS) $<
+
+ $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
+- $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
++ gcc -o $@ $(CFLAGS) $(LDFLAGS) $^
+
+ endif
+
diff --git a/data/srelay/_metadata/description b/data/srelay/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/srelay/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/srelay/_metadata/license b/data/srelay/_metadata/license
new file mode 100644
index 000000000..7f5443717
--- /dev/null
+++ b/data/srelay/_metadata/license
@@ -0,0 +1,27 @@
+Copyright (C) 2001 Tomo.M (author).
+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 the author nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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/srelay/_metadata/maintainer b/data/srelay/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/srelay/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/srelay/_metadata/priority b/data/srelay/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/srelay/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/srelay/_metadata/section b/data/srelay/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/srelay/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/srelay/_metadata/version b/data/srelay/_metadata/version
new file mode 100644
index 000000000..ef52a6480
--- /dev/null
+++ b/data/srelay/_metadata/version
@@ -0,0 +1 @@
+0.4.6
diff --git a/data/srelay/bindaddr.diff b/data/srelay/bindaddr.diff
new file mode 100644
index 000000000..a324c7da0
--- /dev/null
+++ b/data/srelay/bindaddr.diff
@@ -0,0 +1,21 @@
+diff -r -u srelay-0.4.6/get-bind.c srelay-0.4.6+iPhone/get-bind.c
+--- srelay-0.4.6/get-bind.c 2003-04-10 02:53:17.000000000 +0000
++++ srelay-0.4.6+iPhone/get-bind.c 2007-12-27 12:39:11.000000000 +0000
+@@ -34,7 +34,7 @@
+
+ #include "srelay.h"
+
+-#if defined(FREEBSD) || defined(SOLARIS)
++#if defined(FREEBSD) || defined(SOLARIS) || defined(__APPLE__)
+ #include <netinet/in.h>
+ #include <sys/ioctl.h>
+ #include <sys/sockio.h>
+@@ -54,7 +54,7 @@
+ static int get_ifconf(int, struct addrinfo *);
+ #endif /* defined(LINUX) */
+
+-#if defined(FREEBSD) || defined(SOLARIS)
++#if defined(FREEBSD) || defined(SOLARIS) || defined(__APPLE__)
+
+ #ifndef RTAX_DST
+ #define RTAX_DST 0
diff --git a/data/srelay/filio.diff b/data/srelay/filio.diff
new file mode 100644
index 000000000..d973adf4e
--- /dev/null
+++ b/data/srelay/filio.diff
@@ -0,0 +1,12 @@
+diff -r -u srelay-0.4.6/relay.c srelay-0.4.6+iPhone/relay.c
+--- srelay-0.4.6/relay.c 2003-03-26 20:45:13.000000000 +0000
++++ srelay-0.4.6+iPhone/relay.c 2007-12-27 12:35:26.000000000 +0000
+@@ -34,6 +34,8 @@
+
+ #include "srelay.h"
+
++#include <sys/filio.h>
++
+ #ifdef HAVE_LIBWRAP
+ # include <tcpd.h>
+ # ifdef LINUX
diff --git a/data/srelay/make.sh b/data/srelay/make.sh
new file mode 100644
index 000000000..accfe0144
--- /dev/null
+++ b/data/srelay/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/srelay-0.4.6.tar.gz"
+cd srelay-0.4.6
+pkg:patch
+autoconf
+pkg:configure
+make
+pkg:usrbin srelay
diff --git a/data/srelay/sigpoll.diff b/data/srelay/sigpoll.diff
new file mode 100644
index 000000000..ee3fcc0ec
--- /dev/null
+++ b/data/srelay/sigpoll.diff
@@ -0,0 +1,12 @@
+diff -r -u srelay-0.4.6/main.c srelay-0.4.6+iPhone/main.c
+--- srelay-0.4.6/main.c 2003-03-26 20:45:12.000000000 +0000
++++ srelay-0.4.6+iPhone/main.c 2007-12-27 12:37:47.000000000 +0000
+@@ -322,7 +322,7 @@
+ setsignal(SIGTERM, cleanup);
+ setsignal(SIGUSR1, SIG_IGN);
+ setsignal(SIGUSR2, SIG_IGN);
+-#ifndef FREEBSD
++#if !defined(FREEBSD) && !defined(__APPLE__)
+ setsignal(SIGPOLL, SIG_IGN);
+ #endif
+ setsignal(SIGVTALRM, SIG_IGN);
diff --git a/data/srelay/srelay-0.4.6.tar.gz b/data/srelay/srelay-0.4.6.tar.gz
new file mode 100644
index 000000000..8b6d64c1c
--- /dev/null
+++ b/data/srelay/srelay-0.4.6.tar.gz
Binary files differ
diff --git a/data/srelay/thread.diff b/data/srelay/thread.diff
new file mode 100644
index 000000000..64184df47
--- /dev/null
+++ b/data/srelay/thread.diff
@@ -0,0 +1,28 @@
+Only in srelay-0.4.6+iPhone/: config.log
+diff -r -u srelay-0.4.6/configure.in srelay-0.4.6+iPhone/configure.in
+--- srelay-0.4.6/configure.in 2003-04-14 05:36:15.000000000 +0000
++++ srelay-0.4.6+iPhone/configure.in 2007-12-27 12:32:59.000000000 +0000
+@@ -143,22 +143,7 @@
+ elif test "$OS" = "SOLARIS"; then
+ LDFLAGS="$LDFLAGS -lpthread"
+ fi
+- AC_TRY_RUN(
+-[#include <pthread.h>
+-void
+-init_routine()
+-{
+- return(0);
+-}
+-main()
+-{
+- pthread_once_t once_control = PTHREAD_ONCE_INIT;
+- pthread_once(&once_control, &init_routine);
+- return(0);
+-}],
+- AC_DEFINE(USE_THREAD) AC_MSG_RESULT([yes]),
+- CFLAGS="$save_CFLAGS"; LDFLAGS="$save_LDFLAGS"; AC_MSG_RESULT([no])
+- )
++ AC_DEFINE(USE_THREAD) AC_MSG_RESULT([yes])
+ fi
+ fi
+
diff --git a/data/subversion/_metadata/apr-util.dep b/data/subversion/_metadata/apr-util.dep
new file mode 120000
index 000000000..a78d94c6b
--- /dev/null
+++ b/data/subversion/_metadata/apr-util.dep
@@ -0,0 +1 @@
+../../apr-util \ No newline at end of file
diff --git a/data/subversion/_metadata/apr.dep b/data/subversion/_metadata/apr.dep
new file mode 120000
index 000000000..a2d8d092f
--- /dev/null
+++ b/data/subversion/_metadata/apr.dep
@@ -0,0 +1 @@
+../../apr \ No newline at end of file
diff --git a/data/subversion/_metadata/description b/data/subversion/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/subversion/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/subversion/_metadata/expat.dep b/data/subversion/_metadata/expat.dep
new file mode 120000
index 000000000..2100fb19e
--- /dev/null
+++ b/data/subversion/_metadata/expat.dep
@@ -0,0 +1 @@
+../../expat \ No newline at end of file
diff --git a/data/subversion/_metadata/license b/data/subversion/_metadata/license
new file mode 100644
index 000000000..bad35d9d8
--- /dev/null
+++ b/data/subversion/_metadata/license
@@ -0,0 +1,57 @@
+This license applies to all portions of Subversion which are not
+externally-maintained libraries (e.g. apr/, apr-util/, and neon/).
+Such libraries have their own licenses; we recommend you read them, as
+their terms may differ from the terms below.
+
+This is version 1 of this license. It is also available online at
+http://subversion.tigris.org/license-1.html. If newer versions of
+this license are posted there (the same URL, but with the version
+number incremented: .../license-2.html, .../license-3.html, and so
+on), you may use a newer version instead, at your option.
+
+================================================================
+Copyright (c) 2000-2006 CollabNet. 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. The end-user documentation included with the redistribution,
+ if any, must include the following acknowledgment:
+ "This product includes software developed by
+ CollabNet (http://www.Collab.Net/)."
+ Alternately, this acknowledgment may appear in the software itself,
+ if and wherever such third-party acknowledgments normally appear.
+
+4. The hosted project names must not be used to endorse or promote
+ products derived from this software without prior written
+ permission. For written permission, please contact info@collab.net.
+
+5. Products derived from this software may not use the "Tigris" name
+ nor may "Tigris" appear in their names without prior written
+ permission of CollabNet.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 COLLABNET OR ITS 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.
+
+====================================================================
+
+This software consists of voluntary contributions made by many
+individuals on behalf of CollabNet.
diff --git a/data/subversion/_metadata/maintainer b/data/subversion/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/subversion/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/subversion/_metadata/neon.dep b/data/subversion/_metadata/neon.dep
new file mode 120000
index 000000000..271602162
--- /dev/null
+++ b/data/subversion/_metadata/neon.dep
@@ -0,0 +1 @@
+../../neon \ No newline at end of file
diff --git a/data/subversion/_metadata/priority b/data/subversion/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/subversion/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/subversion/_metadata/section b/data/subversion/_metadata/section
new file mode 100644
index 000000000..842ba4a9c
--- /dev/null
+++ b/data/subversion/_metadata/section
@@ -0,0 +1 @@
+toolchain
diff --git a/data/subversion/_metadata/version b/data/subversion/_metadata/version
new file mode 100644
index 000000000..c514bd85c
--- /dev/null
+++ b/data/subversion/_metadata/version
@@ -0,0 +1 @@
+1.4.6
diff --git a/data/subversion/make.sh b/data/subversion/make.sh
new file mode 100644
index 000000000..5a8174953
--- /dev/null
+++ b/data/subversion/make.sh
@@ -0,0 +1,7 @@
+tar -jxvf "${PKG_DATA}/subversion-1.4.6.tar.bz2"
+cd subversion-1.4.6
+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"
+make
+pkg:install
diff --git a/data/subversion/neon.diff b/data/subversion/neon.diff
new file mode 100644
index 000000000..6dde31ed3
--- /dev/null
+++ b/data/subversion/neon.diff
@@ -0,0 +1,18 @@
+diff -ru subversion-1.4.6/build/ac-macros/neon.m4 subversion-1.4.6+iPhone/build/ac-macros/neon.m4
+--- subversion-1.4.6/build/ac-macros/neon.m4 2006-10-20 23:44:09.000000000 +0000
++++ subversion-1.4.6+iPhone/build/ac-macros/neon.m4 2007-12-28 12:43:02.000000000 +0000
+@@ -38,10 +38,11 @@
+ if test "$withval" = "yes" ; then
+ AC_MSG_ERROR([--with-neon requires an argument.])
+ else
+- neon_config="$withval/bin/neon-config"
++ svn_allowed_neon_on_system="yes"
++ SVN_NEON_INCLUDES="-I$withval/include/neon"
++ NEON_LIBS="$withval/lib/libneon.dylib"
++ svn_lib_neon="yes"
+ fi
+-
+- SVN_NEON_CONFIG()
+ ],
+ [
+ if test -d $abs_srcdir/neon ; then
diff --git a/data/subversion/subversion-1.4.6.tar.bz2 b/data/subversion/subversion-1.4.6.tar.bz2
new file mode 100644
index 000000000..31f96af06
--- /dev/null
+++ b/data/subversion/subversion-1.4.6.tar.bz2
Binary files differ
diff --git a/data/subversion/svnversion.diff b/data/subversion/svnversion.diff
new file mode 100644
index 000000000..31ae342a5
--- /dev/null
+++ b/data/subversion/svnversion.diff
@@ -0,0 +1,12 @@
+diff -r -u subversion-1.4.6/Makefile.in subversion-1.4.6+iPhone/Makefile.in
+--- subversion-1.4.6/Makefile.in 2007-03-03 00:30:11.000000000 +0000
++++ subversion-1.4.6+iPhone/Makefile.in 2007-12-28 13:36:33.000000000 +0000
+@@ -325,7 +325,7 @@
+
+ ### HACK!! Find a better way to do this
+ revision-install:
+- subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
++ svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
+
+ install-static: @INSTALL_STATIC_RULES@
+
diff --git a/data/system-cmds/_metadata/description b/data/system-cmds/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/system-cmds/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/system-cmds/_metadata/license b/data/system-cmds/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/system-cmds/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/system-cmds/_metadata/maintainer b/data/system-cmds/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/system-cmds/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/system-cmds/_metadata/priority b/data/system-cmds/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/system-cmds/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/system-cmds/_metadata/section b/data/system-cmds/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/system-cmds/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/system-cmds/_metadata/version b/data/system-cmds/_metadata/version
new file mode 100644
index 000000000..ed4f16201
--- /dev/null
+++ b/data/system-cmds/_metadata/version
@@ -0,0 +1 @@
+431
diff --git a/data/system-cmds/kextmanager.h b/data/system-cmds/kextmanager.h
new file mode 100644
index 000000000..92050fe49
--- /dev/null
+++ b/data/system-cmds/kextmanager.h
@@ -0,0 +1,615 @@
+#ifndef _kextmanager_user_
+#define _kextmanager_user_
+
+/* Module kextmanager */
+
+#include <string.h>
+#include <mach/ndr.h>
+#include <mach/boolean.h>
+#include <mach/kern_return.h>
+#include <mach/notify.h>
+#include <mach/mach_types.h>
+#include <mach/message.h>
+#include <mach/mig_errors.h>
+#include <mach/port.h>
+
+#ifdef AUTOTEST
+#ifndef FUNCTION_PTR_T
+#define FUNCTION_PTR_T
+typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
+typedef struct {
+ char *name;
+ function_ptr_t function;
+} function_table_entry;
+typedef function_table_entry *function_table_t;
+#endif /* FUNCTION_PTR_T */
+#endif /* AUTOTEST */
+
+#ifndef kextmanager_MSG_COUNT
+#define kextmanager_MSG_COUNT 12
+#endif /* kextmanager_MSG_COUNT */
+
+#include <mach/std_types.h>
+#include <mach/mig.h>
+#include <mach/mig.h>
+#include <mach/mach_types.h>
+#include <Security/Authorization.h>
+#include <IOKit/kext/kextmanager_types.h>
+#include <mach/kmod.h>
+#include <sys/param.h>
+
+#ifdef __BeforeMigUserHeader
+__BeforeMigUserHeader
+#endif /* __BeforeMigUserHeader */
+
+#include <sys/cdefs.h>
+__BEGIN_DECLS
+
+
+/* Routine kextmanager_path_for_bundle_id */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path,
+ kext_result_t *kext_result
+);
+
+/* Routine kextmanager_create_property_value_array */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_create_property_value_array
+(
+ mach_port_t server,
+ property_key_t prop_key,
+ xmlDataOut_t *data,
+ mach_msg_type_number_t *dataCnt
+);
+
+/* Routine kextmanager_user_did_log_in */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_user_did_log_in
+(
+ mach_port_t server,
+ uint32_t euid,
+ AuthorizationExternalForm authref
+);
+
+/* Routine kextmanager_user_will_log_out */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_user_will_log_out
+(
+ mach_port_t server,
+ uint32_t euid
+);
+
+/* Routine kextmanager_get_logged_in_userid */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_get_logged_in_userid
+(
+ mach_port_t server,
+ uint32_t *euid
+);
+
+/* Routine kextmanager_record_nonsecure_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_record_nonsecure_kextload
+(
+ mach_port_t server,
+ xmlDataIn_t load_data,
+ mach_msg_type_number_t load_dataCnt
+);
+
+/* Routine kextmanager_lock_reboot */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_lock_reboot
+(
+ mach_port_t server,
+ mach_port_t reaper,
+ int waitForLock,
+ mountpoint_t busyVol,
+ int *busyStatus
+);
+
+/* Routine kextmanager_lock_volume */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_lock_volume
+(
+ mach_port_t server,
+ mach_port_t reaper,
+ uuid_t vol_uuid,
+ int waitForLock,
+ int *lockStatus
+);
+
+/* Routine kextmanager_unlock_volume */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_unlock_volume
+(
+ mach_port_t server,
+ mach_port_t clientIdent,
+ uuid_t vol_uuid,
+ int exitStatus
+);
+
+/* Routine kextmanager_lock_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_lock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort,
+ int *lockstatus
+);
+
+/* Routine kextmanager_unlock_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_unlock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort
+);
+
+/* Routine kextmanager_record_path_for_bundle_id */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t kextmanager_record_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path
+);
+
+__END_DECLS
+
+/********************** Caution **************************/
+/* The following data types should be used to calculate */
+/* maximum message sizes only. The actual message may be */
+/* smaller, and the position of the arguments within the */
+/* message layout may vary from what is presented here. */
+/* For example, if any of the arguments are variable- */
+/* sized, and less than the maximum is sent, the data */
+/* will be packed tight in the actual message to reduce */
+/* the presence of holes. */
+/********************** Caution **************************/
+
+/* typedefs for all requests */
+
+#ifndef __Request__kextmanager_subsystem__defined
+#define __Request__kextmanager_subsystem__defined
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ } __Request__kextmanager_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ property_key_t prop_key;
+ } __Request__kextmanager_create_property_value_array_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ AuthorizationExternalForm authref;
+ } __Request__kextmanager_user_did_log_in_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ } __Request__kextmanager_user_will_log_out_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ } __Request__kextmanager_get_logged_in_userid_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t load_data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t load_dataCnt;
+ } __Request__kextmanager_record_nonsecure_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ int waitForLock;
+ } __Request__kextmanager_lock_reboot_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int waitForLock;
+ } __Request__kextmanager_lock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientIdent;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int exitStatus;
+ } __Request__kextmanager_unlock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } __Request__kextmanager_lock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } __Request__kextmanager_unlock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ posix_path_t path;
+ } __Request__kextmanager_record_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Request__kextmanager_subsystem__defined */
+
+/* union of all requests */
+
+#ifndef __RequestUnion__kextmanager_subsystem__defined
+#define __RequestUnion__kextmanager_subsystem__defined
+union __RequestUnion__kextmanager_subsystem {
+ __Request__kextmanager_path_for_bundle_id_t Request_kextmanager_path_for_bundle_id;
+ __Request__kextmanager_create_property_value_array_t Request_kextmanager_create_property_value_array;
+ __Request__kextmanager_user_did_log_in_t Request_kextmanager_user_did_log_in;
+ __Request__kextmanager_user_will_log_out_t Request_kextmanager_user_will_log_out;
+ __Request__kextmanager_get_logged_in_userid_t Request_kextmanager_get_logged_in_userid;
+ __Request__kextmanager_record_nonsecure_kextload_t Request_kextmanager_record_nonsecure_kextload;
+ __Request__kextmanager_lock_reboot_t Request_kextmanager_lock_reboot;
+ __Request__kextmanager_lock_volume_t Request_kextmanager_lock_volume;
+ __Request__kextmanager_unlock_volume_t Request_kextmanager_unlock_volume;
+ __Request__kextmanager_lock_kextload_t Request_kextmanager_lock_kextload;
+ __Request__kextmanager_unlock_kextload_t Request_kextmanager_unlock_kextload;
+ __Request__kextmanager_record_path_for_bundle_id_t Request_kextmanager_record_path_for_bundle_id;
+};
+#endif /* !__RequestUnion__kextmanager_subsystem__defined */
+/* typedefs for all replies */
+
+#ifndef __Reply__kextmanager_subsystem__defined
+#define __Reply__kextmanager_subsystem__defined
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ posix_path_t path;
+ kext_result_t kext_result;
+ } __Reply__kextmanager_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t dataCnt;
+ } __Reply__kextmanager_create_property_value_array_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_user_did_log_in_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_user_will_log_out_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ uint32_t euid;
+ } __Reply__kextmanager_get_logged_in_userid_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_record_nonsecure_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mountpoint_t busyVol;
+ char busyVolPad[2];
+ int busyStatus;
+ } __Reply__kextmanager_lock_reboot_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockStatus;
+ } __Reply__kextmanager_lock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_unlock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockstatus;
+ } __Reply__kextmanager_lock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_unlock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_record_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Reply__kextmanager_subsystem__defined */
+
+/* union of all replies */
+
+#ifndef __ReplyUnion__kextmanager_subsystem__defined
+#define __ReplyUnion__kextmanager_subsystem__defined
+union __ReplyUnion__kextmanager_subsystem {
+ __Reply__kextmanager_path_for_bundle_id_t Reply_kextmanager_path_for_bundle_id;
+ __Reply__kextmanager_create_property_value_array_t Reply_kextmanager_create_property_value_array;
+ __Reply__kextmanager_user_did_log_in_t Reply_kextmanager_user_did_log_in;
+ __Reply__kextmanager_user_will_log_out_t Reply_kextmanager_user_will_log_out;
+ __Reply__kextmanager_get_logged_in_userid_t Reply_kextmanager_get_logged_in_userid;
+ __Reply__kextmanager_record_nonsecure_kextload_t Reply_kextmanager_record_nonsecure_kextload;
+ __Reply__kextmanager_lock_reboot_t Reply_kextmanager_lock_reboot;
+ __Reply__kextmanager_lock_volume_t Reply_kextmanager_lock_volume;
+ __Reply__kextmanager_unlock_volume_t Reply_kextmanager_unlock_volume;
+ __Reply__kextmanager_lock_kextload_t Reply_kextmanager_lock_kextload;
+ __Reply__kextmanager_unlock_kextload_t Reply_kextmanager_unlock_kextload;
+ __Reply__kextmanager_record_path_for_bundle_id_t Reply_kextmanager_record_path_for_bundle_id;
+};
+#endif /* !__RequestUnion__kextmanager_subsystem__defined */
+
+#ifndef subsystem_to_name_map_kextmanager
+#define subsystem_to_name_map_kextmanager \
+ { "kextmanager_path_for_bundle_id", 70000 },\
+ { "kextmanager_create_property_value_array", 70001 },\
+ { "kextmanager_user_did_log_in", 70002 },\
+ { "kextmanager_user_will_log_out", 70003 },\
+ { "kextmanager_get_logged_in_userid", 70004 },\
+ { "kextmanager_record_nonsecure_kextload", 70005 },\
+ { "kextmanager_lock_reboot", 70006 },\
+ { "kextmanager_lock_volume", 70007 },\
+ { "kextmanager_unlock_volume", 70008 },\
+ { "kextmanager_lock_kextload", 70009 },\
+ { "kextmanager_unlock_kextload", 70010 },\
+ { "kextmanager_record_path_for_bundle_id", 70011 }
+#endif
+
+#ifdef __AfterMigUserHeader
+__AfterMigUserHeader
+#endif /* __AfterMigUserHeader */
+
+#endif /* _kextmanager_user_ */
diff --git a/data/system-cmds/kextmanagerServer.c b/data/system-cmds/kextmanagerServer.c
new file mode 100644
index 000000000..401fe5874
--- /dev/null
+++ b/data/system-cmds/kextmanagerServer.c
@@ -0,0 +1,2756 @@
+/*
+ * IDENTIFICATION:
+ * stub generated Mon Dec 31 12:08:43 2007
+ * with a MiG generated Mon Sep 11 19:11:05 PDT 2006 by root@b09.apple.com
+ * OPTIONS:
+ */
+
+/* Module kextmanager */
+
+#define __MIG_check__Request__kextmanager_subsystem__ 1
+#define __NDR_convert__Request__kextmanager_subsystem__ 1
+
+#include <string.h>
+#include <mach/ndr.h>
+#include <mach/boolean.h>
+#include <mach/kern_return.h>
+#include <mach/notify.h>
+#include <mach/mach_types.h>
+#include <mach/message.h>
+#include <mach/mig_errors.h>
+#include <mach/port.h>
+
+#include <mach/std_types.h>
+#include <mach/mig.h>
+#include <mach/mig.h>
+#include <mach/mach_types.h>
+#include <Security/Authorization.h>
+#include <IOKit/kext/kextmanager_types.h>
+#include <mach/kmod.h>
+#include <sys/param.h>
+
+#ifndef mig_internal
+#define mig_internal static __inline__
+#endif /* mig_internal */
+
+#ifndef mig_external
+#define mig_external
+#endif /* mig_external */
+
+#if !defined(__MigTypeCheck) && defined(TypeCheck)
+#define __MigTypeCheck TypeCheck /* Legacy setting */
+#endif /* !defined(__MigTypeCheck) */
+
+#if !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_)
+#define __MigKernelSpecificCode _MIG_KERNEL_SPECIFIC_CODE_ /* Legacy setting */
+#endif /* !defined(__MigKernelSpecificCode) */
+
+#ifndef LimitCheck
+#define LimitCheck 0
+#endif /* LimitCheck */
+
+#ifndef min
+#define min(a,b) ( ((a) < (b))? (a): (b) )
+#endif /* min */
+
+#if !defined(_WALIGN_)
+#define _WALIGN_(x) (((x) + 3) & ~3)
+#endif /* !defined(_WALIGN_) */
+
+#if !defined(_WALIGNSZ_)
+#define _WALIGNSZ_(x) _WALIGN_(sizeof(x))
+#endif /* !defined(_WALIGNSZ_) */
+
+#ifndef UseStaticTemplates
+#define UseStaticTemplates 0
+#endif /* UseStaticTemplates */
+
+#ifndef __DeclareRcvRpc
+#define __DeclareRcvRpc(_NUM_, _NAME_)
+#endif /* __DeclareRcvRpc */
+
+#ifndef __BeforeRcvRpc
+#define __BeforeRcvRpc(_NUM_, _NAME_)
+#endif /* __BeforeRcvRpc */
+
+#ifndef __AfterRcvRpc
+#define __AfterRcvRpc(_NUM_, _NAME_)
+#endif /* __AfterRcvRpc */
+
+#ifndef __DeclareRcvSimple
+#define __DeclareRcvSimple(_NUM_, _NAME_)
+#endif /* __DeclareRcvSimple */
+
+#ifndef __BeforeRcvSimple
+#define __BeforeRcvSimple(_NUM_, _NAME_)
+#endif /* __BeforeRcvSimple */
+
+#ifndef __AfterRcvSimple
+#define __AfterRcvSimple(_NUM_, _NAME_)
+#endif /* __AfterRcvSimple */
+
+#define novalue void
+
+#define msgh_request_port msgh_local_port
+#define MACH_MSGH_BITS_REQUEST(bits) MACH_MSGH_BITS_LOCAL(bits)
+#define msgh_reply_port msgh_remote_port
+#define MACH_MSGH_BITS_REPLY(bits) MACH_MSGH_BITS_REMOTE(bits)
+
+#define MIG_RETURN_ERROR(X, code) {\
+ ((mig_reply_error_t *)X)->RetCode = code;\
+ ((mig_reply_error_t *)X)->NDR = NDR_record;\
+ return;\
+ }
+
+/* typedefs for all requests */
+
+#ifndef __Request__kextmanager_subsystem__defined
+#define __Request__kextmanager_subsystem__defined
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ } __Request__kextmanager_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ property_key_t prop_key;
+ } __Request__kextmanager_create_property_value_array_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ AuthorizationExternalForm authref;
+ } __Request__kextmanager_user_did_log_in_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ } __Request__kextmanager_user_will_log_out_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ } __Request__kextmanager_get_logged_in_userid_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t load_data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t load_dataCnt;
+ } __Request__kextmanager_record_nonsecure_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ int waitForLock;
+ } __Request__kextmanager_lock_reboot_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int waitForLock;
+ } __Request__kextmanager_lock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientIdent;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int exitStatus;
+ } __Request__kextmanager_unlock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } __Request__kextmanager_lock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } __Request__kextmanager_unlock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ posix_path_t path;
+ } __Request__kextmanager_record_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Request__kextmanager_subsystem__defined */
+
+/* typedefs for all replies */
+
+#ifndef __Reply__kextmanager_subsystem__defined
+#define __Reply__kextmanager_subsystem__defined
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ posix_path_t path;
+ kext_result_t kext_result;
+ } __Reply__kextmanager_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t dataCnt;
+ } __Reply__kextmanager_create_property_value_array_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_user_did_log_in_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_user_will_log_out_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ uint32_t euid;
+ } __Reply__kextmanager_get_logged_in_userid_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_record_nonsecure_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mountpoint_t busyVol;
+ char busyVolPad[2];
+ int busyStatus;
+ } __Reply__kextmanager_lock_reboot_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockStatus;
+ } __Reply__kextmanager_lock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_unlock_volume_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockstatus;
+ } __Reply__kextmanager_lock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_unlock_kextload_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply__kextmanager_record_path_for_bundle_id_t;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+#endif /* !__Reply__kextmanager_subsystem__defined */
+
+
+/* union of all replies */
+
+#ifndef __ReplyUnion___kextmanager_subsystem__defined
+#define __ReplyUnion___kextmanager_subsystem__defined
+union __ReplyUnion___kextmanager_subsystem {
+ __Reply__kextmanager_path_for_bundle_id_t Reply_kextmanager_path_for_bundle_id;
+ __Reply__kextmanager_create_property_value_array_t Reply_kextmanager_create_property_value_array;
+ __Reply__kextmanager_user_did_log_in_t Reply_kextmanager_user_did_log_in;
+ __Reply__kextmanager_user_will_log_out_t Reply_kextmanager_user_will_log_out;
+ __Reply__kextmanager_get_logged_in_userid_t Reply_kextmanager_get_logged_in_userid;
+ __Reply__kextmanager_record_nonsecure_kextload_t Reply_kextmanager_record_nonsecure_kextload;
+ __Reply__kextmanager_lock_reboot_t Reply_kextmanager_lock_reboot;
+ __Reply__kextmanager_lock_volume_t Reply_kextmanager_lock_volume;
+ __Reply__kextmanager_unlock_volume_t Reply_kextmanager_unlock_volume;
+ __Reply__kextmanager_lock_kextload_t Reply_kextmanager_lock_kextload;
+ __Reply__kextmanager_unlock_kextload_t Reply_kextmanager_unlock_kextload;
+ __Reply__kextmanager_record_path_for_bundle_id_t Reply_kextmanager_record_path_for_bundle_id;
+};
+#endif /* __RequestUnion___kextmanager_subsystem__defined */
+/* Forward Declarations */
+
+
+mig_internal novalue _Xkextmanager_path_for_bundle_id
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_create_property_value_array
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_user_did_log_in
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_user_will_log_out
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_get_logged_in_userid
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_record_nonsecure_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_lock_reboot
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_lock_volume
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_unlock_volume
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_lock_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_unlock_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+mig_internal novalue _Xkextmanager_record_path_for_bundle_id
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
+
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_path_for_bundle_id_t__defined)
+#define __MIG_check__Request__kextmanager_path_for_bundle_id_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__int_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__int_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__char_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__char_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__char_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__float_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__float_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__float_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_path_for_bundle_id_t(__Request__kextmanager_path_for_bundle_id_t *In0P)
+{
+
+ typedef __Request__kextmanager_path_for_bundle_id_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_path_for_bundle_id_t__bundle_id__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_path_for_bundle_id_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_path_for_bundle_id */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path,
+ kext_result_t *kext_result
+);
+
+/* Routine kextmanager_path_for_bundle_id */
+mig_internal novalue _Xkextmanager_path_for_bundle_id
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_path_for_bundle_id_t __Request;
+ typedef __Reply__kextmanager_path_for_bundle_id_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_path_for_bundle_id_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_path_for_bundle_id_t__defined */
+
+ __DeclareRcvRpc(70000, "kextmanager_path_for_bundle_id")
+ __BeforeRcvRpc(70000, "kextmanager_path_for_bundle_id")
+
+#if defined(__MIG_check__Request__kextmanager_path_for_bundle_id_t__defined)
+ check_result = __MIG_check__Request__kextmanager_path_for_bundle_id_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_path_for_bundle_id_t__defined) */
+
+ OutP->RetCode = _kextmanager_path_for_bundle_id(In0P->Head.msgh_request_port, In0P->bundle_id, OutP->path, &OutP->kext_result);
+ if (OutP->RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, OutP->RetCode);
+ }
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ __AfterRcvRpc(70000, "kextmanager_path_for_bundle_id")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_create_property_value_array_t__defined)
+#define __MIG_check__Request__kextmanager_create_property_value_array_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#if defined(__NDR_convert__int_rep__kextmanager__property_key_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__int_rep__kextmanager__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__property_key_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__int_rep__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#if defined(__NDR_convert__char_rep__kextmanager__property_key_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__char_rep__kextmanager__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__property_key_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__char_rep__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#if defined(__NDR_convert__float_rep__kextmanager__property_key_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__float_rep__kextmanager__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__property_key_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__float_rep__property_key_t((property_key_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined
+#define __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 128, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_create_property_value_array_t(__Request__kextmanager_create_property_value_array_t *In0P)
+{
+
+ typedef __Request__kextmanager_create_property_value_array_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key(&In0P->prop_key, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key(&In0P->prop_key, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined)
+ __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key(&In0P->prop_key, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_create_property_value_array_t__prop_key__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_create_property_value_array_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_create_property_value_array */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_create_property_value_array
+(
+ mach_port_t server,
+ property_key_t prop_key,
+ xmlDataOut_t *data,
+ mach_msg_type_number_t *dataCnt
+);
+
+/* Routine kextmanager_create_property_value_array */
+mig_internal novalue _Xkextmanager_create_property_value_array
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ property_key_t prop_key;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_create_property_value_array_t __Request;
+ typedef __Reply__kextmanager_create_property_value_array_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_create_property_value_array_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_create_property_value_array_t__defined */
+
+#if UseStaticTemplates
+ const static mach_msg_ool_descriptor_t dataTemplate = {
+ /* addr = */ (void *)0,
+ /* size = */ 0,
+ /* deal = */ TRUE,
+ /* copy = */ MACH_MSG_VIRTUAL_COPY,
+ /* pad2 = */ 0,
+ /* type = */ MACH_MSG_OOL_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ kern_return_t RetCode;
+ __DeclareRcvRpc(70001, "kextmanager_create_property_value_array")
+ __BeforeRcvRpc(70001, "kextmanager_create_property_value_array")
+
+#if defined(__MIG_check__Request__kextmanager_create_property_value_array_t__defined)
+ check_result = __MIG_check__Request__kextmanager_create_property_value_array_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_create_property_value_array_t__defined) */
+
+#if UseStaticTemplates
+ OutP->data = dataTemplate;
+#else /* UseStaticTemplates */
+ OutP->data.deallocate = TRUE;
+ OutP->data.copy = MACH_MSG_VIRTUAL_COPY;
+ OutP->data.type = MACH_MSG_OOL_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+
+ RetCode = _kextmanager_create_property_value_array(In0P->Head.msgh_request_port, In0P->prop_key, (xmlDataOut_t *)&(OutP->data.address), &OutP->dataCnt);
+ if (RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, RetCode);
+ }
+ OutP->data.size = OutP->dataCnt;
+
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_bits |= MACH_MSGH_BITS_COMPLEX;
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ OutP->msgh_body.msgh_descriptor_count = 1;
+ __AfterRcvRpc(70001, "kextmanager_create_property_value_array")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_user_did_log_in_t__defined)
+#define __MIG_check__Request__kextmanager_user_did_log_in_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#if defined(__NDR_convert__int_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__int_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__int_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+
+#ifndef __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#if defined(__NDR_convert__int_rep__kextmanager__AuthorizationExternalForm__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__int_rep__kextmanager__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__int_rep__AuthorizationExternalForm__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__int_rep__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__unsigned32__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__int_rep__kextmanager__unsigned32)
+#elif defined(__NDR_convert__int_rep__unsigned32__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__int_rep__unsigned32)
+#elif defined(__NDR_convert__int_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__int_rep__kextmanager__uint32_t)
+#elif defined(__NDR_convert__int_rep__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__int_rep__uint32_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#if defined(__NDR_convert__char_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__char_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__char_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#if defined(__NDR_convert__char_rep__kextmanager__AuthorizationExternalForm__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__char_rep__kextmanager__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__char_rep__AuthorizationExternalForm__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__char_rep__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__unsigned32__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__char_rep__kextmanager__unsigned32)
+#elif defined(__NDR_convert__char_rep__unsigned32__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__char_rep__unsigned32)
+#elif defined(__NDR_convert__char_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__char_rep__kextmanager__uint32_t)
+#elif defined(__NDR_convert__char_rep__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__char_rep__uint32_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#if defined(__NDR_convert__float_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__float_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid(a, f) \
+ __NDR_convert__float_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#if defined(__NDR_convert__float_rep__kextmanager__AuthorizationExternalForm__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__float_rep__kextmanager__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__float_rep__AuthorizationExternalForm__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__float_rep__AuthorizationExternalForm((AuthorizationExternalForm *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__unsigned32__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__float_rep__kextmanager__unsigned32)
+#elif defined(__NDR_convert__float_rep__unsigned32__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((unsigned32 *)(a), f, 8, __NDR_convert__float_rep__unsigned32)
+#elif defined(__NDR_convert__float_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__float_rep__kextmanager__uint32_t)
+#elif defined(__NDR_convert__float_rep__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(a, f) \
+ __NDR_convert__ARRAY((uint32_t *)(a), f, 8, __NDR_convert__float_rep__uint32_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_user_did_log_in_t(__Request__kextmanager_user_did_log_in_t *In0P)
+{
+
+ typedef __Request__kextmanager_user_did_log_in_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined) || \
+ defined(__NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined)
+ __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid(&In0P->euid, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+#if defined(__NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref(&In0P->authref, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined) || \
+ defined(__NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined)
+ __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid(&In0P->euid, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+#if defined(__NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref(&In0P->authref, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined) || \
+ defined(__NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined)
+ __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid(&In0P->euid, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__euid__defined */
+#if defined(__NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined)
+ __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref(&In0P->authref, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_did_log_in_t__authref__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_user_did_log_in_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_user_did_log_in */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_user_did_log_in
+(
+ mach_port_t server,
+ uint32_t euid,
+ AuthorizationExternalForm authref
+);
+
+/* Routine kextmanager_user_did_log_in */
+mig_internal novalue _Xkextmanager_user_did_log_in
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ AuthorizationExternalForm authref;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_user_did_log_in_t __Request;
+ typedef __Reply__kextmanager_user_did_log_in_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_user_did_log_in_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_user_did_log_in_t__defined */
+
+ __DeclareRcvRpc(70002, "kextmanager_user_did_log_in")
+ __BeforeRcvRpc(70002, "kextmanager_user_did_log_in")
+
+#if defined(__MIG_check__Request__kextmanager_user_did_log_in_t__defined)
+ check_result = __MIG_check__Request__kextmanager_user_did_log_in_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_user_did_log_in_t__defined) */
+
+ OutP->RetCode = _kextmanager_user_did_log_in(In0P->Head.msgh_request_port, In0P->euid, In0P->authref);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70002, "kextmanager_user_did_log_in")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_user_will_log_out_t__defined)
+#define __MIG_check__Request__kextmanager_user_will_log_out_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#if defined(__NDR_convert__int_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__int_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__uint32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__int_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#if defined(__NDR_convert__char_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__char_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__uint32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__char_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#if defined(__NDR_convert__float_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__float_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__uint32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid(a, f) \
+ __NDR_convert__float_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_user_will_log_out_t(__Request__kextmanager_user_will_log_out_t *In0P)
+{
+
+ typedef __Request__kextmanager_user_will_log_out_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid(&In0P->euid, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid(&In0P->euid, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined)
+ __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid(&In0P->euid, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_user_will_log_out_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_user_will_log_out_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_user_will_log_out */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_user_will_log_out
+(
+ mach_port_t server,
+ uint32_t euid
+);
+
+/* Routine kextmanager_user_will_log_out */
+mig_internal novalue _Xkextmanager_user_will_log_out
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_user_will_log_out_t __Request;
+ typedef __Reply__kextmanager_user_will_log_out_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_user_will_log_out_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_user_will_log_out_t__defined */
+
+ __DeclareRcvRpc(70003, "kextmanager_user_will_log_out")
+ __BeforeRcvRpc(70003, "kextmanager_user_will_log_out")
+
+#if defined(__MIG_check__Request__kextmanager_user_will_log_out_t__defined)
+ check_result = __MIG_check__Request__kextmanager_user_will_log_out_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_user_will_log_out_t__defined) */
+
+ OutP->RetCode = _kextmanager_user_will_log_out(In0P->Head.msgh_request_port, In0P->euid);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70003, "kextmanager_user_will_log_out")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_get_logged_in_userid_t__defined)
+#define __MIG_check__Request__kextmanager_get_logged_in_userid_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_get_logged_in_userid_t(__Request__kextmanager_get_logged_in_userid_t *In0P)
+{
+
+ typedef __Request__kextmanager_get_logged_in_userid_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_get_logged_in_userid_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_get_logged_in_userid */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_get_logged_in_userid
+(
+ mach_port_t server,
+ uint32_t *euid
+);
+
+/* Routine kextmanager_get_logged_in_userid */
+mig_internal novalue _Xkextmanager_get_logged_in_userid
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_get_logged_in_userid_t __Request;
+ typedef __Reply__kextmanager_get_logged_in_userid_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_get_logged_in_userid_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_get_logged_in_userid_t__defined */
+
+ __DeclareRcvRpc(70004, "kextmanager_get_logged_in_userid")
+ __BeforeRcvRpc(70004, "kextmanager_get_logged_in_userid")
+
+#if defined(__MIG_check__Request__kextmanager_get_logged_in_userid_t__defined)
+ check_result = __MIG_check__Request__kextmanager_get_logged_in_userid_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_get_logged_in_userid_t__defined) */
+
+ OutP->RetCode = _kextmanager_get_logged_in_userid(In0P->Head.msgh_request_port, &OutP->euid);
+ if (OutP->RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, OutP->RetCode);
+ }
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ __AfterRcvRpc(70004, "kextmanager_get_logged_in_userid")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined)
+#define __MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#if defined(__NDR_convert__int_rep__kextmanager__xmlDataIn_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__int_rep__kextmanager__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#elif defined(__NDR_convert__int_rep__xmlDataIn_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__int_rep__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+
+#ifndef __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined
+#if defined(__NDR_convert__int_rep__kextmanager__mach_msg_type_number_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt(a, f) \
+ __NDR_convert__int_rep__kextmanager__mach_msg_type_number_t((mach_msg_type_number_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__mach_msg_type_number_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt(a, f) \
+ __NDR_convert__int_rep__mach_msg_type_number_t((mach_msg_type_number_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#if defined(__NDR_convert__char_rep__kextmanager__xmlDataIn_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__char_rep__kextmanager__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#elif defined(__NDR_convert__char_rep__xmlDataIn_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__char_rep__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#if defined(__NDR_convert__float_rep__kextmanager__xmlDataIn_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__float_rep__kextmanager__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#elif defined(__NDR_convert__float_rep__xmlDataIn_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data(a, f, c) \
+ __NDR_convert__float_rep__xmlDataIn_t((xmlDataIn_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_record_nonsecure_kextload_t(__Request__kextmanager_record_nonsecure_kextload_t *In0P)
+{
+
+ typedef __Request__kextmanager_record_nonsecure_kextload_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->load_data.type != MACH_MSG_OOL_DESCRIPTOR)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined) || \
+ defined(__NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined)
+ __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt(&In0P->load_dataCnt, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_dataCnt__defined */
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined)
+ __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data((xmlDataIn_t)(In0P->load_data.address), In0P->NDR.int_rep, In0P->load_dataCnt);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined) || \
+ 0
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined)
+ __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data((xmlDataIn_t)(In0P->load_data.address), In0P->NDR.char_rep, In0P->load_dataCnt);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined) || \
+ 0
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined)
+ __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data((xmlDataIn_t)(In0P->load_data.address), In0P->NDR.float_rep, In0P->load_dataCnt);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_nonsecure_kextload_t__load_data__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_record_nonsecure_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_record_nonsecure_kextload
+(
+ mach_port_t server,
+ xmlDataIn_t load_data,
+ mach_msg_type_number_t load_dataCnt
+);
+
+/* Routine kextmanager_record_nonsecure_kextload */
+mig_internal novalue _Xkextmanager_record_nonsecure_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t load_data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t load_dataCnt;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_record_nonsecure_kextload_t __Request;
+ typedef __Reply__kextmanager_record_nonsecure_kextload_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined */
+
+ __DeclareRcvRpc(70005, "kextmanager_record_nonsecure_kextload")
+ __BeforeRcvRpc(70005, "kextmanager_record_nonsecure_kextload")
+
+#if defined(__MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined)
+ check_result = __MIG_check__Request__kextmanager_record_nonsecure_kextload_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_record_nonsecure_kextload_t__defined) */
+
+ OutP->RetCode = _kextmanager_record_nonsecure_kextload(In0P->Head.msgh_request_port, (xmlDataIn_t)(In0P->load_data.address), In0P->load_dataCnt);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70005, "kextmanager_record_nonsecure_kextload")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_lock_reboot_t__defined)
+#define __MIG_check__Request__kextmanager_lock_reboot_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_lock_reboot_t(__Request__kextmanager_lock_reboot_t *In0P)
+{
+
+ typedef __Request__kextmanager_lock_reboot_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->reaper.type != MACH_MSG_PORT_DESCRIPTOR ||
+ In0P->reaper.disposition != 17)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock(&In0P->waitForLock, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock(&In0P->waitForLock, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined)
+ __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock(&In0P->waitForLock, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_reboot_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_lock_reboot_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_reboot */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_lock_reboot
+(
+ mach_port_t server,
+ mach_port_t reply,
+ mach_port_t reaper,
+ int waitForLock,
+ mountpoint_t busyVol,
+ int *busyStatus
+);
+
+/* Routine kextmanager_lock_reboot */
+mig_internal novalue _Xkextmanager_lock_reboot
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ int waitForLock;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_lock_reboot_t __Request;
+ typedef __Reply__kextmanager_lock_reboot_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_lock_reboot_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_lock_reboot_t__defined */
+
+ __DeclareRcvRpc(70006, "kextmanager_lock_reboot")
+ __BeforeRcvRpc(70006, "kextmanager_lock_reboot")
+
+#if defined(__MIG_check__Request__kextmanager_lock_reboot_t__defined)
+ check_result = __MIG_check__Request__kextmanager_lock_reboot_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_lock_reboot_t__defined) */
+
+ OutP->RetCode = _kextmanager_lock_reboot(In0P->Head.msgh_request_port, In0P->Head.msgh_reply_port, In0P->reaper.name, In0P->waitForLock, OutP->busyVol, &OutP->busyStatus);
+ if (OutP->RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, OutP->RetCode);
+ }
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ __AfterRcvRpc(70006, "kextmanager_lock_reboot")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_lock_volume_t__defined)
+#define __MIG_check__Request__kextmanager_lock_volume_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__int_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__int_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__uuid_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__int_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__int_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__int_rep__uint8_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__int_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__char_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__char_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__uuid_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__char_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__char_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__char_rep__uint8_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__char_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__float_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__float_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__uuid_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__float_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__float_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__float_rep__uint8_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__float_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined
+#define __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_lock_volume_t(__Request__kextmanager_lock_volume_t *In0P)
+{
+
+ typedef __Request__kextmanager_lock_volume_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->reaper.type != MACH_MSG_PORT_DESCRIPTOR ||
+ In0P->reaper.disposition != 17)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined)
+ __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock(&In0P->waitForLock, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined)
+ __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock(&In0P->waitForLock, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined)
+ __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined)
+ __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock(&In0P->waitForLock, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_lock_volume_t__waitForLock__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_lock_volume_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_volume */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_lock_volume
+(
+ mach_port_t server,
+ mach_port_t reply,
+ mach_port_t reaper,
+ uuid_t vol_uuid,
+ int waitForLock,
+ int *lockStatus
+);
+
+/* Routine kextmanager_lock_volume */
+mig_internal novalue _Xkextmanager_lock_volume
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int waitForLock;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_lock_volume_t __Request;
+ typedef __Reply__kextmanager_lock_volume_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_lock_volume_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_lock_volume_t__defined */
+
+ __DeclareRcvRpc(70007, "kextmanager_lock_volume")
+ __BeforeRcvRpc(70007, "kextmanager_lock_volume")
+
+#if defined(__MIG_check__Request__kextmanager_lock_volume_t__defined)
+ check_result = __MIG_check__Request__kextmanager_lock_volume_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_lock_volume_t__defined) */
+
+ OutP->RetCode = _kextmanager_lock_volume(In0P->Head.msgh_request_port, In0P->Head.msgh_reply_port, In0P->reaper.name, In0P->vol_uuid, In0P->waitForLock, &OutP->lockStatus);
+ if (OutP->RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, OutP->RetCode);
+ }
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ __AfterRcvRpc(70007, "kextmanager_lock_volume")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_unlock_volume_t__defined)
+#define __MIG_check__Request__kextmanager_unlock_volume_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__int_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__int_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__uuid_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__int_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__int_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__int_rep__uint8_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__int_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__char_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__char_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__uuid_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__char_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__char_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__char_rep__uint8_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__char_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#if defined(__NDR_convert__float_rep__kextmanager__uuid_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__float_rep__kextmanager__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__uuid_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__float_rep__uuid_t((uuid_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__uint8_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__float_rep__kextmanager__uint8_t)
+#elif defined(__NDR_convert__float_rep__uint8_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid(a, f) \
+ __NDR_convert__ARRAY((uint8_t *)(a), f, 16, __NDR_convert__float_rep__uint8_t)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined
+#define __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_unlock_volume_t(__Request__kextmanager_unlock_volume_t *In0P)
+{
+
+ typedef __Request__kextmanager_unlock_volume_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->clientIdent.type != MACH_MSG_PORT_DESCRIPTOR ||
+ In0P->clientIdent.disposition != 17)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined)
+ __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus(&In0P->exitStatus, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined)
+ __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus(&In0P->exitStatus, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined) || \
+ defined(__NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined)
+ __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid(&In0P->vol_uuid, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__vol_uuid__defined */
+#if defined(__NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined)
+ __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus(&In0P->exitStatus, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_unlock_volume_t__exitStatus__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_unlock_volume_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_unlock_volume */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_unlock_volume
+(
+ mach_port_t server,
+ mach_port_t clientIdent,
+ uuid_t vol_uuid,
+ int exitStatus
+);
+
+/* Routine kextmanager_unlock_volume */
+mig_internal novalue _Xkextmanager_unlock_volume
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientIdent;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int exitStatus;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_unlock_volume_t __Request;
+ typedef __Reply__kextmanager_unlock_volume_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_unlock_volume_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_unlock_volume_t__defined */
+
+ __DeclareRcvRpc(70008, "kextmanager_unlock_volume")
+ __BeforeRcvRpc(70008, "kextmanager_unlock_volume")
+
+#if defined(__MIG_check__Request__kextmanager_unlock_volume_t__defined)
+ check_result = __MIG_check__Request__kextmanager_unlock_volume_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_unlock_volume_t__defined) */
+
+ OutP->RetCode = _kextmanager_unlock_volume(In0P->Head.msgh_request_port, In0P->clientIdent.name, In0P->vol_uuid, In0P->exitStatus);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70008, "kextmanager_unlock_volume")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_lock_kextload_t__defined)
+#define __MIG_check__Request__kextmanager_lock_kextload_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_lock_kextload_t(__Request__kextmanager_lock_kextload_t *In0P)
+{
+
+ typedef __Request__kextmanager_lock_kextload_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->clientPort.type != MACH_MSG_PORT_DESCRIPTOR ||
+ In0P->clientPort.disposition != 17)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_lock_kextload_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_lock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort,
+ int *lockstatus
+);
+
+/* Routine kextmanager_lock_kextload */
+mig_internal novalue _Xkextmanager_lock_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_lock_kextload_t __Request;
+ typedef __Reply__kextmanager_lock_kextload_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_lock_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_lock_kextload_t__defined */
+
+ __DeclareRcvRpc(70009, "kextmanager_lock_kextload")
+ __BeforeRcvRpc(70009, "kextmanager_lock_kextload")
+
+#if defined(__MIG_check__Request__kextmanager_lock_kextload_t__defined)
+ check_result = __MIG_check__Request__kextmanager_lock_kextload_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_lock_kextload_t__defined) */
+
+ OutP->RetCode = _kextmanager_lock_kextload(In0P->Head.msgh_request_port, In0P->clientPort.name, &OutP->lockstatus);
+ if (OutP->RetCode != KERN_SUCCESS) {
+ MIG_RETURN_ERROR(OutP, OutP->RetCode);
+ }
+
+ OutP->NDR = NDR_record;
+
+
+ OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
+ __AfterRcvRpc(70009, "kextmanager_lock_kextload")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_unlock_kextload_t__defined)
+#define __MIG_check__Request__kextmanager_unlock_kextload_t__defined
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_unlock_kextload_t(__Request__kextmanager_unlock_kextload_t *In0P)
+{
+
+ typedef __Request__kextmanager_unlock_kextload_t __Request;
+#if __MigTypeCheck
+ if (!(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->msgh_body.msgh_descriptor_count != 1) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if __MigTypeCheck
+ if (In0P->clientPort.type != MACH_MSG_PORT_DESCRIPTOR ||
+ In0P->clientPort.disposition != 17)
+ return MIG_TYPE_ERROR;
+#endif /* __MigTypeCheck */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_unlock_kextload_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_unlock_kextload */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_unlock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort
+);
+
+/* Routine kextmanager_unlock_kextload */
+mig_internal novalue _Xkextmanager_unlock_kextload
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_unlock_kextload_t __Request;
+ typedef __Reply__kextmanager_unlock_kextload_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_unlock_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_unlock_kextload_t__defined */
+
+ __DeclareRcvRpc(70010, "kextmanager_unlock_kextload")
+ __BeforeRcvRpc(70010, "kextmanager_unlock_kextload")
+
+#if defined(__MIG_check__Request__kextmanager_unlock_kextload_t__defined)
+ check_result = __MIG_check__Request__kextmanager_unlock_kextload_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_unlock_kextload_t__defined) */
+
+ OutP->RetCode = _kextmanager_unlock_kextload(In0P->Head.msgh_request_port, In0P->clientPort.name);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70010, "kextmanager_unlock_kextload")
+}
+
+#if (__MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Request__kextmanager_subsystem__
+#if !defined(__MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined)
+#define __MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined
+#ifndef __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__int_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__int_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+
+#ifndef __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__int_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__int_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__posix_path_t__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__int_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__char_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__char_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__char_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+
+#ifndef __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__char_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__char_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__posix_path_t__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__char_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#if defined(__NDR_convert__float_rep__kextmanager__kext_bundle_id_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__float_rep__kextmanager__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kext_bundle_id_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__float_rep__kext_bundle_id_t((kext_bundle_id_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 64, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+
+#ifndef __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__float_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__float_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__posix_path_t__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__float_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+
+
+mig_internal kern_return_t __MIG_check__Request__kextmanager_record_path_for_bundle_id_t(__Request__kextmanager_record_path_for_bundle_id_t *In0P)
+{
+
+ typedef __Request__kextmanager_record_path_for_bundle_id_t __Request;
+#if __MigTypeCheck
+ if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
+ return MIG_BAD_ARGUMENTS;
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined) || \
+ defined(__NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ if (In0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+#if defined(__NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path(&In0P->path, In0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined) || \
+ defined(__NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ if (In0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+#if defined(__NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path(&In0P->path, In0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined) || \
+ defined(__NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ if (In0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined)
+ __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id(&In0P->bundle_id, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__bundle_id__defined */
+#if defined(__NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined)
+ __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path(&In0P->path, In0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Request__kextmanager_record_path_for_bundle_id_t__path__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined) */
+#endif /* __MIG_check__Request__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_record_path_for_bundle_id */
+#ifdef mig_external
+mig_external
+#else
+extern
+#endif /* mig_external */
+kern_return_t _kextmanager_record_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path
+);
+
+/* Routine kextmanager_record_path_for_bundle_id */
+mig_internal novalue _Xkextmanager_record_path_for_bundle_id
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ posix_path_t path;
+ mach_msg_trailer_t trailer;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ typedef __Request__kextmanager_record_path_for_bundle_id_t __Request;
+ typedef __Reply__kextmanager_record_path_for_bundle_id_t Reply;
+
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ Request *In0P = (Request *) InHeadP;
+ Reply *OutP = (Reply *) OutHeadP;
+#ifdef __MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined */
+
+ __DeclareRcvRpc(70011, "kextmanager_record_path_for_bundle_id")
+ __BeforeRcvRpc(70011, "kextmanager_record_path_for_bundle_id")
+
+#if defined(__MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined)
+ check_result = __MIG_check__Request__kextmanager_record_path_for_bundle_id_t((__Request *)In0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { MIG_RETURN_ERROR(OutP, check_result); }
+#endif /* defined(__MIG_check__Request__kextmanager_record_path_for_bundle_id_t__defined) */
+
+ OutP->RetCode = _kextmanager_record_path_for_bundle_id(In0P->Head.msgh_request_port, In0P->bundle_id, In0P->path);
+
+ OutP->NDR = NDR_record;
+
+
+ __AfterRcvRpc(70011, "kextmanager_record_path_for_bundle_id")
+}
+
+
+extern boolean_t kextmanager_server(
+ mach_msg_header_t *InHeadP,
+ mach_msg_header_t *OutHeadP);
+
+extern mig_routine_t kextmanager_server_routine(
+ mach_msg_header_t *InHeadP);
+
+
+/* Description of this subsystem, for use in direct RPC */
+const struct _kextmanager_subsystem {
+ mig_server_routine_t server; /* Server routine */
+ mach_msg_id_t start; /* Min routine number */
+ mach_msg_id_t end; /* Max routine number + 1 */
+ unsigned int maxsize; /* Max msg size */
+ vm_address_t reserved; /* Reserved */
+ struct routine_descriptor /*Array of routine descriptors */
+ routine[12];
+} _kextmanager_subsystem = {
+ kextmanager_server_routine,
+ 70000,
+ 70012,
+ (mach_msg_size_t)sizeof(union __ReplyUnion___kextmanager_subsystem),
+ (vm_address_t)0,
+ {
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_path_for_bundle_id, 4, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_path_for_bundle_id_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_create_property_value_array, 4, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_create_property_value_array_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_user_did_log_in, 10, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_user_did_log_in_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_user_will_log_out, 2, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_user_will_log_out_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_get_logged_in_userid, 2, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_get_logged_in_userid_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_record_nonsecure_kextload, 3, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_record_nonsecure_kextload_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_lock_reboot, 6, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_lock_reboot_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_lock_volume, 6, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_lock_volume_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_unlock_volume, 4, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_unlock_volume_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_lock_kextload, 3, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_lock_kextload_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_unlock_kextload, 2, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_unlock_kextload_t)},
+ { (mig_impl_routine_t) 0,
+ (mig_stub_routine_t) _Xkextmanager_record_path_for_bundle_id, 3, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__kextmanager_record_path_for_bundle_id_t)},
+ }
+};
+
+mig_external boolean_t kextmanager_server
+ (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
+{
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ register mig_routine_t routine;
+
+ OutHeadP->msgh_bits = MACH_MSGH_BITS(MACH_MSGH_BITS_REPLY(InHeadP->msgh_bits), 0);
+ OutHeadP->msgh_remote_port = InHeadP->msgh_reply_port;
+ /* Minimal size: routine() will update it if different */
+ OutHeadP->msgh_size = (mach_msg_size_t)sizeof(mig_reply_error_t);
+ OutHeadP->msgh_local_port = MACH_PORT_NULL;
+ OutHeadP->msgh_id = InHeadP->msgh_id + 100;
+
+ if ((InHeadP->msgh_id > 70011) || (InHeadP->msgh_id < 70000) ||
+ ((routine = _kextmanager_subsystem.routine[InHeadP->msgh_id - 70000].stub_routine) == 0)) {
+ ((mig_reply_error_t *)OutHeadP)->NDR = NDR_record;
+ ((mig_reply_error_t *)OutHeadP)->RetCode = MIG_BAD_ID;
+ return FALSE;
+ }
+ (*routine) (InHeadP, OutHeadP);
+ return TRUE;
+}
+
+mig_external mig_routine_t kextmanager_server_routine
+ (mach_msg_header_t *InHeadP)
+{
+ register int msgh_id;
+
+ msgh_id = InHeadP->msgh_id - 70000;
+
+ if ((msgh_id > 11) || (msgh_id < 0))
+ return 0;
+
+ return _kextmanager_subsystem.routine[msgh_id].stub_routine;
+}
diff --git a/data/system-cmds/kextmanagerUser.c b/data/system-cmds/kextmanagerUser.c
new file mode 100644
index 000000000..13dc65461
--- /dev/null
+++ b/data/system-cmds/kextmanagerUser.c
@@ -0,0 +1,2844 @@
+/*
+ * IDENTIFICATION:
+ * stub generated Mon Dec 31 12:08:43 2007
+ * with a MiG generated Mon Sep 11 19:11:05 PDT 2006 by root@b09.apple.com
+ * OPTIONS:
+ */
+#define __MIG_check__Reply__kextmanager_subsystem__ 1
+#define __NDR_convert__Reply__kextmanager_subsystem__ 1
+#define __NDR_convert__mig_reply_error_subsystem__ 1
+
+#include "kextmanager.h"
+
+
+#ifndef mig_internal
+#define mig_internal static __inline__
+#endif /* mig_internal */
+
+#ifndef mig_external
+#define mig_external
+#endif /* mig_external */
+
+#if !defined(__MigTypeCheck) && defined(TypeCheck)
+#define __MigTypeCheck TypeCheck /* Legacy setting */
+#endif /* !defined(__MigTypeCheck) */
+
+#if !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_)
+#define __MigKernelSpecificCode _MIG_KERNEL_SPECIFIC_CODE_ /* Legacy setting */
+#endif /* !defined(__MigKernelSpecificCode) */
+
+#ifndef LimitCheck
+#define LimitCheck 0
+#endif /* LimitCheck */
+
+#ifndef min
+#define min(a,b) ( ((a) < (b))? (a): (b) )
+#endif /* min */
+
+#if !defined(_WALIGN_)
+#define _WALIGN_(x) (((x) + 3) & ~3)
+#endif /* !defined(_WALIGN_) */
+
+#if !defined(_WALIGNSZ_)
+#define _WALIGNSZ_(x) _WALIGN_(sizeof(x))
+#endif /* !defined(_WALIGNSZ_) */
+
+#ifndef UseStaticTemplates
+#define UseStaticTemplates 0
+#endif /* UseStaticTemplates */
+
+#ifndef __MachMsgErrorWithTimeout
+#define __MachMsgErrorWithTimeout(_R_) { \
+ switch (_R_) { \
+ case MACH_SEND_INVALID_REPLY: \
+ case MACH_RCV_INVALID_NAME: \
+ case MACH_RCV_PORT_DIED: \
+ case MACH_RCV_PORT_CHANGED: \
+ case MACH_RCV_TIMED_OUT: \
+ mig_dealloc_reply_port(InP->Head.msgh_reply_port); \
+ break; \
+ default: \
+ mig_put_reply_port(InP->Head.msgh_reply_port); \
+ } \
+}
+#endif /* __MachMsgErrorWithTimeout */
+
+#ifndef __MachMsgErrorWithoutTimeout
+#define __MachMsgErrorWithoutTimeout(_R_) { \
+ switch (_R_) { \
+ case MACH_SEND_INVALID_REPLY: \
+ case MACH_RCV_INVALID_NAME: \
+ case MACH_RCV_PORT_DIED: \
+ case MACH_RCV_PORT_CHANGED: \
+ mig_dealloc_reply_port(InP->Head.msgh_reply_port); \
+ break; \
+ default: \
+ mig_put_reply_port(InP->Head.msgh_reply_port); \
+ } \
+}
+#endif /* __MachMsgErrorWithoutTimeout */
+
+#ifndef __DeclareSendRpc
+#define __DeclareSendRpc(_NUM_, _NAME_)
+#endif /* __DeclareSendRpc */
+
+#ifndef __BeforeSendRpc
+#define __BeforeSendRpc(_NUM_, _NAME_)
+#endif /* __BeforeSendRpc */
+
+#ifndef __AfterSendRpc
+#define __AfterSendRpc(_NUM_, _NAME_)
+#endif /* __AfterSendRpc */
+
+#ifndef __DeclareSendSimple
+#define __DeclareSendSimple(_NUM_, _NAME_)
+#endif /* __DeclareSendSimple */
+
+#ifndef __BeforeSendSimple
+#define __BeforeSendSimple(_NUM_, _NAME_)
+#endif /* __BeforeSendSimple */
+
+#ifndef __AfterSendSimple
+#define __AfterSendSimple(_NUM_, _NAME_)
+#endif /* __AfterSendSimple */
+
+#define msgh_request_port msgh_remote_port
+#define msgh_reply_port msgh_local_port
+
+
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined)
+#define __MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__int_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__int_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__posix_path_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__int_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kext_result_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__kextmanager__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kext_result_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__char_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__char_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__posix_path_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__char_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#if defined(__NDR_convert__char_rep__kextmanager__kext_result_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__kextmanager__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kext_result_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#if defined(__NDR_convert__float_rep__kextmanager__posix_path_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__float_rep__kextmanager__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__posix_path_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__float_rep__posix_path_t((posix_path_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 1024, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#if defined(__NDR_convert__float_rep__kextmanager__kext_result_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__kextmanager__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kext_result_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__kext_result_t((kext_result_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_path_for_bundle_id_t(__Reply__kextmanager_path_for_bundle_id_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_path_for_bundle_id_t __Reply;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70100) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ ((msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ Out0P->RetCode == KERN_SUCCESS)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (Out0P->RetCode != KERN_SUCCESS) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__RetCode__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path(&Out0P->path, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(&Out0P->kext_result, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined) || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path(&Out0P->path, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(&Out0P->kext_result, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined) || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path(&Out0P->path, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__path__defined */
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result(&Out0P->kext_result, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_path_for_bundle_id_t__kext_result__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_path_for_bundle_id */
+mig_external kern_return_t kextmanager_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path,
+ kext_result_t *kext_result
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ posix_path_t path;
+ kext_result_t kext_result;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ posix_path_t path;
+ kext_result_t kext_result;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined */
+
+ __DeclareSendRpc(70000, "kextmanager_path_for_bundle_id")
+
+ InP->NDR = NDR_record;
+
+ { typedef struct { char data[64]; } *sp;
+ * (sp) InP->bundle_id = * (sp) bundle_id;
+ }
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70000;
+
+ __BeforeSendRpc(70000, "kextmanager_path_for_bundle_id")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70000, "kextmanager_path_for_bundle_id")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_path_for_bundle_id_t((__Reply__kextmanager_path_for_bundle_id_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_path_for_bundle_id_t__defined) */
+
+ { typedef struct { char data[1024]; } *sp;
+ * (sp) path = * (sp) Out0P->path;
+ }
+
+ *kext_result = Out0P->kext_result;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_create_property_value_array_t__defined)
+#define __MIG_check__Reply__kextmanager_create_property_value_array_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#if defined(__NDR_convert__int_rep__kextmanager__xmlDataOut_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__int_rep__kextmanager__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#elif defined(__NDR_convert__int_rep__xmlDataOut_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__int_rep__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined
+#if defined(__NDR_convert__int_rep__kextmanager__mach_msg_type_number_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt(a, f) \
+ __NDR_convert__int_rep__kextmanager__mach_msg_type_number_t((mach_msg_type_number_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__mach_msg_type_number_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt(a, f) \
+ __NDR_convert__int_rep__mach_msg_type_number_t((mach_msg_type_number_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined */
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#if defined(__NDR_convert__char_rep__kextmanager__xmlDataOut_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__char_rep__kextmanager__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#elif defined(__NDR_convert__char_rep__xmlDataOut_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__char_rep__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#if defined(__NDR_convert__float_rep__kextmanager__xmlDataOut_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__float_rep__kextmanager__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#elif defined(__NDR_convert__float_rep__xmlDataOut_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data(a, f, c) \
+ __NDR_convert__float_rep__xmlDataOut_t((xmlDataOut_t *)(a), f, c)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_create_property_value_array_t(__Reply__kextmanager_create_property_value_array_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_create_property_value_array_t __Reply;
+ boolean_t msgh_simple;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70101) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+ msgh_simple = !(Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX);
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((msgh_simple || Out0P->msgh_body.msgh_descriptor_count != 1 ||
+ msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (!msgh_simple || msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ ((mig_reply_error_t *)Out0P)->RetCode == KERN_SUCCESS))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (msgh_simple) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if __MigTypeCheck
+ if (Out0P->data.type != MACH_MSG_OOL_DESCRIPTOR)
+ { return MIG_TYPE_ERROR; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt(&Out0P->dataCnt, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__dataCnt__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data((xmlDataOut_t)(Out0P->data.address), Out0P->NDR.int_rep, Out0P->dataCnt);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined) || \
+ 0
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data((xmlDataOut_t)(Out0P->data.address), Out0P->NDR.char_rep, Out0P->dataCnt);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined) || \
+ 0
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data((xmlDataOut_t)(Out0P->data.address), Out0P->NDR.float_rep, Out0P->dataCnt);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_create_property_value_array_t__data__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_create_property_value_array_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_create_property_value_array */
+mig_external kern_return_t kextmanager_create_property_value_array
+(
+ mach_port_t server,
+ property_key_t prop_key,
+ xmlDataOut_t *data,
+ mach_msg_type_number_t *dataCnt
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ property_key_t prop_key;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t dataCnt;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t dataCnt;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_create_property_value_array_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_create_property_value_array_t__defined */
+
+ __DeclareSendRpc(70001, "kextmanager_create_property_value_array")
+
+ InP->NDR = NDR_record;
+
+ { typedef struct { char data[128]; } *sp;
+ * (sp) InP->prop_key = * (sp) prop_key;
+ }
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70001;
+
+ __BeforeSendRpc(70001, "kextmanager_create_property_value_array")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70001, "kextmanager_create_property_value_array")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_create_property_value_array_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_create_property_value_array_t((__Reply__kextmanager_create_property_value_array_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_create_property_value_array_t__defined) */
+
+ *data = (xmlDataOut_t)(Out0P->data.address);
+ *dataCnt = Out0P->dataCnt;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_user_did_log_in_t__defined)
+#define __MIG_check__Reply__kextmanager_user_did_log_in_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_user_did_log_in_t(__Reply__kextmanager_user_did_log_in_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_user_did_log_in_t __Reply;
+ if (Out0P->Head.msgh_id != 70102) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_user_did_log_in_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_user_did_log_in_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_user_did_log_in */
+mig_external kern_return_t kextmanager_user_did_log_in
+(
+ mach_port_t server,
+ uint32_t euid,
+ AuthorizationExternalForm authref
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ AuthorizationExternalForm authref;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_user_did_log_in_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_user_did_log_in_t__defined */
+
+ __DeclareSendRpc(70002, "kextmanager_user_did_log_in")
+
+ InP->NDR = NDR_record;
+
+ InP->euid = euid;
+
+ InP->authref = authref;
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70002;
+
+ __BeforeSendRpc(70002, "kextmanager_user_did_log_in")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70002, "kextmanager_user_did_log_in")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_user_did_log_in_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_user_did_log_in_t((__Reply__kextmanager_user_did_log_in_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_user_did_log_in_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_user_will_log_out_t__defined)
+#define __MIG_check__Reply__kextmanager_user_will_log_out_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_user_will_log_out_t(__Reply__kextmanager_user_will_log_out_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_user_will_log_out_t __Reply;
+ if (Out0P->Head.msgh_id != 70103) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_user_will_log_out_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_user_will_log_out_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_user_will_log_out */
+mig_external kern_return_t kextmanager_user_will_log_out
+(
+ mach_port_t server,
+ uint32_t euid
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ uint32_t euid;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_user_will_log_out_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_user_will_log_out_t__defined */
+
+ __DeclareSendRpc(70003, "kextmanager_user_will_log_out")
+
+ InP->NDR = NDR_record;
+
+ InP->euid = euid;
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70003;
+
+ __BeforeSendRpc(70003, "kextmanager_user_will_log_out")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70003, "kextmanager_user_will_log_out")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_user_will_log_out_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_user_will_log_out_t((__Reply__kextmanager_user_will_log_out_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_user_will_log_out_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined)
+#define __MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#if defined(__NDR_convert__int_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__int_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__uint32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__int_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#if defined(__NDR_convert__char_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__char_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__uint32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__char_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#if defined(__NDR_convert__float_rep__kextmanager__uint32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__float_rep__kextmanager__uint32_t((uint32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__uint32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid(a, f) \
+ __NDR_convert__float_rep__uint32_t((uint32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_get_logged_in_userid_t(__Reply__kextmanager_get_logged_in_userid_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_get_logged_in_userid_t __Reply;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70104) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ ((msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ Out0P->RetCode == KERN_SUCCESS)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (Out0P->RetCode != KERN_SUCCESS) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__RetCode__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid(&Out0P->euid, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid(&Out0P->euid, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid(&Out0P->euid, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_get_logged_in_userid_t__euid__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_get_logged_in_userid */
+mig_external kern_return_t kextmanager_get_logged_in_userid
+(
+ mach_port_t server,
+ uint32_t *euid
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ uint32_t euid;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ uint32_t euid;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined */
+
+ __DeclareSendRpc(70004, "kextmanager_get_logged_in_userid")
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70004;
+
+ __BeforeSendRpc(70004, "kextmanager_get_logged_in_userid")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70004, "kextmanager_get_logged_in_userid")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_get_logged_in_userid_t((__Reply__kextmanager_get_logged_in_userid_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_get_logged_in_userid_t__defined) */
+
+ *euid = Out0P->euid;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined)
+#define __MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_record_nonsecure_kextload_t(__Reply__kextmanager_record_nonsecure_kextload_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_record_nonsecure_kextload_t __Reply;
+ if (Out0P->Head.msgh_id != 70105) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_record_nonsecure_kextload_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_record_nonsecure_kextload */
+mig_external kern_return_t kextmanager_record_nonsecure_kextload
+(
+ mach_port_t server,
+ xmlDataIn_t load_data,
+ mach_msg_type_number_t load_dataCnt
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_ool_descriptor_t load_data;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ mach_msg_type_number_t load_dataCnt;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined */
+
+ __DeclareSendRpc(70005, "kextmanager_record_nonsecure_kextload")
+
+#if UseStaticTemplates
+ const static mach_msg_ool_descriptor_t load_dataTemplate = {
+ /* addr = */ (void *)0,
+ /* size = */ 0,
+ /* deal = */ FALSE,
+ /* copy = */ MACH_MSG_VIRTUAL_COPY,
+ /* pad2 = */ 0,
+ /* type = */ MACH_MSG_OOL_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->load_data = load_dataTemplate;
+ InP->load_data.address = (void *)(load_data);
+ InP->load_data.size = load_dataCnt;
+#else /* UseStaticTemplates */
+ InP->load_data.address = (void *)(load_data);
+ InP->load_data.size = load_dataCnt;
+ InP->load_data.deallocate = FALSE;
+ InP->load_data.copy = MACH_MSG_VIRTUAL_COPY;
+ InP->load_data.type = MACH_MSG_OOL_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->NDR = NDR_record;
+
+ InP->load_dataCnt = load_dataCnt;
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70005;
+
+ __BeforeSendRpc(70005, "kextmanager_record_nonsecure_kextload")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70005, "kextmanager_record_nonsecure_kextload")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_record_nonsecure_kextload_t((__Reply__kextmanager_record_nonsecure_kextload_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_record_nonsecure_kextload_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_lock_reboot_t__defined)
+#define __MIG_check__Reply__kextmanager_lock_reboot_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#if defined(__NDR_convert__int_rep__kextmanager__mountpoint_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__int_rep__kextmanager__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__mountpoint_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__int_rep__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__char__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__int_rep__kextmanager__char)
+#elif defined(__NDR_convert__int_rep__char__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__int_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#if defined(__NDR_convert__char_rep__kextmanager__mountpoint_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__char_rep__kextmanager__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__mountpoint_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__char_rep__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__char__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__char_rep__kextmanager__char)
+#elif defined(__NDR_convert__char_rep__char__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__char_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#if defined(__NDR_convert__float_rep__kextmanager__mountpoint_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__float_rep__kextmanager__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__mountpoint_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__float_rep__mountpoint_t((mountpoint_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__char__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__float_rep__kextmanager__char)
+#elif defined(__NDR_convert__float_rep__char__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol(a, f) \
+ __NDR_convert__ARRAY((char *)(a), f, 90, __NDR_convert__float_rep__char)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_lock_reboot_t(__Reply__kextmanager_lock_reboot_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_lock_reboot_t __Reply;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70106) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ ((msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ Out0P->RetCode == KERN_SUCCESS)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (Out0P->RetCode != KERN_SUCCESS) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__RetCode__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol(&Out0P->busyVol, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus(&Out0P->busyStatus, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined) || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol(&Out0P->busyVol, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus(&Out0P->busyStatus, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined) || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol(&Out0P->busyVol, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyVol__defined */
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus(&Out0P->busyStatus, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_reboot_t__busyStatus__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_lock_reboot_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_reboot */
+mig_external kern_return_t kextmanager_lock_reboot
+(
+ mach_port_t server,
+ mach_port_t reaper,
+ int waitForLock,
+ mountpoint_t busyVol,
+ int *busyStatus
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ int waitForLock;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mountpoint_t busyVol;
+ char busyVolPad[2];
+ int busyStatus;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mountpoint_t busyVol;
+ char busyVolPad[2];
+ int busyStatus;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_lock_reboot_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_lock_reboot_t__defined */
+
+ __DeclareSendRpc(70006, "kextmanager_lock_reboot")
+
+#if UseStaticTemplates
+ const static mach_msg_port_descriptor_t reaperTemplate = {
+ /* name = */ MACH_PORT_NULL,
+ /* pad1 = */ 0,
+ /* pad2 = */ 0,
+ /* disp = */ 20,
+ /* type = */ MACH_MSG_PORT_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->reaper = reaperTemplate;
+ InP->reaper.name = reaper;
+#else /* UseStaticTemplates */
+ InP->reaper.name = reaper;
+ InP->reaper.disposition = 20;
+ InP->reaper.type = MACH_MSG_PORT_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->NDR = NDR_record;
+
+ InP->waitForLock = waitForLock;
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, 21);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70006;
+
+ __BeforeSendRpc(70006, "kextmanager_lock_reboot")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70006, "kextmanager_lock_reboot")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_lock_reboot_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_lock_reboot_t((__Reply__kextmanager_lock_reboot_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_lock_reboot_t__defined) */
+
+ { typedef struct { char data[90]; } *sp;
+ * (sp) busyVol = * (sp) Out0P->busyVol;
+ }
+
+ *busyStatus = Out0P->busyStatus;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_lock_volume_t__defined)
+#define __MIG_check__Reply__kextmanager_lock_volume_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_lock_volume_t(__Reply__kextmanager_lock_volume_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_lock_volume_t __Reply;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70107) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ ((msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ Out0P->RetCode == KERN_SUCCESS)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (Out0P->RetCode != KERN_SUCCESS) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__RetCode__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus(&Out0P->lockStatus, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus(&Out0P->lockStatus, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus(&Out0P->lockStatus, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_volume_t__lockStatus__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_lock_volume_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_volume */
+mig_external kern_return_t kextmanager_lock_volume
+(
+ mach_port_t server,
+ mach_port_t reaper,
+ uuid_t vol_uuid,
+ int waitForLock,
+ int *lockStatus
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t reaper;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int waitForLock;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockStatus;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockStatus;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_lock_volume_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_lock_volume_t__defined */
+
+ __DeclareSendRpc(70007, "kextmanager_lock_volume")
+
+#if UseStaticTemplates
+ const static mach_msg_port_descriptor_t reaperTemplate = {
+ /* name = */ MACH_PORT_NULL,
+ /* pad1 = */ 0,
+ /* pad2 = */ 0,
+ /* disp = */ 20,
+ /* type = */ MACH_MSG_PORT_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->reaper = reaperTemplate;
+ InP->reaper.name = reaper;
+#else /* UseStaticTemplates */
+ InP->reaper.name = reaper;
+ InP->reaper.disposition = 20;
+ InP->reaper.type = MACH_MSG_PORT_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->NDR = NDR_record;
+
+ { typedef struct { char data[16]; } *sp;
+ * (sp) InP->vol_uuid = * (sp) vol_uuid;
+ }
+
+ InP->waitForLock = waitForLock;
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, 21);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70007;
+
+ __BeforeSendRpc(70007, "kextmanager_lock_volume")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70007, "kextmanager_lock_volume")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_lock_volume_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_lock_volume_t((__Reply__kextmanager_lock_volume_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_lock_volume_t__defined) */
+
+ *lockStatus = Out0P->lockStatus;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_unlock_volume_t__defined)
+#define __MIG_check__Reply__kextmanager_unlock_volume_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_unlock_volume_t(__Reply__kextmanager_unlock_volume_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_unlock_volume_t __Reply;
+ if (Out0P->Head.msgh_id != 70108) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_unlock_volume_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_unlock_volume_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_unlock_volume */
+mig_external kern_return_t kextmanager_unlock_volume
+(
+ mach_port_t server,
+ mach_port_t clientIdent,
+ uuid_t vol_uuid,
+ int exitStatus
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientIdent;
+ /* end of the kernel processed data */
+ NDR_record_t NDR;
+ uuid_t vol_uuid;
+ int exitStatus;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_unlock_volume_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_unlock_volume_t__defined */
+
+ __DeclareSendRpc(70008, "kextmanager_unlock_volume")
+
+#if UseStaticTemplates
+ const static mach_msg_port_descriptor_t clientIdentTemplate = {
+ /* name = */ MACH_PORT_NULL,
+ /* pad1 = */ 0,
+ /* pad2 = */ 0,
+ /* disp = */ 20,
+ /* type = */ MACH_MSG_PORT_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->clientIdent = clientIdentTemplate;
+ InP->clientIdent.name = clientIdent;
+#else /* UseStaticTemplates */
+ InP->clientIdent.name = clientIdent;
+ InP->clientIdent.disposition = 20;
+ InP->clientIdent.type = MACH_MSG_PORT_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->NDR = NDR_record;
+
+ { typedef struct { char data[16]; } *sp;
+ * (sp) InP->vol_uuid = * (sp) vol_uuid;
+ }
+
+ InP->exitStatus = exitStatus;
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70008;
+
+ __BeforeSendRpc(70008, "kextmanager_unlock_volume")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70008, "kextmanager_unlock_volume")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_unlock_volume_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_unlock_volume_t((__Reply__kextmanager_unlock_volume_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_unlock_volume_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_lock_kextload_t__defined)
+#define __MIG_check__Reply__kextmanager_lock_kextload_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined */
+
+
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#if defined(__NDR_convert__int_rep__kextmanager__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__int__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__int_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__int_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__int_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__int32_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+
+
+
+#ifndef __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#if defined(__NDR_convert__char_rep__kextmanager__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__int__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__char_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__char_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__char_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__char_rep__int32_t__defined)
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+
+
+
+#ifndef __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#if defined(__NDR_convert__float_rep__kextmanager__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__int__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__float_rep__int((int *)(a), f)
+#elif defined(__NDR_convert__float_rep__kextmanager__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__float_rep__kextmanager__int32_t((int32_t *)(a), f)
+#elif defined(__NDR_convert__float_rep__int32_t__defined)
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined
+#define __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus(a, f) \
+ __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_lock_kextload_t(__Reply__kextmanager_lock_kextload_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_lock_kextload_t __Reply;
+#if __MigTypeCheck
+ unsigned int msgh_size;
+#endif /* __MigTypeCheck */
+ if (Out0P->Head.msgh_id != 70109) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ msgh_size = Out0P->Head.msgh_size;
+
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ ((msgh_size != (mach_msg_size_t)sizeof(__Reply)) &&
+ (msgh_size != (mach_msg_size_t)sizeof(mig_reply_error_t) ||
+ Out0P->RetCode == KERN_SUCCESS)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+ if (Out0P->RetCode != KERN_SUCCESS) {
+#ifdef __NDR_convert__mig_reply_error_t__defined
+ __NDR_convert__mig_reply_error_t((mig_reply_error_t *)Out0P);
+#endif /* __NDR_convert__mig_reply_error_t__defined */
+ return ((mig_reply_error_t *)Out0P)->RetCode;
+ }
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined) || \
+ defined(__NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep) {
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__RetCode__defined */
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus(&Out0P->lockstatus, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+ }
+#endif /* defined(__NDR_convert__int_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ if (Out0P->NDR.char_rep != NDR_record.char_rep) {
+#if defined(__NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus(&Out0P->lockstatus, Out0P->NDR.char_rep);
+#endif /* __NDR_convert__char_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+ }
+#endif /* defined(__NDR_convert__char_rep...) */
+
+#if 0 || \
+ defined(__NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ if (Out0P->NDR.float_rep != NDR_record.float_rep) {
+#if defined(__NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined)
+ __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus(&Out0P->lockstatus, Out0P->NDR.float_rep);
+#endif /* __NDR_convert__float_rep__Reply__kextmanager_lock_kextload_t__lockstatus__defined */
+ }
+#endif /* defined(__NDR_convert__float_rep...) */
+
+ return MACH_MSG_SUCCESS;
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_lock_kextload_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_lock_kextload */
+mig_external kern_return_t kextmanager_lock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort,
+ int *lockstatus
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockstatus;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ int lockstatus;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_lock_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_lock_kextload_t__defined */
+
+ __DeclareSendRpc(70009, "kextmanager_lock_kextload")
+
+#if UseStaticTemplates
+ const static mach_msg_port_descriptor_t clientPortTemplate = {
+ /* name = */ MACH_PORT_NULL,
+ /* pad1 = */ 0,
+ /* pad2 = */ 0,
+ /* disp = */ 20,
+ /* type = */ MACH_MSG_PORT_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->clientPort = clientPortTemplate;
+ InP->clientPort.name = clientPort;
+#else /* UseStaticTemplates */
+ InP->clientPort.name = clientPort;
+ InP->clientPort.disposition = 20;
+ InP->clientPort.type = MACH_MSG_PORT_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70009;
+
+ __BeforeSendRpc(70009, "kextmanager_lock_kextload")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70009, "kextmanager_lock_kextload")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_lock_kextload_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_lock_kextload_t((__Reply__kextmanager_lock_kextload_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_lock_kextload_t__defined) */
+
+ *lockstatus = Out0P->lockstatus;
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_unlock_kextload_t__defined)
+#define __MIG_check__Reply__kextmanager_unlock_kextload_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_unlock_kextload_t(__Reply__kextmanager_unlock_kextload_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_unlock_kextload_t __Reply;
+ if (Out0P->Head.msgh_id != 70110) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_unlock_kextload_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_unlock_kextload_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_unlock_kextload */
+mig_external kern_return_t kextmanager_unlock_kextload
+(
+ mach_port_t server,
+ mach_port_t clientPort
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ /* start of the kernel processed data */
+ mach_msg_body_t msgh_body;
+ mach_msg_port_descriptor_t clientPort;
+ /* end of the kernel processed data */
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_unlock_kextload_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_unlock_kextload_t__defined */
+
+ __DeclareSendRpc(70010, "kextmanager_unlock_kextload")
+
+#if UseStaticTemplates
+ const static mach_msg_port_descriptor_t clientPortTemplate = {
+ /* name = */ MACH_PORT_NULL,
+ /* pad1 = */ 0,
+ /* pad2 = */ 0,
+ /* disp = */ 20,
+ /* type = */ MACH_MSG_PORT_DESCRIPTOR,
+ };
+#endif /* UseStaticTemplates */
+
+ InP->msgh_body.msgh_descriptor_count = 1;
+#if UseStaticTemplates
+ InP->clientPort = clientPortTemplate;
+ InP->clientPort.name = clientPort;
+#else /* UseStaticTemplates */
+ InP->clientPort.name = clientPort;
+ InP->clientPort.disposition = 20;
+ InP->clientPort.type = MACH_MSG_PORT_DESCRIPTOR;
+#endif /* UseStaticTemplates */
+
+ InP->Head.msgh_bits = MACH_MSGH_BITS_COMPLEX|
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70010;
+
+ __BeforeSendRpc(70010, "kextmanager_unlock_kextload")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70010, "kextmanager_unlock_kextload")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_unlock_kextload_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_unlock_kextload_t((__Reply__kextmanager_unlock_kextload_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_unlock_kextload_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
+
+#if ( __MigTypeCheck || __NDR_convert__ )
+#if __MIG_check__Reply__kextmanager_subsystem__
+#if !defined(__MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined)
+#define __MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined
+#ifndef __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined
+#if defined(__NDR_convert__int_rep__kextmanager__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kextmanager__kern_return_t((kern_return_t *)(a), f)
+#elif defined(__NDR_convert__int_rep__kern_return_t__defined)
+#define __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined
+#define __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode(a, f) \
+ __NDR_convert__int_rep__kern_return_t((kern_return_t *)(a), f)
+#endif /* defined(__NDR_convert__*__defined) */
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined */
+
+
+
+
+
+mig_internal kern_return_t __MIG_check__Reply__kextmanager_record_path_for_bundle_id_t(__Reply__kextmanager_record_path_for_bundle_id_t *Out0P)
+{
+
+ typedef __Reply__kextmanager_record_path_for_bundle_id_t __Reply;
+ if (Out0P->Head.msgh_id != 70111) {
+ if (Out0P->Head.msgh_id == MACH_NOTIFY_SEND_ONCE)
+ { return MIG_SERVER_DIED; }
+ else
+ { return MIG_REPLY_MISMATCH; }
+ }
+
+#if __MigTypeCheck
+ if ((Out0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
+ (Out0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Reply)))
+ { return MIG_TYPE_ERROR ; }
+#endif /* __MigTypeCheck */
+
+#if defined(__NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined)
+ if (Out0P->NDR.int_rep != NDR_record.int_rep)
+ __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode(&Out0P->RetCode, Out0P->NDR.int_rep);
+#endif /* __NDR_convert__int_rep__Reply__kextmanager_record_path_for_bundle_id_t__RetCode__defined */
+ { return Out0P->RetCode;
+ }
+}
+#endif /* !defined(__MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined) */
+#endif /* __MIG_check__Reply__kextmanager_subsystem__ */
+#endif /* ( __MigTypeCheck || __NDR_convert__ ) */
+
+
+/* Routine kextmanager_record_path_for_bundle_id */
+mig_external kern_return_t kextmanager_record_path_for_bundle_id
+(
+ mach_port_t server,
+ kext_bundle_id_t bundle_id,
+ posix_path_t path
+)
+{
+ {
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kext_bundle_id_t bundle_id;
+ posix_path_t path;
+ } Request;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ mach_msg_trailer_t trailer;
+ } Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+
+#ifdef __MigPackStructs
+#pragma pack(4)
+#endif
+ typedef struct {
+ mach_msg_header_t Head;
+ NDR_record_t NDR;
+ kern_return_t RetCode;
+ } __Reply;
+#ifdef __MigPackStructs
+#pragma pack()
+#endif
+ /*
+ * typedef struct {
+ * mach_msg_header_t Head;
+ * NDR_record_t NDR;
+ * kern_return_t RetCode;
+ * } mig_reply_error_t;
+ */
+
+ union {
+ Request In;
+ Reply Out;
+ } Mess;
+
+ Request *InP = &Mess.In;
+ Reply *Out0P = &Mess.Out;
+
+ mach_msg_return_t msg_result;
+
+#ifdef __MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined
+ kern_return_t check_result;
+#endif /* __MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined */
+
+ __DeclareSendRpc(70011, "kextmanager_record_path_for_bundle_id")
+
+ InP->NDR = NDR_record;
+
+ { typedef struct { char data[64]; } *sp;
+ * (sp) InP->bundle_id = * (sp) bundle_id;
+ }
+
+ { typedef struct { char data[1024]; } *sp;
+ * (sp) InP->path = * (sp) path;
+ }
+
+ InP->Head.msgh_bits =
+ MACH_MSGH_BITS(19, MACH_MSG_TYPE_MAKE_SEND_ONCE);
+ /* msgh_size passed as argument */
+ InP->Head.msgh_request_port = server;
+ InP->Head.msgh_reply_port = mig_get_reply_port();
+ InP->Head.msgh_id = 70011;
+
+ __BeforeSendRpc(70011, "kextmanager_record_path_for_bundle_id")
+ msg_result = mach_msg(&InP->Head, MACH_SEND_MSG|MACH_RCV_MSG|MACH_MSG_OPTION_NONE, (mach_msg_size_t)sizeof(Request), (mach_msg_size_t)sizeof(Reply), InP->Head.msgh_reply_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ __AfterSendRpc(70011, "kextmanager_record_path_for_bundle_id")
+ if (msg_result != MACH_MSG_SUCCESS) {
+ __MachMsgErrorWithoutTimeout(msg_result);
+ { return msg_result; }
+ }
+
+
+#if defined(__MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined)
+ check_result = __MIG_check__Reply__kextmanager_record_path_for_bundle_id_t((__Reply__kextmanager_record_path_for_bundle_id_t *)Out0P);
+ if (check_result != MACH_MSG_SUCCESS)
+ { return check_result; }
+#endif /* defined(__MIG_check__Reply__kextmanager_record_path_for_bundle_id_t__defined) */
+
+ return KERN_SUCCESS;
+ }
+}
diff --git a/data/system-cmds/make.sh b/data/system-cmds/make.sh
new file mode 100644
index 000000000..7a200fe3b
--- /dev/null
+++ b/data/system-cmds/make.sh
@@ -0,0 +1,16 @@
+shopt -s extglob
+tar -zxvf "${PKG_DATA}/system_cmds-431.tar.gz"
+cd system_cmds-431
+mkdir -p "${PKG_DEST}/usr/bin"
+cd getconf.tproj
+for gperf in *.gperf; do
+ LC_ALL=C awk -f fake-gperf.awk <"${gperf}" >"$(basename "${gperf}" .gperf).c"
+done
+cd ..
+cp -va "${PKG_DATA}"/kextmanager* .
+# dmesg reboot shutdown
+for tproj in getconf getty hostinfo iostat login nvram passwd sync sysctl vipw zprint; do
+ echo "${tproj}"
+ arm-apple-darwin-gcc -o "${tproj}" "${tproj}.tproj"/!(od_passwd).c -I. -D'__FBSDID(x)=' -DTARGET_OS_EMBEDDED -framework CoreFoundation -framework IOKit kextmanagerUser.c
+ cp -a "${tproj}" "${PKG_DEST}/usr/bin"
+done
diff --git a/data/system-cmds/system_cmds-431.tar.gz b/data/system-cmds/system_cmds-431.tar.gz
new file mode 100644
index 000000000..a58079d9e
--- /dev/null
+++ b/data/system-cmds/system_cmds-431.tar.gz
Binary files differ
diff --git a/data/tar/_metadata/description b/data/tar/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/tar/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/tar/_metadata/license b/data/tar/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/tar/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/tar/_metadata/maintainer b/data/tar/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/tar/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/tar/_metadata/priority b/data/tar/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/tar/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/tar/_metadata/section b/data/tar/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/tar/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/tar/_metadata/version b/data/tar/_metadata/version
new file mode 100644
index 000000000..bc4493477
--- /dev/null
+++ b/data/tar/_metadata/version
@@ -0,0 +1 @@
+1.19
diff --git a/data/tar/make.sh b/data/tar/make.sh
new file mode 100644
index 000000000..47db2f3eb
--- /dev/null
+++ b/data/tar/make.sh
@@ -0,0 +1,7 @@
+tar -zxvf "${PKG_DATA}/tar-1.19.tar.gz"
+cd tar-1.19
+pkg:patch
+pkg:configure
+make
+pkg:install
+pkg:bin tar
diff --git a/data/tar/static.diff b/data/tar/static.diff
new file mode 100644
index 000000000..41733b504
--- /dev/null
+++ b/data/tar/static.diff
@@ -0,0 +1,64 @@
+diff -r -u tar-1.19/lib/argp-fmtstream.h tar-1.19+iPhone/lib/argp-fmtstream.h
+--- tar-1.19/lib/argp-fmtstream.h 2007-09-28 13:11:36.000000000 +0000
++++ tar-1.19+iPhone/lib/argp-fmtstream.h 2007-12-26 23:04:38.000000000 +0000
+@@ -135,15 +135,15 @@
+ const char *__fmt, ...)
+ __attribute__ ((__format__ (printf, 2, 3)));
+
+-extern int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
+-extern int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
++static int __argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
++static int argp_fmtstream_putc (argp_fmtstream_t __fs, int __ch);
+
+-extern int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
+-extern int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
++static int __argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
++static int argp_fmtstream_puts (argp_fmtstream_t __fs, const char *__str);
+
+-extern size_t __argp_fmtstream_write (argp_fmtstream_t __fs,
++static size_t __argp_fmtstream_write (argp_fmtstream_t __fs,
+ const char *__str, size_t __len);
+-extern size_t argp_fmtstream_write (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_write (argp_fmtstream_t __fs,
+ const char *__str, size_t __len);
+
+ /* Access macros for various bits of state. */
+@@ -155,25 +155,25 @@
+ #define __argp_fmtstream_wmargin argp_fmtstream_wmargin
+
+ /* Set __FS's left margin to LMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
+ size_t __lmargin);
+ extern size_t __argp_fmtstream_set_lmargin (argp_fmtstream_t __fs,
+ size_t __lmargin);
+
+ /* Set __FS's right margin to __RMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
+ size_t __rmargin);
+ extern size_t __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs,
+ size_t __rmargin);
+
+ /* Set __FS's wrap margin to __WMARGIN and return the old value. */
+-extern size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
++static size_t argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
+ size_t __wmargin);
+ extern size_t __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs,
+ size_t __wmargin);
+
+ /* Return the column number of the current output point in __FS. */
+-extern size_t argp_fmtstream_point (argp_fmtstream_t __fs);
++static size_t argp_fmtstream_point (argp_fmtstream_t __fs);
+ extern size_t __argp_fmtstream_point (argp_fmtstream_t __fs);
+
+ /* Internal routines. */
+@@ -198,7 +198,7 @@
+ #endif
+
+ #ifndef ARGP_FS_EI
+-#define ARGP_FS_EI extern inline
++#define ARGP_FS_EI static inline
+ #endif
+
+ ARGP_FS_EI size_t
diff --git a/data/tar/tar-1.19.tar.gz b/data/tar/tar-1.19.tar.gz
new file mode 100644
index 000000000..c9f077f48
--- /dev/null
+++ b/data/tar/tar-1.19.tar.gz
Binary files differ
diff --git a/data/tcpdump/_metadata/description b/data/tcpdump/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/tcpdump/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/tcpdump/_metadata/libpcap.dep b/data/tcpdump/_metadata/libpcap.dep
new file mode 120000
index 000000000..6c356a9b8
--- /dev/null
+++ b/data/tcpdump/_metadata/libpcap.dep
@@ -0,0 +1 @@
+../../libpcap \ No newline at end of file
diff --git a/data/tcpdump/_metadata/license b/data/tcpdump/_metadata/license
new file mode 120000
index 000000000..8a4bc1936
--- /dev/null
+++ b/data/tcpdump/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/modified-bsd \ No newline at end of file
diff --git a/data/tcpdump/_metadata/maintainer b/data/tcpdump/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/tcpdump/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/tcpdump/_metadata/priority b/data/tcpdump/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/tcpdump/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/tcpdump/_metadata/section b/data/tcpdump/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/tcpdump/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/tcpdump/_metadata/version b/data/tcpdump/_metadata/version
new file mode 100644
index 000000000..26cb48590
--- /dev/null
+++ b/data/tcpdump/_metadata/version
@@ -0,0 +1 @@
+3.9.8
diff --git a/data/tcpdump/make.sh b/data/tcpdump/make.sh
new file mode 100644
index 000000000..ff8919e32
--- /dev/null
+++ b/data/tcpdump/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/tcpdump-3.9.8.tar.gz"
+cd tcpdump-3.9.8
+Xprefix="${PKG_ROOT}/usr" pkg:configure
+make
+pkg:install
diff --git a/data/tcpdump/tcpdump-3.9.8.tar.gz b/data/tcpdump/tcpdump-3.9.8.tar.gz
new file mode 100644
index 000000000..0b40e2492
--- /dev/null
+++ b/data/tcpdump/tcpdump-3.9.8.tar.gz
Binary files differ
diff --git a/data/top/_metadata/description b/data/top/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/top/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/top/_metadata/license b/data/top/_metadata/license
new file mode 120000
index 000000000..9e5e5e89d
--- /dev/null
+++ b/data/top/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/apsl-2.0 \ No newline at end of file
diff --git a/data/top/_metadata/maintainer b/data/top/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/top/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/top/_metadata/priority b/data/top/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/top/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/top/_metadata/section b/data/top/_metadata/section
new file mode 100644
index 000000000..7fbe952b7
--- /dev/null
+++ b/data/top/_metadata/section
@@ -0,0 +1 @@
+admin
diff --git a/data/top/_metadata/version b/data/top/_metadata/version
new file mode 100644
index 000000000..81b5c5d06
--- /dev/null
+++ b/data/top/_metadata/version
@@ -0,0 +1 @@
+37
diff --git a/data/top/make.sh b/data/top/make.sh
new file mode 100644
index 000000000..a2a21d3ca
--- /dev/null
+++ b/data/top/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/top-37.tar.gz"
+cd top-37
+pkg:patch
+make CC=arm-apple-darwin-gcc AR=arm-apple-darwin-ar RANLIB=arm-apple-darwin-ranlib
+make install STRIP=arm-apple-darwin-strip DSTROOT="${PKG_DEST}"
diff --git a/data/top/mvpath.diff b/data/top/mvpath.diff
new file mode 100644
index 000000000..4da654af5
--- /dev/null
+++ b/data/top/mvpath.diff
@@ -0,0 +1,11 @@
+diff -u top-37/Makefile top-37+iPhone/Makefile
+--- top-37/Makefile 2006-06-19 22:22:33.000000000 +0000
++++ top-37+iPhone/Makefile 2007-12-27 12:03:43.000000000 +0000
+@@ -93,7 +93,6 @@
+ $(SYMROOT)/$(LIB) : $(patsubst %.c,$(SRCROOT)/%.c,$(LIB_SRCS)) \
+ $(patsubst %.h,$(SRCROOT)/%.h,$(LIB_HDRS) $(LIB_PHDRS))
+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LIB_SRCS)
+- mv *.o $(OBJROOT)
+ $(AR) cru $@ $(patsubst %.c,$(OBJROOT)/%.o,$(LIB_SRCS))
+ $(RANLIB) $@
+
diff --git a/data/top/strip.diff b/data/top/strip.diff
new file mode 100644
index 000000000..3303c3dd5
--- /dev/null
+++ b/data/top/strip.diff
@@ -0,0 +1,13 @@
+diff -u top-37/Makefile top-37+iPhone/Makefile
+--- top-37/Makefile 2006-06-19 22:22:33.000000000 +0000
++++ top-37+iPhone/Makefile 2007-12-27 12:03:07.000000000 +0000
+@@ -77,7 +77,8 @@
+
+ installbin : $(SYMROOT)/$(BIN)
+ $(INSTALL) -d $(DSTROOT)/usr/bin
+- $(INSTALL) -s -m 4755 $< $(DSTROOT)/usr/bin
++ $(STRIP) $<
++ $(INSTALL) -m 4755 $< $(DSTROOT)/usr/bin
+
+ installman :
+ $(INSTALL) -d $(DSTROOT)/usr/share/man/man1
diff --git a/data/top/top-37.tar.gz b/data/top/top-37.tar.gz
new file mode 100644
index 000000000..685dc012a
--- /dev/null
+++ b/data/top/top-37.tar.gz
Binary files differ
diff --git a/data/unrar/_metadata/description b/data/unrar/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/unrar/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/unrar/_metadata/license b/data/unrar/_metadata/license
new file mode 100644
index 000000000..ec35e09a8
--- /dev/null
+++ b/data/unrar/_metadata/license
@@ -0,0 +1,40 @@
+ ****** ***** ****** UnRAR - free utility for RAR archives
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ****** ******* ****** License for use and distribution of
+ ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ** ** ** ** ** ** FREE portable version
+ ~~~~~~~~~~~~~~~~~~~~~
+
+ The source code of UnRAR utility is freeware. This means:
+
+ 1. All copyrights to RAR and the utility UnRAR are exclusively
+ owned by the author - Alexander Roshal.
+
+ 2. The UnRAR sources may be used in any software to handle RAR
+ archives without limitations free of charge, but cannot be used
+ to re-create the RAR compression algorithm, which is proprietary.
+ Distribution of modified UnRAR sources in separate form or as a
+ part of other software is permitted, provided that it is clearly
+ stated in the documentation and source comments that the code may
+ not be used to develop a RAR (WinRAR) compatible archiver.
+
+ 3. The UnRAR utility may be freely distributed. It is allowed
+ to distribute UnRAR inside of other software packages.
+
+ 4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS".
+ NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT
+ YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS,
+ DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING
+ OR MISUSING THIS SOFTWARE.
+
+ 5. Installing and using the UnRAR utility signifies acceptance of
+ these terms and conditions of the license.
+
+ 6. If you don't agree with terms of the license you must remove
+ UnRAR files from your storage devices and cease to use the
+ utility.
+
+ Thank you for your interest in RAR and UnRAR.
+
+
+ Alexander L. Roshal \ No newline at end of file
diff --git a/data/unrar/_metadata/maintainer b/data/unrar/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/unrar/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/unrar/_metadata/priority b/data/unrar/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/unrar/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/unrar/_metadata/section b/data/unrar/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/unrar/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/unrar/_metadata/version b/data/unrar/_metadata/version
new file mode 100644
index 000000000..424e1794d
--- /dev/null
+++ b/data/unrar/_metadata/version
@@ -0,0 +1 @@
+3.6.8
diff --git a/data/unrar/exceptions.diff b/data/unrar/exceptions.diff
new file mode 100644
index 000000000..94062e15c
--- /dev/null
+++ b/data/unrar/exceptions.diff
@@ -0,0 +1,39 @@
+diff -ru unrar/errhnd.cpp unrar+iPhone/errhnd.cpp
+--- unrar/errhnd.cpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/errhnd.cpp 2007-12-28 03:44:02.000000000 +0000
+@@ -321,7 +321,7 @@
+ throw Code;
+ #else
+ File::RemoveCreated();
+- exit(Code);
++ _exit(Code);
+ #endif
+ }
+
+diff -ru unrar/errhnd.hpp unrar+iPhone/errhnd.hpp
+--- unrar/errhnd.hpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/errhnd.hpp 2007-12-28 03:43:39.000000000 +0000
+@@ -1,11 +1,6 @@
+ #ifndef _RAR_ERRHANDLER_
+ #define _RAR_ERRHANDLER_
+
+-#if (defined(GUI) || !defined(_WIN_32)) && !defined(SFX_MODULE) && !defined(_WIN_CE) || defined(RARDLL)
+-#define ALLOW_EXCEPTIONS
+-#endif
+-
+-
+
+ #define rarmalloc malloc
+ #define rarcalloc calloc
+diff -ru unrar/rar.cpp unrar+iPhone/rar.cpp
+--- unrar/rar.cpp 2006-08-04 18:32:40.000000000 +0000
++++ unrar+iPhone/rar.cpp 2007-12-28 03:41:09.000000000 +0000
+@@ -127,7 +127,7 @@
+ #if defined(_EMX) && !defined(_DJGPP)
+ uni_done();
+ #endif
+- return(ErrHandler.GetErrorCode());
++ _exit(ErrHandler.GetErrorCode());
+ }
+ #endif
+
diff --git a/data/unrar/make.sh b/data/unrar/make.sh
new file mode 100644
index 000000000..916b2a9ae
--- /dev/null
+++ b/data/unrar/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/unrarsrc-3.6.8.tar.gz"
+cd unrar
+pkg:patch
+make -f makefile.unix CXX=arm-apple-darwin-g++ STRIP=arm-apple-darwin-strip all
+pkg:usrbin unrar
diff --git a/data/unrar/unrarsrc-3.6.8.tar.gz b/data/unrar/unrarsrc-3.6.8.tar.gz
new file mode 100644
index 000000000..bcc96b124
--- /dev/null
+++ b/data/unrar/unrarsrc-3.6.8.tar.gz
Binary files differ
diff --git a/data/unzip/_metadata/description b/data/unzip/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/unzip/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/unzip/_metadata/license b/data/unzip/_metadata/license
new file mode 100644
index 000000000..9cc83dca0
--- /dev/null
+++ b/data/unzip/_metadata/license
@@ -0,0 +1,55 @@
+This is version 2005-Feb-10 of the Info-ZIP copyright and license.
+The definitive version of this document should be available at
+ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely.
+
+
+Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
+
+For the purposes of this copyright and license, "Info-ZIP" is defined as
+the following set of individuals:
+
+ Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
+ Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,
+ Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
+ David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
+ Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
+ Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda,
+ Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren,
+ Rich Wales, Mike White
+
+This software is provided "as is," without warranty of any kind, express
+or implied. In no event shall Info-ZIP or its contributors be held liable
+for any direct, indirect, incidental, special or consequential damages
+arising out of the use of or inability to use this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ definition, disclaimer, and this list of conditions.
+
+ 2. Redistributions in binary form (compiled executables) must reproduce
+ the above copyright notice, definition, disclaimer, and this list of
+ conditions in documentation and/or other materials provided with the
+ distribution. The sole exception to this condition is redistribution
+ of a standard UnZipSFX binary (including SFXWiz) as part of a
+ self-extracting archive; that is permitted without inclusion of this
+ license, as long as the normal SFX banner has not been removed from
+ the binary or disabled.
+
+ 3. Altered versions--including, but not limited to, ports to new operating
+ systems, existing ports with new graphical interfaces, and dynamic,
+ shared, or static library versions--must be plainly marked as such
+ and must not be misrepresented as being the original source. Such
+ altered versions also must not be misrepresented as being Info-ZIP
+ releases--including, but not limited to, labeling of the altered
+ versions with the names "Info-ZIP" (or any variation thereof, including,
+ but not limited to, different capitalizations), "Pocket UnZip," "WiZ"
+ or "MacZip" without the explicit permission of Info-ZIP. Such altered
+ versions are further prohibited from misrepresentative use of the
+ Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s).
+
+ 4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,"
+ "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its
+ own source and binary releases.
diff --git a/data/unzip/_metadata/maintainer b/data/unzip/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/unzip/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/unzip/_metadata/priority b/data/unzip/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/unzip/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/unzip/_metadata/section b/data/unzip/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/unzip/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/unzip/_metadata/version b/data/unzip/_metadata/version
new file mode 100644
index 000000000..bb2d831e7
--- /dev/null
+++ b/data/unzip/_metadata/version
@@ -0,0 +1 @@
+5.52
diff --git a/data/unzip/make.sh b/data/unzip/make.sh
new file mode 100644
index 000000000..16d7c9a34
--- /dev/null
+++ b/data/unzip/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/unzip552.tar.gz"
+cd unzip-5.52
+cp unix/Makefile .
+make unzips CC=arm-apple-darwin-gcc CF='-O3 -Wall -I. -DBSD -DUNIX' LF2=
+pkg:usrbin unzip funzip unzipsfx
diff --git a/data/unzip/unzip552.tar.gz b/data/unzip/unzip552.tar.gz
new file mode 100644
index 000000000..ef39c84a5
--- /dev/null
+++ b/data/unzip/unzip552.tar.gz
Binary files differ
diff --git a/data/vim/_metadata/description b/data/vim/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/vim/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/vim/_metadata/license b/data/vim/_metadata/license
new file mode 100644
index 000000000..dd685292b
--- /dev/null
+++ b/data/vim/_metadata/license
@@ -0,0 +1,78 @@
+VIM LICENSE
+
+I) There are no restrictions on distributing unmodified copies of Vim except
+ that they must include this license text. You can also distribute
+ unmodified parts of Vim, likewise unrestricted except that they must
+ include this license text. You are also allowed to include executables
+ that you made from the unmodified Vim sources, plus your own usage
+ examples and Vim scripts.
+
+II) It is allowed to distribute a modified (or extended) version of Vim,
+ including executables and/or source code, when the following four
+ conditions are met:
+ 1) This license text must be included unmodified.
+ 2) The modified Vim must be distributed in one of the following five ways:
+ a) If you make changes to Vim yourself, you must clearly describe in
+ the distribution how to contact you. When the maintainer asks you
+ (in any way) for a copy of the modified Vim you distributed, you
+ must make your changes, including source code, available to the
+ maintainer without fee. The maintainer reserves the right to
+ include your changes in the official version of Vim. What the
+ maintainer will do with your changes and under what license they
+ will be distributed is negotiable. If there has been no negotiation
+ then this license, or a later version, also applies to your changes.
+ The current maintainer is Bram Moolenaar <Bram@vim.org>. If this
+ changes it will be announced in appropriate places (most likely
+ vim.sf.net, www.vim.org and/or comp.editors). When it is completely
+ impossible to contact the maintainer, the obligation to send him
+ your changes ceases. Once the maintainer has confirmed that he has
+ received your changes they will not have to be sent again.
+ b) If you have received a modified Vim that was distributed as
+ mentioned under a) you are allowed to further distribute it
+ unmodified, as mentioned at I). If you make additional changes the
+ text under a) applies to those changes.
+ c) Provide all the changes, including source code, with every copy of
+ the modified Vim you distribute. This may be done in the form of a
+ context diff. You can choose what license to use for new code you
+ add. The changes and their license must not restrict others from
+ making their own changes to the official version of Vim.
+ d) When you have a modified Vim which includes changes as mentioned
+ under c), you can distribute it without the source code for the
+ changes if the following three conditions are met:
+ - The license that applies to the changes permits you to distribute
+ the changes to the Vim maintainer without fee or restriction, and
+ permits the Vim maintainer to include the changes in the official
+ version of Vim without fee or restriction.
+ - You keep the changes for at least three years after last
+ distributing the corresponding modified Vim. When the maintainer
+ or someone who you distributed the modified Vim to asks you (in
+ any way) for the changes within this period, you must make them
+ available to him.
+ - You clearly describe in the distribution how to contact you. This
+ contact information must remain valid for at least three years
+ after last distributing the corresponding modified Vim, or as long
+ as possible.
+ e) When the GNU General Public License (GPL) applies to the changes,
+ you can distribute the modified Vim under the GNU GPL version 2 or
+ any later version.
+ 3) A message must be added, at least in the output of the ":version"
+ command and in the intro screen, such that the user of the modified Vim
+ is able to see that it was modified. When distributing as mentioned
+ under 2)e) adding the message is only required for as far as this does
+ not conflict with the license used for the changes.
+ 4) The contact information as required under 2)a) and 2)d) must not be
+ removed or changed, except that the person himself can make
+ corrections.
+
+III) If you distribute a modified version of Vim, you are encouraged to use
+ the Vim license for your changes and make them available to the
+ maintainer, including the source code. The preferred way to do this is
+ by e-mail or by uploading the files to a server and e-mailing the URL.
+ If the number of changes is small (e.g., a modified Makefile) e-mailing a
+ context diff will do. The e-mail address to be used is
+ <maintainer@vim.org>
+
+IV) It is not allowed to remove this license from the distribution of the Vim
+ sources, parts of it or from a modified version. You may use this
+ license for previous Vim releases instead of the license that they came
+ with, at your option.
diff --git a/data/vim/_metadata/maintainer b/data/vim/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/vim/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/vim/_metadata/priority b/data/vim/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/vim/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/vim/_metadata/section b/data/vim/_metadata/section
new file mode 100644
index 000000000..85042acd1
--- /dev/null
+++ b/data/vim/_metadata/section
@@ -0,0 +1 @@
+editor
diff --git a/data/vim/_metadata/version b/data/vim/_metadata/version
new file mode 100644
index 000000000..0f0fefae5
--- /dev/null
+++ b/data/vim/_metadata/version
@@ -0,0 +1 @@
+7.1
diff --git a/data/vim/cross.diff b/data/vim/cross.diff
new file mode 100644
index 000000000..455e7bc9a
--- /dev/null
+++ b/data/vim/cross.diff
@@ -0,0 +1,328 @@
+diff -ur vim71/src/configure.in vim71+ip/src/configure.in
+--- vim71/src/configure.in 2007-05-12 09:19:27.000000000 +0000
++++ vim71+ip/src/configure.in 2007-11-30 06:21:58.000000000 +0000
+@@ -47,13 +47,6 @@
+ fi
+ fi
+
+-dnl If configure thinks we are cross compiling, there is probably something
+-dnl wrong with the CC or CFLAGS settings, give an understandable error message
+-if test "$cross_compiling" = yes; then
+- AC_MSG_ERROR([cannot compile a simple program, check CC and CFLAGS
+- (cross compiling doesn't work)])
+-fi
+-
+ dnl gcc-cpp has the wonderful -MM option to produce nicer dependencies.
+ dnl But gcc 3.1 changed the meaning! See near the end.
+ test "$GCC" = yes && CPP_MM=M; AC_SUBST(CPP_MM)
+@@ -1986,11 +1979,24 @@
+
+ dnl Checks for libraries and include files.
+
+-AC_MSG_CHECKING(quality of toupper)
+-AC_TRY_RUN([#include <ctype.h>
+-main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }],
+- AC_DEFINE(BROKEN_TOUPPER) AC_MSG_RESULT(bad),
+- AC_MSG_RESULT(good), AC_MSG_ERROR(failed to compile test program))
++AC_CACHE_CHECK([toupper is broken],[vim_cv_toupper_broken],
++ [
++ AC_RUN_IFELSE([
++#include <ctype.h>
++main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
++ ],[
++ vim_cv_toupper_broken=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ vim_cv_toupper_broken=no
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_toupper_broken')
++ ])])
++
++if test "x$vim_cv_toupper_broken" = "xyes" ; then
++ AC_DEFINE(BROKEN_TOUPPER)
++fi
+
+ AC_MSG_CHECKING(whether __DATE__ and __TIME__ work)
+ AC_TRY_COMPILE(, [printf("(" __DATE__ " " __TIME__ ")");],
+@@ -2202,28 +2208,52 @@
+ Or specify the name of the library with --with-tlib.]))
+ fi
+
+-AC_MSG_CHECKING(whether we talk terminfo)
+-AC_TRY_RUN([
++AC_CACHE_CHECK([whether we talk terminfo], [vim_cv_terminfo],
++ [
++ AC_RUN_IFELSE([
+ #ifdef HAVE_TERMCAP_H
+ # include <termcap.h>
+ #endif
+ main()
+-{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
+- AC_MSG_RESULT([no -- we are in termcap land]),
+- AC_MSG_RESULT([yes -- terminfo spoken here]); AC_DEFINE(TERMINFO),
+- AC_MSG_ERROR(failed to compile test program.))
++{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
++ ],[
++ vim_cv_terminfo=no
++ AC_MSG_RESULT([no -- we are in termcap land])
++ ],[
++ vim_cv_terminfo=yes
++ AC_MSG_RESULT([yes -- terminfo spoken here])
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_terminfo')
++ ])
++ ])
++
++if test "x$vim_cv_terminfo" = "xyes" ; then
++ AC_DEFINE(TERMINFO)
++fi
+
+ if test "x$olibs" != "x$LIBS"; then
+- AC_MSG_CHECKING(what tgetent() returns for an unknown terminal)
+- AC_TRY_RUN([
++ AC_CACHE_CHECK([what tgetent() returns for an unknown terminal], [vim_cv_tgent],
++ [
++ AC_RUN_IFELSE([
+ #ifdef HAVE_TERMCAP_H
+ # include <termcap.h>
+ #endif
+ main()
+-{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }],
+- AC_MSG_RESULT(zero); AC_DEFINE(TGETENT_ZERO_ERR, 0),
+- AC_MSG_RESULT(non-zero),
+- AC_MSG_ERROR(failed to compile test program.))
++{char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
++ ],[
++ vim_cv_tgent=zero
++ AC_MSG_RESULT(zero)
++ ],[
++ vim_cv_tgent=non-zero
++ AC_MSG_RESULT(non-zero)
++ ],[
++ AC_MSG_ERROR(failed to compile test program.)
++ ])
++ ])
++
++ if test "x$vim_cv_tgent" = "xzero" ; then
++ AC_DEFINE(TGETENT_ZERO_ERR, 0)
++ fi
+ fi
+
+ AC_MSG_CHECKING(whether termcap.h contains ospeed)
+@@ -2333,9 +2363,10 @@
+ dnl **** pty mode/group handling ****
+ dnl
+ dnl support provided by Luke Mewburn <lm@rmit.edu.au>, 931222
+-AC_MSG_CHECKING(default tty permissions/group)
+ rm -f conftest_grp
+-AC_TRY_RUN([
++ AC_CACHE_CHECK([default tty permissions/group], [vim_cv_tty_group],
++ [
++ AC_RUN_IFELSE([
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <stdio.h>
+@@ -2363,20 +2394,35 @@
+ fclose(fp);
+ exit(0);
+ }
+-],[
+- if test -f conftest_grp; then
+- ptygrp=`cat conftest_grp`
+- AC_MSG_RESULT([pty mode: 0620, group: $ptygrp])
+- AC_DEFINE(PTYMODE, 0620)
+- AC_DEFINE_UNQUOTED(PTYGROUP,$ptygrp)
+- else
++ ],[
++ if test -f conftest_grp; then
++ vim_cv_tty_group=`cat conftest_grp`
++ if test "x$vim_cv_tty_mode" = "x" ; then
++ vim_cv_tty_mode=0620
++ fi
++ AC_MSG_RESULT([pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group])
++ else
++ vim_cv_tty_group=world
+ AC_MSG_RESULT([ptys are world accessable])
+- fi
+-],
+- AC_MSG_RESULT([can't determine - assume ptys are world accessable]),
+- AC_MSG_ERROR(failed to compile test program))
++ fi
++ ],[
++ vim_cv_tty_group=world
++ AC_MSG_RESULT([can't determine - assume ptys are world accessable])
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode')
++ ])
++ ])
+ rm -f conftest_grp
+
++if test "x$vim_cv_tty_group" != "xworld" ; then
++ AC_DEFINE_UNQUOTED(PTYGROUP,$vim_cv_tty_group)
++ if test "x$vim_cv_tty_mode" = "x" ; then
++ AC_MSG_ERROR([It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)])
++ else
++ AC_DEFINE(PTYMODE, 0620)
++ fi
++fi
++
+ dnl Checks for library functions. ===================================
+
+ AC_TYPE_SIGNAL
+@@ -2404,8 +2450,9 @@
+
+ dnl tricky stuff: try to find out if getcwd() is implemented with
+ dnl system("sh -c pwd")
+-AC_MSG_CHECKING(getcwd implementation)
+-AC_TRY_RUN([
++AC_CACHE_CHECK([getcwd implementation is broken], [vim_cv_getcwd_broken],
++ [
++ AC_RUN_IFELSE([
+ char *dagger[] = { "IFS=pwd", 0 };
+ main()
+ {
+@@ -2413,11 +2460,21 @@
+ extern char **environ;
+ environ = dagger;
+ return getcwd(buffer, 500) ? 0 : 1;
+-}],
+- AC_MSG_RESULT(it is usable),
+- AC_MSG_RESULT(it stinks)
+- AC_DEFINE(BAD_GETCWD),
+- AC_MSG_ERROR(failed to compile test program))
++}
++ ],[
++ vim_cv_getcwd_broken=no
++ AC_MSG_RESULT(no)
++ ],[
++ vim_cv_getcwd_broken=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_getcwd_broken')
++ ])
++ ])
++
++if test "x$vim_cv_getcwd_broken" = "xyes" ; then
++ AC_DEFINE(BAD_GETCWD)
++fi
+
+ dnl Check for functions in one big call, to reduce the size of configure
+ AC_CHECK_FUNCS(bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
+@@ -2441,14 +2498,27 @@
+ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_ST_BLKSIZE),
+ AC_MSG_RESULT(no))
+
+-AC_MSG_CHECKING(whether stat() ignores a trailing slash)
+-AC_TRY_RUN(
++AC_CACHE_CHECK([whether stat() ignores a trailing slash], [vim_cv_stat_ignores_slash],
++ [
++ AC_RUN_IFELSE(
+ [#include <sys/types.h>
+ #include <sys/stat.h>
+-main() {struct stat st; exit(stat("configure/", &st) != 0); }],
+- AC_MSG_RESULT(yes); AC_DEFINE(STAT_IGNORES_SLASH),
+- AC_MSG_RESULT(no), AC_MSG_ERROR(failed to compile test program))
++main() {struct stat st; exit(stat("configure/", &st) != 0); }
++ ],[
++ vim_cv_stat_ignores_slash=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ vim_cv_stat_ignores_slash=no
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_stat_ignores_slash')
++ ])
++ ])
+
++if test "x$vim_cv_stat_ignores_slash" = "xyes" ; then
++ AC_DEFINE(STAT_IGNORES_SLASH)
++fi
++
+ dnl Link with iconv for charset translation, if not found without library.
+ dnl check for iconv() requires including iconv.h
+ dnl Add "-liconv" when possible; Solaris has iconv but use GNU iconv when it
+@@ -2641,7 +2711,10 @@
+ AC_MSG_RESULT($ac_cv_sizeof_int)
+ AC_DEFINE_UNQUOTED(SIZEOF_INT, $ac_cv_sizeof_int)
+
+-AC_MSG_CHECKING(whether memmove/bcopy/memcpy handle overlaps)
++
++dnl Check for memmove() before bcopy(), makes memmove() be used when both are
++dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
++
+ [bcopy_test_prog='
+ main() {
+ char buf[10];
+@@ -2656,18 +2729,60 @@
+ exit(0); /* libc version works properly. */
+ }']
+
+-dnl Check for memmove() before bcopy(), makes memmove() be used when both are
+-dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.
++AC_CACHE_CHECK([whether memmove handles overlaps],[vim_cv_memmove_handles_overlap],
++ [
++ AC_RUN_IFELSE([#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog],
++ [
++ vim_cv_memmove_handles_overlap=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ vim_cv_memmove_handles_overlap=no
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_memmove_handles_overlap')
++ ])
++ ])
++
++if test "x$vim_cv_memmove_handles_overlap" = "xyes" ; then
++ AC_DEFINE(USEMEMMOVE)
++else
++ AC_CACHE_CHECK([whether bcopy handles overlaps],[vim_cv_bcopy_handles_overlap],
++ [
++ AC_RUN_IFELSE([#define mch_bcopy(s,d,l) bcopy(d,s,l) $bcopy_test_prog],
++ [
++ vim_cv_bcopy_handles_overlap=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ vim_cv_bcopy_handles_overlap=no
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_bcopy_handles_overlap')
++ ])
++ ])
++
++ if test "x$vim_cv_bcopy_handles_overlap" = "xyes" ; then
++ AC_DEFINE(USEBCOPY)
++ else
++ AC_CACHE_CHECK([whether memcpy handles overlaps],[vim_cv_memcpy_handles_overlap],
++ [
++ AC_RUN_IFELSE([#define mch_memcpy(s,d,l) memcpy(d,s,l) $bcopy_test_prog],
++ [
++ vim_cv_memcpy_handles_overlap=yes
++ AC_MSG_RESULT(yes)
++ ],[
++ vim_cv_memcpy_handles_overlap=no
++ AC_MSG_RESULT(no)
++ ],[
++ AC_MSG_ERROR(cross-compiling: please set 'vim_cv_memcpy_handles_overlap')
++ ])
++ ])
++
++ if test "x$vim_cv_memcpy_handles_overlap" = "xyes" ; then
++ AC_DEFINE(USEMEMCPY)
++ fi
++ fi
++fi
+
+-AC_TRY_RUN([#define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog],
+- AC_DEFINE(USEMEMMOVE) AC_MSG_RESULT(memmove does),
+- AC_TRY_RUN([#define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog],
+- AC_DEFINE(USEBCOPY) AC_MSG_RESULT(bcopy does),
+- AC_TRY_RUN([#define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog],
+- AC_DEFINE(USEMEMCPY) AC_MSG_RESULT(memcpy does), AC_MSG_RESULT(no),
+- AC_MSG_ERROR(failed to compile test program)),
+- AC_MSG_ERROR(failed to compile test program)),
+- AC_MSG_ERROR(failed to compile test program))
+
+ dnl Check for multibyte locale functions
+ dnl Find out if _Xsetlocale() is supported by libX11.
diff --git a/data/vim/make.sh b/data/vim/make.sh
new file mode 100644
index 000000000..a9aa263e1
--- /dev/null
+++ b/data/vim/make.sh
@@ -0,0 +1,9 @@
+tar -jxvf "${PKG_DATA}/vim-7.1.tar.bz2"
+cd vim71
+pkg:patch
+cd src
+autoconf
+cd ..
+STRIP=$(which arm-apple-darwin-strip) CFLAGS='-O0' ./configure --prefix=/usr --host=arm-apple-darwin vim_cv_toupper_broken=no --with-tlib=ncurses vim_cv_terminfo=yes vim_cv_tty_group=4 vim_cv_tty_mode=0620 vim_cv_getcwd_broken=no vim_cv_stat_ignores_slash=no ac_cv_sizeof_int=4 vim_cv_memmove_handles_overlap=yes
+make
+pkg:install
diff --git a/data/vim/vim-7.1.tar.bz2 b/data/vim/vim-7.1.tar.bz2
new file mode 100644
index 000000000..4ce870b91
--- /dev/null
+++ b/data/vim/vim-7.1.tar.bz2
Binary files differ
diff --git a/data/wget/_metadata/description b/data/wget/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/wget/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/wget/_metadata/license b/data/wget/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/wget/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/wget/_metadata/maintainer b/data/wget/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/wget/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/wget/_metadata/openssl.dep b/data/wget/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/wget/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/wget/_metadata/priority b/data/wget/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/wget/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/wget/_metadata/section b/data/wget/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/wget/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/wget/_metadata/version b/data/wget/_metadata/version
new file mode 100644
index 000000000..9ab8337f3
--- /dev/null
+++ b/data/wget/_metadata/version
@@ -0,0 +1 @@
+1.9.1
diff --git a/data/wget/make.sh b/data/wget/make.sh
new file mode 100644
index 000000000..53926b832
--- /dev/null
+++ b/data/wget/make.sh
@@ -0,0 +1,5 @@
+tar -zxvf "${PKG_DATA}/wget-1.9.1.tar.gz"
+cd wget-1.9.1
+pkg:configure
+make
+pkg:install
diff --git a/data/wget/wget-1.9.1.tar.gz b/data/wget/wget-1.9.1.tar.gz
new file mode 100644
index 000000000..2def2c7ff
--- /dev/null
+++ b/data/wget/wget-1.9.1.tar.gz
Binary files differ
diff --git a/data/whois/_metadata/description b/data/whois/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/whois/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/whois/_metadata/license b/data/whois/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/whois/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/whois/_metadata/maintainer b/data/whois/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/whois/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/whois/_metadata/priority b/data/whois/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/whois/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/whois/_metadata/section b/data/whois/_metadata/section
new file mode 100644
index 000000000..992ae1298
--- /dev/null
+++ b/data/whois/_metadata/section
@@ -0,0 +1 @@
+network
diff --git a/data/whois/_metadata/version b/data/whois/_metadata/version
new file mode 100644
index 000000000..12b85aea7
--- /dev/null
+++ b/data/whois/_metadata/version
@@ -0,0 +1 @@
+4.7.24
diff --git a/data/whois/make.sh b/data/whois/make.sh
new file mode 100644
index 000000000..3d2d0936e
--- /dev/null
+++ b/data/whois/make.sh
@@ -0,0 +1,4 @@
+tar -zxvf "${PKG_DATA}/whois_4.7.24.tar.gz"
+cd whois-4.7.24
+make CC=arm-apple-darwin-gcc
+pkg:usrbin whois
diff --git a/data/whois/whois_4.7.24.tar.gz b/data/whois/whois_4.7.24.tar.gz
new file mode 100644
index 000000000..d3735ea09
--- /dev/null
+++ b/data/whois/whois_4.7.24.tar.gz
Binary files differ
diff --git a/data/zip/_metadata/description b/data/zip/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/zip/_metadata/description
@@ -0,0 +1,2 @@
+this package isn't described yet
+This package, which I'm certain is incredibly interesting, has yet to be described. This is probably because Jay has spent days getting all kinds of bookkeeping issues, like copyright notifications, all in their correct places, and descriptions just aren't the most important thing he could be working on. If this is a problem, please come back later.
diff --git a/data/zip/_metadata/license b/data/zip/_metadata/license
new file mode 100644
index 000000000..be2972aa9
--- /dev/null
+++ b/data/zip/_metadata/license
@@ -0,0 +1,55 @@
+This is version 2005-Feb-10 of the Info-ZIP license.
+The definitive version of this document should be available at
+ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely.
+
+
+Copyright (c) 1990-2006 Info-ZIP. All rights reserved.
+
+For the purposes of this copyright and license, "Info-ZIP" is defined as
+the following set of individuals:
+
+ Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois,
+ Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth,
+ Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz,
+ David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko,
+ Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs,
+ Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda,
+ Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren,
+ Rich Wales, Mike White
+
+This software is provided "as is," without warranty of any kind, express
+or implied. In no event shall Info-ZIP or its contributors be held liable
+for any direct, indirect, incidental, special or consequential damages
+arising out of the use of or inability to use this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ definition, disclaimer, and this list of conditions.
+
+ 2. Redistributions in binary form (compiled executables) must reproduce
+ the above copyright notice, definition, disclaimer, and this list of
+ conditions in documentation and/or other materials provided with the
+ distribution. The sole exception to this condition is redistribution
+ of a standard UnZipSFX binary (including SFXWiz) as part of a
+ self-extracting archive; that is permitted without inclusion of this
+ license, as long as the normal SFX banner has not been removed from
+ the binary or disabled.
+
+ 3. Altered versions--including, but not limited to, ports to new operating
+ systems, existing ports with new graphical interfaces, and dynamic,
+ shared, or static library versions--must be plainly marked as such
+ and must not be misrepresented as being the original source. Such
+ altered versions also must not be misrepresented as being Info-ZIP
+ releases--including, but not limited to, labeling of the altered
+ versions with the names "Info-ZIP" (or any variation thereof, including,
+ but not limited to, different capitalizations), "Pocket UnZip," "WiZ"
+ or "MacZip" without the explicit permission of Info-ZIP. Such altered
+ versions are further prohibited from misrepresentative use of the
+ Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s).
+
+ 4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip,"
+ "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its
+ own source and binary releases.
diff --git a/data/zip/_metadata/maintainer b/data/zip/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/zip/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/zip/_metadata/priority b/data/zip/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/zip/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/zip/_metadata/section b/data/zip/_metadata/section
new file mode 100644
index 000000000..f1d43c641
--- /dev/null
+++ b/data/zip/_metadata/section
@@ -0,0 +1 @@
+archive
diff --git a/data/zip/_metadata/version b/data/zip/_metadata/version
new file mode 100644
index 000000000..0f34dc7f3
--- /dev/null
+++ b/data/zip/_metadata/version
@@ -0,0 +1 @@
+2.32
diff --git a/data/zip/make.sh b/data/zip/make.sh
new file mode 100644
index 000000000..47e5baefa
--- /dev/null
+++ b/data/zip/make.sh
@@ -0,0 +1,5 @@
+unzip "${PKG_DATA}/zip232.zip" -d zip-2.32
+cd zip-2.32
+cp unix/Makefile .
+make zips CC=arm-apple-darwin-gcc CPP='arm-apple-darwin-gcc -E'
+pkg:usrbin zip zipcloak zipnote zipsplit
diff --git a/data/zip/zip232.zip b/data/zip/zip232.zip
new file mode 100644
index 000000000..c306579b5
--- /dev/null
+++ b/data/zip/zip232.zip
Binary files differ