Commit Graph

26 Commits

Author SHA1 Message Date
FriendlyNeighborhoodShane
69fa8961d2
apksigner: fix word splitting in script (#7069)
Any argument with an IFS char in it used to get resplit when passed to apksigner.
Adding quotes around `$@` preserves the intended arguments.
2021-06-28 21:29:27 +03:00
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Leonid Pliushch
5cb0ae0790
apksigner: bump revision 2020-12-07 20:30:53 +00:00
Leonid Pliushch
89384aed06
apksigner: update to 30.0.3 2020-12-07 20:09:31 +00:00
Leonid Pliushch
322138d422 apksigner: download Asn1BerParser_b64.java to TERMUX_PKG_CACHEDIR 2020-10-23 01:23:35 +03:00
Leonid Pliushch
1a92ef49d7 apksigner: fix missing classes
Base64.java is being split into multiple .class files.
2020-09-16 23:50:49 +03:00
Leonid Pliushch
2dc4371044 apksigner: include java.util.Base64 implementation in jar file
As java.util.Base64 is not available prior to Android API 26,
we have to provide it on our own.
2020-09-16 22:38:10 +03:00
Leonid Pliushch
e33db744d9 apksigner, beanshell, dx, ecj: update postinst script
Specify extensions of files which should be removed instead of
using wildcard.
2020-07-26 20:33:19 +03:00
Leonid Pliushch
33a3e4ed91 apksigner, beanshell, dx, ecj: remove OAT cache after installation/upgrade 2020-07-26 14:19:30 +03:00
Leonid Pliushch
d5a56bd5e0 apksigner: use '-Xcompiler-option --compiler-filter=speed' dalvikvm flag 2020-07-26 03:25:09 +03:00
Henrik Grimler
75d3e9d054 Set TERMUX_PKG_SKIP_SRC_EXTRACT=true
Needed when packages override termux_step_get_source and do not set
TERMUX_PKG_SRCURL.

%ci:no-build
2020-07-21 10:19:54 +02:00
Henrik Grimler
93aec4fc7b Rename termux_step_extract_package->termux_step_get_source 2020-07-21 10:14:19 +02:00
Wetitpig
88e13faa0e Full version of apksigner from Android SDK (#5553) 2020-07-16 20:42:05 +03:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Leonid Pliushch
c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
361d8c519f [incomplete] set licenses for packages 2019-01-20 22:41:50 +01:00
Fredrik Fornwall
9faacc723f apksigner&termux-am: Avoid using gradle daemon
By default gradle spawns a daemon which keeps on running in the
background long after the package has been built and taking up
precious ram. Avoid this.
2018-08-20 23:24:18 +02:00
Fredrik Fornwall
047754e8fa Update android sdk build tools
Update the android sdk build tools from 27.0.3 to 28.0.1, bringing
in d8 which is replacing dx.

This needs an update of the Docker image, so run scripts/update-docker.sh
to update it.
2018-07-26 12:21:43 +02:00
Fredrik Fornwall
ca6de44cf5 apksigner: Update from 0.4 to 0.7 2018-04-29 17:44:48 +02:00
Fredrik Fornwall
51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Fredrik Fornwall
544181cd4f Use more source checksums 2017-03-27 01:56:11 +02:00
Fredrik Fornwall
a6c72ac91c apksigner: Update from 0.3 to 0.4 2016-11-22 16:12:00 -05:00
Fredrik Fornwall
091db5352b apksigner: Also create $PREFIX/man/man1 if needed 2016-10-07 12:59:01 -04:00
Fredrik Fornwall
92f5e5c345 apksigner: Create $TERMUX_PREFIX/share/dex directory if needed 2016-10-07 08:43:09 -04:00
Fredrik Fornwall
47182adc56 apksigner: Add package 2016-10-06 19:38:12 -04:00