💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-05-09.txt captured on 2023-01-29 at 04:02:51.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2020-05-09T00:06:08 #kisslinux <E5ten> I guess not then lol
2020-05-09T00:39:32 #kisslinux <claudia02> dtj3 there is https://github.com/ioraff/kiss-personal you can tryout.
2020-05-09T03:01:11 #kisslinux <dilyn> lol kde bumped all their packages but the url just returns a 403 for every package
2020-05-09T03:01:12 #kisslinux <dilyn> cute
2020-05-09T03:59:04 #kisslinux <dilyn> ... 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 <dilyn> there's no way it doesn't, right? that would be too easy
2020-05-09T04:48:03 #kisslinux <E5ten> 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 <testng> hello
2020-05-09T06:36:03 #kisslinux <dylan03> Happy one year to KISS!
2020-05-09T06:36:14 #kisslinux <dylan03> It's been exactly a year since the first commit.
2020-05-09T07:36:35 #kisslinux <claudia02> graz
2020-05-09T07:38:10 #kisslinux <claudia02> awesome, now that we can print, an office suite must be found :D
2020-05-09T07:42:59 #kisslinux <dylan03> Yes!
2020-05-09T07:45:34 #kisslinux <claudia02> where does the printer driver come from, also from the kernel?
2020-05-09T07:47:55 #kisslinux <dylan03> I'd imagine so
2020-05-09T08:03:01 #kisslinux <dylan03> 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 <dylan03> The --strip-components replacement so far works with every package thrown at it. :)
2020-05-09T08:26:13 #kisslinux <dylan03> You can follow my checklist here: https://github.com/kisslinux/repo/issues/188
2020-05-09T08:27:03 #kisslinux <dylan03> 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 <dylan03> (With whatever input is thrown at it)
2020-05-09T09:03:19 #kisslinux <dylan03> OK. Our strip-components replacement works with every package in the official repositories.
2020-05-09T09:15:27 #kisslinux <merakor[m]> Nice
2020-05-09T09:16:14 #kisslinux <dylan03> It'd be so much simpler if POSIX cp supported '-l' :(
2020-05-09T09:16:51 #kisslinux <dylan03> 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 <dylan03> This current implementation uses 'mv' in the 99% of cases though.
2020-05-09T09:17:21 #kisslinux <dylan03> So there's still no noticable difference in speed.
2020-05-09T09:18:05 #kisslinux <merakor[m]> But hard links cannot be used between filesystems
2020-05-09T09:18:20 #kisslinux <merakor[m]> I can see issues arising from cp -l
2020-05-09T09:18:42 #kisslinux <dylan03> cp falls back to a regular copy in this case.
2020-05-09T09:18:48 #kisslinux <dylan03> Regardless though, it's not portable.
2020-05-09T09:20:33 #kisslinux <merakor[m]> I think the current conflict system is really good
2020-05-09T09:21:30 #kisslinux <dylan03> With the two find calls?
2020-05-09T09:22:16 #kisslinux <dylan03> 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 <dylan03> You might be interested in this commit: https://github.com/kisslinux/kiss/commit/08eae0366aefb7790ee783c46f9c9a71f45812c6
2020-05-09T09:24:57 #kisslinux <dylan03> onodera: https://www.phoronix.com/scan.php?page=news_item&px=FreeRDP-2.1-Released
2020-05-09T09:25:57 #kisslinux <merakor[m]> Yeah, that's good, I will grab that :D
2020-05-09T09:26:45 #kisslinux <dylan03> I'm going to also rewrite the entire output process
2020-05-09T09:27:40 #kisslinux <dylan03> 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 <dylan03> So you'll always know what package is building and what's next in the list.
2020-05-09T09:29:21 #kisslinux <dylan03> I'll be on again later. o/
2020-05-09T09:31:30 #kisslinux <merakor[m]> o/
2020-05-09T09:51:25 #kisslinux <djt3> 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 <merakor> You need to install the samba program as well
2020-05-09T09:53:23 #kisslinux <merakor> I don't think that it's in the repositories
2020-05-09T09:53:38 #kisslinux <merakor> https://samba.org
2020-05-09T09:53:50 #kisslinux <merakor> You can obtain the source code here
2020-05-09T09:54:13 #kisslinux <djt3> yeah i tried building from source, it had tons of unmet dependancies
2020-05-09T09:54:14 #kisslinux <merakor> Maybe you could package it and add it to the community repository :)
2020-05-09T09:54:37 #kisslinux <djt3> would love to, but the amount of dependancies is huge
2020-05-09T09:55:31 #kisslinux <merakor> I recall most of it are optional dependencies
2020-05-09T09:55:41 #kisslinux <merakor> But I'll check it out
2020-05-09T09:55:47 #kisslinux <djt3> yeah i disabled most of the features but there were still some i couldnt get past
2020-05-09T09:55:49 #kisslinux <djt3> thanks :)
2020-05-09T09:56:06 #kisslinux <merakor> Sure :)
2020-05-09T09:56:30 #kisslinux <rirc0D08D> djt3:
2020-05-09T09:56:40 #kisslinux <djt3> hi
2020-05-09T09:56:46 #kisslinux <claudia02> there is samba packaged in the user repos
2020-05-09T09:57:02 #kisslinux <djt3> oh right, i completley missed that. whats its name?
2020-05-09T09:57:03 #kisslinux <claudia02> read the log from 8h ago, I have send a link
2020-05-09T09:57:10 #kisslinux <djt3> oh thanks :)
2020-05-09T09:57:20 #kisslinux <claudia02> (:
2020-05-09T09:57:39 #kisslinux <djt3> thanks so much :)
2020-05-09T09:57:45 #kisslinux <merakor> Sorry, I didn't see that one either
2020-05-09T10:00:32 #kisslinux <djt3> 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 <claudia02> djt3: btw, tuitube has the vimkeys the other way around
2020-05-09T10:01:21 #kisslinux <claudia02> nono
2020-05-09T10:01:28 #kisslinux <claudia02> put them in your KISS_PATH
2020-05-09T10:01:40 #kisslinux <claudia02> and KISS updates them as the other repos
2020-05-09T10:01:53 #kisslinux <djt3> right thanks
2020-05-09T10:06:09 #kisslinux <djt3> claudia02: you missed libtool as a dependancy off libcap
2020-05-09T10:06:15 #kisslinux <djt3> i think
2020-05-09T10:09:46 #kisslinux <djt3> 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 <claudia02> djt3: ok I check that, thanks
2020-05-09T10:12:26 #kisslinux <djt3> 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 <claudia02> djt3: libcap is in community
2020-05-09T10:14:47 #kisslinux <claudia02> I dont maintain this (:
2020-05-09T10:14:55 #kisslinux <claudia02> also the samba repo is not from me
2020-05-09T10:15:03 #kisslinux <djt3> oh right my bad, i just assumed sorry
2020-05-09T10:15:08 #kisslinux <claudia02> ^^ all good
2020-05-09T10:15:26 #kisslinux <djt3> should i make an issue for the missing dependancy
2020-05-09T10:16:21 #kisslinux <claudia02> y, why not.  But I have also never heard any reception of samba of this repo
2020-05-09T10:17:21 #kisslinux <djt3> 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 <djt3> actually think i might try out alpine
2020-05-09T10:24:52 #kisslinux <Island-Alpha> Alpine looks cool
2020-05-09T10:24:57 #kisslinux <claudia02> I wanted samba before that repo existed and tried out ssh cp between linux and windows machines
2020-05-09T10:25:03 #kisslinux <claudia02> which works good
2020-05-09T10:26:24 #kisslinux <claudia02> there is also httpd for one way filetransfer
2020-05-09T10:30:00 #kisslinux <illiliti> dylan03: https://termbin.com/vbcg
2020-05-09T10:37:47 #kisslinux <djt3> 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 <perish> hola!
2020-05-09T11:16:46 #kisslinux <perish> hello, crestwave
2020-05-09T11:20:31 #kisslinux <perish> Ouch
2020-05-09T11:39:24 #kisslinux <perish> dylan03 Hey, I have a question regarding packaging a piece of software
2020-05-09T11:39:46 #kisslinux <perish> There's a terminal multiplexer called dvtm
2020-05-09T11:39:56 #kisslinux <perish> dvtm does not implement session management
2020-05-09T11:40:07 #kisslinux <perish> And it has a preferred session manager, abduco
2020-05-09T11:40:45 #kisslinux <perish> As far as I'm aware, abduco is unique in being simply a session manager
2020-05-09T11:41:41 #kisslinux <perish> How would you appropriately make the user aware that abduco is required for dvtm?
2020-05-09T11:42:02 #kisslinux <perish> We don't have a concept of optional dependencies
2020-05-09T11:55:31 #kisslinux <merakor> I did something similar to optional dependencies in the webkit2gtk package
2020-05-09T11:56:11 #kisslinux <merakor> 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 <fehawen> hola folks
2020-05-09T12:29:47 #kisslinux <claudia02> o/
2020-05-09T13:06:40 #kisslinux <dylan03> o/
2020-05-09T13:06:56 #kisslinux <dylan03> perish: You can simply mention it in a post-install.
2020-05-09T13:07:03 #kisslinux <dylan03> Or you can include it in the depends file and comment it out.
2020-05-09T13:07:15 #kisslinux <dylan03> Though this isn't really a real dependency.
2020-05-09T13:11:58 #kisslinux <dylan03> > We don't have a concept of optional dependencies
2020-05-09T13:12:03 #kisslinux <dylan03> We don't need one
2020-05-09T13:20:30 #kisslinux <dylan03> https://k1ss.org/blog/20200509a
2020-05-09T13:43:02 #kisslinux <aarng> hbd :)
2020-05-09T14:36:57 #kisslinux <dylan03> aarng: Thanks :D
2020-05-09T14:48:05 #kisslinux <illiliti> hbd too ) can you please make dark mode for kiss site?
2020-05-09T14:49:54 #kisslinux <dylan03> illiliti: There is one
2020-05-09T14:50:15 #kisslinux <dylan03> 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 <E5ten> 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 <dylan03> Oh
2020-05-09T14:58:09 #kisslinux <dylan03> I get it
2020-05-09T14:58:22 #kisslinux <dylan03> I'm a bit slow sometimes. ;-)
2020-05-09T15:03:51 #kisslinux <dylan03> illiliti: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
2020-05-09T15:09:43 #kisslinux <illiliti> thank you. now it looks more comfortable
2020-05-09T15:19:01 #kisslinux <dylan03> No problem
2020-05-09T15:53:05 #kisslinux <E5ten> dylan03: Nice on ditching readlink
2020-05-09T15:53:19 #kisslinux <dylan03> Yeah
2020-05-09T15:53:44 #kisslinux <dylan03> It was easier to not do a generic implementation
2020-05-09T15:53:59 #kisslinux <dylan03> We should be 100% portable now
2020-05-09T15:54:33 #kisslinux <dylan03> Minus sha256sum/openssl of course...
2020-05-09T15:54:48 #kisslinux <dylan03> I could add another fallback to shasum
2020-05-09T15:55:04 #kisslinux <E5ten> Maybe to increase portability on that front add a fallback to the sha256 command BSDs have?
2020-05-09T15:55:21 #kisslinux <merakor> Yeah, check my hashcheck function
2020-05-09T15:55:27 #kisslinux <merakor> It has support for sha256
2020-05-09T15:55:52 #kisslinux <E5ten> 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 <dylan03> E5ten: I'd rather keep kiss as a single file.
2020-05-09T15:56:26 #kisslinux <E5ten> Fair enough
2020-05-09T15:56:38 #kisslinux <dylan03> You can just drop/run it from wherever you like
2020-05-09T15:57:12 #kisslinux <kisslinuxuser> dylan03: portable as in it could run on BSD?
2020-05-09T15:57:16 #kisslinux <merakor> 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 <E5ten> I wish POSIX would add a su spec
2020-05-09T15:57:30 #kisslinux <neeasade> merakor: this is the way
2020-05-09T15:57:40 #kisslinux <dylan03> Well. Once I add sha256 support it should work on BSDs already.
2020-05-09T15:57:55 #kisslinux <merakor> simple package manager, depends on Emacs
2020-05-09T15:58:10 #kisslinux <merakor> as a make dependency*
2020-05-09T15:58:24 #kisslinux <kisslinuxuser> dylan03: would run kiss on other distros like gentoo?
2020-05-09T15:58:37 #kisslinux <merakor> It does
2020-05-09T15:58:39 #kisslinux <neeasade> 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 <kisslinuxuser> neat
2020-05-09T15:58:48 #kisslinux <neeasade> it's a fun way to live
2020-05-09T15:59:15 #kisslinux <dylan03> It's more about allowing the user to use whatever coreutils, etc they like.
2020-05-09T15:59:23 #kisslinux <jbl007> where is a good place to put a request for a package? may i ask here? :)
2020-05-09T15:59:32 #kisslinux <dylan03> This also means you could run it on another distribution, yeah.
2020-05-09T16:00:48 #kisslinux <merakor> 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 <neeasade> merakor: I'm with you on the latter, but not on the former
2020-05-09T16:01:39 #kisslinux <E5ten> dylan03: Maybe to increase portability add a function that replaces install with cp, chmod, and chosen?
2020-05-09T16:01:41 #kisslinux <neeasade> I don't do the literate style/tangling thing
2020-05-09T16:01:53 #kisslinux <E5ten> chown* autocorrect I'm on my phone
2020-05-09T16:01:55 #kisslinux <neeasade> merakor: link me to your shell script? always fun to see
2020-05-09T16:02:12 #kisslinux <merakor> The shell script is inside the org-mode file :D
2020-05-09T16:02:13 #kisslinux <dylan03> E5ten: It's a lot slower this way.
2020-05-09T16:02:29 #kisslinux <dylan03> 3 commands instead of 1.
2020-05-09T16:02:33 #kisslinux <E5ten> I see
2020-05-09T16:02:35 #kisslinux <neeasade> merakor: I'm aware (you mentioned tangled :P) -- link me to the org mode heading src block
2020-05-09T16:02:38 #kisslinux <dylan03> Scale this up to 3k files...
2020-05-09T16:03:00 #kisslinux <merakor> https://ckyln.com/files/emc
2020-05-09T16:03:46 #kisslinux <neeasade> oh this is just for launching emacsclient in place
2020-05-09T16:03:47 #kisslinux <neeasade> gotcha
2020-05-09T16:03:52 #kisslinux <neeasade> neat
2020-05-09T16:04:02 #kisslinux <fehawen> dylan03: I updated my script to read the kisslinux irc logs: https://termbin.com/kwjk
2020-05-09T16:04:16 #kisslinux <merakor> Yeah it is pretty basic
2020-05-09T16:04:30 #kisslinux <merakor> It launches emacs server if it wasn't started already
2020-05-09T16:05:38 #kisslinux <dylan03> merakor: What's the output format of sha256?
2020-05-09T16:05:47 #kisslinux <dylan03> shasum*
2020-05-09T16:06:34 #kisslinux <dylan03> Oh. sha256?
2020-05-09T16:06:37 #kisslinux <dylan03> I'm confused now.
2020-05-09T16:06:40 #kisslinux <dylan03> https://linux.die.net/man/1/shasum
2020-05-09T16:07:00 #kisslinux <E5ten> Isn't shasum some perl util?
2020-05-09T16:07:13 #kisslinux <dylan03> Yeah
2020-05-09T16:07:29 #kisslinux <dylan03> So there's sha256sum, shasum, sha256, openssl -bla and ?????
2020-05-09T16:07:31 #kisslinux <E5ten> iirc sha256 is the one BSDs have by default but maybe they have shasum too
2020-05-09T16:07:55 #kisslinux <dylan03> What a mess
2020-05-09T16:08:48 #kisslinux <neeasade> merakor: how does carbs linux compare to kiss linux
2020-05-09T16:08:52 #kisslinux <dylan03> We could swap to cksum (which is POSIX) and I could force everyone to regenerate checksums :^)
2020-05-09T16:09:19 #kisslinux <dylan03> neeasade: https://carbslinux.org/blog/20200508.html
2020-05-09T16:09:32 #kisslinux <neeasade> ah thank
2020-05-09T16:09:46 #kisslinux <E5ten> 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 <dylan03> 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 <E5ten> 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 <dylan03> I also have to convert the output to match sha256sum...
2020-05-09T16:11:24 #kisslinux <dylan03> E5ten: https://pubs.opengroup.org/onlinepubs/9699919799/
2020-05-09T16:11:26 #kisslinux <dylan03> :(
2020-05-09T16:12:17 #kisslinux <E5ten> 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 <E5ten> I hate how the new POSIX versions web doesn't have links to specific pages
2020-05-09T16:12:51 #kisslinux <dylan03> Just saying that there's a POSIX checksums utility
2020-05-09T16:13:04 #kisslinux <dylan03> But it's weaker than sha256(?)
2020-05-09T16:13:19 #kisslinux <E5ten> Ah yeah I know of cksum, incredibly weak though iirc yeah
2020-05-09T16:13:29 #kisslinux <E5ten> Weaker than md5 even
2020-05-09T16:15:02 #kisslinux <E5ten> 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 <E5ten> Why can't POSIX just specify the {md5,sha*}sum utils :(
2020-05-09T16:16:25 #kisslinux <dylan03> Exactly
2020-05-09T16:16:34 #kisslinux <dylan03> And yeah. That's the purpose of the checksums.
2020-05-09T16:16:39 #kisslinux <merakor> dylan03: thanks for the link :D
2020-05-09T16:16:47 #kisslinux <dylan03> No problem
2020-05-09T16:16:58 #kisslinux <E5ten> Wait which one is the purpose? Download integrity or security?
2020-05-09T16:17:22 #kisslinux <merakor> Both
2020-05-09T16:18:05 #kisslinux <E5ten> 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 <dylan03> "Which one?"
2020-05-09T16:18:45 #kisslinux <dylan03> "Yes"
2020-05-09T16:18:48 #kisslinux <dylan03> :P
2020-05-09T16:19:07 #kisslinux <merakor> :D
2020-05-09T16:22:54 #kisslinux <dylan03> Stupid openssl: https://termbin.com/yi73
2020-05-09T16:22:55 #kisslinux <dylan03> :(
2020-05-09T16:23:20 #kisslinux <dylan03> Why is there a random *
2020-05-09T16:24:10 #kisslinux <E5ten> What's the sha256 output format?
2020-05-09T16:24:17 #kisslinux <dylan03> No idea
2020-05-09T16:24:21 #kisslinux <dylan03> I don't have the utility handy
2020-05-09T16:25:21 #kisslinux <dylan03> https://man.openbsd.org/OpenBSD-5.4/sha256.1
2020-05-09T16:25:29 #kisslinux <dylan03> > The sha256 command is shorthand for cksum -a sha256
2020-05-09T16:25:43 #kisslinux <dylan03> > cksum: unrecognized option: a
2020-05-09T16:25:46 #kisslinux <dylan03> heh
2020-05-09T16:26:18 #kisslinux <dylan03> Why don't the man pages show example output? :(
2020-05-09T16:26:19 #kisslinux <merakor> I use sha256 -r
2020-05-09T16:26:33 #kisslinux <E5ten> Ikr so frustrating
2020-05-09T16:26:38 #kisslinux <dylan03> > Reverse the format of the hash algorithm output, making it match the output format used by cksum(1).
2020-05-09T16:26:41 #kisslinux <E5ten> Where's the STDOUT section
2020-05-09T16:26:42 #kisslinux <dylan03> This is '-r'
2020-05-09T16:26:55 #kisslinux <merakor> Which outputs similar to sha256sum but WITH ONLY A SINGLE SPACE INSTEAD OF TWO
2020-05-09T16:27:02 #kisslinux <dylan03> lol...
2020-05-09T16:27:06 #kisslinux <dylan03> Just like openssl
2020-05-09T16:27:17 #kisslinux <dylan03> ' *' instead of '  '
2020-05-09T16:27:34 #kisslinux <merakor> Anyway I pipe everything to read -r hash file
2020-05-09T16:27:40 #kisslinux <dylan03> Yeah
2020-05-09T16:27:56 #kisslinux <merakor> Then I format both openssl and sha256 to the same as sha256sum
2020-05-09T16:28:31 #kisslinux <merakor> Remove the *, set the spacing
2020-05-09T16:28:35 #kisslinux <dylan03> Yeah
2020-05-09T16:33:22 #kisslinux <eudaldgr> illiliti what does kiss-encryption, it's suposed to replace kiss-init or to complement?
2020-05-09T16:33:32 #kisslinux <eudaldgr> i have no time to read
2020-05-09T16:36:28 #kisslinux <dylan03> eudaldgr: I no longer support encryption directly in the 'baseinit' package.
2020-05-09T16:36:45 #kisslinux <dylan03> My rationale: https://github.com/kisslinux/init/commit/23974886810891abd618e236debabe3a8fe5d955
2020-05-09T16:38:42 #kisslinux <dylan03> E5ten: https://github.com/kisslinux/kiss/blob/master/kiss#L151-L169
2020-05-09T16:38:43 #kisslinux <dylan03> Tada
2020-05-09T16:39:07 #kisslinux <dylan03> Ignore the typo
2020-05-09T16:39:38 #kisslinux <dylan03> It's working as intended then ;)
2020-05-09T16:39:49 #kisslinux <eudaldgr> dylan03 oh well, i didn't see that
2020-05-09T16:40:08 #kisslinux <dylan03> I will announce it soon
2020-05-09T16:40:14 #kisslinux <eudaldgr> kiss-encryption it's an extra for kiss-init
2020-05-09T16:40:20 #kisslinux <dylan03> Yeah
2020-05-09T16:40:23 #kisslinux <eudaldgr> well
2020-05-09T16:40:31 #kisslinux <dylan03> Using the built-in hook support we already had
2020-05-09T16:40:44 #kisslinux <dylan03> I haven't release a new version of 'baseinit' yet.
2020-05-09T16:40:51 #kisslinux <eudaldgr> illiliti dylan03 thanks
2020-05-09T16:40:58 #kisslinux <eudaldgr> <3
2020-05-09T16:41:14 #kisslinux <dylan03> I'll make a news post. Wait a week plus and then drop it.
2020-05-09T16:41:37 #kisslinux <dylan03> illiliti will do a far better job than I at maintaining it.
2020-05-09T16:42:17 #kisslinux <eudaldgr> and happy 1 year to kiss dylan03 !!
2020-05-09T16:42:24 #kisslinux <dylan03> Thanks :)
2020-05-09T16:44:14 #kisslinux <micro_O> 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 <E5ten> 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 <micro_O> If that is so, maybe it should be renamed `kiss leaves` or something like that?
2020-05-09T16:46:47 #kisslinux <eudaldgr> micro_O it's a normal behaviour
2020-05-09T16:46:57 #kisslinux <eudaldgr> https://k1ss.org/faq
2020-05-09T16:47:06 #kisslinux <dylan03> 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 <E5ten> 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 <eudaldgr> read the section Package management micro_O
2020-05-09T16:47:45 #kisslinux <dylan03> E5ten: Well. With git/curl, there's only one implementation of these. Let's just call them dependencies. ;)
2020-05-09T16:48:14 #kisslinux <dylan03> E5ten: 'install' is part of the BSD standard
2020-05-09T16:48:24 #kisslinux <micro_O> interesting
2020-05-09T16:48:47 #kisslinux <micro_O> maybe I'll make a fake package called $HOSTNAME that has all my end user software
2020-05-09T16:48:53 #kisslinux <micro_O> which has some other interesting implications
2020-05-09T16:49:23 #kisslinux <merakor> But install isn't standardized well enough
2020-05-09T16:49:34 #kisslinux <merakor> -D isn't standard afaik
2020-05-09T16:50:04 #kisslinux <merakor> Which is like the whole purpose for most people using it
2020-05-09T16:50:25 #kisslinux <E5ten> But -D isn't used in kiss
2020-05-09T16:50:29 #kisslinux <dylan03> It's been around since the 80's
2020-05-09T16:50:35 #kisslinux <dylan03> Since 4.2BSD
2020-05-09T16:50:49 #kisslinux <merakor> Yeah, but implementations differ a lot
2020-05-09T16:50:51 #kisslinux <E5ten> Is it part of LSB?
2020-05-09T16:51:17 #kisslinux <dylan03> 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 <dylan03> Will see if it's LSB
2020-05-09T16:51:25 #kisslinux <illiliti> https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/install.html
2020-05-09T16:51:33 #kisslinux <dylan03> :D
2020-05-09T16:51:42 #kisslinux <merakor> E5ten: Oh, by install I thought you meant the build script for kiss.
2020-05-09T16:52:16 #kisslinux <dylan03> E5ten: If I remove '-d' from install, we're compatible with the 80's version of it.
2020-05-09T16:52:23 #kisslinux <E5ten> Ah, no I don't think those need to be portable outside of linux
2020-05-09T16:52:51 #kisslinux <E5ten> Cuz those are part of the distro which is linux
2020-05-09T16:53:11 #kisslinux <merakor> I am porting to BSD though :D
2020-05-09T16:53:32 #kisslinux <eudaldgr> kissBSD?? D: D: D:
2020-05-09T16:53:53 #kisslinux <merakor> I don't use install though, I use mkdir/cp in the build
2020-05-09T16:53:57 #kisslinux <dylan03> merakor: How is that going to work though? The kernel/userspace are one with the BSDs typically no?
2020-05-09T16:54:17 #kisslinux <merakor> Yeah, that's the biggest issue I am trying to solve
2020-05-09T16:54:30 #kisslinux <merakor> Plus the bsd userland isn't really portable outside BSD
2020-05-09T16:54:46 #kisslinux <merakor> I am probably going to split into packages
2020-05-09T16:55:07 #kisslinux <merakor> The base will only consist of bsd-libc from the bsd source
2020-05-09T16:55:32 #kisslinux <micro_O> interesting, kiss requires at least one source file to build/install?
2020-05-09T16:55:36 #kisslinux <merakor> I plan on using small utilities, but the userland utilities will be on extra
2020-05-09T16:56:10 #kisslinux <dylan03> micro_O: What do you mean?
2020-05-09T16:56:42 #kisslinux <micro_O> dylan03: I made a package called 'talon', that only really needs depends and version
2020-05-09T16:56:58 #kisslinux <micro_O> 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 <micro_O> all my end user software
2020-05-09T16:57:09 #kisslinux <dylan03> Right
2020-05-09T16:57:10 #kisslinux <dylan03> Yeah
2020-05-09T16:57:15 #kisslinux <dylan03> It requires a single source, yeah
2020-05-09T16:57:41 #kisslinux <micro_O> so i tar an empty build directory and post that somewhere and checksum it?
2020-05-09T16:58:18 #kisslinux <merakor> The sources file can be empty
2020-05-09T16:58:22 #kisslinux <dylan03> 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 <merakor> but it needs to exist
2020-05-09T16:58:41 #kisslinux <micro_O> merakor well i get a failed cd when building
2020-05-09T16:58:45 #kisslinux <micro_O> maybe that is unrelated
2020-05-09T16:59:03 #kisslinux <M4R10zM0113R> "fatal: Commit 83a1ad7f does not have a GPG signature."
2020-05-09T16:59:06 #kisslinux <micro_O> with an empty sources file
2020-05-09T16:59:38 #kisslinux <merakor> Does it work with valid sources?
2020-05-09T16:59:42 #kisslinux <micro_O> 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 <dylan03> M4R10zM0113R: Hm. All commits are signed: https://github.com/kisslinux/repo/commits/master
2020-05-09T16:59:47 #kisslinux <merakor> I just tried it out
2020-05-09T16:59:48 #kisslinux <micro_O> for my system
2020-05-09T17:00:35 #kisslinux <dylan03> 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 <merakor> You could also use a hack and add './build' to the sources file
2020-05-09T17:01:35 #kisslinux <merakor> Or './version' which would be more reliable
2020-05-09T17:02:55 #kisslinux <dylan03> 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 <micro_O> dylan03: well I mean, I do want to encode that relationship, query it, etc.
2020-05-09T17:03:27 #kisslinux <dylan03> I'll see what I can do
2020-05-09T17:03:27 #kisslinux <micro_O> exactly dylan03
2020-05-09T17:04:24 #kisslinux <micro_O> 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 <micro_O> Unless you'd rather explore the space a bit
2020-05-09T17:04:44 #kisslinux <micro_O> Don't wanna take you away from higher priority stuff
2020-05-09T17:04:46 #kisslinux <E5ten> dylan03: So are you planning on removing -d from install to meet that 80s version standardization?
2020-05-09T17:05:59 #kisslinux <eudaldgr> micro_O that's interesting, but what happens with the meta-package, that would be an orphan
2020-05-09T17:06:30 #kisslinux <micro_O> eudaldgr: yeah, thats a good point
2020-05-09T17:06:52 #kisslinux <M4R10zM0113R> I forget that sudo uses root's .gnupg folder
2020-05-09T17:06:56 #kisslinux <eudaldgr> it's the same situation, but with 1 not-real orphan
2020-05-09T17:07:08 #kisslinux <micro_O> 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 <eudaldgr> 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 <eudaldgr> i don't have a better solution, but i think it would be possible
2020-05-09T17:08:12 #kisslinux <micro_O> yes eudaldgr, that i kinda like being an explicit bump
2020-05-09T17:10:35 #kisslinux <eudaldgr> well, exclude from the kiss-orphans like the packages that are actually excluded it's a solution also
2020-05-09T17:10:43 #kisslinux <E5ten> 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 <E5ten> 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 <E5ten> 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 <dylan03> E5ten: Yeah. You're right.
2020-05-09T17:14:24 #kisslinux <dylan03> micro_O: I have it working locally. :)
2020-05-09T17:14:31 #kisslinux <dylan03> Will push shortly.
2020-05-09T17:14:40 #kisslinux <micro_O> interesting in seeing how you solved it <3 dylan03
2020-05-09T17:14:45 #kisslinux <micro_O> thanks for being open minded about it as well
2020-05-09T17:15:13 #kisslinux <micro_O> 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 <micro_O> (not that it didnt take a lot of work or effort to get to this level of simplicity)
2020-05-09T17:17:10 #kisslinux <micro_O> 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 <E5ten> 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 <dylan03> E5ten: You may be onto something here. I'll look into it.
2020-05-09T17:27:15 #kisslinux <E5ten> 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 <micro_O> sweeet, i got it working too
2020-05-09T17:34:31 #kisslinux <micro_O> now i can `kiss orphans | grep -v talon | xargs kiss remove` xD
2020-05-09T17:37:50 #kisslinux <E5ten> 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 <dylan03> Yup...
2020-05-09T17:40:27 #kisslinux <dylan03> micro_O: https://github.com/kisslinux/kiss/commit/3e004b193a6f44302b9272d662cb7e6a532b8968
2020-05-09T17:40:28 #kisslinux <dylan03> Done :)
2020-05-09T17:41:21 #kisslinux <dylan03> Wait. Did we want optional 'build' files as well?
2020-05-09T17:41:56 #kisslinux <E5ten> 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 <micro_O> that would be nice, but this is already greap dylan03
2020-05-09T17:42:17 #kisslinux <micro_O> its very very similar to what i did
2020-05-09T17:42:24 #kisslinux <dylan03> micro_O: Optional build files will be trickier (it can exist and be empty though).
2020-05-09T17:42:42 #kisslinux <E5ten> 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 <micro_O> well without a build, can you query whats 'installed'?
2020-05-09T17:43:03 #kisslinux <dylan03> Yeah
2020-05-09T17:43:18 #kisslinux <micro_O> i worked around it by having my build just install a readme for the package
2020-05-09T17:43:41 #kisslinux <dylan03> It can be blank as well
2020-05-09T17:44:26 #kisslinux <micro_O> 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 <dylan03> Yeah
2020-05-09T17:45:02 #kisslinux <dylan03> In my mind I see some meta-packages still using build files.
2020-05-09T17:45:13 #kisslinux <dylan03> Optional sources makes sense to me.
2020-05-09T17:45:48 #kisslinux <dylan03> 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 <micro_O> 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 <micro_O> i switched die to war in a few places
2020-05-09T17:46:41 #kisslinux <micro_O> i'd rather have the warnings show up (even when not needed, for "metapackages")
2020-05-09T17:47:02 #kisslinux <dylan03> micro_O: Yeah. I agree.
2020-05-09T17:47:06 #kisslinux <micro_O> btw, whats the posix sh equivalent to [[ `kiss orphans` != 'talon' ]]
2020-05-09T17:47:53 #kisslinux <dylan03> 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 <E5ten> 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 <micro_O> dylan03: kiss_remove_orphans() { while kiss orphans | grep -qv talon; do kiss remove `kiss orph
2020-05-09T17:51:17 #kisslinux <micro_O> xD
2020-05-09T17:51:27 #kisslinux <micro_O> oh, it got cutoff
2020-05-09T17:51:49 #kisslinux <dylan03> E5ten: It copies the symlink to it's parent directory on the filesystem.
2020-05-09T17:52:04 #kisslinux <E5ten> ah I see
2020-05-09T17:52:06 #kisslinux <dylan03> '$2/$line' is the location to the extracted tarball.
2020-05-09T17:52:20 #kisslinux <micro_O> with my metapackage called hostname
2020-05-09T17:52:23 #kisslinux <micro_O> while kiss orphans | grep -qv $HOSTNAME; do kiss remove `kiss orphans | grep -v $HOSTNAME | tr 'n' ' '`
2020-05-09T17:52:28 #kisslinux <dylan03> ~/.cache/kiss/extract-000/usr/bin/ls -> /usr/bin
2020-05-09T17:52:34 #kisslinux <E5ten> but why is it "${line%/*}" and not "$KISS_ROOT/${line%/*}"?
2020-05-09T17:52:43 #kisslinux <dylan03> You're 100% right.
2020-05-09T17:53:09 #kisslinux <dylan03> That's become more of an after thought and it's something I've been meaning to fix.
2020-05-09T17:53:29 #kisslinux <dylan03> afterthought*
2020-05-09T17:53:58 #kisslinux <E5ten> 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 <dylan03> micro_O: https://termbin.com/qahn
2020-05-09T17:55:36 #kisslinux <dylan03> E5ten: They're not root owned.
2020-05-09T17:55:39 #kisslinux <dylan03> Hm
2020-05-09T17:56:38 #kisslinux <E5ten> what isn't? the directories from mkdir?
2020-05-09T17:56:54 #kisslinux <micro_O> 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 <dylan03> E5ten: nvm.
2020-05-09T17:58:07 #kisslinux <dylan03> 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 <dylan03> I thought that extraction as root changed ownership to root. Or am I wrong entirely?
2020-05-09T18:00:27 #kisslinux <E5ten> 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 <dylan03> > [ -d "$line" ] || mkdir -m "$oct" "$KISS_ROOT/$line"
2020-05-09T18:01:25 #kisslinux <dylan03> This works fyi
2020-05-09T18:02:07 #kisslinux <dylan03> Thanks for that
2020-05-09T18:02:57 #kisslinux <E5ten> Fuck yeah
2020-05-09T18:03:04 #kisslinux <dylan03> 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 <dylan03> We're down to one 'install' command now right?
2020-05-09T18:03:18 #kisslinux <E5ten> 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 <E5ten> Yeah
2020-05-09T18:03:33 #kisslinux <E5ten> That patch has a possibly working replacement for it too
2020-05-09T18:05:50 #kisslinux <dylan03> Trying it now
2020-05-09T18:06:07 #kisslinux <dylan03> You don't want to know how many times I nuked this install while writing this function ;)
2020-05-09T18:06:47 #kisslinux <dylan03> > doas: not installed setuid
2020-05-09T18:06:52 #kisslinux <dylan03> This drops setuid
2020-05-09T18:07:04 #kisslinux <dylan03> > -rwxr-xr-x    1 root     root        161352 May  9 11:08 /usr/bin/doas
2020-05-09T18:07:41 #kisslinux <E5ten> 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 <dylan03> E5ten: chown drops setuid/setgid if you were wondering
2020-05-09T18:08:19 #kisslinux <E5ten> ohhh
2020-05-09T18:08:22 #kisslinux <dylan03> Yeah
2020-05-09T18:08:25 #kisslinux <E5ten> then yeah the solution I just described should work
2020-05-09T18:08:39 #kisslinux <dylan03> I had to patch our 'install' utility to fix this.
2020-05-09T18:08:46 #kisslinux <dylan03> It does chown after chmod...
2020-05-09T18:09:00 #kisslinux <E5ten> 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 <dylan03> Yeah
2020-05-09T18:09:30 #kisslinux <micro_O> cool, kiss' first published "metapackage"
2020-05-09T18:09:31 #kisslinux <E5ten> 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 <dylan03> I could use 'mv -f' here no?
2020-05-09T18:09:33 #kisslinux <micro_O> thanks dylan03
2020-05-09T18:09:37 #kisslinux <dylan03> np
2020-05-09T18:11:12 #kisslinux <E5ten> dylan03: I don't know what mv does with permissions, if it preserves them then sure?
2020-05-09T18:11:28 #kisslinux <dylan03> I can't
2020-05-09T18:11:31 #kisslinux <E5ten> but if it does it'd probably also preserve owner in which case same issue?
2020-05-09T18:11:42 #kisslinux <dylan03> It'll move the manifest away while I'm reading it. ;)
2020-05-09T18:11:54 #kisslinux <E5ten> ah right lol
2020-05-09T18:12:15 #kisslinux <E5ten> yeah then I think cp without -p + chmod "<calculated octal>" would probably work best
2020-05-09T18:12:30 #kisslinux <dylan03> Yeah
2020-05-09T18:12:32 #kisslinux <dylan03> It works here
2020-05-09T18:12:38 #kisslinux <E5ten> perfect
2020-05-09T18:12:42 #kisslinux <E5ten> no more install then?
2020-05-09T18:12:48 #kisslinux <dylan03> https://termbin.com/d17g
2020-05-09T18:12:53 #kisslinux <dylan03> No more install
2020-05-09T18:13:02 #kisslinux <micro_O> 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 <E5ten> hell yeah
2020-05-09T18:13:28 #kisslinux <dylan03> micro_O: What's your KISS_PATH?
2020-05-09T18:13:37 #kisslinux <dylan03> E5ten: real    0m 3.28s
2020-05-09T18:13:48 #kisslinux <dylan03> > -> kiss man python | wc -l
2020-05-09T18:13:52 #kisslinux <dylan03> > 3466
2020-05-09T18:14:00 #kisslinux <dylan03> That's fine performance-wise
2020-05-09T18:14:16 #kisslinux <micro_O> err, ignore the not implemented yet part
2020-05-09T18:14:18 #kisslinux <E5ten> can you show me the comparison to without the switch to cp out of curiousity?
2020-05-09T18:14:22 #kisslinux <E5ten> curiosity*
2020-05-09T18:14:27 #kisslinux <dylan03> Sure
2020-05-09T18:15:12 #kisslinux <dylan03> > real    0m 3.02s
2020-05-09T18:15:22 #kisslinux <dylan03> > real    0m 3.00s
2020-05-09T18:15:39 #kisslinux <E5ten> first is with cp + chmod second is install?
2020-05-09T18:15:57 #kisslinux <dylan03> no no
2020-05-09T18:16:02 #kisslinux <dylan03> Both are with install
2020-05-09T18:16:06 #kisslinux <dylan03> I just ran it twice
2020-05-09T18:16:17 #kisslinux <dylan03> If I use 'mv' it's a lot faster.
2020-05-09T18:16:39 #kisslinux <E5ten> ah, still pretty small performance decrease for 2 commands vs 1
2020-05-09T18:16:43 #kisslinux <dylan03> Yup
2020-05-09T18:16:47 #kisslinux <dylan03> chmod/chown are cheap
2020-05-09T18:16:48 #kisslinux <micro_O> dylan03: `[ -f "$pkg_loc/version" ] || continue` fixes it in kiss-outdated
2020-05-09T18:16:53 #kisslinux <micro_O> i can make a pr
2020-05-09T18:17:08 #kisslinux <dylan03> micro_O: Sure
2020-05-09T18:17:49 #kisslinux <dylan03> > real    0m 2.43s
2020-05-09T18:17:54 #kisslinux <dylan03> That's with 'mv'
2020-05-09T18:18:38 #kisslinux <dylan03> This package is the "worst case" though so I'm not worried about it.
2020-05-09T18:18:49 #kisslinux <dylan03> 3500~ files...
2020-05-09T18:20:35 #kisslinux <micro_O> https://github.com/kisslinux/kiss/pull/147
2020-05-09T18:21:08 #kisslinux <dylan03> Thanks E5ten!
2020-05-09T18:21:43 #kisslinux <dylan03> micro_O: Oh. This can simply be:  read -r ver _ 2>/dev/null < "$pkg_loc/version" || continue
2020-05-09T18:21:46 #kisslinux <dylan03> (I believe)
2020-05-09T18:22:12 #kisslinux <micro_O> ill try that out
2020-05-09T18:23:14 #kisslinux <dylan03> E5ten: We're fully POSIX now (minus single implementations like git/curl, optional utilities and stupid sha256*).
2020-05-09T18:23:25 #kisslinux <E5ten> hell yeah
2020-05-09T18:23:38 #kisslinux <E5ten> you still gotta move the -ef in shebang to a set -ef command lol
2020-05-09T18:23:41 #kisslinux <dylan03> Yeah
2020-05-09T18:23:44 #kisslinux <dylan03> Forgot all about that
2020-05-09T18:25:57 #kisslinux <micro_O> yeah that works, ill close the pr
2020-05-09T18:26:38 #kisslinux <dylan03> :D
2020-05-09T18:28:11 #kisslinux <dylan03> Pushed
2020-05-09T18:28:12 #kisslinux <dylan03> Thanks
2020-05-09T18:30:44 #kisslinux <dylan03> Grr. cairo + freetype-harfbuzz are a circular dependency.
2020-05-09T18:53:38 #kisslinux <dylan03> 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 <mcpcpc> nope.
2020-05-09T19:06:32 #kisslinux <dylan03> BIOS or UEFI if you don't mind me asking?
2020-05-09T19:06:39 #kisslinux <mcpcpc> uefi
2020-05-09T19:07:06 #kisslinux <claudia02> micro_O: mywayland has changed its structure to your liking ;)
2020-05-09T19:09:52 #kisslinux <dylan03> Nice
2020-05-09T19:10:32 #kisslinux <dylan03> libxkbcommon will always be needed fyi (same maybe for xkeyboard-config).
2020-05-09T19:11:30 #kisslinux <claudia02> y, I found that out the hard way :D
2020-05-09T19:11:46 #kisslinux <dylan03> You'll find this interesting: https://freenode.logbot.info/kisslinux/20200119#c3112271
2020-05-09T19:11:50 #kisslinux <dylan03> > 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 <claudia02> thx I will have a read
2020-05-09T19:14:04 #kisslinux <dylan03> 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 <dylan03> 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 <dylan03> Worst case you need some X11 libs at compile-time only.
2020-05-09T19:16:14 #kisslinux <claudia02> 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 <dylan03> 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 <claudia02> Y, I have ditched this setup currently because web performance was so bad
2020-05-09T19:16:49 #kisslinux <claudia02> Mesa and cairo were missing important stuff
2020-05-09T19:16:57 #kisslinux <dylan03> Ah
2020-05-09T19:17:40 #kisslinux <claudia02> Ok thx for support, so suid seems _ok_
2020-05-09T19:17:45 #kisslinux <claudia02> will close
2020-05-09T19:18:52 #kisslinux <dylan03> https://github.com/thejan2009/sway/blob/5e585f96037854842827db478a978ff959026713/sway/main.c#L158-L171
2020-05-09T19:19:06 #kisslinux <dylan03> Sway will exit/error if it can't drop setuid/setgid.
2020-05-09T19:19:57 #kisslinux <dylan03> Oops
2020-05-09T19:20:00 #kisslinux <dylan03> That's an old source
2020-05-09T19:20:19 #kisslinux <dylan03> https://github.com/swaywm/sway/blob/33a984bbc5c5ec4202f24bacf6ddd584b95a9ec0/sway/main.c#L187-L205
2020-05-09T19:20:21 #kisslinux <dylan03> There we go
2020-05-09T19:21:17 #kisslinux <dylan03> How is Wayland at the moment? I haven't tried it in some time.
2020-05-09T19:21:51 #kisslinux <claudia02> 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 <claudia02> Firefox 75 was nice with vaapi
2020-05-09T19:22:15 #kisslinux <claudia02> cpu usage dropped from ~20% to about 10%
2020-05-09T19:22:49 #kisslinux <claudia02> With firefox 76 I had no luck yet
2020-05-09T19:23:29 #kisslinux <claudia02> And y, I have intel graphics and suffer tearing thats one of my main motivation
2020-05-09T19:23:43 #kisslinux <claudia02> *motivations
2020-05-09T19:24:03 #kisslinux <claudia02> I also swap back and forth to maintain kiss-games
2020-05-09T19:25:32 #kisslinux <dylan03> 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 <dylan03> I somehow doubt we'll every see it though.
2020-05-09T19:25:51 #kisslinux <dylan03> ever*
2020-05-09T19:26:22 #kisslinux <claudia02> Its a nice experiment which works pretty well, especially since vaapi for ff
2020-05-09T19:27:30 #kisslinux <claudia02> But I have not yet found a simple sowm like compositor *wink wink* ;)
2020-05-09T19:27:45 #kisslinux <claudia02> In wlroots world
2020-05-09T19:29:27 #kisslinux <dylan03> 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 <mcf> 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 <dylan03> https://gist.github.com/SirCmpwn/ae4d1cdcca97ffeb2c35f0878d75dc17
2020-05-09T19:30:14 #kisslinux <dylan03> This is where it lived.
2020-05-09T19:30:17 #kisslinux <dylan03> It 404s now though
2020-05-09T19:30:22 #kisslinux <claudia02> 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 <claudia02> dylan03: its insed wlroots or sway source
2020-05-09T19:30:49 #kisslinux <claudia02> tinywl
2020-05-09T19:31:39 #kisslinux <dylan03> https://web.archive.org/web/20180822224306/https://gist.github.com/SirCmpwn/ae4d1cdcca97ffeb2c35f0878d75dc17
2020-05-09T19:32:12 #kisslinux <dylan03> You're right :P
2020-05-09T19:32:26 #kisslinux <mcf> 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 <dylan03> Nice
2020-05-09T19:33:53 #kisslinux <himmalerin> Looks like it lives here now https://github.com/swaywm/wlroots/tree/master/tinywl
2020-05-09T19:35:26 #kisslinux <mcf> 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 <illiliti> 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 <dylan03> illiliti: Sure. System-wide package manager hooks make sense.
2020-05-09T19:48:20 #kisslinux <dylan03> managed*
2020-05-09T19:49:59 #kisslinux <dylan03> How about just "/usr/lib/init"?
2020-05-09T19:50:55 #kisslinux <dylan03> nvm
2020-05-09T19:51:03 #kisslinux <dylan03> I'll push a commit in a sec.
2020-05-09T19:52:26 #kisslinux <dylan03> Pushed
2020-05-09T19:55:24 #kisslinux <illiliti> great
2020-05-09T19:57:23 #kisslinux <dylan03> 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 <dylan03> I'm thinking two weeks to be 100% safe.
2020-05-09T19:58:17 #kisslinux <dylan03> 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 <dylan03> 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 <dylan03> https://k1ss.org/news/20200509a
2020-05-09T20:34:33 #kisslinux <dilynm> #justuseclang
2020-05-09T20:43:53 #kisslinux <dylan03> Our LLVM/Clang links to libgcc :^)
2020-05-09T20:44:14 #kisslinux <dylan03> You can't compile LLVM/Clang standalone in a single build. :(
2020-05-09T20:44:19 #kisslinux <dylan03> https://github.com/konimex/kiss-llvm
2020-05-09T21:16:38 #kisslinux <dilynm> 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 <dilynm> Or actually, KISS_FORCE works here doesn't it
2020-05-09T21:19:37 #kisslinux <dylan03> 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 <dylan03> 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 <dylan03> (You could use 'tar tf' here)
2020-05-09T21:22:48 #kisslinux <dilynm> Yeah I thought of that too, it doesn't seem worth it. There are better ways