Age | Commit message (Collapse) | Author |
|
POSIX doesn't specify %*s for the printf command, with the rationale
that one can just put the variable there in place, do that.
FossilOrigin-Name: be926ff4e02f12bcebbedd725ab8d70d2abc97e96f88f615cff9ad7e1d90fe31
|
|
During installation, the script is run as root, but out KISS_HOOK
variable stays the same. This is a critical bug since a user can
only have permissions to install packages as root, but not for any
other privilige escalation. A user can abuse the KISS_HOOK in order
to become root, possibly with a `/sbin/login` command on the hook file.
This change checks for a fourth argument and overrides the KISS_HOOK
to `$KISS_ROOT/etc/kiss-hook`
FossilOrigin-Name: 67041b182d9524fcfa8292e7167f249b99851129cda0d7fe9e4fdff8388063b6
|
|
FossilOrigin-Name: c0ece3c29785b6423770c830b1047ba3fcf8ced4b9f4a805daa868067ea3ba9d
|
|
FossilOrigin-Name: 7257fbc081dbd50bf4f17b6365cd88bb1c3572910ca26accb4bd3c629930127c
|
|
FossilOrigin-Name: 92e2eb771a2e8bcb3d54b9dd5e53d3a85259658ac0ad5124b62348a8037984a4
|
|
FossilOrigin-Name: e93a6358cfa3b9bee848088e152fb8920e5397487553be6054eb9d748f299a61
|
|
FossilOrigin-Name: 511f5b39583abc562c8d6c63fa560d4bb38541b7f3750aa63a628ea18038589c
|
|
Co-authored-by: Dylan Araps <dylan.araps@gmail.com>
FossilOrigin-Name: d111e5f22b95c4688390daf2dc7c24cdc1316648e991a7c5be9e6de1d12ab184
|
|
Co-authored-by: Dylan Araps <dylan.araps@gmail.com>
FossilOrigin-Name: c74e5fc121ff76fe6c89909ecdcbbba78c4fd027fa08746169668ee3d0f7f992
|
|
Co-authored-by: Dylan Araps <dylan.araps@gmail.com>
FossilOrigin-Name: 7da725c7e3e99a79e34bcf962e76729a4e868eb4c4ef9fa878d34acad6487fd1
|
|
FossilOrigin-Name: e57368410658ef7270fb518f342b4942f365572775da3d589579cf84e20160c4
|
|
American English smh...
FossilOrigin-Name: 98f76b6b201d870593d647b8c0d9ec38942eecf7d378f20cfbe9e4400bf4457f
|
|
FossilOrigin-Name: 82c67c840f3a4621f57c5b50f75d5cb31dd40eca107aee752ee6c37b464e52d6
|
|
FossilOrigin-Name: c031a270e6f18cac2c3fc1a0fb750dffb621c75db8b4668d90d3597ad7a780e1
|
|
FossilOrigin-Name: 5a9e52739844fb41cbeda7b8cce71a4994f60280f378a398295a7517691b9537
|
|
FossilOrigin-Name: 0127cec2199ab8482a676e8c8cde6732a07fd4d1ab82e0259a73589d9f488d81
|
|
FossilOrigin-Name: 78189f3c002ddd7d07f5c07892eb801210fd916fd0427b82e33a6e97fe6436b6
|
|
A user can now specify KISS_TMPDIR to change build location.
FossilOrigin-Name: ec8275518611214efce1258e66f7c0ecd803491da33954889d4abc9bfd10eec5
|
|
FossilOrigin-Name: 8d6d6860ac86d347256969ec6247498145dc2f85b1375bbc66bc2f3ba7d5afd0
|
|
kiss will no longer look for sys_db when called from extensions.
An alternate 'SEARCH_PATH' is used now to store KISS_PATH and sys_db
together. This SEARCH_PATH will be overriden by PATH if it is called
from extensions.
FossilOrigin-Name: 9af1b446d03b7008d158b56831f7a82fd1963a9297492adf8b87fe0c278addd0
|
|
FossilOrigin-Name: fca825e07806a5cb601d4553825de734e4002e158a2910de2fdd35027eda78e7
|
|
FossilOrigin-Name: 401e07356a89e0ea40664a76dbe03b46b7bca0a993eed8f12a96b20005ab21ff
|
|
FossilOrigin-Name: 32ed89978ad12275ddc2c7033dfde81070999f3ea3756e0fdede68e5139eccf5
|
|
This addition can be used to download the package sources. If no
arguments are specified, it will run pkg_updates and download the
sources of outdated packages.
FossilOrigin-Name: 9dbf48e42eb029e8e337b6f59d9f8c6efc346f3a894598a2c51d1103ddcae803
|
|
FossilOrigin-Name: caa9da731eea578379ac53ca4f12ff94ba837a099079ef50c7ec1a21d4c05330
|
|
FossilOrigin-Name: 975386e2c207ffcf8490b650173d289895330ff91fa5097785b6fb7625cb17a5
|
|
FossilOrigin-Name: 4bcb251239b666fc73407e06a4751fb0cc5052a731e3e92b8997df232fb82eea
|
|
Issues may arise during package removal, and there may be leftover
files if we don't reverse sort the manifest when we are swapping
files around.
FossilOrigin-Name: a43039025ea2c6f0cf1989fd2a683cf3916926aa2396fc00a44c824679188632
|
|
FossilOrigin-Name: 1065af26fe21df4b513004c6dcc4eaa9fb1c8862d967e46b89eab0cb1a21f0c0
|
|
FossilOrigin-Name: c6cabcb90447087537efb774f9da9f974d38d2a7453daa2fb55429adf30b075d
|
|
FossilOrigin-Name: e9bc2c979beec4dd9e024989a834b1fe4f6de268a62762cf9c20f5890c824c23
|
|
FossilOrigin-Name: b4c88886e87894e335724f4310bdf04eb1830ea8e03b12efd664831a2bcfbc6f
|
|
FossilOrigin-Name: 6bd78920352ad7112218a770c3c38c2db1bf717b11950b85e4c74051c9786d1c
|
|
FossilOrigin-Name: a87537cd33222022ffda4422b03a245bfde3fc0b8a7d9968533fd36053ee8df7
|
|
FossilOrigin-Name: ec1daf16b1621468b0976dd8a82a7795de86fce88f52cb9aeadf257b0ad29f46
|
|
FossilOrigin-Name: 7bebb8b605e49b894c2e3d00ac2b367188576406b052ce917ec76fd87acf6a1b
|
|
This adds the ability for globally enabling or disabling colour
escapes.
FossilOrigin-Name: 5640b4c4e6f28bcfe62dd0f476471042a24a633f44d57ccf5851cfa0e7761252
|
|
Since some pagers don't handle colour escape sequences, this will
come in handy for things like piping into programs. This behaviour
can be disabled by adding a KISS_COLOUR environment variable.
FossilOrigin-Name: 9c06d36861b43c08f1862a27350b5bbe4db2ba31f44ad9c5b49ca2c42bfd3077
|
|
Extensions used too much screen space. If a user has their own
extensions it only gets bigger. kiss extensions are not as important
as the package manager itself, so the user shouldn't be required to
scroll up everytime they want to list options. If a user wants to
be informed about the extensions they can now pass an 'e' or
'extension' argument to kiss.
FossilOrigin-Name: ba4281f458c72495261e949cb81b0f36730626de9a5b77bbce8e5b8816756df3
|
|
FossilOrigin-Name: 7a527b1bbb9456c06d0710c871a5881cc16ad636215783b301dab3a0ff716a96
|
|
FossilOrigin-Name: 2591e0f18574cf2aa4e922b747a9db06d5e54e25e17a6a20e68ea60d864cee57
|
|
FossilOrigin-Name: 311b14e449787b625af9bd5c35ea1096c2530511cd11b88413311ae5bb79aee0
|
|
FossilOrigin-Name: fe521559cc1fd7e9ebb88f2a5c581129acbe309ed0e5128ca85c16563e3d789e
|
|
We now decompress a file once to a location, instead of decompressing
twice and piping it into tar. Also added more documentation
FossilOrigin-Name: 5e558d016cc15df2fad09704952768611c760ec32d7eb5b840ced3ad3e5d129b
|
|
FossilOrigin-Name: ce6909023ea958ed09b1c2d8bc81db7ef86fbbb837eeea42e4a51643645573c7
|
|
FossilOrigin-Name: 138ea991b436fc765d194f85d738624203dea08d31c696c4c1e78c8b10d9c0f1
|
|
FossilOrigin-Name: fb55846108c2045bd0245a16ae989e1d1a075d089158659ee75d6a819698ef06
|
|
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
|
|
FossilOrigin-Name: 85f4a1b27cbc69bdecdd4a4095df14f26da5cf69e674bc505eabfc9692cca277
|
|
FossilOrigin-Name: 44c082a4672f3de9f932cd7262e2d8b4cba2fc590750db9b1fefc38673910045
|