aboutsummaryrefslogtreecommitdiff
path: root/kiss
AgeCommit message (Collapse)Author
2020-05-28kiss: run remove hooks as rootmerakor
FossilOrigin-Name: f0626b4c7bd805117a967027cf8a07987aee1aed799081003e10800afde5e08d
2020-05-28kiss: do not hardcode charset.alias locationmerakor
FossilOrigin-Name: 4c21c03e3e61b40717874f5bd83163608bf540e06410fee0d1bb3477c22138d4
2020-05-28kiss: run pre/post-pull hooks when fetching repositoriesmerakor
FossilOrigin-Name: ea2d5d0117a90ebd394c6abad5d905478eb482a62f37a2927143146796c4d3a3
2020-05-28kiss: adapt submodule pullingmerakor
FossilOrigin-Name: c63983d8bd92cd11dc1a4ea3666c22023d088d7fc2f5b00ef0c63bce9bd40376
2020-05-28kiss: check actual value instead of non-zeromerakor
FossilOrigin-Name: 172f636d6b0d67389534a8b8c02cb312558a79123a38177a083e92f4985e4b52
2020-05-28kiss: add pre/post-remove hooksmerakor
FossilOrigin-Name: 21300ec66ba51f6d2566ba4e651aba3a9808ea797dedeec840633c8772f2c795
2020-05-28kiss: use KISS_PROMPT for compatibilitymerakor
FossilOrigin-Name: 6dff7d3dd510411da702aa439ed26bb5df3853164a690e7673849b47a4b34dbb
2020-05-26kiss: bump version1.22.4merakor
FossilOrigin-Name: 5c110d7b9fcbe3f2873d1526ff530d27d546ced84a9db2fd0ac1d17ae2fa780a
2020-05-26kiss: run post-package hook after pkg_tarmerakor
FossilOrigin-Name: 2ac86edf32e1da283c4cd79502e3df04999b8becdb005893549a852ef760cc98
2020-05-25kiss: rename hashcheck to sh256 for compatibility in kiss-binmerakor
FossilOrigin-Name: b0d89e23226dd7ba0d2620f74b239c486a84a5d1f20980433106453e14cbabcc
2020-05-25kiss: enable the usage of glob characters with kiss-binmerakor
FossilOrigin-Name: 7d9a317d070b75d1736fca0ee433bd0dbfbcd320c0cd379df68ad615a27c691a
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