Added upstream repo for F-Droid #12

Closed
iamflorencejay wants to merge 5 commits from master into master
20 changed files with 1773 additions and 0 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
fdroid/archive/index-v1.jar Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
{"repo": {"timestamp": 1613052360000, "version": 21, "name": "LBRY archive repository", "icon": "lbry-icon.png", "address": "https://github.com/lbryio/lbry-fdroid/fdroid/archive", "description": "An Android browser and wallet for the LBRY network. "}, "requests": {"install": [], "uninstall": []}, "apps": [], "packages": {}}

BIN
fdroid/archive/index.jar Normal file

Binary file not shown.

1
fdroid/archive/index.xml Normal file
View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><fdroid><repo name="LBRY archive repository" icon="lbry-icon.png" url="https://github.com/lbryio/lbry-fdroid/fdroid/archive" version="21" timestamp="1613052360" pubkey="308204eb308202d3a00302010202044545863a300d06092a864886f70d01010b050030263110300e060355040b1307462d44726f696431123010060355040313096c6f63616c686f7374301e170d3231303231313134303331325a170d3438303632393134303331325a30263110300e060355040b1307462d44726f696431123010060355040313096c6f63616c686f737430820222300d06092a864886f70d01010105000382020f003082020a028202010080fdbc3e22daa5cf8ddaeaee18b7686372b42a5f6be5aa4dab7930de2ad4b586673f99cc78848e7940047423657006918bc833a836e4f3e1b56a6fe68fdddf55b90cc4b523ef40f251613b0972d3b83765d48a14361c80248ac169e3d4b4105a231aabf60bae159da3dff43f1e56d0a545995059ec7d880df80481ecd35de7c5dc241595eaaf1d7c081401b9b72a08fa9deeb19015f776588cde6964f65e9512c99d1e9239ae25208711072ac7dfe1cd52cff1a21a7fd67afd894dc4635580d8113a54365fac0441e283cbecd67d6ee1fb9ae93e4f10a8aad6bbe16bc0c6b090660c86f9397a5df685fd3f8558c1d147dad40f3958c223d36ba3c41b036347eb6493067215be007b3e1be76a545cf49eae300315233adcc2941939c3248a492fb51013eafa7b09ee6829c747bc75d01501dff73a4633014566e506946b09e4399db6c4072290745ebe6252dc66e2449612fcce0e216cece19c358bf71d14babe71ac561555147813cd0f3e4165c77b172c4fc1e51c525e4d59eff21473f271d2153f084b7f30594ce6ca33525414b8773ead0838b6693e64e1d4607016f9fd2672499f108c52d8b40e49a597c36316cf78f654f66f33fd3ac3623c60d5bd25e2e0e05f69406d2059470b8f1deff29a0dbcf7f1a3f16142c6c57a41b12101d83a35abbc4dfdb9185cebc68d44701f8ac8390ce3bdafb59ad5613fd3b8698b13c30203010001a321301f301d0603551d0e041604145dd4046b24704132081ca22fc575caed181b81ef300d06092a864886f70d01010b0500038202010039b021a9a478b4719ca553abcf890360a8b22204dac0efca574541dfa036b1f1e31046d8df707b2782680ef36b1822d2fe081d0f9bd6570b62736fe6330beaf8b5889b157ae4bdca8e8dd526972c28a7a6685eb4740f1d2b16fd40984045215ee84fd340b6855ab2e696d39645a0863563010b864d3695bc8d26e7525df96cbadd6877d81b1663338f02881c8a9192deecadbcc14efec3ad3e50d5f61efdbbec4899a4cf488187559147be2fb120636d5fe9ef54f88b8df36306f1ba14b8313ce6816264490e3572411c624f132c12bd6a53d639f5ca818a929fcca2594ba56d49aa85941f368aadbe7faab41e931181b1dd573e677789055b8eceb2c75f419862b448c37ef7b181879d94201a4e0e0449826b2ac260e5d5284a60a13d89722d4185c980a675222e9a35648e9d1a80eb59936014639a6af6fcf0ff5e66c254c7ba32e852d0419324d683f6d3355a6e50d1639481994cc67d858db1c98982e9beb43dc2b7f6170e8325b7ba73969120a8cd2e0a13763c3d13eeb6fdc34da5997c90d565bdd4ad8488ed356e2163bc3e8192fe7cc7067a7c3764e0279a4c8084e1128fb5620fb74317a2945c5a52a16f9ea379fb3b0622a8972f9bff33616a1b1fbe70000701c6b0b49ff23897627b97aac89449d20a74a5e659d710b17865aad29bbb2bc67be8273d28b45deae3453fb5cc4aa9a0a9c3565d99c32ade0f9af093"><description>An Android browser and wallet for the LBRY network. </description></repo></fdroid>

