Results 1 to 2 of 2

Thread: Creating custom .deb packages from source packages

  1. #1
    Join Date
    Jan 2005

    Creating custom .deb packages from source packages


    I am trying to create a custom package of a source bundle. In this specific case it is the current development version of Rsyslog without most of the optional modules (however, that should be irrelevant since this question is more generic). This means heavy customization of the ./configure options.

    As this is a package that will conflict with the Ubuntu built-in Rsyslog package, I want the finished package (when installed) to install itself (with ALL dependencies... there are 2 additional source libraries) under /opt/rsyslog.

    Is there any good tutorials on how to properly package source packages into .deb packages?

  2. #2
    Join Date
    Jun 2013

    Re: Creating custom .deb packages from source packages

    What you could do is something along the lines of:

    ./configure <options> && make && sudo checkinstall

    This would then create a deb package. I've never used this, so I'm not entirely sur how to use it.
    What I did was make the source tree and prepare it myself, to submit to launchpad. I'm not sure if you want to submit to launchpad, but anyhow here's the tutorial I used:

    Hope this helps


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts