[Pkg-systemd-maintainers] Small patch to enable the journal's gatewayd
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Thu Jan 23 23:47:39 GMT 2014
On Thu, Jan 23, 2014 at 11:08:31PM +0100, Alejandro Exojo wrote:
> Hi.
>
> I've been playing with systemd lately because I wanted the fun at home, and
> because at work I needed the features of the journal, and its convenient
> gateway to pull the data from an embedded device.
>
> Unfortunately the systemd-journal-gatewayd was not enabled, but even a noob
> like me was capable of mildly playing with the packaging to make it provide
> it. The attached patch works for me. :-)
>
> I don't know if you prefer a commit in some repo that you can pull from, or
> what's the procedure. Do you want entry in the changelog, or make it wait for
> another release maybe? Maybe you want to provide it in a separate package, so
> the systemd general package doesn't depend on libmicrohttpd...
>
> Tell me whatever you think, so I'll try to learn and help. :)
>
> Thank you.
>
> --
> Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
> http://barnacity.net/ | http://disperso.net
> diff --git a/debian/control b/debian/control
> index 0d63f22..f307d15 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -37,7 +37,8 @@ Build-Depends: debhelper (>= 9),
> libgirepository1.0-dev (>= 1.31.1),
> gobject-introspection (>= 1.31.1),
> python-dev,
> - libglib2.0-doc
> + libglib2.0-doc,
> + libmicrohttpd-dev
>
> Package: systemd
> Architecture: linux-any
> diff --git a/debian/rules b/debian/rules
> index 1566959..a03e221 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -23,7 +23,8 @@ CONFFLAGS = \
> CONFFLAGS_deb = \
> --enable-selinux \
> --enable-introspection \
> - --enable-gtk-doc
> + --enable-gtk-doc \
> + --enable-microhttpd
Patch looks good. You don't need this chunk though: microhttpd parts
will be built if the dependency is found.
Zbyszek
More information about the Pkg-systemd-maintainers
mailing list