Re: git: 0aa2700123e2 - main - Put OPIE to rest.

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Mon, 03 Oct 2022 16:31:07 UTC
In message <202210020138.2921cD8f045654@gitrepo.freebsd.org>, 
=?utf-8?Q?Dag-Erl
ing=20Sm=C3=B8rgrav?= writes:
> The branch main has been updated by des:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=0aa2700123e22c2b0a977375e087dc27
> 59b8e980
>
> commit 0aa2700123e22c2b0a977375e087dc2759b8e980
> Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
> AuthorDate: 2022-10-02 01:37:29 +0000
> Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
> CommitDate: 2022-10-02 01:37:29 +0000
>
>     Put OPIE to rest.
>     
>     Differential Revision: https://reviews.freebsd.org/D36592
> ---
>  Makefile.inc1                                      |    4 +-
>  ObsoleteFiles.inc                                  |   30 +
>  contrib/opie/BUG-REPORT                            |   85 -
>  contrib/opie/COPYRIGHT.NRL                         |   68 -
>  contrib/opie/INSTALL                               |  178 -
>  contrib/opie/License.TIN                           |   45 -
>  contrib/opie/Makefile.in                           |  327 --
>  contrib/opie/README                                |  508 --
>  contrib/opie/acconfig.h                            |  226 -
>  contrib/opie/config.h.in                           |  450 --
>  contrib/opie/config.testeflag                      |   12 -
>  contrib/opie/configure                             | 5247 ------------------
> --
>  contrib/opie/configure.in                          |  562 ---
>  contrib/opie/configure.munger.in                   |   16 -
>  contrib/opie/ftpcmd.y                              | 1290 -----
>  contrib/opie/glob.c                                |  668 ---
>  contrib/opie/install-sh                            |  238 -
>  contrib/opie/libmissing/Makefile.in                |   34 -
>  contrib/opie/libmissing/bogus.c                    |    1 -
>  contrib/opie/libmissing/endutent.c                 |   19 -
>  contrib/opie/libmissing/getutline.c                |   63 -
>  contrib/opie/libmissing/pututline.c                |   64 -
>  contrib/opie/libmissing/setutent.c                 |   18 -
>  contrib/opie/libopie/Makefile.in                   |   35 -
>  contrib/opie/libopie/accessfile.c                  |  171 -
>  contrib/opie/libopie/atob8.c                       |   76 -
>  contrib/opie/libopie/btoa8.c                       |   34 -
>  contrib/opie/libopie/btoe.c                        | 2267 ---------
>  contrib/opie/libopie/btoh.c                        |   36 -
>  contrib/opie/libopie/challenge.c                   |   79 -
>  contrib/opie/libopie/generator.c                   |  398 --
>  contrib/opie/libopie/getsequence.c                 |   27 -
>  contrib/opie/libopie/getutmpentry.c                |   85 -
>  contrib/opie/libopie/hash.c                        |   78 -
>  contrib/opie/libopie/hashlen.c                     |   69 -
>  contrib/opie/libopie/insecure.c                    |  172 -
>  contrib/opie/libopie/keycrunch.c                   |   66 -
>  contrib/opie/libopie/lock.c                        |  255 -
>  contrib/opie/libopie/login.c                       |  124 -
>  contrib/opie/libopie/logwtmp.c                     |  197 -
>  contrib/opie/libopie/lookup.c                      |   31 -
>  contrib/opie/libopie/md4c.c                        |  267 -
>  contrib/opie/libopie/md5c.c                        |  304 --
>  contrib/opie/libopie/newseed.c                     |   96 -
>  contrib/opie/libopie/open.c                        |   77 -
>  contrib/opie/libopie/parsechallenge.c              |   82 -
>  contrib/opie/libopie/passcheck.c                   |   50 -
>  contrib/opie/libopie/passwd.c                      |   76 -
>  contrib/opie/libopie/randomchallenge.c             |   50 -
>  contrib/opie/libopie/readpass.c                    |  315 --
>  contrib/opie/libopie/readrec.c                     |  167 -
>  contrib/opie/libopie/unlock.c                      |  103 -
>  contrib/opie/libopie/verify.c                      |  222 -
>  contrib/opie/libopie/version.c                     |   29 -
>  contrib/opie/libopie/writerec.c                    |   89 -
>  contrib/opie/opie.4                                |  342 --
>  contrib/opie/opie.h                                |  179 -
>  contrib/opie/opie_cfg.h                            |  184 -
>  contrib/opie/opieaccess.5                          |   92 -
>  contrib/opie/opieauto.c                            |  386 --
>  contrib/opie/opieftpd.8                            |  294 --
>  contrib/opie/opieftpd.c                            | 1715 -------
>  contrib/opie/opiegen.1                             |   90 -
>  contrib/opie/opiegen.c                             |   88 -
>  contrib/opie/opieinfo.1                            |  103 -
>  contrib/opie/opieinfo.c                            |  105 -
>  contrib/opie/opiekey.1                             |  176 -
>  contrib/opie/opiekey.c                             |  347 --
>  contrib/opie/opiekeys.5                            |   72 -
>  contrib/opie/opielogin.1                           |  131 -
>  contrib/opie/opielogin.c                           | 1458 ------
>  contrib/opie/opiepasswd.1                          |  181 -
>  contrib/opie/opiepasswd.c                          |  442 --
>  contrib/opie/opieserv.1                            |   82 -
>  contrib/opie/opieserv.c                            |   83 -
>  contrib/opie/opiesu.1                              |  101 -
>  contrib/opie/opiesu.c                              |  512 --
>  contrib/opie/opietest.c                            |  310 --
>  contrib/opie/permsfile.c                           |  167 -
>  contrib/opie/popen.c                               |  216 -
>  contrib/telnet/telnet/telnet.1                     |    4 -
>  etc/mtree/BSD.var.dist                             |    2 -
>  lib/Makefile                                       |    4 +-
>  lib/libopie/Makefile                               |   40 -
>  lib/libopie/Makefile.depend                        |   18 -
>  lib/libopie/config.h                               |  381 --
>  lib/libopie/opieaccess                             |   13 -
>  lib/libopie/opieextra.c                            |   98 -
>  lib/libpam/modules/modules.inc                     |    2 -
>  lib/libpam/modules/pam_opie/Makefile               |   36 -
>  lib/libpam/modules/pam_opie/Makefile.depend        |   19 -
>  lib/libpam/modules/pam_opie/pam_opie.8             |  127 -
>  lib/libpam/modules/pam_opie/pam_opie.c             |  157 -
>  lib/libpam/modules/pam_opieaccess/Makefile         |   11 -
>  lib/libpam/modules/pam_opieaccess/Makefile.depend  |   18 -
>  lib/libpam/modules/pam_opieaccess/pam_opieaccess.8 |  146 -
>  lib/libpam/modules/pam_opieaccess/pam_opieaccess.c |   97 -
>  lib/libpam/pam.d/ftpd                              |    2 -
>  lib/libpam/pam.d/other                             |    2 -
>  lib/libpam/pam.d/sshd                              |    2 -
>  lib/libpam/pam.d/system                            |    2 -
>  lib/libpam/static_libpam/Makefile.depend           |    2 -
>  lib/libsysdecode/Makefile.depend                   |    1 -
>  libexec/ftpd/Makefile                              |    5 +-
>  libexec/ftpd/Makefile.depend                       |    1 -
>  libexec/ftpd/ftpd.8                                |   10 -
>  libexec/ftpd/ftpd.c                                |   34 +-
>  share/examples/etc/README.examples                 |    1 -
>  share/mk/bsd.libnames.mk                           |    1 -
>  share/mk/src.libnames.mk                           |    4 +-
>  targets/pseudo/userland/lib/Makefile.depend        |    3 -
>  usr.bin/Makefile                                   |    3 -
>  usr.bin/opieinfo/Makefile                          |   21 -
>  usr.bin/opieinfo/Makefile.depend                   |   19 -
>  usr.bin/opiekey/Makefile                           |   23 -
>  usr.bin/opiekey/Makefile.depend                    |   19 -
>  usr.bin/opiepasswd/Makefile                        |   21 -
>  usr.bin/opiepasswd/Makefile.depend                 |   19 -
>  usr.sbin/pw/pw_user.c                              |   35 -
>  usr.sbin/pw/tests/pw_userdel_test.sh               |    2 -
>  120 files changed, 39 insertions(+), 25502 deletions(-)
>

It's a little late now since we've already had a __FreeBSD_version update 
since this but this change affected at least two installed ports/pkgs here 
-- fetchmail and cyrus-sasl. Fetchmail needed a patch to specifically 
disable OPIE in __FreeBSD_version > 1400071 and cyrus-sasl needed a simple 
rebuilt. I think the ports team should review which ports might be 
affected, maybe even an exp-run. I'm sure the two I found are not all of 
them.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0