From 0384506102c293c371b9486c07bd9a076d341075 Mon Sep 17 00:00:00 2001 From: r0man1an Date: Thu, 12 Nov 2026 22:41:44 +0100 Subject: [PATCH 1/2] pam: update to 1.7.3. --- srcpkgs/pam/patches/no-examples.patch | 25 ------------------------- srcpkgs/pam/template | 23 ++++++++++++----------- 2 files changed, 12 insertions(+), 36 deletions(-) delete mode 100644 srcpkgs/pam/patches/no-examples.patch diff --git a/srcpkgs/pam/patches/no-examples.patch b/srcpkgs/pam/patches/no-examples.patch deleted file mode 100644 index c589b5558dc1a8..00000000000000 --- a/srcpkgs/pam/patches/no-examples.patch +++ /dev/null @@ -1,25 +0,0 @@ -these don't build and aren't installed --- -diff --git a/Makefile.in b/Makefile.in -index f7e2c44..f98b2a2 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -176,7 +176,7 @@ ETAGS = etags - CTAGS = ctags - CSCOPE = cscope - DIST_SUBDIRS = libpam tests libpamc libpam_misc modules po conf \ -- examples xtests doc -+ xtests doc - am__DIST_COMMON = $(srcdir)/Make.xml.rules.in $(srcdir)/Makefile.in \ - $(srcdir)/config.h.in $(top_srcdir)/build-aux/compile \ - $(top_srcdir)/build-aux/config.guess \ -@@ -426,7 +426,7 @@ top_build_prefix = @top_build_prefix@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - AUTOMAKE_OPTIONS = 1.9 gnu dist-xz no-dist-gzip check-news --SUBDIRS = libpam tests libpamc libpam_misc modules po conf examples \ -+SUBDIRS = libpam tests libpamc libpam_misc modules po conf \ - xtests $(am__append_1) - CLEANFILES = *~ - EXTRA_DIST = pgp.keys.asc CHANGELOG ChangeLog-CVS Copyright - diff --git a/srcpkgs/pam/template b/srcpkgs/pam/template index 4cab66fc2de07d..91e606f33777d6 100644 --- a/srcpkgs/pam/template +++ b/srcpkgs/pam/template @@ -1,14 +1,15 @@ # Template file for 'pam' pkgname=pam -version=1.5.3 -revision=4 -build_style=gnu-configure -configure_args=" - --libdir=/usr/lib --sbindir=/usr/bin --docdir=/usr/share/doc/pam - --disable-nis --disable-audit --disable-selinux --enable-lastlog - --disable-regenerate-docu BUILD_CFLAGS=-Os BUILD_LDFLAGS=" -hostmakedepends="gettext-devel pkg-config" -makedepends="libfl-devel db-devel" +version=1.7.3 +revision=1 +build_style=meson +configure_args="-Dnis=disabled -Daudit=disabled -Dselinux=disabled + -Deconf=disabled -Dlogind=disabled -Delogind=disabled + -Dpam_lastlog=auto -Dpam_userdb=enabled -Ddb=db -Dpwaccess=disabled + -Dvendordir= -Ddocs=auto" +hostmakedepends="gettext pkg-config libxml2 libxslt docbook-xsl-ns + docbook5-xml w3m" +makedepends="db-devel" # version of pam-base that doesn't include removed modules depends="pam-base>=0.4_1" checkdepends="pam-base" @@ -18,7 +19,7 @@ license="BSD-3-Clause" homepage="https://github.com/linux-pam/linux-pam" changelog="https://raw.githubusercontent.com/linux-pam/linux-pam/master/NEWS" distfiles="${homepage}/releases/download/v${version}/Linux-PAM-${version}.tar.xz" -checksum=7ac4b50feee004a9fa88f1dfd2d2fa738a82896763050cd773b3c54b0a818283 +checksum=2ce4765fd49df6693771ef2941f81e33d8ee14b94a81a5c7b369aa3b137b85a5 lib32disabled=yes if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then @@ -55,7 +56,7 @@ pam-devel_package() { vmove usr/include vmove usr/share/man/man3 vmove usr/share/doc - vmove usr/lib/*.so + vmove "usr/lib/*.so" vmove usr/lib/pkgconfig } } From 1bf6dc073c67cbbad47fc4bc0ecb753f9657fb35 Mon Sep 17 00:00:00 2001 From: r0man1an Date: Tue, 17 Nov 2026 17:34:24 +0100 Subject: [PATCH 2/2] New package: docbook5-xml --- srcpkgs/docbook5-xml/files/LICENSE | 16 ++++++++++++ srcpkgs/docbook5-xml/template | 42 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 srcpkgs/docbook5-xml/files/LICENSE create mode 100644 srcpkgs/docbook5-xml/template diff --git a/srcpkgs/docbook5-xml/files/LICENSE b/srcpkgs/docbook5-xml/files/LICENSE new file mode 100644 index 00000000000000..7c12e4c77907f2 --- /dev/null +++ b/srcpkgs/docbook5-xml/files/LICENSE @@ -0,0 +1,16 @@ +Permission to use, copy, modify and distribute the DocBook schema +and its accompanying documentation for any purpose and without fee +is hereby granted in perpetuity, provided that the above copyright +notice and this paragraph appear in all copies. The copyright +holders make no representation about the suitability of the schema +for any purpose. It is provided "as is" without expressed or implied +warranty. + +If you modify the DocBook schema in any way, label your schema as a +variant of DocBook. See the reference documentation +(http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook) +for more information. + +Please direct all questions, bug reports, or suggestions for changes +to the docbook@lists.oasis-open.org mailing list. For more +information, see http://www.oasis-open.org/docbook/. diff --git a/srcpkgs/docbook5-xml/template b/srcpkgs/docbook5-xml/template new file mode 100644 index 00000000000000..9af5bb9ac4703f --- /dev/null +++ b/srcpkgs/docbook5-xml/template @@ -0,0 +1,42 @@ +# Template file for 'docbook5-xml' +pkgname=docbook5-xml +version=5.0 +revision=1 +hostmakedepends="libxml2" +depends="xmlcatmgr" +short_desc="DocBook 5.0 XML schemas (DTD, RELAX NG, W3C XML Schema, Schematron)" +maintainer="Fabian Constantinescu " +license="DocBook-Schema" +homepage="https://docbook.org/schemas/5x" +distfiles="https://archive.docbook.org/xml/${version}/docbook-${version}.zip" +checksum=3dcd65e1f5d9c0c891b3be204fa2bb418ce485d32310e1ca052e81d36623208e +xml_catalogs="/usr/share/xml/docbook/schema/docbook-${version}.xml" + +do_install() { + local f s u + local _dir=/usr/share/xml/docbook/schema + local _cat=${DESTDIR}${_dir}/docbook-${version}.xml + + for f in dtd/* rng/* sch/* xsd/*; do + vinstall ${f} 644 ${_dir}/${f%/*}/${version} + done + + xmlcatalog --noout --create ${_cat} + xmlcatalog --noout --add public "-//OASIS//DTD DocBook XML ${version}//EN" \ + file://${_dir}/dtd/${version}/docbook.dtd ${_cat} + for u in http://docbook.org/xml/${version} \ + http://www.oasis-open.org/docbook/xml/${version}; do + xmlcatalog --noout --add system ${u}/dtd/docbook.dtd \ + file://${_dir}/dtd/${version}/docbook.dtd ${_cat} + for s in docbook.rng docbookxi.rng docbook.rnc docbookxi.rnc; do + xmlcatalog --noout --add uri ${u}/rng/${s} \ + file://${_dir}/rng/${version}/${s} ${_cat} + done + xmlcatalog --noout --add uri ${u}/sch/docbook.sch \ + file://${_dir}/sch/${version}/docbook.sch ${_cat} + xmlcatalog --noout --add uri ${u}/xsd/docbook.xsd \ + file://${_dir}/xsd/${version}/docbook.xsd ${_cat} + done + + vlicense ${FILESDIR}/LICENSE +}