Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build WireGuard from source instead of library #430

Merged
merged 32 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7fa1076
prepare for release
Jan 19, 2024
d086fc4
fix link to issue
Feb 7, 2024
ddb1459
Merge remote-tracking branch 'upstream/master'
Apr 3, 2024
081f591
Merge remote-tracking branch 'upstream/master'
Apr 19, 2024
47f1c88
Merge remote-tracking branch 'upstream/master'
Jun 12, 2024
6648523
Merge remote-tracking branch 'upstream/feature/common_2.0'
Jun 14, 2024
ae5a67b
prepare for 3.3.0 release
Apr 20, 2024
61d8c7f
Merge remote-tracking branch 'remotes/upstream/feature/common_2.0'
Jun 19, 2024
e58ce8a
Merge branch 'prepare/3.3.0'
Jun 19, 2024
8f5e7ce
point to codeberg.org
Jun 19, 2024
dd6ac7b
update other reference to github.com
Jun 19, 2024
843570f
Merge remote-tracking branch 'upstream/master'
Jul 15, 2024
eca2b5d
Common: Update to 2.0.2
jwijenbergh Jun 27, 2024
525656f
BackendService: Fix ProxyGuard source port not set to 0
jwijenbergh Jun 27, 2024
70f2180
Fix TCP timeout in background when using Proxyguard
dzolnai Jul 10, 2024
a2d0183
Merge branch 'upstream-master'
Jul 15, 2024
f1035a5
Merge remote-tracking branch 'upstream/master'
Jul 26, 2024
523c3f4
Merge remote-tracking branch 'upstream/master'
Jul 30, 2024
03f9534
prepare for release
Aug 12, 2024
eed23ac
also generate AAB next to APK
Aug 15, 2024
db9318d
forgot quotes
Aug 15, 2024
344e922
Merge remote-tracking branch 'upstream/master'
Aug 15, 2024
5358187
Merge remote-tracking branch 'upstream/master'
Aug 26, 2024
34cd652
prepare for release
Aug 28, 2024
575aed3
Merge remote-tracking branch 'upstream/master'
Aug 30, 2024
547f97d
put KEY_ALIAS in app variant sections
Aug 30, 2024
4e9a8cf
Merge remote-tracking branch 'upstream/master'
Aug 30, 2024
f47f1a6
prepare for release
Aug 30, 2024
c99112b
add comment for KEY_ALIAS
Aug 30, 2024
3fd8cc2
Merge remote-tracking branch 'upstream/master'
Oct 3, 2024
042385e
embed wireguard-android as a submodule
Oct 4, 2024
a18126a
prepare for release
Oct 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
url = https://github.com/eduvpn/ics-openvpn
[submodule "common/libs/eduvpn-common"]
path = common/libs/eduvpn-common
url = https://github.com/eduvpn/eduvpn-common
url = https://github.com/eduvpn/eduvpn-common
[submodule "wireguard"]
path = wireguard
url = https://codeberg.org/fkooman/wireguard-android
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.3.3 (2024-10-04)
- embed WireGuard for Android
- fix crash when reconnecting

## 3.3.2 (2024-08-30)
- bump release for Google Play Store

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {
applicationId "nl.eduvpn.app"
minSdkVersion 21
targetSdkVersion 34
versionCode 29
versionName "3.3.2"
versionCode 30
versionName "3.3.3"
ndkVersion "26.1.10909125"

vectorDrawables.useSupportLibrary = true
Expand Down Expand Up @@ -166,7 +166,7 @@ dependencies {
// eduVPN common library written in Go, stores all data and does the communication with the servers
implementation project(path: ':common')
// WireGuard VPN library
implementation(eduvpnVersions.wireguard)
implementation project(path: ':wireguard')

// Please try to stay in sync with the versions used in the ics-openvpn module
implementation(eduvpnVersions.android.appcompat)
Expand Down
2 changes: 1 addition & 1 deletion build_app_git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SDK_DIR=${HOME}/android-sdk
KEY_STORE=${HOME}/android.jks

GIT_REPO=https://codeberg.org/eduVPN/android
#GIT_TAG=3.3.2
#GIT_TAG=3.3.3
GIT_TAG=master

PROJECT_DIR=${HOME}/Projects
Expand Down
2 changes: 1 addition & 1 deletion build_app_tar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
SDK_DIR=${HOME}/android-sdk
KEY_STORE=${HOME}/android.jks

V=3.3.2
V=3.3.3
DOWNLOAD_URL=https://codeberg.org/eduVPN/android/releases/download/${V}/eduvpn-android-${V}.tar.xz

PROJECT_DIR=${HOME}/Projects
Expand Down
2 changes: 1 addition & 1 deletion create_release_tar.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

GIT_REPO=https://codeberg.org/eduVPN/android
GIT_TAG=3.3.2
GIT_TAG=3.3.3
#GIT_TAG=master

###############################################################################
Expand Down
2 changes: 2 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/30.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- embed WireGuard for Android
- fix crash when reconnecting
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ org.gradle.jvmargs=-Xmx1536M

android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.defaults.buildfeatures.buildconfig=true

wireguardPackageName=com.wireguard
wireguardVersionName=1.0.20231018-eduvpn-fork
4 changes: 1 addition & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[versions]
wireguard = "1.0.20230706"
# Please try to stay in sync with the versions used in the ics-openvpn module
activity-ktx = "1.1.0"
appcompat = "1.6.1"
Expand All @@ -24,7 +23,6 @@ espresso = "3.5.1"
uiautomator = "2.3.0"

[libraries]
wireguard = { group = "com.wireguard.android", name = "tunnel", version.ref = "wireguard" }
android-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
android-activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "activity-ktx" }
android-fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "fragment-ktx" }
Expand All @@ -51,4 +49,4 @@ androidx-test-orchestrator = { group = "androidx.test", name = "orchestrator", v
espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" }
uiautomator = { group = "androidx.test.uiautomator", name = "uiautomator", version.ref = "uiautomator" }

[plugins]
[plugins]
7 changes: 6 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ dependencyResolutionManagement {
eduvpnVersions {
from(files('gradle/libs.versions.toml'))
}
wireguardVersions {
from(files('wireguard/gradle/libs.versions.toml'))
}
}
}

include ':app'
include ':ics-openvpn-main'
project(':ics-openvpn-main').projectDir = new File(rootDir, '/ics-openvpn/main')
include ':common'
include ':common'
include ':wireguard'
project(':wireguard').projectDir = new File(rootDir, '/wireguard/tunnel')
1 change: 1 addition & 0 deletions wireguard
Submodule wireguard added at 2055ab
Loading