15 Commits

Author SHA1 Message Date
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Roberto Oliveira
b056f6923f testing/lshell: modernize APKBUILD 2017-12-25 19:50:53 +00:00
Jakub Jirutka
c18b35140d [various] rename python executable in APKBUILDs to python2 2016-10-26 19:47:58 +02:00
Jakub Jirutka
d6529c8d14 [various] rename dependency python to python2 2016-10-26 19:47:58 +02:00
Jakub Jirutka
af0c01ac63 [various] rename dependency python-dev to python2-dev 2016-10-26 19:47:14 +02:00
Przemyslaw Pawelczyk
26abb36b0d testing/[various]: bump pkgrel for pre-install fixes 2016-04-25 07:11:52 +00:00
Przemyslaw Pawelczyk
da4e96aace Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):

    addgroup -S -g ... GROUP
    adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
2016-04-25 06:56:47 +00:00
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.

Comments and line wrapping have been preserved.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00
Stuart Cardall
dbfd8d2909 testing/lshell: update to 0.9.18 2016-02-29 03:48:09 +01:00
Stuart Cardall
0376eb2287 testing/lshell: update to 0.9.17
changelog:

    Added include_dir directive to include split configuration files from a directory.
    Added possibility of using 'all' for sudo commands
    Replaced os.system by subprocess (python)
    Added support for sudo -u
    Corrected shell variable expansion
    Corrected bugs in aliases support
    Fixed timer (idle session)
    Added exit code support
    Fixed wrong group reference for logging
    Replaced Python os.system with subprocess
2015-08-17 09:54:28 +00:00
Francesco Colista
1c170a58bd testing/lshell: removed whitespace 2015-07-16 13:30:13 +00:00
Stuart Cardall
34a7e8d684 testing/lshell: add pre-install script
add lshell user:group

with $pkgrel bumped
2015-07-16 13:30:13 +00:00
Fabian Affolter
254e406117 testing/lshell: upgrade to 0.9.16 2013-09-17 15:01:24 +00:00
Fabian Affolter
18fa92363d testing/lshell: new aport 2012-09-21 22:28:11 +00:00