Lukc | Is imake usable only for Xorg? | 00:21 |
---|---|---|
*** Rotwang has joined #crux | 00:32 | |
tilman | Rotwang: oh, you want to have it create new symlinks | 00:39 |
Rotwang | yes | 00:39 |
tilman | tar should work %) | 00:39 |
*** hcaulfield57 has joined #crux | 01:02 | |
*** hcaulfield57 has left #crux | 01:03 | |
*** lasso|qt has joined #crux | 01:09 | |
*** nthwyatt has quit IRC | 01:24 | |
*** Rotwang has quit IRC | 01:29 | |
niklaswe | has someone try out sensu monitoring?? | 02:37 |
frinnst | nope | 02:40 |
frinnst | are you just shopping around, or have you tried it? | 02:41 |
niklaswe | frinnst: just shopping around. | 02:51 |
frinnst | http://linuxplumbers.ubicast.tv/videos/systemd-for-the-user-session/ | 02:54 |
frinnst | ;D | 02:54 |
*** SiFuh has quit IRC | 02:54 | |
*** SiFuh has joined #crux | 02:57 | |
*** SiFuh has quit IRC | 03:09 | |
*** tj_ has quit IRC | 03:18 | |
*** tj_ has joined #crux | 03:22 | |
*** nthwyatt has joined #crux | 03:23 | |
*** SiFuh has joined #crux | 03:27 | |
*** sepen has joined #crux | 05:17 | |
sepen | hi | 05:17 |
Romster | http://www.youtube.com/watch?gl=US&v=87E6N7ToCxs | 05:29 |
Romster | hi | 05:29 |
*** mike_k has joined #crux | 05:52 | |
cruxbot | [opt.git/2.7]: whois: update to 5.0.19 | 06:13 |
cruxbot | [opt.git/2.7]: vsftpd: update to 3.0.2 | 06:13 |
*** Romster has quit IRC | 06:22 | |
*** Romster has joined #crux | 06:26 | |
*** Romster has quit IRC | 06:26 | |
*** Romster has joined #crux | 06:26 | |
*** lasso|qt has quit IRC | 06:59 | |
*** lasso|qt has joined #crux | 06:59 | |
Romster | randomly find this http://tinypic.com/usermedia.php?uo=xDroBU9Q%2BPQg5lY6XWwrC4h4l5k2TGxc | 08:18 |
frinnst | heh, I wonder who took it | 08:29 |
*** joacim has quit IRC | 08:34 | |
Lukc | Is there a specific rule saying the Pkgfiles must be read only by bash? ’Cause some of them are posing problem when parsed with zsh. | 08:36 |
jaeger | I'm not a zsh user so I can't really say with authority that it could replace bash for pkgmk purposes but pkgmk is a bash script | 09:00 |
jaeger | so it expects bash syntax | 09:00 |
Romster | https://www.youtube.com/watch?v=ANdt8LuPaEg&feature=related | 09:11 |
Romster | /usr/bin/pkgmk should invoke bash | 09:12 |
*** s44 has joined #crux | 09:12 | |
Romster | #!/bin/bash for it's shebang line | 09:12 |
Romster | you can have your shell in zsh and pkgmk will call bash when used. | 09:13 |
*** spider44 has quit IRC | 09:15 | |
Lukc | :/ | 09:17 |
Lukc | jaeger, would a request to make the Pkgfiles also parsable by zsh be considered seriously? | 09:18 |
Lukc | In the bash Pkgfile, you just need to write :1:3 instead of ::3 to make the file compatible with both shells… | 09:18 |
jaeger | I honestly couldn't say. I guess it depends on how much work would be required. Personally I've never used zsh so it doesn't have much value for me... but others might want that, don't know | 09:19 |
Lukc | It doesn’t require much work. | 09:19 |
jaeger | You could always suggest it on the mailing list | 09:19 |
Lukc | Ok… :/ | 09:21 |
jaeger | aside from the ::3 syntax there are some ports that use something like ${version%.*} as well | 09:22 |
Lukc | Which is no problem. :) | 09:22 |
Lukc | The exact same syntax is used in zsh. | 09:22 |
jaeger | ok | 09:22 |
jaeger | Out of curiosity, why the need for zsh parsing? Are you editing pkgmk to use zsh instead or have you symlinked bash to zsh? | 09:23 |
Lukc | And the ::3 problem is present only in bash’ and readline’s Pkgfiles. | 09:23 |
jaeger | (or something entirely different?) | 09:23 |
Lukc | Something entirely different. :p | 09:23 |
Lukc | I am trying to modify pacmoon to make it work on a barely modified Crux. | 09:24 |
Lukc | And I’d prefer stick to zsh to use pkg++ instead of pkgmk in the future. | 09:24 |
Romster | Lukc, i don't know if that's really possible even if oyu do you still need bash for automake | 09:24 |
Romster | pacman or pacmoon | 09:25 |
Lukc | pacmoon | 09:25 |
Romster | the later i have no idea about. | 09:25 |
Romster | url what is it? | 09:25 |
Romster | pkg++ ? | 09:26 |
Lukc | It is a emerge-like tool made for Arch Linux, designed to use AUR. | 09:26 |
Lukc | pkg++ is my modified version of pkgmk (pkgxx.org) | 09:26 |
Romster | what advantages does it have over our current pkgutils? | 09:26 |
Lukc | What? pkg++ or pacmoon? | 09:26 |
Lukc | (https://github.com/nuisanceofcats/pacmoon) | 09:27 |
Romster | so your trying to use pkg++ or pacmoon *confused* | 09:27 |
Lukc | Both. \o/ | 09:27 |
Lukc | I know, it’s crazy. | 09:27 |
jaeger | Why use it on crux? Just for grins? | 09:27 |
Romster | i have a pure bash version of pkguutils made by han floating around here somewhere. | 09:27 |
jaeger | Not trying to discourage you, just curious why the effort | 09:28 |
Romster | i'm curious what your trying to achieve. | 09:28 |
Romster | becuase i often hack on stuff and try different things. | 09:28 |
Lukc | jaeger, pkg++ is made to work on several distributions, but I currently have no tool capable of handling dependencies and stuff like that, and that’s why I’m modifying pacmoon. | 09:29 |
Lukc | And if I’m trying to use it on Crux is because I use Crux too. ^_^” | 09:29 |
Romster | ah your trying to use pacmoon to replace prt-get | 09:29 |
Lukc | More or less, yes. | 09:30 |
Romster | http://homepage.boetes.org/software/crux/han/pkgutils/ looked though this? | 09:30 |
Romster | might give you some leverage. | 09:31 |
Lukc | I don’t remember having seen it, no. Thanks. | 09:31 |
Romster | http://homepage.boetes.org/software/crux/han/prt-get/ | 09:31 |
Romster | he is a big fan of bsd and zsh iirc and debashed it. | 09:32 |
Romster | in shell | 09:32 |
Romster | hmm does not look like he rewrote prt-get in shell though | 09:32 |
Lukc | Nope. | 09:33 |
Romster | bummer | 09:33 |
Lukc | But it seems he managed to get full zsh+bash compatibility in his pkgmk, at least. | 09:33 |
Romster | oh we do have elenia or something too jaeger | 09:33 |
Romster | or is that long dead. i've never tried that. | 09:33 |
Romster | he has yes. | 09:34 |
jaeger | don't look at me, heh, I've never touched ilenia | 09:34 |
jaeger | it was one of the cruxppc tools | 09:34 |
Romster | ah | 09:34 |
Lukc | Anyway, about the zsh stuff, only three Pkgfiles are posing problem, and two of them just need a s/::3/:1:3/. | 09:35 |
Romster | which ports are those? | 09:36 |
Romster | contact the Maintainer perhaps they may change it to be compatible. | 09:36 |
Lukc | Romster, bash and readline. | 09:36 |
Lukc | Ok. | 09:36 |
Romster | ok that be jaeger sicne he is a core dev. | 09:36 |
Lukc | :p | 09:37 |
Romster | though i think jue has the final say on what goes. | 09:37 |
Lukc | It’s a one-character modification that doesn’t change anything. :o | 09:37 |
Romster | if it's trivial and wont break our stuff i don't think jue would disagree. | 09:37 |
Romster | so ask jue :) | 09:37 |
Lukc | Oops, maybe not. | 09:38 |
jaeger | I don't have any objection to it, for what that's worth | 09:38 |
Romster | Lukc, be sure you test and make sure you are correct though and that you haven't missed anything. | 09:38 |
Romster | i know all my stuff has bashisms. | 09:39 |
Romster | but since we use bash i haven't been worried. | 09:39 |
Lukc | Romster, I just did that and it’s :0:3 instead of :1:3. :’° | 09:39 |
Lukc | But except from that, it worked on both bash and zsh. /o\ | 09:39 |
Romster | oh so it can't handle blank :: | 09:40 |
s44 | Hi. I have a question: is in linux a virtual device for lan card? Something like /dev/eth? | 09:40 |
Lukc | Yep. | 09:40 |
Romster | name-${version::3} | 09:40 |
s44 | I'm looking for it in google, but i can't find anythinig about. | 09:40 |
Lukc | The other problem is with sqlite3 and a printf in the Pkgfile, but I have no idea what could be done about it. :/ | 09:42 |
Romster | i usually use name-${version%.*} | 09:42 |
Romster | although that would break if you only had 2 dots instead of 3. | 09:42 |
Lukc | Yep. :/ | 09:43 |
* Romster looks up zsh variables | 09:45 | |
jaeger | s44: ethernet devices don't get entries in /dev, so not really | 09:45 |
jaeger | s/ethernet/network/, I should say | 09:45 |
s44 | But other things have virtual devices; why lan cards no? | 09:46 |
s44 | And how can i list my lan cards? (instead ifconfig) | 09:46 |
s44 | Is there a place in linux where can i find information about my net devices? | 09:46 |
Romster | s44, ls /sys/class/net/ | 09:47 |
Romster | don't use ifconfig | 09:47 |
Romster | http://jengelh.medozas.de/2008/0219-ifconfig-sucks.php | 09:47 |
s44 | Romster: thx :-) | 09:48 |
Lukc | Is /sys/class/net portable? I mean, on non-linux systems? | 09:48 |
Romster | no problem. | 09:48 |
Romster | not sure. it's exported as part of the kernel. | 09:48 |
jaeger | s44: that's just how the kernel works (as far as the lack of device files goes) | 09:48 |
Romster | "ip addr" replaces ifconfig | 09:49 |
Romster | might be safer to parse that, not sure. | 09:49 |
Lukc | Ok. | 09:49 |
Romster | hmm why is it hard to find ksh stuff. | 09:51 |
Romster | err zsh i mean | 09:51 |
Romster | http://unix-linux.itags.org/q_unix-linux-programming_100151.html ah here we go | 09:52 |
Lukc | Romster, man zshall is very complete. | 09:53 |
Lukc | And man zsh-lovers too. | 09:53 |
Romster | if i want to install it. | 09:53 |
Lukc | man pages are usually available on-line. :/ | 09:53 |
Romster | true | 09:53 |
Romster | but i'm looking for the zsh equivalent to this http://www.tldp.org/LDP/abs/html/refcards.html | 09:54 |
Romster | http://www.bash2zsh.com/zsh_refcard/refcard.pdf ah this might be helpful | 09:56 |
Lukc | Romster, the stuff I know on your page, I use it on zsh. :D | 09:58 |
Romster | honestly finding stuff in zsh even with all them links on https://wiki.archlinux.org/index.php/Zsh#See_also is still effort. be easier to just install zsh and test myself. | 10:02 |
Lukc | It’s also better to install zsh. | 10:02 |
Lukc | IMHO. O:) | 10:02 |
Lukc | s/also/always/ | 10:02 |
Romster | meh not if it takes me years to get used tonot using bashisms. if i did make it my shell. | 10:03 |
Romster | not to mention all the wongdoers that use !/bin/sh when they should be using !/bin/bash | 10:03 |
Lukc | Installing it is not using it, you know… | 10:03 |
Romster | #!/bin/bash | 10:03 |
Romster | true | 10:03 |
Lukc | You should not use #!/bin/bash but #!/usr/bin/env bash, btw. | 10:04 |
Lukc | ’Cause bash isn’t always in /bin. | 10:04 |
Romster | that's only if you don't know where bash is gonna be. | 10:04 |
Romster | it's always in /bin/ on crux | 10:04 |
Lukc | Yep. | 10:04 |
Romster | eek zsh does not like my bash prompt | 10:05 |
Romster | \n\[\033[1;34m\]\u\[\033[0m\]@\[\033[1;31m\]\h\[\033[0m\]\n\[\033[0;32m\]\d \t\[\033[0m\]\n\[\033[1;37m\]\w\[\033[0m\]\n\$ | 10:05 |
Romster | anyways not worried about that | 10:05 |
Lukc | It seems. | 10:06 |
Romster | echo ${version::3} | 10:06 |
Romster | zsh: closing brace expected | 10:06 |
Romster | there is closing brace there } | 10:06 |
Lukc | It is expected before the first :, I guess. | 10:06 |
Lukc | But s/::3/:0:3/ will solve the issue. | 10:07 |
Romster | hmm | 10:07 |
Romster | what the hell delete key jsut jumps right one spot like pressing right cursor... | 10:08 |
Lukc | Do you want a descent zshrc ? | 10:08 |
Romster | i see it does not understand :: as being :0: you'd think they could support that. | 10:09 |
Lukc | Yes, but they don’t. | 10:09 |
Romster | jaeger, mind editing them two core ports to have ${version:0:3} on bash and readline | 10:09 |
jaeger | I'd like to see if jue has any objection first but if he doesn't it's fine with me | 10:10 |
Lukc | Ok. | 10:10 |
Romster | wont break bash so i don't think it'l be a big issue, but yeah wait for jue | 10:10 |
Romster | Lukc, yeah a zshrc would be nice to get me started. | 10:10 |
frinnst | zsh, eeew | 10:10 |
frinnst | :) | 10:10 |
* frinnst hides | 10:10 | |
Romster | if i do plan to play with zsh some more. | 10:10 |
Lukc | Ok, try http://lukc.upyum.com/zshrc | 10:12 |
Romster | you should also try changing the mime type of unknown files to plan/text | 10:13 |
Romster | got the file but it's not binary as the web server thinks and having it as plain/text means people can view it in the browser too. | 10:13 |
Romster | one of my pet hates on web browsers. | 10:14 |
Lukc | Romster, I’m not the admin of the web server, but I’ll transmit the message. | 10:14 |
Romster | cool | 10:14 |
Romster | thanks for that file i'll read though it before i use it, i'll probably change a few things first. | 10:15 |
Romster | oh custom ls colours cool been meaning to try those. | 10:16 |
Romster | -jtrucks/Wallops- "Ninety percent of everything is crap." | 10:16 |
Romster | what is the point of that wall message... | 10:16 |
Romster | Lukc, btw i think with that patch han uses on prt-get it'll also work in zsh | 10:17 |
Romster | or was that only bsd that hasn't got . for source to execute a file. | 10:18 |
Lukc | Romster, I don’t use pkgmk or prt-get, and don’t plan to, so it doesn’t interest me as much. :p | 10:20 |
Romster | your missing grep colouring | 10:21 |
Romster | unless that's in your /etc/profile | 10:21 |
Romster | export GREP_OPTIONS='--color=auto' | 10:22 |
Romster | alias grep='grep $GREP_OPTIONS' | 10:22 |
Lukc | Right. | 10:23 |
Lukc | I always forget to put it in the damn file. | 10:23 |
Romster | hehe | 10:24 |
Lukc | (also, I usually prefer --color=always) | 10:24 |
Romster | well i'd be keen what you come up with. | 10:24 |
Romster | hmm what's the difference? | 10:24 |
Lukc | With pacmoon? | 10:24 |
Lukc | Romster, auto does not color when piped. | 10:24 |
Lukc | And I often pipe in less. /o\ | 10:24 |
Romster | yeah pacmoon and your pkg++ where is that url for pkg++ | 10:24 |
Romster | ah | 10:24 |
Lukc | http://pkgxx.org | 10:25 |
Romster | rewrite of pkgutils as such? | 10:25 |
Lukc | Nope. Only a fork of pkgmk. :p | 10:26 |
Lukc | But it builds debs, rpms, or others depending on the distro you’re on. | 10:26 |
Romster | also on another note nogagplz used pkgutiuls on a arch system to install some stuff that arch was either lacking or did horribly wrong. | 10:26 |
Lukc | Also, it works best with a slightly modified format of Pkgfiles, because I was too lazy to parse the comments… | 10:26 |
Lukc | Ahah. :D | 10:27 |
Romster | Lukc, oh neat i was wrondering if there was such a generic tool that understood more than one package format. | 10:27 |
Lukc | Well, there are more, but none did as well. :p | 10:27 |
Romster | modular? does it also handle ebuilds those would be a pain to handle. | 10:27 |
Lukc | To use them as recipes or to produce them? | 10:28 |
Lukc | In any case, no. It was too complex compared to Pkgfiles. | 10:28 |
Romster | to use there recipes to produce the binary files. | 10:28 |
Lukc | Nope. | 10:28 |
Romster | modular to accept other formats in future? | 10:29 |
Lukc | Yes. | 10:29 |
Romster | good i may look into that project. | 10:29 |
Lukc | :) | 10:29 |
Romster | i have some other ideas floating around to try out on another test system | 10:30 |
Romster | you on freenode much? | 10:30 |
Romster | what channel? | 10:30 |
Lukc | Nope, I’m only on XMPP. | 10:31 |
Lukc | Currently. | 10:31 |
Romster | ah oh well i can probably email you off the site or something. | 10:32 |
Romster | if i need to talk to you in future. | 10:32 |
Romster | why would i want to disable wallop messages when i turned them on to know more insight on server upgrades and such not for opers to abuse wallops... | 10:33 |
Romster | jtrucks... oh dear... guess he likes to send random messages now. | 10:34 |
Lukc | Yes, you can. My mail’s on it. | 10:34 |
Romster | k | 10:35 |
*** joe9 has joined #crux | 10:40 | |
*** joe9 has quit IRC | 10:48 | |
*** lasso|qt has quit IRC | 10:52 | |
cruxbot | [contrib.git/2.7]: clamav: updated to version 0.97.6 | 10:57 |
*** joe9 has joined #crux | 11:00 | |
jue | generally no objections, but I don't get it why it is a problem for some/few people that pkgmk is a bash script ;) | 11:12 |
Lukc | Because we don’t like bash. O:) | 11:13 |
jue | sorry, but that's not a valid reason | 11:13 |
jue | installing bash is a overhead of around 700k, so it's really nothing compared to the other stuff you've to install | 11:15 |
Lukc | jue, I disagree. Installing zsh without its modules or libraries is 50k lighter. \o/ | 11:17 |
Lukc | But, I think the license is a more important reason. | 11:17 |
Lukc | And the fact zsh is cooler, and having two shells is useless. | 11:17 |
jue | Lukc: well, that discussion is pointless | 11:18 |
Lukc | Yes. | 11:18 |
Lukc | jue, but anyway, how is it a problem to make Pkgfiles usable with both bash and zsh? | 11:19 |
jue | as I said above, I've not objections to modify the affected ports | 11:21 |
Lukc | Ok. :) | 11:22 |
Romster | yeah i too don't see why it's nt run by bash unless autotools and everything else does not break when ran by zsh too? | 11:25 |
Romster | which is highly unlikely as gnu requires bash last i looked. | 11:25 |
*** Rotwang has joined #crux | 11:35 | |
*** Rotwang has quit IRC | 11:46 | |
*** Rotwang has joined #crux | 11:51 | |
*** sh4rm4 has quit IRC | 12:15 | |
*** sh4rm4 has joined #crux | 12:19 | |
*** poulecaca has quit IRC | 12:20 | |
*** ente is now known as ente_ | 12:52 | |
nogagplz | Romster, I since changed that to some hideous pkgbuilds though, when in rome... :P | 13:34 |
*** c0x` is now known as c0x | 13:34 | |
jaeger | guessing pkg++ uses zsh instead of bash, hence the issue | 13:35 |
Lukc | pkg++ uses zsh because I chose so, therefor it’s not really the issue. | 13:37 |
jaeger | 11:25 < Romster> yeah i too don't see why it's nt run by bash unless autotools and everything else does not break when ran by zsh too? | 13:40 |
jaeger | was answering that | 13:40 |
Lukc | Ok, sorry. | 13:41 |
jaeger | Lukc: any advantage to the :0:3 syntax vs. the %.* syntax? | 13:59 |
jaeger | I guess if you run into a version from which you need to cut more than one dot | 13:59 |
Lukc | Yes, that. | 13:59 |
Lukc | I don’t see anything else, right now. | 14:00 |
jaeger | you can expand the latter to %.*.* so both ways work, I guess, one's more characters | 14:00 |
Lukc | :0:3 seems more stable to me when the versions change. | 14:04 |
jaeger | yay, SMART data is actually warning a user that the drive is failing for once | 14:09 |
*** eighty4_ is now known as eighty4 | 14:13 | |
*** eighty4 has joined #crux | 14:13 | |
krue | http://code.dogmap.org/lintsh/ may be helpful | 14:18 |
*** sh4rm4 has quit IRC | 14:21 | |
*** sh4rm4 has joined #crux | 14:22 | |
*** Rotwang has quit IRC | 14:33 | |
Lukc | krue, the point of the article seems to be mainly to comply with /bin/sh. | 14:38 |
Lukc | Which is neither what we want or what we can do with minimal changes to the Pkgfiles. | 14:38 |
Lukc | (sh has no array support) | 14:39 |
*** pidsley has joined #crux | 14:51 | |
*** Rotwang has joined #crux | 14:52 | |
*** Rotwang1 has joined #crux | 14:52 | |
joe9 | http://codepad.org/zY4WwHWE i am trying to figure out if there is any way to run this executable file without actually messing up my system. | 15:02 |
joe9 | Is there some chroot or something similar that I can do for this? | 15:03 |
teK_ | if it's an exe file and you have vbox / windows vm: try cuckoo | 15:03 |
joe9 | no, it is a linux executable | 15:04 |
joe9 | teK_: | 15:04 |
jaeger | you could create a chroot for it if you wanted to, sure | 15:06 |
*** vaddi has quit IRC | 15:16 | |
*** mike_k has quit IRC | 16:07 | |
*** Rotwang has quit IRC | 16:28 | |
*** pidsley has quit IRC | 16:39 | |
*** SiFuh has quit IRC | 18:53 | |
*** SiFuh has joined #crux | 18:56 | |
*** joacim has joined #crux | 19:07 | |
*** SiFuh has quit IRC | 19:09 | |
*** SiFuh has joined #crux | 19:10 | |
*** horrorStruck has quit IRC | 19:15 | |
*** SiFuh has quit IRC | 19:22 | |
*** SiFuh has joined #crux | 19:30 | |
*** tilman has quit IRC | 19:33 | |
*** tilman has joined #crux | 19:35 | |
*** ChanServ sets mode: +o tilman | 19:35 | |
*** SiFuh has quit IRC | 19:58 | |
*** SiFuh has joined #crux | 20:00 | |
*** SiFuh has quit IRC | 20:19 | |
*** SiFuh has joined #crux | 20:21 | |
*** sepen has quit IRC | 20:37 | |
*** mavrick61 has quit IRC | 21:34 | |
*** mavrick61 has joined #crux | 21:35 | |
*** SiFuh has quit IRC | 22:55 | |
*** SiFuh has joined #crux | 22:57 | |
*** SiFuh has quit IRC | 23:05 | |
*** SiFuh has joined #crux | 23:06 | |
*** SiFuh has quit IRC | 23:18 | |
*** SiFuh has joined #crux | 23:20 | |
*** SiFuh has quit IRC | 23:40 | |
*** SiFuh has joined #crux | 23:42 | |
*** lasso|qt has joined #crux | 23:53 | |
*** SiFuh has quit IRC | 23:53 | |
*** SiFuh has joined #crux | 23:55 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!