You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Benjamin Staffin (JIRA)" <ji...@apache.org> on 2015/07/10 20:02:04 UTC

[jira] [Comment Edited] (AURORA-951) Debian packaging for Aurora

    [ https://issues.apache.org/jira/browse/AURORA-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14622664#comment-14622664 ] 

Benjamin Staffin edited comment on AURORA-951 at 7/10/15 6:01 PM:
------------------------------------------------------------------

It looks like the debian/ directory just got moved to build-support/packaging/debian/, so first you'll have to copy (or maybe symlink) that back to the top of the repo.  From there it should act like a normal debian source package, for the most part, so the README I wrote for my initial version still applies: https://github.com/benley/aurora/blob/debian/trusty/README.md

Basically you want to run dpkg-buildpackage in a clean copy of the source, on a system with the build dependencies satisfied.  It's usually best to that on the same distro where you intend to use the packages.  All the fancy tools like pbuilder, cowbuilder, and git-buildpackage automate that stuff with chroots and cleverness.

The gradle-2.5 deb is something you can easily build using https://github.com/benley/gradle-packaging after setting {{VERSION=2.5}} in [gradle-mkdeb.sh|https://github.com/benley/gradle-packaging/blob/master/gradle-mkdeb.sh]. I'm not sure why I didn't just put all that in the makefile, but at least it's simple.


was (Author: benley):
It looks like the debian/ directory just got moved to build-support/packaging/debian/, so first you'll have to copy (or maybe symlink) that back to the top of the repo.  From there it should act like a normal debian source package, for the most part, so the README I wrote for my initial version still applies: https://github.com/benley/aurora/blob/debian/trusty/README.md

Basically you want to run dpkg-buildpackage in a clean copy of the source, on a system with the build dependencies satisfied.  It's usually best to that on the same distro where you intend to use the packages.  All the fancy tools like pbuilder, cowbuilder, and git-buildpackage automate that stuff with chroots and cleverness.

The gradle-2.5 deb is something you can easily build using https://github.com/benley/gradle-packaging after setting VERSION=2.5 in {{gradle-mkdeb.sh}}. I'm not sure why I didn't just put all that in the makefile, but at least it's simple.

> Debian packaging for Aurora
> ---------------------------
>
>                 Key: AURORA-951
>                 URL: https://issues.apache.org/jira/browse/AURORA-951
>             Project: Aurora
>          Issue Type: Task
>          Components: Deploy
>    Affects Versions: 0.6.0
>            Reporter: Benjamin Staffin
>            Assignee: Benjamin Staffin
>             Fix For: 0.9.0
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> It would be very nice to have prebuilt and easily rebuildable .deb packages for Aurora for recent releases of Debian and Ubuntu.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)