[Pkg-puppet-devel] facter's dependence on gem2deb

Stig Sandbeck Mathisen ssm at fnord.no
Sat Jul 9 21:36:26 UTC 2011


On 8. juli 2011, at 16.33, David N. Blank-Edelman wrote:

> Hi Packaging People-
> 
> I'm in the process of trying to create facter .deb packages from the Debian git repository via git-buildpackage because the official Ubuntu LTS (Lucid) versions available are quite far behind from the mainline Puppet Labs releases. I'm fairly new to this process so I apologize in advance if the following question is highly naive or blatantly obvious.
> 
> One of the things that makes this task "interesting" is the control file declares a dependency on gem2deb:
> 
> Build-Depends: debhelper (>= 8), gem2deb (>= 0.2.4~)
> 
> This is tricky for my purposes because gem2deb doesn't officially hit the Ubuntu universe until three releases after the LTS one (first appears in Ocelot). I'm wondering if someone on the packaging team would be willing to explain why this dependency was declared?
> 
> I can probably hack gem2deb into place to build the package, but I'm trying to cut down on the number of yaks I'm shaving. Thanks for any info you can provide!
> 
>   -- dNb
> 
> P.S. As a related aside, the other interesting dependency is on ruby-json, which also doesn't hit Ubuntu until Ocelot. Still working on that one because there are some circular dependency issues going on when I try to bludgeon things into place.

It was repackaged with an entirely new build system to support both ruby 1.8 and ruby 1.9 for the next Debian release.  The packages and methods are described in http://wiki.debian.org/Teams/Ruby/RubyInWheezy

It is not much work to backport if you use git-buildpackage, you can take the new upstream, and merge the old packaging, just increasing the version number in a final commit.  If you need more detailed instructions, feel free to ask. (Or you can wait a bit, since we probably need to that ourselves as well.  The Ubuntu and Debian packages come from the same repository. :)

-- 
Stig.




More information about the Pkg-puppet-devel mailing list