Opened 5 months ago

Closed 5 months ago

#20565 closed enhancement (fixed)

Linux-PAM-1.7.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 12.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (9)

comment:1 by thomas, 5 months ago

Noteworthy changes in Linux-PAM 1.7.0

  • build: changed build system from autotools to meson.
  • libpam_misc: use ECHOCTL in the terminal input
  • pam_access: support UID and GID in access.conf
  • pam_env: install environment file in vendordir if vendordir is enabled
  • pam_issue: only count class user if logind support is enabled
  • pam_limits: use systemd-logind instead of utmp if logind support is enabled
  • pam_unix: compare password hashes in constant time
  • Multiple minor bug fixes, build fixes, portability fixes,
  • documentation improvements, and translation updates.

Actually, the docs-tarball is not (yet?) available.

comment:2 by Bruce Dubbs, 5 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:3 by Xi Ruoyao, 5 months ago

Most configure options are unneeded with meson. It seems only --prefix, --buildtype, and -D docdir are needed.

Maybe we can add docbook-xsl-ns to generate the doc. Several other BLFS packages already need it for doc anyway.

Last edited 5 months ago by Xi Ruoyao (previous) (diff)

comment:4 by Bruce Dubbs, 5 months ago

The docs are a problem unless upstream releases a tarball for them. They are using docbook-5.0 and I haven't been able to generate the docs yet.

comment:5 by Xi Ruoyao, 5 months ago

docbook-xml-5.0 is intended to be used with docbook-xsl-ns. I don't think it makes too much sense to keep the former in the book w/o adding the latter.

in reply to:  5 comment:6 by Bruce Dubbs, 5 months ago

Replying to Xi Ruoyao:

docbook-xml-5.0 is intended to be used with docbook-xsl-ns. I don't think it makes too much sense to keep the former in the book w/o adding the latter.

That's a good point. My memory is hazy, but I think the non-ns version is needed for us to build the books with docbook-xml-4.5.

comment:7 by Bruce Dubbs, 5 months ago

I will add that I tried to build the docs in a virgin LFS chroot yesterday with the docbook-xsl-ns package (from about 2018) but was unsuccessful. The error was

ERROR: Command `/usr/bin/xmlcatalog --noout /etc/xml/catalog http://
docbook.sourceforge.net/release/xsl-ns/current/html/chunk.xsl` failed with status 4.

I do have files in /usr/share/xml:

./docbook/xsl-stylesheets-1.79.2/xhtml/chunk.xsl
./docbook/xsl-stylesheets-1.79.2/xhtml5/chunk.xsl
./docbook/xsl-stylesheets-1.79.2/html/chunk.xsl
./docbook/xsl-stylesheets-1.79.2/epub3/chunk.xsl
./docbook/xsl-stylesheets-1.79.2/xhtml-1_1/chunk.xsl

But there must be something wrong with /etc/xml/catalog or /etc/xml/docbook-5.0.

If we can get the docs to build then we can create a tarball and put it on anduin.

comment:8 by Bruce Dubbs, 5 months ago

I got the docs to work! In chroot I had to build:

/usr/src/icu/icu4c-74_2-src.tgz
/usr/src/libxml2/libxml2-2.13.4.tar.xz
/usr/src/libxslt/libxslt-1.1.41.tar.xz
/usr/src/libevent/libevent-2.1.12-stable.tar.gz
/usr/src/links/links-2.30.tar.bz2
  I tried to symlink this to elinks, but that did not work.  See below.
/usr/src/unzip/unzip60.tar.gz
/usr/src/docbook50/docbook-5.0.zip
/usr/src/pam/Linux-PAM-1.7.0.tar.xz
  This was a failure,
/usr/src/openjdk/OpenJDK-21.0.2+13-x86_64-bin.tar.xz
/usr/src/pcre/pcre2-10.44.tar.bz2
/usr/src/python-modules/docutils-0.21.2.tar.gz
/usr/src/glib/glib-2.82.2.tar.xz
/usr/src/apache-ant/apache-ant-1.10.15-src.tar.xz
/usr/src/which/which-2.21.tar.gz
/usr/src/fop/fop-2.8-src.tar.gz
  One version out of date on purpose.
/usr/src/docbook-xsl/docbook-xsl-1.79.2.tar.bz2
  Note that this one is not in the book.
/usr/src/lcms/lcms2-2.16.tar.gz
/usr/src/w3m-v0.5.3+git20230121.tar.bz2
  I used this instead of elinks.
/usr/src/pam/Linux-PAM-1.7.0.tar.xz

The real key was to fix /etc/xml/catalog. Our configuration has:

<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" 
            rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.79.2"/>

but I needed to change the /xsl/ to /xsl-ns/.

We don't really want to add w3m or elinks to the book so I'll bundle the man pages an upload them to anduin.

comment:9 by Bruce Dubbs, 5 months ago

Resolution: fixed
Status: assignedclosed

Finally fixed at revision d1e1e4f420.

Note: See TracTickets for help on using tickets.