-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
bump|addpkg(main/{termux-core,termux-exec,tudo,sudo}) #18872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d3fe257
scripts(.editorconfig): use space indentation for `properties.sh`
agnostic-apollo 96eefda
enhance(scripts/properties.sh): add all standardized Termux constants…
agnostic-apollo 0e4a258
fix(scripts): do not delete `/home/builder/.termux-build` build direc…
agnostic-apollo 8526c61
enhance(scripts): add support to build a package from a local source …
agnostic-apollo 7731908
fix(scripts): fix building a package from a local git repository set …
agnostic-apollo f579c50
fix(scripts): quote variables (primarily) for `rm` commands
agnostic-apollo 11d51ed
change(scripts): rename `TERMUX_NO_CLEAN` variable to `TERMUX_PKGS__B…
agnostic-apollo 9159eab
fix(build-package.sh): fix passing flags to sub `build-package.sh` pr…
agnostic-apollo ac43018
enhance(build-package.sh): add -r option to remove all package build …
agnostic-apollo 4d621c1
fix(build-package.sh): update `-c` flag help
agnostic-apollo a85aa09
scripts(build-package.sh): use `grep` directly instead of `cat | grep…
agnostic-apollo 3b9bed8
fix(termux-bootstrap-second-stage.sh): do not exit with the wrong "se…
agnostic-apollo 2f72c31
fix(termux-bootstrap-second-stage.sh): ensure running with Termux uid
agnostic-apollo 5ea7272
fix(clean.sh): do not delete `TERMUX__ROOTFS` top level directory as …
agnostic-apollo 2f3ee4c
fix(build-package.sh): fix wrong prefix variable being used to create…
agnostic-apollo 71057fa
enhance(build-package.sh): add `termux_step_strip_elf_symbols` and `t…
agnostic-apollo 72d0348
enhance(build-package.sh): extract `termux_step_create_debscripts()` …
agnostic-apollo e4829b1
addpkg(main/termux-core): init
agnostic-apollo 7b6ac13
bump(main/termux-core): 0.1.0
agnostic-apollo f971824
enhance(main/termux-exec): add support for v1:2.0.0
agnostic-apollo eaf26b3
bump(main/termux-exec): 1:2.0.0
agnostic-apollo 2d5e109
addpkg(main/tudo): 1.0.0
agnostic-apollo d601524
addpkg(main/sudo): 1.0.0
agnostic-apollo 6b3a32c
ci(packages|package_updates): fix `No such file or directory` errors …
agnostic-apollo b55d562
ci(packages): remove unused packages loop from free additional disk s…
agnostic-apollo 1a2eb24
ci(packages|package_updates): fix indexed arrays being used as string…
agnostic-apollo 4c916b3
scripts(setup-ubuntu|setup-archlinux): do not use hardcoded `/data` p…
agnostic-apollo 8a03e33
fix(scripts/Dockerfile): create termux-packages repo directory hierar…
agnostic-apollo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| TERMUX_PKG_HOMEPAGE=https://github.com/agnostic-apollo/sudo | ||
| TERMUX_PKG_DESCRIPTION="A wrapper script to drop to the supported shells or execute shell script files or their text passed as an argument as the root (superuser) user in the Termux app" | ||
| TERMUX_PKG_LICENSE="MIT" | ||
| TERMUX_PKG_MAINTAINER="@agnostic-apollo" | ||
| TERMUX_PKG_VERSION=1.0.0 | ||
| TERMUX_PKG_SRCURL=https://github.com/agnostic-apollo/sudo/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz | ||
| TERMUX_PKG_SHA256=3ebbc7c034cb184da46d253d8c9f90935de05161d2292aed5417d5a662a46ea9 | ||
| TERMUX_PKG_DEPENDS="bash" | ||
| TERMUX_PKG_BUILD_IN_SRC=true | ||
| TERMUX_PKG_AUTO_UPDATE=true | ||
| TERMUX_PKG_PLATFORM_INDEPENDENT=true | ||
| TERMUX_PKG_CONFLICTS="tsu" | ||
| TERMUX_PKG_REPLACES="tsu" | ||
| TERMUX_PKG_EXTRA_MAKE_ARGS="SUDO_PKG__VERSION=${TERMUX_PKG_VERSION} SUDO_PKG__ARCH=${TERMUX_ARCH} \ | ||
| TERMUX__NAME=${TERMUX__NAME} TERMUX__LNAME=${TERMUX__LNAME} \ | ||
| TERMUX_APP__NAME=${TERMUX_APP__NAME} \ | ||
| TERMUX_APP__PACKAGE_NAME=${TERMUX_APP__PACKAGE_NAME} TERMUX_APP__DATA_DIR=${TERMUX_APP__DATA_DIR} \ | ||
| TERMUX__ROOTFS=${TERMUX__ROOTFS} TERMUX__HOME=${TERMUX__HOME} TERMUX__PREFIX=${TERMUX__PREFIX} \ | ||
| TERMUX_ENV__S_ROOT=${TERMUX_ENV__S_ROOT} \ | ||
| TERMUX_ENV__SS_TERMUX=${TERMUX_ENV__SS_TERMUX} TERMUX_ENV__S_TERMUX=${TERMUX_ENV__S_TERMUX} \ | ||
| TERMUX_ENV__SS_TERMUX_APP=${TERMUX_ENV__SS_TERMUX_APP} TERMUX_ENV__S_TERMUX_APP=${TERMUX_ENV__S_TERMUX_APP}" | ||
|
|
||
| termux_step_install_license() { | ||
| mkdir -p "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/licenses" | ||
| mv "$TERMUX_PKG_SRCDIR/LICENSE" "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/copyright" | ||
| mv "$TERMUX_PKG_SRCDIR/licenses/"* "$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME/licenses/" | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like these two could use a rename.
And probably also a comment because I just had to reference the man page to remember that
${!var}is an indirection, not a key lookup (${!arr[i]}).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which two and comment what?
${!var}is pretty common and loop items are clearly variable names anyways being expanded to a value.