Tinfoil-SMS: Try to remove jars.
This commit is contained in:
parent
d09f18ac85
commit
335880492e
|
@ -3,12 +3,15 @@ License:GPLv3
|
||||||
Web Site:http://tinfoilhat.github.io/tinfoil-sms
|
Web Site:http://tinfoilhat.github.io/tinfoil-sms
|
||||||
Source Code:https://github.com/tinfoilhat/tinfoil-sms
|
Source Code:https://github.com/tinfoilhat/tinfoil-sms
|
||||||
Issue Tracker:https://github.com/tinfoilhat/tinfoil-sms/issues
|
Issue Tracker:https://github.com/tinfoilhat/tinfoil-sms/issues
|
||||||
|
Donate:https://tinfoilhat.github.io/tinfoil-sms/#donate
|
||||||
|
|
||||||
Auto Name:Tinfoil-SMS
|
Auto Name:Tinfoil-SMS
|
||||||
Summary:Encrypt text messages
|
Summary:Encrypt text messages
|
||||||
Description:
|
Description:
|
||||||
Tinfoil-SMS encrypts your texts. It uses 256 bit ECC public keys as well
|
Tinfoil-SMS encrypts your texts. It uses 256 bit ECC public keys as well
|
||||||
as a unique signed key exchange to prevent any "man-in-the-middle" attacks.
|
as a unique signed key exchange to prevent any "man-in-the-middle" attacks.
|
||||||
|
|
||||||
|
WARNING! THIS BUILD USES BINARY FILES FROM UPSTREAM!
|
||||||
.
|
.
|
||||||
|
|
||||||
Repo Type:git
|
Repo Type:git
|
||||||
|
@ -23,25 +26,19 @@ Build:1.3.1,16
|
||||||
prebuild=cp $$Orwell$$/libs/bcprov-jdk15on-150.jar $$Orwell$$/../bin/orwell-1.1.jar libs/
|
prebuild=cp $$Orwell$$/libs/bcprov-jdk15on-150.jar $$Orwell$$/../bin/orwell-1.1.jar libs/
|
||||||
scanignore=resources
|
scanignore=resources
|
||||||
|
|
||||||
Build:1.4.0+-fdroid,20
|
Build:1.4.0,20
|
||||||
disable=orwell and bc/sc fail to build
|
disable=builds, but orwell and bcprob are binaries
|
||||||
commit=v1.4.0-fdroid
|
commit=cfe99a6264af818521d1ed6c3f9c18b4089b5f8b
|
||||||
srclibs=1:NineOldAndroids@2.4.0,2:Orwell@v1.1,BouncyCastle@r1rv50,StrippedCastle@r1rv50
|
srclibs=1:NineOldAndroids@2.4.0,Orwell@v1.1
|
||||||
rm=libs/*
|
rm=libs/*
|
||||||
extlibs=android/android-support-v4.jar
|
extlibs=android/android-support-v4.jar
|
||||||
prebuild=echo -e 'java.source=1.7\njava.target=1.7' > ant.properties && echo -e 'java.source=1.7\njava.target=1.7' > $$Orwell$$/ant.properties && rm $$Orwell$$/../bin/orwell-1.1.jar && rm -fR $$Orwell$$/src/com/orwell/test && rm -fR $$Orwell$$/src/org/junit && cp $$Orwell$$/libs/bcprov-jdk15on-150.jar libs/
|
prebuild=cp $$Orwell$$/../bin/orwell*jar $$Orwell$$/libs/bcprov*jar libs/
|
||||||
scanignore=resources
|
|
||||||
|
|
||||||
Maintainer Notes:
|
Maintainer Notes:
|
||||||
|
* Use commits from master-fdroid ...
|
||||||
bcprov cannot be replaced with..
|
* ... or v.v.v-fdroid tags.
|
||||||
.. bouncycastle sourcebuild
|
* orwell and bcprov fail to build from source
|
||||||
.. bouncycastle jar release
|
* Patch to switch to gradle is included, wait for Orwell's issue #2.
|
||||||
.. strippedcastle sourcebuild
|
|
||||||
|
|
||||||
it currently works with bcprov jar provided by orwell
|
|
||||||
|
|
||||||
orwell itself fails to build
|
|
||||||
.
|
.
|
||||||
|
|
||||||
Auto Update Mode:None
|
Auto Update Mode:None
|
||||||
|
|
74
metadata/com.tinfoil.sms/tinfoilsms-gradle.patch
Normal file
74
metadata/com.tinfoil.sms/tinfoilsms-gradle.patch
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
diff --git a/build.gradle b/build.gradle
|
||||||
|
index e69de29..1cef4c8 100644
|
||||||
|
--- a/build.gradle
|
||||||
|
+++ b/build.gradle
|
||||||
|
@@ -0,0 +1,69 @@
|
||||||
|
+buildscript {
|
||||||
|
+ repositories {
|
||||||
|
+ mavenCentral()
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ dependencies {
|
||||||
|
+ classpath 'com.android.tools.build:gradle:0.12.2'
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+apply plugin: 'com.android.application'
|
||||||
|
+
|
||||||
|
+android {
|
||||||
|
+ compileSdkVersion 19
|
||||||
|
+ buildToolsVersion '19.1'
|
||||||
|
+
|
||||||
|
+ defaultConfig {
|
||||||
|
+ minSdkVersion 9
|
||||||
|
+ targetSdkVersion 19
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ compileOptions {
|
||||||
|
+ sourceCompatibility JavaVersion.VERSION_1_7
|
||||||
|
+ targetCompatibility JavaVersion.VERSION_1_7
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ packagingOptions {
|
||||||
|
+ exclude 'META-INF/LICENSE.txt'
|
||||||
|
+ exclude 'META-INF/NOTICE.txt'
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ sourceSets {
|
||||||
|
+ main {
|
||||||
|
+ manifest.srcFile 'AndroidManifest.xml'
|
||||||
|
+ java.srcDirs = ['src']
|
||||||
|
+ resources.srcDirs = ['src']
|
||||||
|
+ aidl.srcDirs = ['src']
|
||||||
|
+ renderscript.srcDirs = ['src']
|
||||||
|
+ res.srcDirs = ['res']
|
||||||
|
+ assets.srcDirs = ['assets']
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ lintOptions {
|
||||||
|
+ abortOnError false
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ repositories {
|
||||||
|
+ mavenCentral()
|
||||||
|
+ mavenLocal()
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ dependencies {
|
||||||
|
+ compile 'com.nineoldandroids:library:2.4.0'
|
||||||
|
+ compile 'com.android.support:support-v4:19.0.+'
|
||||||
|
+ compile 'com.madgag.spongycastle:core:1.51.0.0'
|
||||||
|
+ compile 'com.madgag.spongycastle:prov:1.51.0.0'
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+}
|
|
@ -2,4 +2,4 @@ Repo Type:git
|
||||||
Repo:https://github.com/gnu-user/orwell.git
|
Repo:https://github.com/gnu-user/orwell.git
|
||||||
|
|
||||||
Subdir:Orwell
|
Subdir:Orwell
|
||||||
|
Prepare:rm -fR src/com/orwell/test src/org/junit && echo -e 'java.source=1.7\njava.target=1.7' > ant.properties
|
||||||
|
|
Loading…
Reference in a new issue