From owner-freebsd-doc Wed Aug 22 0:49:58 2001 Delivered-To: freebsd-doc@freebsd.org Received: from mao.stokely.org (mao.stokely.org [65.84.64.228]) by hub.freebsd.org (Postfix) with ESMTP id 7A79137B40A for ; Wed, 22 Aug 2001 00:49:54 -0700 (PDT) (envelope-from murray@stokely.org) Received: by mao.stokely.org (Postfix, from userid 2074) id 2A9184B65D; Wed, 22 Aug 2001 00:55:46 -0700 (PDT) Date: Wed, 22 Aug 2001 00:55:46 -0700 From: Murray Stokely To: freebsd-doc@FreeBSD.org Subject: generating the pgp keyring Message-ID: <20010822005546.T14209@windriver.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Uzkapz4/HjIvV4VZ" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --Uzkapz4/HjIvV4VZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It seems silly to rely on a person to manually update a PGP keyring now that all of the key data is clearly marked up in . I've just written a little hack that uses pgpkeys/chapter.sgml and generates a keyring that can easily be imported into gpg. Any comments? Can we integrate this with the doc or web build to automatically update the the keyring referenced from the top of the PGP Keys appendix? - Murray --[ pgp.dsl ]--------------- ]> (element book (process-node-list (select-elements (descendants (current-node)) (n= ormalize "programlisting")))) (element programlisting (if (equal? (attribute-string (normalize "role")) "pgpkey") (make sequence (process-children) (literal " ")) (empty-sosofo))) =20 ---[ Diff 1 of 2 ]------------------- --- diff -u -r1.45 Makefile --- Makefile 2001/08/21 23:38:28 1.45 +++ Makefile 2001/08/22 07:44:21 @@ -142,6 +142,9 @@ book.pdf: book.ps ps2pdf book.ps book.pdf =20 +pgpkeyring: pgpkeys/chapter.sgml + ${JADE} -V nochunks ${JADEOPTS} -d ${DSLPGP} -t sgml ${MASTERDOC} > ${.TARGET} + DOC_PREFIX?=3D ${.CURDIR}/../../.. =20 # ---[ Diff 2 of 2 ]------------------------ (edit /usr/doc/share/mk/doc.docbook.mk) +DSLPGP?=3D ${DOC_PREFIX}/share/sgml/pgp.dsl --Uzkapz4/HjIvV4VZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQE7g2WBtNcQog5FH30RApVLAJ96NGkNpOJV4EuQv/6j7wayccw2xwCfTW8i gp3UVVozbnJOBvZCQBVyvVo= =hbSP -----END PGP SIGNATURE----- --Uzkapz4/HjIvV4VZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message