Bug 32753

Summary: mandoc: a utility used for formatting man pages in BSD Operating Systems. Needed to update serd. NEW PKG REQUEST
Product: Mageia Reporter: Philippe Didier <philippedidier>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Normal CC: geiger.david68210, lewyssmith
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://mandoc.bsd.lv/
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: fedora spec file for mandoc
a spec file from opensuse (a bit modified for Mageia
patch to build mandoc with spec from OpenSuse

Description Philippe Didier 2024-01-21 17:07:47 CET
Description of problem:

To update serd to version 0.32.0 the mandoc package is needed

Here is its source :
https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz

Fedora already built it but adapting its spec file for Mageia is out of my skill
I will attach the fedora spec file
Comment 1 Philippe Didier 2024-01-21 17:08:44 CET
Created attachment 14275 [details]
fedora spec file for mandoc

fedora spec file for mandoc
Comment 2 Philippe Didier 2024-01-21 18:38:44 CET
NB the last version of serd (depending on mandoc not already present)
is a BuildRequire for the last versions of
sord
sratom
suil
Comment 3 Lewis Smith 2024-01-22 11:15:10 CET
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

You Philippe might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Severity: normal => enhancement
URL: (none) => https://mandoc.bsd.lv/
Component: RPM Packages => New RPM package request
Summary: Package Request : mandoc => mandoc: a utility used for formatting man pages in BSD Operating Systems. Needed to update serd. NEW PKG REQUEST
Assignee: bugsquad => pkg-bugs

Comment 4 Philippe Didier 2024-01-22 15:00:34 CET
Hi Lewis
I'm really not skilled enough to mageiaize this spec file
I can't understand what the Fedora packager did, and what mean all these lines
Comment 5 Philippe Didier 2024-01-23 15:19:10 CET
@ Lewis
examining http://svnweb.mageia.org/packages/cauldron/?dir_pagestart=5600
I just saw that David Geiger (daviddavid) has already imported mandoc inside Mageia 22 months ago
Nevertheless this has never been submitted to the BS

CC: (none) => geiger.david68210, lewyssmith

Comment 6 Philippe Didier 2024-01-25 18:03:26 CET
Created attachment 14307 [details]
a spec file from opensuse (a bit modified for Mageia

I tried the spec file from David : this doesn't work to build with mock for Mageia

I then adapted this spec file from OpenSuse, it works (with a patch from OpenSuse) !

If anybody would look at this, test it, and eventually validate it

Attachment 14275 is obsolete: 0 => 1

Comment 7 Philippe Didier 2024-01-25 18:05:05 CET
Created attachment 14308 [details]
patch to build mandoc with spec from OpenSuse

boo1209830-endless-loop.patch to build mandoc with spec from OpenSuse
Comment 8 Philippe Didier 2024-01-26 13:34:35 CET
I finally submitted it to the BS
It builds
Don't know if this is correctly done
Comment 9 Philippe Didier 2024-01-26 17:50:04 CET
I think this may be closed as resolved

The rpms have been built by the BS, and all of them  has been uploaded 
(particularly mandoc-bin). 
mandoc-bin is a BuildRequire of another rpm (serd) and has been used to build serd successfully in the BS



Out of topic :

The game continues 
with sord which has BuildRequire serd (needing first serd being uploaded)
and then sratom which has BuildRequires serd and sord (needing first sord being uploaded)
and then suil which has BuildRequires serd and sratom (needing first sratom being uploaded)
Comment 10 Philippe Didier 2024-01-28 15:30:13 CET
Rpm built by the BS and uploaded

Status: NEW => RESOLVED
Resolution: (none) => FIXED