From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KNPyNDn3iWMG+gAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 14:01:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sPYZNTn3iWN9UgEA9RJhRA (envelope-from ) for ; Fri, 02 Dec 2022 14:01:45 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7AA9D6DC7 for ; Fri, 2 Dec 2022 14:01:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p14ys-0006BC-ES; Fri, 02 Dec 2022 07:17:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12WD-000598-K0 for guix-devel@gnu.org; Fri, 02 Dec 2022 04:39:45 -0500 Received: from msg-4.mailo.com ([213.182.54.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12W9-0003AO-MJ for guix-devel@gnu.org; Fri, 02 Dec 2022 04:39:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailoo.org; s=mailo; t=1669973970; bh=qaFwA+MRu6cN+O6wvuqtCjsJx8E+GNnqfvml7WUBsy8=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: Content-Type:Content-Transfer-Encoding; b=Od8m7vkYaD9uA9Gz0S0lhqKskU+Z+THNrLnpq3wAaRqPGji5KuL4NUVmwN9vwT924 FvvwGZZ5YbX6dFisFIU4HsB7amoFYLMNi1Fx8Aeh5etiieQLJsOJuQKOn9NWwonBD/ M35ltHW5fT+N5aY1h/+ml+cFUUZpvmzwcFbHZIvM= Received: by www.mailo.com with http webmail; Fri, 2 Dec 2022 10:39:30 +0100 (CET) X-EA-Auth: +MSGutHnpNWilvlw5J2xrZbZkzueOPy5FYPDGlMUasATkgJ566O/Q9MIieqXsgvVX6XZVOCxFJFMnOPILSOr7sdGzijGU8HG From: "yarl baudig" To: guix-devel@gnu.org Date: Fri, 2 Dec 2022 10:39:30 +0100 (CET) Subject: PMB integrated Library System X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA22.05/r20221103 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=213.182.54.15; envelope-from=yarl-baudig@mailoo.org; helo=msg-4.mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 02 Dec 2022 07:17:23 -0500 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669986105; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kWuc9E6kdbShsvhM9fAugj2v/vaztIh8Nevb0a0fq+0=; b=TMZtkC2RZIG4PhzkcHcQtRnQ1P1PbYKROvtXXZAQXfoopjRE1qCgXMoMNJccgR0WXSSHYj T9omjID/jZSzuaPSNVrp+Ef6WjgE3viyLxLI5FajZtrZxk9oN4HIP6FWZCoXt3OB5dZy4+ FE7Hmp57NR9QowVLaMEgGYB6I9r6jEeLNxrTYy9jjU6eORDxyf75kKkuSyfIPvvy9AiGad 0agO0hWV9750ZyNQMTqGVrUsqbFtfWuvNYsQ0yWvtF8tnwA/ow2VBmPfQUpHOoqSV0uy0B Tl1J6lorna1BmQObm/4EOcndk/P9VpPp2kmF+TrDzE8AUQZvm1TvkddNXk9qAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669986105; a=rsa-sha256; cv=none; b=evzjPHgqoIWSsiHxu5kGc403S7GrYCQWfCOFEbNwXxJiaUJPXBB7Hr1j7ovlxLsnVTlbcp HsBbskQ4AGT5o2TSzuVu5LfOjiU8c3n0u3jUDKKdN1eejAHmo4DkUJhISPOUk3Uv9+LqQb fjauEy3gb9X1cHtFsL3w4lu5LccpmC/IOcoOYsmy4TrHjHheQ+Lw1FHKSH03ofYeu7fFwH i02wg+c1r7meLYC/omCEJm9UMWFxuWbyQGC0ZSRv2KNIP+1NwnmwkC4M3DVz1PbI1ufPB4 cXEr4vViKId5TdntU4S8F8YH4nO1QJnYq0/9HbpOAecMq6hH7CztyL/iruy1Rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailoo.org header.s=mailo header.b=Od8m7vkY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailoo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailoo.org header.s=mailo header.b=Od8m7vkY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mailoo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7AA9D6DC7 X-Spam-Score: 7.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZbbAByBP+pfM Hello guix, I would like to ask for comments on this, please. A relative asked me to install pmb (www.sigb.net) on his linux computer. I thought that trying to package this for guix would be a good way to make= it easier for me to maintain it, to contribute to guix, and to learn more = about guix. I won't comment the software or the lack of documentation. Anyway, this was not as easy as I thought. I prefer sending this on this list first to have some comments. I am still= learning. Does this fit in guix? What mistakes did I do? Is my english good enough? = I take all comments. Thank you! I am also planning to package koha (koha-community.org) after pmb, for com= parison. >From 43e08c4d5fc903411c7609a1e7d899ec43a85e56 Mon Sep 17 00:00:00 2001 From: Yarl Baudig Date: Fri, 25 Nov 2022 13:22:17 +0100 Subject: [PATCH 1/4] gnu: php: Add '--enable-soap' configure option. * gnu/packages/php.scm: Add '--enable-soap' configure option. --- gnu/packages/php.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index 645a8edee1..9bc4af5092 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -134,7 +134,8 @@ (define-public php "--enable-intl" "--enable-mbstring" "--enable-pcntl" - "--enable-sockets")) + "--enable-sockets" + "--enable-soap")) #:phases (modify-phases %standard-phases (add-after 'unpack 'do-not-record-build-flags --=20 2.38.1 >From b9e7abdf982cadebec3f0899ef36deeb6f5e24b4 Mon Sep 17 00:00:00 2001 From: Yarl Baudig Date: Fri, 25 Nov 2022 23:28:44 +0100 Subject: [PATCH 2/4] gnu: Add PMB. * gnu/packages/ils.scm: New file. * gnu/local.mk: Add it. --- gnu/local.mk | 1 + gnu/packages/ils.scm | 73 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 gnu/packages/ils.scm diff --git a/gnu/local.mk b/gnu/local.mk index f543a9350d..e6ad51ae78 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -323,6 +323,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/icu4c.scm \ %D%/packages/idris.scm \ %D%/packages/idutils.scm \ + %D%/packages/ils.scm \ %D%/packages/image.scm \ %D%/packages/image-processing.scm \ %D%/packages/image-viewers.scm \ diff --git a/gnu/packages/ils.scm b/gnu/packages/ils.scm new file mode 100644 index 0000000000..8bdec05980 --- /dev/null +++ b/gnu/packages/ils.scm @@ -0,0 +1,73 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2022 Yarl Baudig +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at= +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages ils) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system copy) + #:use-module (guix licenses) + #:use-module (gnu packages gawk) + #:use-module (gnu packages compression) + #:use-module (gnu packages php) + #:use-module (gnu packages perl)) + +;;; Commentary +;;; +;;; Integrated Library Systems packages. +;;; +;;; Code + +(define-public pmb + (package + (name "pmb") + (version "7.4.6") + (source (origin + (method url-fetch) + (uri + (string-append + "https://forge.sigb.net/attachments/download/3968/pmb" + version + ".zip")) + (sha256 + (base32 + "0ana1w8d60n2gznhh1zyjdld4xi4p2pm2hc05m8n7fh2bvlmw0cr")))) + (build-system copy-build-system) + (arguments '(#:install-plan '(("." "share/http/pmb")))) + (native-inputs (list unzip)) + (propagated-inputs (list php perl)) + (synopsis "Integrated Library System") + (description "PMB is an Integrated Library System for librarians, docu= mentalists and=20 +information managers. + +PMB features include: +@itemize +@item Management of physical and digital collections +@item Standardization of the document collection +@item Native integration of RFID solutions +@item Enhancement of the collection with a personalized document portal +@item Management of acquisitions +@item Monitoring of activities with statistical tools +@item Communication with users (ISD, monitoring, documentary products, et= c.) +@item Internal management of users or synchronization with an LDAP/AD dir= ectory. +@end itemize + +This contains only the PMB archive (html, php and css files), you will ne= ed a web +server, php and a SQL database server. See the guix pmb service.") + (home-page "https://www.sigb.net") + (license cecill))) + --=20 2.38.1 >From 59dcc3dccc2ab37b67a80b70165dd5edc4d99de3 Mon Sep 17 00:00:00 2001 From: Yarl Baudig Date: Fri, 2 Dec 2022 10:19:17 +0100 Subject: [PATCH 3/4] gnu: Add PMB service. * gnu/services/ils.scm: New file. * gnu/local.mk: Add it. --- gnu/local.mk | 1 + gnu/services/ils.scm | 128 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 gnu/services/ils.scm diff --git a/gnu/local.mk b/gnu/local.mk index e6ad51ae78..97bc8f829b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -670,6 +670,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/services/getmail.scm \ %D%/services/guix.scm \ %D%/services/hurd.scm \ + %D%/services/ils.scm \ %D%/services/kerberos.scm \ %D%/services/lightdm.scm \ %D%/services/linux.scm \ diff --git a/gnu/services/ils.scm b/gnu/services/ils.scm new file mode 100644 index 0000000000..16c0dbab22 --- /dev/null +++ b/gnu/services/ils.scm @@ -0,0 +1,128 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2022 Yarl Baudig +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at= +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu services ils) + #:use-module (gnu services) + #:use-module (gnu services web) + #:use-module (gnu packages ils) + #:use-module (guix records) + #:use-module (guix utils) + #:use-module (guix gexp) + #:use-module (ice-9 match) + #:use-module (ice-9 format) + #:export (pmb-configuration + pmb-service-type + %default-nginx-pmb-location + %default-pmb-php-fpm-configuration + %default-pmb-mysql-configuration-extra-content)) + +;;; Commentary +;;; +;;; Integrated Library Systems services. +;;; +;;; Code + +(define %default-nginx-pmb-location + (let ((base (nginx-php-location))) + (nginx-location-configuration + (inherit base) + (body (cons + "fastcgi_read_timeout 300;" + (nginx-location-configuration-body base)))))) + +(define %default-pmb-php-fpm-configuration + "expose_php=3Doff +max_execution_time=3D300 +max_input_vars=3D50000 +memory_limit=3D256M +post_max_size=3D64M +upload_max_filesize=3D64M +date.timezone=3DEurope/Paris") + +(define %default-pmb-mysql-configuration-extra-content + "[server] +sql_mode=3DNO_AUTO_CREATE_USER +collation_server=3Dutf8_unicode_ci +key_buffer_size=3D1000001536 +join_buffer_size=3D4000000") + +(define-record-type* + pmb-configuration make-pmb-configuration + pmb-configuration? + (pmb pmb-configuration-pmb (default pmb)) + (http-directory pmb-configuration-http-directory + (default "/srv/http/pmb")) + (php-fpm-user pmb-configuration-php-fpm-user + (default "php-fpm")) + (php-fpm-group pmb-configuration-php-fpm-group + (default "php-fpm"))) + +(define (pmb-activation config) + (match-record + config + + (pmb http-directory php-fpm-user php-fpm-group) + #~(begin + (use-modules (guix build utils)) + (use-modules (ice-9 ftw)) + (format #t "Copying pmb '~a' to http directory '~a'~%" + (string-append #$pmb "/share/http/pmb") + #$http-directory) + (mkdir-p #$http-directory) + ;; Please be quiet + (call-with-output-file "/dev/null" + (lambda (port) + (with-output-to-port port + (lambda () + (copy-recursively (string-append #$pmb "/share/http/pmb") + #$http-directory))))) + (define (enter? name stat result) + #t) + (define (lchown obj) + (let ((user (getpwnam #$php-fpm-user)) + (group (getgrnam #$php-fpm-group))) + (chown obj (passwd:uid user) (group:gid group)))) + (define (leaf name stat result) + (lchown name) + result) + (define (down name stat result) + (lchown name) + result) + (define (up name stat result) result) + (define (skip name stat result) result) + (define (error name stat errno result) + (warning (G_ "~a: ~a~%") + name (strerror errno)) + result) + (file-system-fold enter? leaf down up skip error '() #$http-direct= ory) + ;; Those are to hide installation files on a re-activation + (if + (file-exists? (string-append #$http-directory "/tables/noinstall.php")) + (delete-file (string-append #$http-directory "/tables/install.php"))) + (if + (file-exists? (string-append #$http-directory "/tables/noinstall_rep.php= ")) + (delete-file (string-append #$http-directory "/tables/install_rep.php"))= )))) + +(define pmb-service-type + (service-type + (name 'guix) + (extensions + (list (service-extension activation-service-type + pmb-activation))) + (default-value (pmb-configuration)) + (description "Install the pmb Integrated Library System"))) --=20 2.38.1 >From e952effbf4638a590c6741b0ad378f50d322f8e7 Mon Sep 17 00:00:00 2001 From: Yarl Baudig Date: Fri, 2 Dec 2022 10:19:56 +0100 Subject: [PATCH 4/4] doc: Add Integrated Library System section. doc/guix.texi (System Configuration, Services): Add Integrated Library Sys= tem Services section. doc/guix.texi (System Configuration, Services, Integrated Library System S= ervices): Add PMB. --- doc/guix.texi | 131 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 130 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index eaecfd0daa..311ee0f475 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -109,6 +109,7 @@ Copyright @copyright{} 2022 Reily Siegel@* Copyright @copyright{} 2022 Simon Streit@* Copyright @copyright{} 2022 (@* Copyright @copyright{} 2022 John Kehayias@* +Copyright @copyright{} 2022 Yarl Baudig =20 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -402,6 +403,7 @@ Services * Guix Services:: Services relating specifically to Guix. * Linux Services:: Services tied to the Linux kernel. * Hurd Services:: Services specific for a Hurd System. +* Integrated Library System Services:: ILS services. * Miscellaneous Services:: Other services. =20 Defining Services @@ -17705,6 +17707,7 @@ declaration. * Guix Services:: Services relating specifically to Guix. * Linux Services:: Services tied to the Linux kernel. * Hurd Services:: Services specific for a Hurd System. +* Integrated Library System Services:: ILS services. * Miscellaneous Services:: Other services. @end menu =20 @@ -36705,6 +36708,132 @@ An integer specifying the baud rate of the tty. @end table @end deftp =20 +@node Integrated Library System Services +@subsection Integrated Library System Services + +@cindex PMB Service +@subsubheading PMB Service + +@defvr {Scheme Variable} pmb-service-type +Service type for the @uref{https://www.sigb.net/,PMB} Integrated Library = System. +The value for this service type is a @code{} record. + +The PMB service needs a web server, @code{mariadb}/@code{mysql}, @code{ph= p} and +is only responsible for copying and changing ownership of files from the +@code{pmb} package. +@end defvr + +Let's start with a demonstration. Here is a sample system configuration (= @file{pmb.scm}): + +@lisp +(use-modules (gnu)) +(use-service-modules ils web networking databases) +(use-package-modules databases) + +(operating-system + (host-name "pmb") + (timezone "Europe/Paris") + (file-systems (cons (file-system + (device (file-system-label "does-not-matter")) + (mount-point "/") + (type "ext4")) + %base-file-systems)) + (bootloader (bootloader-configuration + (bootloader grub-bootloader) + (targets '("/dev/sdX")))) + (packages (cons* mariadb %base-packages)) + (services + (cons* (service dhcp-client-service-type) + (service php-fpm-service-type + (php-fpm-configuration + (php-ini-file + (plain-file "php.ini" + %default-pmb-php-fpm-configuration)))) + (service nginx-service-type + (nginx-configuration + (server-blocks + (list (nginx-server-configuration + (locations + (list + %default-nginx-pmb-location)) + (listen '("8080")) + (root "/srv/http/pmb") + (index '("index.php"))))))) + (service mysql-service-type + (mysql-configuration + (extra-content + %default-pmb-mysql-configuration-extra-content))) + (service pmb-service-type) + %base-services))) +@end lisp + +Be warned that with this example, @code{https} is not enabled and the app= lication will +be accessible from your network. + +The interesting points are as follows. +We import the @code{mariadb} package so that we will have access to the p= rogram +@command{mysql}. This will be useful to set the password of the database'= s +administrator. We declare a @code{php-fpm} service whose @file{php.ini} f= ile +is set to @code{%default-pmb-php-fpm-configuration}. +The @code{NGinx} service is declared, with a location set to +@code{%default-nginx-pmb-location} and a root set to @file{/srv/http/pmb}= , which +is the default for the @code{http-directory} field of @code{}. +The @code{mysql} service is declared with an @code{extra-content} to its = configuration: +@code{default-pmb-mysql-configuration-extra-content}. Finally the pmb ser= vice. + +Now let's run @command{guix system container -N pmb.scm} (@pxref{Invoking= guix system}). +Run the resulting @file{/gnu/store/...run-container}. +Note that we want to keep the state of the database and the php files (be= cause during +the application setup (see below), the php files will be slightly modifie= d. That is also why +the PMB files need to be copied (and chowned) outside the store), we need= to create +two folders, say @file{/mnt/data/pmb} and @file{/mnt/data/mysql} and pass= @option{--share} +two times. @command{nsenter} into it to set the database's administrator = password. + +@example +# mkdir /mnt/data/mysql /mnt/data/pmb +# /gnu/store/...run-container --share=3D/mnt/data/pmb=3D/srv/http/pmb \ +--share=3D/mnt/data/mysql=3D/var/lib/mysql +# nsenter -a -t +# mysql +> SET PASSWORD FOR 'root'@'localhost' =3D PASSWORD('guixisgreat'); +@end example + +Go to @uref{localhost:8080}. Follow the steps. Note that for the database= server parameters, +``localhost'' won't work, its ``127.0.0.1'' and the user is ``root''. +Once the installation is complete, you are redirected to the login page. = The name is ``admin'', +the password is ``admin''. + +Now lets detail fields. + +@defvr {Scheme Variable} %default-pmb-php-fpm-configuration +This is meant to represent the content of @file{php.ini} for the +@code{php-fpm} service for a recommended configuration. +@end defvr + +@defvr {Scheme Variable} %default-pmb-mysql-configuration-extra-content +Extra content to be added to @code{mariadb}/@code{mysql} configuration fo= r recommended configuration. +@end defvr + +@defvr {Scheme Variable} %default-nginx-pmb-location +Location for nginx based on @code{nginx-php-location}. +@end defvr + +@deftp {Data Type} pmb-configuration +This data type represents the configuration for PMB. + +@table @asis +@item @code{pmb} (default: @code{pmb}) + +@item @code{http-directory} (default: @file{/srv/http/pmb}) +Must match a webserver's root. + +@item @code{php-fpm-user} (default: @code{php-fpm}) + +@item @code{php-fpm-group} (default: @code{php-fpm}) + +@end table +@end deftp + @node Miscellaneous Services @subsection Miscellaneous Services =20 @@ -38323,7 +38452,7 @@ description: Install the given fonts on the specif= ied ttys (fonts are per + tty/font pairs. The font can be the name of a font provided by the `kb= d' + package or any valid argument to `setfont', as in this example: + -+ '(("tty1" . "LatGrkCyr-8x16") ++ 6 '(("tty1" . "LatGrkCyr-8x16") + ("tty2" . (file-append + font-tamzen + "/share/kbd/consolefonts/TamzenForPowerline10x20.p= sf")) --=20 2.38.1 Thanks.