Differences between revisions 8 and 9
Revision 8 as of 2010-02-24 01:39:28
Size: 1589
Editor: ?RichardDarst
Comment:
Revision 9 as of 2010-02-24 01:41:55
Size: 1606
Editor: ClintAdams
Comment:
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
   * 3.0: .orig.tar.gz + debian.tar.gz + ...    * 3.0: 1 or more .orig.tar.(gz|bz2) + .debian.tar.(gz|bz2)

Draft outline

If you want to help here, add as much as you think important to this outline. Then, whoever presents it can narrow it down to what they see as practical in the time we have.

  • Binary packages
    • Constructing/unpacking with just ar and tar.
    • dpkg-deb --unpack
    • DEBIAN - metainfo
    • root, containing all files as installed
    • Package files database, no overlaps, dpkg-divert
    • How to build a binary package: make a folder containnig the root and DEBIAN, then dpkg-deb --build
  • Source packages
    • (brief note on package formats, we'll get to this later)
    • Goal here: Make a DEBIAN+root directory, run dpkg-deb --pack on it.
    • debian/rules is a Makefile
    • Interface to building: what the autobuilders/policy require:
      • debian/rules binary (run with fake or real superuser privileges)
      • debian/rules build (run with normal user privileges)
    • Other required files
      • debian/control
      • debian/changelog
      • Not build related: debian/{copyright,readme,news,}
    • Common packaging tools:
      • debhelper
        • Tries to automatically install stuff based on common names
        • Use debian/package.XXX to add extra stuff to install
        • dh vs dh7
        • debian/package.{install, docs, xxx}
        • Adding more stuff to its makefiles
      • cdbs
      • yada
    • Other tools: shlibdeps, ... ... ...
  • Package formats
    • 1.0: .orig.tar.gz + diff to add debian/ directory
    • 3.0: 1 or more .orig.tar.(gz|bz2) + .debian.tar.(gz|bz2)
  • Some archive related stuff?
  • Other useful tools?