Re: file permission
Oops, I thought I sent this about 12 hours ago.. On Fri, Mar 18, 2005 at 02:03:09PM +0200, Charles Majola wrote: > martin f krafft wrote: > > >also sprach Charles Majola <[EMAIL PROTECTED]> [2005.03.18.1202 +0100]: > > > > > >>how does dephelper handle file permissions? issit or to have a > >>file with +x by defaut before building. or must it be changed > >>during or after installation/configuration? Permissions *may* be stored in the upstream tarball, in which case they are preserved. (Execute permission, for example). But permissions are not stored in the .diff.gz (they cannot be; its just a .diff). ./debian/rules is chmod +x; any other scripts which are run at compile-time must be called as "sh script" or chmod +x before running them (unless they are already executable in the upstream tarball). > >man dh_fixperms > > > >anything else must be done manually. permissions are preserved as > >installed into debian/ > > > man dh_fixperms : doesn't say anything about files in /etc/dev.d/block/*; > postinst is not a good way issit ? You should make the maintainer scripts as simple as possible. If the files need to be owned by someone other than root, then you should chmod them at compile time (as part of the the "install" rule), if possible. If you need to add a user, though, then it is necessary to do so in postinst, and THEN you can chmod /etc/dev.d/block/*. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: klibido - usenet binary grabber for KDE
On Fri, Mar 18, 2005 at 06:50:52PM +0100, Gon?ri Le Bouder wrote: > Hello Mentors, > > Klibido[1] is a usenet binary grabber written in c++ by Alessandro > "bauno" Bonometti . > Sounds good, I'll take a look at it for you. Regards, Neil McGovern -- A. Because it breaks the logical sequence of discussion Q. Why is top posting bad? gpg key - http://www.halon.org.uk/pubkey.txt ; the.earth.li B345BDD3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
klibido - usenet binary grabber for KDE
Hello Mentors, Klibido[1] is a usenet binary grabber written in c++ by Alessandro "bauno" Bonometti . I packaged it and would like to maintain it for Debian. The package is lintian valid and respects the Debian Policy, except for this warning caused by CVS directory in upstream package (The author is aware ). W: klibido source: source-contains-CVS-dir admin/CVS You can grab the package sources/binaries using my repository: deb http://orniere-du-globe.net/debian ./ deb-src http://orniere-du-globe.net/debian ./ I know the upstream author and have contributed to upstream sources and i helped in fixing a bug in the 0.2.2.1 release. Thank you in advance. Best regards. Gonéri Le Bouder 1: http://klibido.sf.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Including object (.o) files in a package - linda errors
Hi list, I am packaging mn_fit (source package is named mn-fit; currently stuck in NEW). Upstream tells me that the capability exists for users to create a customized version of mn_fit by linking their own Fortran source code with mn_fit static libraries and the mn_fit main object file, mn_main_k.o. So I am creating a new mn-fit-dev binary package to contain these libraries, etc. (Thus, users who don't need to customize mn_fit can just install the mn-fit binary package, without the additional 3 Mb of static libs in mn-fit-dev.) The problem is that linda really doesn't like the object file: > arcturus[6]:~/Debian/mn-fit% linda -i mn-fit-dev_5.05-1_powerpc.deb > E: mn-fit-dev; Object /usr/lib/mn-fit/obj/programs/mn_main_k.o is not > directly linked against libc. > The binary object shown above is not directly linked against the > required library libc.so.6. > W: mn-fit-dev; Shared binary object /usr/lib/mn-fit/obj/programs/mn_main_k.o > has no dependancy information. > The binary object listed above is a shared object, but does not report > that it depends on any other shared libraries. What can I do about this? I found that linda gives the same complaints about libcrt1.o (and other object files) in the libc6-dev package. (Lintian doesn't care.) Should I just add linda overrides to ignore the error and warning? thanks in advance, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG public key ID: 4F83C751 Princeton, NJ 08544 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: file permission
also sprach Charles Majola <[EMAIL PROTECTED]> [2005.03.18.1303 +0100]: > man dh_fixperms : doesn't say anything about files in > /etc/dev.d/block/*; postinst is not a good way issit ? The files should be 0644. If the `make install` run does not install them there with proper permissions, or you use debian/rules to install them, then use debian/rules to set the permissions. Do not use postinst unless you want to give the user a choice over the permissions. Then, you would use dpkg-statoverride. -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! "i wish there was a knob on the tv to turn up the intelligence. there's a knob called 'brightness', but it doesn't seem to work." -- gallagher signature.asc Description: Digital signature
Re: file permission
martin f krafft wrote: also sprach Charles Majola <[EMAIL PROTECTED]> [2005.03.18.1202 +0100]: how does dephelper handle file permissions? issit or to have a file with +x by defaut before building. or must it be changed during or after installation/configuration? man dh_fixperms anything else must be done manually. permissions are preserved as installed into debian/ man dh_fixperms : doesn't say anything about files in /etc/dev.d/block/*; postinst is not a good way issit ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: file permission
also sprach Charles Majola <[EMAIL PROTECTED]> [2005.03.18.1202 +0100]: > how does dephelper handle file permissions? issit or to have a file with > +x by defaut before building. > or must it be changed during or after installation/configuration? man dh_fixperms anything else must be done manually. permissions are preserved as installed into debian/ -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! "i have made good judgments in the past. i have made good judgments in the future." - george w. bush signature.asc Description: Digital signature
file permission
Hi, how does dephelper handle file permissions? issit or to have a file with +x by defaut before building. or must it be changed during or after installation/configuration? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Source code extracted to current directory
also sprach Nelson A. de Oliveira <[EMAIL PROTECTED]> [2005.03.17.2102 +0100]: > But how do I create the debian/ directory, if dh_make fails on that > situation? mkdir - cd - tar xfz ../.tar.gz dh_make -f ../.tar.gz ... -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! signature.asc Description: Digital signature
Building packages using tar and ar (was: About control files)
Hello! On Thu, Mar 17, 2005 at 06:05:14PM +0100, Frank Küster wrote: > [...] > ... if you use dh_gencontrol(1), or invoke dpkg-gencontrol manually. Of > course a package can also be created along > > mkdir tmp > cp whatnot/ tmp/ > mkdir tmp/DEBIAN > cat >tmp/DEBIAN/control > type whatever you like > Ctrl-D > dpkg-deb -b tmp > > (you can even use tar and ar instead of dpkg-deb) ^^ BSD ar, and not GNU ar as shipped by Debian, that is; see #222701 and #161593 for details, AFAIK the problems mentioned there still apply. Cheers, Flo signature.asc Description: Digital signature