On Fri, May 08, 2026 at 01:48:11AM +0200, Kirill A. Korinsky wrote:
> On Thu, 07 May 2026 08:02:15 +0200,
> Theo Buehler <[email protected]> wrote:
> >
> > On Wed, May 06, 2026 at 05:29:17PM +0100, Stuart Henderson wrote:
> > > On 2026/05/06 18:18, Kirill A. Korinsky wrote:
> > > > On Wed, 06 May 2026 18:02:20 +0200,
> > > > Stuart Henderson <[email protected]> wrote:
> > > > >
> > > > > $ diffsyms
> > > >
> > > > Now I wonder that it is :)
> > >
> > > local script, can't remember who it came from (at least some of it is
> > > not mine, I am too lazy to remember about print -u2 and would have used
> > > echo >&2 instead ;)
> >
> > You shared an adapted-to-ports version of a rather old guenther
> > check_sym with me a long time ago (still in ~tb/bin/check_sym).
> >
> > This got out of sync with base, missing features like the data object size
> > changes and also some fixes I wanted to have, such as cleaning the mess
> > it left behind in /tmp, so I extracted your changes into a wrapper script
> > of src/lib/check_sym and added the fake check and shared that back with
> > you. Then you polished that a bit more by the looks of it.
> >
> > If you want to slap an ISC license on it, my contributions seem to be
> > from 2022.
> >
> > I still hope someone will eventually come up with a bsd.port.mk target
> > of this :)
> >
>
> Like this?
It's late and I haven't looked at the makefile parts. The manual
describes exactly what I'd like to have.
What I don't like about the approach of copying a version of the
guenther magic into ports is that it reintroduces the issue of keeping
the two in sync. I'd rather avoid that.
I think it would be okay to error if ${BSDSRCDIR}/lib/check_sym doesn't
exist (or even /usr/src/lib/check_sym if BSDSRCDIR is unavailable).
Then it should be possible reuse a pretty dumb wrapper like the script
sthen shared. Maybe I miss a subtlety.