diff options
Diffstat (limited to 'data/sudo')
-rw-r--r-- | data/sudo/_metadata/description | 1 | ||||
-rw-r--r-- | data/sudo/_metadata/license | 49 | ||||
l--------- | data/sudo/_metadata/maintainer | 1 | ||||
-rw-r--r-- | data/sudo/_metadata/name | 1 | ||||
-rw-r--r-- | data/sudo/_metadata/priority | 1 | ||||
-rw-r--r-- | data/sudo/_metadata/section | 1 | ||||
-rw-r--r-- | data/sudo/_metadata/version | 1 | ||||
-rw-r--r-- | data/sudo/make.sh | 6 | ||||
-rw-r--r-- | data/sudo/strip.diff | 26 | ||||
-rw-r--r-- | data/sudo/sudo-1.6.9p12.tar.gz | bin | 0 -> 581936 bytes |
10 files changed, 87 insertions, 0 deletions
diff --git a/data/sudo/_metadata/description b/data/sudo/_metadata/description new file mode 100644 index 000000000..47d1111e1 --- /dev/null +++ b/data/sudo/_metadata/description @@ -0,0 +1 @@ +temporarily assume root priviledges diff --git a/data/sudo/_metadata/license b/data/sudo/_metadata/license new file mode 100644 index 000000000..69266beec --- /dev/null +++ b/data/sudo/_metadata/license @@ -0,0 +1,49 @@ +Sudo is distributed under the following ISC-style license: + + Copyright (c) 1994-1996,1998-2005 Todd C. Miller <Todd.Miller@courtesan.com> + + 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 THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR 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. + + Sponsored in part by the Defense Advanced Research Projects + Agency (DARPA) and Air Force Research Laboratory, Air Force + Materiel Command, USAF, under agreement number F39502-99-1-0512. + +Additionally, fnmatch.c, fnmatch.h, getcwd.c, glob.c, glob.h, mkstemp.c +and snprintf.c bear the following UCB license: + + Copyright (c) 1987, 1989, 1990, 1991, 1992, 1993, 1994 + 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. diff --git a/data/sudo/_metadata/maintainer b/data/sudo/_metadata/maintainer new file mode 120000 index 000000000..0fa66e077 --- /dev/null +++ b/data/sudo/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/saurik
\ No newline at end of file diff --git a/data/sudo/_metadata/name b/data/sudo/_metadata/name new file mode 100644 index 000000000..4eb80a6e2 --- /dev/null +++ b/data/sudo/_metadata/name @@ -0,0 +1 @@ +Sudo diff --git a/data/sudo/_metadata/priority b/data/sudo/_metadata/priority new file mode 100644 index 000000000..a6a7b9cd7 --- /dev/null +++ b/data/sudo/_metadata/priority @@ -0,0 +1 @@ +standard diff --git a/data/sudo/_metadata/section b/data/sudo/_metadata/section new file mode 100644 index 000000000..eb7a34ddd --- /dev/null +++ b/data/sudo/_metadata/section @@ -0,0 +1 @@ +Administration diff --git a/data/sudo/_metadata/version b/data/sudo/_metadata/version new file mode 100644 index 000000000..b82d866f4 --- /dev/null +++ b/data/sudo/_metadata/version @@ -0,0 +1 @@ +1.6.9p12 diff --git a/data/sudo/make.sh b/data/sudo/make.sh new file mode 100644 index 000000000..11bc08fce --- /dev/null +++ b/data/sudo/make.sh @@ -0,0 +1,6 @@ +pkg:extract +cd * +pkg:patch +pkg:configure sudo_cv_uid_t_len=10 sudo_cv_type_long_is_quad=no --without-pam +make +pkg:install diff --git a/data/sudo/strip.diff b/data/sudo/strip.diff new file mode 100644 index 000000000..f0d9215e4 --- /dev/null +++ b/data/sudo/strip.diff @@ -0,0 +1,26 @@ +diff -ru sudo-1.6.9p12/install-sh sudo-1.6.9p12+iPhone/install-sh +--- sudo-1.6.9p12/install-sh 2002-01-10 18:00:58.000000000 +0000 ++++ sudo-1.6.9p12+iPhone/install-sh 2008-02-13 20:44:20.000000000 +0000 +@@ -15,7 +15,7 @@ + MKDIR=mkdir + MV=mv + RM=rm +-STRIP=strip ++STRIP=arm-apple-darwin-strip + WHOAMI="echo root" + + ## Some systems don't support -x, so we have to use -f. +@@ -35,13 +35,6 @@ + fi + done + +-for d in /usr/ccs/bin /usr/bin /bin; do +- if [ -f $d/strip ]; then +- STRIP=${d}/strip +- break +- fi +-done +- + ## Defaults. + CHOWNIT=false + CHGROUPIT=false diff --git a/data/sudo/sudo-1.6.9p12.tar.gz b/data/sudo/sudo-1.6.9p12.tar.gz Binary files differnew file mode 100644 index 000000000..66be6dddc --- /dev/null +++ b/data/sudo/sudo-1.6.9p12.tar.gz |