From: Christopher McCrory <chrismcc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] apache: pass explicit sbindir
Date: Fri, 2 Mar 2018 10:07:56 -0800 [thread overview]
Message-ID: <20180302180756.14315-2-chrismcc@gmail.com> (raw)
In-Reply-To: <20180302180756.14315-1-chrismcc@gmail.com>
The apache configure script help indicates that the sbindir is
PREFIX/sbin , but it actually uses PREFIX/bin. Most people
probably expect httpd to be located in /usr/sbin/httpd
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
package/apache/apache.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/apache/apache.mk b/package/apache/apache.mk
index e1b1a209cb..4fd5896d59 100644
--- a/package/apache/apache.mk
+++ b/package/apache/apache.mk
@@ -28,7 +28,10 @@ else ifeq ($(BR2_PACKAGE_APACHE_MPM_WORKER),y)
APACHE_MPM = worker
endif
+# Explicitly pass sbindir, because apache configure script defines it
+# to PREFIX/bin, which doesn't make much sense
APACHE_CONF_OPTS = \
+ --sbindir=/usr/sbin \
--sysconfdir=/etc/apache2 \
--with-apr=$(STAGING_DIR)/usr \
--with-apr-util=$(STAGING_DIR)/usr \
--
2.14.3
next prev parent reply other threads:[~2018-03-02 18:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-02 18:07 [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6 Christopher McCrory
2018-03-02 18:07 ` Christopher McCrory [this message]
2018-03-02 18:11 ` [Buildroot] [PATCH 2/2] apache: pass explicit sbindir Christopher McCrory
2018-10-20 22:26 ` Arnout Vandecappelle
2018-04-02 9:42 ` [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6 Thomas Petazzoni
2018-04-08 19:40 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180302180756.14315-2-chrismcc@gmail.com \
--to=chrismcc@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.