263
fdroid/config.py Normal file
View file

@ -0,0 +1,263 @@
#!/usr/bin/env python3
# Copy this file to config.py, then amend the settings below according to
# your system configuration.
# Custom path to the Android SDK, defaults to $ANDROID_HOME
# sdk_path = "$ANDROID_HOME"
# Custom paths to various versions of the Android NDK, defaults to 'r12b' set
# to $ANDROID_NDK. Most users will have the latest at $ANDROID_NDK, which is
# used by default. If a version is missing or assigned to None, it is assumed
# not installed.
# ndk_paths = {
# 'r9b': None,
# 'r10e': None,
# 'r11c': None,
# 'r12b': "$ANDROID_NDK",
kekkyojin commented 2021-02-13 04:43:22 +01:00 (Migrated from github.com)
Review

That's not the NDK version being used for LBRY

That's not the NDK version being used for LBRY
# }
# java_paths = {
# '1.8': "/usr/lib/jvm/java-8-openjdk",
# }
# Build tools version to be used
# build_tools = "24.0.2"
# Force all build to use the above version of build -tools, good for testing
# builds without having all of the possible build-tools installed.
# force_build_tools = True
# Command or path to binary for running Ant
# ant = "ant"
# Command or path to binary for running maven 3
# mvn3 = "mvn"
# Command or path to binary for running Gradle
# gradle = "gradle"
# Set the maximum age (in days) of an index that a client should accept from
# this repo. Setting it to 0 or not setting it at all disables this
# functionality. If you do set this to a non-zero value, you need to ensure
# that your index is updated much more frequently than the specified interval.
# The same policy is applied to the archive repo, if there is one.
# repo_maxage = 0
repo_url = "https://github.com/lbryio/lbry-fdroid/fdroid/repo"
repo_name = "LBRY upstream repository"
repo_icon = "lbry-icon.png"
repo_description = """
An Android browser and wallet for the LBRY network.
"""
# As above, but for the archive repo.
# archive_older sets the number of versions kept in the main repo, with all
# older ones going to the archive. Set it to 0, and there will be no archive
# repository, and no need to define the other archive_ values.
archive_older = 3
archive_url = "https://github.com/lbryio/lbry-fdroid/fdroid/archive"
archive_name = "LBRY archive repository"
archive_icon = "lbry-icon.png"
archive_description = """
An Android browser and wallet for the LBRY network.
"""
# Normally, all apps are collected into a single app repository, like on
# https://f-droid.org. For certain situations, it is better to make a repo
# that is made up of APKs only from a single app. For example, an automated
# build server that publishes nightly builds.
# per_app_repos = True
# `fdroid update` will create a link to the current version of a given app.
# This provides a static path to the current APK. To disable the creation of
# this link, uncomment this:
# make_current_version_link = False
# By default, the "current version" link will be based on the "Name" of the
# app from the metadata. You can change it to use a different field from the
# metadata here:
# current_version_name_source = 'id'
# Optionally, override home directory for gpg
# gpghome = /home/fdroid/somewhere/else/.gnupg
# The ID of a GPG key for making detached signatures for apks. Optional.
# gpgkey = '1DBA2E89'
# The key (from the keystore defined below) to be used for signing the
# repository itself. This is the same name you would give to keytool or
# jarsigner using -alias. (Not needed in an unsigned repository).
repo_keyalias = "lbry"
# Optionally, the public key for the key defined by repo_keyalias above can
# be specified here. There is no need to do this, as the public key can and
# will be retrieved from the keystore when needed. However, specifying it
# manually can allow some processing to take place without access to the
# keystore.
# repo_pubkey = "..."
# The keystore to use for release keys when building. This needs to be
# somewhere safe and secure, and backed up! The best way to manage these
# sensitive keys is to use a "smartcard" (aka Hardware Security Module). To
# configure F-Droid to use a smartcard, set the keystore file using the keyword
# "NONE" (i.e. keystore = "NONE"). That makes Java find the keystore on the
# smartcard based on 'smartcardoptions' below.
# keystore = "~/.local/share/fdroidserver/keystore.jks"
# You should not need to change these at all, unless you have a very
# customized setup for using smartcards in Java with keytool/jarsigner
# smartcardoptions = "-storetype PKCS11 -providerName SunPKCS11-OpenSC \
# -providerClass sun.security.pkcs11.SunPKCS11 \
# -providerArg opensc-fdroid.cfg"
# The password for the keystore (at least 6 characters). If this password is
# different than the keypass below, it can be OK to store the password in this
# file for real use. But in general, sensitive passwords should not be stored
# in text files!
keystorepass = "fY1Y1tAegMrzZcQTgrs/7tcpOLSa+sg80JnbZnKpAYI="
kekkyojin commented 2021-02-13 04:42:57 +01:00 (Migrated from github.com)
Review

