Re: Creating deb packages
On 2.5.2004 14:55 hugo vanwoerkom wrote: Hi, There was a good description of this here: http://groups.google.com/groups?q=+%22creating+deb+packages%22+group:linux.debian.userhl=enlr=ie=UTF-8oe=UTF-8scoring=dselm=19990207111807.A13858%40glitch.snoozer.netrnum=1 That is completely outdated. Is there a recent description of how non-developers can create their own deb packages? Hugo It's just yesterday that I created my first Debian package by following this guide. It didn't seem outdated to me. -- Andrei -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Creating deb packages
Hi, There was a good description of this here: http://groups.google.com/groups?q=+%22creating+deb+packages%22+group:linux.debian.userhl=enlr=ie=UTF-8oe=UTF-8scoring=dselm=19990207111807.A13858%40glitch.snoozer.netrnum=1 That is completely outdated. Is there a recent description of how non-developers can create their own deb packages? Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Creating deb packages
On Sun, May 02, 2004 at 07:55:41AM -0500, hugo vanwoerkom wrote: There was a good description of this here: http://groups.google.com/groups?q=+%22creating+deb+packages%22+group:linux.debian.userhl=enlr=ie=UTF-8oe=UTF-8scoring=dselm=19990207111807.A13858%40glitch.snoozer.netrnum=1 That is completely outdated. What's outdated about it? It might not have been updated in a while, but that's not quite the same thing. As far as I know, the advice it gives is still good. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Creating Deb Packages
Could someone help me out with creating deb packages? I can't seem to find the procedure anywhere. . . Thanks! --- Sean Mason
Re: Creating Deb Packages
Take a look at the Debian New Maintainers Guide, which is available at http://www.debian.org/doc/maint-guide/. On Sun, Feb 07, 1999 at 10:33:20AM -0600, Sean P. Mason wrote: Could someone help me out with creating deb packages? I can't seem to find the procedure anywhere. . .
Re: Creating deb packages
Algirdas Could someone please mail me a complete step-by-step instruction Algirdas on creating deb packages? Vadik Please post it to the list, New version of dpkg ( 1.4.0) or dpkg-dev (= 1.4.0) come with two html'ed manuals in /usr/doc/dpkg/{programmer,policy}.html/ that pretty much cover it all. -- Dirk Eddelbuttel http://qed.econ.queensu.ca/~edd
Re: Creating deb packages
-BEGIN PGP SIGNED MESSAGE- On Thu, 12 Sep 1996, Algirdas Kunigelis wrote: algikun algikunCould someone please mail me a complete step-by-step instruction on creating algikundeb packages? The manual page is somewhat outdated... I actually figured out algikunhow to do it simply using tar, gzip and ar (couldn't figure dpkg out), algikunbut how do I make dpkg run some post-install shell script after unpacking it? algikunThanks. if smbd have a better man/doc/howto then the one in /usr/doc , plz Cc: [EMAIL PROTECTED] thks alot borik ___ Boris Beletsky [EMAIL PROTECTED] For pgp public key, e-mail me with subject get pgp-key. ___ In Linux veritas -BEGIN PGP SIGNATURE- Version: 2.6.3ia+ Charset: latin1 Comment: Boris Beletsky [EMAIL PROTECTED] iQCVAwUBMjimmQz8DjY6pgpxAQECZAP/Zolx0RFqYNC86l2kycaB2Yali30thMVc itGFqXNKiNUF2pNUXZ9WGZ0Cw99zJR9wjTkGN3dJ/kU4SZ8qTsMi3qY/gWQrK+Ws wZHant1FHboi9seGJa01ZcreviHM72QweV/cvGLx7Icj6yk+5bmjY+8x18D/aWIn 35OXLVpKkMM= =BDRk -END PGP SIGNATURE-
Re: Creating deb packages
Could someone please mail me a complete step-by-step instruction on creating deb packages? The manual page is somewhat outdated... I actually figured out how to do it simply using tar, gzip and ar (couldn't figure dpkg out), but how do I make dpkg run some post-install shell script after unpacking it? Thanks. You also might be able to find this information using the new index of the Debian web site. Go to http://insite.verisim.com/search/debian/advanced and try the following query: build* debian package* I'm sure other queries will find similar information. (The stars (*), by the way, are globbing characters and will match any suffix of those words.) Brian ( [EMAIL PROTECTED] ) --- In theory, theory and practice are the same. In practice, they're not.
Re: Creating deb packages
-BEGIN PGP SIGNED MESSAGE- On Thu, 12 Sep 1996, Brian C. White wrote: bcwhite Could someone please mail me a complete step-by-step instruction on creating bcwhite deb packages? The manual page is somewhat outdated... I actually figured out bcwhite how to do it simply using tar, gzip and ar (couldn't figure dpkg out), bcwhite but how do I make dpkg run some post-install shell script after unpacking it? bcwhite Thanks. bcwhite bcwhiteThe best way I found was to grab an existing package (hello is a good one) bcwhiteand learn how it does it. i tryed to trace it via ps but with not much luck the only thing i got from it is a general idea (gzip :) Regards borik ___ Boris Beletsky [EMAIL PROTECTED] For pgp public key, e-mail me with subject get pgp-key. ___ In Linux veritas -BEGIN PGP SIGNATURE- Version: 2.6.3ia+ Charset: latin1 Comment: Boris Beletsky [EMAIL PROTECTED] iQCVAwUBMjinwQz8DjY6pgpxAQGH4QP9GfUUO0rKkBmO6nJCEQkplUb9x+aaY15s vrdeO1vqvY38l6OO2cfRWR/KCI5Y6zDOJckmzJAPV1UpgHAA3z4l7CN9R63AsPPY z2pqLxkmNn9wYQSCqdKGPttmCvxj1sIkxXkVdD0GiROM9LOcwBghcvrQQtr1/aq2 ESo40xvYcvs= =CXol -END PGP SIGNATURE-
Re: Creating deb packages
bcwhite Could someone please mail me a complete step-by-step instruction on creating bcwhite deb packages? The manual page is somewhat outdated... I actually figured out bcwhite how to do it simply using tar, gzip and ar (couldn't figure dpkg out), bcwhite but how do I make dpkg run some post-install shell script after unpacking it? bcwhite Thanks. bcwhite bcwhiteThe best way I found was to grab an existing package (hello is a good one) bcwhiteand learn how it does it. i tryed to trace it via ps but with not much luck the only thing i got from it is a general idea (gzip :) You don't want to trace it. If you read the debian.rules (or debian/rules) file, you'll see how a package is built. Basically, you create a directory (debian-tmp) and create a directory structure just like that of the debian system and place your files in there. One call to dpkg will then create a package for you from that directory structure. Brian ( [EMAIL PROTECTED] ) --- In theory, theory and practice are the same. In practice, they're not.
Re: Creating deb packages
-BEGIN PGP SIGNED MESSAGE- On Thu, 12 Sep 1996, Brian C. White wrote: bcwhiteYou don't want to trace it. If you read the debian.rules (or debian/rules) bcwhitefile, you'll see how a package is built. Basically, you create a directory bcwhite(debian-tmp) and create a directory structure just like that of the debian bcwhitesystem and place your files in there. One call to dpkg will then create bcwhitea package for you from that directory structure. one call to dpkg ? i am sorry , but i don't understand what u mean prob the answer to my q is RTFM so plz flame me about it :-) borik ___ Boris Beletsky [EMAIL PROTECTED] For pgp public key, e-mail me with subject get pgp-key. ___ In Linux veritas -BEGIN PGP SIGNATURE- Version: 2.6.3ia+ Charset: latin1 Comment: Boris Beletsky [EMAIL PROTECTED] iQCVAwUBMji8Rgz8DjY6pgpxAQFUrQP/QhW7hi8pzuMEvA0ArhIMeDyayxMHYoEo vj6+igV9F20beymRSjkqIIXzINHRyYf9ZN2LBk+WzqcLqV9X3oB3Ki2u1lvmwk0m f/dSnum/Oe6XSHaz+tklFg1MgAyOFuHX0CJmZE+e83/YQ51S3N1SEFABJ0982UNO IBh+/fqUKdM= =ISP5 -END PGP SIGNATURE-
Re: Creating deb packages
bcwhiteYou don't want to trace it. If you read the debian.rules (or debian/rules) bcwhitefile, you'll see how a package is built. Basically, you create a directory bcwhite(debian-tmp) and create a directory structure just like that of the debian bcwhitesystem and place your files in there. One call to dpkg will then create bcwhitea package for you from that directory structure. one call to dpkg ? i am sorry , but i don't understand what u mean prob the answer to my q is RTFM so plz flame me about it :-) I think it's pretty obvious if you read the debian/rules file. Here is an example: binary: build -rm -rf debian-tmp mkdir -p debian-tmp debian-tmp/DEBIAN debian-tmp/usr/doc/$(package)/Examples dpkg-gencontrol -is -ip debian-tmp/DEBIAN/control make install PREFIX=debian-tmp/usr cp debian/README debian-tmp/usr/doc/$(package)/Copyright cat COPYING debian-tmp/usr/doc/$(package)/Copyright cp examples/* debian-tmp/usr/doc/$(package)/Examples find debian-tmp \( -name #* -o -name *~ \) -print | xargs rm -f chown -R root.root debian-tmp chmod -R go=rX debian-tmp dpkg --build debian-tmp dpkg-name -o -s .. debian-tmp.deb Note how it creates a directory structure and then call dpkg --build to make a debian package out of that directory structure. The call to dpkg-name then gives it the proper name. Brian ( [EMAIL PROTECTED] ) --- In theory, theory and practice are the same. In practice, they're not.
Re: Creating deb packages
The documentation on how to make a Debian package is in the package ftp://ftp.debian.org/debian/unstable/binary-i386/base/dpkg_1.3.14.deb . (The package version number will soon change, and the package may split into base/dpkg* and devel/dpkg-dev* in the near future.) Install that package, and then you will find the directories: /usr/doc/dpkg/programmer.html /usr/doc/dpkg/policy.html These contain HTML documents for the Debian Programmer's Manual, and the Debian Policy Manual. Read them with any web browser. There is also a prototype hello world package that you should use as a skeleton for your own package. You can find that in the three files: ftp://ftp.debian.org/debian/unstable/source/misc/hello_1.3-12.dsc ftp://ftp.debian.org/debian/unstable/source/misc/hello_1.3.orig.tar.gz ftp://ftp.debian.org/debian/unstable/source/misc/hello_1.3-12.diff.gz Put those in a directory and run dpkg-source -x hello_1.3-12.dsc. That will extract the tar and create the directories hello_1.3 and hello_1.3.orig, and will use patch to apply the diff to the files in hello_1.3. With those two manuals and the hello package source, you will have everything you need to build a Debian package. I think you'll find it quite easy. If you are not running Debian and just want to look at the manuals, you can get the file ftp://ftp.debian.org/debian/project/experimental/dpkg_1.3.14_i386.nondebbin.tar.gz . That is a gzipped tar file containing all of the files of the dpkg package for installation on non-Debian systems. Thanks Bruce
Re: Creating deb packages
On Thu, 12 Sep 1996, Bruce Perens wrote: The documentation on how to make a Debian package is in the package ftp://ftp.debian.org/debian/unstable/binary-i386/base/dpkg_1.3.14.deb . The documentation is also available in ps and html in ftp://ftp.debian.org/debian/doc/package-developer/{policy,programmer}.{html.tar,ps}.gz Guy
Creating deb packages
Could someone please mail me a complete step-by-step instruction on creating deb packages? The manual page is somewhat outdated... I actually figured out how to do it simply using tar, gzip and ar (couldn't figure dpkg out), but how do I make dpkg run some post-install shell script after unpacking it? Thanks. AK
Re: Creating deb packages
On Thu, 12 Sep 1996, Algirdas Kunigelis wrote: Could someone please mail me a complete step-by-step instruction on creating deb packages? The manual page is somewhat outdated... I actually figured out how to do it simply using tar, gzip and ar (couldn't figure dpkg out), but how do I make dpkg run some post-install shell script after unpacking it? Thanks. Please post it to the list, there are several people (like me) that wanna hear about it too. MANY thanks in advance, Vad. ++_ Vadik V. (_`[EMAIL PROTECTED] http://www.arbornet.org/~vadik/ Vygonets (_.lf For PGP public key, email me with sibject get pgp Linux hackers are funny people: They count the time in patchlevels.
Re: Creating deb packages
Could someone please mail me a complete step-by-step instruction on creating deb packages? The manual page is somewhat outdated... I actually figured out how to do it simply using tar, gzip and ar (couldn't figure dpkg out), but how do I make dpkg run some post-install shell script after unpacking it? Thanks. The best way I found was to grab an existing package (hello is a good one) and learn how it does it. Brian ( [EMAIL PROTECTED] ) --- In theory, theory and practice are the same. In practice, they're not.
Re: Creating deb packages
On Thu, 12 Sep 1996, Algirdas Kunigelis wrote: Could someone please mail me a complete step-by-step instruction on creating deb packages? The manual page is somewhat outdated... I actually figured out how to do it simply using tar, gzip and ar (couldn't figure dpkg out), but how do I make dpkg run some post-install shell script after unpacking it? Thanks. Whatever you have gotten from the man page has recently been heavily changed by the new source format. You will find the latest versions of dpkg and dpkg-dev appearing shortly in the rex path (they were in Incoming this morning) but a recent version (1.3.14 should be on the faster mirrors) will have the information you require. You should look at Policy.html and Programmer.html in /usr/doc/dpkg. In any case you should be using dpkg to build your packages with as it will put everything in the correct place in the file for proper unpacking and installation. Luck, Dwarf -- aka Dale Scheetz Phone: 1 (904) 877-0257 Flexible Software Fax: NONE Black Creek Critters e-mail: [EMAIL PROTECTED] If you don't see what you want, just ask --