Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions srcpkgs/docbook5-xml/files/LICENSE
Original file line number Diff line number Diff line change
@@ -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/.
42 changes: 42 additions & 0 deletions srcpkgs/docbook5-xml/template
Original file line number Diff line number Diff line change
@@ -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 <fabian.constantinescu@protonmail.com>"
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
}
25 changes: 0 additions & 25 deletions srcpkgs/pam/patches/no-examples.patch

This file was deleted.

23 changes: 12 additions & 11 deletions srcpkgs/pam/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
}
}
Expand Down
Loading