I am not a DevOp or SecOp, but this would allow anyone to get the signing key used to sign the APK. That should not be published.

I am not a DevOp or SecOp, but this would allow anyone to get the signing key used to sign the APK. That should not be published.
# The password for keys - the same is used for each auto-generated key as well
# as for the repository key. You should not normally store this password in a
# file since it is a sensitive password.
keypass = "fY1Y1tAegMrzZcQTgrs/7tcpOLSa+sg80JnbZnKpAYI="
kekkyojin commented 2021-02-13 04:43:04 +01:00 (Migrated from github.com)
Review

Same here

Same here
# The distinguished name used for all keys.
keydname = "CN=lbry.com, OU=LBRY Inc. C=US"
# Use this to override the auto-generated key aliases with specific ones
# for particular applications. Normally, just leave it empty.
# keyaliases = {}
# keyaliases['com.example.app'] = 'example'
# You can also force an app to use the same key alias as another one, using
# the @ prefix.
# keyaliases['com.example.another.plugin'] = '@com.example.another'
# The full path to the root of the repository. It must be specified in
# rsync/ssh format for a remote host/path. This is used for syncing a locally
# generated repo to the server that is it hosted on. It must end in the
# standard public repo name of "/fdroid", but can be in up to three levels of
# sub-directories (i.e. /var/www/packagerepos/fdroid). You can include
# multiple servers to sync to by wrapping the whole thing in {} or [], and
# including the serverwebroot strings in a comma-separated list.
#
# serverwebroot = 'user@example:/var/www/fdroid'
# serverwebroot = {
# 'foo.com:/usr/share/nginx/www/fdroid',
# 'bar.info:/var/www/fdroid',
# }
# Any mirrors of this repo, for example all of the servers declared in
# serverwebroot, will automatically be used by the client. If one
# mirror is not working, then the client will try another. If the
# client has Tor enabled, then the client will prefer mirrors with
# .onion addresses. This base URL will be used for both the main repo
# and the archive, if it is enabled. So these URLs should end in the
# 'fdroid' base of the F-Droid part of the web server like serverwebroot.
#
# mirrors = {
# 'https://foo.bar/fdroid',
# 'http://foobarfoobarfoobar.onion/fdroid',
# }
# optionally specific which identity file to use when using rsync over SSH
#
# identity_file = '~/.ssh/fdroid_id_rsa'
# If you are running the repo signing process on a completely offline machine,
# which provides the best security, then you can specify a folder to sync the
# repo to when running `fdroid server update`. This is most likely going to
# be a USB thumb drive, SD Card, or some other kind of removable media. Make
# sure it is mounted before running `fdroid server update`. Using the
# standard folder called 'fdroid' as the specified folder is recommended, like
# with serverwebroot.
#
# local_copy_dir = '/media/MyUSBThumbDrive/fdroid'
# If you are using local_copy_dir on an offline build/signing server, once the
# thumb drive has been plugged into the online machine, it will need to be
# synced to the copy on the online machine. To make that happen
# automatically, set sync_from_local_copy_dir to True:
#
# sync_from_local_copy_dir = True
# To upload the repo to an Amazon S3 bucket using `fdroid server update`.
# Warning, this deletes and recreates the whole fdroid/ directory each
# time. This is based on apache-libcloud, which supports basically all cloud
# storage services, so it should be easy to port the fdroid server tools to
# any of them.
#
# awsbucket = 'myawsfdroid'
# awsaccesskeyid = 'SEE0CHAITHEIMAUR2USA'
# awssecretkey = 'yourverysecretkeywordpassphraserighthere'
# If you want to force 'fdroid server' to use a non-standard serverwebroot
#
# nonstandardwebroot = False
# The build logs can be posted to a mediawiki instance, like on f-droid.org.
# wiki_protocol = "http"
# wiki_server = "server"
# wiki_path = "/wiki/"
# wiki_user = "login"
# wiki_password = "1234"
# Only set this to true when running a repository where you want to generate
# stats, and only then on the master build servers, not a development
# machine.
# update_stats = True
# When used with stats, this is a list of IP addresses that are ignored for
# calculation purposes.
# stats_ignore = []
# Server stats logs are retrieved from. Required when update_stats is True.
# stats_server = "example.com"
# User stats logs are retrieved from. Required when update_stats is True.
# stats_user = "bob"
# Use the following to push stats to a Carbon instance:
# stats_to_carbon = False
# carbon_host = '0.0.0.0'
# carbon_port = 2003
# Set this to true to always use a build server. This saves specifying the
# --server option on dedicated secure build server hosts.
# build_server_always = True
# By default, fdroid will use YAML .yml and the custom .txt metadata formats. It
# is also possible to have metadata in JSON and XML by adding 'json' and
# 'xml'.
# accepted_formats = ['txt', 'yml']
# Limit in number of characters that fields can take up
# Only the fields listed here are supported, defaults shown
# char_limits = {
# 'Summary': 80,
# 'Description': 4000,
# }
# It is possible for the server operator to specify lists of apps that
# must be installed or uninstalled on the client (aka "push installs).
# If the user has opted in, or the device is already setup to respond
# to these requests, then F-Droid will automatically install/uninstall
# the packageNames listed. This is protected by the same signing key
# as the app index metadata.
#
# install_list = {
# 'at.bitfire.davdroid',
# 'com.fsck.k9',
# 'us.replicant',
# }
#
# uninstall_list = {
# 'com.facebook.orca',
# 'com.android.vending',
# }

