A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « Linux PAM 64-bit | HOME | SCDoc » |
Name: Linux PAM 32-bit
Summary: The Linux implementation of Pluggable Authentication Modules
License: GPL v2.0 or later or BSD 3-Clause
Version: 1.7.2
URL: https://github.com/linux-pam/linux-pam/releases/download/v1.7.2/Linux-PAM-1.7.2.tar.xz
Average Build Time: 0.2 SBU
Used Install Space: 5.9 MiB
NOTE: This package will need rebuilt after SystemD is installed.
To configure Linux PAM 32-bit for install into the build root, run the following commands:
unset CONFIG_SHELL
unset CFLAGS
unset CXXFLAGS
unset FFLAGS
unset FCFLAGS
unset LDFLAGS
unset PKG_CONFIG_LIBDIR
unset XML_CATALOG_FILES
rm -rf x86_64-pc-linux-gnu && rm -rf i686-pc-linux-gnu
CONFIG_SHELL="${CONFIG_SHELL:-/usr/bin/bash}"; export CONFIG_SHELL
CFLAGS="${CFLAGS:--O2 -g -m32 -march=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}"; export CFLAGS
CXXFLAGS="${CXXFLAGS:--O2 -g -m32 -march=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}"; export CXXFLAGS
FFLAGS="${FFLAGS:--O2 -g -m32 -march=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables }"; export FFLAGS
FCFLAGS="${FCFLAGS:--O2 -g -m32 -march=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables }"; export FCFLAGS
LDFLAGS="${LDFLAGS:-}"; export LDFLAGS
PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig; export PKG_CONFIG_LIBDIR
XML_CATALOG_FILES=/etc/xml/catalog; export XML_CATALOG_FILES
/usr/bin/meson setup \
--buildtype=plain \
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--includedir=/usr/include \
--datadir=/usr/share \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localedir=/usr/share/locale \
--sysconfdir=/etc \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--wrap-mode=nodownload \
--auto-features=enabled \
-Dvendordir=/etc \
-Ddocdir=/usr/share/doc/pam-1.7.2 \
-Dhtmldir=/usr/share/doc/pam-1.7.2/html \
-Dpdfdir=/usr/share/doc/pam-1.7.2/pdf \
-Dsecuredir=/usr/lib/security \
-Dpam_unix-try-getspnam=true \
-Dlogind=disabled \
-Delogind=disabled \
-Dnis=disabled \
-Dpwaccess=disabled . i686-pc-linux-gnu
To compile Linux PAM 32-bit, run the following command:
/usr/bin/meson compile -C i686-pc-linux-gnu -j4 --verbose
Finally, to install Linux PAM 32-bit into the build tree, run the following commands:
DESTDIR=$PWD/DESTDIR /usr/bin/meson install -C i686-pc-linux-gnu --no-rebuild
rm -rfv DESTDIR/usr/lib/systemd
cp -Rv DESTDIR/usr/lib/* /usr/lib/
unset CONFIG_SHELL
unset CFLAGS
unset CXXFLAGS
unset FFLAGS
unset FCFLAGS
unset LDFLAGS
unset PKG_CONFIG_LIBDIR
unset XML_CATALOG_FILES
See the contents section of the 64-bit build of Linux PAM for details.
| Navigation | ||
|---|---|---|
| « Linux PAM 64-bit | HOME | SCDoc » |