Re: debian/prerm is executed on *reconfigure*?
schönfeld / in-medias-res.com schrieb: Hi mentors, hi Dpkg developers, i could need some help with a bug that has been reported to be in one of my packages. According to #408823 my package removes a configuration file when dpkg-reconfigure is invoked. I'm really wondering about this, because that means that dpkg invokes my prerm script if it is called with dpkg-reconfigure. Is this behaviour of dpkg correct? If it is. What do i need to do, so that my prerm script does not cause harm, when called during this stage? Thanks in advance and best regards Patrick There is a very good documentation from Margarita [1] (besides the one Justin already mentioned) I'd suggest you read that carefully. Cheers, Michael [1] http://women.debian.org/wiki/English/MaintainerScripts signature.asc Description: OpenPGP digital signature
Re: Claiming a binary name used in Sarge but not in Etch.
Charles Plessy [EMAIL PROTECTED] wrote: #!/bin/sh echo -e AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future. exec /usr/bin/amap $@ 'echo -e' is not specified by POSIX. If you want to use escapes such as \n, you'd better use printf instead of echo. I am just wondering if the quotes around $@ are necessary... Yes. The quotes are necessary so that arguments containing spaces aren't mangled (yes, this is a weird syntax, but it's supposed to be used this way). -- Florent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Claiming a binary name used in Sarge but not in Etch.
Le Sat, Mar 17, 2007 at 12:00:20PM +0100, Florent Rougon a écrit : Charles Plessy [EMAIL PROTECTED] wrote: #!/bin/sh echo -e AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future. exec /usr/bin/amap $@ 'echo -e' is not specified by POSIX. If you want to use escapes such as \n, you'd better use printf instead of echo. Thanks a lot, I will use one echo per line. -- Charles -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Claiming a binary name used in Sarge but not in Etch.
Charles Plessy a écrit : #!/bin/sh echo -e AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future. exec /usr/bin/amap $@ I am just wondering if the quotes around $@ are necessary... indeed, they are: $ cat quotes.sh #! /bin/sh for i in $@; do echo $i; done echo --- for i in $@; do echo $i; done $ sh quotes.sh 1 2 3 1 2 3 --- 1 2 3 $ -- Emmanuel le Chevoir -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RFS: isomaster
Dear mentors, I am looking for a sponsor for my package isomaster. * Package name: isomaster Version : 0.8-1 Upstream Author : Andrew Smith [EMAIL PROTECTED] * URL : http://littlesvr.ca/isomaster/ * License : GPL Section : otherosfs It builds these binary packages: isomaster - A graphical CD image editor The package is lintian clean and I have additionally checked it against the sponsorship checklists of NeilM and Matthew Palmer. The package can be found on mentors.debian.net: - URL: http://mentors.debian.net/debian/pool/main/i/isomaster - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - dget http://mentors.debian.net/debian/pool/main/i/isomaster/isomaster_0.8-1.dsc I would be glad if someone uploaded this package for me. Many thanks, David. -- David Johnson www.david-web.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: isomaster
David Johnson scrisse: Dear mentors, I am looking for a sponsor for my package isomaster. I found some issues in your source package. * In your diff.gz you add various files, like CREDITS, README, LICENSE, TODO and changelog. This job should be reserved to upstream, and your behaviour looks wrong. Perhaps it's just an error... Any rationale for it? * You forgot to close your ITP (#413857). Please add a Closes: line to this version. * I think README.Debian can be easily removed, as it only contains a summary of your diff.gz, and no other relevant info. * debian/copyright is definitively wrong (serious policy violation), as there are file with different license (eg. the iniparser subdir is under MIT license) and different copyright attribution (Copyright (C) 2000 by Nicolas Devillard.). Please read iniparser-2.15/LICENSE. Please fix these issues before requesting again a sponsor ;) I'm not currently able to test if it builds fine, and I cannot sponsor you as I'm not (yet) a DD. Many thanks, David. Ciao, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno : :' : The Universal O.S.| luca.br(AT)uno.it `. `'` | GPG Key ID: 3BFB9FB3 `- http://www.debian.org | Proud Debian GNU/Linux User pgpcrnkBuB8VS.pgp Description: PGP signature
RFS: chatplus
Dear mentors, I am looking for a sponsor for my package chatplus. * Package name: chatplus Version : 0.1-1 Upstream Author : Thomas Jollans [EMAIL PROTECTED] (me) * URL : http://zombiehq.xyzplanet.net/zhq/projects/chat * License : GPL Section : net It builds these binary packages: chatplus - a simple graphical LAN chat programme with unicode chatplus-server - a simple LAN chat programme with unicode (server) mentors.debian.org says that the package is lintian clean, my local lintian disagrees in points which are, IMHO, ignoreable (non-executable scripts in /usr/lib/chatplus which have wrappers in /usr/bin, one icon in /usr/lib/chatplus) The upload would fix these bugs: 415257 The package can be found on mentors.debian.net: - URL: http://mentors.debian.net/debian/pool/main/c/chatplus - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - dget http://mentors.debian.net/debian/pool/main/c/chatplus/chatplus_0.1-1.dsc I would be glad if someone uploaded this package for me. Kind regards Thomas Jollans pgpxXZyr6SNSu.pgp Description: PGP signature
Re: RFS: isomaster
On Saturday 17 March 2007 12:37, you wrote: * your .diff.gz has CREDITS TODO LICENSE and README (which look like copies of the same with .TXT from the .orig.tar). Why did you place them there? Hmm, I'm sure I had some good reason for renaming them, but I can't see a reason for it now. I do however have to rename upstream's CHANGELOG.TXT to changelog in order to satisfy lintian - is there some better way to do this rather than just renaming it? Symbolic link perhaps? I'll need to look into the CFLAGS issue; the other items you mention I can fix easily. If nobody else finds anything further, I'll re-upload once I've fixed those identified so far. Thanks for you help! David. -- David Johnson www.david-web.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: isomaster
On Saturday 17 March 2007 13:08, you wrote: * You forgot to close your ITP (#413857). Please add a Closes: line to this version. Thanks, I didn't realise I had to do that - this is my first package :-) * I think README.Debian can be easily removed, as it only contains a summary of your diff.gz, and no other relevant info. Will do. * debian/copyright is definitively wrong (serious policy violation), as there are file with different license (eg. the iniparser subdir is under MIT license) and different copyright attribution (Copyright (C) 2000 by Nicolas Devillard.). Please read iniparser-2.15/LICENSE. OK, I've added the missing copyright attribution, but I don't think the licensing is an issue - the MIT license is GPL compatible and as the code is incorporated into a GPL'd program, the code can be considered GPL licensed. Please let me know if this is not the case. Many thanks, David. -- David Johnson www.david-web.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: isomaster
On Saturday 17 March 2007 16:24, I wrote: I'll need to look into the CFLAGS issue; the other items you mention I can fix easily. If nobody else finds anything further, I'll re-upload once I've fixed those identified so far. OK, I reckon I've fixed the issues thus identified and have re-uploaded. I'd appreciate it if people could take another look. The package can be found on mentors.debian.net: - URL: http://mentors.debian.net/debian/pool/main/i/isomaster - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - dget http://mentors.debian.net/debian/pool/main/i/isomaster/isomaster_0.8-1.dsc Many thanks, David. -- David Johnson www.david-web.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: chatplus
Hello again, I just cleaned debian/rules up a bit (removing useless comments and such). On Saturday 17 March 2007 17:15, Thomas Jollans wrote: mentors.debian.org says that the package is lintian clean, my local lintian disagrees in points which are, IMHO, ignoreable (non-executable scripts in /usr/lib/chatplus which have wrappers in /usr/bin, one icon in /usr/lib/chatplus) to be precise, the source package is both lintian and linda clean, the binaries are not. (Linda has no problem with non-executable scripts though) Regards, Thomas Jollans pgpCWrIsDRSGv.pgp Description: PGP signature
Re: RFS: chatplus
On Sat, Mar 17, 2007 at 06:17:36PM +0100, Thomas Jollans wrote: to be precise, the source package is both lintian and linda clean, the binaries are not. (Linda has no problem with non-executable scripts though) Just FYI, but if you pass the .changes (instead of the .dsc) to lintian and linda, they will check the source and the binary packages for you. Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
backports.org became really shitty for php5-mysql and mysql-server-5.0
Hi! I want to cry about this issue... Few weeks ago, it was possible to setup php5, mysql5 and apache2 in sarge using the backports. But seems few weeks (maybe 1 week ?), if you do setup php5-mysql and mysql-server-5 from the backports, then BOOM, it's impossible for any php-mysql enabled application to authenticate. I know how to fix, you simply have to recompile php5 using the backports.org sources, but that's not the issue. I had a big bunch of user of our control panel complaining about it, and most of it thought it was the fault of our app, when it is really a backports.org issue. I'm sure I'm not the only one that has to suffer this issue, it's time consuming, and it gives a VERY bad image for the people thinking the problem is from us, when the issue is out of our control. And I'm not even talking about the hours that some of our users loosed on this... Also, that forces some to upgrade to Etch when it's not yet released (or to manually compile php5). Does one of you know who I should get in touch with so this is corrected? Setting-up php5-mysql, apache2 and MySQL server 5 in Sarge is really something common, I think this MUST be corrected ASAP. I don't know who's responsible for these packages as I'm almost sure that the maintainer field in the control file is not the one who did the upload in backports.org. If you know who I should get in touch, let me know. There might be good reasons that I don't know about this upgrade. If so, I'd be happy to know the reasons. Sorry, I know it might not be the correct list to ask such things, but I just use this list as I know there is nice and knowledge full people reading here, that I'm registered and that I read all message of this list, and finally that I'm sure someone will be able to point me to the right people, and hopefully have a correction of this problem uploaded. Thomas Goirand -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: backports.org became really shitty for php5-mysql and mysql-server-5.0
On Sun, 18 Mar 2007 03:20:59 +0800, Thomas Goirand wrote: I know how to fix, you simply have to recompile php5 using the backports.org sources Hm, it might be easier to reset your mysql users' passwords with the OLD_PASSWORD function, as described at http://dev.mysql.com/doc/refman/5.1/en/password-hashing.html. -- Sam Morris http://robots.org.uk/ PGP key id 1024D/5EA01078 3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: backports.org became really shitty for php5-mysql and mysql-server-5.0
On Sun, Mar 18, 2007 at 03:20:59AM +0800, Thomas Goirand wrote: I want to cry about this issue... Few weeks ago, it was possible to setup php5, mysql5 and apache2 in sarge using the backports. But seems few weeks (maybe 1 week ?), if you do setup php5-mysql and mysql-server-5 from the backports, then BOOM, it's impossible for any php-mysql enabled application to authenticate. I know how to fix, you simply have to recompile php5 using the backports.org sources, but that's not the issue. I had a big bunch of user of our control panel complaining about it, and most of it thought it was the fault of our app, when it is really a backports.org issue. well, what did you expect? if you're using backports.org, you may as well be using unstable. in fact, you're better off with unstable because there are more people using it, so it is better tested. with backports.org, you can be pretty sure that NOBODY else is using your exact combination of libraries and other packagesso you may be the ONLY person to ever encounter a particular bug. IMO, backports.org is just a second-rate way of running 'unstable' for people who are scared by the name 'unstable'. (and 'testing' is a way of running 'unstable' with a long delay for any urgent fixes. although at least it also serves the useful purpose of testing the next release so it's a good thing that some people use it) craig -- craig sanders [EMAIL PROTECTED] BOFH excuse #160: non-redundant fan failure -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: backports.org became really shitty for php5-mysql and mysql-server-5.0
On Sun, Mar 18, 2007 at 08:11:15AM +1100, Craig Sanders wrote: well, what did you expect? if you're using backports.org, you may as well be using unstable. That's not quite true. You may as well be using unstable for the packages you are pulling from backports. in fact, you're better off with unstable because there are more people using it, so it is better tested. with backports.org, you can be pretty sure that NOBODY else is using your exact combination of libraries and other packagesso you may be the ONLY person to ever encounter a particular bug. Really? So, he's better off with unstable so that he can potentially be the first user to find it there instead of in backports? So that he can also be potentially bitten by any number of bugs which invariably hit unstable first? IMO, backports.org is just a second-rate way of running 'unstable' for people who are scared by the name 'unstable'. (and 'testing' is a way of running 'unstable' with a long delay for any urgent fixes. although at least it also serves the useful purpose of testing the next release so it's a good thing that some people use it) If an orphaned package is the subject of a security advisory, who fixes it? In stable, it is the security team. In unstable, there is no obligation for anybody to provide security support. Someone on the security team or the QA team may be nice enough to do a QA upload of the new version of the package (as many upstream developers release security fixes by releasing whole new versions), but nobody is obligated to do that. Regards, -Roberto -- Roberto C. Sanchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: RFS: isomaster
David Johnson [EMAIL PROTECTED] writes: Hmm, I'm sure I had some good reason for renaming them, but I can't see a reason for it now. I do however have to rename upstream's CHANGELOG.TXT to changelog in order to satisfy lintian - is there some better way to do this rather than just renaming it? Symbolic link perhaps? You don't have to rename it to satisfy lintian. You have to install it as changelog. The name under which it's installed doesn't need to match the name as it appears in the source package. In particular, in this case, I bet you're looking for dh_installchangelogs and specifically for passing CHANGELOG.TXT as an argument to it. (This assumes you're using debhelper; if not, you'll need to do it another way.) -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: isomaster
On Saturday 17 March 2007 23:55, Russ Allbery wrote: In particular, in this case, I bet you're looking for dh_installchangelogs and specifically for passing CHANGELOG.TXT as an argument to it. (This assumes you're using debhelper; if not, you'll need to do it another way.) Yep, that was what I needed :-) Thanks, David. -- David Johnson www.david-web.co.uk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Claiming a binary name used in Sarge but not in Etch.
Le Sat, Mar 17, 2007 at 01:02:46PM -0400, Justin Pryzby a écrit : On Sat, Mar 17, 2007 at 08:12:47PM +0900, Charles Plessy wrote: Le Sat, Mar 17, 2007 at 12:00:20PM +0100, Florent Rougon a écrit : Charles Plessy [EMAIL PROTECTED] wrote: #!/bin/sh echo -e AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future. exec /usr/bin/amap $@ 'echo -e' is not specified by POSIX. If you want to use escapes such as \n, you'd better use printf instead of echo. Thanks a lot, I will use one echo per line. set -e { echo first line echo second line } 2 Oh, this is something I did not think about. But what is the set -e doing? Have a nice day, -- Charles -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Claiming a binary name used in Sarge but not in Etch.
On Sun, Mar 18, 2007 at 09:50:16AM +0900, Charles Plessy wrote: Oh, this is something I did not think about. But what is the set -e doing? Every script you write should include set -e at the top. This tells bash that it should exit the script if any statement returns a non-true return value. [0] Regards, -Roberto [0] http://www.davidpashley.com/articles/writing-robust-shell-scripts.html -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature
Re: RFS: chatplus
[snip] On Sat, Mar 17, 2007 at 05:15:18PM +0100, Thomas Jollans wrote: mentors.debian.org says that the package is lintian clean, my local lintian disagrees in points which are, IMHO, ignoreable (non-executable scripts in /usr/lib/chatplus which have wrappers in /usr/bin, one icon in /usr/lib/chatplus) W: chatplus: image-file-in-usr-lib usr/lib/chatplus/pixmaps/icon.png N: N: This package installs a pixmap or a bitmap within /usr/lib. According N: to the Filesystem Hierarchy Standard, architecture-independent files N: need to be placed within /usr/share instead. AFAICT. an icon in /usr/lib is against the File System Hierarchy. I'm not sure how the non-executable scripts should be handled but I guess they should get the executable bit set. -- GNU/Linux registered user #224950 Proud Egyptian GNU/Linux User Group www.eglug.org Member. Life powered by Debian, Homepage: www.foolab.org -- Don't send me any attachment in Micro$oft (.DOC, .PPT) format please Read http://www.gnu.org/philosophy/no-word-attachments.html Preferable attachments: .PDF, .HTML, .TXT Thanx for adding this text to Your signature signature.asc Description: Digital signature
Re: Claiming a binary name used in Sarge but not in Etch.
On Sun, Mar 18, 2007 at 09:50:16AM +0900, Charles Plessy wrote: Le Sat, Mar 17, 2007 at 01:02:46PM -0400, Justin Pryzby a écrit : On Sat, Mar 17, 2007 at 08:12:47PM +0900, Charles Plessy wrote: Le Sat, Mar 17, 2007 at 12:00:20PM +0100, Florent Rougon a écrit : Charles Plessy [EMAIL PROTECTED] wrote: #!/bin/sh echo -e AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future. exec /usr/bin/amap $@ 'echo -e' is not specified by POSIX. If you want to use escapes such as \n, you'd better use printf instead of echo. Thanks a lot, I will use one echo per line. set -e { echo first line echo second line } 2 Oh, this is something I did not think about. But what is the set -e doing? It's essentially required for all scripts to be able to detect errors. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]