2020-05-09T00:06:08 #kisslinux I guess not then lol 2020-05-09T00:39:32 #kisslinux dtj3 there is https://github.com/ioraff/kiss-personal you can tryout. 2020-05-09T03:01:11 #kisslinux lol kde bumped all their packages but the url just returns a 403 for every package 2020-05-09T03:01:12 #kisslinux cute 2020-05-09T03:59:04 #kisslinux ... qt5 without --disable-dbus builds just fine even if you don't have dbus >= 1.2, and so it still makes qt5dbus.so; what are the odds a program would just crash using that library 2020-05-09T03:59:47 #kisslinux there's no way it doesn't, right? that would be too easy 2020-05-09T04:48:03 #kisslinux dylan02: in the sed calls in esc() instead of escaping the forward slashes why not just use a different delimiter? 2020-05-09T04:53:13 #kisslinux hello 2020-05-09T06:36:03 #kisslinux Happy one year to KISS! 2020-05-09T06:36:14 #kisslinux It's been exactly a year since the first commit. 2020-05-09T07:36:35 #kisslinux graz 2020-05-09T07:38:10 #kisslinux awesome, now that we can print, an office suite must be found :D 2020-05-09T07:42:59 #kisslinux Yes! 2020-05-09T07:45:34 #kisslinux where does the printer driver come from, also from the kernel? 2020-05-09T07:47:55 #kisslinux I'd imagine so 2020-05-09T08:03:01 #kisslinux E5ten: The only character which a path/file cannot contain is pretty much '/'. Escaping all input and using '/' ensures that the sed calls will work with whatever is thrown at them. 2020-05-09T08:26:02 #kisslinux The --strip-components replacement so far works with every package thrown at it. :) 2020-05-09T08:26:13 #kisslinux You can follow my checklist here: https://github.com/kisslinux/repo/issues/188 2020-05-09T08:27:03 #kisslinux E5ten: My readlink shell implementation is wrong in a few places btw. I'm working on one which will match the C utility 1:1. 2020-05-09T08:27:14 #kisslinux (With whatever input is thrown at it) 2020-05-09T09:03:19 #kisslinux OK. Our strip-components replacement works with every package in the official repositories. 2020-05-09T09:15:27 #kisslinux Nice 2020-05-09T09:16:14 #kisslinux It'd be so much simpler if POSIX cp supported '-l' :( 2020-05-09T09:16:51 #kisslinux You'd just do a copy, merging conflicts (overwriting them) but it'd take no time at all as you're creating hardlinks.. 2020-05-09T09:17:07 #kisslinux This current implementation uses 'mv' in the 99% of cases though. 2020-05-09T09:17:21 #kisslinux So there's still no noticable difference in speed. 2020-05-09T09:18:05 #kisslinux But hard links cannot be used between filesystems 2020-05-09T09:18:20 #kisslinux I can see issues arising from cp -l 2020-05-09T09:18:42 #kisslinux cp falls back to a regular copy in this case. 2020-05-09T09:18:48 #kisslinux Regardless though, it's not portable. 2020-05-09T09:20:33 #kisslinux I think the current conflict system is really good 2020-05-09T09:21:30 #kisslinux With the two find calls? 2020-05-09T09:22:16 #kisslinux Yeah. It only needs to 'cp' anything the 'mv' left behind. So there's really no performance penalty as a conflict like this is quite rare. 2020-05-09T09:23:04 #kisslinux You might be interested in this commit: https://github.com/kisslinux/kiss/commit/08eae0366aefb7790ee783c46f9c9a71f45812c6 2020-05-09T09:24:57 #kisslinux onodera: https://www.phoronix.com/scan.php?page=news_item&px=FreeRDP-2.1-Released 2020-05-09T09:25:57 #kisslinux Yeah, that's good, I will grab that :D 2020-05-09T09:26:45 #kisslinux I'm going to also rewrite the entire output process 2020-05-09T09:27:40 #kisslinux With a few escape sequences I can draw a statusline at the top of the window with a package list (and the current one highlighted). 2020-05-09T09:28:00 #kisslinux So you'll always know what package is building and what's next in the list. 2020-05-09T09:29:21 #kisslinux I'll be on again later. o/ 2020-05-09T09:31:30 #kisslinux o/ 2020-05-09T09:51:25 #kisslinux Hi, does kiss have samba support working? My kernel is built with support for all network file systems but I get a "no device found" error when mounting with the same syntax that works on other linux distros 2020-05-09T09:52:30 #kisslinux You need to install the samba program as well 2020-05-09T09:53:23 #kisslinux I don't think that it's in the repositories 2020-05-09T09:53:38 #kisslinux https://samba.org 2020-05-09T09:53:50 #kisslinux You can obtain the source code here 2020-05-09T09:54:13 #kisslinux yeah i tried building from source, it had tons of unmet dependancies 2020-05-09T09:54:14 #kisslinux Maybe you could package it and add it to the community repository :) 2020-05-09T09:54:37 #kisslinux would love to, but the amount of dependancies is huge 2020-05-09T09:55:31 #kisslinux I recall most of it are optional dependencies 2020-05-09T09:55:41 #kisslinux But I'll check it out 2020-05-09T09:55:47 #kisslinux yeah i disabled most of the features but there were still some i couldnt get past 2020-05-09T09:55:49 #kisslinux thanks :) 2020-05-09T09:56:06 #kisslinux Sure :) 2020-05-09T09:56:30 #kisslinux djt3: 2020-05-09T09:56:40 #kisslinux hi 2020-05-09T09:56:46 #kisslinux there is samba packaged in the user repos 2020-05-09T09:57:02 #kisslinux oh right, i completley missed that. whats its name? 2020-05-09T09:57:03 #kisslinux read the log from 8h ago, I have send a link 2020-05-09T09:57:10 #kisslinux oh thanks :) 2020-05-09T09:57:20 #kisslinux (: 2020-05-09T09:57:39 #kisslinux thanks so much :) 2020-05-09T09:57:45 #kisslinux Sorry, I didn't see that one either 2020-05-09T10:00:32 #kisslinux so for those user repos, do you have to manually update them or does the package manager handle git? 2020-05-09T10:01:01 #kisslinux djt3: btw, tuitube has the vimkeys the other way around 2020-05-09T10:01:21 #kisslinux nono 2020-05-09T10:01:28 #kisslinux put them in your KISS_PATH 2020-05-09T10:01:40 #kisslinux and KISS updates them as the other repos 2020-05-09T10:01:53 #kisslinux right thanks 2020-05-09T10:06:09 #kisslinux claudia02: you missed libtool as a dependancy off libcap 2020-05-09T10:06:15 #kisslinux i think 2020-05-09T10:09:46 #kisslinux oh right, i dont actually use vim keys so i just assumed lol. im completley rewriting it so ill make sure to change that 2020-05-09T10:11:14 #kisslinux djt3: ok I check that, thanks 2020-05-09T10:12:26 #kisslinux i also get an error saying that "bits/endian.h" doesn't exist when building libtirpc. is there a dependancy im missing? 2020-05-09T10:14:40 #kisslinux djt3: libcap is in community 2020-05-09T10:14:47 #kisslinux I dont maintain this (: 2020-05-09T10:14:55 #kisslinux also the samba repo is not from me 2020-05-09T10:15:03 #kisslinux oh right my bad, i just assumed sorry 2020-05-09T10:15:08 #kisslinux ^^ all good 2020-05-09T10:15:26 #kisslinux should i make an issue for the missing dependancy 2020-05-09T10:16:21 #kisslinux y, why not. But I have also never heard any reception of samba of this repo 2020-05-09T10:17:21 #kisslinux yeah think i might give up with this and change to gentoo again. this distro was amazing for using on my laptop, but since i am using my laptop as a desktop now it doesnt really suit 2020-05-09T10:20:23 #kisslinux actually think i might try out alpine 2020-05-09T10:24:52 #kisslinux Alpine looks cool 2020-05-09T10:24:57 #kisslinux I wanted samba before that repo existed and tried out ssh cp between linux and windows machines 2020-05-09T10:25:03 #kisslinux which works good 2020-05-09T10:26:24 #kisslinux there is also httpd for one way filetransfer 2020-05-09T10:30:00 #kisslinux dylan03: https://termbin.com/vbcg 2020-05-09T10:37:47 #kisslinux claudia02: thanks, might look into that if alpine isnt to my liking. ive been meaning to try out alpine for ages anyway so nows a good time 2020-05-09T11:11:32 #kisslinux hola! 2020-05-09T11:16:46 #kisslinux hello, crestwave 2020-05-09T11:20:31 #kisslinux Ouch 2020-05-09T11:39:24 #kisslinux dylan03 Hey, I have a question regarding packaging a piece of software 2020-05-09T11:39:46 #kisslinux There's a terminal multiplexer called dvtm 2020-05-09T11:39:56 #kisslinux dvtm does not implement session management 2020-05-09T11:40:07 #kisslinux And it has a preferred session manager, abduco 2020-05-09T11:40:45 #kisslinux As far as I'm aware, abduco is unique in being simply a session manager 2020-05-09T11:41:41 #kisslinux How would you appropriately make the user aware that abduco is required for dvtm? 2020-05-09T11:42:02 #kisslinux We don't have a concept of optional dependencies 2020-05-09T11:55:31 #kisslinux I did something similar to optional dependencies in the webkit2gtk package 2020-05-09T11:56:11 #kisslinux I do a `kiss l` in the build script to check for gst-plugins and enable options based on the result 2020-05-09T12:20:35 #kisslinux hola folks 2020-05-09T12:29:47 #kisslinux o/ 2020-05-09T13:06:40 #kisslinux o/ 2020-05-09T13:06:56 #kisslinux perish: You can simply mention it in a post-install. 2020-05-09T13:07:03 #kisslinux Or you can include it in the depends file and comment it out. 2020-05-09T13:07:15 #kisslinux Though this isn't really a real dependency. 2020-05-09T13:11:58 #kisslinux > We don't have a concept of optional dependencies 2020-05-09T13:12:03 #kisslinux We don't need one 2020-05-09T13:20:30 #kisslinux https://k1ss.org/blog/20200509a 2020-05-09T13:43:02 #kisslinux hbd :) 2020-05-09T14:36:57 #kisslinux aarng: Thanks :D 2020-05-09T14:48:05 #kisslinux hbd too ) can you please make dark mode for kiss site? 2020-05-09T14:49:54 #kisslinux illiliti: There is one 2020-05-09T14:50:15 #kisslinux If you use an extension for dark mode (or a phone/tablet with dark mode) it'll automatically use the styles I defined. 2020-05-09T14:50:36 #kisslinux dylan03: I didn't mean getting rid of the escaping, I mean in the literal sed calls in esc() where the text within them isn't variable, there are slashes that you escape because you use / as the delimiter, but you could not escape them if you uses a different one 2020-05-09T14:58:02 #kisslinux Oh 2020-05-09T14:58:09 #kisslinux I get it 2020-05-09T14:58:22 #kisslinux I'm a bit slow sometimes. ;-) 2020-05-09T15:03:51 #kisslinux illiliti: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme 2020-05-09T15:09:43 #kisslinux thank you. now it looks more comfortable 2020-05-09T15:19:01 #kisslinux No problem 2020-05-09T15:53:05 #kisslinux dylan03: Nice on ditching readlink 2020-05-09T15:53:19 #kisslinux Yeah 2020-05-09T15:53:44 #kisslinux It was easier to not do a generic implementation 2020-05-09T15:53:59 #kisslinux We should be 100% portable now 2020-05-09T15:54:33 #kisslinux Minus sha256sum/openssl of course... 2020-05-09T15:54:48 #kisslinux I could add another fallback to shasum 2020-05-09T15:55:04 #kisslinux Maybe to increase portability on that front add a fallback to the sha256 command BSDs have? 2020-05-09T15:55:21 #kisslinux Yeah, check my hashcheck function 2020-05-09T15:55:27 #kisslinux It has support for sha256 2020-05-09T15:55:52 #kisslinux Or implement a C utility that goes in a libexec type dir that doesn't handle any flags and just prints the sha256sum for use in kiss? 2020-05-09T15:56:12 #kisslinux E5ten: I'd rather keep kiss as a single file. 2020-05-09T15:56:26 #kisslinux Fair enough 2020-05-09T15:56:38 #kisslinux You can just drop/run it from wherever you like 2020-05-09T15:57:12 #kisslinux dylan03: portable as in it could run on BSD? 2020-05-09T15:57:16 #kisslinux Create an emacs org-mode file and tangle a C program and the shell script in a single file :P 2020-05-09T15:57:17 #kisslinux I wish POSIX would add a su spec 2020-05-09T15:57:30 #kisslinux merakor: this is the way 2020-05-09T15:57:40 #kisslinux Well. Once I add sha256 support it should work on BSDs already. 2020-05-09T15:57:55 #kisslinux simple package manager, depends on Emacs 2020-05-09T15:58:10 #kisslinux as a make dependency* 2020-05-09T15:58:24 #kisslinux dylan03: would run kiss on other distros like gentoo? 2020-05-09T15:58:37 #kisslinux It does 2020-05-09T15:58:39 #kisslinux some of my stuff is increasingly depending on a running emacs server at 'make' time because I derive stuff from the currently loaded emacs theme 2020-05-09T15:58:45 #kisslinux neat 2020-05-09T15:58:48 #kisslinux it's a fun way to live 2020-05-09T15:59:15 #kisslinux It's more about allowing the user to use whatever coreutils, etc they like. 2020-05-09T15:59:23 #kisslinux where is a good place to put a request for a package? may i ask here? :) 2020-05-09T15:59:32 #kisslinux This also means you could run it on another distribution, yeah. 2020-05-09T16:00:48 #kisslinux neeasade: I actually have my emacs configuration on org-mode which output init.el and a shell script for wrapping emacsclient 2020-05-09T16:01:33 #kisslinux merakor: I'm with you on the latter, but not on the former 2020-05-09T16:01:39 #kisslinux dylan03: Maybe to increase portability add a function that replaces install with cp, chmod, and chosen? 2020-05-09T16:01:41 #kisslinux I don't do the literate style/tangling thing 2020-05-09T16:01:53 #kisslinux chown* autocorrect I'm on my phone 2020-05-09T16:01:55 #kisslinux merakor: link me to your shell script? always fun to see 2020-05-09T16:02:12 #kisslinux The shell script is inside the org-mode file :D 2020-05-09T16:02:13 #kisslinux E5ten: It's a lot slower this way. 2020-05-09T16:02:29 #kisslinux 3 commands instead of 1. 2020-05-09T16:02:33 #kisslinux I see 2020-05-09T16:02:35 #kisslinux merakor: I'm aware (you mentioned tangled :P) -- link me to the org mode heading src block 2020-05-09T16:02:38 #kisslinux Scale this up to 3k files... 2020-05-09T16:03:00 #kisslinux https://ckyln.com/files/emc 2020-05-09T16:03:46 #kisslinux oh this is just for launching emacsclient in place 2020-05-09T16:03:47 #kisslinux gotcha 2020-05-09T16:03:52 #kisslinux neat 2020-05-09T16:04:02 #kisslinux dylan03: I updated my script to read the kisslinux irc logs: https://termbin.com/kwjk 2020-05-09T16:04:16 #kisslinux Yeah it is pretty basic 2020-05-09T16:04:30 #kisslinux It launches emacs server if it wasn't started already 2020-05-09T16:05:38 #kisslinux merakor: What's the output format of sha256? 2020-05-09T16:05:47 #kisslinux shasum* 2020-05-09T16:06:34 #kisslinux Oh. sha256? 2020-05-09T16:06:37 #kisslinux I'm confused now. 2020-05-09T16:06:40 #kisslinux https://linux.die.net/man/1/shasum 2020-05-09T16:07:00 #kisslinux Isn't shasum some perl util? 2020-05-09T16:07:13 #kisslinux Yeah 2020-05-09T16:07:29 #kisslinux So there's sha256sum, shasum, sha256, openssl -bla and ????? 2020-05-09T16:07:31 #kisslinux iirc sha256 is the one BSDs have by default but maybe they have shasum too 2020-05-09T16:07:55 #kisslinux What a mess 2020-05-09T16:08:48 #kisslinux merakor: how does carbs linux compare to kiss linux 2020-05-09T16:08:52 #kisslinux We could swap to cksum (which is POSIX) and I could force everyone to regenerate checksums :^) 2020-05-09T16:09:19 #kisslinux neeasade: https://carbslinux.org/blog/20200508.html 2020-05-09T16:09:32 #kisslinux ah thank 2020-05-09T16:09:46 #kisslinux imo the best fallback order would be sha256sum, sha256, openssl, shasum, to first get things likely installed by default, then to keep the perl one as the least likely to be used 2020-05-09T16:10:47 #kisslinux E5ten: Yeah. I have to shuffle some things around though. (I use 'find -exec sha256sum' in the package manager which will no longer work). 2020-05-09T16:10:50 #kisslinux Cuz like everyone on linux will probably have sha256sum, everyone on BSDs will probably have sha256, and then you fallback to extra deps in order of least perl going first 2020-05-09T16:10:57 #kisslinux I also have to convert the output to match sha256sum... 2020-05-09T16:11:24 #kisslinux E5ten: https://pubs.opengroup.org/onlinepubs/9699919799/ 2020-05-09T16:11:26 #kisslinux :( 2020-05-09T16:12:17 #kisslinux What part of the spec am I supposed to be looking at cuz that just brings me to the whole thing 2020-05-09T16:12:40 #kisslinux I hate how the new POSIX versions web doesn't have links to specific pages 2020-05-09T16:12:51 #kisslinux Just saying that there's a POSIX checksums utility 2020-05-09T16:13:04 #kisslinux But it's weaker than sha256(?) 2020-05-09T16:13:19 #kisslinux Ah yeah I know of cksum, incredibly weak though iirc yeah 2020-05-09T16:13:29 #kisslinux Weaker than md5 even 2020-05-09T16:15:02 #kisslinux But I mean if the intent of the checksums is only to make sure there isn't a partial download I guess that'd be fine, but if it's for security like to make sure the source didn't swap the link to point to a malicious version I don't think that solution works 2020-05-09T16:16:03 #kisslinux Why can't POSIX just specify the {md5,sha*}sum utils :( 2020-05-09T16:16:25 #kisslinux Exactly 2020-05-09T16:16:34 #kisslinux And yeah. That's the purpose of the checksums. 2020-05-09T16:16:39 #kisslinux dylan03: thanks for the link :D 2020-05-09T16:16:47 #kisslinux No problem 2020-05-09T16:16:58 #kisslinux Wait which one is the purpose? Download integrity or security? 2020-05-09T16:17:22 #kisslinux Both 2020-05-09T16:18:05 #kisslinux I mean yeah I figured the second implied the first but I mentioned both and got a yes so I wasn't clear on which was meant 2020-05-09T16:18:42 #kisslinux "Which one?" 2020-05-09T16:18:45 #kisslinux "Yes" 2020-05-09T16:18:48 #kisslinux :P 2020-05-09T16:19:07 #kisslinux :D 2020-05-09T16:22:54 #kisslinux Stupid openssl: https://termbin.com/yi73 2020-05-09T16:22:55 #kisslinux :( 2020-05-09T16:23:20 #kisslinux Why is there a random * 2020-05-09T16:24:10 #kisslinux What's the sha256 output format? 2020-05-09T16:24:17 #kisslinux No idea 2020-05-09T16:24:21 #kisslinux I don't have the utility handy 2020-05-09T16:25:21 #kisslinux https://man.openbsd.org/OpenBSD-5.4/sha256.1 2020-05-09T16:25:29 #kisslinux > The sha256 command is shorthand for cksum -a sha256 2020-05-09T16:25:43 #kisslinux > cksum: unrecognized option: a 2020-05-09T16:25:46 #kisslinux heh 2020-05-09T16:26:18 #kisslinux Why don't the man pages show example output? :( 2020-05-09T16:26:19 #kisslinux I use sha256 -r 2020-05-09T16:26:33 #kisslinux Ikr so frustrating 2020-05-09T16:26:38 #kisslinux > Reverse the format of the hash algorithm output, making it match the output format used by cksum(1). 2020-05-09T16:26:41 #kisslinux Where's the STDOUT section 2020-05-09T16:26:42 #kisslinux This is '-r' 2020-05-09T16:26:55 #kisslinux Which outputs similar to sha256sum but WITH ONLY A SINGLE SPACE INSTEAD OF TWO 2020-05-09T16:27:02 #kisslinux lol... 2020-05-09T16:27:06 #kisslinux Just like openssl 2020-05-09T16:27:17 #kisslinux ' *' instead of ' ' 2020-05-09T16:27:34 #kisslinux Anyway I pipe everything to read -r hash file 2020-05-09T16:27:40 #kisslinux Yeah 2020-05-09T16:27:56 #kisslinux Then I format both openssl and sha256 to the same as sha256sum 2020-05-09T16:28:31 #kisslinux Remove the *, set the spacing 2020-05-09T16:28:35 #kisslinux Yeah 2020-05-09T16:33:22 #kisslinux illiliti what does kiss-encryption, it's suposed to replace kiss-init or to complement? 2020-05-09T16:33:32 #kisslinux i have no time to read 2020-05-09T16:36:28 #kisslinux eudaldgr: I no longer support encryption directly in the 'baseinit' package. 2020-05-09T16:36:45 #kisslinux My rationale: https://github.com/kisslinux/init/commit/23974886810891abd618e236debabe3a8fe5d955 2020-05-09T16:38:42 #kisslinux E5ten: https://github.com/kisslinux/kiss/blob/master/kiss#L151-L169 2020-05-09T16:38:43 #kisslinux Tada 2020-05-09T16:39:07 #kisslinux Ignore the typo 2020-05-09T16:39:38 #kisslinux It's working as intended then ;) 2020-05-09T16:39:49 #kisslinux dylan03 oh well, i didn't see that 2020-05-09T16:40:08 #kisslinux I will announce it soon 2020-05-09T16:40:14 #kisslinux kiss-encryption it's an extra for kiss-init 2020-05-09T16:40:20 #kisslinux Yeah 2020-05-09T16:40:23 #kisslinux well 2020-05-09T16:40:31 #kisslinux Using the built-in hook support we already had 2020-05-09T16:40:44 #kisslinux I haven't release a new version of 'baseinit' yet. 2020-05-09T16:40:51 #kisslinux illiliti dylan03 thanks 2020-05-09T16:40:58 #kisslinux <3 2020-05-09T16:41:14 #kisslinux I'll make a news post. Wait a week plus and then drop it. 2020-05-09T16:41:37 #kisslinux illiliti will do a far better job than I at maintaining it. 2020-05-09T16:42:17 #kisslinux and happy 1 year to kiss dylan03 !! 2020-05-09T16:42:24 #kisslinux Thanks :) 2020-05-09T16:44:14 #kisslinux kiss orphans shows a lot of software that is like...my end user software, like mpv, fd, firefox-bin. Is this normal behavior? 2020-05-09T16:44:16 #kisslinux dylan03: But what if the file starts with a * and you unintentionally strip it from the output of a non-openssl sha256 command's output? 2020-05-09T16:44:28 #kisslinux If that is so, maybe it should be renamed `kiss leaves` or something like that? 2020-05-09T16:46:47 #kisslinux micro_O it's a normal behaviour 2020-05-09T16:46:57 #kisslinux https://k1ss.org/faq 2020-05-09T16:47:06 #kisslinux micro_O: Well... They are technically orphans (not needed by anything else). You can use a simple wrapper script to add the functionality you're used to ('kiss i pkg' will mark the package as explicitly installed (and it will be excluded from orphan output)). 2020-05-09T16:47:18 #kisslinux dylan03: Also, I guess that makes install the only non-portable bit now? (Other than unavoidable and obvious non-portable things like git lol) 2020-05-09T16:47:22 #kisslinux read the section Package management micro_O 2020-05-09T16:47:45 #kisslinux E5ten: Well. With git/curl, there's only one implementation of these. Let's just call them dependencies. ;) 2020-05-09T16:48:14 #kisslinux E5ten: 'install' is part of the BSD standard 2020-05-09T16:48:24 #kisslinux interesting 2020-05-09T16:48:47 #kisslinux maybe I'll make a fake package called $HOSTNAME that has all my end user software 2020-05-09T16:48:53 #kisslinux which has some other interesting implications 2020-05-09T16:49:23 #kisslinux But install isn't standardized well enough 2020-05-09T16:49:34 #kisslinux -D isn't standard afaik 2020-05-09T16:50:04 #kisslinux Which is like the whole purpose for most people using it 2020-05-09T16:50:25 #kisslinux But -D isn't used in kiss 2020-05-09T16:50:29 #kisslinux It's been around since the 80's 2020-05-09T16:50:35 #kisslinux Since 4.2BSD 2020-05-09T16:50:49 #kisslinux Yeah, but implementations differ a lot 2020-05-09T16:50:51 #kisslinux Is it part of LSB? 2020-05-09T16:51:17 #kisslinux Here's the original man page: https://www.freebsd.org/cgi/man.cgi?query=install&sektion=1&manpath=4.3BSD+NET%2F2 2020-05-09T16:51:21 #kisslinux Will see if it's LSB 2020-05-09T16:51:25 #kisslinux https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/install.html 2020-05-09T16:51:33 #kisslinux :D 2020-05-09T16:51:42 #kisslinux E5ten: Oh, by install I thought you meant the build script for kiss. 2020-05-09T16:52:16 #kisslinux E5ten: If I remove '-d' from install, we're compatible with the 80's version of it. 2020-05-09T16:52:23 #kisslinux Ah, no I don't think those need to be portable outside of linux 2020-05-09T16:52:51 #kisslinux Cuz those are part of the distro which is linux 2020-05-09T16:53:11 #kisslinux I am porting to BSD though :D 2020-05-09T16:53:32 #kisslinux kissBSD?? D: D: D: 2020-05-09T16:53:53 #kisslinux I don't use install though, I use mkdir/cp in the build 2020-05-09T16:53:57 #kisslinux merakor: How is that going to work though? The kernel/userspace are one with the BSDs typically no? 2020-05-09T16:54:17 #kisslinux Yeah, that's the biggest issue I am trying to solve 2020-05-09T16:54:30 #kisslinux Plus the bsd userland isn't really portable outside BSD 2020-05-09T16:54:46 #kisslinux I am probably going to split into packages 2020-05-09T16:55:07 #kisslinux The base will only consist of bsd-libc from the bsd source 2020-05-09T16:55:32 #kisslinux interesting, kiss requires at least one source file to build/install? 2020-05-09T16:55:36 #kisslinux I plan on using small utilities, but the userland utilities will be on extra 2020-05-09T16:56:10 #kisslinux micro_O: What do you mean? 2020-05-09T16:56:42 #kisslinux dylan03: I made a package called 'talon', that only really needs depends and version 2020-05-09T16:56:58 #kisslinux the idea is i could go to any kiss chroot, do `kiss b talon` and have my system up and running 2020-05-09T16:57:05 #kisslinux all my end user software 2020-05-09T16:57:09 #kisslinux Right 2020-05-09T16:57:10 #kisslinux Yeah 2020-05-09T16:57:15 #kisslinux It requires a single source, yeah 2020-05-09T16:57:41 #kisslinux so i tar an empty build directory and post that somewhere and checksum it? 2020-05-09T16:58:18 #kisslinux The sources file can be empty 2020-05-09T16:58:22 #kisslinux Oh yeah. micro_O: Look at the kiss-orphans script if you'd like to exclude packages from it. https://github.com/kisslinux/kiss/blob/master/contrib/kiss-orphans 2020-05-09T16:58:25 #kisslinux but it needs to exist 2020-05-09T16:58:41 #kisslinux merakor well i get a failed cd when building 2020-05-09T16:58:45 #kisslinux maybe that is unrelated 2020-05-09T16:59:03 #kisslinux "fatal: Commit 83a1ad7f does not have a GPG signature." 2020-05-09T16:59:06 #kisslinux with an empty sources file 2020-05-09T16:59:38 #kisslinux Does it work with valid sources? 2020-05-09T16:59:42 #kisslinux dylan03: I mean, this has a side effect of kiss-orphans excluding user software, but my main goal is to be able to kiss b/kiss i 2020-05-09T16:59:46 #kisslinux M4R10zM0113R: Hm. All commits are signed: https://github.com/kisslinux/repo/commits/master 2020-05-09T16:59:47 #kisslinux I just tried it out 2020-05-09T16:59:48 #kisslinux for my system 2020-05-09T17:00:35 #kisslinux micro_O: The issue is more that you're using the package manager for something which could be done by a simple script (you could package the script(?)). 2020-05-09T17:01:19 #kisslinux You could also use a hack and add './build' to the sources file 2020-05-09T17:01:35 #kisslinux Or './version' which would be more reliable 2020-05-09T17:02:55 #kisslinux micro_O: So you're more after some kind of "meta package"? An empty package which just depends on stuff? 2020-05-09T17:03:00 #kisslinux dylan03: well I mean, I do want to encode that relationship, query it, etc. 2020-05-09T17:03:27 #kisslinux I'll see what I can do 2020-05-09T17:03:27 #kisslinux exactly dylan03 2020-05-09T17:04:24 #kisslinux I'm happy to spend some time making a PR that would allow for empty sources/checksums which I think would be all thats needed to support that use case 2020-05-09T17:04:36 #kisslinux Unless you'd rather explore the space a bit 2020-05-09T17:04:44 #kisslinux Don't wanna take you away from higher priority stuff 2020-05-09T17:04:46 #kisslinux dylan03: So are you planning on removing -d from install to meet that 80s version standardization? 2020-05-09T17:05:59 #kisslinux micro_O that's interesting, but what happens with the meta-package, that would be an orphan 2020-05-09T17:06:30 #kisslinux eudaldgr: yeah, thats a good point 2020-05-09T17:06:52 #kisslinux I forget that sudo uses root's .gnupg folder 2020-05-09T17:06:56 #kisslinux it's the same situation, but with 1 not-real orphan 2020-05-09T17:07:08 #kisslinux though I think it would be an improvement, and perhaps a stepping stone to either a more holistic solution or better understanding 2020-05-09T17:07:51 #kisslinux and when you would to add a end user package you need to add a depends on the meta, and update the version? 2020-05-09T17:08:09 #kisslinux i don't have a better solution, but i think it would be possible 2020-05-09T17:08:12 #kisslinux yes eudaldgr, that i kinda like being an explicit bump 2020-05-09T17:10:35 #kisslinux well, exclude from the kiss-orphans like the packages that are actually excluded it's a solution also 2020-05-09T17:10:43 #kisslinux dylan03: With the manifest, do all directories have their leading directories listed as well? Like if the manifest lists /usr/lib/ does it also have /usr/? 2020-05-09T17:12:31 #kisslinux If so, then only one directory component is created with each install -d, so that could be changed to mkdir with -m and chown, still more commands, but only 2 instead of 3 2020-05-09T17:13:39 #kisslinux Cuz mkdir -m only deals with perms for the last directory in the path, but if only that last directory is being created with each command that would deal with the mode correctly, and only owner/group would need a separate command, and then you wouldn't have install -d and would meet that 80's standard 2020-05-09T17:14:17 #kisslinux E5ten: Yeah. You're right. 2020-05-09T17:14:24 #kisslinux micro_O: I have it working locally. :) 2020-05-09T17:14:31 #kisslinux Will push shortly. 2020-05-09T17:14:40 #kisslinux interesting in seeing how you solved it <3 dylan03 2020-05-09T17:14:45 #kisslinux thanks for being open minded about it as well 2020-05-09T17:15:13 #kisslinux I took a stab at it locally. its nice being able to literally read the entire package manager and theres nothing magic about it 2020-05-09T17:15:44 #kisslinux (not that it didnt take a lot of work or effort to get to this level of simplicity) 2020-05-09T17:17:10 #kisslinux also amazing to not need any setup to just 'fork' I did `cp $(which kiss) .; export PATH=$PWD:$PATH; nvim kiss` 2020-05-09T17:18:15 #kisslinux dylan03: wait if the install functions are run as root because for those kiss is reexeced with as_root, would the files it creates be guaranteed to be created with root owner and group and that making the chown unnecessary, or is there a way that the files could have a non-root owner despite that? 2020-05-09T17:23:16 #kisslinux E5ten: You may be onto something here. I'll look into it. 2020-05-09T17:27:15 #kisslinux If I'm right then the install -d command could be entirely replaced with a mkdir -m and the other one with a cp+chmod 2020-05-09T17:34:19 #kisslinux sweeet, i got it working too 2020-05-09T17:34:31 #kisslinux now i can `kiss orphans | grep -v talon | xargs kiss remove` xD 2020-05-09T17:37:50 #kisslinux ugh I wish cp -p was split into 2 flags, one for ownership, and one for mode, because then if I'm write about the root ownership being automatic when run as root, the non-directory install command could be replaced with one cp command with a -p that only copies mode, but as is if -p is used the owners will also be copied and then a chown would be needed I think, so either way it's 2 commands 2020-05-09T17:38:45 #kisslinux Yup... 2020-05-09T17:40:27 #kisslinux micro_O: https://github.com/kisslinux/kiss/commit/3e004b193a6f44302b9272d662cb7e6a532b8968 2020-05-09T17:40:28 #kisslinux Done :) 2020-05-09T17:41:21 #kisslinux Wait. Did we want optional 'build' files as well? 2020-05-09T17:41:56 #kisslinux I guess cp -p + chown is preferable to cp + chmod cuz then you don't have to use the calculated octal permissons for that? 2020-05-09T17:42:00 #kisslinux that would be nice, but this is already greap dylan03 2020-05-09T17:42:17 #kisslinux its very very similar to what i did 2020-05-09T17:42:24 #kisslinux micro_O: Optional build files will be trickier (it can exist and be empty though). 2020-05-09T17:42:42 #kisslinux plus that way for that command you aren't relying on the assumption that root run cp will make root run files which I'm still pretty confident in but we're not sure about yet 2020-05-09T17:42:47 #kisslinux well without a build, can you query whats 'installed'? 2020-05-09T17:43:03 #kisslinux Yeah 2020-05-09T17:43:18 #kisslinux i worked around it by having my build just install a readme for the package 2020-05-09T17:43:41 #kisslinux It can be blank as well 2020-05-09T17:44:26 #kisslinux i'll test it out now then, im fine with a build file that does nothing, or maybe just echos "installing talon <3" 2020-05-09T17:44:33 #kisslinux Yeah 2020-05-09T17:45:02 #kisslinux In my mind I see some meta-packages still using build files. 2020-05-09T17:45:13 #kisslinux Optional sources makes sense to me. 2020-05-09T17:45:48 #kisslinux Though I may also decide that a blank file be needed as well... The error message is helpful to users 99% of the time. 2020-05-09T17:45:54 #kisslinux i wonder how many build files exist right now that don't actually do anything besides echo, i would be surprised if it was more than 1 2020-05-09T17:46:23 #kisslinux i switched die to war in a few places 2020-05-09T17:46:41 #kisslinux i'd rather have the warnings show up (even when not needed, for "metapackages") 2020-05-09T17:47:02 #kisslinux micro_O: Yeah. I agree. 2020-05-09T17:47:06 #kisslinux btw, whats the posix sh equivalent to [[ `kiss orphans` != 'talon' ]] 2020-05-09T17:47:53 #kisslinux You'd iterate line by line or store the entire command in a variable 'var=$(kiss orphans)' and use a case statement to match with globs. 2020-05-09T17:47:59 #kisslinux dylan03: can you explain to me how the 'cp -fPp "$2/$line" "${line%/*}"' line puts the symlink in the right place? 2020-05-09T17:51:12 #kisslinux dylan03: kiss_remove_orphans() { while kiss orphans | grep -qv talon; do kiss remove `kiss orph 2020-05-09T17:51:17 #kisslinux xD 2020-05-09T17:51:27 #kisslinux oh, it got cutoff 2020-05-09T17:51:49 #kisslinux E5ten: It copies the symlink to it's parent directory on the filesystem. 2020-05-09T17:52:04 #kisslinux ah I see 2020-05-09T17:52:06 #kisslinux '$2/$line' is the location to the extracted tarball. 2020-05-09T17:52:20 #kisslinux with my metapackage called hostname 2020-05-09T17:52:23 #kisslinux while kiss orphans | grep -qv $HOSTNAME; do kiss remove `kiss orphans | grep -v $HOSTNAME | tr 'n' ' '` 2020-05-09T17:52:28 #kisslinux ~/.cache/kiss/extract-000/usr/bin/ls -> /usr/bin 2020-05-09T17:52:34 #kisslinux but why is it "${line%/*}" and not "$KISS_ROOT/${line%/*}"? 2020-05-09T17:52:43 #kisslinux You're 100% right. 2020-05-09T17:53:09 #kisslinux That's become more of an after thought and it's something I've been meaning to fix. 2020-05-09T17:53:29 #kisslinux afterthought* 2020-05-09T17:53:58 #kisslinux dylan03: obviously I haven't tested, but if I'm right about kiss being run as root causing mkdir to make the directories as root, I think this should work to replace install? http://ix.io/2lpi 2020-05-09T17:54:08 #kisslinux micro_O: https://termbin.com/qahn 2020-05-09T17:55:36 #kisslinux E5ten: They're not root owned. 2020-05-09T17:55:39 #kisslinux Hm 2020-05-09T17:56:38 #kisslinux what isn't? the directories from mkdir? 2020-05-09T17:56:54 #kisslinux dylan03: still need to wrap in an outer while since there will be new orphans after all the removes right? 2020-05-09T17:57:33 #kisslinux E5ten: nvm. 2020-05-09T17:58:07 #kisslinux What I'm finding odd is that the tarball extracted as root retains the original ownership permissions (my user's). 2020-05-09T17:59:01 #kisslinux I thought that extraction as root changed ownership to root. Or am I wrong entirely? 2020-05-09T18:00:27 #kisslinux Pretty sure it keeps the permissions of the files in the tarball regardless of who it's extracted by, that's the reason for changing ownership beforehand like you do or making it in fakeroot like makepkg does 2020-05-09T18:01:23 #kisslinux > [ -d "$line" ] || mkdir -m "$oct" "$KISS_ROOT/$line" 2020-05-09T18:01:25 #kisslinux This works fyi 2020-05-09T18:02:07 #kisslinux Thanks for that 2020-05-09T18:02:57 #kisslinux Fuck yeah 2020-05-09T18:03:04 #kisslinux I need to go back and read your other messages. I'm doing a million things at once. :P 2020-05-09T18:03:15 #kisslinux We're down to one 'install' command now right? 2020-05-09T18:03:18 #kisslinux What about the cp part, I'm not really sure quite what to do about the cp flags but hopefully it works 2020-05-09T18:03:22 #kisslinux Yeah 2020-05-09T18:03:33 #kisslinux That patch has a possibly working replacement for it too 2020-05-09T18:05:50 #kisslinux Trying it now 2020-05-09T18:06:07 #kisslinux You don't want to know how many times I nuked this install while writing this function ;) 2020-05-09T18:06:47 #kisslinux > doas: not installed setuid 2020-05-09T18:06:52 #kisslinux This drops setuid 2020-05-09T18:07:04 #kisslinux > -rwxr-xr-x 1 root root 161352 May 9 11:08 /usr/bin/doas 2020-05-09T18:07:41 #kisslinux hmm, maybe move the chown -h back to the first part of the if instead of applying to both, and in the second part use cp without -p, and then do chmod with the calculated octal instead of chown 2020-05-09T18:08:11 #kisslinux E5ten: chown drops setuid/setgid if you were wondering 2020-05-09T18:08:19 #kisslinux ohhh 2020-05-09T18:08:22 #kisslinux Yeah 2020-05-09T18:08:25 #kisslinux then yeah the solution I just described should work 2020-05-09T18:08:39 #kisslinux I had to patch our 'install' utility to fix this. 2020-05-09T18:08:46 #kisslinux It does chown after chmod... 2020-05-09T18:09:00 #kisslinux cuz cp without -p will make the files owned by root, and the chmod will make the perms correct 2020-05-09T18:09:07 #kisslinux Yeah 2020-05-09T18:09:30 #kisslinux cool, kiss' first published "metapackage" 2020-05-09T18:09:31 #kisslinux not on linux anymore so I can't make a patch but I think you can probably get what I'm saying 2020-05-09T18:09:32 #kisslinux I could use 'mv -f' here no? 2020-05-09T18:09:33 #kisslinux thanks dylan03 2020-05-09T18:09:37 #kisslinux np 2020-05-09T18:11:12 #kisslinux dylan03: I don't know what mv does with permissions, if it preserves them then sure? 2020-05-09T18:11:28 #kisslinux I can't 2020-05-09T18:11:31 #kisslinux but if it does it'd probably also preserve owner in which case same issue? 2020-05-09T18:11:42 #kisslinux It'll move the manifest away while I'm reading it. ;) 2020-05-09T18:11:54 #kisslinux ah right lol 2020-05-09T18:12:15 #kisslinux yeah then I think cp without -p + chmod "" would probably work best 2020-05-09T18:12:30 #kisslinux Yeah 2020-05-09T18:12:32 #kisslinux It works here 2020-05-09T18:12:38 #kisslinux perfect 2020-05-09T18:12:42 #kisslinux no more install then? 2020-05-09T18:12:48 #kisslinux https://termbin.com/d17g 2020-05-09T18:12:53 #kisslinux No more install 2020-05-09T18:13:02 #kisslinux nice fix with kiss outdated as well. though it is trying to open repos/sdsddsd1/kiss-games/screenshots/version ... i think repos with non-package subdirectories confuse it 2020-05-09T18:13:05 #kisslinux hell yeah 2020-05-09T18:13:28 #kisslinux micro_O: What's your KISS_PATH? 2020-05-09T18:13:37 #kisslinux E5ten: real 0m 3.28s 2020-05-09T18:13:48 #kisslinux > -> kiss man python | wc -l 2020-05-09T18:13:52 #kisslinux > 3466 2020-05-09T18:14:00 #kisslinux That's fine performance-wise 2020-05-09T18:14:16 #kisslinux err, ignore the not implemented yet part 2020-05-09T18:14:18 #kisslinux can you show me the comparison to without the switch to cp out of curiousity? 2020-05-09T18:14:22 #kisslinux curiosity* 2020-05-09T18:14:27 #kisslinux Sure 2020-05-09T18:15:12 #kisslinux > real 0m 3.02s 2020-05-09T18:15:22 #kisslinux > real 0m 3.00s 2020-05-09T18:15:39 #kisslinux first is with cp + chmod second is install? 2020-05-09T18:15:57 #kisslinux no no 2020-05-09T18:16:02 #kisslinux Both are with install 2020-05-09T18:16:06 #kisslinux I just ran it twice 2020-05-09T18:16:17 #kisslinux If I use 'mv' it's a lot faster. 2020-05-09T18:16:39 #kisslinux ah, still pretty small performance decrease for 2 commands vs 1 2020-05-09T18:16:43 #kisslinux Yup 2020-05-09T18:16:47 #kisslinux chmod/chown are cheap 2020-05-09T18:16:48 #kisslinux dylan03: `[ -f "$pkg_loc/version" ] || continue` fixes it in kiss-outdated 2020-05-09T18:16:53 #kisslinux i can make a pr 2020-05-09T18:17:08 #kisslinux micro_O: Sure 2020-05-09T18:17:49 #kisslinux > real 0m 2.43s 2020-05-09T18:17:54 #kisslinux That's with 'mv' 2020-05-09T18:18:38 #kisslinux This package is the "worst case" though so I'm not worried about it. 2020-05-09T18:18:49 #kisslinux 3500~ files... 2020-05-09T18:20:35 #kisslinux https://github.com/kisslinux/kiss/pull/147 2020-05-09T18:21:08 #kisslinux Thanks E5ten! 2020-05-09T18:21:43 #kisslinux micro_O: Oh. This can simply be: read -r ver _ 2>/dev/null < "$pkg_loc/version" || continue 2020-05-09T18:21:46 #kisslinux (I believe) 2020-05-09T18:22:12 #kisslinux ill try that out 2020-05-09T18:23:14 #kisslinux E5ten: We're fully POSIX now (minus single implementations like git/curl, optional utilities and stupid sha256*). 2020-05-09T18:23:25 #kisslinux hell yeah 2020-05-09T18:23:38 #kisslinux you still gotta move the -ef in shebang to a set -ef command lol 2020-05-09T18:23:41 #kisslinux Yeah 2020-05-09T18:23:44 #kisslinux Forgot all about that 2020-05-09T18:25:57 #kisslinux yeah that works, ill close the pr 2020-05-09T18:26:38 #kisslinux :D 2020-05-09T18:28:11 #kisslinux Pushed 2020-05-09T18:28:12 #kisslinux Thanks 2020-05-09T18:30:44 #kisslinux Grr. cairo + freetype-harfbuzz are a circular dependency. 2020-05-09T18:53:38 #kisslinux Can anyone reproduce an issue where Grub built with GCC 10.1.0 causes the boot to fail? I've been meaning to ask. 2020-05-09T18:59:37 #kisslinux nope. 2020-05-09T19:06:32 #kisslinux BIOS or UEFI if you don't mind me asking? 2020-05-09T19:06:39 #kisslinux uefi 2020-05-09T19:07:06 #kisslinux micro_O: mywayland has changed its structure to your liking ;) 2020-05-09T19:09:52 #kisslinux Nice 2020-05-09T19:10:32 #kisslinux libxkbcommon will always be needed fyi (same maybe for xkeyboard-config). 2020-05-09T19:11:30 #kisslinux y, I found that out the hard way :D 2020-05-09T19:11:46 #kisslinux You'll find this interesting: https://freenode.logbot.info/kisslinux/20200119#c3112271 2020-05-09T19:11:50 #kisslinux > xkb is so much fun, that they kept it in wayland and managed to make it worse is worth a small /golfclap 2020-05-09T19:12:51 #kisslinux thx I will have a read 2020-05-09T19:14:04 #kisslinux letoram: Has the situation changed at all? Apologies for asking but you're most likely more informed than I am here. 2020-05-09T19:15:00 #kisslinux claudia02: Regarding GTK+2. It's only needed as a compile-time dependency for Firefox (solely for flash support...) (can't be disabled). 2020-05-09T19:15:29 #kisslinux Worst case you need some X11 libs at compile-time only. 2020-05-09T19:16:14 #kisslinux I not only found out about libxkbcommon and xkeyboard-config, I snooped at oasis linux and took this as example 2020-05-09T19:16:36 #kisslinux Regarding https://github.com/sdsddsd1/mywayland/issues/2, Drew himself runs Sway with setuid iirc. You can most likely just close this issue. 2020-05-09T19:16:40 #kisslinux Y, I have ditched this setup currently because web performance was so bad 2020-05-09T19:16:49 #kisslinux Mesa and cairo were missing important stuff 2020-05-09T19:16:57 #kisslinux Ah 2020-05-09T19:17:40 #kisslinux Ok thx for support, so suid seems _ok_ 2020-05-09T19:17:45 #kisslinux will close 2020-05-09T19:18:52 #kisslinux https://github.com/thejan2009/sway/blob/5e585f96037854842827db478a978ff959026713/sway/main.c#L158-L171 2020-05-09T19:19:06 #kisslinux Sway will exit/error if it can't drop setuid/setgid. 2020-05-09T19:19:57 #kisslinux Oops 2020-05-09T19:20:00 #kisslinux That's an old source 2020-05-09T19:20:19 #kisslinux https://github.com/swaywm/sway/blob/33a984bbc5c5ec4202f24bacf6ddd584b95a9ec0/sway/main.c#L187-L205 2020-05-09T19:20:21 #kisslinux There we go 2020-05-09T19:21:17 #kisslinux How is Wayland at the moment? I haven't tried it in some time. 2020-05-09T19:21:51 #kisslinux velox and its stack from mcf looks pretty nice, but its not yet ready for gtk aplicatios. Or not more. This would be enough to run a browser and a little game. 2020-05-09T19:21:58 #kisslinux Firefox 75 was nice with vaapi 2020-05-09T19:22:15 #kisslinux cpu usage dropped from ~20% to about 10% 2020-05-09T19:22:49 #kisslinux With firefox 76 I had no luck yet 2020-05-09T19:23:29 #kisslinux And y, I have intel graphics and suffer tearing thats one of my main motivation 2020-05-09T19:23:43 #kisslinux *motivations 2020-05-09T19:24:03 #kisslinux I also swap back and forth to maintain kiss-games 2020-05-09T19:25:32 #kisslinux Yeah. vaapi support sounds really nice, especially for a laptop. There's some slow movement towards X11 support for it too. 2020-05-09T19:25:49 #kisslinux I somehow doubt we'll every see it though. 2020-05-09T19:25:51 #kisslinux ever* 2020-05-09T19:26:22 #kisslinux Its a nice experiment which works pretty well, especially since vaapi for ff 2020-05-09T19:27:30 #kisslinux But I have not yet found a simple sowm like compositor *wink wink* ;) 2020-05-09T19:27:45 #kisslinux In wlroots world 2020-05-09T19:29:27 #kisslinux Heh. Drew actually wrote a tiny Wayland compositor based on wlroots some time ago. I'll see if I can find it (500~ lines iirc). 2020-05-09T19:29:28 #kisslinux setuid of some sort is required in order to drop drm master (for instance, when switching VTs). but with privilege separation (i.e. logind or a launcher or forking and dropping privileges), you can minimize the security issues 2020-05-09T19:30:10 #kisslinux https://gist.github.com/SirCmpwn/ae4d1cdcca97ffeb2c35f0878d75dc17 2020-05-09T19:30:14 #kisslinux This is where it lived. 2020-05-09T19:30:17 #kisslinux It 404s now though 2020-05-09T19:30:22 #kisslinux Regarding to sway dropping permissions: when its refusing to start as security step this should be more than ok for a single user system -> This lets me feel more relaxed. 2020-05-09T19:30:45 #kisslinux dylan03: its insed wlroots or sway source 2020-05-09T19:30:49 #kisslinux tinywl 2020-05-09T19:31:39 #kisslinux https://web.archive.org/web/20180822224306/https://gist.github.com/SirCmpwn/ae4d1cdcca97ffeb2c35f0878d75dc17 2020-05-09T19:32:12 #kisslinux You're right :P 2020-05-09T19:32:26 #kisslinux the swc example is 278 lines, but it is tiling: https://github.com/michaelforney/swc/blob/master/example/wm.c 2020-05-09T19:33:39 #kisslinux Nice 2020-05-09T19:33:53 #kisslinux Looks like it lives here now https://github.com/swaywm/wlroots/tree/master/tinywl 2020-05-09T19:35:26 #kisslinux regarding xkb, you can use memfd to seal the fd before sending to the cilents, but this is linux specific 2020-05-09T19:44:07 #kisslinux dylan03: what do you think about system hooks(located in e.g /lib/init/rc.d) for kiss init? i'm asking because kiss doesn't uninstall hooks in /etc/rc.d .... 2020-05-09T19:48:00 #kisslinux illiliti: Sure. System-wide package manager hooks make sense. 2020-05-09T19:48:20 #kisslinux managed* 2020-05-09T19:49:59 #kisslinux How about just "/usr/lib/init"? 2020-05-09T19:50:55 #kisslinux nvm 2020-05-09T19:51:03 #kisslinux I'll push a commit in a sec. 2020-05-09T19:52:26 #kisslinux Pushed 2020-05-09T19:55:24 #kisslinux great 2020-05-09T19:57:23 #kisslinux I'll make a news post tomorrow about the encryption changes and give a deadline before I release the next baseinit version. 2020-05-09T19:57:38 #kisslinux I'm thinking two weeks to be 100% safe. 2020-05-09T19:58:17 #kisslinux Lack of telemetry means not knowing how many users use encryption (or how many users there are in general). ;) 2020-05-09T20:01:25 #kisslinux This may be the issue I mentioned before (wrongly attributed to grub): https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=f670269a42bfdd2c83a1118cc3d1b475547eac22 2020-05-09T20:19:13 #kisslinux https://k1ss.org/news/20200509a 2020-05-09T20:34:33 #kisslinux #justuseclang 2020-05-09T20:43:53 #kisslinux Our LLVM/Clang links to libgcc :^) 2020-05-09T20:44:14 #kisslinux You can't compile LLVM/Clang standalone in a single build. :( 2020-05-09T20:44:19 #kisslinux https://github.com/konimex/kiss-llvm 2020-05-09T21:16:38 #kisslinux Dylan: is it possible to have kiss i check for prebuilt dependencies when installing a tarball similar to how kiss b checks for prebuilt dependencies? 2020-05-09T21:17:22 #kisslinux Or actually, KISS_FORCE works here doesn't it 2020-05-09T21:19:37 #kisslinux Yes and yes. It's tricky though. We'd be overloading install with quasi-build functionality. Should it only handle dependencies which exist as pre-built tarballs? What happens if a dependency doesn't exist as a tarball? Do we build it then and there? Now there's no real difference between build and install other than what happens to the arguments passed to the package manager. 2020-05-09T21:21:44 #kisslinux You could script this pretty easily though. (Read the depends file for runtime dependencies, run 'kiss i' on the matches, etc). 2020-05-09T21:22:05 #kisslinux (You could use 'tar tf' here) 2020-05-09T21:22:48 #kisslinux Yeah I thought of that too, it doesn't seem worth it. There are better ways