From 4f4e7f18afd2028bc43b7c3cdc3ddde3ea6dc256 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 11 Jun 2022 15:52:51 +0800 Subject: [PATCH] zsh: enable libcap and gdbm They are already in LFS so there is no significant reason not to use them. Using gdbm may cause license issue but AFAIK as long as we don't edit gdbm or zsh code in a hidden way we'll not violate the license. And zsh does not use pam_cap (or any PAM module) at all. Perhaps we should perform a cleanup on pam_cap dependencies. --- postlfs/shells/zsh.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/postlfs/shells/zsh.xml b/postlfs/shells/zsh.xml index bdb9af84b8..e359523207 100644 --- a/postlfs/shells/zsh.xml +++ b/postlfs/shells/zsh.xml @@ -107,8 +107,7 @@ Optional - , - , and + and @@ -140,9 +139,11 @@ commands: -./configure --prefix=/usr \ - --sysconfdir=/etc/zsh \ - --enable-etcdir=/etc/zsh && +./configure --prefix=/usr \ + --sysconfdir=/etc/zsh \ + --enable-etcdir=/etc/zsh \ + --enable-cap \ + --enable-gdbm && make && makeinfo Doc/zsh.texi --plaintext -o Doc/zsh.txt && @@ -206,12 +207,12 @@ install -v -m644 Doc/zsh.dvi /usr/share/doc/zsh-&zsh-version; - : This option enables + --enable-cap: This option enables POSIX capabilities. - : This option disables the + --enable-gdbm: This option enables the use of the GDBM library.