├── .gitignore ├── ChangeLog ├── LICENSE ├── Makefile ├── README ├── TODO ├── build-aux ├── Makefile-package ├── configure-wrapper.sh └── iOS-buildenv.sh ├── examples ├── database │ └── openldap │ │ └── ldapsearch │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── Shared │ │ └── main.m │ │ ├── ca-certs.pem │ │ ├── iPad │ │ ├── AppDelegate_Pad.h │ │ ├── AppDelegate_Pad.m │ │ └── MainWindow_Pad.xib │ │ ├── iPhone │ │ ├── AppDelegate_Phone.h │ │ ├── AppDelegate_Phone.m │ │ └── MainWindow_Phone.xib │ │ ├── ldapTest.h │ │ ├── ldapTest.m │ │ ├── ldapTestMain.m │ │ ├── ldapsearch-Info.plist │ │ ├── ldapsearch.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── iOSPorts Example: ldapsearch.xcscheme │ │ └── ldapsearch_Prefix.pch └── devel │ └── pcre │ └── pcreTest │ ├── .gitignore │ ├── Classes │ ├── pcreTestAppDelegate.h │ └── pcreTestAppDelegate.m │ ├── MainWindow.xib │ ├── main.m │ ├── pcreTest-Info.plist │ ├── pcreTest.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── iOSPorts Example: pcreTest.xcscheme │ └── pcreTest_Prefix.pch ├── iOSPorts.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── xcschemes │ ├── Demo: database │ └── openldap │ │ └── ldapsearch.xcscheme │ ├── Demo: devel │ └── pcre │ │ └── pcreTest.xcscheme │ ├── Port: database │ └── openldap │ │ ├── Makefile-openldap.xcscheme │ │ ├── lber.xcscheme │ │ └── ldap.xcscheme │ ├── Port: devel │ └── pcre │ │ ├── Makefile-pcre.xcscheme │ │ └── pcre.xcscheme │ ├── Port: ports │ ├── iOSPorts.xcscheme │ └── iOSPorts │ │ ├── Makefile-iOSPorts.xcscheme │ │ └── iOSPorts.xcscheme │ └── Port: security │ ├── cyrus-sasl │ ├── Makefile-cyrus-sasl.xcscheme │ └── sasl2.xcscheme │ └── openssl │ ├── Makefile-openssl.xcscheme │ ├── crypto.xcscheme │ └── ssl.xcscheme ├── include └── .gitignore └── ports ├── database └── openldap │ ├── .gitignore │ ├── Makefile │ ├── build-aux │ ├── LICENSE │ ├── configure-wrapper.sh │ ├── configure-wrapper.sh.log │ ├── configure-wrapper.sh.make │ ├── openldap-2.4.33.tgz.md5 │ └── openldap │ │ ├── include │ │ ├── lber_types.h │ │ ├── ldap_config.h │ │ ├── ldap_features.h │ │ └── portable.h │ │ └── libraries │ │ ├── liblber │ │ └── version.c │ │ ├── libldap │ │ └── version.c │ │ ├── libldap_r │ │ └── version.c │ │ ├── liblunicode │ │ └── version.c │ │ ├── liblutil │ │ └── version.c │ │ └── librewrite │ │ └── version.c │ └── openldap.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── xcshareddata │ └── xcschemes │ ├── OpenLDAP: Makefile-openldap.xcscheme │ ├── OpenLDAP: lber.xcscheme │ └── OpenLDAP: ldap.xcscheme ├── devel └── pcre │ ├── .gitignore │ ├── Makefile │ ├── build-aux │ ├── LICENCE │ ├── config.h │ ├── configure-wrapper.sh │ └── pcre-8.31.tar.bz2.md5 │ └── pcre.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ └── contents.xcworkspacedata ├── iOSPorts ├── COPYING ├── Makefile ├── iOSPorts.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── iOSPorts │ ├── .gitignore │ ├── iOSPorts.h │ ├── iOSPortsPackage.h │ ├── iOSPortsPackage.m │ ├── iOSPortsPackageData.m │ ├── iOSPortsViewController.h │ └── iOSPortsViewController.m └── other │ ├── iOSPorts-geninfo.m │ ├── iOSPorts-genlist.m │ ├── iOSPorts-pkginfo.m │ └── iOSPorts_Prefix.pch └── security ├── cyrus-sasl ├── .gitignore ├── Cyrus SASL.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ ├── Cyrus-SASL: Makefile-cyrus-sasl.xcscheme │ │ └── Cyrus-SASL: sasl2.xcscheme ├── Makefile ├── build-aux │ ├── COPYING │ ├── config.h │ ├── configure-wrapper.sh │ └── cyrus-sasl-2.1.25.tar.gz.md5 └── sasl2_Prefix.pch ├── openssl ├── .gitignore ├── Makefile ├── README ├── build-aux │ ├── LICENSE │ ├── configure-wrapper.log │ ├── configure-wrapper.sh │ ├── openssl-1.0.1c.patch │ ├── openssl-1.0.1c.tar.gz.md5 │ └── opensslconf.h └── openssl.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── xcshareddata │ └── xcschemes │ ├── OpenSSL: Makefile-openssl.xcscheme │ ├── OpenSSL: crypto.xcscheme │ └── OpenSSL: ssl.xcscheme └── scrypt ├── .gitignore ├── Makefile ├── README ├── build-aux ├── LICENSE ├── config.h ├── configure-wrapper.log ├── configure-wrapper.sh ├── scrypt-1.1.6.patch └── scrypt-1.1.6.tgz.md5 └── scrypt.xcodeproj ├── project.pbxproj └── project.xcworkspace └── contents.xcworkspacedata /.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.o 3 | *.pbxuser 4 | .DS_Store 5 | xcuserdata 6 | /build/ 7 | /build-aux/iOSPorts-geninfo 8 | /build-aux/iOSPorts-genlist 9 | /build-aux/iOSPorts-pkginfo 10 | a.out 11 | pkgdata_*.m 12 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | 2 | iOS Ports Library 3 | Copyright (C) 2011, 2012 Bindle Binaries 4 | 5 | 0.7 2013-01-24 6 | - Changing arguments for external build tool argument from "all" to 7 | $(ACTION). (syzdek) 8 | - Fixing typos in README. (syzdek) 9 | - Fixing compile problems with iOSPorts when compiling for iOS 10 | simulator. (syzdek) 11 | - Updating OpenSSL to version 1.0.1c. (syzdek) 12 | - Updating Cyrus-SASL to version 2.1.25. (syzdek) 13 | - Updating OpenLDAP to version 2.4.33. (syzdek) 14 | - Updating PCRE to version 8.31. (syzdek) 15 | - Updating global disclean target to distclean all packages. (syzdek) 16 | - Adding shared Xcode schemes for targets. (syzdek) 17 | 18 | 0.6 2012-05-30 19 | - Updating project files for Xcode 4.3. (syzdek) 20 | PCRE 21 | - Adding flag to PCRE project to "Skip Install" when building 22 | libpcre.a. (syzdek) 23 | - Adding quick start instructions for Xcode 4. (syzdek) 24 | - Adding OpenSSL as a target dependency for scrypt port. (syzdek) 25 | 26 | 0.5 2012-02-14 27 | iOS Ports 28 | - Reverting supported architectures back to armv6, armv7. (syzdek) 29 | - Toggling "Skip Install" in the Xcode project files to "YES" in order 30 | to allow projects linking to iOS Ports to be distributed with a 31 | Ad-Hoc provisioning profile. (syzdek) 32 | - Refactoring iOSPorts library to simplify the code base and to reduce 33 | the library to a just providing package information without providing 34 | a framework for presenting the package information. The framework 35 | is being migrated to BindleKit. (syzdek) 36 | - Adding flag to iOSPorts project to "Skip Install" when building 37 | libiOSPorts.a. (syzdek) 38 | scrypt 39 | - Importing scrypt package from lhunath. (https://github.com/lhunath) 40 | 41 | 0.4 2011-09-04 42 | iOS Ports 43 | - Moving library's Xcode project from root of iOS Ports to avoid 44 | confusion by users. (syzdek) 45 | - Modernized project. (syzdek) 46 | - Updating README to clarify a few points. (syzdek) 47 | - Creating workspace for iOS Ports. (syzdek) 48 | - Creating TODO list. (syzdek) 49 | OpenLDAP, Cyrus-SASL, OpenSSL 50 | - Changing dependencies to avoid Xcode crashes. (syzdek) 51 | - Modernizing project. (syzdek) 52 | - Moving example code to new example directory. (syzdek) 53 | PCRE 54 | - Modernizing project. (syzdek) 55 | - Moving example code to new example directory. (syzdek) 56 | 57 | 0.3 2011-05-16 58 | iOS Ports 59 | - Creating group for examples. (syzdek) 60 | - Updating projects to use Xcode4. (syzdek) 61 | 62 | 0.2 2011-01-05 63 | OpenLDAP 64 | - Updating OpenLDAP example to use TLS connections. (syzdek) 65 | 66 | 0.1 2010-12-03 67 | iOS Ports 68 | - Standarding Xcode project files to latest iOS SDK root rather than 69 | a specific iOS SDK root to ease future tranistions to newer iOS SDK 70 | versions. (Syzdek) 71 | - Standarding Xcode project files to deployment target of 3.1. 72 | iOS SDK 3.1 was chosen due to a lack of a test device for iOS SDK 73 | 3.0. (syzdek) 74 | - Standarding Xcode project files' build settings on LLVM GCC 4.2 75 | instead of GCC 4.2. (syzdek) 76 | - Adding iOS Ports Library which provides a mechanism for adding 77 | acknowledgements to an iOS Application per licensing requirements 78 | of a ported package. (syzdek) 79 | - Starting ChangeLog for project. (szyzdek) 80 | OpenLDAP 81 | - Updating OpenLDAP to demonstrate simple bind and SASL bind with 82 | multiple mechanisms. (syzdek) 83 | - Updating OpenLDAP example to use test LDAP server. (Syzdek) 84 | PCRE 85 | - Updating PCRE package name in port Makefile. (syzdek) 86 | 87 | 0.0 2010-11-05 88 | - Hello World (syzdek) 89 | - Adding port of OpenSSL (syzdek) 90 | - Adding port of Cyrus SASL (syzdek) 91 | - Adding port of OpenLDAP (syzdek) 92 | - Adding port of PCRE (syzdek) 93 | 94 | 95 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | iOS Ports Library 2 | 3 | Copyright (c) 2012, Bindle Binaries 4 | All rights reserved. 5 | 6 | @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions are 10 | met: 11 | 12 | * Redistributions of source code must retain the above copyright 13 | notice, this list of conditions and the following disclaimer. 14 | * Redistributions in binary form must reproduce the above copyright 15 | notice, this list of conditions and the following disclaimer in the 16 | documentation and/or other materials provided with the distribution. 17 | * Neither the name of Bindle Binaries nor the 18 | names of its contributors may be used to endorse or promote products 19 | derived from this software without specific prior written permission. 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | SUCH DAMAGE. 32 | 33 | @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2011 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | 36 | PACKAGE_VERSION = $(shell git describe --long --abbrev=7 HEAD |sed -e 's/^v//g' -e 's/-/./g') 37 | 38 | SOURCES = \ 39 | ports/database/openldap/pkgdata_openldap.m \ 40 | ports/devel/pcre/pkgdata_pcre.m \ 41 | ports/security/cyrus-sasl/pkgdata_cyrus-sasl.m \ 42 | ports/security/openssl/pkgdata_openssl.m \ 43 | ports/security/scrypt/pkgdata_scrypt.m \ 44 | ports/iOSPorts/pkgdata_iosports.m 45 | 46 | DEPS = \ 47 | ports/iOSPorts/iOSPorts/iOSPortsPackageData.h \ 48 | ports/iOSPorts/iOSPorts/iOSPortsPackageList.h 49 | 50 | PKGINFOSOURCES = \ 51 | ports/iOSPorts/other/iOSPorts-pkginfo.m \ 52 | ports/iOSPorts/iOSPorts/iOSPortsPackage.m \ 53 | ports/iOSPorts/iOSPorts/iOSPortsPackageData.m 54 | 55 | PROGS = \ 56 | build-aux/iOSPorts-geninfo \ 57 | build-aux/iOSPorts-genlist \ 58 | build-aux/iOSPorts-pkginfo 59 | 60 | INCLUDES = \ 61 | include/iOSPorts/iOSPorts.h \ 62 | include/iOSPorts/iOSPortsPackage.h \ 63 | include/iOSPorts/iOSPortsViewController.h 64 | 65 | CFLAGS = -W -Wall -Werror -Iinclude -framework Foundation -DPACKAGE_VERSION=\"$(PACKAGE_VERSION)\" 66 | CC = /usr/bin/cc 67 | 68 | all: $(PROGS) 69 | 70 | prog: $(PROGS) 71 | 72 | include/iOSPorts: 73 | @mkdir -p ${@} 74 | 75 | include/iOSPorts/iOSPorts.h: include/iOSPorts ports/iOSPorts/iOSPorts/iOSPorts.h 76 | cp ports/iOSPorts/iOSPorts/iOSPorts.h ${@}; 77 | 78 | include/iOSPorts/iOSPortsPackage.h: include/iOSPorts ports/iOSPorts/iOSPorts/iOSPortsPackage.h 79 | cp ports/iOSPorts/iOSPorts/iOSPortsPackage.h ${@}; 80 | 81 | include/iOSPorts/iOSPortsViewController.h: include/iOSPorts ports/iOSPorts/iOSPorts/iOSPortsViewController.h 82 | cp ports/iOSPorts/iOSPorts/iOSPortsViewController.h ${@}; 83 | 84 | $(SOURCES): build-aux/iOSPorts-geninfo build-aux/Makefile-package $(INCLUDES) 85 | $(MAKE) -C "`dirname ${@}`" license 86 | 87 | ports/iOSPorts/iOSPorts/iOSPortsPackageData.h: $(SOURCES) 88 | @rm -f ${@} 89 | cat $(SOURCES) > ${@} || { rm -f ${@}; exit 1; } 90 | 91 | ports/iOSPorts/iOSPorts/iOSPortsPackageList.h: build-aux/iOSPorts-genlist $(SOURCES) 92 | build-aux/iOSPorts-genlist -f -o ${@} $(SOURCES) 93 | 94 | build-aux/iOSPorts-geninfo: ports/iOSPorts/other/iOSPorts-geninfo.m $(INCLUDES) 95 | $(CC) $(CFLAGS) -o ${@} ports/iOSPorts/other/iOSPorts-geninfo.m 96 | 97 | build-aux/iOSPorts-genlist: ports/iOSPorts/other/iOSPorts-genlist.m $(INCLUDES) 98 | $(CC) $(CFLAGS) -o ${@} ports/iOSPorts/other/iOSPorts-genlist.m 99 | 100 | build-aux/iOSPorts-pkginfo: $(PKGINFOSOURCES) $(INCLUDES) $(DEPS) 101 | $(CC) $(CFLAGS) -o ${@} $(PKGINFOSOURCES) 102 | 103 | distclean: clean 104 | for PKG in $(SOURCES);do \ 105 | PKGDIR="`dirname $${PKG}`"; \ 106 | echo "cleaning $${PKGDIR}..."; \ 107 | $(MAKE) -C $${PKGDIR} distclean; \ 108 | rm -Rf $${PKGDIR}/build; \ 109 | done 110 | 111 | clean: 112 | rm -Rf $(PROGS) $(SOURCES) $(DEPS) 113 | rm -Rf include/iOSPorts 114 | rm -Rf ports/iOSPorts/other/iOSPorts-data.c 115 | rm -Rf build/ 116 | rm -Rf a.out *.o src/*.o ports/iOSPorts/other/*.o 117 | 118 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | 2 | iOS Ports 3 | Copyright (C) 2011 Bindle Binaries 4 | 5 | * Re-write Quick start. 6 | * Write manual for iOS Ports. 7 | * Improve performance of iOS Ports library. 8 | * Create webpage for iOS Ports. 9 | -------------------------------------------------------------------------------- /build-aux/Makefile-package: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # 5 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 6 | # 7 | # Redistribution and use in source and binary forms, with or without 8 | # modification, are permitted provided that the following conditions are met: 9 | # * Redistributions of source code must retain the above copyright 10 | # notice, this list of conditions and the following disclaimer. 11 | # * Redistributions in binary form must reproduce the above copyright 12 | # notice, this list of conditions and the following disclaimer in the 13 | # documentation and/or other materials provided with the distribution. 14 | # * Neither the name of Bindle Binaries nor the names of its contributors 15 | # may be used to endorse or promote products derived from this software 16 | # without specific prior written permission. 17 | # 18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21 | # ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR ANY 22 | # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 24 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 25 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 | # SUCH DAMAGE. 29 | # 30 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 31 | # 32 | # Makefile -- automate downloading OpenLDAP 33 | # 34 | 35 | # common targets 36 | all: $(PACKAGE_TARNAME) extra-prep 37 | 38 | clean: clean-local 39 | /bin/rm -Rf include 40 | 41 | distclean: distclean-local clean 42 | /bin/rm -f $(PACKAGE_MD5) 43 | /bin/rm -fR $(PACKAGE_DIR) 44 | /bin/rm -fR $(PACKAGE_TARNAME) 45 | /bin/rm -f $(PACKAGE_FILE) 46 | /bin/rm -f build/ 47 | 48 | download: $(PACKAGE_FILE) 49 | 50 | license: $(SRCROOTDIR)/build-aux/iOSPorts-geninfo 51 | $(SRCROOTDIR)/build-aux/iOSPorts-geninfo -f \ 52 | -o "pkgdata_$(PACKAGE_TARNAME).m" \ 53 | -N "$(PACKAGE_NAME)" \ 54 | -I "$(PACKAGE_TARNAME)" \ 55 | -R "$(PACKAGE_VERSION)" \ 56 | -w "$(PACKAGE_WEBSITE)" \ 57 | -i "$(PACKAGE_LICENSE_FILE)" 58 | 59 | # download targets 60 | $(PACKAGE_TARNAME): $(PACKAGE_DIR) 61 | @/bin/rm -Rf $(PACKAGE_TARNAME) 62 | /bin/ln -s $(PACKAGE_DIR) $(PACKAGE_TARNAME) 63 | @/usr/bin/touch $(PACKAGE_TARNAME) 64 | 65 | $(PACKAGE_DIR): $(PACKAGE_MD5) 66 | @/bin/rm -Rf $(PACKAGE_DIR) 67 | /usr/bin/tar -xzf $(PACKAGE_FILE) 68 | @/usr/bin/touch $(PACKAGE_DIR) 69 | 70 | $(PACKAGE_MD5): Makefile $(PACKAGE_FILE) 71 | /sbin/md5 $(PACKAGE_FILE) > $(PACKAGE_MD5) 72 | /usr/bin/diff $(PACKAGE_MD5) build-aux/$(PACKAGE_FILE).md5 > /dev/null \ 73 | || { /bin/rm -f $(PACKAGE_MD5) $(PACKAGE_FILE); exit 1; }; 74 | @/usr/bin/touch $(PACKAGE_MD5) 75 | 76 | $(PACKAGE_FILE): 77 | /usr/bin/curl -O $(PACKAGE_URL) -o $(PACKAGE_FILE) -s \ 78 | || { rm -f $(PACKAGE_FILE); echo -e "unable to download $(PACKAGE_FILE) from $(PACKAGE_URL)\nPlease verify that your system is connected to the Internet."; exit 1; }; 79 | @/usr/bin/touch $(PACKAGE_FILE) 80 | 81 | 82 | .PHONY: extra-prep clean-local distclean-local 83 | 84 | # end of Makefile 85 | -------------------------------------------------------------------------------- /build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . `dirname $0`/iOS-buildenv.sh 4 | 5 | ./configure --host=arm-apple-darwin10 \ 6 | PATH=${PATH} CC=${CC} LDFLAGS=${LDFLAGS} CPPFLAGS=${CPPFLAGS} $@ 7 | 8 | exit $? 9 | -------------------------------------------------------------------------------- /build-aux/iOS-buildenv.sh: -------------------------------------------------------------------------------- 1 | export PATH=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:${PATH} 2 | export CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 3 | export LDFLAGS=-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/usr/lib 4 | export CPPFLAGS=-I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/usr/include 5 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.pbxuser 3 | .DS_Store 4 | /build/ 5 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/Makefile: -------------------------------------------------------------------------------- 1 | 2 | LIBTOOL = glibtool 3 | CC = gcc 4 | 5 | CFLAGS = -W -Wall -Werror 6 | LDFLAGS = -framework Foundation 7 | 8 | all: ldapTest 9 | ./ldapTest 10 | 11 | ldapTest: Makefile ldapTest.o ldapTestMain.o 12 | $(LIBTOOL) --mode=link --tag=objc $(CC) $(LDFLAGS) -o ldapTest ldapTest.o ldapTestMain.o -lldap 13 | 14 | ldapTest.o: Makefile ldapTest.m 15 | $(LIBTOOL) --mode=compile --tag=objc $(CC) $(CFLAGS) -o ldapTest.lo -c ldapTest.m 16 | 17 | ldapTestMain.o: Makefile ldapTestMain.m 18 | $(LIBTOOL) --mode=compile --tag=objc $(CC) $(CFLAGS) -c ldapTestMain.m 19 | 20 | clean: 21 | $(LIBTOOL) --mode=clean rm -f ldapTest 22 | $(LIBTOOL) --mode=clean rm -f ldapTest.lo 23 | $(LIBTOOL) --mode=clean rm -f ldapTestMain.lo 24 | rm -f *.o ldapTest 25 | 26 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/Shared/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ldapsearch 4 | // 5 | // Created by David Syzdek on 6/22/10. 6 | // Copyright David M. Syzdek 2010. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) { 12 | 13 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 14 | int retVal = UIApplicationMain(argc, argv, nil, nil); 15 | [pool release]; 16 | return retVal; 17 | } 18 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/iPad/AppDelegate_Pad.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate_Pad.h 3 | // ldapsearch 4 | // 5 | // Created by David Syzdek on 6/22/10. 6 | // Copyright David M. Syzdek 2010. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate_Pad : NSObject { 12 | UIWindow *window; 13 | } 14 | 15 | @property (nonatomic, retain) IBOutlet UIWindow *window; 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/iPad/AppDelegate_Pad.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate_Pad.m 3 | // ldapsearch 4 | // 5 | // Created by David Syzdek on 6/22/10. 6 | // Copyright David M. Syzdek 2010. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate_Pad.h" 10 | #import "ldapTest.h" 11 | 12 | 13 | @implementation AppDelegate_Pad 14 | 15 | @synthesize window; 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 19 | { 20 | NSAutoreleasePool * pool; 21 | NSString * filePath; 22 | const char * caFile; 23 | 24 | [window makeKeyAndVisible]; 25 | 26 | pool = [[NSAutoreleasePool alloc] init]; 27 | 28 | test_all_ldap(NULL); 29 | 30 | filePath = [[NSBundle mainBundle] pathForResource:@"ca-certs" ofType:@"pem"]; 31 | if (filePath) 32 | caFile = [filePath UTF8String]; 33 | if(caFile) 34 | test_all_ldap(caFile); 35 | 36 | [pool release]; 37 | 38 | return YES; 39 | 40 | } 41 | 42 | 43 | - (void)dealloc { 44 | [window release]; 45 | [super dealloc]; 46 | } 47 | 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/iPhone/AppDelegate_Phone.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate_Phone.h 3 | // ldapsearch 4 | // 5 | // Created by David Syzdek on 6/22/10. 6 | // Copyright David M. Syzdek 2010. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate_Phone : NSObject { 12 | UIWindow *window; 13 | } 14 | 15 | @property (nonatomic, retain) IBOutlet UIWindow *window; 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/iPhone/AppDelegate_Phone.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate_Phone.m 3 | // ldapsearch 4 | // 5 | // Created by David Syzdek on 6/22/10. 6 | // Copyright David M. Syzdek 2010. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate_Phone.h" 10 | #import "ldapTest.h" 11 | 12 | @implementation AppDelegate_Phone 13 | 14 | @synthesize window; 15 | 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSAutoreleasePool * pool; 20 | NSString * filePath; 21 | const char * caFile; 22 | 23 | [window makeKeyAndVisible]; 24 | 25 | pool = [[NSAutoreleasePool alloc] init]; 26 | 27 | test_all_ldap(NULL); 28 | 29 | filePath = [[NSBundle mainBundle] pathForResource:@"ca-certs" ofType:@"pem"]; 30 | if (filePath) 31 | caFile = [filePath UTF8String]; 32 | if(caFile) 33 | test_all_ldap(caFile); 34 | 35 | [pool release]; 36 | 37 | return YES; 38 | 39 | } 40 | 41 | 42 | - (void)dealloc { 43 | [window release]; 44 | [super dealloc]; 45 | } 46 | 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapTest.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ldap.h 3 | * ldapsearch 4 | * 5 | * Created by David Syzdek on 11/2/10. 6 | * Copyright 2010 David M. Syzdek. All rights reserved. 7 | * 8 | */ 9 | #include 10 | 11 | #define MY_LDAP_VERSION LDAP_VERSION3 12 | #define MY_LDAP_URI "ldap://ldaptest.bindlebinaries.com/" 13 | #define MY_LDAP_BINDDN "uid=test,ou=People,o=bindlebinaries.com,o=test" 14 | #define MY_LDAP_BINDPW "drowssap" 15 | #define MY_LDAP_BASEDN "o=test" 16 | #define MY_LDAP_FILTER "(o=*)" 17 | #define MY_LDAP_SCOPE LDAP_SCOPE_SUB 18 | 19 | #define MY_SASL_AUTHUSER "test" 20 | #define MY_SASL_REALM NULL 21 | #define MY_SASL_PASSWD MY_LDAP_BINDPW 22 | #define MY_SASL_MECH "DIGEST-MD5" 23 | 24 | typedef struct my_ldap_auth MyLDAPAuth; 25 | struct my_ldap_auth 26 | { 27 | char * mech; 28 | char * authuser; 29 | char * user; 30 | char * realm; 31 | char * passwd; 32 | }; 33 | 34 | void test_all_ldap(const char * caFile); 35 | 36 | void test_simple_ldap(int version, const char * ldapURI, const char * bindDN, 37 | const char * bindPW, const char * baseDN, const char * filter, int scope, 38 | const char * caFile); 39 | 40 | void test_sasl_ldap(int version, const char * ldapURI, const char * user, 41 | const char * realm, const char * pass, const char * mech, 42 | const char * baseDN, const char * filter, int scope, const char * caFile); 43 | 44 | int ldap_sasl_interact(LDAP *ld, unsigned flags, void *defaults, 45 | void *sasl_interact); 46 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapTestMain.m: -------------------------------------------------------------------------------- 1 | /* compile and run: 2 | * gcc -framework Foundation ldapTest.m ldapTestMain.m -lldap -llber 3 | * ./a.out 4 | */ 5 | 6 | #include 7 | #include 8 | #include 9 | #include "ldapTest.h" 10 | 11 | int main(int argc, char * argv[]); 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | int i; 16 | test_all_ldap(NULL); 17 | for(i = 1; i < argc; i++) 18 | test_all_ldap(argv[i]); 19 | return(0); 20 | } 21 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapsearch-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:rfc1034identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | NSMainNibFile 28 | MainWindow_Phone 29 | NSMainNibFile~ipad 30 | MainWindow_Pad 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapsearch.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapsearch.xcodeproj/xcshareddata/xcschemes/iOSPorts Example: ldapsearch.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /examples/database/openldap/ldapsearch/ldapsearch_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ldapsearch' target in the 'ldapsearch' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #endif 9 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/Classes/pcreTestAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // pcreTestAppDelegate.h 3 | // pcreTest 4 | // 5 | // Created by David Syzdek on 10/28/10. 6 | // Copyright 2010 David M. Syzdek. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface pcreTestAppDelegate : NSObject { 12 | UIWindow *window; 13 | } 14 | 15 | @property (nonatomic, retain) IBOutlet UIWindow *window; 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/Classes/pcreTestAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // pcreTestAppDelegate.m 3 | // pcreTest 4 | // 5 | // Created by David Syzdek on 10/28/10. 6 | // Copyright 2010 David M. Syzdek. All rights reserved. 7 | // 8 | 9 | #import "pcreTestAppDelegate.h" 10 | 11 | #include 12 | #include 13 | 14 | @implementation pcreTestAppDelegate 15 | 16 | @synthesize window; 17 | 18 | 19 | #pragma mark - 20 | #pragma mark Application lifecycle 21 | 22 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 23 | int i; 24 | int rc; 25 | int subject_length; 26 | int substring_length; 27 | int erroffset; 28 | int ovector[1024]; 29 | pcre * re; 30 | const char * error; 31 | char subject[1024]; 32 | char * substring_start; 33 | 34 | // Override point for customization after application launch. 35 | 36 | [window makeKeyAndVisible]; 37 | 38 | NSLog(@"Testing pcre..."); 39 | 40 | NSLog(@" compiling pattern..."); 41 | re = pcre_compile("((([\\w]|[\\w][\\w\\-]*[\\w])\\.)*([\\w]|[\\w][\\w\\-]*[\\w]))", 0, &error, &erroffset, NULL); 42 | if (re == NULL) 43 | { 44 | NSLog(@"PCRE compilation failed at offset %d: %s\n", erroffset, error); 45 | return YES; 46 | }; 47 | 48 | NSLog(@" testing pattern..."); 49 | strncpy(subject, "git.scm.bindlebinaries.com ", 1024); 50 | subject_length = strlen(subject); 51 | rc = pcre_exec(re, NULL, subject, subject_length, 0, 0, ovector, 1024); 52 | if (rc < 0) 53 | { 54 | switch(rc) 55 | { 56 | case PCRE_ERROR_NOMATCH: NSLog(@"No match\n"); break; 57 | default: NSLog(@"Matching error %d\n", rc); break; 58 | }; 59 | pcre_free(re); /* Release memory used for the compiled pattern */ 60 | return YES; 61 | }; 62 | 63 | NSLog(@"Match succeeded at offset %d", ovector[0]); 64 | 65 | if (rc == 0) 66 | { 67 | rc = 1024/3; 68 | NSLog(@"ovector only has room for %d captured substrings\n", rc - 1); 69 | }; 70 | 71 | NSLog(@"Matches:"); 72 | for (i = 0; i < rc; i++) 73 | { 74 | substring_start = subject + ovector[2*i]; 75 | substring_length = ovector[2*i+1] - ovector[2*i]; 76 | NSLog(@" %2d: %.*s\n", i, substring_length, substring_start); 77 | }; 78 | 79 | return YES; 80 | } 81 | 82 | 83 | - (void)applicationWillResignActive:(UIApplication *)application { 84 | /* 85 | Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 86 | Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 87 | */ 88 | } 89 | 90 | 91 | - (void)applicationDidEnterBackground:(UIApplication *)application { 92 | /* 93 | Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 94 | If your application supports background execution, called instead of applicationWillTerminate: when the user quits. 95 | */ 96 | } 97 | 98 | 99 | - (void)applicationWillEnterForeground:(UIApplication *)application { 100 | /* 101 | Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background. 102 | */ 103 | } 104 | 105 | 106 | - (void)applicationDidBecomeActive:(UIApplication *)application { 107 | /* 108 | Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 109 | */ 110 | } 111 | 112 | 113 | - (void)applicationWillTerminate:(UIApplication *)application { 114 | /* 115 | Called when the application is about to terminate. 116 | See also applicationDidEnterBackground:. 117 | */ 118 | } 119 | 120 | 121 | #pragma mark - 122 | #pragma mark Memory management 123 | 124 | - (void)applicationDidReceiveMemoryWarning:(UIApplication *)application { 125 | /* 126 | Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later. 127 | */ 128 | } 129 | 130 | 131 | - (void)dealloc { 132 | [window release]; 133 | [super dealloc]; 134 | } 135 | 136 | 137 | @end 138 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/MainWindow.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 800 5 | 10D540 6 | 760 7 | 1038.29 8 | 460.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 81 12 | 13 | 14 | YES 15 | 16 | 17 | 18 | YES 19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 20 | 21 | 22 | YES 23 | 24 | YES 25 | 26 | 27 | YES 28 | 29 | 30 | 31 | YES 32 | 33 | IBFilesOwner 34 | IBCocoaTouchFramework 35 | 36 | 37 | IBFirstResponder 38 | IBCocoaTouchFramework 39 | 40 | 41 | IBCocoaTouchFramework 42 | 43 | 44 | 45 | 1316 46 | 47 | {320, 480} 48 | 49 | 50 | 1 51 | MSAxIDEAA 52 | 53 | NO 54 | NO 55 | 56 | IBCocoaTouchFramework 57 | YES 58 | 59 | 60 | 61 | 62 | YES 63 | 64 | 65 | delegate 66 | 67 | 68 | 69 | 4 70 | 71 | 72 | 73 | window 74 | 75 | 76 | 77 | 5 78 | 79 | 80 | 81 | 82 | YES 83 | 84 | 0 85 | 86 | 87 | 88 | 89 | 90 | 2 91 | 92 | 93 | YES 94 | 95 | 96 | 97 | 98 | -1 99 | 100 | 101 | File's Owner 102 | 103 | 104 | 3 105 | 106 | 107 | 108 | 109 | -2 110 | 111 | 112 | 113 | 114 | 115 | 116 | YES 117 | 118 | YES 119 | -1.CustomClassName 120 | -2.CustomClassName 121 | 2.IBAttributePlaceholdersKey 122 | 2.IBEditorWindowLastContentRect 123 | 2.IBPluginDependency 124 | 3.CustomClassName 125 | 3.IBPluginDependency 126 | 127 | 128 | YES 129 | UIApplication 130 | UIResponder 131 | 132 | YES 133 | 134 | 135 | YES 136 | 137 | 138 | {{198, 376}, {320, 480}} 139 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 140 | pcreTestAppDelegate 141 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 142 | 143 | 144 | 145 | YES 146 | 147 | 148 | YES 149 | 150 | 151 | 152 | 153 | YES 154 | 155 | 156 | YES 157 | 158 | 159 | 160 | 9 161 | 162 | 163 | 164 | YES 165 | 166 | pcreTestAppDelegate 167 | NSObject 168 | 169 | window 170 | UIWindow 171 | 172 | 173 | IBProjectSource 174 | Classes/pcreTestAppDelegate.h 175 | 176 | 177 | 178 | pcreTestAppDelegate 179 | NSObject 180 | 181 | IBUserSource 182 | 183 | 184 | 185 | 186 | 187 | 0 188 | IBCocoaTouchFramework 189 | 190 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 191 | 192 | 193 | YES 194 | pcreTest.xcodeproj 195 | 3 196 | 81 197 | 198 | 199 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // pcreTest 4 | // 5 | // Created by David Syzdek on 10/28/10. 6 | // Copyright 2010 David M. Syzdek. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) { 12 | 13 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 14 | int retVal = UIApplicationMain(argc, argv, nil, nil); 15 | [pool release]; 16 | return retVal; 17 | } 18 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/pcreTest-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:rfc1034identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | NSMainNibFile 28 | MainWindow 29 | 30 | 31 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/pcreTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/pcreTest.xcodeproj/xcshareddata/xcschemes/iOSPorts Example: pcreTest.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /examples/devel/pcre/pcreTest/pcreTest_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'pcreTest' target in the 'pcreTest' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #endif 9 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 16 | 17 | 19 | 20 | 23 | 26 | 28 | 29 | 30 | 33 | 35 | 36 | 37 | 40 | 42 | 43 | 44 | 47 | 49 | 50 | 52 | 53 | 54 | 55 | 58 | 61 | 64 | 66 | 67 | 68 | 69 | 72 | 75 | 77 | 78 | 79 | 80 | 81 | 84 | 86 | 87 | 89 | 90 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Demo: database/openldap/ldapsearch.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Demo: devel/pcre/pcreTest.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: database/openldap/Makefile-openldap.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: database/openldap/lber.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: database/openldap/ldap.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: devel/pcre/Makefile-pcre.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: devel/pcre/pcre.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: ports/iOSPorts.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 44 | 45 | 46 | 47 | 55 | 56 | 58 | 59 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: ports/iOSPorts/Makefile-iOSPorts.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: ports/iOSPorts/iOSPorts.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: security/cyrus-sasl/Makefile-cyrus-sasl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: security/cyrus-sasl/sasl2.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: security/openssl/Makefile-openssl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: security/openssl/crypto.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /iOSPorts.xcworkspace/xcshareddata/xcschemes/Port: security/openssl/ssl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /include/.gitignore: -------------------------------------------------------------------------------- 1 | /* 2 | -------------------------------------------------------------------------------- /ports/database/openldap/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.pbxuser 3 | .DS_Store 4 | /build/ 5 | /include/ 6 | /openldap 7 | /openldap-*/ 8 | /openldap-*.tgz 9 | /openldap-*.tgz.md5 10 | -------------------------------------------------------------------------------- /ports/database/openldap/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading OpenLDAP 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = OpenLDAP 40 | PACKAGE_TARNAME = openldap 41 | PACKAGE_VERSION = 2.4.33 42 | PACKAGE_DIR = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 43 | PACKAGE_FILEEXE = tgz 44 | PACKAGE_FILE = $(PACKAGE_DIR).$(PACKAGE_FILEEXE) 45 | PACKAGE_MD5 = $(PACKAGE_FILE).md5 46 | PACKAGE_URL = ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/$(PACKAGE_FILE) 47 | PACKAGE_WEBSITE = http://www.openldap.org/ 48 | PACKAGE_LICENSE_FILE = build-aux/LICENSE 49 | 50 | SRCROOTDIR = ../../.. 51 | include $(SRCROOTDIR)/build-aux/Makefile-package 52 | 53 | INCLUDES = ../../../include/ldap.h \ 54 | ../../../include/ldap_cdefs.h \ 55 | ../../../include/ldap_features.h \ 56 | ../../../include/ldap_schema.h \ 57 | ../../../include/ldap_utf8.h \ 58 | ../../../include/lber.h \ 59 | ../../../include/lber_types.h 60 | 61 | CUSTFILES = openldap/include/lber_types.h \ 62 | openldap/include/ldap_config.h \ 63 | openldap/include/ldap_features.h \ 64 | openldap/include/portable.h \ 65 | openldap/libraries/liblber/version.c \ 66 | openldap/libraries/libldap/version.c \ 67 | openldap/libraries/libldap_r/version.c \ 68 | openldap/libraries/liblunicode/version.c \ 69 | openldap/libraries/liblutil/version.c \ 70 | openldap/libraries/librewrite/version.c 71 | 72 | $(CUSTFILES): $(PACKAGE_TARNAME) 73 | cp build-aux/${@} ${@} 74 | 75 | $(INCLUDES): $(CUSTFILES) 76 | @mkdir -p ../../../include 77 | cp openldap/include/`basename ${@}` ../../../include/ 78 | 79 | extra-prep: $(INCLUDES) 80 | 81 | clean-local: 82 | /bin/rm -Rf $(INCLUDES) 83 | 84 | distclean-local: 85 | 86 | # end of Makefile 87 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | The OpenLDAP Public License 3 | Version 2.8, 17 August 2003 4 | 5 | Redistribution and use of this software and associated documentation ("Software"), with or without modification, are permitted provided that the following conditions are met: 6 | 7 | 1. Redistributions in source form must retain copyright statements and notices, 8 | 9 | 2. Redistributions in binary form must reproduce applicable copyright statements and notices, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution, and 10 | 11 | 3. Redistributions must contain a verbatim copy of this document. 12 | 13 | The OpenLDAP Foundation may revise this license from time to time. Each revision is distinguished by a version number. You may use this Software under terms of this license revision or under the terms of any subsequent revision of the license. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS CONTRIBUTORS ``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 OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S) OR OWNER(S) OF THE SOFTWARE 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. 16 | 17 | The names of the authors and copyright holders must not be used in advertising or otherwise to promote the sale, use or other dealing in this Software without specific, written prior permission. Title to copyright in this Software shall at all times remain with copyright holders. 18 | 19 | OpenLDAP is a registered trademark of the OpenLDAP Foundation. 20 | 21 | Copyright 1999-2003 The OpenLDAP Foundation, Redwood City, California, USA. All Rights Reserved. Permission to copy and distribute verbatim copies of this document is granted. 22 | 23 | 24 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:${PATH} \ 4 | 5 | BASEDIR=$(cd ../../../../; pwd) 6 | LDIR="${BASEDIR}/lib" 7 | IDIR="${BASEDIR}/include" 8 | 9 | ./configure --host=arm-apple-darwin10 \ 10 | CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2" \ 11 | CFLAGS="-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -I${IDIR}" \ 12 | LDFLAGS="-L${LDIR} -lssl -lcrypto -lsasl2" \ 13 | --prefix=/tmp/iOSPorts --enable-static --disable-shared --disable-syslog \ 14 | --disable-proctitle --disable-local --disable-slapd --with-yielding-select \ 15 | --without-threads \ 16 | $@ || exit $? 17 | 18 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap-2.4.33.tgz.md5: -------------------------------------------------------------------------------- 1 | MD5 (openldap-2.4.33.tgz) = 5adae44897647c15ce5abbff313bc85a 2 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/include/lber_types.h: -------------------------------------------------------------------------------- 1 | /* include/lber_types.h. Generated from lber_types.hin by configure. */ 2 | /* $OpenLDAP: pkg/ldap/include/lber_types.hin,v 1.3.2.5 2010/04/13 20:22:47 kurt Exp $ */ 3 | /* This work is part of OpenLDAP Software . 4 | * 5 | * Copyright 1998-2010 The OpenLDAP Foundation. 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted only as authorized by the OpenLDAP 10 | * Public License. 11 | * 12 | * A copy of this license is available in file LICENSE in the 13 | * top-level directory of the distribution or, alternatively, at 14 | * . 15 | */ 16 | 17 | /* 18 | * LBER types 19 | */ 20 | 21 | #ifndef _LBER_TYPES_H 22 | #define _LBER_TYPES_H 23 | 24 | #include 25 | 26 | LDAP_BEGIN_DECL 27 | 28 | /* LBER boolean, enum, integers (32 bits or larger) */ 29 | #define LBER_INT_T int 30 | 31 | /* LBER tags (32 bits or larger) */ 32 | #define LBER_TAG_T long 33 | 34 | /* LBER socket descriptor */ 35 | #define LBER_SOCKET_T int 36 | 37 | /* LBER lengths (32 bits or larger) */ 38 | #define LBER_LEN_T long 39 | 40 | /* ------------------------------------------------------------ */ 41 | 42 | /* booleans, enumerations, and integers */ 43 | typedef LBER_INT_T ber_int_t; 44 | 45 | /* signed and unsigned versions */ 46 | typedef signed LBER_INT_T ber_sint_t; 47 | typedef unsigned LBER_INT_T ber_uint_t; 48 | 49 | /* tags */ 50 | typedef unsigned LBER_TAG_T ber_tag_t; 51 | 52 | /* "socket" descriptors */ 53 | typedef LBER_SOCKET_T ber_socket_t; 54 | 55 | /* lengths */ 56 | typedef unsigned LBER_LEN_T ber_len_t; 57 | 58 | /* signed lengths */ 59 | typedef signed LBER_LEN_T ber_slen_t; 60 | 61 | LDAP_END_DECL 62 | 63 | #endif /* _LBER_TYPES_H */ 64 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/include/ldap_config.h: -------------------------------------------------------------------------------- 1 | /* Generated from ../../include/ldap_config.hin on Tue Jun 22 09:27:20 AKDT 2010 */ 2 | /* $OpenLDAP: pkg/ldap/include/ldap_config.hin,v 1.3.2.5 2010/04/13 20:22:48 kurt Exp $ */ 3 | /* This work is part of OpenLDAP Software . 4 | * 5 | * Copyright 1998-2010 The OpenLDAP Foundation. 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted only as authorized by the OpenLDAP 10 | * Public License. 11 | * 12 | * A copy of this license is available in file LICENSE in the 13 | * top-level directory of the distribution or, alternatively, at 14 | * . 15 | */ 16 | 17 | /* 18 | * This file works in confunction with OpenLDAP configure system. 19 | * If you do no like the values below, adjust your configure options. 20 | */ 21 | 22 | #ifndef _LDAP_CONFIG_H 23 | #define _LDAP_CONFIG_H 24 | 25 | /* directory separator */ 26 | #ifndef LDAP_DIRSEP 27 | #ifndef _WIN32 28 | #define LDAP_DIRSEP "/" 29 | #else 30 | #define LDAP_DIRSEP "\\" 31 | #endif 32 | #endif 33 | 34 | /* directory for temporary files */ 35 | #if defined(_WIN32) 36 | # define LDAP_TMPDIR "C:\\." /* we don't have much of a choice */ 37 | #elif defined( _P_tmpdir ) 38 | # define LDAP_TMPDIR _P_tmpdir 39 | #elif defined( P_tmpdir ) 40 | # define LDAP_TMPDIR P_tmpdir 41 | #elif defined( _PATH_TMPDIR ) 42 | # define LDAP_TMPDIR _PATH_TMPDIR 43 | #else 44 | # define LDAP_TMPDIR LDAP_DIRSEP "tmp" 45 | #endif 46 | 47 | /* directories */ 48 | #ifndef LDAP_BINDIR 49 | #define LDAP_BINDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/bin" 50 | #endif 51 | #ifndef LDAP_SBINDIR 52 | #define LDAP_SBINDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/sbin" 53 | #endif 54 | #ifndef LDAP_DATADIR 55 | #define LDAP_DATADIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/share/openldap" 56 | #endif 57 | #ifndef LDAP_SYSCONFDIR 58 | #define LDAP_SYSCONFDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/etc/openldap" 59 | #endif 60 | #ifndef LDAP_LIBEXECDIR 61 | #define LDAP_LIBEXECDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/libexec" 62 | #endif 63 | #ifndef LDAP_MODULEDIR 64 | #define LDAP_MODULEDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/libexec/openldap" 65 | #endif 66 | #ifndef LDAP_RUNDIR 67 | #define LDAP_RUNDIR "/Users/syzdek/development/com.bindlebinaries/Branches/iOpenLDAP/build/iOpenLDAP.build/Debug-iphonesimulator/Download.build/product/var" 68 | #endif 69 | #ifndef LDAP_LOCALEDIR 70 | #define LDAP_LOCALEDIR "" 71 | #endif 72 | 73 | 74 | #endif /* _LDAP_CONFIG_H */ 75 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/include/ldap_features.h: -------------------------------------------------------------------------------- 1 | /* include/ldap_features.h. Generated from ldap_features.hin by configure. */ 2 | /* $OpenLDAP: pkg/ldap/include/ldap_features.hin,v 1.3.2.5 2010/04/13 20:22:48 kurt Exp $ */ 3 | /* This work is part of OpenLDAP Software . 4 | * 5 | * Copyright 1998-2010 The OpenLDAP Foundation. 6 | * All rights reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted only as authorized by the OpenLDAP 10 | * Public License. 11 | * 12 | * A copy of this license is available in file LICENSE in the 13 | * top-level directory of the distribution or, alternatively, at 14 | * . 15 | */ 16 | 17 | /* 18 | * LDAP Features 19 | */ 20 | 21 | #ifndef _LDAP_FEATURES_H 22 | #define _LDAP_FEATURES_H 1 23 | 24 | /* OpenLDAP API version macros */ 25 | #define LDAP_VENDOR_VERSION 20422 26 | #define LDAP_VENDOR_VERSION_MAJOR 2 27 | #define LDAP_VENDOR_VERSION_MINOR 4 28 | #define LDAP_VENDOR_VERSION_PATCH 22 29 | 30 | /* 31 | ** WORK IN PROGRESS! 32 | ** 33 | ** OpenLDAP reentrancy/thread-safeness should be dynamically 34 | ** checked using ldap_get_option(). 35 | ** 36 | ** The -lldap implementation is not thread-safe. 37 | ** 38 | ** The -lldap_r implementation is: 39 | ** LDAP_API_FEATURE_THREAD_SAFE (basic thread safety) 40 | ** but also be: 41 | ** LDAP_API_FEATURE_SESSION_THREAD_SAFE 42 | ** LDAP_API_FEATURE_OPERATION_THREAD_SAFE 43 | ** 44 | ** The preprocessor flag LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 45 | ** can be used to determine if -lldap_r is available at compile 46 | ** time. You must define LDAP_THREAD_SAFE if and only if you 47 | ** link with -lldap_r. 48 | ** 49 | ** If you fail to define LDAP_THREAD_SAFE when linking with 50 | ** -lldap_r or define LDAP_THREAD_SAFE when linking with -lldap, 51 | ** provided header definations and declarations may be incorrect. 52 | ** 53 | */ 54 | 55 | /* is -lldap_r available or not */ 56 | /* #undef LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE */ 57 | 58 | /* LDAP v2 Referrals */ 59 | /* #undef LDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS */ 60 | 61 | #endif /* LDAP_FEATURES */ 62 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/liblber/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: liblber.la 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/liblber\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/libldap/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: libldap.la 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/libldap\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/libldap_r/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: libldap_r.la 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/libldap_r\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/liblunicode/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: liblunicode.a 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/liblunicode\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/liblutil/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: liblutil.a 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/liblutil\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/build-aux/openldap/libraries/librewrite/version.c: -------------------------------------------------------------------------------- 1 | /* This work is part of OpenLDAP Software . 2 | * 3 | * Copyright 1998-2010 The OpenLDAP Foundation. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted only as authorized by the OpenLDAP 8 | * Public License. 9 | * 10 | * A copy of this license is available in the file LICENSE in the 11 | * top-level directory of the distribution or, alternatively, at 12 | * . 13 | */ 14 | 15 | static const char copyright[] = 16 | "Copyright 1998-2010 The OpenLDAP Foundation. All rights reserved.\n" 17 | "COPYING RESTRICTIONS APPLY\n"; 18 | 19 | static const char __Version[] = 20 | "@(#) $OpenLDAP: librewrite.a 2.4.22 (" __DATE__ " " __TIME__ ") $\n" 21 | "\tsyzdek@blackenhawk.local:/Users/syzdek/development/com.bindlebinaries/iOSPorts/ports/database/openldap/openldap-2.4.22/libraries/librewrite\n"; 22 | 23 | -------------------------------------------------------------------------------- /ports/database/openldap/openldap.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ports/database/openldap/openldap.xcodeproj/xcshareddata/xcschemes/OpenLDAP: Makefile-openldap.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/database/openldap/openldap.xcodeproj/xcshareddata/xcschemes/OpenLDAP: lber.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/database/openldap/openldap.xcodeproj/xcshareddata/xcschemes/OpenLDAP: ldap.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/devel/pcre/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /pcre 3 | /pcre-*/ 4 | /pcre-*.tar.bz2 5 | /pcre-*.tar.bz2.md5 6 | /include/ 7 | -------------------------------------------------------------------------------- /ports/devel/pcre/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading of package files 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = PCRE 40 | PACKAGE_TARNAME = pcre 41 | PACKAGE_VERSION = 8.31 42 | PACKAGE_DIR = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 43 | PACKAGE_FILEEXE = tar.bz2 44 | PACKAGE_FILE = $(PACKAGE_DIR).$(PACKAGE_FILEEXE) 45 | PACKAGE_MD5 = $(PACKAGE_FILE).md5 46 | PACKAGE_URL = http://superb-sea2.dl.sourceforge.net/project/pcre/pcre/$(PACKAGE_VERSION)/$(PACKAGE_FILE) 47 | PACKAGE_WEBSITE = http://www.pcre.org/ 48 | PACKAGE_LICENSE_FILE = build-aux/LICENCE 49 | 50 | SRCROOTDIR = ../../.. 51 | include $(SRCROOTDIR)/build-aux/Makefile-package 52 | 53 | PKGHEADERS = pcre/config.h 54 | 55 | OTHERFILES = pcre/pcre_chartables.c pcre/pcre.h 56 | 57 | INCLUDES = ../../../include/pcre.h 58 | 59 | $(PKGHEADERS): $(PACKAGE_TARNAME) 60 | FILE="build-aux/`basename ${@}`"; cp $${FILE} ${@}; 61 | 62 | pcre/pcre.h: $(PACKAGE_TARNAME) pcre/pcre.h.generic 63 | cp pcre/pcre.h.generic pcre/pcre.h 64 | 65 | ../../../include/pcre.h: pcre/pcre.h 66 | mkdir -p ../../../include 67 | cp pcre/pcre.h ../../../include/pcre.h 68 | 69 | pcre/pcre_chartables.c: $(PACKAGE_TARNAME) pcre/pcre_chartables.c.dist 70 | cp pcre/pcre_chartables.c.dist pcre/pcre_chartables.c 71 | 72 | extra-prep: $(PKGHEADERS) $(OTHERFILES) $(INCLUDES) 73 | 74 | clean-local: 75 | /bin/rm -Rf include 76 | /bin/rm -Rf $(INCLUDES) 77 | 78 | distclean-local: 79 | /bin/rm -Rf build 80 | 81 | # end of Makefile 82 | -------------------------------------------------------------------------------- /ports/devel/pcre/build-aux/LICENCE: -------------------------------------------------------------------------------- 1 | 2 | PCRE LICENCE 3 | ------------ 4 | 5 | PCRE is a library of functions to support regular expressions whose syntax and semantics are as close as possible to those of the Perl 5 language. 6 | 7 | Release 8 of PCRE is distributed under the terms of the "BSD" licence, as specified below. The documentation for PCRE, supplied in the "doc" directory, is distributed under the same terms as the software itself. 8 | 9 | The basic library functions are written in C and are freestanding. Also included in the distribution is a set of C++ wrapper functions. 10 | 11 | 12 | THE BASIC LIBRARY FUNCTIONS 13 | --------------------------- 14 | 15 | Written by: Philip Hazel 16 | Email local part: ph10 17 | Email domain: cam.ac.uk 18 | 19 | University of Cambridge Computing Service, 20 | Cambridge, England. 21 | 22 | Copyright (c) 1997-2010 University of Cambridge 23 | All rights reserved. 24 | 25 | 26 | THE C++ WRAPPER FUNCTIONS 27 | ------------------------- 28 | 29 | Contributed by: Google Inc. 30 | 31 | Copyright (c) 2007-2010, Google Inc. 32 | All rights reserved. 33 | 34 | 35 | THE "BSD" LICENCE 36 | ----------------- 37 | 38 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 39 | 40 | * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 41 | 42 | * 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. 43 | 44 | * Neither the name of the University of Cambridge nor the name of Google Inc. nor the names of their contributors may be used to endorse or promote products derived from this software without specific prior written permission. 45 | 46 | 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. 47 | 48 | End 49 | 50 | -------------------------------------------------------------------------------- /ports/devel/pcre/build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:${PATH} 4 | 5 | ./configure --host=arm-apple-darwin10 \ 6 | CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2" \ 7 | CFLAGS="-arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk" \ 8 | --prefix=/tmp/iosports --enable-static --disable-shared \ 9 | --disable-cpp --enable-utf8 --enable-unicode-properties \ 10 | --enable-newline-is-lf --disable-pcregrep-libz \ 11 | --disable-pcregrep-libbz2 --disable-pcretest-libreadline \ 12 | $@ || exit $? 13 | 14 | -------------------------------------------------------------------------------- /ports/devel/pcre/build-aux/pcre-8.31.tar.bz2.md5: -------------------------------------------------------------------------------- 1 | MD5 (pcre-8.31.tar.bz2) = 1c9a276af932b5599157f96e945391f0 2 | -------------------------------------------------------------------------------- /ports/devel/pcre/pcre.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ports/iOSPorts/COPYING: -------------------------------------------------------------------------------- 1 | 2 | iOS Ports Library 3 | 4 | Copyright (c) 2012, Bindle Binaries 5 | All rights reserved. 6 | 7 | @BINDLE_BINARIES_BSD_LICENSE_START@ 8 | 9 | Redistribution and use in source and binary forms, with or without 10 | modification, are permitted provided that the following conditions are 11 | met: 12 | 13 | * Redistributions of source code must retain the above copyright 14 | notice, this list of conditions and the following disclaimer. 15 | * Redistributions in binary form must reproduce the above copyright 16 | notice, this list of conditions and the following disclaimer in the 17 | documentation and/or other materials provided with the distribution. 18 | * Neither the name of Bindle Binaries nor the 19 | names of its contributors may be used to endorse or promote products 20 | derived from this software without specific prior written permission. 21 | 22 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 23 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 24 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 25 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 26 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 | SUCH DAMAGE. 33 | 34 | @BINDLE_BINARIES_BSD_LICENSE_END@ 35 | 36 | 37 | -------------------------------------------------------------------------------- /ports/iOSPorts/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading OpenLDAP 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = iOS Ports 40 | PACKAGE_TARNAME = iosports 41 | PACKAGE_VERSION = $(shell git describe --long --abbrev=7 HEAD 2> /dev/null |sed -e 's/^v//g' -e 's/-/./g') 42 | PACKAGE_WEBSITE = https://github.com/bindle/iOSPorts 43 | PACKAGE_LICENSE_FILE = ../../LICENSE 44 | 45 | SRCROOTDIR = ../.. 46 | include $(SRCROOTDIR)/build-aux/Makefile-package 47 | 48 | # end of Makefile 49 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/.gitignore: -------------------------------------------------------------------------------- 1 | /iOSPortsPackageData.h 2 | /iOSPortsPackageList.h 3 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/iOSPorts.h: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file include/iOSPorts.h defines the library interface 37 | */ 38 | 39 | /////////////// 40 | // // 41 | // Headers // 42 | // // 43 | /////////////// 44 | 45 | #import 46 | 47 | 48 | /* end of header */ 49 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/iOSPortsPackage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file ports/iOSPorts/classes/iOSPortsPackage.h interface to PKGDATA 37 | */ 38 | 39 | /////////////// 40 | // // 41 | // Headers // 42 | // // 43 | /////////////// 44 | #pragma mark - Headers 45 | 46 | #import 47 | #import 48 | 49 | 50 | ///////////////// 51 | // // 52 | // Datatypes // 53 | // // 54 | ///////////////// 55 | #pragma mark - Datatypes 56 | 57 | typedef struct iosports_pkg_data iOSPortsPKGData; 58 | struct iosports_pkg_data 59 | { 60 | const char * pkg_id; 61 | const char * pkg_name; 62 | const char * pkg_version; 63 | const char * pkg_website; 64 | const char pkg_license[]; 65 | }; 66 | 67 | 68 | typedef struct iosports_pkg_list_data iOSPortsPKGListData; 69 | struct iosports_pkg_list_data 70 | { 71 | const char * name; 72 | const iOSPortsPKGData * data; 73 | }; 74 | 75 | 76 | ////////////////// 77 | // // 78 | // Prototypes // 79 | // // 80 | ////////////////// 81 | #pragma mark - Prototypes 82 | 83 | // Looks up a package based up the packages ID 84 | const iOSPortsPKGData * iOSPorts_find_pkg_by_id(const char * pkg_id); 85 | 86 | // array of package information 87 | extern iOSPortsPKGListData iOSPortsPKGList[]; 88 | 89 | 90 | /////////////////////// 91 | // // 92 | // iOSPortsPackage // 93 | // // 94 | /////////////////////// 95 | #pragma mark - 96 | @interface iOSPortsPackage : NSObject 97 | { 98 | NSString * identifier; 99 | NSString * name; 100 | NSString * version; 101 | NSString * website; 102 | NSString * license; 103 | } 104 | 105 | @property(nonatomic, retain) NSString * identifier; 106 | @property(nonatomic, retain) NSString * name; 107 | @property(nonatomic, retain) NSString * version; 108 | @property(nonatomic, retain) NSString * website; 109 | @property(nonatomic, retain) NSString * license; 110 | 111 | // Object Management Methods 112 | - (BOOL) setToIdentifier:(NSString *)anIdentifier; 113 | - (iOSPortsPackage *) initWithIdentifier:(NSString *)anIdentifier; 114 | 115 | // package querying methods 116 | + (iOSPortsPackage *) iOSPortsPackageWithIdentifier:(NSString *)anIdentifier; 117 | + (const iOSPortsPKGData *) registeredPackage:(NSString *)anIdentifier; 118 | - (const iOSPortsPKGData *) registeredPackage:(NSString *)anIdentifier; 119 | @end 120 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/iOSPortsPackage.m: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file ports/iOSPorts/classes/iOSPortsPackage.m interface to PKGDATA 37 | */ 38 | #import "iOSPortsPackage.h" 39 | 40 | 41 | #import 42 | #import 43 | #import 44 | 45 | 46 | #pragma mark - C Functions 47 | 48 | // Looks up a package based up the packages ID 49 | const iOSPortsPKGData * iOSPorts_find_pkg_by_id(const char * pkg_id) 50 | { 51 | char * lookupID; 52 | size_t pos; 53 | unsigned u; 54 | 55 | if (!(lookupID = strdup(pkg_id))) 56 | return(NULL); 57 | 58 | for(u = 0; u < strlen(lookupID); u++) 59 | { 60 | if ( ((lookupID[u] < 'A') || (lookupID[u] > 'Z')) && 61 | ((lookupID[u] < 'a') || (lookupID[u] > 'z')) && 62 | ((lookupID[u] < '0') || (lookupID[u] > '9')) ) 63 | lookupID[u] = '_'; 64 | }; 65 | 66 | for(pos = 0; iOSPortsPKGList[pos].name; pos++) 67 | { 68 | if (!(strcasecmp(lookupID, iOSPortsPKGList[pos].name))) 69 | { 70 | free(lookupID); 71 | return(iOSPortsPKGList[pos].data); 72 | }; 73 | }; 74 | 75 | free(lookupID); 76 | 77 | return(NULL); 78 | } 79 | 80 | 81 | #pragma mark - 82 | @implementation iOSPortsPackage 83 | 84 | @synthesize identifier; 85 | @synthesize name; 86 | @synthesize version; 87 | @synthesize website; 88 | @synthesize license; 89 | 90 | #pragma mark - Object Management Methods 91 | 92 | - (void)dealloc 93 | { 94 | self.identifier = nil; 95 | self.name = nil; 96 | self.version = nil; 97 | self.website = nil; 98 | self.license = nil; 99 | 100 | [super dealloc]; 101 | 102 | return; 103 | } 104 | 105 | 106 | - (iOSPortsPackage *) initWithIdentifier:(NSString *)anIdentifier 107 | { 108 | if (!(self = [super init])) 109 | return(self); 110 | 111 | [self setToIdentifier:anIdentifier]; 112 | 113 | return(self); 114 | } 115 | 116 | 117 | + (iOSPortsPackage *) iOSPortsPackageWithIdentifier:(NSString *)anIdentifier 118 | { 119 | iOSPortsPackage * portpkg; 120 | portpkg = [[iOSPortsPackage alloc] initWithIdentifier:anIdentifier]; 121 | return([portpkg autorelease]); 122 | } 123 | 124 | 125 | #pragma mark - package querying methods 126 | 127 | - (BOOL) setToIdentifier:(NSString *)anIdentifier 128 | { 129 | NSAutoreleasePool * pool; 130 | const iOSPortsPKGData * datap; 131 | 132 | self.identifier = anIdentifier; 133 | self.name = nil; 134 | self.version = nil; 135 | self.website = nil; 136 | self.license = nil; 137 | 138 | if (!(datap = [self registeredPackage:anIdentifier])) 139 | return(YES); 140 | 141 | pool = [[NSAutoreleasePool alloc] init]; 142 | 143 | self.identifier = datap->pkg_id ? [NSString stringWithUTF8String:datap->pkg_id] : nil; 144 | self.name = datap->pkg_name ? [NSString stringWithUTF8String:datap->pkg_name] : nil; 145 | self.version = datap->pkg_version ? [NSString stringWithUTF8String:datap->pkg_version] : nil; 146 | self.website = datap->pkg_website ? [NSString stringWithUTF8String:datap->pkg_website] : nil; 147 | self.license = datap->pkg_license[0] ? [NSString stringWithUTF8String:datap->pkg_license] : nil; 148 | 149 | [pool release]; 150 | 151 | return(NO); 152 | } 153 | 154 | 155 | + (const iOSPortsPKGData *) registeredPackage:(NSString *)anIdentifier 156 | { 157 | NSAutoreleasePool * pool; 158 | const iOSPortsPKGData * datap; 159 | 160 | pool = [[NSAutoreleasePool alloc] init]; 161 | datap = iOSPorts_find_pkg_by_id([anIdentifier UTF8String]); 162 | [pool release]; 163 | 164 | return(datap); 165 | } 166 | 167 | 168 | - (const iOSPortsPKGData *) registeredPackage:(NSString *)anIdentifier 169 | { 170 | return([iOSPortsPackage registeredPackage:anIdentifier]); 171 | } 172 | 173 | 174 | @end 175 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/iOSPortsPackageData.m: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file ports/iOSPorts/classes/iOSPortsPackageData.m interface to PKGDATA 37 | */ 38 | #import 39 | #import "iOSPortsPackageData.h" 40 | #import "iOSPortsPackageList.h" 41 | 42 | -------------------------------------------------------------------------------- /ports/iOSPorts/iOSPorts/iOSPortsViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file ports/iOSPorts/classes/iOSPortsViewController.h controls navigation of Package info 37 | */ 38 | 39 | #import 40 | #import 41 | 42 | 43 | @interface iOSPortsViewController : UITableViewController 44 | { 45 | CGRect viewFrame; 46 | NSMutableArray * packagesList; 47 | } 48 | 49 | #pragma mark - 50 | #pragma mark Properties 51 | 52 | @property(nonatomic, assign) CGRect viewFrame; 53 | 54 | 55 | #pragma mark - 56 | #pragma mark Package Management 57 | 58 | - (BOOL) initializePackages; 59 | - (BOOL) addPackage:(iOSPortsPackage *)portpkg; 60 | - (BOOL) addPackageWithIdentifier:(NSString *)name; 61 | - (iOSPortsPackage *) findPackageWithIdentifier:(NSString *)name; 62 | - (void) removePackageWithIdentifier:(NSString *)name; 63 | 64 | @end 65 | -------------------------------------------------------------------------------- /ports/iOSPorts/other/iOSPorts-pkginfo.m: -------------------------------------------------------------------------------- 1 | /* 2 | * iOS Ports Library 3 | * Copyright (c) 2012 Bindle Binaries 4 | * All rights reserved. 5 | * 6 | * @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions are 10 | * met: 11 | * 12 | * * Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * * Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in the 16 | * documentation and/or other materials provided with the distribution. 17 | * * Neither the name of Bindle Binaries nor the 18 | * names of its contributors may be used to endorse or promote products 19 | * derived from this software without specific prior written permission. 20 | * 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | * SUCH DAMAGE. 32 | * 33 | * @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | */ 35 | /** 36 | * @file ports/iOSPorts/other/iOSPorts-pkginfo.m displays package information 37 | */ 38 | /* 39 | * Simple Build: 40 | * gcc -W -Wall -O2 -c iOSPorts-pkginfo.m 41 | * gcc -W -Wall -O2 -o iOSPorts-pkginfo iOSPorts-pkginfo.o 42 | * 43 | * GNU Libtool Build: 44 | * libtool --mode=compile gcc -W -Wall -g -O2 -c iOSPorts-pkginfo.m 45 | * libtool --mode=link gcc -W -Wall -g -O2 -o iOSPorts-pkginfo iOSPorts-pkginfo.lo 46 | * 47 | * GNU Libtool Install: 48 | * libtool --mode=install install -c iOSPorts-pkginfo /usr/local/bin/iOSPorts-pkginfo 49 | * 50 | * GNU Libtool Clean: 51 | * libtool --mode=clean rm -f iOSPorts-pkginfo.lo iOSPorts-pkginfo 52 | */ 53 | #define _IOSPORTS_SRC_IOSPORTS_PKGINFO_M 1 54 | 55 | /////////////// 56 | // // 57 | // Headers // 58 | // // 59 | /////////////// 60 | 61 | #import 62 | #import 63 | #import 64 | #import 65 | 66 | #define _IOSPORTS_CLI_TOOL 1 67 | #import 68 | 69 | 70 | /////////////////// 71 | // // 72 | // Definitions // 73 | // // 74 | /////////////////// 75 | 76 | #ifndef PROGRAM_NAME 77 | #define PROGRAM_NAME "iOSPorts-pkginfo" 78 | #endif 79 | #ifndef PACKAGE_BUGREPORT 80 | #define PACKAGE_BUGREPORT "development@bindlebinaries.com" 81 | #endif 82 | #ifndef PACKAGE_COPYRIGHT 83 | #define PACKAGE_COPYRIGHT "Copyright (c) 2010, Bindle Binaries" 84 | #endif 85 | #ifndef PACKAGE_NAME 86 | #define PACKAGE_NAME "iOS Ports Library" 87 | #endif 88 | #ifndef PACKAGE_VERSION 89 | #define PACKAGE_VERSION "0.1" 90 | #endif 91 | 92 | 93 | ////////////// 94 | // // 95 | // Macros // 96 | // // 97 | ////////////// 98 | 99 | /* 100 | * The macro "PARAMS" is taken verbatim from section 7.1 of the 101 | * Libtool 1.5.14 manual. 102 | */ 103 | /* PARAMS is a macro used to wrap function prototypes, so that 104 | compilers that don't understand ANSI C prototypes still work, 105 | and ANSI C compilers can issue warnings about type mismatches. */ 106 | #undef PARAMS 107 | #if defined (__STDC__) || defined (_AIX) \ 108 | || (defined (__mips) && defined (_SYSTYPE_SVR4)) \ 109 | || defined(WIN32) || defined (__cplusplus) 110 | # define PARAMS(protos) protos 111 | #else 112 | # define PARAMS(protos) () 113 | #endif 114 | 115 | 116 | ////////////////// 117 | // // 118 | // Prototypes // 119 | // // 120 | ////////////////// 121 | 122 | // displays usage 123 | void iosports_usage PARAMS((void)); 124 | 125 | // displays version information 126 | void iosports_version PARAMS((void)); 127 | 128 | // main statement 129 | int main PARAMS((int argc, char * argv[])); 130 | 131 | 132 | ///////////////// 133 | // // 134 | // Functions // 135 | // // 136 | ///////////////// 137 | 138 | /// displays usage 139 | void iosports_usage(void) 140 | { 141 | printf(("Usage: %s [OPTIONS] \n" 142 | " -h, --help print this help and exit\n" 143 | " -V, --version print version number and exit\n" 144 | "\n" 145 | "Report bugs to <%s>.\n" 146 | ), PROGRAM_NAME, PACKAGE_BUGREPORT 147 | ); 148 | return; 149 | } 150 | 151 | 152 | /// displays version information 153 | void iosports_version(void) 154 | { 155 | printf(("%s (%s) %s\n" 156 | "Written by David M. Syzdek.\n" 157 | "\n" 158 | "%s\n" 159 | "This is free software; see the source for copying conditions. There is NO\n" 160 | "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" 161 | ), PROGRAM_NAME, PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_COPYRIGHT 162 | ); 163 | return; 164 | } 165 | 166 | 167 | /// main statement 168 | /// @param[in] argc number of arguments passed to program 169 | /// @param[in] argv array of arguments passed to program 170 | int main(int argc, char * argv[]) 171 | { 172 | int c; 173 | int opt_index; 174 | const iOSPortsPKGData * datap; 175 | 176 | static char short_opt[] = "hV"; 177 | static struct option long_opt[] = 178 | { 179 | {"help", no_argument, 0, 'h'}, 180 | {"version", no_argument, 0, 'V'}, 181 | {NULL, 0, 0, 0 } 182 | }; 183 | 184 | while((c = getopt_long(argc, argv, short_opt, long_opt, &opt_index)) != -1) 185 | { 186 | switch(c) 187 | { 188 | case -1: // no more arguments 189 | case 0: // long options toggles 190 | break; 191 | case 'h': 192 | iosports_usage(); 193 | return(0); 194 | case 'V': 195 | iosports_version(); 196 | return(0); 197 | case '?': 198 | fprintf(stderr, ("Try `%s --help' for more information.\n"), PROGRAM_NAME); 199 | return(1); 200 | default: 201 | fprintf(stderr, ("%s: unrecognized option `--%c'\n" 202 | "Try `%s --help' for more information.\n" 203 | ), PROGRAM_NAME, c, PROGRAM_NAME 204 | ); 205 | return(1); 206 | }; 207 | }; 208 | 209 | if ((optind+1) != argc) 210 | { 211 | fprintf(stderr, "%s: missing required arguments\n", PROGRAM_NAME); 212 | fprintf(stderr, "Try `%s --help' for more information.\n", PROGRAM_NAME); 213 | return(1); 214 | }; 215 | 216 | if (!(datap = iOSPorts_find_pkg_by_id(argv[1]))) 217 | { 218 | fprintf(stderr, "%s: %s: package not found\n", argv[0], argv[1]); 219 | return(1); 220 | }; 221 | 222 | printf("Identifier: %s\n", datap->pkg_id ? datap->pkg_id : "unknown"); 223 | printf("Name: %s\n", datap->pkg_name ? datap->pkg_name : "unknown"); 224 | printf("Version: %s\n", datap->pkg_version ? datap->pkg_version : "unknown"); 225 | printf("Website: %s\n", datap->pkg_website ? datap->pkg_website : "unknown"); 226 | if (strlen(datap->pkg_license) > 0) 227 | printf("License:\n%s\n", datap->pkg_license); 228 | 229 | return(0); 230 | } 231 | 232 | /* end of source file */ 233 | -------------------------------------------------------------------------------- /ports/iOSPorts/other/iOSPorts_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'CocoaTouchStaticLibrary' target in the 'CocoaTouchStaticLibrary' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /cyrus-sasl 3 | /cyrus-sasl-*/ 4 | /cyrus-sasl-*.tar.gz 5 | /cyrus-sasl-*.tar.gz.md5 6 | /include/ 7 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/Cyrus SASL.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/Cyrus SASL.xcodeproj/xcshareddata/xcschemes/Cyrus-SASL: Makefile-cyrus-sasl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/Cyrus SASL.xcodeproj/xcshareddata/xcschemes/Cyrus-SASL: sasl2.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading of package files 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = Cyrus SASL 40 | PACKAGE_TARNAME = cyrus-sasl 41 | PACKAGE_VERSION = 2.1.25 42 | PACKAGE_DIR = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 43 | PACKAGE_FILEEXE = tar.gz 44 | PACKAGE_FILE = $(PACKAGE_DIR).$(PACKAGE_FILEEXE) 45 | PACKAGE_MD5 = $(PACKAGE_FILE).md5 46 | PACKAGE_URL = http://ftp.andrew.cmu.edu/pub/cyrus-mail/$(PACKAGE_FILE) 47 | PACKAGE_WEBSITE = http://asg.web.cmu.edu/sasl/ 48 | PACKAGE_LICENSE_FILE = build-aux/COPYING 49 | 50 | SRCROOTDIR = ../../.. 51 | include $(SRCROOTDIR)/build-aux/Makefile-package 52 | 53 | HEADERPREFIX = ../../../include/sasl 54 | HEADERTIMESTAMP = $(HEADERPREFIX)/.timestamp 55 | INSTALLHEADERS = $(HEADERPREFIX)/hmac-md5.h \ 56 | $(HEADERPREFIX)/md5.h \ 57 | $(HEADERPREFIX)/md5global.h \ 58 | $(HEADERPREFIX)/sasl.h \ 59 | $(HEADERPREFIX)/saslplug.h \ 60 | $(HEADERPREFIX)/saslutil.h \ 61 | $(HEADERPREFIX)/prop.h 62 | 63 | $(HEADERTIMESTAMP): $(PACKAGE_TARNAME) 64 | mkdir -p `dirname ${@}` 65 | touch ${@} 66 | 67 | $(HEADERPREFIX)/hmac-md5.h: $(HEADERTIMESTAMP) 68 | cp cyrus-sasl/include/hmac-md5.h ${@}; 69 | 70 | $(HEADERPREFIX)/md5.h: $(HEADERTIMESTAMP) 71 | cp cyrus-sasl/include/md5.h ${@}; 72 | 73 | $(HEADERPREFIX)/md5global.h: $(HEADERTIMESTAMP) 74 | cp cyrus-sasl/include/md5global.h ${@}; 75 | 76 | $(HEADERPREFIX)/sasl.h: $(HEADERTIMESTAMP) 77 | cp cyrus-sasl/include/sasl.h ${@}; 78 | 79 | $(HEADERPREFIX)/saslplug.h: $(HEADERTIMESTAMP) 80 | cp cyrus-sasl/include/saslplug.h ${@}; 81 | 82 | $(HEADERPREFIX)/saslutil.h: $(HEADERTIMESTAMP) 83 | cp cyrus-sasl/include/saslutil.h ${@}; 84 | 85 | $(HEADERPREFIX)/prop.h: $(HEADERTIMESTAMP) 86 | cp cyrus-sasl/include/prop.h ${@}; 87 | 88 | cyrus-sasl/config.h: $(PACKAGE_TARNAME) 89 | cp build-aux/config.h cyrus-sasl/ 90 | 91 | extra-prep: cyrus-sasl/config.h $(INSTALLHEADERS) 92 | 93 | clean-local: 94 | /bin/rm -Rf ../../../include/sasl 95 | 96 | distclean-local: 97 | /bin/rm -Rf build 98 | 99 | # end of Makefile 100 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/build-aux/COPYING: -------------------------------------------------------------------------------- 1 | 2 | CMU libsasl 3 | Tim Martin 4 | Rob Earhart 5 | Rob Siemborski 6 | 7 | Copyright (c) 1998-2003 Carnegie Mellon University. All rights reserved. 8 | 9 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 10 | 11 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 12 | 13 | 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. 14 | 15 | 3. The name "Carnegie Mellon University" must not be used to endorse or promote products derived from this software without prior written permission. For permission or any other legal details, please contact 16 | Office of Technology Transfer 17 | Carnegie Mellon University 18 | 5000 Forbes Avenue 19 | Pittsburgh, PA 15213-3890 20 | (412) 268-4387, fax: (412) 268-7395 21 | tech-transfer@andrew.cmu.edu 22 | 23 | 4. Redistributions of any form whatsoever must retain the following acknowledgment: 24 | "This product includes software 25 | developed by Computing Services 26 | at Carnegie Mellon University 27 | (http://www.cmu.edu/computing/)." 28 | 29 | CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE FOR ANY SPECIAL, 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. 30 | 31 | 32 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PATH=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:${PATH} 4 | 5 | ./configure --host=arm-apple-darwin10 \ 6 | CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2" \ 7 | CFLAGS="-arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk" \ 8 | --prefix=/tmp/iosports --enable-static --disable-shared \ 9 | --with-openssl=../../../../ --disable-java --disable-gssapi \ 10 | $@ || exit $? 11 | 12 | 13 | gcc -o include/makemd5 include/makemd5.c || exit $? 14 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/build-aux/cyrus-sasl-2.1.25.tar.gz.md5: -------------------------------------------------------------------------------- 1 | MD5 (cyrus-sasl-2.1.25.tar.gz) = 341cffe829a4d71f2a6503d669d5a946 2 | -------------------------------------------------------------------------------- /ports/security/cyrus-sasl/sasl2_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'CocoaTouchStaticLibrary' target in the 'CocoaTouchStaticLibrary' project. 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /ports/security/openssl/.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /include/ 3 | /openssl 4 | /openssl-*/ 5 | /openssl-*.tar.gz 6 | /openssl-*.tar.gz.md5 7 | -------------------------------------------------------------------------------- /ports/security/openssl/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading of package files 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = OpenSSL SSL/TLS Toolkit 40 | PACKAGE_TARNAME = openssl 41 | PACKAGE_VERSION = 1.0.1c 42 | PACKAGE_DIR = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 43 | PACKAGE_FILEEXE = tar.gz 44 | PACKAGE_FILE = $(PACKAGE_DIR).$(PACKAGE_FILEEXE) 45 | PACKAGE_MD5 = $(PACKAGE_FILE).md5 46 | PACKAGE_URL = http://www.openssl.org/source/$(PACKAGE_FILE) 47 | PACKAGE_WEBSITE = http://www.openssl.org/ 48 | PACKAGE_LICENSE_FILE = build-aux/LICENSE 49 | 50 | SRCROOTDIR = ../../.. 51 | include $(SRCROOTDIR)/build-aux/Makefile-package 52 | 53 | PKGHEADERS = openssl/crypto/opensslconf.h 54 | 55 | $(PKGHEADERS): $(PACKAGE_TARNAME) 56 | FILE="build-aux/`basename ${@}`"; cp $${FILE} ${@}; 57 | 58 | openssl/patched_for_xcode: $(PKGHEADERS) 59 | patch -N -p0 -i build-aux/openssl-$(PACKAGE_VERSION).patch || exit 0 60 | touch openssl/patched_for_xcode 61 | 62 | ../../../include/openssl/opensslconf.h: $(PKGHEADERS) 63 | @mkdir -p ../../../include/openssl 64 | cp openssl/include/openssl/* ../../../include/openssl/ 65 | 66 | extra-prep: $(PKGHEADERS) ../../../include/openssl/opensslconf.h openssl/patched_for_xcode 67 | 68 | clean-local: 69 | /bin/rm -Rf ../../../include/openssl 70 | 71 | distclean-local: 72 | /bin/rm -Rf build 73 | 74 | # end of Makefile 75 | -------------------------------------------------------------------------------- /ports/security/openssl/README: -------------------------------------------------------------------------------- 1 | Used notes from: 2 | http://www.alexcurylo.com/blog/2009/09/23/iphone-openssl/ 3 | http://www.therareair.com/2009/01/01/tutorial-how-to-compile-openssl-for-the-iphone/ 4 | http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/ 5 | 6 | The libssl.a and libcrypto.a have not been thoroughly tested. Use at your 7 | own risk and liability. 8 | 9 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | 3 | LICENSE ISSUES 4 | ============== 5 | 6 | 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. 7 | 8 | OpenSSL License 9 | --------------- 10 | 11 | ==================================================================== 12 | Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved. 13 | 14 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 15 | 16 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 17 | 18 | 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. 19 | 20 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgment: 21 | "This product includes software developed 22 | by the OpenSSL Project for use in the OpenSSL 23 | Toolkit. (http://www.openssl.org/)" 24 | 25 | 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. 26 | 27 | 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. 28 | 29 | 6. Redistributions of any form whatsoever must retain the following acknowledgment: 30 | "This product includes software developed 31 | by the OpenSSL Project for use in the OpenSSL 32 | Toolkit (http://www.openssl.org/)" 33 | 34 | 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. 35 | 36 | ==================================================================== 37 | 38 | This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). This product includes software written by Tim Hudson (tjh@cryptsoft.com). 39 | 40 | 41 | Original SSLeay License 42 | ----------------------- 43 | 44 | Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 45 | All rights reserved. 46 | 47 | This package is an SSL implementation written 48 | by Eric Young (eay@cryptsoft.com). 49 | The implementation was written so as to conform with Netscapes SSL. 50 | 51 | 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). 52 | 53 | 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. 54 | 55 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 56 | 57 | 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 58 | 59 | 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. 60 | 61 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: 62 | "This product includes cryptographic 63 | software written by Eric Young 64 | (eay@cryptsoft.com)" 65 | The word 'cryptographic' can be left out if the rouines from the library being used are not cryptographic related :-). 66 | 67 | 4. If you include any Windows specific code (or a derivative thereof) from the apps directory (application code) you must include an acknowledgement: 68 | "This product includes software 69 | written by Tim Hudson (tjh@cryptsoft.com)" 70 | 71 | 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. 72 | 73 | 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.] 74 | 75 | 76 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/configure-wrapper.log: -------------------------------------------------------------------------------- 1 | Operating system: i686-apple-darwinDarwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 2 | WARNING! If you wish to build 64-bit library, then you have to 3 | invoke './Configure darwin64-x86_64-cc' *manually*. 4 | You have about 5 seconds to press Ctrl-C to abort. 5 | Configuring for darwin-i386-cc 6 | Configuring for darwin-i386-cc 7 | no-asm [option] OPENSSL_NO_ASM 8 | no-dso [option] 9 | no-gmp [default] OPENSSL_NO_GMP (skip dir) 10 | no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) 11 | no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 12 | no-md2 [default] OPENSSL_NO_MD2 (skip dir) 13 | no-rc5 [default] OPENSSL_NO_RC5 (skip dir) 14 | no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) 15 | no-shared [option] 16 | no-store [experimental] OPENSSL_NO_STORE (skip dir) 17 | no-threads [option] 18 | no-zlib [option] 19 | no-zlib-dynamic [default] 20 | IsMK1MF=0 21 | CC =cc 22 | CFLAG =-arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN 23 | EX_LIBS = 24 | CPUID_OBJ =mem_clr.o 25 | BN_ASM =bn_asm.o 26 | DES_ENC =des_enc.o fcrypt_b.o 27 | AES_ENC =aes_core.o aes_cbc.o 28 | BF_ENC =bf_enc.o 29 | CAST_ENC =c_enc.o 30 | RC4_ENC =rc4_enc.o rc4_skey.o 31 | RC5_ENC =rc5_enc.o 32 | MD5_OBJ_ASM = 33 | SHA1_OBJ_ASM = 34 | RMD160_OBJ_ASM= 35 | CMLL_ENC= =camellia.o cmll_misc.o cmll_cbc.o 36 | PROCESSOR = 37 | RANLIB =/usr/bin/ranlib 38 | ARFLAGS = 39 | PERL =/opt/local/bin/perl5 40 | THIRTY_TWO_BIT mode 41 | DES_UNROLL used 42 | BN_LLONG mode 43 | RC4_CHUNK is unsigned long 44 | BF_PTR used 45 | e_os2.h => include/openssl/e_os2.h 46 | making links in crypto... 47 | crypto.h => ../include/openssl/crypto.h 48 | opensslv.h => ../include/openssl/opensslv.h 49 | opensslconf.h => ../include/openssl/opensslconf.h 50 | ebcdic.h => ../include/openssl/ebcdic.h 51 | symhacks.h => ../include/openssl/symhacks.h 52 | ossl_typ.h => ../include/openssl/ossl_typ.h 53 | making links in crypto/objects... 54 | objects.h => ../../include/openssl/objects.h 55 | obj_mac.h => ../../include/openssl/obj_mac.h 56 | making links in crypto/md4... 57 | md4.h => ../../include/openssl/md4.h 58 | md4test.c => ../../test/md4test.c 59 | md4.c => ../../apps/md4.c 60 | making links in crypto/md5... 61 | md5.h => ../../include/openssl/md5.h 62 | md5test.c => ../../test/md5test.c 63 | making links in crypto/sha... 64 | sha.h => ../../include/openssl/sha.h 65 | shatest.c => ../../test/shatest.c 66 | sha1test.c => ../../test/sha1test.c 67 | sha256t.c => ../../test/sha256t.c 68 | sha512t.c => ../../test/sha512t.c 69 | making links in crypto/mdc2... 70 | mdc2.h => ../../include/openssl/mdc2.h 71 | mdc2test.c => ../../test/mdc2test.c 72 | making links in crypto/hmac... 73 | hmac.h => ../../include/openssl/hmac.h 74 | hmactest.c => ../../test/hmactest.c 75 | making links in crypto/ripemd... 76 | ripemd.h => ../../include/openssl/ripemd.h 77 | rmdtest.c => ../../test/rmdtest.c 78 | making links in crypto/whrlpool... 79 | whrlpool.h => ../../include/openssl/whrlpool.h 80 | wp_test.c => ../../test/wp_test.c 81 | making links in crypto/des... 82 | des.h => ../../include/openssl/des.h 83 | des_old.h => ../../include/openssl/des_old.h 84 | destest.c => ../../test/destest.c 85 | making links in crypto/aes... 86 | aes.h => ../../include/openssl/aes.h 87 | making links in crypto/rc2... 88 | rc2.h => ../../include/openssl/rc2.h 89 | rc2test.c => ../../test/rc2test.c 90 | making links in crypto/rc4... 91 | rc4.h => ../../include/openssl/rc4.h 92 | rc4test.c => ../../test/rc4test.c 93 | making links in crypto/idea... 94 | idea.h => ../../include/openssl/idea.h 95 | ideatest.c => ../../test/ideatest.c 96 | making links in crypto/bf... 97 | blowfish.h => ../../include/openssl/blowfish.h 98 | bftest.c => ../../test/bftest.c 99 | making links in crypto/cast... 100 | cast.h => ../../include/openssl/cast.h 101 | casttest.c => ../../test/casttest.c 102 | making links in crypto/camellia... 103 | camellia.h => ../../include/openssl/camellia.h 104 | making links in crypto/seed... 105 | seed.h => ../../include/openssl/seed.h 106 | making links in crypto/modes... 107 | modes.h => ../../include/openssl/modes.h 108 | making links in crypto/bn... 109 | bn.h => ../../include/openssl/bn.h 110 | bntest.c => ../../test/bntest.c 111 | exptest.c => ../../test/exptest.c 112 | making links in crypto/ec... 113 | ec.h => ../../include/openssl/ec.h 114 | ectest.c => ../../test/ectest.c 115 | making links in crypto/rsa... 116 | rsa.h => ../../include/openssl/rsa.h 117 | rsa_test.c => ../../test/rsa_test.c 118 | making links in crypto/dsa... 119 | dsa.h => ../../include/openssl/dsa.h 120 | dsatest.c => ../../test/dsatest.c 121 | making links in crypto/ecdsa... 122 | ecdsa.h => ../../include/openssl/ecdsa.h 123 | ecdsatest.c => ../../test/ecdsatest.c 124 | making links in crypto/dh... 125 | dh.h => ../../include/openssl/dh.h 126 | dhtest.c => ../../test/dhtest.c 127 | making links in crypto/ecdh... 128 | ecdh.h => ../../include/openssl/ecdh.h 129 | ecdhtest.c => ../../test/ecdhtest.c 130 | making links in crypto/dso... 131 | dso.h => ../../include/openssl/dso.h 132 | making links in crypto/engine... 133 | engine.h => ../../include/openssl/engine.h 134 | enginetest.c => ../../test/enginetest.c 135 | making links in crypto/buffer... 136 | buffer.h => ../../include/openssl/buffer.h 137 | making links in crypto/bio... 138 | bio.h => ../../include/openssl/bio.h 139 | making links in crypto/stack... 140 | stack.h => ../../include/openssl/stack.h 141 | safestack.h => ../../include/openssl/safestack.h 142 | making links in crypto/lhash... 143 | lhash.h => ../../include/openssl/lhash.h 144 | making links in crypto/rand... 145 | rand.h => ../../include/openssl/rand.h 146 | randtest.c => ../../test/randtest.c 147 | making links in crypto/err... 148 | err.h => ../../include/openssl/err.h 149 | making links in crypto/evp... 150 | evp.h => ../../include/openssl/evp.h 151 | evp_test.c => ../../test/evp_test.c 152 | cp evptests.txt ../../test 153 | making links in crypto/asn1... 154 | asn1.h => ../../include/openssl/asn1.h 155 | asn1_mac.h => ../../include/openssl/asn1_mac.h 156 | asn1t.h => ../../include/openssl/asn1t.h 157 | making links in crypto/pem... 158 | pem.h => ../../include/openssl/pem.h 159 | pem2.h => ../../include/openssl/pem2.h 160 | making links in crypto/x509... 161 | x509.h => ../../include/openssl/x509.h 162 | x509_vfy.h => ../../include/openssl/x509_vfy.h 163 | making links in crypto/x509v3... 164 | x509v3.h => ../../include/openssl/x509v3.h 165 | making links in crypto/conf... 166 | conf.h => ../../include/openssl/conf.h 167 | conf_api.h => ../../include/openssl/conf_api.h 168 | making links in crypto/txt_db... 169 | txt_db.h => ../../include/openssl/txt_db.h 170 | making links in crypto/pkcs7... 171 | pkcs7.h => ../../include/openssl/pkcs7.h 172 | making links in crypto/pkcs12... 173 | pkcs12.h => ../../include/openssl/pkcs12.h 174 | making links in crypto/comp... 175 | comp.h => ../../include/openssl/comp.h 176 | making links in crypto/ocsp... 177 | ocsp.h => ../../include/openssl/ocsp.h 178 | making links in crypto/ui... 179 | ui.h => ../../include/openssl/ui.h 180 | ui_compat.h => ../../include/openssl/ui_compat.h 181 | making links in crypto/krb5... 182 | krb5_asn.h => ../../include/openssl/krb5_asn.h 183 | making links in crypto/cms... 184 | cms.h => ../../include/openssl/cms.h 185 | making links in crypto/pqueue... 186 | pqueue.h => ../../include/openssl/pqueue.h 187 | making links in crypto/ts... 188 | ts.h => ../../include/openssl/ts.h 189 | making links in ssl... 190 | ssl.h => ../include/openssl/ssl.h 191 | ssl2.h => ../include/openssl/ssl2.h 192 | ssl3.h => ../include/openssl/ssl3.h 193 | ssl23.h => ../include/openssl/ssl23.h 194 | tls1.h => ../include/openssl/tls1.h 195 | dtls1.h => ../include/openssl/dtls1.h 196 | kssl.h => ../include/openssl/kssl.h 197 | ssltest.c => ../test/ssltest.c 198 | making links in engines... 199 | making links in engines/ccgost... 200 | make[2]: Nothing to be done for `links'. 201 | making links in apps... 202 | make[1]: Nothing to be done for `links'. 203 | making links in test... 204 | make[1]: Nothing to be done for `links'. 205 | making links in tools... 206 | make[1]: Nothing to be done for `links'. 207 | generating dummy tests (if needed)... 208 | make[1]: Nothing to be done for `generate'. 209 | 210 | Configured for darwin-i386-cc. 211 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./config --openssldir=/tmp/iOSPorts/ \ 4 | no-threads no-shared no-asm no-zlib no-dso no-krb5 \ 5 | $@ || exit $? 6 | 7 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/openssl-1.0.1c.patch: -------------------------------------------------------------------------------- 1 | *** openssl/crypto/ui/ui_openssl.c 2009-10-04 08:43:21.000000000 -0800 2 | --- openssl-1.0.0a-patched/crypto/ui/ui_openssl.c 2010-10-27 10:37:46.000000000 -0800 3 | *************** 4 | *** 261,266 **** 5 | --- 261,269 ---- 6 | #ifdef OPENSSL_SYS_SUNOS 7 | typedef int sig_atomic_t; 8 | #endif 9 | + #ifdef _ARM_SIGNAL_ 10 | + typedef int sig_atomic_t; 11 | + #endif 12 | 13 | #if defined(OPENSSL_SYS_MACINTOSH_CLASSIC) || defined(MAC_OS_GUSI_SOURCE) || defined(OPENSSL_SYS_NETWARE) 14 | /* 15 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/openssl-1.0.1c.tar.gz.md5: -------------------------------------------------------------------------------- 1 | MD5 (openssl-1.0.1c.tar.gz) = ae412727c8c15b67880aef7bd2999b2e 2 | -------------------------------------------------------------------------------- /ports/security/openssl/build-aux/opensslconf.h: -------------------------------------------------------------------------------- 1 | /* opensslconf.h */ 2 | /* WARNING: Generated automatically from opensslconf.h.in by Configure. */ 3 | 4 | /* OpenSSL was configured with the following options: */ 5 | #ifndef OPENSSL_SYSNAME_MACOSX 6 | # define OPENSSL_SYSNAME_MACOSX 7 | #endif 8 | #ifndef OPENSSL_DOING_MAKEDEPEND 9 | 10 | 11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 13 | #endif 14 | #ifndef OPENSSL_NO_GMP 15 | # define OPENSSL_NO_GMP 16 | #endif 17 | #ifndef OPENSSL_NO_JPAKE 18 | # define OPENSSL_NO_JPAKE 19 | #endif 20 | #ifndef OPENSSL_NO_KRB5 21 | # define OPENSSL_NO_KRB5 22 | #endif 23 | #ifndef OPENSSL_NO_MD2 24 | # define OPENSSL_NO_MD2 25 | #endif 26 | #ifndef OPENSSL_NO_RC5 27 | # define OPENSSL_NO_RC5 28 | #endif 29 | #ifndef OPENSSL_NO_RFC3779 30 | # define OPENSSL_NO_RFC3779 31 | #endif 32 | #ifndef OPENSSL_NO_SCTP 33 | # define OPENSSL_NO_SCTP 34 | #endif 35 | #ifndef OPENSSL_NO_STORE 36 | # define OPENSSL_NO_STORE 37 | #endif 38 | 39 | #endif /* OPENSSL_DOING_MAKEDEPEND */ 40 | 41 | #ifndef OPENSSL_NO_ASM 42 | # define OPENSSL_NO_ASM 43 | #endif 44 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE 45 | # define OPENSSL_NO_DYNAMIC_ENGINE 46 | #endif 47 | 48 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application 49 | asks for it. This is a transient feature that is provided for those 50 | who haven't had the time to do the appropriate changes in their 51 | applications. */ 52 | #ifdef OPENSSL_ALGORITHM_DEFINES 53 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) 54 | # define NO_EC_NISTP_64_GCC_128 55 | # endif 56 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) 57 | # define NO_GMP 58 | # endif 59 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) 60 | # define NO_JPAKE 61 | # endif 62 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) 63 | # define NO_KRB5 64 | # endif 65 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 66 | # define NO_MD2 67 | # endif 68 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 69 | # define NO_RC5 70 | # endif 71 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 72 | # define NO_RFC3779 73 | # endif 74 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) 75 | # define NO_SCTP 76 | # endif 77 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) 78 | # define NO_STORE 79 | # endif 80 | #endif 81 | 82 | /* crypto/opensslconf.h.in */ 83 | 84 | /* Generate 80386 code? */ 85 | #undef I386_ONLY 86 | 87 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ 88 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) 89 | #define ENGINESDIR "/tmp/iOSPorts/lib/engines" 90 | #define OPENSSLDIR "/tmp/iOSPorts" 91 | #endif 92 | #endif 93 | 94 | #undef OPENSSL_UNISTD 95 | #define OPENSSL_UNISTD 96 | 97 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION 98 | 99 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) 100 | #define IDEA_INT unsigned int 101 | #endif 102 | 103 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) 104 | #define MD2_INT unsigned int 105 | #endif 106 | 107 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) 108 | /* I need to put in a mod for the alpha - eay */ 109 | #define RC2_INT unsigned int 110 | #endif 111 | 112 | #if defined(HEADER_RC4_H) 113 | #if !defined(RC4_INT) 114 | /* using int types make the structure larger but make the code faster 115 | * on most boxes I have tested - up to %20 faster. */ 116 | /* 117 | * I don't know what does "most" mean, but declaring "int" is a must on: 118 | * - Intel P6 because partial register stalls are very expensive; 119 | * - elder Alpha because it lacks byte load/store instructions; 120 | */ 121 | #define RC4_INT unsigned int 122 | #endif 123 | #if !defined(RC4_CHUNK) 124 | /* 125 | * This enables code handling data aligned at natural CPU word 126 | * boundary. See crypto/rc4/rc4_enc.c for further details. 127 | */ 128 | #define RC4_CHUNK unsigned long 129 | #endif 130 | #endif 131 | 132 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) 133 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 134 | * %20 speed up (longs are 8 bytes, int's are 4). */ 135 | #ifndef DES_LONG 136 | #define DES_LONG unsigned long 137 | #endif 138 | #endif 139 | 140 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) 141 | #define CONFIG_HEADER_BN_H 142 | #define BN_LLONG 143 | 144 | /* Should we define BN_DIV2W here? */ 145 | 146 | /* Only one for the following should be defined */ 147 | #undef SIXTY_FOUR_BIT_LONG 148 | #undef SIXTY_FOUR_BIT 149 | #define THIRTY_TWO_BIT 150 | #endif 151 | 152 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) 153 | #define CONFIG_HEADER_RC4_LOCL_H 154 | /* if this is defined data[i] is used instead of *data, this is a %20 155 | * speedup on x86 */ 156 | #undef RC4_INDEX 157 | #endif 158 | 159 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) 160 | #define CONFIG_HEADER_BF_LOCL_H 161 | #define BF_PTR 162 | #endif /* HEADER_BF_LOCL_H */ 163 | 164 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) 165 | #define CONFIG_HEADER_DES_LOCL_H 166 | #ifndef DES_DEFAULT_OPTIONS 167 | /* the following is tweaked from a config script, that is why it is a 168 | * protected undef/define */ 169 | #ifndef DES_PTR 170 | #undef DES_PTR 171 | #endif 172 | 173 | /* This helps C compiler generate the correct code for multiple functional 174 | * units. It reduces register dependancies at the expense of 2 more 175 | * registers */ 176 | #ifndef DES_RISC1 177 | #undef DES_RISC1 178 | #endif 179 | 180 | #ifndef DES_RISC2 181 | #undef DES_RISC2 182 | #endif 183 | 184 | #if defined(DES_RISC1) && defined(DES_RISC2) 185 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! 186 | #endif 187 | 188 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. 189 | * Very mucy CPU dependant */ 190 | #ifndef DES_UNROLL 191 | #define DES_UNROLL 192 | #endif 193 | 194 | /* These default values were supplied by 195 | * Peter Gutman 196 | * They are only used if nothing else has been defined */ 197 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) 198 | /* Special defines which change the way the code is built depending on the 199 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find 200 | even newer MIPS CPU's, but at the moment one size fits all for 201 | optimization options. Older Sparc's work better with only UNROLL, but 202 | there's no way to tell at compile time what it is you're running on */ 203 | 204 | #if defined( sun ) /* Newer Sparc's */ 205 | # define DES_PTR 206 | # define DES_RISC1 207 | # define DES_UNROLL 208 | #elif defined( __ultrix ) /* Older MIPS */ 209 | # define DES_PTR 210 | # define DES_RISC2 211 | # define DES_UNROLL 212 | #elif defined( __osf1__ ) /* Alpha */ 213 | # define DES_PTR 214 | # define DES_RISC2 215 | #elif defined ( _AIX ) /* RS6000 */ 216 | /* Unknown */ 217 | #elif defined( __hpux ) /* HP-PA */ 218 | /* Unknown */ 219 | #elif defined( __aux ) /* 68K */ 220 | /* Unknown */ 221 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ 222 | # define DES_UNROLL 223 | #elif defined( __sgi ) /* Newer MIPS */ 224 | # define DES_PTR 225 | # define DES_RISC2 226 | # define DES_UNROLL 227 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ 228 | # define DES_PTR 229 | # define DES_RISC1 230 | # define DES_UNROLL 231 | #endif /* Systems-specific speed defines */ 232 | #endif 233 | 234 | #endif /* DES_DEFAULT_OPTIONS */ 235 | #endif /* HEADER_DES_LOCL_H */ 236 | -------------------------------------------------------------------------------- /ports/security/openssl/openssl.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ports/security/openssl/openssl.xcodeproj/xcshareddata/xcschemes/OpenSSL: Makefile-openssl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/security/openssl/openssl.xcodeproj/xcshareddata/xcschemes/OpenSSL: crypto.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/security/openssl/openssl.xcodeproj/xcshareddata/xcschemes/OpenSSL: ssl.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /ports/security/scrypt/.gitignore: -------------------------------------------------------------------------------- 1 | /scrypt 2 | /scrypt-1.1.6 3 | /scrypt-1.1.6.tgz 4 | /scrypt-1.1.6.tgz.md5 5 | -------------------------------------------------------------------------------- /ports/security/scrypt/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # iOS Ports Library 3 | # Copyright (C) 2010 Bindle Binaries 4 | # All rights reserved. 5 | # 6 | # @BINDLE_BINARIES_BSD_LICENSE_START@ 7 | # 8 | # Redistribution and use in source and binary forms, with or without 9 | # modification, are permitted provided that the following conditions are 10 | # met: 11 | # 12 | # * Redistributions of source code must retain the above copyright 13 | # notice, this list of conditions and the following disclaimer. 14 | # * Redistributions in binary form must reproduce the above copyright 15 | # notice, this list of conditions and the following disclaimer in the 16 | # documentation and/or other materials provided with the distribution. 17 | # * Neither the name of Bindle Binaries nor the 18 | # names of its contributors may be used to endorse or promote products 19 | # derived from this software without specific prior written permission. 20 | # 21 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 22 | # IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 23 | # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24 | # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR 25 | # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 27 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 28 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 | # SUCH DAMAGE. 32 | # 33 | # @BINDLE_BINARIES_BSD_LICENSE_END@ 34 | # 35 | # Makefile -- automate downloading of package files 36 | # 37 | 38 | # Package Information 39 | PACKAGE_NAME = scrypt key derivation library 40 | PACKAGE_TARNAME = scrypt 41 | PACKAGE_VERSION = 1.1.6 42 | PACKAGE_DIR = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) 43 | PACKAGE_FILEEXE = tgz 44 | PACKAGE_FILE = $(PACKAGE_DIR).$(PACKAGE_FILEEXE) 45 | PACKAGE_MD5 = $(PACKAGE_FILE).md5 46 | PACKAGE_URL = http://www.tarsnap.com/scrypt/$(PACKAGE_FILE) 47 | PACKAGE_WEBSITE = http://www.tarsnap.com/scrypt.html 48 | PACKAGE_LICENSE_FILE = build-aux/LICENSE 49 | 50 | SRCROOTDIR = ../../.. 51 | include $(SRCROOTDIR)/build-aux/Makefile-package 52 | 53 | PKGHEADERS = scrypt/config.h 54 | 55 | $(PKGHEADERS): $(PACKAGE_TARNAME) 56 | FILE="build-aux/`basename ${@}`"; cp $${FILE} ${@}; 57 | 58 | scrypt/patched_for_xcode: $(PKGHEADERS) 59 | patch -N -p0 -i build-aux/scrypt-1.1.6.patch || exit 0 60 | touch scrypt/patched_for_xcode 61 | 62 | ../../../include/scrypt/scryptenc.h: $(PKGHEADERS) 63 | @mkdir -p ../../../include/scrypt 64 | cp scrypt/lib/*/*.h ../../../include/scrypt/ 65 | 66 | extra-prep: scrypt/patched_for_xcode $(PKGHEADERS) ../../../include/scrypt/scryptenc.h 67 | 68 | clean-local: 69 | /bin/rm -Rf include 70 | /bin/rm -Rf ../../../include/scrypt 71 | 72 | distclean-local: 73 | /bin/rm -Rf build 74 | 75 | # end of Makefile 76 | -------------------------------------------------------------------------------- /ports/security/scrypt/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bindle/iOSPorts/f1ff7eac2ba8d59070492473f93fdabe97dc50a0/ports/security/scrypt/README -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | 3 | LICENSE ISSUES 4 | ============== 5 | 6 | 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. 7 | 8 | OpenSSL License 9 | --------------- 10 | 11 | ==================================================================== 12 | Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved. 13 | 14 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 15 | 16 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 17 | 18 | 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. 19 | 20 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgment: 21 | "This product includes software developed 22 | by the OpenSSL Project for use in the OpenSSL 23 | Toolkit. (http://www.openssl.org/)" 24 | 25 | 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. 26 | 27 | 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. 28 | 29 | 6. Redistributions of any form whatsoever must retain the following acknowledgment: 30 | "This product includes software developed 31 | by the OpenSSL Project for use in the OpenSSL 32 | Toolkit (http://www.openssl.org/)" 33 | 34 | 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. 35 | 36 | ==================================================================== 37 | 38 | This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). This product includes software written by Tim Hudson (tjh@cryptsoft.com). 39 | 40 | 41 | Original SSLeay License 42 | ----------------------- 43 | 44 | Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 45 | All rights reserved. 46 | 47 | This package is an SSL implementation written 48 | by Eric Young (eay@cryptsoft.com). 49 | The implementation was written so as to conform with Netscapes SSL. 50 | 51 | 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). 52 | 53 | 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. 54 | 55 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 56 | 57 | 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 58 | 59 | 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. 60 | 61 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: 62 | "This product includes cryptographic 63 | software written by Eric Young 64 | (eay@cryptsoft.com)" 65 | The word 'cryptographic' can be left out if the rouines from the library being used are not cryptographic related :-). 66 | 67 | 4. If you include any Windows specific code (or a derivative thereof) from the apps directory (application code) you must include an acknowledgement: 68 | "This product includes software 69 | written by Tim Hudson (tjh@cryptsoft.com)" 70 | 71 | 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. 72 | 73 | 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.] 74 | 75 | 76 | -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/config.h: -------------------------------------------------------------------------------- 1 | /* config.h. Generated from config.h.in by configure. */ 2 | /* config.h.in. Generated from configure.ac by autoheader. */ 3 | 4 | /* Define to 1 if you have the `clock_gettime' function. */ 5 | /* #undef HAVE_CLOCK_GETTIME */ 6 | 7 | /* Define to 1 if you have the declaration of `be64enc', and to 0 if you 8 | don't. */ 9 | #define HAVE_DECL_BE64ENC 0 10 | 11 | /* Define to 1 if you have the header file. */ 12 | #define HAVE_ERR_H 1 13 | 14 | /* Define to 1 if you have the header file. */ 15 | #define HAVE_INTTYPES_H 1 16 | 17 | /* Define to 1 if you have the `rt' library (-lrt). */ 18 | /* #undef HAVE_LIBRT */ 19 | 20 | /* Define to 1 if you have the header file. */ 21 | #define HAVE_MEMORY_H 1 22 | 23 | /* Define to 1 if you have the `posix_memalign' function. */ 24 | #define HAVE_POSIX_MEMALIGN 1 25 | 26 | /* Define to 1 if you have the header file. */ 27 | #define HAVE_STDINT_H 1 28 | 29 | /* Define to 1 if you have the header file. */ 30 | #define HAVE_STDLIB_H 1 31 | 32 | /* Define to 1 if you have the header file. */ 33 | #define HAVE_STRINGS_H 1 34 | 35 | /* Define to 1 if you have the header file. */ 36 | #define HAVE_STRING_H 1 37 | 38 | /* Define to 1 if the system has the type `struct sysinfo'. */ 39 | /* #undef HAVE_STRUCT_SYSINFO */ 40 | 41 | /* Define to 1 if `mem_unit' is member of `struct sysinfo'. */ 42 | /* #undef HAVE_STRUCT_SYSINFO_MEM_UNIT */ 43 | 44 | /* Define to 1 if `totalram' is member of `struct sysinfo'. */ 45 | /* #undef HAVE_STRUCT_SYSINFO_TOTALRAM */ 46 | 47 | /* Define to 1 if the OS has a hw.usermem sysctl */ 48 | #define HAVE_SYSCTL_HW_USERMEM 1 49 | 50 | /* Define to 1 if you have the `sysinfo' function. */ 51 | /* #undef HAVE_SYSINFO */ 52 | 53 | /* Define to 1 if you have the header file. */ 54 | /* #undef HAVE_SYS_ENDIAN_H */ 55 | 56 | /* Define to 1 if you have the header file. */ 57 | #define HAVE_SYS_PARAM_H 1 58 | 59 | /* Define to 1 if you have the header file. */ 60 | #define HAVE_SYS_STAT_H 1 61 | 62 | /* Define to 1 if you have the header file. */ 63 | /* #undef HAVE_SYS_SYSINFO_H */ 64 | 65 | /* Define to 1 if you have the header file. */ 66 | #define HAVE_SYS_TYPES_H 1 67 | 68 | /* Define to 1 if you have the header file. */ 69 | #define HAVE_UNISTD_H 1 70 | 71 | /* Name of package */ 72 | #define PACKAGE "scrypt" 73 | 74 | /* Define to the address where bug reports for this package should be sent. */ 75 | #define PACKAGE_BUGREPORT "" 76 | 77 | /* Define to the full name of this package. */ 78 | #define PACKAGE_NAME "scrypt" 79 | 80 | /* Define to the full name and version of this package. */ 81 | #define PACKAGE_STRING "scrypt 1.1.6" 82 | 83 | /* Define to the one symbol short name of this package. */ 84 | #define PACKAGE_TARNAME "scrypt" 85 | 86 | /* Define to the version of this package. */ 87 | #define PACKAGE_VERSION "1.1.6" 88 | 89 | /* Define to 1 if you have the ANSI C header files. */ 90 | #define STDC_HEADERS 1 91 | 92 | /* Version number of package */ 93 | #define VERSION "1.1.6" 94 | 95 | /* Number of bits in a file offset, on hosts where this is settable. */ 96 | /* #undef _FILE_OFFSET_BITS */ 97 | 98 | /* Define for large files, on AIX-style hosts. */ 99 | /* #undef _LARGE_FILES */ 100 | -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/configure-wrapper.log: -------------------------------------------------------------------------------- 1 | Operating system: i686-apple-darwinDarwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 2 | WARNING! If you wish to build 64-bit library, then you have to 3 | invoke './Configure darwin64-x86_64-cc' *manually*. 4 | You have about 5 seconds to press Ctrl-C to abort. 5 | Configuring for darwin-i386-cc 6 | Configuring for darwin-i386-cc 7 | no-asm [option] OPENSSL_NO_ASM 8 | no-dso [option] 9 | no-gmp [default] OPENSSL_NO_GMP (skip dir) 10 | no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir) 11 | no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5 12 | no-md2 [default] OPENSSL_NO_MD2 (skip dir) 13 | no-rc5 [default] OPENSSL_NO_RC5 (skip dir) 14 | no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir) 15 | no-shared [option] 16 | no-store [experimental] OPENSSL_NO_STORE (skip dir) 17 | no-threads [option] 18 | no-zlib [option] 19 | no-zlib-dynamic [default] 20 | IsMK1MF=0 21 | CC =cc 22 | CFLAG =-arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN 23 | EX_LIBS = 24 | CPUID_OBJ =mem_clr.o 25 | BN_ASM =bn_asm.o 26 | DES_ENC =des_enc.o fcrypt_b.o 27 | AES_ENC =aes_core.o aes_cbc.o 28 | BF_ENC =bf_enc.o 29 | CAST_ENC =c_enc.o 30 | RC4_ENC =rc4_enc.o rc4_skey.o 31 | RC5_ENC =rc5_enc.o 32 | MD5_OBJ_ASM = 33 | SHA1_OBJ_ASM = 34 | RMD160_OBJ_ASM= 35 | CMLL_ENC= =camellia.o cmll_misc.o cmll_cbc.o 36 | PROCESSOR = 37 | RANLIB =/usr/bin/ranlib 38 | ARFLAGS = 39 | PERL =/opt/local/bin/perl5 40 | THIRTY_TWO_BIT mode 41 | DES_UNROLL used 42 | BN_LLONG mode 43 | RC4_CHUNK is unsigned long 44 | BF_PTR used 45 | e_os2.h => include/openssl/e_os2.h 46 | making links in crypto... 47 | crypto.h => ../include/openssl/crypto.h 48 | opensslv.h => ../include/openssl/opensslv.h 49 | opensslconf.h => ../include/openssl/opensslconf.h 50 | ebcdic.h => ../include/openssl/ebcdic.h 51 | symhacks.h => ../include/openssl/symhacks.h 52 | ossl_typ.h => ../include/openssl/ossl_typ.h 53 | making links in crypto/objects... 54 | objects.h => ../../include/openssl/objects.h 55 | obj_mac.h => ../../include/openssl/obj_mac.h 56 | making links in crypto/md4... 57 | md4.h => ../../include/openssl/md4.h 58 | md4test.c => ../../test/md4test.c 59 | md4.c => ../../apps/md4.c 60 | making links in crypto/md5... 61 | md5.h => ../../include/openssl/md5.h 62 | md5test.c => ../../test/md5test.c 63 | making links in crypto/sha... 64 | sha.h => ../../include/openssl/sha.h 65 | shatest.c => ../../test/shatest.c 66 | sha1test.c => ../../test/sha1test.c 67 | sha256t.c => ../../test/sha256t.c 68 | sha512t.c => ../../test/sha512t.c 69 | making links in crypto/mdc2... 70 | mdc2.h => ../../include/openssl/mdc2.h 71 | mdc2test.c => ../../test/mdc2test.c 72 | making links in crypto/hmac... 73 | hmac.h => ../../include/openssl/hmac.h 74 | hmactest.c => ../../test/hmactest.c 75 | making links in crypto/ripemd... 76 | ripemd.h => ../../include/openssl/ripemd.h 77 | rmdtest.c => ../../test/rmdtest.c 78 | making links in crypto/whrlpool... 79 | whrlpool.h => ../../include/openssl/whrlpool.h 80 | wp_test.c => ../../test/wp_test.c 81 | making links in crypto/des... 82 | des.h => ../../include/openssl/des.h 83 | des_old.h => ../../include/openssl/des_old.h 84 | destest.c => ../../test/destest.c 85 | making links in crypto/aes... 86 | aes.h => ../../include/openssl/aes.h 87 | making links in crypto/rc2... 88 | rc2.h => ../../include/openssl/rc2.h 89 | rc2test.c => ../../test/rc2test.c 90 | making links in crypto/rc4... 91 | rc4.h => ../../include/openssl/rc4.h 92 | rc4test.c => ../../test/rc4test.c 93 | making links in crypto/idea... 94 | idea.h => ../../include/openssl/idea.h 95 | ideatest.c => ../../test/ideatest.c 96 | making links in crypto/bf... 97 | blowfish.h => ../../include/openssl/blowfish.h 98 | bftest.c => ../../test/bftest.c 99 | making links in crypto/cast... 100 | cast.h => ../../include/openssl/cast.h 101 | casttest.c => ../../test/casttest.c 102 | making links in crypto/camellia... 103 | camellia.h => ../../include/openssl/camellia.h 104 | making links in crypto/seed... 105 | seed.h => ../../include/openssl/seed.h 106 | making links in crypto/modes... 107 | modes.h => ../../include/openssl/modes.h 108 | making links in crypto/bn... 109 | bn.h => ../../include/openssl/bn.h 110 | bntest.c => ../../test/bntest.c 111 | exptest.c => ../../test/exptest.c 112 | making links in crypto/ec... 113 | ec.h => ../../include/openssl/ec.h 114 | ectest.c => ../../test/ectest.c 115 | making links in crypto/rsa... 116 | rsa.h => ../../include/openssl/rsa.h 117 | rsa_test.c => ../../test/rsa_test.c 118 | making links in crypto/dsa... 119 | dsa.h => ../../include/openssl/dsa.h 120 | dsatest.c => ../../test/dsatest.c 121 | making links in crypto/ecdsa... 122 | ecdsa.h => ../../include/openssl/ecdsa.h 123 | ecdsatest.c => ../../test/ecdsatest.c 124 | making links in crypto/dh... 125 | dh.h => ../../include/openssl/dh.h 126 | dhtest.c => ../../test/dhtest.c 127 | making links in crypto/ecdh... 128 | ecdh.h => ../../include/openssl/ecdh.h 129 | ecdhtest.c => ../../test/ecdhtest.c 130 | making links in crypto/dso... 131 | dso.h => ../../include/openssl/dso.h 132 | making links in crypto/engine... 133 | engine.h => ../../include/openssl/engine.h 134 | enginetest.c => ../../test/enginetest.c 135 | making links in crypto/buffer... 136 | buffer.h => ../../include/openssl/buffer.h 137 | making links in crypto/bio... 138 | bio.h => ../../include/openssl/bio.h 139 | making links in crypto/stack... 140 | stack.h => ../../include/openssl/stack.h 141 | safestack.h => ../../include/openssl/safestack.h 142 | making links in crypto/lhash... 143 | lhash.h => ../../include/openssl/lhash.h 144 | making links in crypto/rand... 145 | rand.h => ../../include/openssl/rand.h 146 | randtest.c => ../../test/randtest.c 147 | making links in crypto/err... 148 | err.h => ../../include/openssl/err.h 149 | making links in crypto/evp... 150 | evp.h => ../../include/openssl/evp.h 151 | evp_test.c => ../../test/evp_test.c 152 | cp evptests.txt ../../test 153 | making links in crypto/asn1... 154 | asn1.h => ../../include/openssl/asn1.h 155 | asn1_mac.h => ../../include/openssl/asn1_mac.h 156 | asn1t.h => ../../include/openssl/asn1t.h 157 | making links in crypto/pem... 158 | pem.h => ../../include/openssl/pem.h 159 | pem2.h => ../../include/openssl/pem2.h 160 | making links in crypto/x509... 161 | x509.h => ../../include/openssl/x509.h 162 | x509_vfy.h => ../../include/openssl/x509_vfy.h 163 | making links in crypto/x509v3... 164 | x509v3.h => ../../include/openssl/x509v3.h 165 | making links in crypto/conf... 166 | conf.h => ../../include/openssl/conf.h 167 | conf_api.h => ../../include/openssl/conf_api.h 168 | making links in crypto/txt_db... 169 | txt_db.h => ../../include/openssl/txt_db.h 170 | making links in crypto/pkcs7... 171 | pkcs7.h => ../../include/openssl/pkcs7.h 172 | making links in crypto/pkcs12... 173 | pkcs12.h => ../../include/openssl/pkcs12.h 174 | making links in crypto/comp... 175 | comp.h => ../../include/openssl/comp.h 176 | making links in crypto/ocsp... 177 | ocsp.h => ../../include/openssl/ocsp.h 178 | making links in crypto/ui... 179 | ui.h => ../../include/openssl/ui.h 180 | ui_compat.h => ../../include/openssl/ui_compat.h 181 | making links in crypto/krb5... 182 | krb5_asn.h => ../../include/openssl/krb5_asn.h 183 | making links in crypto/cms... 184 | cms.h => ../../include/openssl/cms.h 185 | making links in crypto/pqueue... 186 | pqueue.h => ../../include/openssl/pqueue.h 187 | making links in crypto/ts... 188 | ts.h => ../../include/openssl/ts.h 189 | making links in ssl... 190 | ssl.h => ../include/openssl/ssl.h 191 | ssl2.h => ../include/openssl/ssl2.h 192 | ssl3.h => ../include/openssl/ssl3.h 193 | ssl23.h => ../include/openssl/ssl23.h 194 | tls1.h => ../include/openssl/tls1.h 195 | dtls1.h => ../include/openssl/dtls1.h 196 | kssl.h => ../include/openssl/kssl.h 197 | ssltest.c => ../test/ssltest.c 198 | making links in engines... 199 | making links in engines/ccgost... 200 | make[2]: Nothing to be done for `links'. 201 | making links in apps... 202 | make[1]: Nothing to be done for `links'. 203 | making links in test... 204 | make[1]: Nothing to be done for `links'. 205 | making links in tools... 206 | make[1]: Nothing to be done for `links'. 207 | generating dummy tests (if needed)... 208 | make[1]: Nothing to be done for `generate'. 209 | 210 | Configured for darwin-i386-cc. 211 | -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/configure-wrapper.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ./configure \ 4 | "$@" 5 | 6 | -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/scrypt-1.1.6.patch: -------------------------------------------------------------------------------- 1 | --- scrypt/lib/scryptenc/scryptenc.h~ 2010-01-16 21:48:20.000000000 +0100 2 | +++ scrypt/lib/scryptenc/scryptenc.h 2012-02-10 17:23:18.000000000 +0100 3 | @@ -72,6 +72,9 @@ 4 | * 13 error reading input file 5 | */ 6 | 7 | +int pickparams(size_t, double, double, 8 | + int *, uint32_t *, uint32_t *); 9 | + 10 | /** 11 | * scryptenc_buf(inbuf, inbuflen, outbuf, passwd, passwdlen, 12 | * maxmem, maxmemfrac, maxtime): 13 | --- scrypt/lib/scryptenc/scryptenc.c~ 2010-01-16 21:48:20.000000000 +0100 14 | +++ scrypt/lib/scryptenc/scryptenc.c 2012-02-10 17:23:18.000000000 +0100 15 | @@ -48,12 +48,10 @@ 16 | 17 | #define ENCBLOCK 65536 18 | 19 | -static int pickparams(size_t, double, double, 20 | - int *, uint32_t *, uint32_t *); 21 | static int checkparams(size_t, double, double, int, uint32_t, uint32_t); 22 | static int getsalt(uint8_t[32]); 23 | 24 | -static int 25 | +int 26 | pickparams(size_t maxmem, double maxmemfrac, double maxtime, 27 | int * logN, uint32_t * r, uint32_t * p) 28 | { 29 | -------------------------------------------------------------------------------- /ports/security/scrypt/build-aux/scrypt-1.1.6.tgz.md5: -------------------------------------------------------------------------------- 1 | MD5 (scrypt-1.1.6.tgz) = a35523cd497f7283635ce881db39c2e2 2 | -------------------------------------------------------------------------------- /ports/security/scrypt/scrypt.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | --------------------------------------------------------------------------------