mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
c0bc3afda9
Like with the App class in the commit before, this makes it a lot easier to work with this data when converting between the internal formats and external formats like YAML, JSON, MsgPack, protobuf, etc. The one unfortunate thing here is Build.update. It becomes dict.update(), which is a method not an attribute. build.get('update') or build['update'] could be used, but that would be oddly inconsistent. So instead the field is renamed to 'androidupdate', except for in the .txt v0 metadata files. This better describes what field does anyway, since it runs `android update`. Build.update is only referenced in two places right next to each other for the ant builds, so this change still seems worthwhile.
285 lines
11 KiB
JSON
285 lines
11 KiB
JSON
{
|
|
"AutoName": "AdAway",
|
|
"AutoUpdateMode": "Version v%v",
|
|
"Categories": ["System", "Security"],
|
|
"CurrentVersion": "3.0",
|
|
"CurrentVersionCode": 52,
|
|
"Description": [
|
|
"An ad blocker that uses the hosts file. The hosts file",
|
|
"contains a list of mappings between hostnames and IP addresses. When",
|
|
"an app requests an ad, that request is directed to 127.0.0.1 which does",
|
|
"nothing. There are options to run a web server",
|
|
"to respond to blocked hostnames and to direct requests to the IP",
|
|
"address of your choosing. You can download hosts files from the",
|
|
"app but it is possible to use your own and to add certain sites",
|
|
"to the white- and black-lists.",
|
|
"",
|
|
"[https://github.com/dschuermann/ad-away/raw/HEAD/CHANGELOG Changelog]",
|
|
"",
|
|
"Requires root: Yes. The hosts files is located in /system which is normally",
|
|
"read-only."
|
|
],
|
|
"Donate": "http://sufficientlysecure.org/index.php/adaway",
|
|
"FlattrID": "369138",
|
|
"IssueTracker": "https://github.com/dschuermann/ad-away/issues",
|
|
"License": "GPLv3",
|
|
"Provides": "org.sufficientlysecure.adaway",
|
|
"Repo": "https://github.com/dschuermann/ad-away.git",
|
|
"RepoType": "git",
|
|
"RequiresRoot": true,
|
|
"SourceCode": "https://github.com/dschuermann/ad-away",
|
|
"Summary": "Block advertisements",
|
|
"UpdateCheckMode": "Tags",
|
|
"WebSite": "http://sufficientlysecure.org/index.php/adaway",
|
|
|
|
"builds": [
|
|
{
|
|
"buildjni": true,
|
|
"commit": "ea5378a94ee0dc1d99d2cec95fae7e6d81afb2b9",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 13,
|
|
"versionName": "1.12"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "4128e59da2eac5c2904c7c7568d298ca51e79540",
|
|
"patch": ["defprop.patch"],
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 16,
|
|
"versionName": "1.15"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "0b9985398b9eef7baf6aadd0dbb12002bc199d2e",
|
|
"patch": ["defprop.patch"],
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 19,
|
|
"versionName": "1.18"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "ab27f4dab5f3ea5e228cfb4a6b0e1fbf53695f22",
|
|
"patch": ["defprop.patch"],
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 20,
|
|
"versionName": "1.19"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "695e3801e4081026c8f7213a2345fc451d5eb89c",
|
|
"patch": ["defprop.patch"],
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 21,
|
|
"versionName": "1.20"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "65138c11cc8b6affd28b68e125fbc1dff0886a4e",
|
|
"patch": ["defprop.patch"],
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 22,
|
|
"versionName": "1.21"
|
|
},
|
|
{
|
|
"commit": "unknown - see disabled",
|
|
"disable": "no source in repo",
|
|
"versionCode": 24,
|
|
"versionName": "1.23"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "f811e53e1e1d2ee047b18715fd7d2072b90ae76b",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 25,
|
|
"versionName": "1.24"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "ff97932761cdee68638dc2550751a64b2cbe18e7",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 26,
|
|
"versionName": "1.25"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "33d4d80998f30bafc88c04c80cbae00b03916f99",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 27,
|
|
"versionName": "1.26"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "743d25a7e287505461f33f4b8e57e4cf988fffea",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 28,
|
|
"versionName": "1.27"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "eaa07f4",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/*",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 30,
|
|
"versionName": "1.29"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "71ced3f",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && rm libs/android-support-v4.jar",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 33,
|
|
"versionName": "1.32"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "9d63c18",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/*",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 34,
|
|
"versionName": "1.33"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "f2568b1",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 35,
|
|
"versionName": "1.34"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "7442d5d",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 36,
|
|
"versionName": "1.35"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "83fc713",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 37,
|
|
"versionName": "1.36"
|
|
},
|
|
{
|
|
"buildjni": false,
|
|
"commit": "70da32b567122b701cdcb1609b780eb85732028f",
|
|
"prebuild": "android update project -p ../com_actionbarsherlock && rm -rf libs/armeabi/* && android update project -p ../org_donations",
|
|
"subdir": "org_adaway/",
|
|
"versionCode": 38,
|
|
"versionName": "1.37"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.1",
|
|
"extlibs": ["htmlcleaner/htmlcleaner-2.2.jar"],
|
|
"init": "rm android-libs/Donations/custom_rules.xml && git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner",
|
|
"prebuild": "rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar && cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ && echo \"android.library.reference.3=$$RootCommands$$\" >> project.properties && echo \"android.library.reference.4=android-libs/HtmlSpanner/htmlspanner\" >> project.properties && find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' && cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/",
|
|
"srclibs": ["RootCommands@c940b0e503"],
|
|
"subdir": "AdAway",
|
|
"androidupdate": [".",
|
|
"android-libs/Donations",
|
|
"android-libs/ActionBarSherlock",
|
|
"android-libs/HtmlSpanner/htmlspanner"],
|
|
"versionCode": 40,
|
|
"versionName": "2.1"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.3",
|
|
"extlibs": ["htmlcleaner/htmlcleaner-2.2.jar"],
|
|
"init": "rm android-libs/Donations/custom_rules.xml && git clone https://github.com/dschuermann/HtmlSpanner android-libs/HtmlSpanner",
|
|
"prebuild": "rm -rf ../update_zip libs/root-commands-1.2.jar libs/htmlspanner-0.2-fork.jar && cp -f libs/htmlcleaner-2.2.jar android-libs/HtmlSpanner/htmlspanner/libs/ && echo \"android.library.reference.3=$$RootCommands$$\" >> project.properties && echo \"android.library.reference.4=android-libs/HtmlSpanner/htmlspanner\" >> project.properties && find . -type f -print0 | xargs -0 sed -i 's/org.rootcommands/org.sufficientlysecure.rootcommands/g' && cp android-libs/Donations/ant-templates/other/DonationsConfig.java android-libs/Donations/src/org/donations/",
|
|
"srclibs": ["RootCommands@c940b0e503"],
|
|
"subdir": "AdAway",
|
|
"androidupdate": [".",
|
|
"android-libs/Donations",
|
|
"android-libs/ActionBarSherlock",
|
|
"android-libs/HtmlSpanner/htmlspanner"],
|
|
"versionCode": 42,
|
|
"versionName": "2.3"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.6",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 45,
|
|
"versionName": "2.6"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.7",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 46,
|
|
"versionName": "2.7"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.8",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 47,
|
|
"versionName": "2.8"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.8.1",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 48,
|
|
"versionName": "2.8.1"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.9",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 49,
|
|
"versionName": "2.9"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.9.1",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 50,
|
|
"versionName": "2.9.1"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v2.9.2",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 51,
|
|
"versionName": "2.9.2"
|
|
},
|
|
{
|
|
"buildjni": true,
|
|
"commit": "v3.0",
|
|
"gradle": true,
|
|
"preassemble": ["renameExecutables"],
|
|
"subdir": "AdAway",
|
|
"versionCode": 52,
|
|
"versionName": "3.0"
|
|
}
|
|
],
|
|
"comments": {
|
|
"build:40": ["#RootCommands srclib needs changing on fdroidserver"],
|
|
"build:42": ["#RootCommands srclib needs changing on fdroidserver"]
|
|
}
|
|
}
|