I was given this advice from Arthur, a Debian developer, but I can't
find some of the finer details I'm looking for:
<a href="https://www.debian.org/doc/manuals/developers-reference/" style="">https://www.debian.org/doc/manuals/developers-reference/</a> (particularly<br>chapters 5 and 6). If you want to look at more of the background there<br>is the policy document,see <a href="https://www.debian.org/doc/debian-policy/" style="">https://www.debian.org/doc/debian-policy/</a><br><br>There are a lot of tools for efficiently building Debian packages. If<br>you want to test your builds in a more controlled
<div dir="auto"><br></div><div dir="auto">Just look at official packages? I've read </div><div dir="auto"><br></div><div dir="auto">This is for:</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/SentryPeer/SentryPeer">https://github.com/SentryPeer/SentryPeer</a></div><div dir="auto"><br></div><div dir="auto">and I've started here:</div><div dir="auto"><br></div><div dir="auto"><a href="https://github.com/SentryPeer/SentryPeer/tree/debian-packaging/debian">https://
Le 2021-12-28 à 19 h 14, Gavin Henry a écrit :
I was given this advice from Arthur, a Debian developer, but I can't
find some of the finer details I'm looking for:
In addition to the developer reference and the other documentation, you
can get some inspiration from packages with a postinst script ,where
users and services are created, such as dnsmasq [1] or bind9 [2].
To create sqlite3 databases, you will need dbconfig-comon [3].
/Nicolas
[1] https://salsa.debian.org/debian/dnsmasq/-/tree/master/debian
[2] https://salsa.debian.org/dns-team/bind9/-/tree/debian/main/debian
[3] https://www.debian.org/doc/manuals/dbconfig-common/ch-develguide.html
[...]
Is it best practice to have:
1. debian folder in your main repo
2. debian folder branch in main repo
3. Separate repo for this
What's this for, when it looks like this was written manually? Google
shows nothing:
https://salsa.debian.org/dns-team/bind9/-/blob/debian/main/debian/bind9.postinst#L35
#DEBHELPER#
#DEBHELPER#
One of the first google hits:
https://manpages.debian.org/bullseye/debhelper/debhelper.7.en.html
</div><div dir="auto">Thanks. I see it now. With quotes "#DEBHELPER#" didn't show up, but:</div><div dir="auto"><br></div><div dir="auto"><h2>Automatic generation of Debian install scripts</h2><p>Some debhelper commands will automatically generate parts of
Is it best practice to have:
1. debian folder in your main repo
2. debian folder branch in main repo
3. Separate repo for this
A separate repo hosted on salsa.debian.org.
Thanks. That's for an official package, or?
On Wed, Dec 29, 2021 at 2:03 PM Gavin Henry <ghenry@sentrypeer.org> wrote:
Is it best practice to have:
1. debian folder in your main repo
2. debian folder branch in main repo
3. Separate repo for this
A separate repo hosted on salsa.debian.org.
Thanks. That's for an official package, or?
Yes, that's assuming you're pursuing inclusion in Debian. Otherwise alternative 2, a separate branch in your existing repository.
Dear Gavin Henry,
I didn't follow your whole discussion, but if you have time I would highly appreciate if you could put all this information together at a well-findable place (maybe: extend https://wiki.debian.org/UpstreamGuide ?)
Reason:
I'm probably going to search for similar information in the near future =)
Regards
Chris
PS: This is not meant as a demand. Rather a "hint" that the work will pay of at least for one more person. ... I just figured it's very difficult to transport "nice" in letters. Everything sounds so demanding :/
Thanks all for the help and pointers everyone.
I've managed to build SentryPeer ( https://github.com/SentryPeer/SentryPeer/tree/debian-packaging/debian).
I'm just going through debuild now to clean up lintian issues and pbuilder runs for missing depends.
Suprisingly enjoyable and "dh" in the rules file does a ton of work for
you!
I've emailed the VoIP packaging group to see if I can help now that I know some more. I'd like to look after the libosip2 package too as SentryPeer requires it and it looks like it's not been updated in 6 years?
https://salsa.debian.org/pkg-voip-team/libosip2/-/blob/master/ChangeLog
Thanks again everyone.
Gavin.
<div dir="auto"><br></div><div dir="auto">Gavin. </div></div> </blockquote></div></div></div>
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 46:55:41 |
Calls: | 6,648 |
Files: | 12,198 |
Messages: | 5,329,919 |