xpc: build with support for the keychain plugin
authorMartin Willi <martin@revosec.ch>
Fri, 3 May 2013 14:51:29 +0000 (16:51 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 10:17:55 +0000 (12:17 +0200)
src/frontends/osx/README.md
src/frontends/osx/charon-xpc/charon-xpc.c
src/frontends/osx/strongSwan.xcodeproj/project.pbxproj

index 69ee460..62a0b2e 100644 (file)
@@ -28,7 +28,8 @@ CFLAGS="-I/usr/include -DOPENSSL_NO_CMS -O2 -Wall -Wno-format -Wno-pointer-sign"
   --enable-kernel-pfkey --enable-kernel-pfroute --enable-eap-mschapv2 \
   --enable-eap-identity --enable-monolithic --enable-nonce --enable-random \
   --enable-pkcs1 --enable-pem --enable-socket-default --enable-xauth-generic \
-  --enable-ikev1 --enable-ikev2 --enable-charon --disable-shared --enable-static
+  --enable-keychain --enable-ikev1 --enable-ikev2 --enable-charon \
+  --disable-shared --enable-static
 
 followed by calling make (no need to make install).
 
index 477e1e0..b4a3d58 100644 (file)
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
        if (!charon->initialize(charon,
                        lib->settings->get_str(lib->settings, "charon-xpc.load",
                                "random nonce pem pkcs1 openssl kernel-pfkey kernel-pfroute "
-                               "socket-default eap-identity eap-mschapv2")))
+                               "keychain socket-default eap-identity eap-mschapv2")))
        {
                exit(SS_RC_INITIALIZATION_FAILED);
        }
index 8cf467a..05e38d3 100644 (file)
@@ -7,6 +7,7 @@
        objects = {
 
 /* Begin PBXBuildFile section */
+               5B74984D172AA3550041971E /* xpc_dispatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5B74984C172AA3550041971E /* xpc_dispatch.c */; };
                5BD1CCD71726DB4000587077 /* charon-xpc.c in Sources */ = {isa = PBXBuildFile; fileRef = 5BD1CCD61726DB4000587077 /* charon-xpc.c */; };
                5BF60F31173405A000E5D608 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BD1CCD31726DB4000587077 /* CoreFoundation.framework */; };
                5BF60F33173405AC00E5D608 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BD1CCF21727DE3E00587077 /* Security.framework */; };