Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Files in DESTDIR but missing from flist
On Tue, Jan 13, 2026 at 15:08:30 +0100, Adam wrote:
> >> ======= 3 extra files in DESTDIR =========
> >> Files in DESTDIR but missing from flist.
> >> File is obsolete or flist is out of date ?
> >> ------------------------------------------
> >> ./usr/share/man/man3/DES_random_key.3.gz
> >> ./usr/share/man/man3/HMAC.3.gz
> >> ./usr/share/man/man3/MD5.3.gz
> >> ========= end of 3 extra files ===========
> >
> > [To hoist more context out of subsequent mails: this is on macos, but
> > the destdir is on a case-sensitive filesystem.]
> >
> > Do you actually have those files? They are long since obsolete, so I
> > would like to understand how this was triggered on a system that
> > doesn't have them to begin with. I did touch this area of postinstall
> > quite a while back, b/c exact-case checks were horrible for slower
> > diskless systems, so I restricted it to just "Darwin". From a quick
> > glance to refresh my memory, that change should not have affected your
> > case and I don't immediately see how the above could have been
> > misdetected, so I'd like to get a better understanding of what's going
> > on.
> >
> > Independent of all of the above - your proposed change seems
> > fundamentally right. (Moreover, I think all obsolete man pages should
> > have probably been marked with the ".man" keyword to do the right
> > thing for the old systems that were built with compressed manpages.)
> >
> > -uwe
>
> I don't think it's related to file-system case-sensitivity.
>
> My analysis:
>
> - share/mk/bsd.own.mk defines HAVE_OPENSSL=35 (if not set otherwise).
> - In that case, EXTERNAL_OPENSSL_SUBDIR=apache2/openssl gets defined.
> - Whem apache2/openssl is built, man pages come from crypto/external/apache2/openssl/lib/libcrypto/man.inc, and
> in that file I found DES_random_key.3.
>
> I guess, for OpenSSL 3.1, crypto/external/bsd/openssl should be built, and there is des_random_key.3 in crypto/external/bsd/openssl/lib/libdes/Makefile.
>
> Which HAVE_OPENSSL setting do you use to build -current?
I don't use any knobs. I think Christos me^Hissed these when he
switched to new openssl.
The old openssl installed these manual pages as openssl_M5.3 etc and
obsolete entries for MD5.3 reflected reality.
Now apache2/openssl installs MD5.3 (and others) and then the outdated
obsolete entries delete those freshly installed files right away.
Except that you jabe compression enabled and the obsolete entries
don't have the .man keyword. And on case-insensitive fs MD5.3 from
openssl overwrites md5.3 from libc.
-uwe
Home |
Main Index |
Thread Index |
Old Index