:: Re: [DNG] Avoid systemd as build de…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Yevgeny Kosarzhevsky
Datum:  
To: aitor
CC: Dng
Betreff: Re: [DNG] Avoid systemd as build dependency
Hi Aitor,

I've been able to build base package already (3.31) after removing
systemd dependencies with `sed -i '/systemd/d'
packaging/debian/control`.
I've run `make deb` and it's built deb package successfully on beowulf.
The only thing I needed is to manually add init script.

I am wondering what is the proper way of removing systemd dependency
from base source as upstream adds it by some needs. Do you think
making pre-install hook is the best way to do init system checks
instead of running systemd things at a build time? Or is there any
other better way to remove *systemd* from build-deps?


On Sun, 19 Apr 2020 at 21:15, aitor <aitor_czr@???> wrote:
>
> Hi Yevgeny,
>
> On 19/4/20 16:49, Yevgeny Kosarzhevsky via Dng wrote:
>
> Hi community.
>
> could someone point out the proper way of avoiding systemd build dependency?
>
> I find some packages require it at build time.
> https://github.com/libreswan/libreswan/issues/328 for example.
>
> It builds fine without it, however debian maintainers need it for their reasons.
>
> The debian branch is very well done:
>
> https://github.com/libreswan/libreswan/tree/master/packaging/debian
>
> After removing all the stuff related with systemd, my first attempt failed
> because dh_usrlocal must be overridden, i guess (this issue has nothing to do with systemd).
> On the other hand, i added another dependency to debian/control: *libdistro-info-perl*,
> even not being mandatory, in order to avoid a warning when using "gbp dch" for the changelog.
> Give me a couple of hours, and i'll give you a link to the packages.
> I'm under devuan beowulf, and i'm working with the latest release 3.31 instead of the master branch.
>
> Cheers,
>
> Aitor.
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng




--
Regards,
Yevgeny