]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Remove libsystemd dependency from main httpd binary
authorJoe Orton <jorton@apache.org>
Tue, 12 Apr 2022 15:43:04 +0000 (15:43 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 12 Apr 2022 15:43:04 +0000 (15:43 +0000)
commitdb0631ed09566c81d651b4a51401ea0d61b1e986
treea4bba0ba7e30cbf3a9de152c861db20637d25445
parent4c8b180828d8c39daa7529c659cce5768feb87af
Remove libsystemd dependency from main httpd binary

Until this change httpd was linking libsystemd to the main httpd binary. If you want to run lightweight version of httpd in container, sometimes you just want to install
httpd binary with as little dependencies as possible to make container small in size and do not pull uncencessary dependencies and libraries.

This change will move all systemd library calls from listen.c to mod_systemd module and remove systemd linking from the main httpd bin.
Fixed mixed declaration and wrongly declared variable.

Submitted by: Luboš Uhliarik <luhliari redhat.com>

Github: closes #312

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899784 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
acinclude.m4
include/ap_listen.h
modules/arch/unix/mod_systemd.c
server/listen.c