98 lines
6 KiB
Plaintext
98 lines
6 KiB
Plaintext
AntiFeatures:NonFreeDep
|
|
Categories:Phone & SMS
|
|
License:GPLv3
|
|
Web Site:https://www.surespot.me/
|
|
Source Code:https://github.com/surespot/android
|
|
Issue Tracker:https://github.com/surespot/android/issues
|
|
|
|
Name:Surespot
|
|
Auto Name:surespot
|
|
Summary:Send encrypted text messages
|
|
Description:
|
|
Use surespot and everything you send can only be read by the person you sent it
|
|
to. Period. Everything sent using surespot is end-to-end encrypted with
|
|
symmetric-key encryption (256 bit AES-GCM) using keys created with 521 bit ECDH
|
|
shared secret derivation, but you wont notice because security in surespot is
|
|
built-in, not a layer over something else. Be confident sending private
|
|
information and pictures, you have control over your messages, when you delete a
|
|
sent message it will be removed from the receiver's phone and images are not
|
|
shareable unless you make them so. Multiple identities allow you to be who you
|
|
want with just who you want, and if anyone gets annoying you can block them.
|
|
Surespot does not require or store your phone number or email address and we
|
|
don't mine your data, no advertisements here!
|
|
|
|
'''WARNING'''
|
|
|
|
This build recipe is complex and error-prone and might include unchecked
|
|
binaries. Use it only at your own risk.
|
|
.
|
|
|
|
Repo Type:git
|
|
Repo:https://github.com/surespot/android.git
|
|
|
|
Build:61-fdroid,61
|
|
disable=builds, but includes jars
|
|
commit=4b9219e86c62208ebe1ca0cf48afa0cf15c34251
|
|
subdir=surespot
|
|
gradle=yes
|
|
forceversion=yes
|
|
prebuild=rm 'src/main/res/raw/ffmpegpie' && \
|
|
rm 'src/main/res/raw/ffmpeg' && \
|
|
touch 'src/main/res/raw/ffmpegpie' && \
|
|
touch 'src/main/res/raw/ffmpeg' && \
|
|
sed -i -e 's#com.google.android.gms:play-services-drive:7.5.0#com.android.support:support-v4:22.2.0#' build.gradle && \
|
|
mkdir -p ../surespotcommon/src/main/res/raw && \
|
|
sed -i -e 's#Build.VERSION_CODES.M#23#' src/main/java/com/twofours/surespot/identity/IdentityController.java && \
|
|
printf 'ssl_strict=true\nbaseUrl=https://server.surespot.me:443\n' > ../surespotcommon/src/main/res/raw/configuration.properties && \
|
|
sed -i -e 's#import java.util.Properties;#import java.util.Properties;\nimport com.twofours.surespot.common.R;\n#g' ../surespotcommon/src/main/java/com/twofours/surespot/common/SurespotConfiguration.java && \
|
|
pushd src/main/java/com/twofours/surespot/backup/ && \
|
|
sed -i -e '/import com.google.android.gms/d' -e 's#GoogleAuthUtil.GOOGLE_ACCOUNT_TYPE#"dummy"#' -e '/AccountPicker.newChooseAccountIntent/d' ImportIdentityActivity.java ExportIdentityActivity.java && \
|
|
cat ImportIdentityActivity.java | grep -v '\snull);' > ImportIdentityActivity.java_ && \
|
|
mv ImportIdentityActivity.java_ ImportIdentityActivity.java && \
|
|
sed -i -e 's#ActivityNotFoundException e#Exception e#' ExportIdentityActivity.java ImportIdentityActivity.java && \
|
|
sed -i -e 's#startActivityForResult(accountPickerIntent, SurespotConstants.IntentRequestCodes.CHOOSE_GOOGLE_ACCOUNT);#System.out.println("dummy");#' ExportIdentityActivity.java ImportIdentityActivity.java && \
|
|
popd && \
|
|
sed -i -e 's#android {#android {\nlintOptions {\nabortOnError false\n}\n#' build.gradle
|
|
|
|
Build:63-fdroid,63
|
|
commit=aa83369736b7533cb8ab824ee36be032b40271bf
|
|
subdir=surespot
|
|
patch=Ex-63.patch,Im-63.patch
|
|
gradle=yes
|
|
srclibs=gcm@7f647288103bac2c5552af881f0e217c5b95d78a
|
|
rm=.google_apis/._.DS_Store,._.DS_Store,surespot/libs/*,surespot/src/main/res/raw/ffmpegpie,surespot/src/main/res/raw/ffmpeg,surespotcommon/libs/*.jar
|
|
prebuild=pwd && \
|
|
touch src/main/res/raw/ffmpegpie src/main/res/raw/ffmpeg && \
|
|
sed -i -e 's#com.google.android.gms:play-services-drive:7.8.0#com.android.support:support-v4:19.0.1#' build.gradle && \
|
|
mkdir -p ../surespotcommon/src/main/res/raw && \
|
|
sed -i -e 's#Build.VERSION_CODES.M#23#' src/main/java/com/twofours/surespot/identity/IdentityController.java && \
|
|
printf 'ssl_strict=true\nbaseUrl=https://server.surespot.me:443\n' > ../surespotcommon/src/main/res/raw/configuration.properties && \
|
|
sed -i -e 's#import java.util.Properties;#import java.util.Properties;\nimport com.twofours.surespot.common.R;\n#g' ../surespotcommon/src/main/java/com/twofours/surespot/common/SurespotConfiguration.java && \
|
|
sed -i -e 's#@integer/google_play_services_version#4030500#' src/main/AndroidManifest.xml && \
|
|
awk 'NR<=21||NR>=62' proguard-project.txt > proguard-project.txt_ && \
|
|
mv proguard-project.txt_ proguard-project.txt && \
|
|
sed -i -e 's#import org.acra.ACRA;##' ../androidasynchttp/src/main/java/com/loopj/android/http/AsyncHttpRequest.java src/main/java/com/twofours/surespot/SurespotApplication.java && \
|
|
sed -i -e 's#import org.acra.ReportingInteractionMode;##' -e 's#import org.acra.annotation.ReportsCrashes;##' -e 's#ACRA.init(this);##' -e 's#@ReportsCrashes#// @ReportsCrashes#' -e 's#formUri = "ht#// formUri = "ht#' src/main/java/com/twofours/surespot/SurespotApplication.java && \
|
|
sed -i -e 's#compile files(.libs/gcm.jar.)##' -e 's#compile files(.*libs.*)##' -e 's#android {#android {\nlintOptions {\nabortOnError false\n}\n#' build.gradle && \
|
|
sed -i -e 's#javaMaxHeapSize .*##' build.gradle && \
|
|
rm src/main/java/com/twofours/surespot/backup/DriveHelper.java && \
|
|
cp -av $$gcm$$/gcm-client-deprecated/src/com src/main/java/ && \
|
|
pushd ../ && \
|
|
find .google_apis -name '*.jar' -exec rm {} \; && \
|
|
popd && \
|
|
sed -i -e '/support-v4/acompile "com.madgag:scprov-jdk15on:1.47.0.3"\ncompile "com.madgag:sc-light-jdk15on:1.47.0.3"' -e '/compile files/d' build.gradle && \
|
|
sed -i -e '/surespotcommon/acompile "com.madgag:scprov-jdk15on:1.47.0.3"\ncompile "com.madgag:sc-light-jdk15on:1.47.0.3"' -e '/compile files/d' ../androidkeystore/build.gradle
|
|
novcheck=yes
|
|
|
|
Maintainer Notes:
|
|
* Voice function removed
|
|
* Export/Import of Identityfile removed (for now)
|
|
* Enable build for testing purpose
|
|
.
|
|
|
|
Archive Policy:0 versions
|
|
Auto Update Mode:None
|
|
Update Check Mode:Tags
|
|
Current Version:63-fdroid
|
|
Current Version Code:63
|