BIN
fdroid/keystore.jks Normal file

Binary file not shown.

Binary file not shown.

BIN
fdroid/lbry-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -0,0 +1,23 @@
Categories:
- Internet
License: MIT
SourceCode: https://github.com/lbryio/lbry-fdroid
IssueTracker: https://github.com/lbryio/lbry-fdroid/issues
AutoName: LBRY
RepoType: git
Repo: https://github.com/lbryio/lbry-fdroid
Builds:
kekkyojin commented 2021-02-13 04:42:33 +01:00 (Migrated from github.com)
Review

This will not build LBRY

This will not build LBRY
- versionName: 0.16.15
versionCode: 1615
disable: Generated by import.py - check/set version fields and commit id
commit: '?'
gradle:
- yes
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 0.16.15
CurrentVersionCode: 1615

View file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

BIN
fdroid/repo/index-v1.jar Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
{"repo": {"timestamp": 1613052354000, "version": 21, "name": "LBRY upstream repository", "icon": "lbry-icon.png", "address": "https://github.com/lbryio/lbry-fdroid/fdroid/repo", "description": "An Android browser and wallet for the LBRY network. "}, "requests": {"install": [], "uninstall": []}, "apps": [], "packages": {}}

BIN
fdroid/repo/index.jar Normal file

Binary file not shown.

