openbsd-faq: an offline FAQ version

This commit is contained in:
c0dev0id 2024-01-05 16:24:06 +01:00
parent e95eb391d8
commit 038c7e1f07
4 changed files with 136 additions and 0 deletions

33
openbsd-faq/Makefile Normal file
View File

@ -0,0 +1,33 @@
COMMENT = OpenBSD FAQ offline
GH_ACCOUNT = OpenBSD
GH_PROJECT = www
GH_COMMIT = 104daa6522e05f7c1780adab559ce5e7cd999d44
DISTNAME = openbsd-faq-20231229
PKGNAME = ${DISTNAME}
CATEGORIES = books
HOMEPAGE = https://www.openbsd.org/faq
# no maintainer OK needed to update
MAINTAINER = Stefan Hagen <sh+ports@codevoid.de>
# ISC License
PERMIT_PACKAGE = Yes
RUN_DEPENDS = www/lynx
NO_BUILD = Yes
NO_TEST = Yes
DOCDIR = ${PREFIX}/share/doc/openbsd-faq
do-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cp -r ${WRKSRC}/faq/* ${DOCDIR}/
echo "#!/bin/sh" > ${PREFIX}/bin/openbsd-faq
echo "lynx ${DOCDIR}/index.html" >> ${PREFIX}/bin/openbsd-faq
chmod +x ${PREFIX}/bin/openbsd-faq
.include <bsd.port.mk>

2
openbsd-faq/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (openbsd-faq-20231229-104daa65.tar.gz) = QzWL9qb4PeN25dXN+YtuKFwgIXMA+TbXcBAqi37E+JQ=
SIZE (openbsd-faq-20231229-104daa65.tar.gz) = 609669270

4
openbsd-faq/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
This package contains the OpenBSD FAQ. An up to date version is
available online.
Hyperlinks pointing to online resource will not work while offline.

97
openbsd-faq/pkg/PLIST Normal file
View File

@ -0,0 +1,97 @@
bin/openbsd-faq
share/doc/openbsd-faq/
share/doc/openbsd-faq/current.html
share/doc/openbsd-faq/faq1.html
share/doc/openbsd-faq/faq10.html
share/doc/openbsd-faq/faq11.html
share/doc/openbsd-faq/faq13.html
share/doc/openbsd-faq/faq14.html
share/doc/openbsd-faq/faq15.html
share/doc/openbsd-faq/faq16.html
share/doc/openbsd-faq/faq17.html
share/doc/openbsd-faq/faq4.html
share/doc/openbsd-faq/faq5.html
share/doc/openbsd-faq/faq6.html
share/doc/openbsd-faq/faq7.html
share/doc/openbsd-faq/index.html
share/doc/openbsd-faq/pf/
share/doc/openbsd-faq/pf/anchors.html
share/doc/openbsd-faq/pf/authpf.html
share/doc/openbsd-faq/pf/carp.html
share/doc/openbsd-faq/pf/config.html
share/doc/openbsd-faq/pf/example1.html
share/doc/openbsd-faq/pf/filter.html
share/doc/openbsd-faq/pf/ftp.html
share/doc/openbsd-faq/pf/index.html
share/doc/openbsd-faq/pf/logging.html
share/doc/openbsd-faq/pf/macros.html
share/doc/openbsd-faq/pf/nat.html
share/doc/openbsd-faq/pf/options.html
share/doc/openbsd-faq/pf/perf.html
share/doc/openbsd-faq/pf/pools.html
share/doc/openbsd-faq/pf/rdr.html
share/doc/openbsd-faq/pf/shortcuts.html
share/doc/openbsd-faq/pf/tables.html
share/doc/openbsd-faq/pf/tagging.html
share/doc/openbsd-faq/ports/
share/doc/openbsd-faq/ports/differences.html
share/doc/openbsd-faq/ports/guide.html
share/doc/openbsd-faq/ports/index.html
share/doc/openbsd-faq/ports/ports.html
share/doc/openbsd-faq/ports/specialtopics.html
share/doc/openbsd-faq/ports/testing.html
share/doc/openbsd-faq/upgrade35.html
share/doc/openbsd-faq/upgrade36.html
share/doc/openbsd-faq/upgrade37.html
share/doc/openbsd-faq/upgrade38.html
share/doc/openbsd-faq/upgrade38.patch
share/doc/openbsd-faq/upgrade39.html
share/doc/openbsd-faq/upgrade39.patch
share/doc/openbsd-faq/upgrade40.html
share/doc/openbsd-faq/upgrade40.patch
share/doc/openbsd-faq/upgrade41.html
share/doc/openbsd-faq/upgrade41.patch
share/doc/openbsd-faq/upgrade42.html
share/doc/openbsd-faq/upgrade42.patch
share/doc/openbsd-faq/upgrade43.html
share/doc/openbsd-faq/upgrade43.patch
share/doc/openbsd-faq/upgrade44.html
share/doc/openbsd-faq/upgrade44.patch
share/doc/openbsd-faq/upgrade45.html
share/doc/openbsd-faq/upgrade45.patch
share/doc/openbsd-faq/upgrade46.html
share/doc/openbsd-faq/upgrade46.patch
share/doc/openbsd-faq/upgrade47.html
share/doc/openbsd-faq/upgrade47.patch
share/doc/openbsd-faq/upgrade48.html
share/doc/openbsd-faq/upgrade48.patch
share/doc/openbsd-faq/upgrade49.html
share/doc/openbsd-faq/upgrade49.patch
share/doc/openbsd-faq/upgrade50.html
share/doc/openbsd-faq/upgrade50.patch
share/doc/openbsd-faq/upgrade51.html
share/doc/openbsd-faq/upgrade51.patch
share/doc/openbsd-faq/upgrade52.html
share/doc/openbsd-faq/upgrade52.patch
share/doc/openbsd-faq/upgrade53.html
share/doc/openbsd-faq/upgrade54.html
share/doc/openbsd-faq/upgrade55.html
share/doc/openbsd-faq/upgrade56.html
share/doc/openbsd-faq/upgrade57.html
share/doc/openbsd-faq/upgrade58.html
share/doc/openbsd-faq/upgrade59.html
share/doc/openbsd-faq/upgrade60.html
share/doc/openbsd-faq/upgrade61.html
share/doc/openbsd-faq/upgrade62.html
share/doc/openbsd-faq/upgrade63.html
share/doc/openbsd-faq/upgrade64.html
share/doc/openbsd-faq/upgrade65.html
share/doc/openbsd-faq/upgrade66.html
share/doc/openbsd-faq/upgrade67.html
share/doc/openbsd-faq/upgrade68.html
share/doc/openbsd-faq/upgrade69.html
share/doc/openbsd-faq/upgrade70.html
share/doc/openbsd-faq/upgrade71.html
share/doc/openbsd-faq/upgrade72.html
share/doc/openbsd-faq/upgrade73.html
share/doc/openbsd-faq/upgrade74.html