summaryrefslogtreecommitdiff
path: root/data/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'data/krb5')
-rw-r--r--data/krb5/_metadata/description2
l---------data/krb5/_metadata/libresolv.dep1
-rw-r--r--data/krb5/_metadata/license99
l---------data/krb5/_metadata/maintainer1
-rw-r--r--data/krb5/_metadata/priority1
-rw-r--r--data/krb5/_metadata/section1
-rw-r--r--data/krb5/_metadata/version1
-rw-r--r--data/krb5/krb5-1.6.3.tar.gzbin0 -> 11899169 bytes
-rw-r--r--data/krb5/libresolv.diff48
-rw-r--r--data/krb5/make.sh7
-rw-r--r--data/krb5/nocommon.diff12
11 files changed, 173 insertions, 0 deletions
diff --git a/data/krb5/_metadata/description b/data/krb5/_metadata/description
new file mode 100644
index 000000000..005d9a0c9
--- /dev/null
+++ b/data/krb5/_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/krb5/_metadata/libresolv.dep b/data/krb5/_metadata/libresolv.dep
new file mode 120000
index 000000000..40a8d5796
--- /dev/null
+++ b/data/krb5/_metadata/libresolv.dep
@@ -0,0 +1 @@
+../../libresolv \ No newline at end of file
diff --git a/data/krb5/_metadata/license b/data/krb5/_metadata/license
new file mode 100644
index 000000000..7cdf93542
--- /dev/null
+++ b/data/krb5/_metadata/license
@@ -0,0 +1,99 @@
+ Copyright (c) 2004 Sun Microsystems, 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, 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.
+
+ --------------------
+
+MIT Kerberos includes documentation and software developed at the
+University of California at Berkeley, which includes this copyright
+notice:
+
+ Copyright (C) 1983 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.
+
+ --------------------
+
+Portions contributed by Novell, Inc., including the LDAP database
+backend, are subject to the following license:
+
+ Copyright (c) 2004-2005, Novell, Inc.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * 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.
+ * The copyright holder's name is not used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+ --------------------
+
+Portions funded by Sandia National Laboratory and developed by the
+University of Michigan's Center for Information Technology
+Integration, including the PKINIT implementation, are subject to the
+following license:
+
+ COPYRIGHT (C) 2006-2007
+ THE REGENTS OF THE UNIVERSITY OF MICHIGAN
+ ALL RIGHTS RESERVED
diff --git a/data/krb5/_metadata/maintainer b/data/krb5/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/krb5/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/krb5/_metadata/priority b/data/krb5/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/krb5/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/krb5/_metadata/section b/data/krb5/_metadata/section
new file mode 100644
index 000000000..e644cf4d5
--- /dev/null
+++ b/data/krb5/_metadata/section
@@ -0,0 +1 @@
+security
diff --git a/data/krb5/_metadata/version b/data/krb5/_metadata/version
new file mode 100644
index 000000000..266146b87
--- /dev/null
+++ b/data/krb5/_metadata/version
@@ -0,0 +1 @@
+1.6.3
diff --git a/data/krb5/krb5-1.6.3.tar.gz b/data/krb5/krb5-1.6.3.tar.gz
new file mode 100644
index 000000000..9f48dc80a
--- /dev/null
+++ b/data/krb5/krb5-1.6.3.tar.gz
Binary files differ
diff --git a/data/krb5/libresolv.diff b/data/krb5/libresolv.diff
new file mode 100644
index 000000000..0ed115bb6
--- /dev/null
+++ b/data/krb5/libresolv.diff
@@ -0,0 +1,48 @@
+diff -ru krb5-1.6.3/src/lib/kadm5/clnt/Makefile.in krb5-1.6.3+iPhone/src/lib/kadm5/clnt/Makefile.in
+--- krb5-1.6.3/src/lib/kadm5/clnt/Makefile.in 2007-09-18 04:22:24.000000000 +0000
++++ krb5-1.6.3+iPhone/src/lib/kadm5/clnt/Makefile.in 2008-01-02 01:01:40.000000000 +0000
+@@ -5,6 +5,8 @@
+ LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
+ DEFS=
+
++MAKE_SHLIB_COMMAND += $(LIBRESOLV)
++
+ LIBBASE=kadm5clnt
+ LIBMAJOR=5
+ LIBMINOR=1
+diff -ru krb5-1.6.3/src/lib/kadm5/srv/Makefile.in krb5-1.6.3+iPhone/src/lib/kadm5/srv/Makefile.in
+--- krb5-1.6.3/src/lib/kadm5/srv/Makefile.in 2007-09-18 04:22:24.000000000 +0000
++++ krb5-1.6.3+iPhone/src/lib/kadm5/srv/Makefile.in 2008-01-02 01:02:05.000000000 +0000
+@@ -8,6 +8,8 @@
+ DEFINES = @HESIOD_DEFS@
+ DEFS=
+
++MAKE_SHLIB_COMMAND += $(LIBRESOLV)
++
+ ##DOSBUILDTOP = ..\..\..
+ ##DOSLIBNAME = libkadm5srv.lib
+
+diff -ru krb5-1.6.3/src/lib/krb4/Makefile.in krb5-1.6.3+iPhone/src/lib/krb4/Makefile.in
+--- krb5-1.6.3/src/lib/krb4/Makefile.in 2007-09-18 04:22:24.000000000 +0000
++++ krb5-1.6.3+iPhone/src/lib/krb4/Makefile.in 2008-01-02 00:58:53.000000000 +0000
+@@ -6,6 +6,8 @@
+ DEFINES= -DKRB4_USE_KEYTAB
+ DEFS=
+
++MAKE_SHLIB_COMMAND += $(LIBRESOLV)
++
+ ##DOS##BUILDTOP = ..\..
+ ##DOS##LIBNAME=$(OUTPRE)krb4.lib
+ ##DOS##OBJFILE=$(OUTPRE)krb4.lst
+diff -ru krb5-1.6.3/src/lib/rpc/Makefile.in krb5-1.6.3+iPhone/src/lib/rpc/Makefile.in
+--- krb5-1.6.3/src/lib/rpc/Makefile.in 2006-10-05 14:05:40.000000000 +0000
++++ krb5-1.6.3+iPhone/src/lib/rpc/Makefile.in 2008-01-02 01:01:02.000000000 +0000
+@@ -5,6 +5,8 @@
+ DEFINES = -DGSSAPI_KRB5 -DDEBUG_GSSAPI=0 -DGSSRPC__IMPL
+ DEFS=
+
++MAKE_SHLIB_COMMAND += $(LIBRESOLV)
++
+ SUBDIRS=unit-test
+
+ ##DOSBUILDTOP = ..\..
diff --git a/data/krb5/make.sh b/data/krb5/make.sh
new file mode 100644
index 000000000..74b159213
--- /dev/null
+++ b/data/krb5/make.sh
@@ -0,0 +1,7 @@
+pkg:extract
+cd *
+pkg:patch
+cd src
+pkg:configure ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=no ac_cv_file__etc_TIMEZONE=no ac_cv_prog_AR="$(which arm-apple-darwin-ar)" krb5_cv_attr_constructor_destructor=yes,yes
+make LIBRESOLV='-dylib_file /usr/lib/libresolv.dylib:${PKG_ROOT}/usr/lib/libresolv.dylib'
+pkg:install
diff --git a/data/krb5/nocommon.diff b/data/krb5/nocommon.diff
new file mode 100644
index 000000000..e40be92fd
--- /dev/null
+++ b/data/krb5/nocommon.diff
@@ -0,0 +1,12 @@
+diff -ru krb5-1.6.3/src/config/pre.in krb5-1.6.3+iPhone/src/config/pre.in
+--- krb5-1.6.3/src/config/pre.in 2006-10-15 18:19:28.000000000 +0000
++++ krb5-1.6.3+iPhone/src/config/pre.in 2008-01-02 01:03:37.000000000 +0000
+@@ -158,7 +158,7 @@
+ # PTHREAD_CFLAGS set by configure, not included in CFLAGS so that we
+ # don't pull the pthreads library into shared libraries
+ ALL_CFLAGS = $(DEFS) $(DEFINES) $(KRB_INCLUDES) $(LOCALINCLUDES) \
+- -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 \
++ -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -fno-common \
+ $(CPPFLAGS) $(CFLAGS) $(PTHREAD_CFLAGS)
+
+ CFLAGS = @CFLAGS@