Skip to content

Commit

Permalink
Refactoring and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
meefik committed May 9, 2023
1 parent 4ac309d commit b9642ab
Show file tree
Hide file tree
Showing 44 changed files with 290 additions and 671 deletions.
41 changes: 23 additions & 18 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

The application is an BusyBox installer for Android.
Copyright (C) 2015 Anton Skshidlevsky
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -312,23 +312,28 @@ Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

BusyBox Copyright (C) 2012 Anton Skshidlevsky
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
24 changes: 9 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# BusyBox

Copyright (C) 2015-2022 Anton Skshidlevsky, GPLv2
Copyright (C) 2015 Anton Skshidlevsky, GPLv2

This application is an BusyBox installer for Android.
This application is a BusyBox installer for Android.

[BusyBox](http://busybox.net) combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system.

The app is available for download in Google Play and GitHub.
The app is available for download on Google Play and GitHub:

<a href="https://play.google.com/store/apps/details?id=ru.meefik.busybox"><img src="https://gist.githubusercontent.com/meefik/54a54afa7cc1dc600bdb855cb7895a4a/raw/ad617c006a1ac28d067c9a87cec60199ca8fef7c/get-it-on-google-play.png" alt="Get it on Google Play"></a>
<a href="https://github.com/meefik/busybox/releases/latest"><img src="https://gist.githubusercontent.com/meefik/54a54afa7cc1dc600bdb855cb7895a4a/raw/ad617c006a1ac28d067c9a87cec60199ca8fef7c/get-apk-from-github.png" alt="Get it on Github"></a>

**Requirements**:

- Device with architecture arm, arm64, x86, x86_64
- Android 5 (API 21) or later
- Superuser permissions (root)

Latest BusyBox v1.34.1, supported 378 applets:

[, [[, acpid, adjtimex, ar, arch, arp, ascii, ash, awk, base32, base64, basename,
Expand Down Expand Up @@ -48,15 +54,3 @@ Latest BusyBox v1.34.1, supported 378 applets:
unexpand, uniq, unix2dos, unlink, unlzma, unlzop, unshare, unxz, unzip, uptime, usleep,
uudecode, uuencode, vconfig, vi, volname, watch, watchdog, wc, wget, which, whoami,
whois, xargs, xxd, xz, xzcat, yes, zcat, zcip

**Requirements**:

* Device with architecture arm, arm64, x86, x86_64
* Android 8 (API 26) or later
* Superuser permissions (root)

**References**:

* [Source code](https://github.com/meefik/busybox)
* [Releases](https://github.com/meefik/busybox/releases)
* [Donations](https://meefik.github.io/donate)
29 changes: 16 additions & 13 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 31
buildToolsVersion '31.0.0'
compileSdkVersion 33
buildToolsVersion '33.0.2'

defaultConfig {
applicationId 'ru.meefik.busybox'
minSdkVersion 26
targetSdkVersion 31
versionCode 51
minSdkVersion 21
targetSdkVersion 33
versionCode 52
versionName '1.34.1'
}
buildTypes {
Expand All @@ -18,30 +18,33 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
doNotStrip '**/*'
exclude 'jniLibs/all/*'
jniLibs {
useLegacyPackaging true
keepDebugSymbols += ['**/*']
excludes += ['jniLibs/all/*']
}
resources {
excludes += ['jniLibs/all/*']
}
}
namespace 'ru.meefik.busybox'
lint {
disable 'MissingTranslation', 'ExtraTranslation'
}
}

repositories {
maven { url 'https://jitpack.io' }
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.github.topjohnwu.libsu:core:3.2.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.github.topjohnwu.libsu:core:5.0.5'
}

tasks.matching { it.name == "extractReleaseNativeSymbolTables" }.configureEach {
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ru.meefik.busybox"
android:extractNativeLibs="true"
android:installLocation="internalOnly">

Expand All @@ -21,7 +20,6 @@
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
62 changes: 0 additions & 62 deletions app/src/main/_libs/all/addon_d.sh

This file was deleted.

78 changes: 0 additions & 78 deletions app/src/main/_libs/all/info.sh

This file was deleted.

Loading

0 comments on commit b9642ab

Please sign in to comment.