Browse Source

build for iOS

dvh-chacham15-master
DINH Viet Hoa 10 years ago
parent
commit
47966324a1
8 changed files with 687 additions and 13 deletions
  1. +9
    -0
      .gitignore
  2. BIN
      build-mac/dependencies/packages/cyrus-sasl-2.1.25.tar.gz
  3. +208
    -0
      build-mac/dependencies/prepare-cyrus-sasl.sh
  4. +441
    -0
      build-mac/libetpan.xcodeproj/project.pbxproj
  5. +6
    -0
      build-mac/prepare-ios.sh
  6. +15
    -13
      build-mac/update.sh
  7. +4
    -0
      src/data-types/mailstream_ssl.c
  8. +4
    -0
      src/data-types/mailstream_ssl.h

+ 9
- 0
.gitignore View File

@ -5,8 +5,13 @@
.deps
.libs
/build-mac/libetpan.xcodeproj/project.xcworkspace/
/build-mac/libetpan.xcodeproj/xcuserdata/
/build-mac/build
/build-mac/include
/build-mac/dependencies/build/
/build-mac/libsasl-ios/
/build-mac/update.log
/config.guess
/config.h.in
/config.sub
@ -114,3 +119,7 @@
/tests/readmsg-uid
/tests/smime
/tests/smtpsend
/tests/imap-sample
/tests/mime-create
/tests/mime-parse
/tests/pop-sample

BIN
build-mac/dependencies/packages/cyrus-sasl-2.1.25.tar.gz View File


+ 208
- 0
build-mac/dependencies/prepare-cyrus-sasl.sh View File

