aboutsummaryrefslogtreecommitdiff
path: root/kiss
AgeCommit message (Collapse)Author
2020-05-29kiss: fix printing empty strip options when the file wasn't strippedmerakor
FossilOrigin-Name: 57c1bf9eb509a18d92a0383df51686afb2053bece7da94f95b672df880f7c247
2020-05-28kiss: bump to 2.0.02.0.0merakor
Closes #3 FossilOrigin-Name: 75a4a0b87caf31467234aa57638a664ba0cd1fa36d2fcd8fec9a6fd72777282f
2020-05-28kiss: skip git repositories if git isn't installedmerakor
FossilOrigin-Name: 06e99b7e8f88a73674bd2c3a0bf7438f9a5f88264236a27d2f3c1677f73181b3
2020-05-28kiss: no need to silence stderr on commandmerakor
FossilOrigin-Name: ecbdec045330d74929269543b655d9b798c1bbac85a945f065866d7d66c0abbc
2020-05-28kiss: die if git is missing when a package source requires gitmerakor
FossilOrigin-Name: 1b5f55499e2da542cc5cf27c0c75198a99df3f88c521c8e1260ebf5a90e023e1
2020-05-28kiss: switch to POSIX od as well.merakor
FossilOrigin-Name: 2c1751cff69369be953c903104ddfce893096bea52758febd894ade4613fb929
2020-05-28kiss: fix directory check during package removalmerakor
FossilOrigin-Name: 4a06f438572a741430d253305d7dbf1d41da5d4763dc1e34030941b40a0aab5e
2020-05-28kiss: initial rsync supportmerakor
FossilOrigin-Name: c15bdfb57e3204b002d8f006c49dc958e02ce619dacb08dde1254cf663f2d8b6
2020-05-28kiss: don't define KISS_COMPRESS in a subshellmerakor
FossilOrigin-Name: 9b8057b7da9acbb2794c25150547bc4e04d145db1aeab8ff3d9d6dc4b6533dfb
2020-05-28kiss: check manifests before removing directoriesmerakor
FossilOrigin-Name: d38263212b7d52045fe5cbc5e291ad6e9fb91867f62a2fa29240ea81dab747e8
2020-05-28kiss: use $sys_db for remove hookmerakor
FossilOrigin-Name: 4266379f746efc0deab2e4ce1f2aa91ae0059ae1a2e931140d920455d101ca16
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