Pali | kerio, you can use dh_make for generating debian/* files from templates | 00:00 |
---|---|---|
kerio | meh, it was easier this way :) | 00:01 |
*** Mihanizat0r has quit IRC | 00:09 | |
*** SpacedOut has joined #maemo-ssu | 00:11 | |
*** Vlad_on_the_road has quit IRC | 00:27 | |
merlin1991 | dh_make in scratchbox is written for I dunno debhelper 4 or so? | 00:33 |
merlin1991 | it generates insanely verbose packaging | 00:33 |
kerio | debhelper 5 | 00:33 |
*** _rd has quit IRC | 00:39 | |
*** _rd has joined #maemo-ssu | 00:42 | |
merlin1991 | kerio: I know it outputs debhelper 5 compatible packaging | 00:45 |
merlin1991 | but it takes advantage of almost no debhelper 5 features to keep the packaging madness down to a minimum :D | 00:45 |
kerio | the version is 5 | 00:45 |
kerio | but i don't know wtf scratchbox does, really | 00:45 |
merlin1991 | scratchbox just abstracts path and cpu | 00:45 |
Pali | I'm using dh_make in ubuntu 12.10 | 00:46 |
Pali | it can still generate old style debian/rules which is good for scratchbox (only you need to change dh_prep to dh_clean -k) | 00:47 |
Pali | because dh_prep is not in scratchbox | 00:47 |
Pali | and it can recognize qmake, makefile and also cmake | 00:47 |
Pali | kerio, here is new version: http://atrey.karlin.mff.cuni.cz/~pali/rootsh_1.9.tar.gz | 00:50 |
Pali | I included dpkg-divert and updated debian files | 00:50 |
Pali | but I did not skipped 1.9 version and updated pre/post scripts | 00:50 |
kerio | Pali: gainroot.old is moved back to gainroot by the old rootsh's prerm | 00:51 |
*** BCMM has quit IRC | 00:52 | |
kerio | and my conflict with the old versions guarantees that the old version is properly removed before anything of the new one touches the system | 00:52 |
Pali | kerio, in my version it is fixed in preinst | 00:52 |
kerio | yeah, and it's useless | 00:52 |
Pali | I removed conflicts | 00:53 |
kerio | the old version already conflicted with itself from the even older version | 00:53 |
Pali | so can I remove that check in preinst? | 00:54 |
kerio | if you add the conflict | 00:54 |
kerio | although... hm, you add the divert only when configuring | 00:54 |
Pali | configure is called when updating too | 00:55 |
Pali | I adding dpkg-divert to configure section always | 00:55 |
kerio | hm, i'm not sure | 00:56 |
kerio | we probably need more tests | 00:56 |
kerio | i tested the upgrade from 1.8 to 2.0, and everything worked as it was supposed to | 00:56 |
Pali | I'm going to test my version | 00:56 |
Pali | hm, bug :-( | 00:57 |
Pali | ah, yes dpkg-divert should be called in install or update section | 00:58 |
Pali | configure it for something else | 00:59 |
kerio | Pali: http://www.debian.org/doc/debian-policy/ap-pkg-diversions.html | 00:59 |
kerio | it says "from old packaging manual" though | 00:59 |
kerio | gregoa: is http://www.debian.org/doc/debian-policy/ap-pkg-diversions.html still accurate as a guide? | 01:00 |
gregoa | kerio: I guess so, since it's in this debian policy site :) | 01:01 |
kerio | ohai | 01:01 |
kerio | well, it says "from old Packaging Manual" | 01:01 |
gregoa | kerio: from looking at the examples they look familiar | 01:01 |
gregoa | yup, that part was somewhere else and then transferred as an appendix to policy | 01:02 |
kerio | oic | 01:02 |
gregoa | you might want to check man dpkg-divert too | 01:02 |
kerio | gregoa: if a package conflicts with every old version of itself, the old version is fully uninstalled before the new one is unpacked, right? | 01:02 |
Pali | now I looked into my other packages and all calling dpkg-divert add in preinst install|upgrade and dpkg-divert remove in postrm remove|purge | 01:03 |
gregoa | kerio: good question ... TBH I'm never sure with this. - and why conflict with itself? | 01:04 |
kerio | gregoa: because the old version did mv foo foo.old in preinst and mv foo.old foo in postrm | 01:05 |
kerio | so i want the postrm to run before my new preinst | 01:05 |
gregoa | and why can't add the mv to the new-preinst? | 01:06 |
kerio | ...cruft! | 01:06 |
Pali | I added mv in new preinst | 01:08 |
Pali | I think it is better | 01:08 |
*** _rd has quit IRC | 01:15 | |
*** Lava_Croft has quit IRC | 02:04 | |
*** Lava_Croft has joined #maemo-ssu | 02:05 | |
*** Martix has quit IRC | 02:13 | |
*** SpacedOut has quit IRC | 02:14 | |
*** SpacedOut has joined #maemo-ssu | 02:17 | |
*** NIN101 has quit IRC | 02:31 | |
*** SpacedOut has quit IRC | 02:34 | |
*** jonwil has joined #maemo-ssu | 02:52 | |
*** nox- has quit IRC | 02:57 | |
*** hwoarang has quit IRC | 03:08 | |
*** Pali has quit IRC | 03:13 | |
*** arcean has quit IRC | 03:42 | |
*** hwoarang has joined #maemo-ssu | 03:45 | |
*** hwoarang has joined #maemo-ssu | 03:45 | |
*** M4rtinK has quit IRC | 04:11 | |
*** kolp_ has joined #maemo-ssu | 04:49 | |
*** kolp has quit IRC | 04:53 | |
*** kolp_ has quit IRC | 05:03 | |
*** LaoLang_cool has joined #maemo-ssu | 05:09 | |
*** LaoLang_cool has quit IRC | 05:15 | |
*** jonwil has quit IRC | 05:20 | |
*** amiconn has quit IRC | 05:22 | |
*** amiconn_ has joined #maemo-ssu | 05:22 | |
*** amiconn_ is now known as amiconn | 05:22 | |
*** DocScrutinizer05 has quit IRC | 06:04 | |
*** DocScrutinizer05 has joined #maemo-ssu | 06:04 | |
*** Mihanizat0r has joined #maemo-ssu | 07:10 | |
*** jade has quit IRC | 07:36 | |
*** jade has joined #maemo-ssu | 08:10 | |
*** jade has joined #maemo-ssu | 08:10 | |
*** infobot has joined #maemo-ssu | 08:46 | |
*** ChanServ sets mode: +v infobot | 08:46 | |
*** Mihanizat0r has quit IRC | 09:28 | |
*** _rd has joined #maemo-ssu | 10:18 | |
*** gregoa has quit IRC | 10:36 | |
*** vlad__ has joined #maemo-ssu | 11:25 | |
*** vlad__ has quit IRC | 11:44 | |
*** NIN101 has joined #maemo-ssu | 12:08 | |
*** Martix has joined #maemo-ssu | 12:08 | |
*** futpib has joined #maemo-ssu | 12:30 | |
*** xes has joined #maemo-ssu | 12:34 | |
*** M4rtinK has joined #maemo-ssu | 12:39 | |
*** arcean has joined #maemo-ssu | 13:12 | |
*** kolp has joined #maemo-ssu | 13:14 | |
*** _rd has quit IRC | 13:14 | |
*** gregoa has joined #maemo-ssu | 13:15 | |
*** arcean_ has joined #maemo-ssu | 13:19 | |
*** Pali has joined #maemo-ssu | 13:21 | |
*** arcean has quit IRC | 13:21 | |
*** freemangordon has quit IRC | 13:54 | |
*** vlad__ has joined #maemo-ssu | 13:58 | |
*** vlad__ has quit IRC | 14:01 | |
*** Vlad_on_the_road has joined #maemo-ssu | 14:01 | |
*** toxaris has joined #maemo-ssu | 14:13 | |
kerio | Pali: i doublechecked - the old package's postrm is executed *after* your preinst, so we MUST make the new rootsh conflict with the old one | 14:23 |
kerio | ~2119 | 14:23 |
infobot | The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. | 14:23 |
kerio | so that the old one is removed even before the new one is unpacked | 14:23 |
*** Vlad_on_the_road has quit IRC | 14:23 | |
*** _ade_ has joined #maemo-ssu | 14:25 | |
_ade_ | Pali: could you please have a look at your code regarding the opening of the date/time applet in the replacement clock? | 14:30 |
_ade_ | Pali: I would hate to see things stagnating again, just because of one minor not solved issue | 14:31 |
gregoa | kerio: for this preinst/postrm question and when which maintainer script is run, you might find http://wiki.debian.org/MaintainerScripts useful (and the prose is at http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact ) | 14:46 |
kerio | oh god why | 14:51 |
kerio | also, my version would blow up in case of a downgrade | 14:51 |
kerio | wait, no it wouldn't, it conflicts with past versions | 14:54 |
kerio | so it's fully uninstalled before the old one is installed | 14:54 |
gregoa | kerio: debian doesn't support downgrades, I don't think maemo has changed this ... | 14:55 |
kerio | they're not supported, but it would be nice if downgrading didn't blow everything up | 14:56 |
kerio | :) | 14:56 |
kerio | Pali: silly idea: we update the sudo package in cssu and add an explicit check in gainroot | 14:57 |
kerio | rootsh will create a file in /etc/ and that's it | 14:57 |
kerio | hm, it would still have the problem of the stupid rootsh1.6 postrm | 14:59 |
kerio | gregoa: does the debian policy specify the punishment for overwriting files in maintainer scripts? | 15:00 |
gregoa | kerio: the punishment is "release critical bug" | 15:00 |
gregoa | kerio: if you mean files in other packages | 15:01 |
kerio | yep | 15:01 |
kerio | but i was thinking of more corporal punishments | 15:01 |
gregoa | :) | 15:01 |
kerio | like being publicly flogged | 15:01 |
gregoa | not the written policy :) | 15:02 |
*** Vlad_on_the_road has joined #maemo-ssu | 15:30 | |
*** dhbiker has quit IRC | 15:32 | |
*** dhbiker has joined #maemo-ssu | 15:34 | |
* DocScrutinizer05 still wonders WTF *is* the bug ticket we're going to close with all that hassle about rootsh. After all you can't save spilled milk, rootsh exists, however nasty it might be, and changing it now doesn't really help anything with the already deployed nasty packaging | 15:44 | |
kerio | DocScrutinizer05: "package overwrites file in another package" aka "release critical bug", according to debian's gregoa | 15:46 |
DocScrutinizer05 | ticket number, impact?! | 15:47 |
kerio | i'm not sure rootsh has a bug tracker | 15:47 |
kerio | is there a generic tracker for extras(-devel)? | 15:47 |
DocScrutinizer05 | in my book rootsh is a component of core maemo, though not written on the paper | 15:48 |
kerio | oh, wtf is event.replace.d? | 15:49 |
DocScrutinizer05 | anyway you don't mess with packaging of a 4 year old pkg, just to fix the packaging for nicer looks | 15:49 |
DocScrutinizer05 | packaging may look to make my ass laugh at it for its ugliness, I wouldn't care after 4 years the pkg got used with no bug report against it. As already mentioned you can't save spilled milk | 15:51 |
DocScrutinizer05 | and you MUST NOT change semantics of sudo gainroot! | 15:52 |
*** _ade_ has quit IRC | 15:52 | |
DocScrutinizer05 | so wtf even touch it? | 15:52 |
kerio | you can upgrade spilled milk, despill it, and make it spill in a bowl for later easy cleaning | 15:53 |
* DocScrutinizer05 makes an obscene sound in kerio's general direction | 15:53 | |
kerio | i weep for the state of your kitchen, man | 15:54 |
DocScrutinizer05 | take your developer's sandbox and move on elsewhere | 15:54 |
kerio | k :( | 15:54 |
DocScrutinizer05 | CSSU anyway is not any such sandbox | 15:54 |
DocScrutinizer05 | meither is maemo-extras | 15:55 |
DocScrutinizer05 | neither* | 15:55 |
DocScrutinizer05 | honestly if you got no other problems than beautifying rootsh packaging, I'm honestly concerned about future of CSSU | 15:56 |
Pali | you did not remember problem that rootsh was unable to uninstall???? | 15:57 |
kerio | Pali: nah, that's mostly fixed in the latest rootsh | 15:58 |
Pali | yes, but see how it was fixed... | 15:58 |
Pali | and see how long take it to promote fix to extras... | 15:58 |
Pali | (from extras-devel) | 15:58 |
kerio | DocScrutinizer05: we need to fix rootsh to update the sudo package, because <DocScrutinizer05> in my book rootsh is a component of core maemo, though not written on the paper | 15:59 |
kerio | and we'll eventually have to update the sudo package to allow for askpass for HAM | 15:59 |
Pali | btw, we have old version of sudo in maemo, isnt there security problems?? | 15:59 |
kerio | Pali: ha ha ha, you're funny | 15:59 |
Pali | I think everybody know all old sudo security problems... | 16:00 |
kerio | the distribution with the graphical package manager that can install stuff from user-provided files without asking any password has security problems | 16:00 |
kerio | who would've thought | 16:00 |
kerio | or, easier, the distribution with no /etc/shadow support (and i have no idea how to fix *that*) | 16:01 |
DocScrutinizer05 | demonstrate the problem before you moan about the missing plan for a fix | 16:04 |
DocScrutinizer05 | fremantle still is a single user system by usecase definition. Systems with trusted users are not supposed to need /etc/shadow | 16:05 |
kerio | hm, why do you care about passwordful sudo then? | 16:06 |
DocScrutinizer05 | OMFG, and I risk bashing from thedead1440 for answering | 16:06 |
kerio | no, seriously :c | 16:07 |
* thedead1440 kicks DocScrutinizer05 out of here | 16:07 | |
DocScrutinizer05 | why remember passwords, when you can crack them with john | 16:07 |
*** freemangordon has joined #maemo-ssu | 16:08 | |
DocScrutinizer05 | why have a safety switch on your rifle when you can switch it to "armed" | 16:08 |
kerio | oh, for the user himself | 16:08 |
kerio | i see | 16:08 |
DocScrutinizer05 | why lock your door when anybody can use C4 to open it? | 16:08 |
kerio | why a password instead of a "are you sure you want to install this" then? | 16:09 |
Lava_Croft | keep them passwords off of my n900! | 16:09 |
kerio | i'd say that asking for a password is more to prevent your dumb friend messing with your system | 16:09 |
kerio | on the n900 | 16:09 |
*** arcean_ is now known as arcean | 16:10 | |
DocScrutinizer05 | because *you* are too lame to crack *my* password on N900, even when I take 90min to shit and leave my phone on that table you're sitting on | 16:10 |
* DocScrutinizer05 off | 16:10 | |
kerio | well, i can't crypt(3) in my mind | 16:11 |
DocScrutinizer05 | If I'd expect my stuff to be safe despite you lifted my phone, I'd use cryptfs and probably also would create a very special NOLO version | 16:23 |
DocScrutinizer05 | always according to age old wisdom "there's no absolute security, there's just a ratio of time to crack vs value of data that could get stolen" | 16:25 |
DocScrutinizer05 | for protection of root access to fremantle, I'm absolutely fine with a simple etc/passwd, in that regard | 16:26 |
kerio | eh, fair enough | 16:36 |
*** xes has quit IRC | 16:59 | |
*** iDont has joined #maemo-ssu | 17:12 | |
*** Vlad_on_the_road has quit IRC | 17:35 | |
*** toxaris has quit IRC | 18:35 | |
*** merlin1991 has quit IRC | 19:02 | |
*** merlin1991 has joined #maemo-ssu | 19:08 | |
*** arcean_ has joined #maemo-ssu | 19:35 | |
*** arcean has quit IRC | 19:37 | |
*** merlin1991 has quit IRC | 19:44 | |
*** merlin1991 has joined #maemo-ssu | 19:44 | |
*** merlin1991 has quit IRC | 19:45 | |
*** merlin1991 has joined #maemo-ssu | 19:48 | |
*** int_ua has joined #maemo-ssu | 20:01 | |
*** nox- has joined #maemo-ssu | 20:13 | |
*** nox- has quit IRC | 20:35 | |
*** nox- has joined #maemo-ssu | 20:45 | |
*** int_ua has quit IRC | 21:03 | |
*** int_ua has joined #maemo-ssu | 21:07 | |
*** nox- has quit IRC | 22:12 | |
*** nox- has joined #maemo-ssu | 22:15 | |
*** iDont has quit IRC | 22:28 | |
*** zogg_ has joined #maemo-ssu | 23:26 | |
*** ZogG has quit IRC | 23:28 | |
*** NIN101 has quit IRC | 23:49 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!