NetBSD Problem Report #56105
From www@netbsd.org Tue Apr 13 11:31:27 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id E4CAC1A9217
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Apr 2021 11:31:26 +0000 (UTC)
Message-Id: <20210413113125.7BF801A9239@mollari.NetBSD.org>
Date: Tue, 13 Apr 2021 11:31:25 +0000 (UTC)
From: thomas.orgis@uni-hamburg.de
Reply-To: thomas.orgis@uni-hamburg.de
To: gnats-bugs@NetBSD.org
Subject: docbook-xml version 5 missing (update textproc/docbook-xml)
X-Send-Pr-Version: www-1.0
>Number: 56105
>Category: pkg
>Synopsis: docbook-xml version 5 missing (update textproc/docbook-xml)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 13 11:35:00 +0000 2021
>Originator: Dr. Thomas Orgis
>Release: 2021Q1
>Organization:
Universität Hamburg
>Environment:
GNU/Linux … or any other
>Description:
I stumbled upon
https://github.com/shlomif/why-my-projects-cannot-support-netbsd-yet
which complains that NetBSD does not offer docbook-xml version 5, released a decade ago or so.
Maybe textproc/docbook-xml should also include version 5?
>How-To-Repeat:
Install textproc/docbook-xml and see that there is only up to version 4.5 in the system.
>Fix:
Well, update. I started out to update the package, but realized that I do not have sufficient contact with XML stuff to confidently do it and test what I would have done.
Would the standard procedure with catalogs.mk work? The zip is differently structured for sure.
I started out with this:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/docbook-xml/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile 26 Jan 2020 17:32:14 -0000 1.38
+++ Makefile 13 Apr 2021 11:26:35 -0000
@@ -1,14 +1,15 @@
# $NetBSD: Makefile,v 1.38 2020/01/26 17:32:14 rillig Exp $
#
-DISTNAME= docbook-xml-4.5
+DISTNAME= docbook-xml-5.0.1
CATEGORIES= textproc
-MASTER_SITES= http://www.oasis-open.org/docbook/xml/4.5/
-SITES.docbook-xml-4.4.zip= http://www.oasis-open.org/docbook/xml/4.4/
-SITES.docbook-xml-4.3.zip= http://www.oasis-open.org/docbook/xml/4.3/
-SITES.docbook-xml-4.2.zip= http://www.oasis-open.org/docbook/xml/4.2/
+MASTER_SITES= http://docbook.org/xml/5.0.1/
+SITES.docbook-xml-4.5.zip= http://docbook.org/xml/4.5/
+SITES.docbook-xml-4.4.zip= http://docbook.org/xml/4.4/
+SITES.docbook-xml-4.3.zip= http://docbook.org/xml/4.3/
+SITES.docbook-xml-4.2.zip= http://docbook.org/xml/4.2/
DISTFILES= docbook-xml-4.2.zip docbook-xml-4.3.zip docbook-xml-4.4.zip
-DISTFILES+= docbook-xml-4.5.zip
+DISTFILES+= docbook-xml-4.5.zip docbook-5.0.1.zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.oasis-open.org/docbook/
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/docbook-xml/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 4 Nov 2015 01:59:27 -0000 1.7
+++ distinfo 13 Apr 2021 11:26:35 -0000
@@ -1,5 +1,9 @@
$NetBSD: distinfo,v 1.7 2015/11/04 01:59:27 agc Exp $
+SHA1 (docbook-5.0.1.zip) = 6b35d6c3454f2ac9be1f6c3706b17d90a868e8c8
+RMD160 (docbook-5.0.1.zip) = 5960c6510db5803347ed098138bb6f2d32741596
+SHA512 (docbook-5.0.1.zip) = df85ab724d3205086dfbab40419e268d5bf183b028ed8c58d30068bdc82c1e10fc05bf167d5efcdbeb6b6c9c8dbf96ca4f979fcc6da2e2fea99cbf1bd8aaad30
+Size (docbook-5.0.1.zip) = 836100 bytes
SHA1 (docbook-xml-4.2.zip) = 5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e
RMD160 (docbook-xml-4.2.zip) = 3ba17bf96ab2ab8fe6dc9ff82da8e22aaf9ce5e0
SHA512 (docbook-xml-4.2.zip) = 0c836346130d1e8f4e26e00959f6b4fd2c3c11269ba5cbf11cdc904724e189606f431c99cd5ab188877daa0eb44c58d0bc30556df3b51df480396818d61c4e0a
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.