org.strongswan.android.yml 2.82 KB
Newer Older
akallabeth's avatar
akallabeth committed
1
2
3
4
5
6
7
Categories:
  - Connectivity
  - Internet
  - Security
License: GPL-2.0-or-later
SourceCode: https://github.com/strongswan/strongswan
IssueTracker: https://github.com/strongswan/strongswan/issues
Tobias Brunner's avatar
Tobias Brunner committed
8
Changelog: https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClient#Changelog
akallabeth's avatar
akallabeth committed
9

linsui's avatar
linsui committed
10
11
AutoName: strongSwan VPN Client

akallabeth's avatar
akallabeth committed
12
13
14
15
RepoType: git
Repo: https://github.com/strongswan/strongswan

Builds:
linsui's avatar
linsui committed
16
17
  - versionName: 2.3.3
    versionCode: 75
linsui's avatar
linsui committed
18
    commit: android-2.3.3-1
akallabeth's avatar
akallabeth committed
19
20
21
22
    subdir: src/frontends/android/app
    gradle:
      - yes
    srclibs:
linsui's avatar
linsui committed
23
      - OpenSSL@OpenSSL_1_1_1k
akallabeth's avatar
akallabeth committed
24
    prebuild: sed -i -e "/clean.dependsOn 'cleanNative'/d" build.gradle
linsui's avatar
linsui committed
25
26
    scandelete:
      - testing
akallabeth's avatar
akallabeth committed
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    build:
      - lib="$PWD/src/main/jni/openssl"
      - PATH=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH
      - pushd $$OpenSSL$$
      - CC=armv7a-linux-androideabi16-clang ./Configure android-arm no-shared no-ssl3
        no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=16
        -ffast-math -O3 -funroll-loops
      - make -j $(nproc)
      - mkdir -p "${lib}/armeabi-v7a"
      - cp libcrypto.a ${lib}/armeabi-v7a/
      - make distclean
      - CC=aarch64-linux-android21-clang ./Configure android-arm64 no-shared no-ssl3
        no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=21
        -ffast-math -O3 -funroll-loops
      - make -j $(nproc)
      - mkdir -p "${lib}/arm64-v8a"
      - cp libcrypto.a ${lib}/arm64-v8a/
      - make distclean
      - CC=i686-linux-android16-clang ./Configure android-x86 no-shared no-ssl3 no-engine
        no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=16
        -ffast-math -O3 -funroll-loops
      - make -j $(nproc)
      - mkdir -p "${lib}/x86"
      - cp libcrypto.a ${lib}/x86/
      - make distclean
      - CC=x86_64-linux-android21-clang ./Configure android-x86_64 no-shared no-ssl3
        no-engine no-dso no-asm no-hw no-comp no-stdio -fPIC -DOPENSSL_PIC -D__ANDROID_API__=21
        -ffast-math -O3 -funroll-loops
      - make -j $(nproc)
      - mkdir -p "${lib}/x86_64"
      - cp libcrypto.a ${lib}/x86_64/
      - cp -R include/ ${lib}/
      - make distclean
      - popd
      - echo "LOCAL_PATH := \$(call my-dir)" >"${lib}/Android.mk"
      - echo "include \$(CLEAR_VARS)" >>"${lib}/Android.mk"
      - echo "LOCAL_MODULE := libcrypto_static" >>"${lib}/Android.mk"
      - echo "LOCAL_SRC_FILES := \$(TARGET_ARCH_ABI)/libcrypto.a" >>"${lib}/Android.mk"
      - echo "LOCAL_EXPORT_C_INCLUDES := \$(LOCAL_PATH)/include" >>"${lib}/Android.mk"
      - echo "include \$(PREBUILT_STATIC_LIBRARY)" >>"${lib}/Android.mk"
      - cd ../../../../
      - ./autogen.sh
69
      - ./configure --disable-defaults
akallabeth's avatar
akallabeth committed
70
71
72
      - make dist
    ndk: r21e

linsui's avatar
linsui committed
73
74
75
76
AutoUpdateMode: Version
UpdateCheckMode: Tags ^android
CurrentVersion: 2.3.3
CurrentVersionCode: 75