@ -0,0 +1,208 @@
#! /bin/bash -
version=2.1.25
ARCHIVE=cyrus-sasl-$version
ARCHIVE_NAME=$ARCHIVE.tar.gz
ARCHIVE_PATCH=$ARCHIVE.patch
url=ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$ARCHIVE_NAME
scriptdir="`pwd`"
current_dir="$scriptdir"
builddir="$current_dir/build/libsasl"
BUILD_TIMESTAMP=`date +'%Y%m%d%H%M%S'`
tempbuilddir="$builddir/workdir/$BUILD_TIMESTAMP"
mkdir -p "$tempbuilddir"
srcdir="$tempbuilddir/src"
logdir="$tempbuilddir/log"
resultdir="$builddir/builds"
tmpdir="$tempbuilddir/tmp"
mkdir -p "$resultdir"
mkdir -p "$logdir"
mkdir -p "$tmpdir"
mkdir -p "$srcdir"
if test -f "$resultdir/libsasl-$version-ios.tar.gz"; then
echo already built
cd "$scriptdir/.."
tar xzf "$resultdir/libsasl-$version-ios.tar.gz"
exit 0
fi
# download package file
if test -f "$current_dir/packages/$ARCHIVE_NAME" ; then
:
else
echo "download source package - $url"
mkdir -p "$current_dir/packages"
cd "$current_dir/packages"
curl -O "$url"
if test x$? != x0 ; then
echo fetch of $ARCHIVE_NAME failed
exit 1
fi
fi
if [ ! -e "$current_dir/packages/$ARCHIVE_NAME" ]; then
echo "Missing archive $ARCHIVE"
exit 1
fi
echo "prepare sources"
cd "$srcdir"
tar -xzf "$current_dir/packages/$ARCHIVE_NAME"
if [ $? != 0 ]; then
echo "Unable to decompress $ARCHIVE_NAME"
exit 1
fi
logfile="$srcdir/$ARCHIVE/build.log"
echo "*** patching sources ***" > "$logfile" 2>&1
cd "$srcdir/$ARCHIVE"
# patch source files
cd "$srcdir/$ARCHIVE/include"
sed -E 's/\.\/makemd5 /.\/makemd5i386 /' < Makefile.am > Makefile.am.new
mv Makefile.am.new Makefile.am
sed -E 's/\.\/makemd5 /.\/makemd5i386 /' < Makefile.in > Makefile.in.new
mv Makefile.in.new Makefile.in
cd "$srcdir/$ARCHIVE/lib"
sed -E 's/\$\(AR\) cru \.libs\/\$@ \$\(SASL_STATIC_OBJS\)/&; \$\(RANLIB\) .libs\/\$@/' < Makefile.in > Makefile.in.new
mv Makefile.in.new Makefile.in
echo "building tools"
echo "*** generating makemd5 ***" >> "$logfile" 2>&1
cd "$srcdir/$ARCHIVE"
./configure > "$logfile" 2>&1
cd include
make install >> "$logfile" 2>&1
cd ..
if [[ "$?" != "0" ]]; then
echo "BUILD FAILED"
exit 1
fi
echo generated makemd5i386 properly
mv "$srcdir/$ARCHIVE/include/makemd5" "$srcdir/$ARCHIVE/include/makemd5i386"
make clean >>"$logfile" 2>&1
make distclean >>"$logfile" 2>&1
find . -name config.cache -print0 | xargs -0 rm
cd "$srcdir/$ARCHIVE"
export LANG=en_US.US-ASCII
LIB_NAME=$ARCHIVE
TARGETS="iPhoneOS iPhoneSimulator"
SDK_IOS_MIN_VERSION=4.3
SDK_IOS_VERSION=`xcodebuild -version -sdk 2>/dev/null | egrep SDKVersion | tail -n 1 | sed -E -n -e 's|SDKVersion: *(.*) *$|\1|p'`
BUILD_DIR="$tmpdir/build"
INSTALL_PATH=${BUILD_DIR}/${LIB_NAME}/universal
for TARGET in $TARGETS; do
TOOLCHAIN=`xcodebuild -version -sdk 2>/dev/null | egrep iPhoneOS -B 3 | egrep '^PlatformPath: ' | sort -u | tail -n 1 | cut -d ' ' -f 2`/Developer/usr/bin
SYSROOT=`xcodebuild -version -sdk 2>/dev/null | egrep $TARGET -B 3 | egrep '^Path: '| egrep $SDK_IOS_VERSION | sort -u | tail -n 1| cut -d ' ' -f 2`
case $TARGET in
(iPhoneOS)
ARCH=arm
MARCHS="armv6 armv7"
EXTRA_FLAGS="-miphoneos-version-min=$SDK_IOS_MIN_VERSION"
;;
(iPhoneSimulator)
ARCH=i386
MARCHS=i386
EXTRA_FLAGS="-mmacosx-version-min=10.6"
;;
esac
for MARCH in $MARCHS; do
echo "building for $TARGET - $MARCH"
echo "*** building for $TARGET - $MARCH ***" >> "$logfile" 2>&1
PREFIX=${BUILD_DIR}/${LIB_NAME}/${TARGET}${SDK_IOS_VERSION}${MARCH}
rm -rf $PREFIX
export CFLAGS="-arch ${MARCH} -isysroot ${SYSROOT} -Os ${EXTRA_FLAGS}"
export CC=${TOOLCHAIN}/clang
export LD=${TOOLCHAIN}/ld
export AR=${TOOLCHAIN}/ar
export AS=${TOOLCHAIN}/as
if test -x ${TOOLCHAIN}/clang++; then
export CXX=${TOOLCHAIN}/clang++
else
export CXX=${TOOLCHAIN}/g++
fi
export NM=${TOOLCHAIN}/nm
export LIBTOOL=${TOOLCHAIN}/libtool
export RANLIB=${TOOLCHAIN}/ranlib
export OTOOL=${TOOLCHAIN}/otool
export STRIP=${TOOLCHAIN}/strip
OPENSSL="--with-openssl=$BUILD_DIR/openssl-1.0.0d/universal"
PLUGINS="--enable-otp=no --enable-digest=no --with-des=no --enable-login"
./configure --host=${ARCH} --prefix=$PREFIX --enable-shared=no --enable-static=yes --with-pam=$BUILD_DIR/openpam-20071221/universal $PLUGINS >> "$logfile" 2>&1
make -j 8 >> "$logfile" 2>&1
cd lib
make install >> "$logfile" 2>&1
cd ..
cd include
make install >> "$logfile" 2>&1
cd ..
cd plugins
make install >> "$logfile" 2>&1
cd ..
if [[ "$?" != "0" ]]; then
echo "BUILD FAILED"
exit 1
fi
make clean >> "$logfile" 2>&1
make distclean >> "$logfile" 2>&1
find . -name config.cache -print0 | xargs -0 rm
done
done
echo "*** creating universal libs ***" >> "$logfile" 2>&1
rm -rf $INSTALL_PATH
mkdir -p $INSTALL_PATH
mkdir -p $INSTALL_PATH/lib
mkdir -p $INSTALL_PATH/include/sasl
cp `find ./include -name '*.h'` ${INSTALL_PATH}/include/sasl
ALL_LIBS="libsasl2.a sasl2/libanonymous.a sasl2/libcrammd5.a sasl2/libplain.a sasl2/libsasldb.a sasl2/liblogin.a"
for lib in $ALL_LIBS; do
dir=`dirname $lib`
if [[ "$dir" != "." ]]; then
mkdir -p ${INSTALL_PATH}/lib/$dir
fi
LIBS=
for TARGET in $TARGETS; do
LIBS="$LIBS ${BUILD_DIR}/${LIB_NAME}/${TARGET}${SDK_IOS_VERSION}*/lib/${lib}"
done
lipo -create ${LIBS} -output ${INSTALL_PATH}/lib/${lib}
done
echo "*** creating built package ***" >> "$logfile" 2>&1
cd "$BUILD_DIR"
mkdir -p libsasl-ios
cp -r "$INSTALL_PATH"/* libsasl-ios/
tar -czf "libsasl-$version-ios.tar.gz" libsasl-ios
mkdir -p "$resultdir"
mv "libsasl-$version-ios.tar.gz" "$resultdir"
cd "$resultdir"
ln -s "libsasl-$version-ios.tar.gz" "libsasl-prebuilt-ios.tar.gz"
rm -rf "$tempbuilddir"
cd "$scriptdir/.."
tar xzf "$resultdir/libsasl-$version-ios.tar.gz"
exit 0

+ 441
- 0
build-mac/libetpan.xcodeproj/project.pbxproj View File

@ -201,6 +201,167 @@
C6667DEF1342ACCD00969A8E /* xlist.c in Sources */ = {isa = PBXBuildFile; fileRef = C6667DED1342ACCD00969A8E /* xlist.c */; };
C6667DF01342ACCD00969A8E /* xlist.h in Headers */ = {isa = PBXBuildFile; fileRef = C6667DEE1342ACCD00969A8E /* xlist.h */; settings = {ATTRIBUTES = (Public, ); }; };
C6667DF11342ACCD00969A8E /* xlist.c in Sources */ = {isa = PBXBuildFile; fileRef = C6667DED1342ACCD00969A8E /* xlist.c */; };
C682E21A15B315EF00BE9DA7 /* libetpan in CopyFiles */ = {isa = PBXBuildFile; fileRef = C6DC67A71083CDB700FA050B /* libetpan */; };
C682E21C15B315EF00BE9DA7 /* acl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9EE105335BC0059C3BA /* acl.c */; };
C682E21D15B315EF00BE9DA7 /* acl_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9F0105335BC0059C3BA /* acl_parser.c */; };
C682E21E15B315EF00BE9DA7 /* acl_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9F2105335BC0059C3BA /* acl_sender.c */; };
C682E21F15B315EF00BE9DA7 /* acl_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9F4105335BC0059C3BA /* acl_types.c */; };
C682E22015B315EF00BE9DA7 /* annotatemore.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9F6105335BC0059C3BA /* annotatemore.c */; };
C682E22115B315EF00BE9DA7 /* annotatemore_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9F8105335BC0059C3BA /* annotatemore_parser.c */; };
C682E22215B315EF00BE9DA7 /* annotatemore_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9FA105335BC0059C3BA /* annotatemore_sender.c */; };
C682E22315B315EF00BE9DA7 /* annotatemore_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9FC105335BC0059C3BA /* annotatemore_types.c */; };
C682E22415B315EF00BE9DA7 /* base64.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E84F105335BC0059C3BA /* base64.c */; };
C682E22515B315EF00BE9DA7 /* carray.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E851105335BC0059C3BA /* carray.c */; };
C682E22615B315EF00BE9DA7 /* charconv.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E853105335BC0059C3BA /* charconv.c */; };
C682E22715B315EF00BE9DA7 /* chash.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E855105335BC0059C3BA /* chash.c */; };
C682E22815B315EF00BE9DA7 /* clist.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E857105335BC0059C3BA /* clist.c */; };
C682E22915B315EF00BE9DA7 /* connect.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E859105335BC0059C3BA /* connect.c */; };
C682E22A15B315EF00BE9DA7 /* data_message_driver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E888105335BC0059C3BA /* data_message_driver.c */; };
C682E22B15B315EF00BE9DA7 /* date.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9BB105335BC0059C3BA /* date.c */; };
C682E22C15B315EF00BE9DA7 /* dbdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E893105335BC0059C3BA /* dbdriver.c */; };
C682E22D15B315EF00BE9DA7 /* dbdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E895105335BC0059C3BA /* dbdriver_message.c */; };
C682E22E15B315EF00BE9DA7 /* dbstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E898105335BC0059C3BA /* dbstorage.c */; };
C682E22F15B315EF00BE9DA7 /* feeddriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8A2105335BC0059C3BA /* feeddriver.c */; };
C682E23015B315EF00BE9DA7 /* feeddriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8A4105335BC0059C3BA /* feeddriver_message.c */; };
C682E23115B315EF00BE9DA7 /* feedstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8A7105335BC0059C3BA /* feedstorage.c */; };
C682E23215B315EF00BE9DA7 /* generic_cache.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E989105335BC0059C3BA /* generic_cache.c */; };
C682E23315B315EF00BE9DA7 /* hotmailstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8B0105335BC0059C3BA /* hotmailstorage.c */; };
C682E23415B315EF00BE9DA7 /* idle.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9FE105335BC0059C3BA /* idle.c */; };
C682E23515B315EF00BE9DA7 /* imapdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8BE105335BC0059C3BA /* imapdriver.c */; };
C682E23615B315EF00BE9DA7 /* imapdriver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8C0105335BC0059C3BA /* imapdriver_cached.c */; };
C682E23715B315EF00BE9DA7 /* imapdriver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8C2105335BC0059C3BA /* imapdriver_cached_message.c */; };
C682E23815B315EF00BE9DA7 /* imapdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8C4105335BC0059C3BA /* imapdriver_message.c */; };
C682E23915B315EF00BE9DA7 /* imapdriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8C6105335BC0059C3BA /* imapdriver_tools.c */; };
C682E23A15B315EF00BE9DA7 /* imapstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8CA105335BC0059C3BA /* imapstorage.c */; };
C682E23B15B315EF00BE9DA7 /* imfcache.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E98C105335BC0059C3BA /* imfcache.c */; };
C682E23C15B315EF00BE9DA7 /* libetpan_version.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAC2105335BD0059C3BA /* libetpan_version.c */; };
C682E23D15B315EF00BE9DA7 /* mail_cache_db.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E85D105335BC0059C3BA /* mail_cache_db.c */; };
C682E23E15B315EF00BE9DA7 /* maildir.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA41105335BC0059C3BA /* maildir.c */; };
C682E23F15B315EF00BE9DA7 /* maildirdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8D8105335BC0059C3BA /* maildirdriver.c */; };
C682E24015B315EF00BE9DA7 /* maildirdriver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8DA105335BC0059C3BA /* maildirdriver_cached.c */; };
C682E24115B315EF00BE9DA7 /* maildirdriver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8DC105335BC0059C3BA /* maildirdriver_cached_message.c */; };
C682E24215B315EF00BE9DA7 /* maildirdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8DE105335BC0059C3BA /* maildirdriver_message.c */; };
C682E24315B315EF00BE9DA7 /* maildirdriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8E0105335BC0059C3BA /* maildirdriver_tools.c */; };
C682E24415B315EF00BE9DA7 /* maildirstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8E3105335BC0059C3BA /* maildirstorage.c */; };
C682E24515B315EF00BE9DA7 /* maildriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E965105335BC0059C3BA /* maildriver.c */; };
C682E24615B315EF00BE9DA7 /* maildriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E968105335BC0059C3BA /* maildriver_tools.c */; };
C682E24715B315EF00BE9DA7 /* maildriver_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E96A105335BC0059C3BA /* maildriver_types.c */; };
C682E24815B315EF00BE9DA7 /* maildriver_types_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E96C105335BC0059C3BA /* maildriver_types_helper.c */; };
C682E24915B315EF00BE9DA7 /* mailengine.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E99E105335BC0059C3BA /* mailengine.c */; };
C682E24A15B315EF00BE9DA7 /* mailfolder.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E96E105335BC0059C3BA /* mailfolder.c */; };
C682E24B15B315EF00BE9DA7 /* mailimap.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA00105335BC0059C3BA /* mailimap.c */; };
C682E24C15B315EF00BE9DA7 /* mailimap_extension.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA02105335BC0059C3BA /* mailimap_extension.c */; };
C682E24D15B315EF00BE9DA7 /* mailimap_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA05105335BC0059C3BA /* mailimap_helper.c */; };
C682E24E15B315EF00BE9DA7 /* mailimap_keywords.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA07105335BC0059C3BA /* mailimap_keywords.c */; };
C682E24F15B315EF00BE9DA7 /* mailimap_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA09105335BC0059C3BA /* mailimap_parser.c */; };
C682E25015B315EF00BE9DA7 /* mailimap_print.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA0B105335BC0059C3BA /* mailimap_print.c */; };
C682E25115B315EF00BE9DA7 /* mailimap_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA0D105335BC0059C3BA /* mailimap_sender.c */; };
C682E25215B315EF00BE9DA7 /* mailimap_socket.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA0F105335BC0059C3BA /* mailimap_socket.c */; };
C682E25315B315EF00BE9DA7 /* mailimap_ssl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA11105335BC0059C3BA /* mailimap_ssl.c */; };
C682E25415B315EF00BE9DA7 /* mailimap_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA13105335BC0059C3BA /* mailimap_types.c */; };
C682E25515B315EF00BE9DA7 /* mailimap_types_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA15105335BC0059C3BA /* mailimap_types_helper.c */; };
C682E25615B315EF00BE9DA7 /* mailimf.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA2C105335BC0059C3BA /* mailimf.c */; };
C682E25715B315EF00BE9DA7 /* mailimf_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA2E105335BC0059C3BA /* mailimf_types.c */; };
C682E25815B315EF00BE9DA7 /* mailimf_types_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA30105335BC0059C3BA /* mailimf_types_helper.c */; };
C682E25915B315EF00BE9DA7 /* mailimf_write_file.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA33105335BC0059C3BA /* mailimf_write_file.c */; };
C682E25A15B315EF00BE9DA7 /* mailimf_write_generic.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA35105335BC0059C3BA /* mailimf_write_generic.c */; };
C682E25B15B315EF00BE9DA7 /* mailimf_write_mem.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA37105335BC0059C3BA /* mailimf_write_mem.c */; };
C682E25C15B315EF00BE9DA7 /* maillock.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E860105335BC0059C3BA /* maillock.c */; };
C682E25D15B315EF00BE9DA7 /* mailmbox.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA50105335BC0059C3BA /* mailmbox.c */; };
C682E25E15B315EF00BE9DA7 /* mailmbox_parse.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA52105335BC0059C3BA /* mailmbox_parse.c */; };
C682E25F15B315EF00BE9DA7 /* mailmbox_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA54105335BC0059C3BA /* mailmbox_types.c */; };
C682E26015B315EF00BE9DA7 /* mailmessage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E970105335BC0059C3BA /* mailmessage.c */; };
C682E26115B315EF00BE9DA7 /* mailmessage_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E972105335BC0059C3BA /* mailmessage_tools.c */; };
C682E26215B315EF00BE9DA7 /* mailmessage_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E974105335BC0059C3BA /* mailmessage_types.c */; };
C682E26315B315EF00BE9DA7 /* mailmh.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA5E105335BC0059C3BA /* mailmh.c */; };
C682E26415B315EF00BE9DA7 /* mailmime.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA6F105335BC0059C3BA /* mailmime.c */; };
C682E26515B315EF00BE9DA7 /* mailmime_content.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA71105335BC0059C3BA /* mailmime_content.c */; };
C682E26615B315EF00BE9DA7 /* mailmime_decode.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA73105335BC0059C3BA /* mailmime_decode.c */; };
C682E26715B315EF00BE9DA7 /* mailmime_disposition.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA75105335BC0059C3BA /* mailmime_disposition.c */; };
C682E26815B315EF00BE9DA7 /* mailmime_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA77105335BC0059C3BA /* mailmime_types.c */; };
C682E26915B315EF00BE9DA7 /* mailmime_types_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA79105335BC0059C3BA /* mailmime_types_helper.c */; };
C682E26A15B315EF00BE9DA7 /* mailmime_write_file.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA7C105335BC0059C3BA /* mailmime_write_file.c */; };
C682E26B15B315EF00BE9DA7 /* mailmime_write_generic.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA7E105335BC0059C3BA /* mailmime_write_generic.c */; };
C682E26C15B315EF00BE9DA7 /* mailmime_write_mem.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA80105335BC0059C3BA /* mailmime_write_mem.c */; };
C682E26D15B315EF00BE9DA7 /* mailpop3.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA9D105335BC0059C3BA /* mailpop3.c */; };
C682E26E15B315EF00BE9DA7 /* mailpop3_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA9F105335BC0059C3BA /* mailpop3_helper.c */; };
C682E26F15B315EF00BE9DA7 /* mailpop3_socket.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAA1105335BC0059C3BA /* mailpop3_socket.c */; };
C682E27015B315EF00BE9DA7 /* mailpop3_ssl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAA3105335BC0059C3BA /* mailpop3_ssl.c */; };
C682E27115B315EF00BE9DA7 /* mailprivacy.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9A0105335BC0059C3BA /* mailprivacy.c */; };
C682E27215B315EF00BE9DA7 /* mailprivacy_gnupg.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9A2105335BC0059C3BA /* mailprivacy_gnupg.c */; };
C682E27315B315EF00BE9DA7 /* mailprivacy_smime.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9A4105335BC0059C3BA /* mailprivacy_smime.c */; };
C682E27415B315EF00BE9DA7 /* mailprivacy_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9A6105335BC0059C3BA /* mailprivacy_tools.c */; };
C682E27515B315EF00BE9DA7 /* mailsasl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E862105335BC0059C3BA /* mailsasl.c */; };
C682E27615B315EF00BE9DA7 /* mailsem.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E864105335BC0059C3BA /* mailsem.c */; };
C682E27715B315EF00BE9DA7 /* mailsmtp.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAB0105335BC0059C3BA /* mailsmtp.c */; };
C682E27815B315EF00BE9DA7 /* mailsmtp_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAB2105335BC0059C3BA /* mailsmtp_helper.c */; };
C682E27915B315EF00BE9DA7 /* mailsmtp_socket.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAB4105335BC0059C3BA /* mailsmtp_socket.c */; };
C682E27A15B315EF00BE9DA7 /* mailsmtp_ssl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EAB6105335BC0059C3BA /* mailsmtp_ssl.c */; };
C682E27B15B315EF00BE9DA7 /* mailstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E976105335BC0059C3BA /* mailstorage.c */; };
C682E27C15B315EF00BE9DA7 /* mailstorage_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E978105335BC0059C3BA /* mailstorage_tools.c */; };
C682E27D15B315EF00BE9DA7 /* mailstream.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E866105335BC0059C3BA /* mailstream.c */; };
C682E27E15B315EF00BE9DA7 /* mailstream_cancel.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E868105335BC0059C3BA /* mailstream_cancel.c */; };
C682E27F15B315EF00BE9DA7 /* mailstream_helper.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E86B105335BC0059C3BA /* mailstream_helper.c */; };
C682E28015B315EF00BE9DA7 /* mailstream_low.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E86D105335BC0059C3BA /* mailstream_low.c */; };
C682E28115B315EF00BE9DA7 /* mailstream_socket.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E86F105335BC0059C3BA /* mailstream_socket.c */; };
C682E28215B315EF00BE9DA7 /* mailstream_ssl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E871105335BC0059C3BA /* mailstream_ssl.c */; };
C682E28315B315EF00BE9DA7 /* mailthread.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E98E105335BC0059C3BA /* mailthread.c */; };
C682E28415B315EF00BE9DA7 /* mailthread_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E990105335BC0059C3BA /* mailthread_types.c */; };
C682E28515B315EF00BE9DA7 /* mboxdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8F7105335BC0059C3BA /* mboxdriver.c */; };
C682E28615B315EF00BE9DA7 /* mboxdriver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8F9105335BC0059C3BA /* mboxdriver_cached.c */; };
C682E28715B315EF00BE9DA7 /* mboxdriver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8FB105335BC0059C3BA /* mboxdriver_cached_message.c */; };
C682E28815B315EF00BE9DA7 /* mboxdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8FD105335BC0059C3BA /* mboxdriver_message.c */; };
C682E28915B315EF00BE9DA7 /* mboxdriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E8FF105335BC0059C3BA /* mboxdriver_tools.c */; };
C682E28A15B315EF00BE9DA7 /* mboxstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E902105335BC0059C3BA /* mboxstorage.c */; };
C682E28B15B315EF00BE9DA7 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E878105335BC0059C3BA /* md5.c */; };
C682E28C15B315EF00BE9DA7 /* mhdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E910105335BC0059C3BA /* mhdriver.c */; };
C682E28D15B315EF00BE9DA7 /* mhdriver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E912105335BC0059C3BA /* mhdriver_cached.c */; };
C682E28E15B315EF00BE9DA7 /* mhdriver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E914105335BC0059C3BA /* mhdriver_cached_message.c */; };
C682E28F15B315EF00BE9DA7 /* mhdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E916105335BC0059C3BA /* mhdriver_message.c */; };
C682E29015B315EF00BE9DA7 /* mhdriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E918105335BC0059C3BA /* mhdriver_tools.c */; };
C682E29115B315EF00BE9DA7 /* mhstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E91B105335BC0059C3BA /* mhstorage.c */; };
C682E29215B315EF00BE9DA7 /* mime_message_driver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E924105335BC0059C3BA /* mime_message_driver.c */; };
C682E29315B315EF00BE9DA7 /* mmapstring.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E87B105335BC0059C3BA /* mmapstring.c */; };
C682E29415B315EF00BE9DA7 /* newsfeed.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9C0105335BC0059C3BA /* newsfeed.c */; };
C682E29515B315EF00BE9DA7 /* newsfeed_item.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9C2105335BC0059C3BA /* newsfeed_item.c */; };
C682E29615B315EF00BE9DA7 /* newsfeed_item_enclosure.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9C4105335BC0059C3BA /* newsfeed_item_enclosure.c */; };
C682E29715B315EF00BE9DA7 /* newsfeed_private.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9C6105335BC0059C3BA /* newsfeed_private.c */; };
C682E29815B315EF00BE9DA7 /* newsnntp.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA8F105335BC0059C3BA /* newsnntp.c */; };
C682E29915B315EF00BE9DA7 /* newsnntp_socket.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA91105335BC0059C3BA /* newsnntp_socket.c */; };
C682E29A15B315EF00BE9DA7 /* newsnntp_ssl.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA93105335BC0059C3BA /* newsnntp_ssl.c */; };
C682E29B15B315EF00BE9DA7 /* nntpdriver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E932105335BC0059C3BA /* nntpdriver.c */; };
C682E29C15B315EF00BE9DA7 /* nntpdriver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E934105335BC0059C3BA /* nntpdriver_cached.c */; };
C682E29D15B315EF00BE9DA7 /* nntpdriver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E936105335BC0059C3BA /* nntpdriver_cached_message.c */; };
C682E29E15B315EF00BE9DA7 /* nntpdriver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E938105335BC0059C3BA /* nntpdriver_message.c */; };
C682E29F15B315EF00BE9DA7 /* nntpdriver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E93A105335BC0059C3BA /* nntpdriver_tools.c */; };
C682E2A015B315EF00BE9DA7 /* nntpstorage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E93D105335BC0059C3BA /* nntpstorage.c */; };
C682E2A115B315EF00BE9DA7 /* parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9C9105335BC0059C3BA /* parser.c */; };
C682E2A215B315EF00BE9DA7 /* parser_atom03.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9CB105335BC0059C3BA /* parser_atom03.c */; };
C682E2A315B315EF00BE9DA7 /* parser_atom10.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9CD105335BC0059C3BA /* parser_atom10.c */; };
C682E2A415B315EF00BE9DA7 /* parser_rdf.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9CF105335BC0059C3BA /* parser_rdf.c */; };
C682E2A515B315EF00BE9DA7 /* parser_rss20.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E9D1105335BC0059C3BA /* parser_rss20.c */; };
C682E2A615B315EF00BE9DA7 /* pop3driver.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E94B105335BC0059C3BA /* pop3driver.c */; };
C682E2A715B315EF00BE9DA7 /* pop3driver_cached.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E94D105335BC0059C3BA /* pop3driver_cached.c */; };
C682E2A815B315EF00BE9DA7 /* pop3driver_cached_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E94F105335BC0059C3BA /* pop3driver_cached_message.c */; };
C682E2A915B315EF00BE9DA7 /* pop3driver_message.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E951105335BC0059C3BA /* pop3driver_message.c */; };
C682E2AA15B315EF00BE9DA7 /* pop3driver_tools.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E953105335BC0059C3BA /* pop3driver_tools.c */; };
C682E2AB15B315EF00BE9DA7 /* pop3storage.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E956105335BC0059C3BA /* pop3storage.c */; };
C682E2AC15B315EF00BE9DA7 /* timeutils.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9E87E105335BC0059C3BA /* timeutils.c */; };
C682E2AD15B315EF00BE9DA7 /* uidplus.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA1B105335BC0059C3BA /* uidplus.c */; };
C682E2AE15B315EF00BE9DA7 /* uidplus_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA1D105335BC0059C3BA /* uidplus_parser.c */; };
C682E2AF15B315EF00BE9DA7 /* uidplus_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA1F105335BC0059C3BA /* uidplus_sender.c */; };
C682E2B015B315EF00BE9DA7 /* uidplus_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6F9EA21105335BC0059C3BA /* uidplus_types.c */; };
C682E2B115B315EF00BE9DA7 /* quota_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C6E571FA110376F200897274 /* quota_parser.c */; };
C682E2B215B315EF00BE9DA7 /* quota_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6E571FC110376F200897274 /* quota_sender.c */; };
C682E2B315B315EF00BE9DA7 /* quota_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6E571FE110376F200897274 /* quota_types.c */; };
C682E2B415B315EF00BE9DA7 /* quota.c in Sources */ = {isa = PBXBuildFile; fileRef = C6E57200110376F200897274 /* quota.c */; };
C682E2B515B315EF00BE9DA7 /* namespace.c in Sources */ = {isa = PBXBuildFile; fileRef = C65179E4130E84BD004ADD56 /* namespace.c */; };
C682E2B615B315EF00BE9DA7 /* namespace_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = C65179F1130E85CA004ADD56 /* namespace_parser.c */; };
C682E2B715B315EF00BE9DA7 /* namespace_types.c in Sources */ = {isa = PBXBuildFile; fileRef = C6517A06130E86C6004ADD56 /* namespace_types.c */; };
C682E2B815B315EF00BE9DA7 /* namespace_sender.c in Sources */ = {isa = PBXBuildFile; fileRef = C6517A0C130E86D3004ADD56 /* namespace_sender.c */; };
C682E2B915B315EF00BE9DA7 /* xlist.c in Sources */ = {isa = PBXBuildFile; fileRef = C6667DED1342ACCD00969A8E /* xlist.c */; };
C682E2BA15B315EF00BE9DA7 /* mailstream_cfstream.c in Sources */ = {isa = PBXBuildFile; fileRef = C6EFB8761433F1F300F805C0 /* mailstream_cfstream.c */; };
C682E2BB15B315EF00BE9DA7 /* xgmlabels.c in Sources */ = {isa = PBXBuildFile; fileRef = C6CE9B1514AA9C8900D20BA6 /* xgmlabels.c */; };
C68C6206130FFE7E00F16728 /* namespace_parser.h in Headers */ = {isa = PBXBuildFile; fileRef = C68C61FE130FFE7E00F16728 /* namespace_parser.h */; };
C68C6207130FFE7E00F16728 /* namespace_sender.h in Headers */ = {isa = PBXBuildFile; fileRef = C68C61FF130FFE7E00F16728 /* namespace_sender.h */; };
C68C6208130FFE7E00F16728 /* namespace_types.h in Headers */ = {isa = PBXBuildFile; fileRef = C68C6200130FFE7E00F16728 /* namespace_types.h */; };
@ -675,6 +836,16 @@
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
C682E21915B315EF00BE9DA7 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = include;
dstSubfolderSpec = 16;
files = (
C682E21A15B315EF00BE9DA7 /* libetpan in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C6DC649E10829CEB00FA050B /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@ -700,6 +871,7 @@
C6517A0C130E86D3004ADD56 /* namespace_sender.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = namespace_sender.c; sourceTree = "<group>"; };
C6667DED1342ACCD00969A8E /* xlist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = xlist.c; sourceTree = "<group>"; };
C6667DEE1342ACCD00969A8E /* xlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xlist.h; sourceTree = "<group>"; };
C682E2C015B315EF00BE9DA7 /* libetpan-ios.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libetpan-ios.a"; sourceTree = BUILT_PRODUCTS_DIR; };
C68C61FE130FFE7E00F16728 /* namespace_parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = namespace_parser.h; sourceTree = "<group>"; };
C68C61FF130FFE7E00F16728 /* namespace_sender.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = namespace_sender.h; sourceTree = "<group>"; };
C68C6200130FFE7E00F16728 /* namespace_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = namespace_types.h; sourceTree = "<group>"; };
@ -1214,6 +1386,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
C682E2BC15B315EF00BE9DA7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C69AB10810546FE500F32FBD /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@ -1229,6 +1408,7 @@
children = (
8DC2EF5B0486A6940098B216 /* libetpan.framework */,
C69AB10A10546FE500F32FBD /* libetpan.a */,
C682E2C015B315EF00BE9DA7 /* libetpan-ios.a */,
);
name = Products;
sourceTree = "<group>";
@ -2412,6 +2592,24 @@
productReference = 8DC2EF5B0486A6940098B216 /* libetpan.framework */;
productType = "com.apple.product-type.framework";
};
C682E21815B315EF00BE9DA7 /* libetpan ios */ = {
isa = PBXNativeTarget;
buildConfigurationList = C682E2BD15B315EF00BE9DA7 /* Build configuration list for PBXNativeTarget "libetpan ios" */;
buildPhases = (
C682E21915B315EF00BE9DA7 /* CopyFiles */,
C682E21B15B315EF00BE9DA7 /* Sources */,
C682E2BC15B315EF00BE9DA7 /* Frameworks */,
C6740DB515B384FB00D4A16B /* ShellScript */,
);
buildRules = (
);
dependencies = (
);
name = "libetpan ios";
productName = "static libetpan";
productReference = C682E2C015B315EF00BE9DA7 /* libetpan-ios.a */;
productType = "com.apple.product-type.library.static";
};
C69AB10910546FE500F32FBD /* static libetpan */ = {
isa = PBXNativeTarget;
buildConfigurationList = C69AB10D1054700400F32FBD /* Build configuration list for PBXNativeTarget "static libetpan" */;
@ -2451,6 +2649,7 @@
targets = (
8DC2EF4F0486A6940098B216 /* libetpan */,
C69AB10910546FE500F32FBD /* static libetpan */,
C682E21815B315EF00BE9DA7 /* libetpan ios */,
);
};
/* End PBXProject section */
@ -2465,6 +2664,22 @@
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
C6740DB515B384FB00D4A16B /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cp \"$SRCROOT/libsasl-ios/lib/libsasl2.a\" \"$BUILT_PRODUCTS_DIR\"\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
8DC2EF540486A6940098B216 /* Sources */ = {
isa = PBXSourcesBuildPhase;
@ -2633,6 +2848,173 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
C682E21B15B315EF00BE9DA7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C682E21C15B315EF00BE9DA7 /* acl.c in Sources */,
C682E21D15B315EF00BE9DA7 /* acl_parser.c in Sources */,
C682E21E15B315EF00BE9DA7 /* acl_sender.c in Sources */,
C682E21F15B315EF00BE9DA7 /* acl_types.c in Sources */,
C682E22015B315EF00BE9DA7 /* annotatemore.c in Sources */,
C682E22115B315EF00BE9DA7 /* annotatemore_parser.c in Sources */,
C682E22215B315EF00BE9DA7 /* annotatemore_sender.c in Sources */,
C682E22315B315EF00BE9DA7 /* annotatemore_types.c in Sources */,
C682E22415B315EF00BE9DA7 /* base64.c in Sources */,
C682E22515B315EF00BE9DA7 /* carray.c in Sources */,
C682E22615B315EF00BE9DA7 /* charconv.c in Sources */,
C682E22715B315EF00BE9DA7 /* chash.c in Sources */,
C682E22815B315EF00BE9DA7 /* clist.c in Sources */,
C682E22915B315EF00BE9DA7 /* connect.c in Sources */,
C682E22A15B315EF00BE9DA7 /* data_message_driver.c in Sources */,
C682E22B15B315EF00BE9DA7 /* date.c in Sources */,
C682E22C15B315EF00BE9DA7 /* dbdriver.c in Sources */,
C682E22D15B315EF00BE9DA7 /* dbdriver_message.c in Sources */,
C682E22E15B315EF00BE9DA7 /* dbstorage.c in Sources */,
C682E22F15B315EF00BE9DA7 /* feeddriver.c in Sources */,
C682E23015B315EF00BE9DA7 /* feeddriver_message.c in Sources */,
C682E23115B315EF00BE9DA7 /* feedstorage.c in Sources */,
C682E23215B315EF00BE9DA7 /* generic_cache.c in Sources */,
C682E23315B315EF00BE9DA7 /* hotmailstorage.c in Sources */,
C682E23415B315EF00BE9DA7 /* idle.c in Sources */,
C682E23515B315EF00BE9DA7 /* imapdriver.c in Sources */,
C682E23615B315EF00BE9DA7 /* imapdriver_cached.c in Sources */,
C682E23715B315EF00BE9DA7 /* imapdriver_cached_message.c in Sources */,
C682E23815B315EF00BE9DA7 /* imapdriver_message.c in Sources */,
C682E23915B315EF00BE9DA7 /* imapdriver_tools.c in Sources */,
C682E23A15B315EF00BE9DA7 /* imapstorage.c in Sources */,
C682E23B15B315EF00BE9DA7 /* imfcache.c in Sources */,
C682E23C15B315EF00BE9DA7 /* libetpan_version.c in Sources */,
C682E23D15B315EF00BE9DA7 /* mail_cache_db.c in Sources */,
C682E23E15B315EF00BE9DA7 /* maildir.c in Sources */,
C682E23F15B315EF00BE9DA7 /* maildirdriver.c in Sources */,
C682E24015B315EF00BE9DA7 /* maildirdriver_cached.c in Sources */,
C682E24115B315EF00BE9DA7 /* maildirdriver_cached_message.c in Sources */,
C682E24215B315EF00BE9DA7 /* maildirdriver_message.c in Sources */,
C682E24315B315EF00BE9DA7 /* maildirdriver_tools.c in Sources */,
C682E24415B315EF00BE9DA7 /* maildirstorage.c in Sources */,
C682E24515B315EF00BE9DA7 /* maildriver.c in Sources */,
C682E24615B315EF00BE9DA7 /* maildriver_tools.c in Sources */,
C682E24715B315EF00BE9DA7 /* maildriver_types.c in Sources */,
C682E24815B315EF00BE9DA7 /* maildriver_types_helper.c in Sources */,
C682E24915B315EF00BE9DA7 /* mailengine.c in Sources */,
C682E24A15B315EF00BE9DA7 /* mailfolder.c in Sources */,
C682E24B15B315EF00BE9DA7 /* mailimap.c in Sources */,
C682E24C15B315EF00BE9DA7 /* mailimap_extension.c in Sources */,
C682E24D15B315EF00BE9DA7 /* mailimap_helper.c in Sources */,
C682E24E15B315EF00BE9DA7 /* mailimap_keywords.c in Sources */,
C682E24F15B315EF00BE9DA7 /* mailimap_parser.c in Sources */,
C682E25015B315EF00BE9DA7 /* mailimap_print.c in Sources */,
C682E25115B315EF00BE9DA7 /* mailimap_sender.c in Sources */,
C682E25215B315EF00BE9DA7 /* mailimap_socket.c in Sources */,
C682E25315B315EF00BE9DA7 /* mailimap_ssl.c in Sources */,
C682E25415B315EF00BE9DA7 /* mailimap_types.c in Sources */,
C682E25515B315EF00BE9DA7 /* mailimap_types_helper.c in Sources */,
C682E25615B315EF00BE9DA7 /* mailimf.c in Sources */,
C682E25715B315EF00BE9DA7 /* mailimf_types.c in Sources */,
C682E25815B315EF00BE9DA7 /* mailimf_types_helper.c in Sources */,
C682E25915B315EF00BE9DA7 /* mailimf_write_file.c in Sources */,
C682E25A15B315EF00BE9DA7 /* mailimf_write_generic.c in Sources */,
C682E25B15B315EF00BE9DA7 /* mailimf_write_mem.c in Sources */,
C682E25C15B315EF00BE9DA7 /* maillock.c in Sources */,
C682E25D15B315EF00BE9DA7 /* mailmbox.c in Sources */,
C682E25E15B315EF00BE9DA7 /* mailmbox_parse.c in Sources */,
C682E25F15B315EF00BE9DA7 /* mailmbox_types.c in Sources */,
C682E26015B315EF00BE9DA7 /* mailmessage.c in Sources */,
C682E26115B315EF00BE9DA7 /* mailmessage_tools.c in Sources */,
C682E26215B315EF00BE9DA7 /* mailmessage_types.c in Sources */,
C682E26315B315EF00BE9DA7 /* mailmh.c in Sources */,
C682E26415B315EF00BE9DA7 /* mailmime.c in Sources */,
C682E26515B315EF00BE9DA7 /* mailmime_content.c in Sources */,
C682E26615B315EF00BE9DA7 /* mailmime_decode.c in Sources */,
C682E26715B315EF00BE9DA7 /* mailmime_disposition.c in Sources */,
C682E26815B315EF00BE9DA7 /* mailmime_types.c in Sources */,
C682E26915B315EF00BE9DA7 /* mailmime_types_helper.c in Sources */,
C682E26A15B315EF00BE9DA7 /* mailmime_write_file.c in Sources */,
C682E26B15B315EF00BE9DA7 /* mailmime_write_generic.c in Sources */,
C682E26C15B315EF00BE9DA7 /* mailmime_write_mem.c in Sources */,
C682E26D15B315EF00BE9DA7 /* mailpop3.c in Sources */,
C682E26E15B315EF00BE9DA7 /* mailpop3_helper.c in Sources */,
C682E26F15B315EF00BE9DA7 /* mailpop3_socket.c in Sources */,
C682E27015B315EF00BE9DA7 /* mailpop3_ssl.c in Sources */,
C682E27115B315EF00BE9DA7 /* mailprivacy.c in Sources */,
C682E27215B315EF00BE9DA7 /* mailprivacy_gnupg.c in Sources */,
C682E27315B315EF00BE9DA7 /* mailprivacy_smime.c in Sources */,
C682E27415B315EF00BE9DA7 /* mailprivacy_tools.c in Sources */,
C682E27515B315EF00BE9DA7 /* mailsasl.c in Sources */,
C682E27615B315EF00BE9DA7 /* mailsem.c in Sources */,
C682E27715B315EF00BE9DA7 /* mailsmtp.c in Sources */,
C682E27815B315EF00BE9DA7 /* mailsmtp_helper.c in Sources */,
C682E27915B315EF00BE9DA7 /* mailsmtp_socket.c in Sources */,
C682E27A15B315EF00BE9DA7 /* mailsmtp_ssl.c in Sources */,
C682E27B15B315EF00BE9DA7 /* mailstorage.c in Sources */,
C682E27C15B315EF00BE9DA7 /* mailstorage_tools.c in Sources */,
C682E27D15B315EF00BE9DA7 /* mailstream.c in Sources */,
C682E27E15B315EF00BE9DA7 /* mailstream_cancel.c in Sources */,
C682E27F15B315EF00BE9DA7 /* mailstream_helper.c in Sources */,
C682E28015B315EF00BE9DA7 /* mailstream_low.c in Sources */,
C682E28115B315EF00BE9DA7 /* mailstream_socket.c in Sources */,
C682E28215B315EF00BE9DA7 /* mailstream_ssl.c in Sources */,
C682E28315B315EF00BE9DA7 /* mailthread.c in Sources */,
C682E28415B315EF00BE9DA7 /* mailthread_types.c in Sources */,
C682E28515B315EF00BE9DA7 /* mboxdriver.c in Sources */,
C682E28615B315EF00BE9DA7 /* mboxdriver_cached.c in Sources */,
C682E28715B315EF00BE9DA7 /* mboxdriver_cached_message.c in Sources */,
C682E28815B315EF00BE9DA7 /* mboxdriver_message.c in Sources */,
C682E28915B315EF00BE9DA7 /* mboxdriver_tools.c in Sources */,
C682E28A15B315EF00BE9DA7 /* mboxstorage.c in Sources */,
C682E28B15B315EF00BE9DA7 /* md5.c in Sources */,
C682E28C15B315EF00BE9DA7 /* mhdriver.c in Sources */,
C682E28D15B315EF00BE9DA7 /* mhdriver_cached.c in Sources */,
C682E28E15B315EF00BE9DA7 /* mhdriver_cached_message.c in Sources */,
C682E28F15B315EF00BE9DA7 /* mhdriver_message.c in Sources */,
C682E29015B315EF00BE9DA7 /* mhdriver_tools.c in Sources */,
C682E29115B315EF00BE9DA7 /* mhstorage.c in Sources */,
C682E29215B315EF00BE9DA7 /* mime_message_driver.c in Sources */,
C682E29315B315EF00BE9DA7 /* mmapstring.c in Sources */,
C682E29415B315EF00BE9DA7 /* newsfeed.c in Sources */,
C682E29515B315EF00BE9DA7 /* newsfeed_item.c in Sources */,
C682E29615B315EF00BE9DA7 /* newsfeed_item_enclosure.c in Sources */,
C682E29715B315EF00BE9DA7 /* newsfeed_private.c in Sources */,
C682E29815B315EF00BE9DA7 /* newsnntp.c in Sources */,
C682E29915B315EF00BE9DA7 /* newsnntp_socket.c in Sources */,
C682E29A15B315EF00BE9DA7 /* newsnntp_ssl.c in Sources */,
C682E29B15B315EF00BE9DA7 /* nntpdriver.c in Sources */,
C682E29C15B315EF00BE9DA7 /* nntpdriver_cached.c in Sources */,
C682E29D15B315EF00BE9DA7 /* nntpdriver_cached_message.c in Sources */,
C682E29E15B315EF00BE9DA7 /* nntpdriver_message.c in Sources */,
C682E29F15B315EF00BE9DA7 /* nntpdriver_tools.c in Sources */,
C682E2A015B315EF00BE9DA7 /* nntpstorage.c in Sources */,
C682E2A115B315EF00BE9DA7 /* parser.c in Sources */,
C682E2A215B315EF00BE9DA7 /* parser_atom03.c in Sources */,
C682E2A315B315EF00BE9DA7 /* parser_atom10.c in Sources */,
C682E2A415B315EF00BE9DA7 /* parser_rdf.c in Sources */,
C682E2A515B315EF00BE9DA7 /* parser_rss20.c in Sources */,
C682E2A615B315EF00BE9DA7 /* pop3driver.c in Sources */,
C682E2A715B315EF00BE9DA7 /* pop3driver_cached.c in Sources */,
C682E2A815B315EF00BE9DA7 /* pop3driver_cached_message.c in Sources */,
C682E2A915B315EF00BE9DA7 /* pop3driver_message.c in Sources */,
C682E2AA15B315EF00BE9DA7 /* pop3driver_tools.c in Sources */,
C682E2AB15B315EF00BE9DA7 /* pop3storage.c in Sources */,
C682E2AC15B315EF00BE9DA7 /* timeutils.c in Sources */,
C682E2AD15B315EF00BE9DA7 /* uidplus.c in Sources */,
C682E2AE15B315EF00BE9DA7 /* uidplus_parser.c in Sources */,
C682E2AF15B315EF00BE9DA7 /* uidplus_sender.c in Sources */,
C682E2B015B315EF00BE9DA7 /* uidplus_types.c in Sources */,
C682E2B115B315EF00BE9DA7 /* quota_parser.c in Sources */,
C682E2B215B315EF00BE9DA7 /* quota_sender.c in Sources */,
C682E2B315B315EF00BE9DA7 /* quota_types.c in Sources */,
C682E2B415B315EF00BE9DA7 /* quota.c in Sources */,
C682E2B515B315EF00BE9DA7 /* namespace.c in Sources */,
C682E2B615B315EF00BE9DA7 /* namespace_parser.c in Sources */,
C682E2B715B315EF00BE9DA7 /* namespace_types.c in Sources */,
C682E2B815B315EF00BE9DA7 /* namespace_sender.c in Sources */,
C682E2B915B315EF00BE9DA7 /* xlist.c in Sources */,
C682E2BA15B315EF00BE9DA7 /* mailstream_cfstream.c in Sources */,
C682E2BB15B315EF00BE9DA7 /* xgmlabels.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C69AB10710546FE500F32FBD /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@ -2874,6 +3256,56 @@
};
name = Release;
};
C682E2BE15B315EF00BE9DA7 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/libsasl-ios/include",
);
INSTALL_PATH = /usr/local/lib;
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/libsasl-ios/lib";
OTHER_CFLAGS = (
"$(inherited)",
"-DLIBETPAN_IOS_DISABLE_SSL=1",
);
PREBINDING = NO;
PRODUCT_NAME = "etpan-ios";
SDKROOT = iphoneos;
};
name = Debug;
};
C682E2BF15B315EF00BE9DA7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_MODEL_TUNING = G5;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/libsasl-ios/include",
);
INSTALL_PATH = /usr/local/lib;
LIBRARY_SEARCH_PATHS = "$(SRCROOT)/libsasl-ios/lib";
OTHER_CFLAGS = (
"$(inherited)",
"-DLIBETPAN_IOS_DISABLE_SSL=1",
);
PREBINDING = NO;
PRODUCT_NAME = "etpan-ios";
SDKROOT = iphoneos;
ZERO_LINK = NO;
};
name = Release;
};
C69AB10B10546FE600F32FBD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -2927,6 +3359,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C682E2BD15B315EF00BE9DA7 /* Build configuration list for PBXNativeTarget "libetpan ios" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C682E2BE15B315EF00BE9DA7 /* Debug */,
C682E2BF15B315EF00BE9DA7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C69AB10D1054700400F32FBD /* Build configuration list for PBXNativeTarget "static libetpan" */ = {
isa = XCConfigurationList;
buildConfigurations = (


+ 6
- 0
build-mac/prepare-ios.sh View File

@ -0,0 +1,6 @@
#!/bin/sh
cd dependencies
for script in prepare-*.sh ; do
echo running $script
sh "$script"
done

+ 15
- 13
build-mac/update.sh View File

@ -1,23 +1,25 @@
#!/bin/sh
OPENSSL_VERSION=0.9.8l
if test ! -d libetpan.xcodeproj ; then
exit 1;
fi
logfile="`pwd`/update.log"
cd ..
./autogen.sh
make stamp-prepare-target
make libetpan-config.h
echo configuring
./autogen.sh > "$logfile" 2>&1
if [[ "$?" != "0" ]]; then
echo "configure failed"
exit 1
fi
make stamp-prepare-target >> "$logfile" 2>&1
make libetpan-config.h >> "$logfile" 2>&1
cd build-mac
mkdir -p include/libetpan
mkdir -p include/libetpan >> "$logfile" 2>&1
cp -r ../include/libetpan/ include/libetpan/
cp ../config.h include
cp ../libetpan-config.h include
# rm -rf OpenSSL
# mkdir -p OpenSSL
# cd OpenSSL
# curl -O http://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz
# tar xzvf openssl-$OPENSSL_VERSION.tar.gz
# mv openssl-$OPENSSL_VERSION/* .
# rm -rf openssl-$OPENSSL_VERSION
# build dependencies for iOS
sh ./prepare-ios.sh

+ 4
- 0
src/data-types/mailstream_ssl.c View File

@ -72,6 +72,10 @@
# endif
#endif
#if LIBETPAN_IOS_DISABLE_SSL
#undef USE_SSL
#endif
/* mailstream_low, ssl */
#ifdef USE_SSL


+ 4
- 0
src/data-types/mailstream_ssl.h View File

@ -45,6 +45,10 @@ extern "C" {
/* socket */
#if LIBETPAN_IOS_DISABLE_SSL
#undef USE_SSL
#endif
#ifdef USE_SSL
extern mailstream_low_driver * mailstream_ssl_driver;
#endif


Loading…
Cancel
Save