Bug 275921 - misc/ctm: fix build / add symlink support / add patches needed by ctm hosting machine
Summary: misc/ctm: fix build / add symlink support / add patches needed by ctm hosting...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Stefan Eßer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-25 09:57 UTC by Andre Albsmeier
Modified: 2023-12-29 09:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (se)


Attachments
See Comment (22.96 KB, patch)
2023-12-25 09:57 UTC, Andre Albsmeier
no flags Details | Diff
misc_ctm_r01.diff (24.56 KB, patch)
2023-12-29 09:00 UTC, Andre Albsmeier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Albsmeier 2023-12-25 09:57:44 UTC
Created attachment 247237 [details]
See Comment

I am currently preparing the machine which hosts the CTM files in order to deal with src-13, src-14 and ports using gitup. This PR adds 5 patch files to misc/ctm:

1. patch-r01_fix_warnings_in_mkCTM_mkctm.c
As the name says, this fixes warnings when building mkctm.

2. patch-r02-fix_logf_name_clash_in_mkCTM_mkctm.c (*)
This patch fixes the build for mkctm by avoiding using logf as variable name.

3. patch-r03-add_symlink_handling_to_mkCTM_mkctm.c
This adds handling of symlinks to the CTM generator.

4. patch-r04-add_symlink_handling_to_ctm
This adds handling of symlinks to ctm itself. Without that, the src-1[34] deltas won't apply.

5. patch-r05-add_ownermail_to_ctm__smail_ctm__smail.c (*)
This adds an option to ctm_smail which is needed on the ctm generator machine.

Patches marked with (*) were not created by me but probably by sms and are already in use on the the generator machine. They just have not been integrated into the port yet...
Comment 1 Andre Albsmeier 2023-12-29 09:00:25 UTC
Created attachment 247330 [details]
misc_ctm_r01.diff
Comment 2 Andre Albsmeier 2023-12-29 09:00:47 UTC
Please DO NOT USE the initially uploaded patch. Another bug in ctm had
to be fixed first (it couldn't cope with e.g. a file being replaced by a dir).
This made the new code for handling symlinks simpler so I decided to create a new
set of patch files.

So please use misc_ctm_r01.diff.