1
fdroid/repo/index.xml Normal file
View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><fdroid><repo name="LBRY upstream repository" icon="lbry-icon.png" url="https://github.com/lbryio/lbry-fdroid/fdroid/repo" version="21" timestamp="1613052354" pubkey="308204eb308202d3a00302010202044545863a300d06092a864886f70d01010b050030263110300e060355040b1307462d44726f696431123010060355040313096c6f63616c686f7374301e170d3231303231313134303331325a170d3438303632393134303331325a30263110300e060355040b1307462d44726f696431123010060355040313096c6f63616c686f737430820222300d06092a864886f70d01010105000382020f003082020a028202010080fdbc3e22daa5cf8ddaeaee18b7686372b42a5f6be5aa4dab7930de2ad4b586673f99cc78848e7940047423657006918bc833a836e4f3e1b56a6fe68fdddf55b90cc4b523ef40f251613b0972d3b83765d48a14361c80248ac169e3d4b4105a231aabf60bae159da3dff43f1e56d0a545995059ec7d880df80481ecd35de7c5dc241595eaaf1d7c081401b9b72a08fa9deeb19015f776588cde6964f65e9512c99d1e9239ae25208711072ac7dfe1cd52cff1a21a7fd67afd894dc4635580d8113a54365fac0441e283cbecd67d6ee1fb9ae93e4f10a8aad6bbe16bc0c6b090660c86f9397a5df685fd3f8558c1d147dad40f3958c223d36ba3c41b036347eb6493067215be007b3e1be76a545cf49eae300315233adcc2941939c3248a492fb51013eafa7b09ee6829c747bc75d01501dff73a4633014566e506946b09e4399db6c4072290745ebe6252dc66e2449612fcce0e216cece19c358bf71d14babe71ac561555147813cd0f3e4165c77b172c4fc1e51c525e4d59eff21473f271d2153f084b7f30594ce6ca33525414b8773ead0838b6693e64e1d4607016f9fd2672499f108c52d8b40e49a597c36316cf78f654f66f33fd3ac3623c60d5bd25e2e0e05f69406d2059470b8f1deff29a0dbcf7f1a3f16142c6c57a41b12101d83a35abbc4dfdb9185cebc68d44701f8ac8390ce3bdafb59ad5613fd3b8698b13c30203010001a321301f301d0603551d0e041604145dd4046b24704132081ca22fc575caed181b81ef300d06092a864886f70d01010b0500038202010039b021a9a478b4719ca553abcf890360a8b22204dac0efca574541dfa036b1f1e31046d8df707b2782680ef36b1822d2fe081d0f9bd6570b62736fe6330beaf8b5889b157ae4bdca8e8dd526972c28a7a6685eb4740f1d2b16fd40984045215ee84fd340b6855ab2e696d39645a0863563010b864d3695bc8d26e7525df96cbadd6877d81b1663338f02881c8a9192deecadbcc14efec3ad3e50d5f61efdbbec4899a4cf488187559147be2fb120636d5fe9ef54f88b8df36306f1ba14b8313ce6816264490e3572411c624f132c12bd6a53d639f5ca818a929fcca2594ba56d49aa85941f368aadbe7faab41e931181b1dd573e677789055b8eceb2c75f419862b448c37ef7b181879d94201a4e0e0449826b2ac260e5d5284a60a13d89722d4185c980a675222e9a35648e9d1a80eb59936014639a6af6fcf0ff5e66c254c7ba32e852d0419324d683f6d3355a6e50d1639481994cc67d858db1c98982e9beb43dc2b7f6170e8325b7ba73969120a8cd2e0a13763c3d13eeb6fdc34da5997c90d565bdd4ad8488ed356e2163bc3e8192fe7cc7067a7c3764e0279a4c8084e1128fb5620fb74317a2945c5a52a16f9ea379fb3b0622a8972f9bff33616a1b1fbe70000701c6b0b49ff23897627b97aac89449d20a74a5e659d710b17865aad29bbb2bc67be8273d28b45deae3453fb5cc4aa9a0a9c3565d99c32ade0f9af093"><description>An Android browser and wallet for the LBRY network. </description></repo></fdroid>

Binary file not shown.

View file

@ -0,0 +1 @@
git https://github.com/lbryio/lbry-fdroid