aboutsummaryrefslogtreecommitdiff
path: root/kiss
AgeCommit message (Collapse)Author
2020-05-24kiss: remove non-POSIX printf * field width specifiermerakor
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
2020-05-18kiss: prevent privilige escalations through user defined hooks1.22.3merakor
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
2020-05-15kiss: do not abort if kiss-readlink fails1.22.2merakor
FossilOrigin-Name: c0ece3c29785b6423770c830b1047ba3fcf8ced4b9f4a805daa868067ea3ba9d
2020-05-15kiss: bump version1.22.1merakor
FossilOrigin-Name: 7257fbc081dbd50bf4f17b6365cd88bb1c3572910ca26accb4bd3c629930127c
2020-05-15kiss: fix tarball extraction where there are files with spacesmerakor
FossilOrigin-Name: 92e2eb771a2e8bcb3d54b9dd5e53d3a85259658ac0ad5124b62348a8037984a4
2020-05-15kiss: use diff instead of cmpmerakor
FossilOrigin-Name: e93a6358cfa3b9bee848088e152fb8920e5397487553be6054eb9d748f299a61
2020-05-14kiss: bump version1.22.0merakor
FossilOrigin-Name: 511f5b39583abc562c8d6c63fa560d4bb38541b7f3750aa63a628ea18038589c
2020-05-14kiss: don't elevate permissions if it isn't required, KISS_ROOT fixmerakor
Co-authored-by: Dylan Araps <dylan.araps@gmail.com> FossilOrigin-Name: d111e5f22b95c4688390daf2dc7c24cdc1316648e991a7c5be9e6de1d12ab184
2020-05-14kiss: don't create pkg_db on KISS_ROOT automaticallymerakor
Co-authored-by: Dylan Araps <dylan.araps@gmail.com> FossilOrigin-Name: c74e5fc121ff76fe6c89909ecdcbbba78c4fd027fa08746169668ee3d0f7f992
2020-05-14kiss: use host cache instead of KISS_ROOTmerakor
Co-authored-by: Dylan Araps <dylan.araps@gmail.com> FossilOrigin-Name: 7da725c7e3e99a79e34bcf962e76729a4e868eb4c4ef9fa878d34acad6487fd1
2020-05-14kiss: make pop easier to read and understandmerakor
FossilOrigin-Name: e57368410658ef7270fb518f342b4942f365572775da3d589579cf84e20160c4
2020-05-14kiss: change KISS_COLOUR variable to KISS_COLORmerakor
American English smh... FossilOrigin-Name: 98f76b6b201d870593d647b8c0d9ec38942eecf7d378f20cfbe9e4400bf4457f
2020-05-14kiss: bump version1.21.1merakor
FossilOrigin-Name: 82c67c840f3a4621f57c5b50f75d5cb31dd40eca107aee752ee6c37b464e52d6
2020-05-14kiss: split hashcheck command so it is easier to read.merakor
FossilOrigin-Name: c031a270e6f18cac2c3fc1a0fb750dffb621c75db8b4668d90d3597ad7a780e1
2020-05-14kiss: use $1 on hashcheck instead of $filemerakor
FossilOrigin-Name: 5a9e52739844fb41cbeda7b8cce71a4994f60280f378a398295a7517691b9537
2020-05-13kiss: use set on find for POSIX compliance, thanks @illilitimerakor
FossilOrigin-Name: 0127cec2199ab8482a676e8c8cde6732a07fd4d1ab82e0259a73589d9f488d81
2020-05-12kiss: bump version1.21.0merakor
FossilOrigin-Name: 78189f3c002ddd7d07f5c07892eb801210fd916fd0427b82e33a6e97fe6436b6
2020-05-12kiss: use KISS_TMPDIR for changing the build directoriesmerakor
A user can now specify KISS_TMPDIR to change build location. FossilOrigin-Name: ec8275518611214efce1258e66f7c0ecd803491da33954889d4abc9bfd10eec5
2020-05-11kiss: add support for decompressing .txz tarballsmerakor
FossilOrigin-Name: 8d6d6860ac86d347256969ec6247498145dc2f85b1375bbc66bc2f3ba7d5afd0
2020-05-11kiss: make sure directories and executables don't clashmerakor
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
2020-05-09kiss: add a warn functionmerakor
FossilOrigin-Name: fca825e07806a5cb601d4553825de734e4002e158a2910de2fdd35027eda78e7
2020-05-09kiss: remove esc functionmerakor
FossilOrigin-Name: 401e07356a89e0ea40664a76dbe03b46b7bca0a993eed8f12a96b20005ab21ff
2020-05-09kiss: simplify tarball extractionmerakor
FossilOrigin-Name: 32ed89978ad12275ddc2c7033dfde81070999f3ea3756e0fdede68e5139eccf5
2020-05-09kiss: add download optionmerakor
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
2020-05-08kiss: fix alternatives bug1.20.3merakor
FossilOrigin-Name: caa9da731eea578379ac53ca4f12ff94ba837a099079ef50c7ec1a21d4c05330
2020-05-08kiss: remove stty hackmerakor
FossilOrigin-Name: 975386e2c207ffcf8490b650173d289895330ff91fa5097785b6fb7625cb17a5
2020-05-08kiss: bump version1.20.2merakor
FossilOrigin-Name: 4bcb251239b666fc73407e06a4751fb0cc5052a731e3e92b8997df232fb82eea
2020-05-08kiss: sort manifest during pkg_swapmerakor
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
2020-05-08kiss: bump version1.20.1merakor
FossilOrigin-Name: 1065af26fe21df4b513004c6dcc4eaa9fb1c8862d967e46b89eab0cb1a21f0c0
2020-05-08kiss: fix removing cache filesmerakor
FossilOrigin-Name: c6cabcb90447087537efb774f9da9f974d38d2a7453daa2fb55429adf30b075d
2020-05-07kiss: Faster conflict resolution.merakor
FossilOrigin-Name: e9bc2c979beec4dd9e024989a834b1fe4f6de268a62762cf9c20f5890c824c23
2020-05-07kiss: add option to disable prompts1.20.0merakor
FossilOrigin-Name: b4c88886e87894e335724f4310bdf04eb1830ea8e03b12efd664831a2bcfbc6f
2020-05-07kiss: bump version1.19.1merakor
FossilOrigin-Name: 6bd78920352ad7112218a770c3c38c2db1bf717b11950b85e4c74051c9786d1c
2020-05-07kiss: output help and extension to stdout so they can be parsedmerakor
FossilOrigin-Name: a87537cd33222022ffda4422b03a245bfde3fc0b8a7d9968533fd36053ee8df7
2020-05-07kiss: fix colour outputmerakor
FossilOrigin-Name: ec1daf16b1621468b0976dd8a82a7795de86fce88f52cb9aeadf257b0ad29f46
2020-05-07kiss: fix shellcheck errormerakor
FossilOrigin-Name: 7bebb8b605e49b894c2e3d00ac2b367188576406b052ce917ec76fd87acf6a1b
2020-05-07kiss: change colour escape behaviour to be enabled and disabled.merakor
This adds the ability for globally enabling or disabling colour escapes. FossilOrigin-Name: 5640b4c4e6f28bcfe62dd0f476471042a24a633f44d57ccf5851cfa0e7761252
2020-05-07kiss: disable colour escape sequences if running in a subshellmerakor
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
2020-05-07kiss: switch to an 'extension' argument for listing extensions.merakor
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
2020-05-06kiss: bump versionmerakor
FossilOrigin-Name: 7a527b1bbb9456c06d0710c871a5881cc16ad636215783b301dab3a0ff716a96
2020-05-06kiss: fix doc-strings for contrib scriptsmerakor
FossilOrigin-Name: 2591e0f18574cf2aa4e922b747a9db06d5e54e25e17a6a20e68ea60d864cee57
2020-05-05kiss: Drop tar's p flag as it's not needed.merakor
FossilOrigin-Name: 311b14e449787b625af9bd5c35ea1096c2530511cd11b88413311ae5bb79aee0
2020-05-05kiss: revert to using keys instead of flagsmerakor
FossilOrigin-Name: fe521559cc1fd7e9ebb88f2a5c581129acbe309ed0e5128ca85c16563e3d789e
2020-05-05kiss: tar extraction fixesmerakor
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
2020-05-04kiss: bump to 1.18.0merakor
FossilOrigin-Name: ce6909023ea958ed09b1c2d8bc81db7ef86fbbb837eeea42e4a51643645573c7
2020-05-04kiss: use option flags in 'tar' callsmerakor
FossilOrigin-Name: 138ea991b436fc765d194f85d738624203dea08d31c696c4c1e78c8b10d9c0f1
2020-05-04kiss: accomplish tar portabilitymerakor
FossilOrigin-Name: fb55846108c2045bd0245a16ae989e1d1a075d089158659ee75d6a819698ef06
2020-05-04kiss-readlink: add 'readlink -f' replacementmerakor
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
2020-05-03bump to 1.17.01.17.0merakor
FossilOrigin-Name: 85f4a1b27cbc69bdecdd4a4095df14f26da5cf69e674bc505eabfc9692cca277
2020-05-03kiss: use our own version of stat for portability purposes.merakor
FossilOrigin-Name: 44c082a4672f3de9f932cd7262e2d8b4cba2fc590750db9b1fefc38673910045