Building an installable Debian / Ubuntu package from scratch in master.
realrichardsharpe at gmail.com
Tue Jun 21 23:15:52 UTC 2016
On Tue, Jun 21, 2016 at 3:28 PM, Martin Schwenke <martin at meltin.net> wrote:
> On Tue, 21 Jun 2016 14:36:51 -0700, Jeremy Allison <jra at samba.org>
>> So for various reasons (too complex to go into :-) at
>> the Redmond plugfest I'd like to create a Debian .deb
>> package from my current (modified) git master source
>> code tree.
>> Is just plain wrong :-(.
>> I've gotten to the point where I can run
>> dpkg-buildpackage with a tarballs directory
>> containing my gzipped master tarball, but
>> it's trying to find:
>> wtf ? Where is debian getting this version
>> number from ? Why is this shit SO FUCKING
>> HARD on Debian ?
>> Inside packaging/RHEL/ there are scripts...
>> What's the Debian equivalent ?
> debian/ subdirectory.
> The version is probably coming from debian/changelog. To add a new
> version, add a new entry at the top of that file.
> IIRC, some of the other important files are debian/rules and
> Yes, it is completely different to Red Hat... but once you get used to
> it... ;-)
But the real sin is that both of them are completely different to the
Slackware packaging standard!
More information about the samba-technical