ETICS and Debian

Debian package names and formats

The format for the binary file PACKAGE_VERSION-REVISION_PLATFORM.deb

For the binary tarball, if needed the format should be PACKAGE_VERSION-RELEASE_PLATFORM.tar.gz

Old debian package format

In the old package format, we need to provide this files:

  • PACKAGE_VERSION.orig.tar.gz
  • PACKAGE_VERSION-REVISION.diff.gz
  • PACKAGE_VERSION-REVISION.dsc

The orig.tar.gz is a clean copy from upstream, not containing any debian stuff. The diff.gz is a diff file containing any changes needed for debian, mainly the debian directory. The dsc file it's the source control file describing the source package.

The old package format is still referenced from most of the documentation. http://wiki.debian.org/SourcePackage

New Debian package format (Quilt)

For the new format (Quilt) in addition to other changes, we don't need to provide the .diff.gz anymore, and we provide instead a debian.tar.gz

The debian.tar.gz file contains the debian directory only.

http://wiki.debian.org/Projects/DebSrc3.0

New package names according the Packaging policy ():

  • PACKAGE_VERSION-REVISION_PLATFORM.deb - The binary DEB (e.g. sherpa_1.0.0-1_amd64.deb)
  • PACKAGE_VERSION.orig.tar.gz - A tarball containing a checkout from the version control repository. (e.g. sherpa_1.0.0.orig.tar.gz)
  • PACKAGE_VERSION-REVISION.debian.tar.gz - A tarball containing the debian directory (in Debian Source 3.0 format) (e.g. sherpa_1.0.0-1.debian.tar.gz)
  • PACKAGE_VERSION-REVISION.dsc - The control file (e.g. sherpa_1.0.0-1.dsc)
  • PACKAGE_VERSION-RELEASE_PLATFORM.tar.gz - The binary tarball (e.g. sherpa_1.0.0-1_amd64.tar.gz)

Minutes from the meeting EMI Package names and format for Debian

https://indico.cern.ch/conferenceDisplay.py?confId=172077

Here are the conclusions taken after the meeting:

  • A source tarball containing a checkout from the version control repository will be provided to the users. If developers provided their own version of the tarball, this one will be used. This file will be named: PACKAGE-VERSION.tar.gz
  • A Debian source package will be provided to the users. It will contain a copy of PACKAGE-VERSION.tar.gz named PACKAGE-VERSION.orig.tar.gz and two other files: PACKAGE_VERSION-REVISION.debian.tar.gz and PACKAGE_VERSION-REVISION.dsc. This two files will be created by ETICS if they are not provided by the developers.
  • The way to provide the source packages for Debian will be similar as for RPM, leaving the files under a directory.
  • The new debian format (Quilt) will be used.
  • Binary tarballs are required for all platforms and will be named PACKAGE_VERSION-RELEASE_PLATFORM.tar.gz ETICS will provide this from the RPM or DEB packages created.

Documentation needed

1. Building from Your Own Debian Control Files and Sources

Explained in the policies

2. Workaround for VCS and Build Commands in Debian Using "&&"

Mandatory according the Debian rules.

3. How to Launch a Remote and Local mock/pbuilder build with the ETICS Client

In a way similar to what we have done for the SL6Porting wiki page.

ETICS build instructions

TO BE PROVIDED

-- PabloGuerrero - 08-Dec-2011

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2012-03-14 - AndresAbadRodriguez
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback