summaryrefslogtreecommitdiff
path: root/sys-auth
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sys-auth
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/AusweisApp/AusweisApp-2.4.1.ebuild47
-rw-r--r--sys-auth/AusweisApp/AusweisApp-2.5.1-r1.ebuild47
-rw-r--r--sys-auth/AusweisApp/Manifest2
-rw-r--r--sys-auth/AusweisApp/metadata.xml11
-rw-r--r--sys-auth/authenticator/Manifest3
-rw-r--r--sys-auth/authenticator/authenticator-4.6.2.ebuild81
-rw-r--r--sys-auth/authenticator/metadata.xml12
-rw-r--r--sys-auth/docker_auth/Manifest2
-rw-r--r--sys-auth/docker_auth/docker_auth-1.9.0.ebuild49
-rw-r--r--sys-auth/docker_auth/files/docker_auth.confd2
-rw-r--r--sys-auth/docker_auth/files/docker_auth.initd19
-rw-r--r--sys-auth/docker_auth/files/docker_auth.logrotated8
-rw-r--r--sys-auth/docker_auth/metadata.xml11
-rw-r--r--sys-auth/elogind/Manifest9
-rw-r--r--sys-auth/elogind/elogind-252.9-r3.ebuild188
-rw-r--r--sys-auth/elogind/elogind-255.17-r1.ebuild197
-rw-r--r--sys-auth/elogind/elogind-255.22-r1.ebuild200
-rw-r--r--sys-auth/elogind/elogind-255.22.ebuild198
-rw-r--r--sys-auth/elogind/elogind-255.23.ebuild200
-rw-r--r--sys-auth/elogind/elogind-255.24.ebuild200
-rw-r--r--sys-auth/elogind/elogind-255.25.ebuild200
-rw-r--r--sys-auth/elogind/elogind-255.27.ebuild199
-rw-r--r--sys-auth/elogind/elogind-257.14-r1.ebuild197
-rw-r--r--sys-auth/elogind/elogind-257.14.ebuild193
-rw-r--r--sys-auth/elogind/elogind-257.16.ebuild193
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-1.2.5.patch34
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-getdents.patch35
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-gshadow.patch14
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-lfs.patch51
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-more-strerror_r.patch44
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-rlim-max.patch13
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-sigfillset.patch12
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-statx.patch26
-rw-r--r--sys-auth/elogind/files/elogind-252.9-musl-strerror_r.patch89
-rw-r--r--sys-auth/elogind/files/elogind-252.9-nodocs.patch28
-rw-r--r--sys-auth/elogind/files/elogind-252.9-py-exec.patch19
-rw-r--r--sys-auth/elogind/files/elogind-255.17-revert-s2idle.patch55
-rw-r--r--sys-auth/elogind/files/elogind-255.22-musl-deux.patch54
-rw-r--r--sys-auth/elogind/files/elogind-255.22-musl.patch86
-rw-r--r--sys-auth/elogind/files/elogind-255.22-revert-openrc-user.patch71
-rw-r--r--sys-auth/elogind/files/elogind-257.14-dbus-service.patch20
-rw-r--r--sys-auth/elogind/files/elogind.conf7
-rw-r--r--sys-auth/elogind/files/elogind.conf.in7
-rw-r--r--sys-auth/elogind/files/elogind.init-r127
-rw-r--r--sys-auth/elogind/metadata.xml13
-rw-r--r--sys-auth/fprintd/Manifest3
-rw-r--r--sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch75
-rw-r--r--sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch24
-rw-r--r--sys-auth/fprintd/files/fprintd-1.94.3-test-optional.patch81
-rw-r--r--sys-auth/fprintd/fprintd-1.94.2-r1.ebuild102
-rw-r--r--sys-auth/fprintd/fprintd-1.94.3-r1.ebuild100
-rw-r--r--sys-auth/fprintd/fprintd-1.94.5.ebuild101
-rw-r--r--sys-auth/fprintd/metadata.xml12
-rw-r--r--sys-auth/google-authenticator/Manifest1
-rw-r--r--sys-auth/google-authenticator/files/1.08-remove-failing-tests.patch301
-rw-r--r--sys-auth/google-authenticator/google-authenticator-1.11.ebuild51
-rw-r--r--sys-auth/google-authenticator/google-authenticator-9999.ebuild51
-rw-r--r--sys-auth/google-authenticator/metadata.xml11
-rw-r--r--sys-auth/libfprint-2-tod1-broadcom/Manifest2
-rw-r--r--sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.12.018.ebuild37
-rw-r--r--sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.15.285.ebuild38
-rw-r--r--sys-auth/libfprint-2-tod1-broadcom/metadata.xml8
-rw-r--r--sys-auth/libfprint/Manifest6
-rw-r--r--sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch15
-rw-r--r--sys-auth/libfprint/files/libfprint-1.94.4-stderr-redefinition.patch24
-rw-r--r--sys-auth/libfprint/files/libfprint-1.94.7-skip-test-dep.patch106
-rw-r--r--sys-auth/libfprint/libfprint-1.94.10.ebuild102
-rw-r--r--sys-auth/libfprint/libfprint-1.94.4.ebuild59
-rw-r--r--sys-auth/libfprint/libfprint-1.94.7.ebuild77
-rw-r--r--sys-auth/libfprint/libfprint-1.94.9-r1.ebuild102
-rw-r--r--sys-auth/libfprint/libfprint-1.94.9.ebuild79
-rw-r--r--sys-auth/libfprint/metadata.xml15
-rw-r--r--sys-auth/libnss-extrausers/Manifest3
-rw-r--r--sys-auth/libnss-extrausers/libnss-extrausers-0.6.4.1.ebuild31
-rw-r--r--sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild28
-rw-r--r--sys-auth/libnss-extrausers/metadata.xml15
-rw-r--r--sys-auth/libnss-mysql/Manifest1
-rw-r--r--sys-auth/libnss-mysql/files/libnss-mysql-1.7.1-r1-remove_libnsl_check.patch12
-rw-r--r--sys-auth/libnss-mysql/libnss-mysql-1.7.1-r1.ebuild51
-rw-r--r--sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild39
-rw-r--r--sys-auth/libnss-mysql/metadata.xml12
-rw-r--r--sys-auth/libnss-nis/Manifest2
-rw-r--r--sys-auth/libnss-nis/libnss-nis-3.1.ebuild43
-rw-r--r--sys-auth/libnss-nis/libnss-nis-3.2.ebuild37
-rw-r--r--sys-auth/libnss-nis/metadata.xml10
-rw-r--r--sys-auth/libnss-pgsql/Manifest1
-rw-r--r--sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch44
-rw-r--r--sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta-r1.ebuild46
-rw-r--r--sys-auth/libnss-pgsql/metadata.xml8
-rw-r--r--sys-auth/libyubikey/Manifest1
-rw-r--r--sys-auth/libyubikey/libyubikey-1.13-r1.ebuild26
-rw-r--r--sys-auth/libyubikey/metadata.xml16
-rw-r--r--sys-auth/metadata.xml44
-rw-r--r--sys-auth/microsoft-identity-broker/Manifest2
-rw-r--r--sys-auth/microsoft-identity-broker/files/lsb-release-ubuntu-24.044
-rw-r--r--sys-auth/microsoft-identity-broker/files/os-release-ubuntu-24.0413
-rw-r--r--sys-auth/microsoft-identity-broker/files/wrapper9
-rw-r--r--sys-auth/microsoft-identity-broker/metadata.xml8
-rw-r--r--sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.1.ebuild92
-rw-r--r--sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.2.ebuild94
-rw-r--r--sys-auth/munge/Manifest1
-rw-r--r--sys-auth/munge/files/munged.confd13
-rw-r--r--sys-auth/munge/files/munged.initd48
-rw-r--r--sys-auth/munge/files/munged.tmpfiles.conf1
-rw-r--r--sys-auth/munge/metadata.xml23
-rw-r--r--sys-auth/munge/munge-0.5.18.ebuild90
-rw-r--r--sys-auth/nss-docker-ng/Manifest6
-rw-r--r--sys-auth/nss-docker-ng/metadata.xml11
-rw-r--r--sys-auth/nss-docker-ng/nss-docker-ng-1.0.7.ebuild55
-rw-r--r--sys-auth/nss-docker-ng/nss-docker-ng-1.1.3.ebuild47
-rw-r--r--sys-auth/nss-docker-ng/nss-docker-ng-1.2.1.ebuild45
-rw-r--r--sys-auth/nss-mdns/Manifest1
-rw-r--r--sys-auth/nss-mdns/files/lld-17-undefined-versioned-symbols.patch160
-rw-r--r--sys-auth/nss-mdns/files/mdns.allow3
-rw-r--r--sys-auth/nss-mdns/metadata.xml14
-rw-r--r--sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild65
-rw-r--r--sys-auth/nss-mdns/nss-mdns-9999.ebuild66
-rw-r--r--sys-auth/nss-myhostname/Manifest1
-rw-r--r--sys-auth/nss-myhostname/metadata.xml22
-rw-r--r--sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild35
-rw-r--r--sys-auth/nss-pam-ldapd/Manifest1
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd-tmpfiles.conf1
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd.init28
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd.s63
-rw-r--r--sys-auth/nss-pam-ldapd/files/nslcd.service14
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch452
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch26
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests.patch34
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-use-mkstemp.patch25
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-configure-CFLAGS-decontamination.patch55
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch26
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.13-c23.patch26
-rw-r--r--sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch13
-rw-r--r--sys-auth/nss-pam-ldapd/files/pynslcd.init28
-rw-r--r--sys-auth/nss-pam-ldapd/metadata.xml30
-rw-r--r--sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.13.ebuild172
-rw-r--r--sys-auth/nss_ldap/Manifest1
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-249-sasl-compile.patch11
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-254-soname.patch12
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-257-nss_max_group_depth.patch92
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-257.2-gssapi-headers.patch64
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-264-disable-automagic.patch109
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-265-missing-entries-oneshot.patch101
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-265-pthread.patch481
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-265-r10-libdir.patch31
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-265-reconnect-timeouts.patch57
-rw-r--r--sys-auth/nss_ldap/files/nsswitch.ldap.diff15
-rw-r--r--sys-auth/nss_ldap/metadata.xml14
-rw-r--r--sys-auth/nss_ldap/nss_ldap-265-r11.ebuild148
-rw-r--r--sys-auth/oath-toolkit/Manifest2
-rw-r--r--sys-auth/oath-toolkit/metadata.xml18
-rw-r--r--sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild97
-rw-r--r--sys-auth/otpcalc/Manifest1
-rw-r--r--sys-auth/otpcalc/metadata.xml14
-rw-r--r--sys-auth/otpcalc/otpcalc-0.98.1.ebuild20
-rw-r--r--sys-auth/pam-gnupg/Manifest1
-rw-r--r--sys-auth/pam-gnupg/metadata.xml8
-rw-r--r--sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild29
-rw-r--r--sys-auth/pam-pgsql/Manifest1
-rw-r--r--sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch18
-rw-r--r--sys-auth/pam-pgsql/metadata.xml8
-rw-r--r--sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild55
-rw-r--r--sys-auth/pam-script/Manifest1
-rw-r--r--sys-auth/pam-script/metadata.xml12
-rw-r--r--sys-auth/pam-script/pam-script-1.1.9.ebuild46
-rw-r--r--sys-auth/pam_dotfile/Manifest1
-rw-r--r--sys-auth/pam_dotfile/files/pam_dotfile-0.7-gentoo.patch157
-rw-r--r--sys-auth/pam_dotfile/metadata.xml8
-rw-r--r--sys-auth/pam_dotfile/pam_dotfile-0.7-r2.ebuild45
-rw-r--r--sys-auth/pam_krb5/Manifest1
-rw-r--r--sys-auth/pam_krb5/metadata.xml12
-rw-r--r--sys-auth/pam_krb5/pam_krb5-4.11.ebuild35
-rw-r--r--sys-auth/pam_mktemp/Manifest1
-rw-r--r--sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch49
-rw-r--r--sys-auth/pam_mktemp/metadata.xml13
-rw-r--r--sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild39
-rw-r--r--sys-auth/pam_mount/Manifest2
-rw-r--r--sys-auth/pam_mount/metadata.xml13
-rw-r--r--sys-auth/pam_mount/pam_mount-2.21.ebuild56
-rw-r--r--sys-auth/pam_mount/pam_mount-2.22.ebuild54
-rw-r--r--sys-auth/pam_mysql/Manifest1
-rw-r--r--sys-auth/pam_mysql/metadata.xml15
-rw-r--r--sys-auth/pam_mysql/pam_mysql-0.8.2-r2.ebuild51
-rw-r--r--sys-auth/pam_p11/Manifest1
-rw-r--r--sys-auth/pam_p11/metadata.xml9
-rw-r--r--sys-auth/pam_p11/pam_p11-0.6.0.ebuild38
-rw-r--r--sys-auth/pam_require/Manifest1
-rw-r--r--sys-auth/pam_require/metadata.xml12
-rw-r--r--sys-auth/pam_require/pam_require-0.7-r2.ebuild31
-rw-r--r--sys-auth/pam_skey/Manifest2
-rw-r--r--sys-auth/pam_skey/metadata.xml7
-rw-r--r--sys-auth/pam_skey/pam_skey-1.1.5-r7.ebuild58
-rw-r--r--sys-auth/pam_smb/Manifest1
-rw-r--r--sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch11
-rw-r--r--sys-auth/pam_smb/files/add-various-missing-includes.patch68
-rw-r--r--sys-auth/pam_smb/files/pamsmbd-init19
-rw-r--r--sys-auth/pam_smb/files/respect-FLAGS-CC-AR.patch132
-rw-r--r--sys-auth/pam_smb/metadata.xml8
-rw-r--r--sys-auth/pam_smb/pam_smb-2.0.0_rc6-r3.ebuild51
-rw-r--r--sys-auth/pam_ssh_agent_auth/Manifest2
-rw-r--r--sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0001-Fix-function-prototypes-in-configure.patch49
-rw-r--r--sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch222
-rw-r--r--sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0003-Fix-incompatible-pointer.patch46
-rw-r--r--sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0004-Always-call-linker.patch44
-rw-r--r--sys-auth/pam_ssh_agent_auth/metadata.xml9
-rw-r--r--sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-0.10.4-r1.ebuild81
-rw-r--r--sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-9999.ebuild81
-rw-r--r--sys-auth/pam_u2f/Manifest2
-rw-r--r--sys-auth/pam_u2f/metadata.xml21
-rw-r--r--sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild32
-rw-r--r--sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild32
-rw-r--r--sys-auth/pam_yubico/Manifest1
-rw-r--r--sys-auth/pam_yubico/metadata.xml11
-rw-r--r--sys-auth/pam_yubico/pam_yubico-2.27.ebuild48
-rw-r--r--sys-auth/pambase/Manifest1
-rw-r--r--sys-auth/pambase/metadata.xml108
-rw-r--r--sys-auth/pambase/pambase-20251104-r1.ebuild129
-rw-r--r--sys-auth/pambase/pambase-20251104.ebuild129
-rw-r--r--sys-auth/pambase/pambase-999999999.ebuild129
-rw-r--r--sys-auth/passwdqc/Manifest4
-rw-r--r--sys-auth/passwdqc/metadata.xml14
-rw-r--r--sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild71
-rw-r--r--sys-auth/passwdqc/passwdqc-2.1.0-r1.ebuild85
-rw-r--r--sys-auth/passwdqc/passwdqc-2.1.0.ebuild76
-rw-r--r--sys-auth/polkit-pkla-compat/Manifest1
-rw-r--r--sys-auth/polkit-pkla-compat/metadata.xml7
-rw-r--r--sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild33
-rw-r--r--sys-auth/polkit-qt/Manifest2
-rw-r--r--sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch47
-rw-r--r--sys-auth/polkit-qt/metadata.xml12
-rw-r--r--sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild39
-rw-r--r--sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild37
-rw-r--r--sys-auth/polkit/Manifest1
-rw-r--r--sys-auth/polkit/files/polkit-126-dbusmock.patch99
-rw-r--r--sys-auth/polkit/files/polkit-126-elogind.patch37
-rw-r--r--sys-auth/polkit/metadata.xml13
-rw-r--r--sys-auth/polkit/polkit-126-r3.ebuild163
-rw-r--r--sys-auth/polkit/polkit-9999.ebuild158
-rw-r--r--sys-auth/realtime-base/metadata.xml8
-rw-r--r--sys-auth/realtime-base/realtime-base-0.1-r1.ebuild40
-rw-r--r--sys-auth/rtkit/Manifest1
-rw-r--r--sys-auth/rtkit/metadata.xml13
-rw-r--r--sys-auth/rtkit/rtkit-0.14.ebuild54
-rw-r--r--sys-auth/seatd/Manifest2
-rw-r--r--sys-auth/seatd/files/seatd.initd-r14
-rw-r--r--sys-auth/seatd/metadata.xml23
-rw-r--r--sys-auth/seatd/seatd-0.9.2.ebuild63
-rw-r--r--sys-auth/seatd/seatd-0.9.3.ebuild72
-rw-r--r--sys-auth/seatd/seatd-9999.ebuild72
-rw-r--r--sys-auth/skey/Manifest2
-rw-r--r--sys-auth/skey/metadata.xml29
-rw-r--r--sys-auth/skey/skey-1.1.5-r14.ebuild90
-rw-r--r--sys-auth/solo1/Manifest1
-rw-r--r--sys-auth/solo1/metadata.xml16
-rw-r--r--sys-auth/solo1/solo1-0.1.1-r1.ebuild32
-rw-r--r--sys-auth/ssh-import-id/Manifest1
-rw-r--r--sys-auth/ssh-import-id/metadata.xml9
-rw-r--r--sys-auth/ssh-import-id/ssh-import-id-5.11-r1.ebuild27
-rw-r--r--sys-auth/ssh-ldap-pubkey/Manifest1
-rw-r--r--sys-auth/ssh-ldap-pubkey/metadata.xml15
-rw-r--r--sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.4.0-r1.ebuild60
-rw-r--r--sys-auth/sssd/Manifest8
-rw-r--r--sys-auth/sssd/files/sssd-2.10.0_beta2-fix-systemd-systemconfdir.patch22
-rw-r--r--sys-auth/sssd/files/sssd-2.12.0-dont-clobber-getpwnam-buffer.patch87
-rw-r--r--sys-auth/sssd/files/sssd-2.8.2-krb5_pw_locked.patch12
-rw-r--r--sys-auth/sssd/files/sssd-2.9.6-conditional-python-install.patch16
-rw-r--r--sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch14
-rw-r--r--sys-auth/sssd/files/sssd-2.9.8-r1-pam_fix_out-of-bounds_read_in_pam_passkey_child_read_data.patch117
-rw-r--r--sys-auth/sssd/files/sssd.conf4
-rw-r--r--sys-auth/sssd/metadata.xml29
-rw-r--r--sys-auth/sssd/sssd-2.12.0-r2.ebuild377
-rw-r--r--sys-auth/sssd/sssd-2.13.0-r1.ebuild380
-rw-r--r--sys-auth/sssd/sssd-2.13.0.ebuild379
-rw-r--r--sys-auth/sssd/sssd-2.9.8-r1.ebuild345
-rw-r--r--sys-auth/sssd/sssd-2.9.9.ebuild346
-rw-r--r--sys-auth/thinkfinger/Manifest1
-rw-r--r--sys-auth/thinkfinger/files/0.3-autoreconf.patch25
-rw-r--r--sys-auth/thinkfinger/files/0.3-carriagereturn.patch10
-rw-r--r--sys-auth/thinkfinger/files/0.3-direct_set_config_usb_hello.patch29
-rw-r--r--sys-auth/thinkfinger/files/0.3-send-sync-event.patch50
-rw-r--r--sys-auth/thinkfinger/files/0.3-slibtool.patch37
-rw-r--r--sys-auth/thinkfinger/files/0.3-strip-strip.patch24
-rw-r--r--sys-auth/thinkfinger/files/0.3-tftoolgroup.patch64
-rw-r--r--sys-auth/thinkfinger/files/60-thinkfinger.rules5
-rw-r--r--sys-auth/thinkfinger/metadata.xml8
-rw-r--r--sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild90
-rw-r--r--sys-auth/ykclient/Manifest1
-rw-r--r--sys-auth/ykclient/metadata.xml9
-rw-r--r--sys-auth/ykclient/ykclient-2.15.ebuild26
-rw-r--r--sys-auth/ykpers/Manifest1
-rw-r--r--sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch13
-rw-r--r--sys-auth/ykpers/files/ykpers-1.20.0-json-boolean.patch83
-rw-r--r--sys-auth/ykpers/metadata.xml16
-rw-r--r--sys-auth/ykpers/ykpers-1.20.0-r1.ebuild61
-rw-r--r--sys-auth/yubico-piv-tool/Manifest2
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-openssl-compat.patch31
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch39
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch29
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch11
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico-piv-tool.patch57
-rw-r--r--sys-auth/yubico-piv-tool/files/yubico_piv_tool_c.patch57
-rw-r--r--sys-auth/yubico-piv-tool/metadata.xml14
-rw-r--r--sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild60
-rw-r--r--sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.3.ebuild60
304 files changed, 0 insertions, 15318 deletions
diff --git a/sys-auth/AusweisApp/AusweisApp-2.4.1.ebuild b/sys-auth/AusweisApp/AusweisApp-2.4.1.ebuild
deleted file mode 100644
index 10a45b8d00c2..000000000000
--- a/sys-auth/AusweisApp/AusweisApp-2.4.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg-utils
-
-DESCRIPTION="Official authentication app for German ID cards and residence permits"
-HOMEPAGE="https://www.ausweisapp.bund.de/"
-SRC_URI="https://github.com/Governikus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="EUPL-1.2"
-SLOT="0"
-KEYWORDS="amd64"
-
-BDEPEND="
- dev-qt/qtshadertools:6
- dev-qt/qttools:6[linguist]
- virtual/pkgconfig"
-
-RDEPEND="
- dev-libs/openssl:0=
- dev-qt/qtbase:6[concurrent,network,widgets]
- dev-qt/qtdeclarative:6[widgets]
- dev-qt/qtscxml:6[qml]
- dev-qt/qtsvg:6
- dev-qt/qtwebsockets:6[qml]
- net-libs/http-parser:0=
- sys-apps/pcsc-lite
- virtual/udev"
-
-DEPEND="${RDEPEND}"
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=OFF
- )
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/sys-auth/AusweisApp/AusweisApp-2.5.1-r1.ebuild b/sys-auth/AusweisApp/AusweisApp-2.5.1-r1.ebuild
deleted file mode 100644
index af121b43477d..000000000000
--- a/sys-auth/AusweisApp/AusweisApp-2.5.1-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake xdg-utils
-
-DESCRIPTION="Official authentication app for German ID cards and residence permits"
-HOMEPAGE="https://www.ausweisapp.bund.de/"
-SRC_URI="https://github.com/Governikus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="EUPL-1.2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
- dev-qt/qtshadertools:6
- dev-qt/qttools:6[linguist]
- virtual/pkgconfig"
-
-RDEPEND="
- dev-libs/openssl:0=
- dev-qt/qtbase:6[concurrent,network,widgets]
- dev-qt/qtdeclarative:6[widgets]
- dev-qt/qtscxml:6[qml]
- dev-qt/qtsvg:6
- dev-qt/qtwebsockets:6[qml]
- net-libs/llhttp:=
- sys-apps/pcsc-lite
- virtual/udev"
-
-DEPEND="${RDEPEND}"
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_SHARED_LIBS=OFF
- )
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/sys-auth/AusweisApp/Manifest b/sys-auth/AusweisApp/Manifest
deleted file mode 100644
index 66c128b3a3ea..000000000000
--- a/sys-auth/AusweisApp/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST AusweisApp-2.4.1.tar.gz 6538580 BLAKE2B 39e6523c32db4b07d94637da838e67259e45b428940816b7e6d40badb3ebbefff4d84640433baa635db728c648c7f05f9c7769bd1cd1885d5c164a278ed8f3f6 SHA512 c59c575afc59007c5e63842cb4111bdb8135803b1f93005cc0e2016aabedf5d1877e84de62f83fdd88dd7469b88bd603e00e44dcd70633c7331349e45a55185b
-DIST AusweisApp-2.5.1.tar.gz 6011351 BLAKE2B cc33906acc6b3a51b711711edf062194fc99d61877770f67ae4bb175b08077530e7f354947451455342d09e3b99290dfc7861dd363a91972b645c2e2038502e0 SHA512 9d94d9cbacd5ddc28b2a4df7a1b01d27c9e305d83e0dfaeff68a7adc48e700037de71b87407b8b1a0d3d84002a6944b68740bd1b0b82a661a182426e47941018
diff --git a/sys-auth/AusweisApp/metadata.xml b/sys-auth/AusweisApp/metadata.xml
deleted file mode 100644
index 2b138ddc526e..000000000000
--- a/sys-auth/AusweisApp/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>conikost@gentoo.org</email>
- <name>Conrad Kostecki</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Governikus/AusweisApp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/authenticator/Manifest b/sys-auth/authenticator/Manifest
deleted file mode 100644
index 07a2a4c93106..000000000000
--- a/sys-auth/authenticator/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST authenticator-4.6.2-deps.tar.xz 51491068 BLAKE2B 7f18b40f78c022b5c4493e33c30ebc096986e2cb54374f6dcc9232c7705322271fe35926102fd2d5530e5ab2e44f6e26972ce4e5b26930250b1c116c37e6a590 SHA512 87253659234035c0a4ab55ea6049543fee368fc2d68c7ae683d83310b93e7e5a7848d53d9bf681c97ae4498c1feb968c648bd36db3664d4b4212f69f74e1beb2
-DIST authenticator-4.6.2-update-metainfo-file.patch 1565 BLAKE2B fe60677e7a4fa4d408b34bfcc1ba85194e594cc7f6140a47f8f1c1f5179b304a88a4267444e36a02b136af600e7c761f80cdabf35e9ad11bca3878de357b6907 SHA512 94da98f29285ab673ff48d777712e3e4d56998c10f164ffa054dc340264c65e0472d03c0dabb646890b981117d34f0a7f18ddf1b8751a3ec24527498892d6b06
-DIST authenticator-4.6.2.tar.bz2 723559 BLAKE2B 135e9dbd237da4da74c68186112bac56f4e38158638788f24894654c18b71cfbb7b8a4a8e6f93f0783211fae640e7085a9ae4dd4bf7c17d70d1ab33889fe908a SHA512 d55c2ba5ef0cdc6b93092a34ee98e1303cb5d8c8a8978d740a932ea0b992f45b599796306f0b7cce8a89a7adc91e2c36099525b9f52ba5b0bfbbe971acf57f52
diff --git a/sys-auth/authenticator/authenticator-4.6.2.ebuild b/sys-auth/authenticator/authenticator-4.6.2.ebuild
deleted file mode 100644
index 591a129ea06a..000000000000
--- a/sys-auth/authenticator/authenticator-4.6.2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-RUST_MIN_VER="1.82"
-
-inherit cargo gnome2-utils meson xdg
-
-DESCRIPTION="2FA code generator for GNOME"
-HOMEPAGE="https://gitlab.gnome.org/World/Authenticator"
-SRC_URI="
- https://gitlab.gnome.org/World/Authenticator/-/archive/${PV}/Authenticator-${PV}.tar.bz2 -> ${P}.tar.bz2
- https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
- https://gitlab.gnome.org/World/Authenticator/-/commit/d3a63c5d66b8812fd24eea8634ad17f42f9d6d04.patch
- -> ${PN}-4.6.2-update-metainfo-file.patch
-"
-
-S="${WORKDIR}/Authenticator-${PV}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="debug test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-db/sqlite:3
- dev-libs/glib:2
- dev-libs/openssl
- gui-libs/gtk:4[wayland]
- gui-libs/libadwaita:1
- media-libs/graphene
- media-libs/gst-plugins-base:1.0
- media-libs/gstreamer:1.0
- media-plugins/gst-plugin-gtk4
- x11-libs/gdk-pixbuf:2
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-libs/appstream
- dev-libs/glib:2
- dev-util/desktop-file-utils
- dev-util/gtk-update-icon-cache
- sys-devel/gettext
-
- debug? ( dev-vcs/git )
-"
-
-QA_FLAGS_IGNORED="usr/bin/authenticator"
-
-PATCHES=(
- "${DISTDIR}/${PN}-4.6.2-update-metainfo-file.patch"
-)
-
-src_configure() {
- local profile="default"
- use debug && profile="development"
-
- local emesonargs=(
- -Dprofile="$profile"
- )
- meson_src_configure
-
- ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die
-}
-
-src_test() {
- cargo_src_test
- meson_src_test
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postrm
- gnome2_schemas_update
-}
diff --git a/sys-auth/authenticator/metadata.xml b/sys-auth/authenticator/metadata.xml
deleted file mode 100644
index 74b347f7853b..000000000000
--- a/sys-auth/authenticator/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>contact@paveloom.dev</email>
- <name>Pavel Sobolev</name>
- </maintainer>
- <upstream>
- <bugs-to>https://gitlab.gnome.org/World/Authenticator/-/issues</bugs-to>
- <remote-id type="gnome-gitlab">World/Authenticator</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/docker_auth/Manifest b/sys-auth/docker_auth/Manifest
deleted file mode 100644
index 520a6ac54d1d..000000000000
--- a/sys-auth/docker_auth/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST docker_auth-1.9.0-deps.tar.xz 352698988 BLAKE2B 9e90fd0bf98396d453a8c52d2d8f19b02eb460e0ac0f4f808399f48d479f1b1a6debc615dcff78a98fe07529569f7da5a121d715786bf810dff3bb3d783781bd SHA512 d24c6acdbcb156cf125579787f140a9004ac2c5a80953a7655e50bcc6ff84b266d59066488c48dbd52e1653e3cd5c88a67a71d4cb66b2345d41e6371c634121d
-DIST docker_auth-1.9.0.tar.gz 122606 BLAKE2B 29ce8fa1935e34eea1ed54b7656564ccf2803c1ded54e732b4f19966b46a69ad8f5224a17d85c6e7989feecb6724c04a21492473efa47ec08ae266c7fa8e74bd SHA512 be084d4b77b72c10a915950a7bc8bff39bed46edd68448337592650c5934fbaf1ec543e7eb27e8321bbb67302f96f60abe1ab3e151ce80adaa9667985425317b
diff --git a/sys-auth/docker_auth/docker_auth-1.9.0.ebuild b/sys-auth/docker_auth/docker_auth-1.9.0.ebuild
deleted file mode 100644
index 29a04edc7e1a..000000000000
--- a/sys-auth/docker_auth/docker_auth-1.9.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module
-
-DESCRIPTION="Docker Registry 2 authentication server"
-HOMEPAGE="https://github.com/cesanta/docker_auth"
-
-SRC_URI="https://github.com/cesanta/docker_auth/archive/${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT ZLIB"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-go/go-bindata"
-COMMON_DEPEND="acct-group/docker_auth
- acct-user/docker_auth"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-
-RESTRICT=" test"
-S="${S}/auth_server"
-
-src_compile() {
- # see the upstream Makefile for how to generate the VERSION and
- # BUILD_ID values.
- emake \
- VERSION=2022022022 \
- BUILD_ID=20220220-221158/1.9.0@636c09af \
- build
-}
-
-src_install() {
- cd ..
- dobin auth_server/auth_server
- dodoc README.md docs/*
- insinto /usr/share/${PF}
- doins -r examples
- insinto /etc/docker_auth/
- newins examples/reference.yml config.yml.example
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/${PN}.logrotated ${PN}
- keepdir /var/log/docker_auth
- fowners ${PN}:${PN} /var/log/docker_auth
-}
diff --git a/sys-auth/docker_auth/files/docker_auth.confd b/sys-auth/docker_auth/files/docker_auth.confd
deleted file mode 100644
index 096572cd8455..000000000000
--- a/sys-auth/docker_auth/files/docker_auth.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-# arguments for docker auth
-command_args="--log_dir /var/log/${RC_SVCNAME} /etc/docker_auth/config.yml"
diff --git a/sys-auth/docker_auth/files/docker_auth.initd b/sys-auth/docker_auth/files/docker_auth.initd
deleted file mode 100644
index 52699100d8c1..000000000000
--- a/sys-auth/docker_auth/files/docker_auth.initd
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Docker Registry Authentication Server"
-pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
-user=${user:-${SVCNAME}}
-group=${group:-${SVCNAME}}
-
-command="/usr/bin/auth_server"
-command_args="${command_args:--log_dir /var/log/${SVCNAME} /etc/docker_auth/config.yml}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
- --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
-
-depend() {
- after net
-}
diff --git a/sys-auth/docker_auth/files/docker_auth.logrotated b/sys-auth/docker_auth/files/docker_auth.logrotated
deleted file mode 100644
index 7bcd082c0719..000000000000
--- a/sys-auth/docker_auth/files/docker_auth.logrotated
+++ /dev/null
@@ -1,8 +0,0 @@
-/var/log/docker_auth/* {
- su docker_auth docker_auth
- missingok
- size 5M
- rotate 3
- compress
- copytruncate
-}
diff --git a/sys-auth/docker_auth/metadata.xml b/sys-auth/docker_auth/metadata.xml
deleted file mode 100644
index cf7248fbba08..000000000000
--- a/sys-auth/docker_auth/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>williamh@gentoo.org</email>
- <name>William Hubbs</name>
- </maintainer>
- <upstream>
- <remote-id type="github">cesanta/docker_auth</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest
deleted file mode 100644
index c37377cb9b44..000000000000
--- a/sys-auth/elogind/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-DIST elogind-252.9.tar.gz 1922777 BLAKE2B dd566125e407b3479a44b007890f97c9c87a325b3fed2d3505499d2163f113affd998e14b1c1fc50b9b86b0d155b51dae344dcc1cddafb6a48c631d0a0f00c9a SHA512 eed620cbc2f03bfeae6a80c9a421c21d3293fa40adffb96c7e4d86508c06712041f6623fb2bac15ecbb85faca4b5674ea6423b3067840809fb27d023fd9e5ffd
-DIST elogind-255.17.tar.gz 2183733 BLAKE2B d7d239e8ff946ed430df6245dba548fc39e7c9663b0cbcecbbf338fe9a13083f7143ddf34e493969dc183b17c3c986bf137bc8a8ce549c5bf10b73029fa7a8e7 SHA512 fb86f9d627792bbd1ab42e54345b2b670c073a077f65cdf860053ab0811c0892807c4f971820d7e703f7daa01f398cbd2dfb50ccdfc83cec1467308f7a4c2090
-DIST elogind-255.22.tar.gz 2139687 BLAKE2B ed7f8ea68c79813e5a2bbe82dcc0d05e3e240934c255792c0931c58cc82e8639e185075692f89f017d2a70bb7a50ab07139d51431e36156bead4713d11bcd7f7 SHA512 7b1e1c6cc917bcaac1b6f8ac538b355cf53a4236f1c5248bdc44caec25d012b6bced5395dc3a0d77c4e2783f196d939e0edbabd7c901124e683c54e298c05b03
-DIST elogind-255.23.tar.gz 2141771 BLAKE2B cc80c423156912b0f8f4f6a81885b2ad3f21621da0d7866cdaa9993f06d695fa50f96e9787cc54c1321270785f346e005e5555c7046c8d787b4e8c7bc9ff2c9b SHA512 914d0febc15b609147c346326c9d109931434ce9994f536c8c4f5d32efac0b3f8b9d851c71af802bd931b75fd6ef2736728db26dc781363c5d343aaaf15e7c7c
-DIST elogind-255.24.tar.gz 2143770 BLAKE2B b205cfa60a1eddac114e23f5dc28bd7dd3fa903ff67e1d4177cbe60f0e10da8f2cde9a92e8d7aea65535961aaf353e0c7a5df2d71196a5ab8154f38928b6739b SHA512 b8a436a7271df895613e6135f3ff9804f580fd7da915f38840e0c65638a6135f9a4671145f41fb186333b69a61ca52495b9e957aadbb383b15421e1e13f53b79
-DIST elogind-255.25.tar.gz 2144947 BLAKE2B 69996aade480b8d16a6c190cf33b136e20b4c624f0f9cfcaa2c25722ab00dba3543377b1547fec419e8e40a0f762a51d281c81f17aa96ba17e80a473c7d5b1d4 SHA512 f4bc22438a5de70c703f8997e155be07120f348c41b8538c2faef3cc5046d2f306528bbc258062c4b98fa520546ecbe2bff1e8e56647bbbafd2a3f05727732cb
-DIST elogind-255.27.tar.gz 2145606 BLAKE2B 60f60498afb33a5d2de2f8e1dcef17909d0cb3b295767a060163a2b238ebd536f403494e5363f36f72b0e4ffdebfff275ce253ec93d196e1e88941d377655ce9 SHA512 4861d422ed88c1a70108a09c212f63e6b8be94df742014c294de9ca689a54717cd2fa8d86910dbc5d1e3cb55b3826a254d13cc8c1fd27c2139e548d5ad7cef59
-DIST elogind-257.14.tar.gz 2639697 BLAKE2B a0e3e629c8022837e81100332914bdb85d0e2bd9a09934a13a59458ab22b30a264177feb66ea2e0de57b9cba96ec6b882c812064ebdace502771610978227773 SHA512 2ef3f197643093b3ebe9f46e47aa6275a5fccd1b0dab4cd500cf3009c8af70c8590684f363a9dfa8a599426b546e630074a0c853d3723391a244d5cb308fbdcc
-DIST elogind-257.16.tar.gz 2634151 BLAKE2B d243c53e91fdfc0493e745665c757a3d76308da77ece7171980bb64fe462979f07c0db8f83bc5b80887fc4b2b76c9c7e671c4cd21d58ae02c1790b472b29e9e1 SHA512 dfd61b635124de87bfbb5bac7e6607148e9f7f3eda5961669f9472ca7d050f465fe368ceb63e3aba1e5efe445959e91cf703d6a561966bafc9bc50c245224e68
diff --git a/sys-auth/elogind/elogind-252.9-r3.ebuild b/sys-auth/elogind/elogind-252.9-r3.ebuild
deleted file mode 100644
index d301b1d6d992..000000000000
--- a/sys-auth/elogind/elogind-252.9-r3.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v252-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-inherit linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md)
-
-PATCHES=(
- "${FILESDIR}/${P}-nodocs.patch"
- "${FILESDIR}/${P}-musl-lfs.patch"
- "${FILESDIR}/${P}-musl-1.2.5.patch"
- "${FILESDIR}/${P}-py-exec.patch" # bug 933398
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- if use elibc_musl; then
- # Some of musl-specific patches break build on the
- # glibc systems (like getdents), therefore those are
- # only used when the build is done for musl.
- PATCHES+=(
- "${FILESDIR}/${P}-musl-sigfillset.patch"
- "${FILESDIR}/${P}-musl-statx.patch"
- "${FILESDIR}/${P}-musl-rlim-max.patch"
- "${FILESDIR}/${P}-musl-getdents.patch"
- "${FILESDIR}/${P}-musl-gshadow.patch"
- "${FILESDIR}/${P}-musl-strerror_r.patch"
- "${FILESDIR}/${P}-musl-more-strerror_r.patch"
- )
- fi
-
- default
- xdg_environment_reset
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dpamlibdir=$(getpam_mod_dir)
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libdir="${EPREFIX}"/usr/$(get_libdir)
- -Drootlibdir="${EPREFIX}"/$(get_libdir)
- -Drootlibexecdir="${EPREFIX}"/$(get_libdir)/elogind
- -Drootprefix="${EPREFIX}/"
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dpolkit=$(usex policykit true false)
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl true false)
- -Daudit=$(usex audit true false)
- -Dhtml=$(usex doc auto false)
- -Dpam=$(usex pam true false)
- -Dselinux=$(usex selinux true false)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- sed -e "s|@libdir@|$(get_libdir)|" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die
- newconfd ${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- for version in ${REPLACING_VERSIONS}; do
- if ver_test "${version}" -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
- done
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.17-r1.ebuild b/sys-auth/elogind/elogind-255.17-r1.ebuild
deleted file mode 100644
index 968e8d033227..000000000000
--- a/sys-auth/elogind/elogind-255.17-r1.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${P}-revert-s2idle.patch" # bug 939042
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.22-r1.ebuild b/sys-auth/elogind/elogind-255.22-r1.ebuild
deleted file mode 100644
index 999706e9dc39..000000000000
--- a/sys-auth/elogind/elogind-255.22-r1.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
- "${FILESDIR}/${PN}-255.22-revert-openrc-user.patch" # bug 966481
- "${FILESDIR}/${PN}-255.22-musl.patch" # bug 967191
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.22.ebuild b/sys-auth/elogind/elogind-255.22.ebuild
deleted file mode 100644
index 1027a5c99321..000000000000
--- a/sys-auth/elogind/elogind-255.22.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.23.ebuild b/sys-auth/elogind/elogind-255.23.ebuild
deleted file mode 100644
index 48592d79506c..000000000000
--- a/sys-auth/elogind/elogind-255.23.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/V${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
- "${FILESDIR}/${PN}-255.22-musl.patch" # bug 967191
- "${FILESDIR}/${PN}-255.22-musl-deux.patch" # bug 967711
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.24.ebuild b/sys-auth/elogind/elogind-255.24.ebuild
deleted file mode 100644
index 713f4703eb71..000000000000
--- a/sys-auth/elogind/elogind-255.24.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
- "${FILESDIR}/${PN}-255.22-musl.patch" # bug 967191
- "${FILESDIR}/${PN}-255.22-musl-deux.patch" # bug 967711
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.25.ebuild b/sys-auth/elogind/elogind-255.25.ebuild
deleted file mode 100644
index 6a6163aab228..000000000000
--- a/sys-auth/elogind/elogind-255.25.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
- "${FILESDIR}/${PN}-255.22-musl.patch" # bug 967191
- "${FILESDIR}/${PN}-255.22-musl-deux.patch" # bug 967711
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-255.27.ebuild b/sys-auth/elogind/elogind-255.27.ebuild
deleted file mode 100644
index 542ab46e5d6d..000000000000
--- a/sys-auth/elogind/elogind-255.27.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- # all downstream patches:
- "${FILESDIR}/${PN}-252.9-nodocs.patch"
- # See also:
- # https://github.com/elogind/elogind/issues/285
- "${FILESDIR}/${PN}-255.17-revert-s2idle.patch" # bug 939042
- "${FILESDIR}/${PN}-255.22-musl.patch" # bug 967191
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-257.14-r1.ebuild b/sys-auth/elogind/elogind-257.14-r1.ebuild
deleted file mode 100644
index ac6bfadca931..000000000000
--- a/sys-auth/elogind/elogind-257.14-r1.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-PATCHES=(
- "${FILESDIR}/${PN}-257.14-dbus-service.patch" #975147
-)
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- rm "${ED}"/usr/share/doc/${PF}/LICENSE* || die
- rm "${ED}"/usr/share/doc/${PF}/CODING_STYLE.md || die
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-257.14.ebuild b/sys-auth/elogind/elogind-257.14.ebuild
deleted file mode 100644
index 4194644d6fc4..000000000000
--- a/sys-auth/elogind/elogind-257.14.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- rm "${ED}"/usr/share/doc/${PF}/LICENSE* || die
- rm "${ED}"/usr/share/doc/${PF}/CODING_STYLE.md || die
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/elogind-257.16.ebuild b/sys-auth/elogind/elogind-257.16.ebuild
deleted file mode 100644
index 4194644d6fc4..000000000000
--- a/sys-auth/elogind/elogind-257.16.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-if [[ ${PV} = *9999* ]]; then
- EGIT_BRANCH="v255-stable"
- EGIT_REPO_URI="https://github.com/elogind/elogind.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-inherit eapi9-ver linux-info meson pam python-any-r1 udev xdg-utils
-
-DESCRIPTION="The systemd project's logind, extracted to a standalone package"
-HOMEPAGE="https://github.com/elogind/elogind"
-
-LICENSE="CC0-1.0 LGPL-2.1+ public-domain"
-SLOT="0"
-IUSE="+acl audit cgroup-hybrid debug doc +pam +policykit selinux test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- app-text/docbook-xml-dtd:4.2
- app-text/docbook-xml-dtd:4.5
- app-text/docbook-xsl-stylesheets
- dev-util/gperf
- virtual/pkgconfig
- $(python_gen_any_dep 'dev-python/jinja2[${PYTHON_USEDEP}]')
- $(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
-"
-DEPEND="
- audit? ( sys-process/audit )
- sys-apps/util-linux
- sys-libs/libcap
- virtual/libudev:=
- acl? ( sys-apps/acl )
- pam? ( sys-libs/pam )
- selinux? ( sys-libs/libselinux )
-"
-RDEPEND="${DEPEND}
- !sys-apps/systemd
- >=sys-apps/systemd-utils-255.7-r4[udev]
-"
-PDEPEND="
- sys-apps/dbus
- policykit? ( sys-auth/polkit )
-"
-
-DOCS=( README.md )
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD"
-
- use kernel_linux && linux-info_pkg_setup
-}
-
-src_prepare() {
- default
- xdg_environment_reset
-
- # don't cleanup /dev/shm/ on logout on logout
- # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949698
- sed -e "s/#RemoveIPC=yes/RemoveIPC=no/" \
- -i src/login/logind.conf.in || die
-}
-
-src_configure() {
- if use cgroup-hybrid; then
- cgroupmode="hybrid"
- else
- cgroupmode="unified"
- fi
-
- python_setup
-
- EMESON_BUILDTYPE="$(usex debug debug release)"
-
- local emesonargs=(
- -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
- -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html"
- -Dudevrulesdir="${EPREFIX}$(get_udevdir)"/rules.d
- --libexecdir="lib/elogind"
- --localstatedir="${EPREFIX}"/var
- -Dbashcompletiondir="${EPREFIX}/usr/share/bash-completion/completions"
- -Dman=auto
- -Dsmack=true
- -Dcgroup-controller=openrc
- -Ddefault-hierarchy=${cgroupmode}
- -Ddefault-kill-user-processes=false
- -Dacl=$(usex acl enabled disabled)
- -Daudit=$(usex audit enabled disabled)
- -Dhtml=$(usex doc auto disabled)
- -Dpam=$(usex pam enabled disabled)
- -Dpamlibdir="$(getpam_mod_dir)"
- -Dselinux=$(usex selinux enabled disabled)
- -Dtests=$(usex test true false)
- -Dutmp=$(usex elibc_musl false true)
- -Dmode=release
-
- # Ensure consistency between merged-usr and split-usr (bug 945965)
- -Dhalt-path="${EPREFIX}/sbin/halt"
- -Dkexec-path="${EPREFIX}/usr/sbin/kexec"
- -Dnologin-path="${EPREFIX}/sbin/nologin"
- -Dpoweroff-path="${EPREFIX}/sbin/poweroff"
- -Dreboot-path="${EPREFIX}/sbin/reboot"
- )
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
- keepdir /var/lib/elogind
-
- rm "${ED}"/usr/share/doc/${PF}/LICENSE* || die
- rm "${ED}"/usr/share/doc/${PF}/CODING_STYLE.md || die
-
- newinitd "${FILESDIR}"/${PN}.init-r1 ${PN}
-
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_postinst() {
- udev_reload
- if ! use pam; then
- ewarn "${PN} will not be managing user logins/seats without USE=\"pam\"!"
- ewarn "In other words, it will be useless for most applications."
- ewarn
- fi
- if ! use policykit; then
- ewarn "loginctl will not be able to perform privileged operations without"
- ewarn "USE=\"policykit\"! That means e.g. no suspend or hibernate."
- ewarn
- fi
- if [[ "$(rc-config list boot | grep elogind)" != "" ]]; then
- elog "elogind is currently started from boot runlevel."
- elif [[ "$(rc-config list default | grep elogind)" != "" ]]; then
- ewarn "elogind is currently started from default runlevel."
- ewarn "Please remove elogind from the default runlevel and"
- ewarn "add it to the boot runlevel by:"
- ewarn "# rc-update del elogind default"
- ewarn "# rc-update add elogind boot"
- else
- elog "elogind is currently not started from any runlevel."
- elog "You may add it to the boot runlevel by:"
- elog "# rc-update add elogind boot"
- elog
- elog "Alternatively, you can leave elogind out of any"
- elog "runlevel. It will then be started automatically"
- if use pam; then
- elog "when the first service calls it via dbus, or"
- elog "the first user logs into the system."
- else
- elog "when the first service calls it via dbus."
- fi
- fi
-
- if ver_replacing -lt 252.9; then
- elog "Starting with release 252.9 the sleep configuration is now done"
- elog "in the /etc/elogind/sleep.conf. Should you use non-default sleep"
- elog "configuration remember to migrate those to new configuration file."
- fi
-
- local file files
- # find custom hooks excluding known (nvidia-drivers, sys-power/tlp)
- if [[ -d "${EROOT}"/$(get_libdir)/elogind/system-sleep ]]; then
- readarray -t files < <(find "${EROOT}"/$(get_libdir)/elogind/system-sleep/ \
- -type f \( -not -iname ".keep_dir" -a \
- -not -iname "nvidia" -a \
- -not -iname "49-tlp-sleep" \) || die)
- fi
- if [[ ${#files[@]} -gt 0 ]]; then
- ewarn "*** Custom hooks in obsolete path detected ***"
- for file in "${files[@]}"; do
- ewarn " ${file}"
- done
- ewarn "Move these custom hooks to ${EROOT}/etc/elogind/system-sleep/ instead."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-1.2.5.patch b/sys-auth/elogind/files/elogind-252.9-musl-1.2.5.patch
deleted file mode 100644
index cfd979170795..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-1.2.5.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-
-This is a backport from
-https://github.com/elogind/elogind/commit/d8dc8f66d6e64dfb45fc55c430a31b08b27c5165?diff=split&w=0
-effectively squashing several commits.
-
-diff -ruN elogind-252.9.orig/meson.build elogind-252.9/meson.build
---- elogind-252.9.orig/meson.build 2024-05-01 02:51:35.602756227 +1100
-+++ elogind-252.9/meson.build 2024-05-01 02:53:31.763434742 +1100
-@@ -655,7 +655,8 @@
- # ['pivot_root', '''#include <stdlib.h>
- # #include <unistd.h>'''], # no known header declares pivot_root
- #endif // 0
--#if 1 /// elogind supports musl, but upstream refuses to add qsort_r
-+#if 1 /// elogind supports musl, but upstream refuses to add qsort_r and has removed basename
-+ ['basename', '''#include <string.h>'''], # _GNU_SOURCE is defined, so test for GNU basename()
- ['qsort_r', '''#include <stdlib.h>'''],
- #endif // 1
- ['ioprio_get', '''#include <sched.h>'''], # no known header declares ioprio_get
-diff -ruN elogind-252.9.orig/src/basic/musl_missing.h elogind-252.9/src/basic/musl_missing.h
---- elogind-252.9.orig/src/basic/musl_missing.h 2023-05-15 22:35:29.000000000 +1100
-+++ elogind-252.9/src/basic/musl_missing.h 2024-05-01 02:54:48.293885181 +1100
-@@ -44,6 +44,12 @@
- # define HAVE_SECURE_GETENV 1
- #endif // HAVE_[__]SECURE_GETENV
-
-+#if ! HAVE_BASENAME
-+/* Poor man's basename */
-+# define basename(path) \
-+ (strrchr(path, '/') ? strrchr(path, '/')+1 : path)
-+#endif // HAVE_BASENAME
-+
- /* strndupa may already be defined in another compatibility header */
- #if !defined(strndupa)
- #define strndupa(x_src, x_n) \
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-getdents.patch b/sys-auth/elogind/files/elogind-252.9-musl-getdents.patch
deleted file mode 100644
index 35b7670787a0..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-getdents.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From dab02796780f00d689cc1c7a0ba81abe7c5f28d0 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 21 Jan 2022 15:15:11 -0800
-Subject: [PATCH] pass correct parameters to getdents64
-
-Fixes
-../git/src/basic/recurse-dir.c:57:40: error: incompatible pointer types passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'struct dirent *' [-Werror,-Wincompatible-pointer-types]
- n = getdents64(dir_fd, (uint8_t*) de->buffer + de->buffer_size, bs - de->buffer_size);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-../git/src/basic/stat-util.c:102:28: error: incompatible pointer types passing 'union (unnamed union at ../git/src/basic/stat-util.c:78:9) *' to parameter of type 'struct dirent *' [-Werror,-Wincompatible-pointer-types]
- n = getdents64(fd, &buffer, sizeof(buffer));
- ^~~~~~~
-
-Upstream-Status: Inappropriate [musl specific]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
-
----
- src/basic/recurse-dir.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/basic/recurse-dir.c b/src/basic/recurse-dir.c
-index d16ca98..31f6154 100644
---- a/src/basic/recurse-dir.c
-+++ b/src/basic/recurse-dir.c
-@@ -54,7 +54,7 @@ int readdir_all(int dir_fd,
- bs = MIN(MALLOC_SIZEOF_SAFE(de) - offsetof(DirectoryEntries, buffer), (size_t) SSIZE_MAX);
- assert(bs > de->buffer_size);
-
-- n = getdents64(dir_fd, (uint8_t*) de->buffer + de->buffer_size, bs - de->buffer_size);
-+ n = getdents(dir_fd, (struct dirent*)((uint8_t*) de->buffer + de->buffer_size), bs - de->buffer_size);
- if (n < 0)
- return -errno;
- if (n == 0)
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-gshadow.patch b/sys-auth/elogind/files/elogind-252.9-musl-gshadow.patch
deleted file mode 100644
index 95613cb66f6e..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-gshadow.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-just like the other part it's already patched in, not actually used
---
-diff --git a/src/shared/user-record-nss.h b/src/shared/user-record-nss.h
-index 7a41be7..3a970a6 100644
---- a/src/shared/user-record-nss.h
-+++ b/src/shared/user-record-nss.h
-@@ -2,7 +2,6 @@
- #pragma once
-
- #include <grp.h>
--#include <gshadow.h>
- #include <pwd.h>
- #include <shadow.h>
-
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch b/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch
deleted file mode 100644
index 4faa929c447a..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-lfs.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://github.com/systemd/systemd/pull/27599
-
-From d096e05c625ea825eb4d781216ded717b7f71cca Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Wed, 10 May 2023 01:47:13 +0100
-Subject: [PATCH] dirent: conditionalize dirent assert based on dirent64
- existence
-
->=musl-1.2.4 doesn't define dirent64 and its LFS friends as its "native"
-functions are already LFS-aware.
-
-Check for dirent64 in meson.build and only assert if it exists.
-
-Bug: https://bugs.gentoo.org/905900
-Closes: https://github.com/systemd/systemd/pull/25809
---- a/meson.build
-+++ b/meson.build
-@@ -599,6 +599,7 @@ decl_headers = '''
- # define _GNU_SOURCE 1
- # endif // _GNU_SOURCE
- #endif // 1
-+#include <dirent.h>
- #include <uchar.h>
- #include <sys/mount.h>
- #include <sys/stat.h>
-@@ -608,6 +609,7 @@ foreach decl : ['char16_t',
- 'char32_t',
- 'struct mount_attr',
- 'struct statx',
-+ 'struct dirent64',
- ]
-
- # We get -1 if the size cannot be determined
---- a/src/basic/dirent-util.h
-+++ b/src/basic/dirent-util.h
-@@ -39,6 +39,7 @@ struct dirent *readdir_no_dot(DIR *dirp);
- /* Only if 64bit off_t is enabled struct dirent + struct dirent64 are actually the same. We require this, and
- * we want them to be interchangeable to make getdents64() work, hence verify that. */
- assert_cc(_FILE_OFFSET_BITS == 64);
-+#if HAVE_STRUCT_DIRENT64
- assert_cc(sizeof(struct dirent) == sizeof(struct dirent64));
- assert_cc(offsetof(struct dirent, d_ino) == offsetof(struct dirent64, d_ino));
- assert_cc(sizeof_field(struct dirent, d_ino) == sizeof_field(struct dirent64, d_ino));
-@@ -50,6 +51,7 @@ assert_cc(offsetof(struct dirent, d_type) == offsetof(struct dirent64, d_type));
- assert_cc(sizeof_field(struct dirent, d_type) == sizeof_field(struct dirent64, d_type));
- assert_cc(offsetof(struct dirent, d_name) == offsetof(struct dirent64, d_name));
- assert_cc(sizeof_field(struct dirent, d_name) == sizeof_field(struct dirent64, d_name));
-+#endif
-
- #define FOREACH_DIRENT_IN_BUFFER(de, buf, sz) \
- for (void *_end = (uint8_t*) ({ (de) = (buf); }) + (sz); \
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-more-strerror_r.patch b/sys-auth/elogind/files/elogind-252.9-musl-more-strerror_r.patch
deleted file mode 100644
index 3cfafae4cbfe..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-more-strerror_r.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Patch-Source: https://github.com/chimera-linux/cports/blob/6ff62886181bc1325a1431157a80993497fd561b/main/udev/patches/0001-errno-util-Make-STRERROR-portable-for-musl.patch
---
-From f66b5c802ce0a3310f5580cfc1b02446f8087568 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 23 Jan 2023 23:39:46 -0800
-Subject: [PATCH] errno-util: Make STRERROR portable for musl
-
-Sadly, systemd has decided to use yet another GNU extention in a macro
-lets make this such that we can use XSI compliant strerror_r() for
-non-glibc hosts
-
-Upstream-Status: Inappropriate [musl specific]
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/basic/errno-util.h | 12 ++++++++++--
- 1 file changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/src/basic/errno-util.h b/src/basic/errno-util.h
-index 091f99c590..eb5c1f9961 100644
---- a/src/basic/errno-util.h
-+++ b/src/basic/errno-util.h
-@@ -14,8 +14,16 @@
- * https://stackoverflow.com/questions/34880638/compound-literal-lifetime-and-if-blocks
- *
- * Note that we use the GNU variant of strerror_r() here. */
--#define STRERROR(errnum) strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN)
--
-+static inline const char * STRERROR(int errnum);
-+
-+static inline const char * STRERROR(int errnum) {
-+#ifdef __GLIBC__
-+ return strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN);
-+#else
-+ static __thread char buf[ERRNO_BUF_LEN];
-+ return strerror_r(abs(errnum), buf, ERRNO_BUF_LEN) ? "unknown error" : buf;
-+#endif
-+}
- /* A helper to print an error message or message for functions that return 0 on EOF.
- * Note that we can't use ({ … }) to define a temporary variable, so errnum is
- * evaluated twice. */
---
-2.39.1
-
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-rlim-max.patch b/sys-auth/elogind/files/elogind-252.9-musl-rlim-max.patch
deleted file mode 100644
index de8f290f16b8..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-rlim-max.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/basic/rlimit-util.c b/src/basic/rlimit-util.c
-index afd74ac..3a731f4 100644
---- a/src/basic/rlimit-util.c
-+++ b/src/basic/rlimit-util.c
-@@ -44,7 +44,7 @@ int setrlimit_closest(int resource, const struct rlimit *rlim) {
- fixed.rlim_max == highest.rlim_max)
- return 0;
-
-- log_debug("Failed at setting rlimit " RLIM_FMT " for resource RLIMIT_%s. Will attempt setting value " RLIM_FMT " instead.", rlim->rlim_max, rlimit_to_string(resource), fixed.rlim_max);
-+ log_debug("Failed at setting rlimit %ju for resource RLIMIT_%s. Will attempt setting value %ju instead.", (uintmax_t)rlim->rlim_max, rlimit_to_string(resource), (uintmax_t)fixed.rlim_max);
-
- return RET_NERRNO(setrlimit(resource, &fixed));
- }
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-sigfillset.patch b/sys-auth/elogind/files/elogind-252.9-musl-sigfillset.patch
deleted file mode 100644
index 787eeac9bc80..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-sigfillset.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/basic/async.h b/src/basic/async.h
-index cf80acf..d22e77d 100644
---- a/src/basic/async.h
-+++ b/src/basic/async.h
-@@ -2,6 +2,7 @@
- #pragma once
-
- #include <sys/types.h>
-+#include <signal.h>
-
- #include "macro.h"
-
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-statx.patch b/sys-auth/elogind/files/elogind-252.9-musl-statx.patch
deleted file mode 100644
index 60a8942161df..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-statx.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c
-index ab8744b..59ff466 100644
---- a/src/basic/mountpoint-util.c
-+++ b/src/basic/mountpoint-util.c
-@@ -11,7 +11,7 @@
- //#include "filesystems.h"
- #include "fs-util.h"
- #include "missing_stat.h"
--//#include "missing_syscall.h"
-+#include "missing_syscall.h"
- //#include "mkdir.h"
- #include "mountpoint-util.h"
- #include "nulstr-util.h"
-diff --git a/src/basic/stat-util.c b/src/basic/stat-util.c
-index d8e0693..f8324ed 100644
---- a/src/basic/stat-util.c
-+++ b/src/basic/stat-util.c
-@@ -18,7 +18,7 @@
- #include "macro.h"
- //#include "missing_fs.h"
- #include "missing_magic.h"
--//#include "missing_syscall.h"
-+#include "missing_syscall.h"
- #include "nulstr-util.h"
- //#include "parse-util.h"
- #include "stat-util.h"
diff --git a/sys-auth/elogind/files/elogind-252.9-musl-strerror_r.patch b/sys-auth/elogind/files/elogind-252.9-musl-strerror_r.patch
deleted file mode 100644
index 04570f5fb3f4..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-musl-strerror_r.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-fix strerror_r use instead of whatever this define is meant to be doing
---
-From 0542d27ebbb250c09bdcfcf9f2ea3d27426fe522 Mon Sep 17 00:00:00 2001
-From: Chen Qi <Qi.Chen@windriver.com>
-Date: Tue, 10 Jul 2018 15:40:17 +0800
-Subject: [PATCH] distinguish XSI-compliant strerror_r from GNU-specifi
- strerror_r
-
-XSI-compliant strerror_r and GNU-specifi strerror_r are different.
-
- int strerror_r(int errnum, char *buf, size_t buflen);
- /* XSI-compliant */
-
- char *strerror_r(int errnum, char *buf, size_t buflen);
- /* GNU-specific */
-
-We need to distinguish between them. Otherwise, we'll get an int value
-assigned to (char *) variable, resulting in segment fault.
-
-Upstream-Status: Inappropriate [musl specific]
-
-Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-
----
- src/libsystemd/sd-bus/bus-error.c | 5 +++++
- src/libsystemd/sd-journal/journal-send.c | 5 +++++
- 2 files changed, 10 insertions(+)
-
-diff --git a/src/basic/musl_missing.h b/src/basic/musl_missing.h
-index 41c66c9..a2e1d7e 100644
---- a/src/basic/musl_missing.h
-+++ b/src/basic/musl_missing.h
-@@ -26,8 +26,6 @@ void elogind_set_program_name(const char* pcall);
- #include <unistd.h>
- #include <pthread.h> /* for pthread_atfork */
-
--#define strerror_r(e, m, k) (strerror_r(e, m, k) < 0 ? strdup("strerror_r() failed") : m);
--
- /*
- * Possibly TODO according to http://man7.org/linux/man-pages/man3/getenv.3.html
- * + test if the process's effective user ID does not match its real user ID or
-diff --git a/src/libelogind/sd-bus/bus-error.c b/src/libelogind/sd-bus/bus-error.c
-index 4d687cf..1459396 100644
---- a/src/libelogind/sd-bus/bus-error.c
-+++ b/src/libelogind/sd-bus/bus-error.c
-@@ -409,7 +409,12 @@ static void bus_error_strerror(sd_bus_error *e, int error) {
- return;
-
- errno = 0;
-+#ifndef __GLIBC__
-+ strerror_r(error, m, k);
-+ x = m;
-+#else
- x = strerror_r(error, m, k);
-+#endif
- if (errno == ERANGE || strlen(x) >= k - 1) {
- free(m);
- k *= 2;
-@@ -594,8 +599,12 @@ const char* _bus_error_message(const sd_bus_error *e, int error, char buf[static
-
- if (e && e->message)
- return e->message;
--
-+#ifndef __GLIBC__
-+ strerror_r(abs(error), buf, ERRNO_BUF_LEN);
-+ return buf;
-+#else
- return strerror_r(abs(error), buf, ERRNO_BUF_LEN);
-+#endif
- }
-
- static bool map_ok(const sd_bus_error_map *map) {
-diff --git a/src/libelogind/sd-journal/journal-send.c b/src/libelogind/sd-journal/journal-send.c
-index 4010197..1d49868 100644
---- a/src/libelogind/sd-journal/journal-send.c
-+++ b/src/libelogind/sd-journal/journal-send.c
-@@ -444,7 +444,12 @@ static int fill_iovec_perror_and_send(const char *message, int skip, struct iove
- char* j;
-
- errno = 0;
-+#ifndef __GLIBC__
-+ strerror_r(_saved_errno_, buffer + 8 + k, n - 8 - k);
-+ j = buffer + 8 + k;
-+#else
- j = strerror_r(_saved_errno_, buffer + 8 + k, n - 8 - k);
-+#endif
- if (errno == 0) {
- char error[STRLEN("ERRNO=") + DECIMAL_STR_MAX(int) + 1];
-
diff --git a/sys-auth/elogind/files/elogind-252.9-nodocs.patch b/sys-auth/elogind/files/elogind-252.9-nodocs.patch
deleted file mode 100644
index 4be92f95fa24..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-nodocs.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/meson.build b/meson.build
-index 694a2fd97..9b97cafef 100644
---- a/meson.build
-+++ b/meson.build
-@@ -4528,15 +4528,11 @@ subdir('shell-completion/zsh')
- # install_dir : xinitrcdir)
- # endif
- #endif // 0
--install_data('LICENSE.GPL2',
-- 'LICENSE.LGPL2.1',
- #if 0 /// elogind has upgraded to markdown, and the NEWS file is useless
- # 'NEWS',
- # 'README',
- #else // 0
-- 'README.md',
- #endif // 0
-- 'docs/CODING_STYLE.md',
- #if 0 /// irrelevant for elogind
- # 'docs/DISTRO_PORTING.md',
- # 'docs/ENVIRONMENT.md',
-@@ -4545,7 +4541,6 @@ install_data('LICENSE.GPL2',
- # 'docs/TRANSLATORS.md',
- # 'docs/UIDS-GIDS.md',
- #endif // 0
-- install_dir : docdir)
-
- #if 0 /// irrelevant for elogind
- # install_subdir('LICENSES',
diff --git a/sys-auth/elogind/files/elogind-252.9-py-exec.patch b/sys-auth/elogind/files/elogind-252.9-py-exec.patch
deleted file mode 100644
index 05f37e64d29b..000000000000
--- a/sys-auth/elogind/files/elogind-252.9-py-exec.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-From f56b6bfa18b6b582619074135b07ff35a84e6a01 Mon Sep 17 00:00:00 2001
-From: Sven Eden <sven@eden-worx.com>
-Date: Wed, 1 Nov 2023 15:14:01 +0100
-Subject: [PATCH] Add execution bit on tools that had it missing.
-
-Signed-off-by: Sven Eden <sven@eden-worx.com>
----
- tools/dbus_exporter.py | 0
- tools/meson-render-jinja2.py | 0
- 3 files changed, 0 insertions(+), 0 deletions(-)
- mode change 100644 => 100755 tools/dbus_exporter.py
- mode change 100644 => 100755 tools/meson-render-jinja2.py
-
-diff --git a/tools/dbus_exporter.py b/tools/dbus_exporter.py
-old mode 100644
-new mode 100755
-diff --git a/tools/meson-render-jinja2.py b/tools/meson-render-jinja2.py
-old mode 100644
-new mode 100755
diff --git a/sys-auth/elogind/files/elogind-255.17-revert-s2idle.patch b/sys-auth/elogind/files/elogind-255.17-revert-s2idle.patch
deleted file mode 100644
index 053e5f939d05..000000000000
--- a/sys-auth/elogind/files/elogind-255.17-revert-s2idle.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 484126708da24d1611cb0697c6e3a20088b1a839 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Tue, 12 Nov 2024 23:43:16 +0100
-Subject: [PATCH] Revert "Re-Add sleep mode configuration"
-
-This reverts commit 7707a30dfb2496a4c9c5939f0dd8bb39baebfecd.
-
-sleep.donf.d/10-elogind.conf: Revert set SuspendMode=s2idle deep
-
-This reverts a tiny part of commit c5e7ba0c47ae95e2cf6fd48dc9353e8f333200c4.
----
- src/shared/sleep-config.c | 8 --------
- src/sleep/10-elogind.conf | 1 -
- 2 files changed, 9 deletions(-)
-
-diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
-index 941a013eb..27f2fcd76 100644
---- a/src/shared/sleep-config.c
-+++ b/src/shared/sleep-config.c
-@@ -42,11 +42,7 @@ static char* const* const sleep_default_state_table[_SLEEP_OPERATION_CONFIG_MAX]
- };
-
- static char* const* const sleep_default_mode_table[_SLEEP_OPERATION_CONFIG_MAX] = {
--#if 0 /// elogind supports suspend modes (deep s2idle) so we need defaults, too
- /* Not used by SLEEP_SUSPEND */
--#else // 0
-- [SLEEP_SUSPEND] = STRV_MAKE("deep", "s2idle"),
--#endif // 0
- [SLEEP_HIBERNATE] = STRV_MAKE("platform", "shutdown"),
- [SLEEP_HYBRID_SLEEP] = STRV_MAKE("suspend"),
- };
-@@ -172,11 +168,7 @@ int parse_sleep_config(SleepConfig **ret) {
- { "Sleep", "AllowHybridSleep", config_parse_tristate, 0, &allow_hybrid_sleep },
-
- { "Sleep", "SuspendState", config_parse_strv, 0, sc->states + SLEEP_SUSPEND },
--#if 0 /// elogind does support suspend modes
- { "Sleep", "SuspendMode", config_parse_warn_compat, DISABLED_LEGACY, NULL },
--#else // 0
-- { "Sleep", "SuspendMode", config_parse_sleep_mode, 0, sc->modes + SLEEP_SUSPEND },
--#endif // 0
-
- { "Sleep", "HibernateState", config_parse_warn_compat, DISABLED_LEGACY, NULL },
- { "Sleep", "HibernateMode", config_parse_sleep_mode, 0, sc->modes + SLEEP_HIBERNATE },
-diff --git a/src/sleep/10-elogind.conf b/src/sleep/10-elogind.conf
-index 4d4e29bea..6c9cbd477 100644
---- a/src/sleep/10-elogind.conf
-+++ b/src/sleep/10-elogind.conf
-@@ -19,4 +19,3 @@
- #HandleNvidiaSleep=no
- #HibernateByUsing=
- #SuspendByUsing=
--#SuspendMode=deep s2idle
---
-2.51.2
-
diff --git a/sys-auth/elogind/files/elogind-255.22-musl-deux.patch b/sys-auth/elogind/files/elogind-255.22-musl-deux.patch
deleted file mode 100644
index a64e7264c347..000000000000
--- a/sys-auth/elogind/files/elogind-255.22-musl-deux.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-https://bugs.gentoo.org/967711#c5
-
-From 182f0406205b2d9302f555a1afb52d6f70dc488e Mon Sep 17 00:00:00 2001
-From: "David C. Manuelda" <StormByte@gmail.com>
-Date: Sun, 19 Apr 2026 23:31:25 +0200
-Subject: [PATCH] Musl fixes
-
----
- src/basic/missing_prctl.h | 3 +++
- src/libelogind/sd-journal/journal-file.h | 1 +
- src/shared/user-record-nss.h | 1 -
- 3 files changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/basic/missing_prctl.h b/src/basic/missing_prctl.h
-index 7d9e395..80d9af3 100644
---- a/src/basic/missing_prctl.h
-+++ b/src/basic/missing_prctl.h
-@@ -1,7 +1,10 @@
- /* SPDX-License-Identifier: LGPL-2.1-or-later */
- #pragma once
-
-+#include <sys/prctl.h>
-+#ifndef PR_SET_MM_MAP
- #include <linux/prctl.h>
-+#endif
-
- /* 58319057b7847667f0c9585b9de0e8932b0fdb08 (4.3) */
- #ifndef PR_CAP_AMBIENT
-diff --git a/src/libelogind/sd-journal/journal-file.h b/src/libelogind/sd-journal/journal-file.h
-index c3c5f59..3e62495 100644
---- a/src/libelogind/sd-journal/journal-file.h
-+++ b/src/libelogind/sd-journal/journal-file.h
-@@ -3,6 +3,7 @@
-
- #include <fcntl.h>
- #include <inttypes.h>
-+#include <sys/stat.h>
- //#include <sys/uio.h>
-
- #if HAVE_GCRYPT
-diff --git a/src/shared/user-record-nss.h b/src/shared/user-record-nss.h
-index 7a41be7..3a970a6 100644
---- a/src/shared/user-record-nss.h
-+++ b/src/shared/user-record-nss.h
-@@ -2,7 +2,6 @@
- #pragma once
-
- #include <grp.h>
--#include <gshadow.h>
- #include <pwd.h>
- #include <shadow.h>
-
---
-2.53.0
diff --git a/sys-auth/elogind/files/elogind-255.22-musl.patch b/sys-auth/elogind/files/elogind-255.22-musl.patch
deleted file mode 100644
index 38a68be6b25f..000000000000
--- a/sys-auth/elogind/files/elogind-255.22-musl.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-https://github.com/elogind/elogind/commit/c09b9caece0459ec56b234a87583e1bfac3c3271
-
-From c09b9caece0459ec56b234a87583e1bfac3c3271 Mon Sep 17 00:00:00 2001
-From: Sven Eden <sven@eden-worx.com>
-Date: Thu, 20 Nov 2025 08:12:12 +0100
-Subject: [PATCH] journal-send.c, bus-error.c: Fix strerror_r handling for
- non-GLIBC systems
-
-Fix the handling of `strerror_r` in non-GLIBC systems to ensure compatibility.
-
-- Handle `strerror_r` differently for non-GLIBC systems in `journal-send.c`.
-- Handle `strerror_r` differently for non-GLIBC systems in `bus-error.c`.
-- Remove redundant definition of `strerror_r` from `musl_missing.h`.
-
-This change ensures that the `strerror_r` function behaves correctly across different environments, particularly on systems using the musl C library.
-
-Bug: #320
-Closes: #320
-Signed-off-by: Sven Eden <sven@eden-worx.com>
----
- src/basic/musl_missing.h | 2 --
- src/libelogind/sd-bus/bus-error.c | 10 ++++++++++
- src/libelogind/sd-journal/journal-send.c | 5 +++++
- 3 files changed, 15 insertions(+), 2 deletions(-)
-
-diff --git a/src/basic/musl_missing.h b/src/basic/musl_missing.h
-index d8a5bff222..3f592f1c6f 100644
---- a/src/basic/musl_missing.h
-+++ b/src/basic/musl_missing.h
-@@ -26,8 +26,6 @@ void elogind_set_program_name(const char* pcall);
- #include <unistd.h>
- #include <pthread.h> /* for pthread_atfork */
-
--#define strerror_r(e, m, k) (strerror_r(e, m, k) < 0 ? strdup("strerror_r() failed") : m);
--
- /*
- * Possibly TODO according to http://man7.org/linux/man-pages/man3/getenv.3.html
- * + test if the process's effective user ID does not match its real user ID or
-diff --git a/src/libelogind/sd-bus/bus-error.c b/src/libelogind/sd-bus/bus-error.c
-index 58c24d25c0..4895bd3c66 100644
---- a/src/libelogind/sd-bus/bus-error.c
-+++ b/src/libelogind/sd-bus/bus-error.c
-@@ -405,7 +405,12 @@ static void bus_error_strerror(sd_bus_error *e, int error) {
- return;
-
- errno = 0;
-+#ifndef __GLIBC__
-+ strerror_r(error, m, k);
-+ x = m;
-+#else // __GLIBC__
- x = strerror_r(error, m, k);
-+#endif // __GLIBC__
- if (errno == ERANGE || strlen(x) >= k - 1) {
- free(m);
- k *= 2;
-@@ -591,7 +596,12 @@ const char* _bus_error_message(const sd_bus_error *e, int error, char buf[static
- if (e && e->message)
- return e->message;
-
-+#ifndef __GLIBC__
-+ strerror_r(abs(error), buf, ERRNO_BUF_LEN);
-+ return buf;
-+#else // __GLIBC__
- return strerror_r(abs(error), buf, ERRNO_BUF_LEN);
-+#endif // __GLIBC__
- }
-
- static bool map_ok(const sd_bus_error_map *map) {
-diff --git a/src/libelogind/sd-journal/journal-send.c b/src/libelogind/sd-journal/journal-send.c
-index f0a0190a5b..6bfa2211f3 100644
---- a/src/libelogind/sd-journal/journal-send.c
-+++ b/src/libelogind/sd-journal/journal-send.c
-@@ -424,7 +424,12 @@ static int fill_iovec_perror_and_send(const char *message, int skip, struct iove
- char* j;
-
- errno = 0;
-+#ifndef __GLIBC__
-+ strerror_r(_saved_errno_, buffer + 8 + k, n - 8 - k);
-+ j = buffer + 8 + k;
-+#else // __GLIBC__
- j = strerror_r(_saved_errno_, buffer + 8 + k, n - 8 - k);
-+#endif // __GLIBC__
- if (errno == 0) {
- char error[STRLEN("ERRNO=") + DECIMAL_STR_MAX(int) + 1];
-
-
diff --git a/sys-auth/elogind/files/elogind-255.22-revert-openrc-user.patch b/sys-auth/elogind/files/elogind-255.22-revert-openrc-user.patch
deleted file mode 100644
index 05111c90a700..000000000000
--- a/sys-auth/elogind/files/elogind-255.22-revert-openrc-user.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-https://bugs.gentoo.org/966481
-https://gitlab.alpinelinux.org/alpine/aports/-/issues/17736
-
-From 7ca52bb11c92e80a2d7c16efbf77194115a1b678 Mon Sep 17 00:00:00 2001
-From: Lauri Tirkkonen <lauri@hacktheplanet.fi>
-Date: Mon, 24 Nov 2025 20:38:44 +0900
-Subject: [PATCH 10/10] Revert "pam_elogind: Add special treatment of
- openrc-user"
-
-https://gitlab.alpinelinux.org/alpine/aports/-/issues/17745
-
-This reverts commit ff4c383caa3963bee0df0b92c7f851ef1c161e66.
-
-Signed-off-by: Achill Gilgenast <achill@achill.org>
----
- src/login/pam_elogind.c | 22 ++++++++--------------
- 1 file changed, 8 insertions(+), 14 deletions(-)
-
-diff --git a/src/login/pam_elogind.c b/src/login/pam_elogind.c
-index 5ceab0a80955..add1c340417f 100644
---- a/src/login/pam_elogind.c
-+++ b/src/login/pam_elogind.c
-@@ -779,6 +779,7 @@ static uint64_t pick_default_capability_ambient_set(
- const char *service,
- const char *seat) {
-
-+#if 0 /// elogind has no user instances like systemd-user
- /* If not configured otherwise, let's enable CAP_WAKE_ALARM for regular users when logging in on a
- * seat (i.e. when they are present physically on the device), or when invoked for the systemd --user
- * instances. This allows desktops to install CAP_WAKE_ALARM to implement alarm clock apps without
-@@ -786,11 +787,15 @@ static uint64_t pick_default_capability_ambient_set(
-
- return ur &&
- user_record_disposition(ur) == USER_REGULAR &&
--#if 0 /// elogind also recognizes openrc-user
- (streq_ptr(service, "systemd-user") || !isempty(seat)) ? (UINT64_C(1) << CAP_WAKE_ALARM) : UINT64_MAX;
- #else // 0
-- (streq_ptr(service, "openrc-user") || streq_ptr(service, "systemd-user") || !isempty(seat))
-- ? (UINT64_C(1) << CAP_WAKE_ALARM) : UINT64_MAX;
-+ /* If not configured otherwise, let's enable CAP_WAKE_ALARM for regular users when logging in on a
-+ * seat (i.e. when they are present physically on the device).
-+ * This allows desktops to install CAP_WAKE_ALARM to implement alarm clock apps without
-+ * much fuss. */
-+
-+ return ur && user_record_disposition(ur) == USER_REGULAR && (!isempty(seat))
-+ ? (UINT64_C(1) << CAP_WAKE_ALARM) : UINT64_MAX;
- #endif // 0
- }
-
-@@ -1003,18 +1008,7 @@ _public_ PAM_EXTERN int pam_sm_open_session(
-
- tty = strempty(tty);
-
--#if 0 /// Detect when elogind is called from an openrc-user PAM stack.
- if (strchr(tty, ':')) {
--#else // 0
-- if (streq_ptr(service, "openrc-user")) {
-- /* If we detect that we are running in the "openrc-user" PAM stack, then let's patch the class to
-- * 'manager' if not set, simply for robustness reasons. */
-- type = "unspecified";
-- class = IN_SET(user_record_disposition(ur), USER_INTRINSIC, USER_SYSTEM, USER_DYNAMIC) ?
-- "manager-early" : "manager";
-- tty = NULL;
-- } else if (strchr(tty, ':')) {
--#endif // 0
- /* A tty with a colon is usually an X11 display, placed there to show up in utmp. We rearrange things
- * and don't pretend that an X display was a tty. */
- if (isempty(display))
---
-2.52.0
-
diff --git a/sys-auth/elogind/files/elogind-257.14-dbus-service.patch b/sys-auth/elogind/files/elogind-257.14-dbus-service.patch
deleted file mode 100644
index 19d0689d4d81..000000000000
--- a/sys-auth/elogind/files/elogind-257.14-dbus-service.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-https://bugs.gentoo.org/975147
-
-From 1ed884548cc431a42b84ce67c600051e1f67ed09 Mon Sep 17 00:00:00 2001
-From: Sven Eden <sven@eden-worx.com>
-Date: Mon, 1 Jun 2026 12:05:28 +0200
-Subject: [PATCH] src/login/meson.build: enable install for D-Bus service file
- (#354)
-
---- a/src/login/meson.build
-+++ b/src/login/meson.build
-@@ -208,7 +208,8 @@ if enable_logind
- input: 'org.freedesktop.login1.service.in',
- output: 'org.freedesktop.login1.service',
- command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
-- install_dir : dbussystemservicedir)
-+ install_dir : dbussystemservicedir,
-+ install : true)
- #endif // 0
-
- install_data(
diff --git a/sys-auth/elogind/files/elogind.conf b/sys-auth/elogind/files/elogind.conf
deleted file mode 100644
index 167260a42aa5..000000000000
--- a/sys-auth/elogind/files/elogind.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/elogind: config file for /etc/init.d/elogind
-
-# this is the elogind executable
-ELOGIND_EXEC="/usr/lib/elogind/elogind"
-
-# this is where elogind will store its pid file
-ELOGIND_PIDFILE="/run/elogind.pid"
diff --git a/sys-auth/elogind/files/elogind.conf.in b/sys-auth/elogind/files/elogind.conf.in
deleted file mode 100644
index 7b05b3502794..000000000000
--- a/sys-auth/elogind/files/elogind.conf.in
+++ /dev/null
@@ -1,7 +0,0 @@
-# /etc/conf.d/elogind: config file for /etc/init.d/elogind
-
-# this is the elogind executable
-ELOGIND_EXEC="/@libdir@/elogind/elogind"
-
-# this is where elogind will store its pid file
-ELOGIND_PIDFILE="/run/elogind.pid"
diff --git a/sys-auth/elogind/files/elogind.init-r1 b/sys-auth/elogind/files/elogind.init-r1
deleted file mode 100644
index 1cb5071c621e..000000000000
--- a/sys-auth/elogind/files/elogind.init-r1
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need dbus
-
- # Make sure elogind is up before xdm starts any dm
- before xdm
-
- use logger
-}
-
-start() {
- ebegin "Starting elogind"
-
- start-stop-daemon --start --quiet \
- --pidfile "${ELOGIND_PIDFILE}" \
- --exec "${ELOGIND_EXEC}" -- --daemon
- eend $?
-}
-
-stop() {
- ebegin "Stopping elogind"
- start-stop-daemon --stop --quiet --pidfile "${ELOGIND_PIDFILE}"
- eend $?
-}
diff --git a/sys-auth/elogind/metadata.xml b/sys-auth/elogind/metadata.xml
deleted file mode 100644
index ce8da1d386de..000000000000
--- a/sys-auth/elogind/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>asturm@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="cgroup-hybrid">Use hybrid cgroup hierarchy instead of unified (OpenRC's default).</flag>
- </use>
- <upstream>
- <remote-id type="github">elogind/elogind</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/fprintd/Manifest b/sys-auth/fprintd/Manifest
deleted file mode 100644
index 71c819475f3a..000000000000
--- a/sys-auth/fprintd/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST fprintd-v1.94.2.tar.bz2 657989 BLAKE2B 5855ab453ae6d73e08c60c699a95609262fd121ab020f9ffeafb8d1891a60f761f47e4acd11554179b6d9cbed8a734aafb012a4b6de3e9ad67d4160534a0e6c6 SHA512 0b5ebc595b617fbe9167c41a80e31ae74e7bdc87350b0420839e1a6229d7709e51ff2836858c46d8d30549a1f0811b0f697034fcdd09512b5c1099f0f0a3b112
-DIST fprintd-v1.94.3.tar.bz2 661765 BLAKE2B 9cb1170092616cb095322cde4f55b354ad9f1481600fa4faf9d48d4dc22d3e71c1ff332877211d3ea4382cf37a8865a4b5aebb4f679b485d345abcb1d7ceb239 SHA512 bd6d9c6a78e445e55e0fb9da57d46ac354a1e768f34f2f1220e123db5d8d31773020fff43952b495262bb0188bb9b330682ff04ce6767c59043b511c03f55848
-DIST fprintd-v1.94.5.tar.bz2 661981 BLAKE2B da180b1d2a42c7db173c16eb507877c2369ef07ee9927e9a7dd377c1fc7dcc53d5bf14f939693aff6caa8a626aeb4ede7d68ebf4df9b1d64fef53416a3dd8857 SHA512 b1c78917d6215d1fd1fb66f24fa2c48c2f22ac63ca6dadbaabe3cabdec1800d3870837b3f789b38612eb61a36cc5f2a18c56b0c6e3c13dab5d3d804051f4639e
diff --git a/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch b/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch
deleted file mode 100644
index 95428184c2f5..000000000000
--- a/sys-auth/fprintd/files/fprintd-1.90.7_0001-add-test-feature-and-make-tests-optional.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 7820465f078e9655af70036d8c570fd644b38f22 Mon Sep 17 00:00:00 2001
-From: Martin Gysel <me@bearsh.org>
-Date: Thu, 19 Nov 2020 07:04:10 +0100
-Subject: [PATCH 1/2] add test feature and make tests optional
-
----
- meson.build | 14 ++++++++++----
- meson_options.txt | 4 ++++
- 2 files changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 66aa2f7..ba44788 100644
---- a/meson.build
-+++ b/meson.build
-@@ -125,7 +125,7 @@ endif
- polkit_policy_directory = polkit_gobject_dep.get_pkgconfig_variable('policydir')
-
- # Tests dependencies
--pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam'))
-+pam_wrapper_dep = dependency('pam_wrapper', required: get_option('pam') and get_option('test').enabled() )
-
- xmllint = find_program('xmllint', required: false)
- python3 = find_program('python3') # No meson without it!
-@@ -139,11 +139,13 @@ python3_test_modules = {
- }
- python3_available_modules = []
-
-+if get_option('test').enabled()
- foreach module, required : python3_test_modules
- if required and run_command(python3, '-c', 'import @0@'.format(module)).returncode() != 0
- error('Python3 module \'' + module + '\' required by test suite not found')
- endif
- endforeach
-+endif
-
- cdata = configuration_data()
- cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
-@@ -167,7 +169,9 @@ endif
- if get_option('gtk_doc')
- subdir('doc')
- endif
--subdir('tests')
-+if get_option('test').enabled()
-+ subdir('tests')
-+endif
- subdir('po')
-
- output = []
-@@ -189,7 +193,9 @@ output += ' PAM module: ' + pam_dep.found().to_string()
- output += ' Manuals: ' + get_option('man').to_string()
- output += ' GTK Doc: ' + get_option('gtk_doc').to_string()
- output += ' XML Linter ' + xmllint.found().to_string()
--output += '\nTest setup:\n'
--output += ' With address sanitizer: ' + address_sanitizer.to_string()
-+if get_option('test').enabled()
-+ output += '\nTest setup:\n'
-+ output += ' With address sanitizer: ' + address_sanitizer.to_string()
-+endif
-
- message('\n'+'\n'.join(output)+'\n')
-diff --git a/meson_options.txt b/meson_options.txt
-index be31fe1..92c01cd 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -19,3 +19,7 @@ option('gtk_doc',
- type: 'boolean',
- value: false,
- description: 'Use gtk-doc to build documentation')
-+option('test',
-+ type: 'feature',
-+ value: 'disabled',
-+ description: 'Enable tests')
---
-2.29.2
-
diff --git a/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch b/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch
deleted file mode 100644
index a10026f33466..000000000000
--- a/sys-auth/fprintd/files/fprintd-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- fprintd-v1.90.8/meson.build.orig 2020-12-13 08:08:13.886367478 +0100
-+++ fprintd-v1.90.8/meson.build 2020-12-13 08:30:16.056756878 +0100
-@@ -84,7 +84,7 @@
- libfprint_dep = dependency('libfprint-2', version: '>=' + libfprint_min_version)
- polkit_gobject_dep = dependency('polkit-gobject-1', version: '>= 0.91')
- dbus_dep = dependency('dbus-1', required: false)
--libsystemd_dep = dependency('libsystemd', required: get_option('pam'))
-+libsystemd_dep = dependency(get_option('libsystemd'), required: get_option('pam'))
- pam_dep = cc.find_library('pam',
- required: get_option('pam'),
- has_headers: 'security/pam_modules.h',
---- fprintd-v1.90.8/meson_options.txt.orig 2020-12-13 08:08:13.886367478 +0100
-+++ fprintd-v1.90.8/meson_options.txt 2020-12-13 08:26:57.111919403 +0100
-@@ -10,6 +10,10 @@
- description: 'Install system service files',
- type: 'boolean',
- value: true)
-+option('libsystemd',
-+ description: 'Libsystemd provider (libsystemd or libelogind)',
-+ type: 'string',
-+ value: 'libsystemd')
- option('systemd_system_unit_dir',
- description: 'Directory for systemd service files',
- type: 'string')
diff --git a/sys-auth/fprintd/files/fprintd-1.94.3-test-optional.patch b/sys-auth/fprintd/files/fprintd-1.94.3-test-optional.patch
deleted file mode 100644
index 859c8376def1..000000000000
--- a/sys-auth/fprintd/files/fprintd-1.94.3-test-optional.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-https://gitlab.freedesktop.org/libfprint/fprintd/-/merge_requests/199
-
-From 494df63b916bbf3ebf5e0bfc843a1b5298de63b6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?=
- <zboszor@gmail.com>
-Date: Thu, 30 Mar 2023 15:06:14 +0200
-Subject: [PATCH] Make building tests optional
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
----
- meson.build | 10 +++++++++-
- meson_options.txt | 4 ++++
- 2 files changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index 859bcf2..2abdd1f 100644
---- a/meson.build
-+++ b/meson.build
-@@ -137,13 +137,16 @@ endif
- polkit_policy_directory = polkit_gobject_dep.get_pkgconfig_variable('policydir')
-
- # Tests dependencies
-+if get_option('tests')
- pam_wrapper_dep = dependency('pam_wrapper', required: false)
- if get_option('pam') and not pam_wrapper_dep.found()
- warning('Dependency "pam_wrapper" required by test suite not found')
- endif
-+endif
-
- xmllint = find_program('xmllint', required: false)
- python3 = find_program('python3') # No meson without it!
-+if get_option('tests')
- python3_test_modules = {
- 'cairo': true,
- 'dbus': true,
-@@ -159,6 +162,7 @@ foreach module, required : python3_test_modules
- warning('Python3 module \'' + module + '\' required by test suite not found')
- endif
- endforeach
-+endif
-
- cdata = configuration_data()
- cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
-@@ -182,7 +186,9 @@ endif
- if get_option('gtk_doc')
- subdir('doc')
- endif
--subdir('tests')
-+if get_option('tests')
-+ subdir('tests')
-+endif
- subdir('po')
-
- output = []
-@@ -205,6 +211,8 @@ output += ' Manuals: ' + get_option('man').to_string()
- output += ' GTK Doc: ' + get_option('gtk_doc').to_string()
- output += ' XML Linter ' + xmllint.found().to_string()
- output += '\nTest setup:\n'
-+if get_option('tests')
- output += ' With address sanitizer: ' + address_sanitizer.to_string()
-+endif
-
- message('\n'+'\n'.join(output)+'\n')
-diff --git a/meson_options.txt b/meson_options.txt
-index 286889e..73b28f2 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -28,3 +28,7 @@ option('gtk_doc',
- type: 'boolean',
- value: false,
- description: 'Use gtk-doc to build documentation')
-+option('tests',
-+ type: 'boolean',
-+ value: true,
-+ description: 'Run tests')
---
-GitLab
-
diff --git a/sys-auth/fprintd/fprintd-1.94.2-r1.ebuild b/sys-auth/fprintd/fprintd-1.94.2-r1.ebuild
deleted file mode 100644
index 004932f8a9b4..000000000000
--- a/sys-auth/fprintd/fprintd-1.94.2-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit meson pam python-any-r1 systemd
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="D-Bus service to access fingerprint readers"
-HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd"
-SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="doc pam selinux systemd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/glib:2
- >=sys-auth/libfprint-1.94.0:2
- sys-auth/polkit
- pam? (
- sys-libs/pam
- systemd? ( sys-apps/systemd:= )
- !systemd? ( sys-auth/elogind:= )
- )
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_any_dep '
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
- pam? ( sys-libs/pam_wrapper[${PYTHON_USEDEP}] )
- ')
- )
-"
-
-BDEPEND="
- dev-lang/perl
- >=dev-util/gdbus-codegen-2.80.5-r1
- dev-util/glib-utils
- virtual/pkgconfig
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- dev-util/gtk-doc
- )
-"
-
-RDEPEND+=" selinux? ( sec-policy/selinux-fprintd )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.90.7_0001-add-test-feature-and-make-tests-optional.patch"
- "${FILESDIR}/${PN}-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch"
-)
-
-S="${WORKDIR}/${MY_P}"
-
-python_check_deps() {
- if use test; then
- has_version -d "sys-libs/pam_wrapper[${PYTHON_USEDEP}]"
- fi
-
- has_version -d "dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
- has_version -d "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- has_version -d "dev-python/pycairo[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_feature test)
- $(meson_use pam)
- -Dgtk_doc=$(usex doc true false)
- -Dman=true
- -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir)
- -Dpam_modules_dir=$(getpam_mod_dir)
- -Dlibsystemd=$(usex systemd libsystemd libelogind)
- )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- dodoc AUTHORS NEWS README TODO
- newdoc pam/README README.pam_fprintd
-}
-
-pkg_postinst() {
- elog "Please take a look at README.pam_fprintd for integration docs."
-}
diff --git a/sys-auth/fprintd/fprintd-1.94.3-r1.ebuild b/sys-auth/fprintd/fprintd-1.94.3-r1.ebuild
deleted file mode 100644
index 8e68abd3872d..000000000000
--- a/sys-auth/fprintd/fprintd-1.94.3-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit meson pam python-any-r1 systemd
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="D-Bus service to access fingerprint readers"
-HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd"
-SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
-IUSE="doc pam selinux systemd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/glib:2
- >=sys-auth/libfprint-1.94.0:2
- sys-auth/polkit
- pam? (
- sys-libs/pam
- systemd? ( sys-apps/systemd:= )
- !systemd? ( sys-auth/elogind:= )
- )
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_any_dep '
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
- pam? ( sys-libs/pam_wrapper[${PYTHON_USEDEP}] )
- ')
- )
-"
-
-BDEPEND="
- dev-lang/perl
- >=dev-util/gdbus-codegen-2.80.5-r1
- dev-util/glib-utils
- virtual/pkgconfig
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- dev-util/gtk-doc
- )
-"
-
-RDEPEND+=" selinux? ( sec-policy/selinux-fprintd )"
-
-PATCHES=(
- "${FILESDIR}/fprintd-1.94.3-test-optional.patch"
-)
-
-python_check_deps() {
- if use test; then
- python_has_version -d "sys-libs/pam_wrapper[${PYTHON_USEDEP}]"
- fi
-
- python_has_version -d "dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
- python_has_version -d "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version -d "dev-python/pycairo[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use test tests)
- $(meson_use pam)
- -Dgtk_doc=$(usex doc true false)
- -Dman=true
- -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir)
- -Dpam_modules_dir=$(getpam_mod_dir)
- -Dlibsystemd=$(usex systemd libsystemd libelogind)
- )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- dodoc AUTHORS NEWS README TODO
- newdoc pam/README README.pam_fprintd
-}
-
-pkg_postinst() {
- elog "Please take a look at README.pam_fprintd for integration docs."
-}
diff --git a/sys-auth/fprintd/fprintd-1.94.5.ebuild b/sys-auth/fprintd/fprintd-1.94.5.ebuild
deleted file mode 100644
index baf86b8a2276..000000000000
--- a/sys-auth/fprintd/fprintd-1.94.5.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit meson pam python-any-r1 systemd
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="D-Bus service to access fingerprint readers"
-HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd"
-SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="doc pam selinux systemd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/glib:2
- >=sys-auth/libfprint-1.94.0:2
- sys-auth/polkit
- pam? (
- sys-libs/pam
- systemd? ( sys-apps/systemd:= )
- !systemd? ( sys-auth/elogind:= )
- )
-"
-
-DEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_any_dep '
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
- pam? ( sys-libs/pam_wrapper[${PYTHON_USEDEP}] )
- ')
- )
-"
-
-BDEPEND="
- dev-lang/perl
- >=dev-util/gdbus-codegen-2.80.5-r1
- dev-util/glib-utils
- virtual/pkgconfig
- doc? (
- dev-libs/libxml2
- dev-libs/libxslt
- dev-util/gtk-doc
- )
- test? ( ${PYTHON_DEPS} )
-"
-
-RDEPEND+=" selinux? ( sec-policy/selinux-fprintd )"
-
-PATCHES=(
- "${FILESDIR}/fprintd-1.94.3-test-optional.patch"
-)
-
-python_check_deps() {
- if use pam; then
- python_has_version -d "sys-libs/pam_wrapper[${PYTHON_USEDEP}]"
- fi
-
- python_has_version -d "dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
- python_has_version -d "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version -d "dev-python/pycairo[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_configure() {
- local emesonargs=(
- $(meson_use test tests)
- $(meson_use pam)
- -Dgtk_doc=$(usex doc true false)
- -Dman=true
- -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir)
- -Dpam_modules_dir=$(getpam_mod_dir)
- -Dlibsystemd=$(usex systemd libsystemd libelogind)
- )
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- dodoc AUTHORS NEWS README TODO
- newdoc pam/README README.pam_fprintd
-}
-
-pkg_postinst() {
- elog "Please take a look at README.pam_fprintd for integration docs."
-}
diff --git a/sys-auth/fprintd/metadata.xml b/sys-auth/fprintd/metadata.xml
deleted file mode 100644
index 68cbe33b40ab..000000000000
--- a/sys-auth/fprintd/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <upstream>
- <remote-id type="freedesktop-gitlab">libfprint/fprintd</remote-id>
- <bugs-to>https://gitlab.freedesktop.org/libfprint/fprintd/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/google-authenticator/Manifest b/sys-auth/google-authenticator/Manifest
deleted file mode 100644
index 4c5aff1a5b86..000000000000
--- a/sys-auth/google-authenticator/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST google-authenticator-1.11.tar.gz 64634 BLAKE2B a1c8b1450cf58edf2ff9310765441ad35a2d6014bd9b73a0eabd31861d0c3ee97d7d3fe9d7c9b977c79524289769eddd372109b37082c7e9a307e40321556b74 SHA512 5bbee53f293a67e6f92e956a24904a0197ba65270e096965e8b91f50e87c176ece9ba81c92392b199aa45f4fe5b38e77069b9c5e2f5800c6a5dbb6a35f20d21b
diff --git a/sys-auth/google-authenticator/files/1.08-remove-failing-tests.patch b/sys-auth/google-authenticator/files/1.08-remove-failing-tests.patch
deleted file mode 100644
index 9b207dc20df7..000000000000
--- a/sys-auth/google-authenticator/files/1.08-remove-failing-tests.patch
+++ /dev/null
@@ -1,301 +0,0 @@
-From 9e26b1885250cb0b7a710d9ae65542e3fcae684f Mon Sep 17 00:00:00 2001
-From: Ronny Gutbrod <gentoo@tastytea.de>
-Date: Sat, 11 Apr 2020 21:08:37 +0200
-Subject: [PATCH] Remove calls to pam_sm_authenticate().
-
-It tries to change the user id, which is prohibited by the sandbox. See #624588.
----
- tests/pam_google_authenticator_unittest.c | 271 ----------------------
- 1 file changed, 271 deletions(-)
-
-diff --git a/tests/pam_google_authenticator_unittest.c b/tests/pam_google_authenticator_unittest.c
-index edade47..0661b8b 100644
---- a/tests/pam_google_authenticator_unittest.c
-+++ b/tests/pam_google_authenticator_unittest.c
-@@ -338,72 +338,6 @@ int main(int argc, char *argv[]) {
- // Make sure num_prompts_shown is still 0.
- verify_prompts_shown(0);
-
-- // Set the timestamp that this test vector needs
-- set_time(10000*30);
--
-- response = "123456";
--
-- // Check if we can log in when using an invalid verification code
-- puts("Testing failed login attempt");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
--
-- // Check required number of digits
-- if (conv_mode == TWO_PROMPTS) {
-- puts("Testing required number of digits");
-- response = "50548";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
-- response = "0050548";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
-- response = "00050548";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
-- }
--
-- // Test a blank response
-- puts("Testing a blank response");
-- response = "";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
--
-- // Set the response that we should send back to the authentication module
-- response = "050548";
--
-- // Test handling of missing state files
-- puts("Test handling of missing state files");
-- const char *old_secret = targv[0];
-- targv[0] = "secret=/NOSUCHFILE";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(password_is_provided_from_external ? 0 : expected_bad_prompts_shown);
-- targv[targc++] = "nullok";
-- targv[targc] = NULL;
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_IGNORE);
-- verify_prompts_shown(0);
-- targv[--targc] = NULL;
-- targv[0] = old_secret;
--
-- // Check if we can log in when using a valid verification code
-- puts("Testing successful login");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
--
-- // Test the STEP_SIZE option
-- puts("Testing STEP_SIZE option");
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_APPEND | O_WRONLY)) >= 0);
-- assert(write(fd, "\n\" STEP_SIZE 60\n", 16) == 16);
-- close(fd);
-- for (int *tm = (int []){ 9998, 9999, 10001, 10002, 10000, -1 },
-- *res = (int []){ PAM_AUTH_ERR, PAM_SUCCESS, PAM_SUCCESS,
-- PAM_AUTH_ERR, PAM_SUCCESS };
-- *tm >= 0;) {
-- set_time(*tm++ * 60);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == *res++);
-- verify_prompts_shown(expected_good_prompts_shown);
-- }
--
- // Reset secret file after step size testing.
- assert(!chmod(fn, 0600));
- assert((fd = open(fn, O_TRUNC | O_WRONLY)) >= 0);
-@@ -411,211 +345,6 @@ int main(int argc, char *argv[]) {
- assert(write(fd, "\n\" TOTP_AUTH", 12) == 12);
- close(fd);
-
-- // Test the WINDOW_SIZE option
-- puts("Testing WINDOW_SIZE option");
-- for (int *tm = (int []){ 9998, 9999, 10001, 10002, 10000, -1 },
-- *res = (int []){ PAM_AUTH_ERR, PAM_SUCCESS, PAM_SUCCESS,
-- PAM_AUTH_ERR, PAM_SUCCESS };
-- *tm >= 0;) {
-- set_time(*tm++ * 30);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == *res++);
-- verify_prompts_shown(expected_good_prompts_shown);
-- }
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_APPEND | O_WRONLY)) >= 0);
-- assert(write(fd, "\n\" WINDOW_SIZE 6\n", 17) == 17);
-- close(fd);
-- for (int *tm = (int []){ 9996, 9997, 10002, 10003, 10000, -1 },
-- *res = (int []){ PAM_AUTH_ERR, PAM_SUCCESS, PAM_SUCCESS,
-- PAM_AUTH_ERR, PAM_SUCCESS };
-- *tm >= 0;) {
-- set_time(*tm++ * 30);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == *res++);
-- verify_prompts_shown(expected_good_prompts_shown);
-- }
--
-- // Test the DISALLOW_REUSE option
-- puts("Testing DISALLOW_REUSE option");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_APPEND | O_WRONLY)) >= 0);
-- assert(write(fd, "\" DISALLOW_REUSE\n", 17) == 17);
-- close(fd);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_good_prompts_shown);
--
-- // Test that DISALLOW_REUSE expires old entries from the re-use list
-- char *old_response = response;
-- for (int i = 10001; i < 10008; ++i) {
-- set_time(i * 30);
-- char buf[7];
-- response = buf;
-- sprintf(response, "%06d", compute_code(binary_secret,
-- binary_secret_len, i));
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
-- }
-- set_time(10000 * 30);
-- response = old_response;
-- assert((fd = open(fn, O_RDONLY)) >= 0);
-- char state_file_buf[4096] = { 0 };
-- assert(read(fd, state_file_buf, sizeof(state_file_buf)-1) > 0);
-- close(fd);
-- const char *disallow = strstr(state_file_buf, "\" DISALLOW_REUSE ");
-- assert(disallow);
-- assert(!memcmp(disallow + 17,
-- "10002 10003 10004 10005 10006 10007\n", 36));
--
-- // Test the RATE_LIMIT option
-- puts("Testing RATE_LIMIT option");
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_APPEND | O_WRONLY)) >= 0);
-- assert(write(fd, "\" RATE_LIMIT 4 120\n", 19) == 19);
-- close(fd);
-- for (int *tm = (int []){ 20000, 20001, 20002, 20003, 20004, 20006, -1 },
-- *res = (int []){ PAM_SUCCESS, PAM_SUCCESS, PAM_SUCCESS,
-- PAM_SUCCESS, PAM_AUTH_ERR, PAM_SUCCESS, -1 };
-- *tm >= 0;) {
-- set_time(*tm * 30);
-- char buf[7];
-- response = buf;
-- sprintf(response, "%06d",
-- compute_code(binary_secret, binary_secret_len, *tm++));
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == *res);
-- verify_prompts_shown(
-- *res != PAM_SUCCESS ? 0 : expected_good_prompts_shown);
-- ++res;
-- }
-- set_time(10000 * 30);
-- response = old_response;
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_RDWR)) >= 0);
-- memset(state_file_buf, 0, sizeof(state_file_buf));
-- assert(read(fd, state_file_buf, sizeof(state_file_buf)-1) > 0);
-- const char *rate_limit = strstr(state_file_buf, "\" RATE_LIMIT ");
-- assert(rate_limit);
-- assert(!memcmp(rate_limit + 13,
-- "4 120 600060 600090 600120 600180\n", 35));
--
-- // Test trailing space in RATE_LIMIT. This is considered a file format
-- // error.
-- char *eol = strchr(rate_limit, '\n');
-- *eol = ' ';
-- assert(!lseek(fd, 0, SEEK_SET));
-- assert(write(fd, state_file_buf, strlen(state_file_buf)) ==
-- strlen(state_file_buf));
-- close(fd);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(0);
-- assert(!strncmp(get_error_msg(),
-- "Invalid list of timestamps in RATE_LIMIT", 40));
-- *eol = '\n';
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_WRONLY)) >= 0);
-- assert(write(fd, state_file_buf, strlen(state_file_buf)) ==
-- strlen(state_file_buf));
-- close(fd);
--
-- // Test TIME_SKEW option
-- puts("Testing TIME_SKEW");
-- for (int i = 0; i < 4; ++i) {
-- set_time((12000 + i)*30);
-- char buf[7];
-- response = buf;
-- sprintf(response, "%06d",
-- compute_code(binary_secret, binary_secret_len, 11000 + i));
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) ==
-- (i >= 2 ? PAM_SUCCESS : PAM_AUTH_ERR));
-- verify_prompts_shown(expected_good_prompts_shown);
-- }
--
-- puts("Testing TIME_SKEW - noskewadj");
-- set_time(12020 * 30);
-- char buf[7];
-- response = buf;
-- sprintf(response, "%06d", compute_code(binary_secret,
-- binary_secret_len, 11010));
-- targv[targc] = "noskewadj";
-- assert(pam_sm_authenticate(NULL, 0, targc+1, targv) == PAM_AUTH_ERR);
-- targv[targc] = NULL;
-- verify_prompts_shown(expected_bad_prompts_shown);
-- set_time(10000*30);
--
-- // Test scratch codes
-- puts("Testing scratch codes");
-- response = "12345678";
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_APPEND | O_WRONLY)) >= 0);
-- assert(write(fd, "12345678\n", 9) == 9);
-- close(fd);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
--
-- // Set up secret file for counter-based codes.
-- assert(!chmod(fn, 0600));
-- assert((fd = open(fn, O_TRUNC | O_WRONLY)) >= 0);
-- assert(write(fd, secret, sizeof(secret)-1) == sizeof(secret)-1);
-- assert(write(fd, "\n\" HOTP_COUNTER 1\n", 18) == 18);
-- close(fd);
--
-- response = "293240";
--
-- // Check if we can log in when using a valid verification code
-- puts("Testing successful counter-based login");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
--
-- // Verify that the hotp counter incremented
-- assert((fd = open(fn, O_RDONLY)) >= 0);
-- memset(state_file_buf, 0, sizeof(state_file_buf));
-- assert(read(fd, state_file_buf, sizeof(state_file_buf)-1) > 0);
-- close(fd);
-- const char *hotp_counter = strstr(state_file_buf, "\" HOTP_COUNTER ");
-- assert(hotp_counter);
-- assert(!memcmp(hotp_counter + 15, "2\n", 2));
--
-- // Check if we can log in when using an invalid verification code
-- // (including the same code a second time)
-- puts("Testing failed counter-based login attempt");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_AUTH_ERR);
-- verify_prompts_shown(expected_bad_prompts_shown);
--
-- // Verify that the hotp counter incremented
-- assert((fd = open(fn, O_RDONLY)) >= 0);
-- memset(state_file_buf, 0, sizeof(state_file_buf));
-- assert(read(fd, state_file_buf, sizeof(state_file_buf)-1) > 0);
-- close(fd);
-- hotp_counter = strstr(state_file_buf, "\" HOTP_COUNTER ");
-- assert(hotp_counter);
-- assert(!memcmp(hotp_counter + 15, "3\n", 2));
--
-- response = "932068";
--
-- // Check if we can log in using a future valid verification code (using
-- // default window_size of 3)
-- puts("Testing successful future counter-based login");
-- assert(pam_sm_authenticate(NULL, 0, targc, targv) == PAM_SUCCESS);
-- verify_prompts_shown(expected_good_prompts_shown);
--
-- // Verify that the hotp counter incremented
-- assert((fd = open(fn, O_RDONLY)) >= 0);
-- memset(state_file_buf, 0, sizeof(state_file_buf));
-- assert(read(fd, state_file_buf, sizeof(state_file_buf)-1) > 0);
-- close(fd);
-- hotp_counter = strstr(state_file_buf, "\" HOTP_COUNTER ");
-- assert(hotp_counter);
-- assert(!memcmp(hotp_counter + 15, "6\n", 2));
--
-- // Remove the temporarily created secret file
-- unlink(fn);
--
- // Release memory for the test arguments
- for (int i = 0; i < targc; ++i) {
- free((void *)targv[i]);
---
-2.24.1
diff --git a/sys-auth/google-authenticator/google-authenticator-1.11.ebuild b/sys-auth/google-authenticator/google-authenticator-1.11.ebuild
deleted file mode 100644
index 833943745c0f..000000000000
--- a/sys-auth/google-authenticator/google-authenticator-1.11.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
- S="${WORKDIR}/google-authenticator-libpam-${PV}"
-fi
-
-DESCRIPTION="PAM Module for two step verification via mobile platform"
-HOMEPAGE="https://github.com/google/google-authenticator-libpam"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-DEPEND="sys-libs/pam"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/1.08-remove-failing-tests.patch" )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # We might want to use getpam_mod_dir from pam eclass,
- # but the build already appends "/security" for us.
- econf --libdir="/$(get_libdir)"
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "For further information see"
- elog "https://wiki.gentoo.org/wiki/Google_Authenticator"
- elog ""
- elog "If you want support for QR-Codes, install media-gfx/qrencode."
- fi
-}
diff --git a/sys-auth/google-authenticator/google-authenticator-9999.ebuild b/sys-auth/google-authenticator/google-authenticator-9999.ebuild
deleted file mode 100644
index 430c1347e750..000000000000
--- a/sys-auth/google-authenticator/google-authenticator-9999.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/google/google-authenticator-libpam.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/google/google-authenticator-libpam/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
- S="${WORKDIR}/google-authenticator-libpam-${PV}"
-fi
-
-DESCRIPTION="PAM Module for two step verification via mobile platform"
-HOMEPAGE="https://github.com/google/google-authenticator-libpam"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-DEPEND="sys-libs/pam"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/1.08-remove-failing-tests.patch" )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- # We might want to use getpam_mod_dir from pam eclass,
- # but the build already appends "/security" for us.
- econf --libdir="/$(get_libdir)"
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "For further information see"
- elog "https://wiki.gentoo.org/wiki/Google_Authenticator"
- elog ""
- elog "If you want support for QR-Codes, install media-gfx/qrencode."
- fi
-}
diff --git a/sys-auth/google-authenticator/metadata.xml b/sys-auth/google-authenticator/metadata.xml
deleted file mode 100644
index b346d19eb6d5..000000000000
--- a/sys-auth/google-authenticator/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>candrews@gentoo.org</email>
- <name>Craig Andrews</name>
- </maintainer>
- <upstream>
- <remote-id type="github">google/google-authenticator-libpam</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/libfprint-2-tod1-broadcom/Manifest b/sys-auth/libfprint-2-tod1-broadcom/Manifest
deleted file mode 100644
index f1c23b9edf99..000000000000
--- a/sys-auth/libfprint-2-tod1-broadcom/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libfprint-2-tod1-broadcom_5.12.018.orig.tar.gz 11986893 BLAKE2B c07734a3797162757ee783a2bf356674ea7faa79ec190c7177c9cec37a8fccfdab17f0c75148994bc2908781d29a5964b4aa90d2a14637ffc0ec37907136ef5c SHA512 731334c1f372fb6e45c51669a4330b93b0ba2e657560263a84da505c2d325a2b5a9caae2dbdc53fa0988f04326258ea3aa5a367b72aa5f7da8f88efd44665482
-DIST libfprint-2-tod1-broadcom_5.15.285-5.15.010.0.orig.tar.gz 11727635 BLAKE2B 409eb7fdb4a5a472e92ccbbc97da1dff1f25e608893bd7cbf2b185b0402a3b4fefeffe5faaf93f76908dd9662c012673d13712554eeb8f62290e7cf58d33a4ee SHA512 41261386b4361cbbe558c69bf569a6ebc876adf096ac58df5e606a4430032b243e3511a9d2751c492f5518953362244473033ee9738f182da4cf7c730d6a302b
diff --git a/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.12.018.ebuild b/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.12.018.ebuild
deleted file mode 100644
index baf42464a468..000000000000
--- a/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.12.018.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit udev
-
-DESCRIPTION="Proprietary driver for the fingerprint reader on the Dell Latitude"
-HOMEPAGE="https://git.launchpad.net/libfprint-2-tod1-broadcom/"
-SRC_URI="http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom_${PV}.orig.tar.gz"
-
-LICENSE="Broadcom-tod"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="bindist mirror"
-QA_PREBUILT="*"
-
-RDEPEND="
- dev-libs/openssl:0/3
- sys-auth/libfprint[tod(-)]
-"
-
-src_install() {
- udev_dorules lib/udev/rules.d/60-libfprint-2-device-broadcom.rules
- exeinto usr/$(get_libdir)/libfprint-2/tod-1/
- doexe usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom.so
- mv var "${ED}" || die
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.15.285.ebuild b/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.15.285.ebuild
deleted file mode 100644
index 00fe8e67504d..000000000000
--- a/sys-auth/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom-5.15.285.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit udev
-
-DESCRIPTION="Proprietary driver for the fingerprint reader on the Dell Latitude"
-HOMEPAGE="https://git.launchpad.net/libfprint-2-tod1-broadcom/"
-SRC_URI="http://dell.archive.canonical.com/updates/pool/public/libf/libfprint-2-tod1-broadcom/libfprint-2-tod1-broadcom_${PV}-5.15.010.0.orig.tar.gz"
-S="${WORKDIR}/brcm_linux_fp"
-
-LICENSE="Broadcom-tod"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RESTRICT="bindist mirror"
-QA_PREBUILT="*"
-
-RDEPEND="
- dev-libs/openssl:0/3
- sys-auth/libfprint[tod(-)]
-"
-
-src_install() {
- udev_dorules lib/udev/rules.d/60-libfprint-2-device-broadcom.rules
- exeinto usr/$(get_libdir)/libfprint-2/tod-1/
- doexe usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom.so
- mv var "${ED}" || die
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint-2-tod1-broadcom/metadata.xml b/sys-auth/libfprint-2-tod1-broadcom/metadata.xml
deleted file mode 100644
index 13fca37ffb0d..000000000000
--- a/sys-auth/libfprint-2-tod1-broadcom/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/libfprint/Manifest b/sys-auth/libfprint/Manifest
deleted file mode 100644
index f679c75d9909..000000000000
--- a/sys-auth/libfprint/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST libfprint-1.94.10+tod1.tar.bz2 9292125 BLAKE2B e00f2946ffe724e408a641acb00e340b9bfeebbe0c0a5e51789b68149c8249064508acf434b088023776ba1e9161a834ec75e5f2f76385d8585d929e3c4b885a SHA512 25396d6dd04ab7629aadf87867a2cbf3190b5c9b14bc5c97cd8b50e6974efe861220e2d57c90c513f2916962e061a13eb734093f7762782d82ef77c1b219b7ed
-DIST libfprint-1.94.10.tar.bz2 9065283 BLAKE2B e242fbe40fa985eef21fc2a6d314a7686cc3b11929950a7008492548a032a5c9db718ee4aa2232ce5df232c919f82ba84383b2c6acd9a310f769f7f5db43d8c8 SHA512 cbd4f61bb2d8822d9dac35b15c995bbd0e84a95699e2c5592b6b1e968efc95a39fa0482dc8bcc79864fabac11aa5de5915d6bebea68b771e6fdc3cd2debaefe5
-DIST libfprint-1.94.4.tar.gz 10408480 BLAKE2B 492ea10777d223ce7d610f0dca2871c8eae08cb5dd7d30187194d6cc139a60d5350e5908f759434065614c05a72192347be19c1d6fe5641e08a2f6419bdcede7 SHA512 425efdfde373179a237805c4b5561e3531616798c41ccd4358f1c521f1e21af01f8ca61aaf8c959e2c68a69e4dfda23960e696acaaad2228ffef6f999986468e
-DIST libfprint-1.94.7.tar.bz2 9066931 BLAKE2B 5df859c4e38a8016b8f91785d8634d85e023cc19b837e928dd2de6392ed77b7a82c26e6c1485df2fa1fb2041421d4dd05441d5df24c2fc5399783dcc174d5afc SHA512 b91a71ef998b03a64b08d9439a1d26027f196f07fd1344bbe45f2dbeb3ace5752af9b7504ee8537eb40d896e43a517e3759a7b3735baded4cc3fb6c0ca3b0ece
-DIST libfprint-1.94.9+tod1.tar.bz2 9291260 BLAKE2B 152cacd41a0317cda8b38b40922d018633088d77b61c17fc1655548181de60c18a3191ae984a97ebcc764d21115f7f7f919c018a6c4ee98c3a3484b21baa6cbd SHA512 5420ce7da8bc49630f428083dc9c774786ced7920dc472602f363d73da639bdd34380c7c0299160a13ada23a740957dccadfeae6526e2840b5dceac61531246d
-DIST libfprint-1.94.9.tar.bz2 9065976 BLAKE2B c79706c3f60949b86997871207b15ae9aa40a352c27378d0612b426d6da5802ac6f62293f7ed9d00fe8b3a0262c9774b4cfb03acdfc7e15691838b2822640890 SHA512 60d13fa894a9faaeee9f353d5cd9eb121af7180d35d05d6225c21808f889da640f95a25b09407bb904608f198eddfa8a0d900a072da93a5732bc03b60d717e07
diff --git a/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch b/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch
deleted file mode 100644
index cc5080e2a140..000000000000
--- a/sys-auth/libfprint/files/libfprint-1.94.1-test-timeout.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Although most libfprint tests are vert quick, several of the VirtualImage
-ones come very close to the default time-out threshold of 30 seconds.
-Increase the relevant threshold to 45 seconds to make those tests less
-sensitive to CPU frequency, system load etc.
-
---- a/tests/meson.build
-+++ b/tests/meson.build
-@@ -88,6 +88,7 @@
- suite: ut_suite,
- depends: libfprint_typelib,
- env: envs,
-+ timeout: 45,
- )
- endforeach
- else
diff --git a/sys-auth/libfprint/files/libfprint-1.94.4-stderr-redefinition.patch b/sys-auth/libfprint/files/libfprint-1.94.4-stderr-redefinition.patch
deleted file mode 100644
index fa7f4aac0986..000000000000
--- a/sys-auth/libfprint/files/libfprint-1.94.4-stderr-redefinition.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/366
-
-From 2584d440afc87d463cb8dc809d48c660e091c2c4 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Thu, 23 Jun 2022 05:57:46 +0100
-Subject: [PATCH] nbis: fix build on musl
-
-Drop re-definition of stderr. There's no need for this anywhere
-(including glibc). This breaks in particular on musl because
-stderr (and stdin) are both const, and macros unlike in glibc.
-
-Bug: https://bugs.gentoo.org/853811
---- a/libfprint/nbis/include/bozorth.h
-+++ b/libfprint/nbis/include/bozorth.h
-@@ -217,8 +217,6 @@ struct xytq_struct {
- /**************************************************************************/
- /* Globals supporting command line options */
- extern int verbose_threshold;
--/* Global supporting error reporting */
--extern FILE *stderr;
-
- /**************************************************************************/
- /* In: BZ_GBLS.C */
-GitLab
diff --git a/sys-auth/libfprint/files/libfprint-1.94.7-skip-test-dep.patch b/sys-auth/libfprint/files/libfprint-1.94.7-skip-test-dep.patch
deleted file mode 100644
index 7d2d6b20ecff..000000000000
--- a/sys-auth/libfprint/files/libfprint-1.94.7-skip-test-dep.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-https://gitlab.freedesktop.org/libfprint/libfprint/-/commit/4b72f27de6706a6001e82b477b647ced30cc37b5
-https://gitlab.freedesktop.org/libfprint/libfprint/-/commit/7dbb21e77ace03bf28dc9a6b37b43d551282389f
-
-From 4b72f27de6706a6001e82b477b647ced30cc37b5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
-Date: Tue, 20 Feb 2024 08:22:42 +0100
-Subject: [PATCH] build: Look for sh just once
-
----
- meson.build | 1 +
- tests/meson.build | 10 +++++-----
- 2 files changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index 435827ce..28ee27a2 100644
---- a/meson.build
-+++ b/meson.build
-@@ -91,6 +91,7 @@ gusb_dep = dependency('gusb', version: '>= 0.2.0')
- mathlib_dep = cc.find_library('m', required: false)
-
- # The following dependencies are only used for tests
-+sh = find_program('sh', required: true)
- cairo_dep = dependency('cairo', required: false)
-
- # introspection scanning and Gio-2.0.gir
-diff --git a/tests/meson.build b/tests/meson.build
-index f68ed406..8c8f5d07 100644
---- a/tests/meson.build
-+++ b/tests/meson.build
-@@ -151,7 +151,7 @@ if get_option('introspection')
- endif
- else
- test(vdtest,
-- find_program('sh'),
-+ sh,
- args: ['-c', 'exit 77']
- )
- endif
-@@ -205,7 +205,7 @@ if get_option('introspection')
- endif
- else
- test(driver_test,
-- find_program('sh'),
-+ sh,
- args: ['-c', 'exit 77']
- )
- endif
-@@ -224,13 +224,13 @@ if get_option('introspection')
- else
- warning('Skipping all driver tests as introspection bindings are missing')
- test('virtual-image',
-- find_program('sh'),
-+ sh,
- args: ['-c', 'exit 77']
- )
-
- foreach driver_test: drivers_tests
- test(driver_test,
-- find_program('sh'),
-+ sh,
- args: ['-c', 'exit 77']
- )
- endforeach
-@@ -273,7 +273,7 @@ foreach test_name: unit_tests
- # Create a dummy test that always skips instead
- warning('Test @0@ cannot be compiled due to missing dependencies'.format(test_name))
- test(test_name,
-- find_program('sh'),
-+ sh,
- suite: ['unit-tests'],
- args: ['-c', 'exit 77'],
- )
---
-GitLab
-
-From 7dbb21e77ace03bf28dc9a6b37b43d551282389f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
-Date: Tue, 20 Feb 2024 08:24:12 +0100
-Subject: [PATCH] build/tests: Skip a test if the test requires it during
- inspection
-
-In case we don't have dependencies, we should skip the test, otherwise
-we can just fail at test time
---- a/tests/meson.build
-+++ b/tests/meson.build
-@@ -100,11 +100,17 @@ if get_option('introspection')
- base_args = files(vdtest + '.py')
- suite = ['virtual-driver']
-
-- r = run_command(unittest_inspector, files(vdtest + '.py'), check: true)
-+ r = run_command(unittest_inspector, files(vdtest + '.py'), check: false)
- unit_tests = r.stdout().strip().split('\n')
-
- if r.returncode() == 0 and unit_tests.length() > 0
- suite += vdtest
-+ elif r.returncode() == 77
-+ test(vdtest,
-+ sh,
-+ args: ['-c', 'exit 77']
-+ )
-+ continue
- else
- unit_tests = [vdtest]
- endif
---
-GitLab
diff --git a/sys-auth/libfprint/libfprint-1.94.10.ebuild b/sys-auth/libfprint/libfprint-1.94.10.ebuild
deleted file mode 100644
index 9a94284b9429..000000000000
--- a/sys-auth/libfprint/libfprint-1.94.10.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic meson toolchain-funcs udev
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="
- https://fprint.freedesktop.org/
- https://gitlab.freedesktop.org/libfprint/libfprint
-"
-SRC_URI="
- !tod? (
- https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2
- )
- tod? (
- https://gitlab.freedesktop.org/3v1n0/${PN}/-/archive/v${PV}+tod1/${MY_P}+tod1.tar.bz2 -> ${P}+tod1.tar.bz2
- )
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="examples gtk-doc +introspection tod"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgudev
- >=dev-libs/openssl-3:=
- dev-python/pygobject
- dev-libs/libgusb
- x11-libs/pixman
- examples? (
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- sys-devel/gettext
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? (
- >=dev-libs/gobject-introspection-1.82.0-r2
- dev-libs/libgusb[introspection]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.94.1-test-timeout.patch"
-)
-
-# As this version introduces metainfo for appstreamcli checking,
-# we neeed to disable network access during the tests.
-export AS_VALIDATE_NONET="true"
-
-src_unpack() {
- default
- if use tod; then
- mv "${WORKDIR}/${MY_P}+tod1" "${S}" || die
- fi
-}
-
-src_configure() {
- # https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues/10
- # Untill upstream have analysed it we are doing this as a workaround
- # https://github.com/gentoo/gentoo/pull/43857#discussion_r2400425455
- if use tod && tc-ld-is-lld; then
- append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
- fi
-
- # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
- # currently skipped.
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use gtk-doc doc)
- $(meson_use introspection introspection)
- -Ddrivers=all
- -Dinstalled-tests=false
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- )
-
- use tod && emesonargs+=( -Dtod=true )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint/libfprint-1.94.4.ebuild b/sys-auth/libfprint/libfprint-1.94.4.ebuild
deleted file mode 100644
index 79d479795f6b..000000000000
--- a/sys-auth/libfprint/libfprint-1.94.4.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson udev
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="https://fprint.freedesktop.org/ https://github.com/freedesktop/libfprint https://gitlab.freedesktop.org/libfprint/libfprint"
-SRC_URI="https://github.com/freedesktop/libfprint/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
-IUSE="examples gtk-doc +introspection"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgudev
- dev-libs/libgusb
- dev-libs/nss
- virtual/libusb:1=
- x11-libs/pixman
- !>=sys-auth/libfprint-1.90:0
- examples? (
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? (
- >=dev-libs/gobject-introspection-1.82.0-r2
- dev-libs/libgusb[introspection]
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.94.1-test-timeout.patch
- "${FILESDIR}"/${PN}-1.94.4-stderr-redefinition.patch
-)
-
-src_configure() {
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use gtk-doc doc)
- $(meson_use introspection)
- -Ddrivers=all
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- --libdir=/usr/$(get_libdir)
- )
-
- meson_src_configure
-}
diff --git a/sys-auth/libfprint/libfprint-1.94.7.ebuild b/sys-auth/libfprint/libfprint-1.94.7.ebuild
deleted file mode 100644
index a5b260f4d117..000000000000
--- a/sys-auth/libfprint/libfprint-1.94.7.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson udev
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="
- https://fprint.freedesktop.org/
- https://gitlab.freedesktop.org/libfprint/libfprint
-"
-SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="examples gtk-doc +introspection"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgudev
- dev-libs/nss
- dev-python/pygobject
- dev-libs/libgusb
- x11-libs/pixman
- examples? (
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- sys-devel/gettext
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? (
- >=dev-libs/gobject-introspection-1.82.0-r2
- dev-libs/libgusb[introspection]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.94.1-test-timeout.patch"
- "${FILESDIR}/${PN}-1.94.7-skip-test-dep.patch"
-)
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
- # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
- # currently skipped.
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use gtk-doc doc)
- $(meson_use introspection introspection)
- -Ddrivers=all
- -Dinstalled-tests=false
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild b/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild
deleted file mode 100644
index ecef96f8f20d..000000000000
--- a/sys-auth/libfprint/libfprint-1.94.9-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson udev
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="
- https://fprint.freedesktop.org/
- https://gitlab.freedesktop.org/libfprint/libfprint
-"
-SRC_URI="
- !tod? (
- https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2
- )
- tod? (
- https://gitlab.freedesktop.org/3v1n0/${PN}/-/archive/v${PV}+tod1/${MY_P}+tod1.tar.bz2 -> ${P}+tod1.tar.bz2
- )
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="examples gtk-doc +introspection tod"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgudev
- >=dev-libs/openssl-3:=
- dev-python/pygobject
- dev-libs/libgusb
- x11-libs/pixman
- examples? (
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- sys-devel/gettext
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? (
- >=dev-libs/gobject-introspection-1.82.0-r2
- dev-libs/libgusb[introspection]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.94.1-test-timeout.patch"
-)
-
-# As this version introduces metainfo for appstreamcli checking,
-# we neeed to disable network access during the tests.
-export AS_VALIDATE_NONET="true"
-
-src_unpack() {
- default
- if use tod; then
- mv "${WORKDIR}/${MY_P}+tod1" "${S}" || die
- fi
-}
-
-src_configure() {
- # https://gitlab.freedesktop.org/3v1n0/libfprint/-/issues/10
- # Untill upstream have analysed it we are doing this as a workaround
- # https://github.com/gentoo/gentoo/pull/43857#discussion_r2400425455
- if use tod && tc-ld-is-lld; then
- append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
- fi
-
- # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
- # currently skipped.
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use gtk-doc doc)
- $(meson_use introspection introspection)
- -Ddrivers=all
- -Dinstalled-tests=false
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- )
-
- use tod && emesonargs+=( -Dtod=true )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint/libfprint-1.94.9.ebuild b/sys-auth/libfprint/libfprint-1.94.9.ebuild
deleted file mode 100644
index 0251974b8b47..000000000000
--- a/sys-auth/libfprint/libfprint-1.94.9.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson udev
-
-MY_P="${PN}-v${PV}"
-
-DESCRIPTION="Library to add support for consumer fingerprint readers"
-HOMEPAGE="
- https://fprint.freedesktop.org/
- https://gitlab.freedesktop.org/libfprint/libfprint
-"
-SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
-
-S="${WORKDIR}/${MY_P}"
-LICENSE="LGPL-2.1+"
-SLOT="2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="examples gtk-doc +introspection"
-
-RDEPEND="
- dev-libs/glib:2
- dev-libs/libgudev
- >=dev-libs/openssl-3:=
- dev-python/pygobject
- dev-libs/libgusb
- x11-libs/pixman
- examples? (
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:3
- )
-"
-
-DEPEND="${RDEPEND}"
-
-BDEPEND="
- dev-util/glib-utils
- sys-devel/gettext
- virtual/pkgconfig
- gtk-doc? ( dev-util/gtk-doc )
- introspection? (
- >=dev-libs/gobject-introspection-1.82.0-r2
- dev-libs/libgusb[introspection]
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.94.1-test-timeout.patch"
-)
-
-# As this version introduces metainfo for appstreamcli checking,
-# we neeed to disable network access during the tests.
-export AS_VALIDATE_NONET="true"
-
-src_configure() {
- # TODO: wire up test deps (cairo, pygobject, etc) for extra tests
- # currently skipped.
- local emesonargs=(
- $(meson_use examples gtk-examples)
- $(meson_use gtk-doc doc)
- $(meson_use introspection introspection)
- -Ddrivers=all
- -Dinstalled-tests=false
- -Dudev_rules=enabled
- -Dudev_rules_dir=$(get_udevdir)/rules.d
- )
-
- meson_src_configure
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/libfprint/metadata.xml b/sys-auth/libfprint/metadata.xml
deleted file mode 100644
index 3c6695ff8b1d..000000000000
--- a/sys-auth/libfprint/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>nowa@gentoo.org</email>
- <name>Nowa Ammerlaan</name>
- </maintainer>
- <upstream>
- <remote-id type="freedesktop-gitlab">libfprint/libfprint</remote-id>
- <bugs-to>https://gitlab.freedesktop.org/libfprint/wiki/-/issues</bugs-to>
- </upstream>
- <use>
- <flag name="tod">Build with patches for Touch OEM Drivers</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-auth/libnss-extrausers/Manifest b/sys-auth/libnss-extrausers/Manifest
deleted file mode 100644
index 8424d296ef0b..000000000000
--- a/sys-auth/libnss-extrausers/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST libnss-extrausers_0.6-4.1.debian.tar.xz 6564 BLAKE2B 34b209d98fc42348161443add6f54983d9dedbe9498e1d9520f48325930643a37f2f05b2722749f3682b753e168e62197fc45216d0b27e70e61b16fb251e2967 SHA512 3139cf31590397d8fc41b0402746a5e729a652932fe1dff381a271d90986e51f856b215d89d5620de015f1f19a9a877826426d02f6f609fa425633a910b4f6ba
-DIST libnss-extrausers_0.6-4.debian.tar.xz 6468 BLAKE2B a049aa59472a48ad39ac3cf0c1009f1f5716cc13f696ba1b1e2f0b6778a0b9084a2ea7584b25558be90a366bc6b273c8d303437905476eb78d0ce4478e05733b SHA512 8241b26fe9d15c6a0f85d653a853e8d648a9e432a40c1d8c88e80981775a386b943867acd68ea5a9cebf670e8a4fc21a44f407dd0f40b2055cc6a745cdcc8a70
-DIST libnss-extrausers_0.6.orig.tar.gz 5258 BLAKE2B 822c364371211e0ddda9d4884cc685dd081e5f0983a52534c40d1976ae840811b0b0bd24463bc3f44cb806998e073f339339f31c427b57b55b2b94133557352d SHA512 ecdbc10caaa42830361571ea3cd6246d538e6c0771b3e9d5d7fb73daed3e8dc74730f1db0e761117196f219d64a95c3eacbcdd060c047bdd1650ab2c10911680
diff --git a/sys-auth/libnss-extrausers/libnss-extrausers-0.6.4.1.ebuild b/sys-auth/libnss-extrausers/libnss-extrausers-0.6.4.1.ebuild
deleted file mode 100644
index d5822f93a652..000000000000
--- a/sys-auth/libnss-extrausers/libnss-extrausers-0.6.4.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 20221 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-DESCRIPTION="nss module to have an additional passwd, shadow and group file"
-HOMEPAGE="https://packages.debian.org/de/sid/libnss-extrausers"
-SRC_URI="
- http://deb.debian.org/debian/pool/main/libn/${PN}/${PN}_0.6-4.1.debian.tar.xz
- http://deb.debian.org/debian/pool/main/libn/${PN}/${PN}_0.6.orig.tar.gz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-S=${WORKDIR}/${PN}-0.6
-
-src_prepare() {
- for patch in $(< "${WORKDIR}"/debian/patches/series); do
- eapply "${WORKDIR}"/debian/patches/${patch}
- done
- default
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- emake DESTDIR="${D}" libprefix="/usr/$(get_libdir)" install
-}
diff --git a/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild b/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild
deleted file mode 100644
index 42fd12e23ccc..000000000000
--- a/sys-auth/libnss-extrausers/libnss-extrausers-0.6.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="nss module to have an additional passwd, shadow and group file"
-HOMEPAGE="https://sources.debian.org/src/libnss-extrausers/0.6-4/"
-SRC_URI="mirror://debian/pool/main/libn/${PN}/${PN}_${PV}.orig.tar.gz
- mirror://debian/pool/main/libn/${PN}/${PN}_${PV}-4.debian.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
- for patch in $(< "${WORKDIR}"/debian/patches/series); do
- eapply "${WORKDIR}"/debian/patches/${patch}
- done
- default
-}
-
-src_compile() {
- emake -j1
-}
-
-src_install() {
- emake DESTDIR="${D}" libprefix="/usr/$(get_libdir)" install
-}
diff --git a/sys-auth/libnss-extrausers/metadata.xml b/sys-auth/libnss-extrausers/metadata.xml
deleted file mode 100644
index 7cdd31711a1b..000000000000
--- a/sys-auth/libnss-extrausers/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>release@froxlor.org</email>
- <description>Upstream Provider</description>
- </maintainer>
- <longdescription>nss module to have an additional passwd, shadow and group file.</longdescription>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-auth/libnss-mysql/Manifest b/sys-auth/libnss-mysql/Manifest
deleted file mode 100644
index e92fa7de70cd..000000000000
--- a/sys-auth/libnss-mysql/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libnss-mysql-1.7.1.tar.gz 388255 BLAKE2B bf3a83a5f50b0979bd189bd9a6068c4899991c5c7c78b3725d610b40570007c8a9e2f99f63c66d7807fdad6b7c6bae9fd277e6bec5163ab42bced31f8e9a1d09 SHA512 0b633558f865dc9aa2f9353cee112c1ce336c951a554b0f5dd74cbd03c3675a0dffb711471d418fb8808180f95f9d2e052ae73d528c197c9585320fd2f77bee7
diff --git a/sys-auth/libnss-mysql/files/libnss-mysql-1.7.1-r1-remove_libnsl_check.patch b/sys-auth/libnss-mysql/files/libnss-mysql-1.7.1-r1-remove_libnsl_check.patch
deleted file mode 100644
index 5998d2051a29..000000000000
--- a/sys-auth/libnss-mysql/files/libnss-mysql-1.7.1-r1-remove_libnsl_check.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://github.com/saknopper/libnss-mysql/issues/9
-https://bugs.gentoo.org/969313
---- a/configure.ac 2026-01-27 15:14:57.962563753 +0100
-+++ b/configure.ac 2026-01-27 15:15:09.562705312 +0100
-@@ -73,7 +73,6 @@ AC_SUBST(LIBVER)
- AC_SUBST(OS)
-
- AC_CHECK_LIB(socket, getsockname)
--AC_CHECK_LIB(nsl, gethostbyname)
- AC_CHECK_LIB(m, floor)
- AC_CHECK_LIB(z, compress)
-
diff --git a/sys-auth/libnss-mysql/libnss-mysql-1.7.1-r1.ebuild b/sys-auth/libnss-mysql/libnss-mysql-1.7.1-r1.ebuild
deleted file mode 100644
index e20cb1ce2caa..000000000000
--- a/sys-auth/libnss-mysql/libnss-mysql-1.7.1-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="NSS MySQL Library"
-HOMEPAGE="https://github.com/saknopper/libnss-mysql"
-SRC_URI="https://github.com/saknopper/libnss-mysql/releases/download/v${PV}/libnss-mysql-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="debug"
-
-DEPEND="dev-db/mysql-connector-c:="
-RDEPEND="${DEPEND}"
-BDEPEND="sys-apps/which"
-
-DOCS=( AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS
- UPGRADING ChangeLog
-)
-
-PATCHES=(
- "${FILESDIR}/libnss-mysql-1.7.1-r1-remove_libnsl_check.patch"
-)
-
-src_prepare() {
- eautoreconf
- default
-}
-
-src_configure() {
- econf \
- $(use_enable debug)
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-
- newdoc sample/README README.sample
-
- local subdir
- for subdir in sample/{linux,freebsd,complex,minimal} ; do
- docinto "${subdir}"
- dodoc "${subdir}/"{*.sql,*.cfg}
- done
-}
diff --git a/sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild b/sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild
deleted file mode 100644
index 275527a6de54..000000000000
--- a/sys-auth/libnss-mysql/libnss-mysql-1.7.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="NSS MySQL Library"
-HOMEPAGE="https://github.com/saknopper/libnss-mysql"
-SRC_URI="https://github.com/saknopper/libnss-mysql/releases/download/v${PV}/libnss-mysql-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE="debug"
-
-DEPEND="dev-db/mysql-connector-c:="
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS DEBUGGING FAQ INSTALL NEWS README THANKS
- UPGRADING ChangeLog
-)
-
-src_configure() {
- econf \
- $(use_enable debug)
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-
- newdoc sample/README README.sample
-
- local subdir
- for subdir in sample/{linux,freebsd,complex,minimal} ; do
- docinto "${subdir}"
- dodoc "${subdir}/"{*.sql,*.cfg}
- done
-}
diff --git a/sys-auth/libnss-mysql/metadata.xml b/sys-auth/libnss-mysql/metadata.xml
deleted file mode 100644
index 60e688ec875c..000000000000
--- a/sys-auth/libnss-mysql/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>mysql-bugs@gentoo.org</email>
- <name>MySQL</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">libnss-mysql</remote-id>
- <remote-id type="github">saknopper/libnss-mysql</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/libnss-nis/Manifest b/sys-auth/libnss-nis/Manifest
deleted file mode 100644
index 8be397e30f10..000000000000
--- a/sys-auth/libnss-nis/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST libnss-nis-3.1.tar.gz 225933 BLAKE2B 23b0c760f48f2f1bd2bcd6a1d3b2e7da0bc2f186b23f4ff961faf78b76bfbbaaa238a510979b086f279f4c4e25f98d9ae8631e5222dc7479e8c50b0f4572b0da SHA512 fab2d035ef9cea5fa6351c44085a96f9f90e50550b77aa3898e0d5a6ff296951b22b4ac58979d07ae3b3da2f97c7e47ab466e1a5868e7f218971028174159636
-DIST libnss_nis-3.2.tar.xz 257420 BLAKE2B e256680bae1d989cf097c9405328f85bf445249f82331d2e943a589c635387af803bebdb5e96235d371886e0c578c0902c9d0b1958c69cc594c93233012c4dad SHA512 d35d1ad88503082a43ad854b5ad6de08367a098871d073eb48a2a2be593326b323dc9c164ce59ee203b34b0b141327c5816129e16170425e8b283e5e2d90a2fa
diff --git a/sys-auth/libnss-nis/libnss-nis-3.1.ebuild b/sys-auth/libnss-nis/libnss-nis-3.1.ebuild
deleted file mode 100644
index ef828c2dd01f..000000000000
--- a/sys-auth/libnss-nis/libnss-nis-3.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools multilib-minimal
-
-DESCRIPTION="NSS module to provide NIS support"
-HOMEPAGE="https://github.com/thkukuk/libnss_nis"
-SRC_URI="https://github.com/thkukuk/libnss_nis/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1+ BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="
- >net-libs/libnsl-0:0=[${MULTILIB_USEDEP}]
- net-libs/libtirpc:0=[${MULTILIB_USEDEP}]
- !<sys-libs/glibc-2.26
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
-
-S=${WORKDIR}/libnss_nis-${PV}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- --enable-shared
- --disable-static
- )
- ECONF_SOURCE=${S} econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/libnss-nis/libnss-nis-3.2.ebuild b/sys-auth/libnss-nis/libnss-nis-3.2.ebuild
deleted file mode 100644
index 29f8f4ab51c8..000000000000
--- a/sys-auth/libnss-nis/libnss-nis-3.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal
-
-MY_P=${PN/-/_}-${PV}
-DESCRIPTION="NSS module to provide NIS support"
-HOMEPAGE="https://github.com/thkukuk/libnss_nis"
-SRC_URI="https://github.com/thkukuk/libnss_nis/releases/download/v${PV}/${MY_P}.tar.xz"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="LGPL-2.1+ BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="
- >net-libs/libnsl-0:=[${MULTILIB_USEDEP}]
- net-libs/libtirpc:=[${MULTILIB_USEDEP}]
- !<sys-libs/glibc-2.26
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-multilib_src_configure() {
- local myconf=(
- --enable-shared
- )
-
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
- einstalldocs
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/libnss-nis/metadata.xml b/sys-auth/libnss-nis/metadata.xml
deleted file mode 100644
index ad4f668cc463..000000000000
--- a/sys-auth/libnss-nis/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>toolchain@gentoo.org</email>
- </maintainer>
- <upstream>
- <remote-id type="github">thkukuk/libnss_nis</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/libnss-pgsql/Manifest b/sys-auth/libnss-pgsql/Manifest
deleted file mode 100644
index 0dd14f29e4f7..000000000000
--- a/sys-auth/libnss-pgsql/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libnss-pgsql-1.5.0-beta.tgz 305543 BLAKE2B a902315ba17539ac64caaad31cae68859bab3fff2df77ae23f4486ea6ab25db14e5d5787f4d5fcfb1ddebf0d6c58acbf66052b6d5ad4017aff810ba1bcb9f98b SHA512 cabc09337841aadb27790fb66bb55f7da70b52d4e28c717d83ad63b440ac65d8e72505e602b1324d8091ace8b9fe90510492ce0dec17148b74288a2524726cc8
diff --git a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch b/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch
deleted file mode 100644
index 69aefa8c6064..000000000000
--- a/sys-auth/libnss-pgsql/files/libnss-pgsql-1.5.0_beta-gentoo.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Index: libnss-pgsql-1.5.0-beta/src/backend.c
-===================================================================
---- libnss-pgsql-1.5.0-beta.orig/src/backend.c
-+++ libnss-pgsql-1.5.0-beta/src/backend.c
-@@ -11,7 +11,7 @@
- */
-
- #include "nss-pgsql.h"
--#include <postgresql/libpq-fe.h>
-+#include <libpq-fe.h>
- #include <stdlib.h>
- #include <string.h>
- #include <stdio.h>
-Index: libnss-pgsql-1.5.0-beta/doc/Makefile.am
-===================================================================
---- libnss-pgsql-1.5.0-beta.orig/doc/Makefile.am
-+++ libnss-pgsql-1.5.0-beta/doc/Makefile.am
-@@ -1,14 +1,6 @@
- TARGETS = nss-pgsql.html
-
--all html: $(TARGETS)
--
--install-data-local: $(TARGETS)
-- $(mkinstalldirs) $(DESTDIR)$(docdir)
-- $(INSTALL_DATA) nss-pgsql.html $(DESTDIR)$(docdir)
-- $(INSTALL_DATA) $(srcdir)/caution.png $(DESTDIR)$(docdir)
--
--clean-local:
-- rm -f $(TARGETS)
-+html_DATA = $(TARGETS) caution.png
-
- nss-pgsql.html: config.xsl nss-pgsql.xml
- xmlto xhtml-nochunks -m $(srcdir)/config.xsl $(srcdir)/nss-pgsql.xml
-Index: libnss-pgsql-1.5.0-beta/src/Makefile.am
-===================================================================
---- libnss-pgsql-1.5.0-beta.orig/src/Makefile.am
-+++ libnss-pgsql-1.5.0-beta/src/Makefile.am
-@@ -1,5 +1,5 @@
- lib_LTLIBRARIES = libnss_pgsql.la
- libnss_pgsql_la_SOURCES = interface.c config.c backend.c util.c
--libnss_pgsql_la_LDFLAGS = -module -version-info 2
-+libnss_pgsql_la_LDFLAGS = -module -version-info 2 -shared
- EXTRA_DIST = nss-pgsql.h
-
diff --git a/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta-r1.ebuild b/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta-r1.ebuild
deleted file mode 100644
index d223858f9fa2..000000000000
--- a/sys-auth/libnss-pgsql/libnss-pgsql-1.5.0_beta-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="Name Service Switch module for use with PostgreSQL"
-HOMEPAGE="http://pgfoundry.org/projects/sysauth/"
-SRC_URI="http://pgfoundry.org/frs/download.php/1878/${MY_P}.tgz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-db/postgresql:*"
-DEPEND="${RDEPEND}
- app-text/xmlto"
-
-src_prepare() {
- eapply "${FILESDIR}/${P}-gentoo.patch"
- eapply_user
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- find "${D}" -name '*.la' -delete || die
-
- dodoc AUTHORS ChangeLog NEWS README
- docinto examples
- dodoc conf/*
-}
-
-pkg_postinst() {
- elog "Next steps:"
- elog "1. Create the required tables in the database:"
- elog " $ psql a_database -f /usr/share/doc/${PF}/examples/dbschema.sql"
- elog "2. Create the configuration file '/etc/nss-pgsql.conf'"
- elog " You can copy the example from /usr/share/doc/${PF}/examples/nss-pgsql.conf"
- elog "3. Edit /etc/nsswitch.conf to use the NSS service 'pgsql'"
- elog " An example is available here: /usr/share/doc/${PF}/examples/nsswitch.conf"
-}
diff --git a/sys-auth/libnss-pgsql/metadata.xml b/sys-auth/libnss-pgsql/metadata.xml
deleted file mode 100644
index cc12c66836fd..000000000000
--- a/sys-auth/libnss-pgsql/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>pgsql-bugs@gentoo.org</email>
- <name>PostgreSQL and Related Package Development</name>
-</maintainer>
-</pkgmetadata>
diff --git a/sys-auth/libyubikey/Manifest b/sys-auth/libyubikey/Manifest
deleted file mode 100644
index 34a92ca92a31..000000000000
--- a/sys-auth/libyubikey/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST libyubikey-1.13.tar.gz 347337 BLAKE2B 99bbcc16115d913ffd548625f3366405879b0537c4dbcb9f6cebc406a057de642ae621d5793f1828056bfac266eb56b9a409cde44eb26753f955c9da6bcf8c0e SHA512 28f45cb9817c30a70d168ae507d3f8014051058d730eed92b31d92e96784138dea291bda4275511c5f92a6427cb4249d76c802b8abb867cec50e62fb770950f2
diff --git a/sys-auth/libyubikey/libyubikey-1.13-r1.ebuild b/sys-auth/libyubikey/libyubikey-1.13-r1.ebuild
deleted file mode 100644
index f0022d888ea4..000000000000
--- a/sys-auth/libyubikey/libyubikey-1.13-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit libtool
-
-DESCRIPTION="Yubico C low-level library"
-HOMEPAGE="https://github.com/Yubico/yubico-c"
-SRC_URI="http://opensource.yubico.com/yubico-c/releases/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
-
-src_prepare() {
- default
- elibtoolize
-}
-
-src_install() {
- default
-
- # no static archives
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/libyubikey/metadata.xml b/sys-auth/libyubikey/metadata.xml
deleted file mode 100644
index 93b9b711be0e..000000000000
--- a/sys-auth/libyubikey/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>mario.haustein@hrz.tu-chemnitz.de</email>
- <name>Mario Haustein</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="google-code">yubico-c</remote-id>
- <remote-id type="github">Yubico/yubico-c</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/metadata.xml b/sys-auth/metadata.xml
deleted file mode 100644
index cdd2c7db2169..000000000000
--- a/sys-auth/metadata.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<catmetadata>
- <longdescription lang="en">
- The sys-auth category contains applications and libraries to support
- authentication and authorization facilities.
- Here belongs PAM modules, NSS modules and login apps.
- </longdescription>
- <longdescription lang="ja">
- sys-authカテゴリには確認を採用するアプリケーションとライブラリが
- 含まれます。これはPAMとNSSモジュールとログインアプリケーションの場所です。
- </longdescription>
- <longdescription lang="vi">
- Nhóm sys-auth chứa các ứng dụng và thư viện hỗ trợ xác thực và phân quyền.
- Ở đây bao gồm các module PAM, NSS và các ứng dụng đăng nhập.
- </longdescription>
- <longdescription lang="de">
- Die Kategorie sys-auth enthält Programme und Bibliotheken die Funktionen
- zur Authentifizierung und Authorisierung zur Verfügung stellen. Module für PAM
- und NSS sowie Loginapplikationen finden sich hier.
- </longdescription>
- <longdescription lang="it">
- La categoria sys-auth contiene applicazioni e librerie di supporto per
- gli strumenti di autenticazione e autorizzazione. Appartengono a questa categoria
- i moduli PAM, i moduli NSS e le applicazioni di login.
- </longdescription>
- <longdescription lang="pt">
- A categoria sys-auth contém aplicações e bibliotecas para
- suportar instrumentos de autenticação e autorização.
- Nesta categoria pertencem módulos de PAM, módulos de NSS e
- aplicações de login.
- </longdescription>
- <longdescription lang="pl">
- Kategoria sys-auth zawiera biblioteki oraz programy związane z
- autoryzacją i uwierzytelnianiem. Znajdują się tu moduły PAM, NSS oraz
- aplikacje służące do logowania.
- </longdescription>
- <longdescription lang="es">
- La categoría sys-auth contiene aplicaciones y librerías para dar
- soporte a los servicios de autenticación y autorización.
- A esta categoría pertenecen los módulos PAM, NSS y las aplicaciones
- para ingresar en el sistema.
- </longdescription>
-</catmetadata>
diff --git a/sys-auth/microsoft-identity-broker/Manifest b/sys-auth/microsoft-identity-broker/Manifest
deleted file mode 100644
index cbfd03b8f72b..000000000000
--- a/sys-auth/microsoft-identity-broker/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST microsoft-identity-broker_3.0.1-noble_amd64.deb 3354366 BLAKE2B 98082da085f69e73d2a76edeaaf4d6b26f992d38f295ac60f4e9eff908f07812adb0fc9acd481aedeee7afb8c3de430fcffd1731d9badf5fccde7a1b763eef8e SHA512 4e826840eb2ddb80d7dbb58b5d1e96e4bd4f1c2bbb7c5c520c35d7e7d3ed43173ecb509f087b4043dce0fa9c8545116c9eb39f9b4a1528e9d068689b4d5149f0
-DIST microsoft-identity-broker_3.0.2-noble_amd64.deb 3370332 BLAKE2B ef9254d95eff2edde75065120315228b8e9b236ac9e2cefe6cf31dbedf823c44c23510642a7126f0f145910127b39e6d9b81afd991518294b613b1679edfffcb SHA512 3fdfb77b81bba8fdcdf4d337b941752b30b62477502cb2bad833525b8d565e97ce057dbeacd8a60de90b50f5fcaa51e1109581d17a704dd849211701eb92e8fd
diff --git a/sys-auth/microsoft-identity-broker/files/lsb-release-ubuntu-24.04 b/sys-auth/microsoft-identity-broker/files/lsb-release-ubuntu-24.04
deleted file mode 100644
index 9a4f96d29959..000000000000
--- a/sys-auth/microsoft-identity-broker/files/lsb-release-ubuntu-24.04
+++ /dev/null
@@ -1,4 +0,0 @@
-DISTRIB_ID=Ubuntu
-DISTRIB_RELEASE=24.04
-DISTRIB_CODENAME=noble
-DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"
diff --git a/sys-auth/microsoft-identity-broker/files/os-release-ubuntu-24.04 b/sys-auth/microsoft-identity-broker/files/os-release-ubuntu-24.04
deleted file mode 100644
index 5697add4442d..000000000000
--- a/sys-auth/microsoft-identity-broker/files/os-release-ubuntu-24.04
+++ /dev/null
@@ -1,13 +0,0 @@
-PRETTY_NAME="Ubuntu 24.04.2 LTS"
-NAME="Ubuntu"
-VERSION_ID="24.04"
-VERSION="24.04.2 LTS (Noble Numbat)"
-VERSION_CODENAME=noble
-ID=ubuntu
-ID_LIKE=debian
-HOME_URL="https://www.ubuntu.com/"
-SUPPORT_URL="https://help.ubuntu.com/"
-BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
-PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
-UBUNTU_CODENAME=noble
-LOGO=ubuntu-logo
diff --git a/sys-auth/microsoft-identity-broker/files/wrapper b/sys-auth/microsoft-identity-broker/files/wrapper
deleted file mode 100644
index 888ffa23edfe..000000000000
--- a/sys-auth/microsoft-identity-broker/files/wrapper
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-exec bwrap \
- --bind / / \
- --dev-bind /dev /dev \
- --ro-bind /etc/microsoft/identity-broker/etc/lsb-release /etc/lsb-release \
- --ro-bind /etc/microsoft/identity-broker/etc/os-release /etc/os-release \
- -- \
- /opt/microsoft/identity-broker/libexec/"${0##*/}" "${@}"
diff --git a/sys-auth/microsoft-identity-broker/metadata.xml b/sys-auth/microsoft-identity-broker/metadata.xml
deleted file mode 100644
index 374cd4dedb33..000000000000
--- a/sys-auth/microsoft-identity-broker/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chewi@gentoo.org</email>
- <name>James Le Cuirot</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.1.ebuild b/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.1.ebuild
deleted file mode 100644
index b6c5f4bea44f..000000000000
--- a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop prefix systemd unpacker xdg
-
-FAKE_OS="ubuntu-24.04"
-DESCRIPTION="Microsoft Authentication Broker to access a corporate environment"
-HOMEPAGE="https://learn.microsoft.com/intune/"
-SRC_URI="https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/${PN:0:1}/${PN}/${PN}_${PV%_p*}-noble_amd64.deb"
-S="${WORKDIR}"
-LICENSE="microsoft-proprietary Apache-2.0 BSD-2 MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-RESTRICT="bindist mirror"
-
-RDEPEND="
- app-accessibility/at-spi2-core:2
- app-crypt/libsecret
- app-crypt/p11-kit
- dev-libs/glib:2
- dev-libs/openssl:0/3
- net-libs/libsoup:3.0
- net-libs/webkit-gtk:4.1/0
- net-misc/curl
- sys-apps/bubblewrap
- sys-apps/dbus
- sys-apps/util-linux
- x11-libs/cairo
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/pango
- virtual/zlib
-"
-
-QA_PREBUILT="*"
-DIR="/opt/microsoft/identity-broker"
-DB="microsoft-identity-device-broker"
-
-pkg_setup() {
- local pv
- for pv in ${REPLACING_VERSIONS}; do
- if ver_test ${pv} -lt 2.0.3; then
- ewarn "You are upgrading to an entirely new implementation. It is highly recommended"
- ewarn "to unregister this system before upgrading. After upgrading, run"
- ewarn "\`dsreg --cleanup\` and \`sudo dsreg --cleanup\` before registering again."
- break
- fi
- done
-}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-src_install() {
- dobin usr/bin/dsreg
- doman usr/share/man/man1/dsreg.1
-
- exeinto "${DIR}"/bin
- newexe $(prefixify_ro "${FILESDIR}"/wrapper) ${PN}
- dosym ${PN} "${DIR}"/bin/${DB}
-
- exeinto "${DIR}"/libexec
- doexe "${DIR#/}"/bin/{${PN},${DB}}
-
- insinto /usr/share
- doins -r usr/share/dbus-1
-
- systemd_dounit usr/lib/systemd/system/${DB}.service
-
- # DOS line endings? Yes, Chewi lol'd too. ;)
- tr -d "\r" < usr/share/applications/${PN}.desktop | newmenu - ${PN}.desktop
- doicon -s 256 usr/share/icons/hicolor/256x256/apps/${PN}.png
-
- keepdir /etc/microsoft/identity-broker/{certs,private}
- fperms 0700 /etc/microsoft/identity-broker/{certs,private}
-
- insinto /etc/microsoft/identity-broker/etc
- newins "${FILESDIR}/lsb-release-${FAKE_OS}" lsb-release
- newins "${FILESDIR}/os-release-${FAKE_OS}" os-release
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- elog "This version is designed for GNOME Keyring. To use it with KWallet, run:"
- elog " busctl --user call org.freedesktop.secrets /org/freedesktop/secrets org.freedesktop.Secret.Service SetAlias so login /org/freedesktop/secrets/collection/kdewallet"
- elog "To undo this change, run:"
- elog " busctl --user call org.freedesktop.secrets /org/freedesktop/secrets org.freedesktop.Secret.Service SetAlias so login /"
-}
diff --git a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.2.ebuild b/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.2.ebuild
deleted file mode 100644
index 6e213ee6775a..000000000000
--- a/sys-auth/microsoft-identity-broker/microsoft-identity-broker-3.0.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop prefix systemd unpacker xdg
-
-FAKE_OS="ubuntu-24.04"
-DESCRIPTION="Microsoft Authentication Broker to access a corporate environment"
-HOMEPAGE="https://learn.microsoft.com/intune/"
-SRC_URI="https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/${PN:0:1}/${PN}/${PN}_${PV%_p*}-noble_amd64.deb"
-S="${WORKDIR}"
-LICENSE="microsoft-proprietary Apache-2.0 BSD-2 MIT"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-RESTRICT="bindist mirror"
-
-RDEPEND="
- app-accessibility/at-spi2-core:2
- app-crypt/libsecret
- app-crypt/p11-kit
- dev-libs/glib:2
- dev-libs/openssl:0/3
- net-libs/libsoup:3.0
- net-libs/webkit-gtk:4.1/0
- net-misc/curl
- sys-apps/bubblewrap
- sys-apps/dbus
- sys-apps/util-linux
- x11-libs/cairo
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/pango
- virtual/zlib
-"
-
-QA_PREBUILT="*"
-DIR="/opt/microsoft/identity-broker"
-DB="microsoft-identity-device-broker"
-
-pkg_setup() {
- local pv
- for pv in ${REPLACING_VERSIONS}; do
- if ver_test ${pv} -lt 2.0.3; then
- ewarn "You are upgrading to an entirely new implementation. It is highly recommended"
- ewarn "to unregister this system before upgrading. After upgrading, run"
- ewarn "\`dsreg --cleanup\` and \`sudo dsreg --cleanup\` before registering again."
- break
- fi
- done
-}
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-src_install() {
- dobin usr/bin/dsreg
- doman usr/share/man/man1/dsreg.1
-
- exeinto "${DIR}"/bin
- newexe $(prefixify_ro "${FILESDIR}"/wrapper) ${PN}
- dosym ${PN} "${DIR}"/bin/${DB}
-
- exeinto "${DIR}"/libexec
- doexe "${DIR#/}"/bin/{${PN},${DB}}
-
- insinto /usr/share
- doins -r usr/share/dbus-1
-
- systemd_dounit usr/lib/systemd/system/${DB}.service
-
- # DOS line endings? Yes, Chewi lol'd too. ;)
- tr -d "\r" < usr/share/applications/${PN}.desktop | newmenu - ${PN}.desktop
- doicon -s 256 usr/share/icons/hicolor/256x256/apps/${PN}.png
-
- keepdir /etc/microsoft/identity-broker/{certs,private}
- fperms 0700 /etc/microsoft/identity-broker/{certs,private}
-
- insinto /etc/microsoft/identity-broker/etc
- newins "${FILESDIR}/lsb-release-${FAKE_OS}" lsb-release
- newins "${FILESDIR}/os-release-${FAKE_OS}" os-release
-
- dodoc usr/share/doc/${PN}/CHANGELOG.md
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- elog "This version is designed for GNOME Keyring. To use it with KWallet, run:"
- elog " busctl --user call org.freedesktop.secrets /org/freedesktop/secrets org.freedesktop.Secret.Service SetAlias so login /org/freedesktop/secrets/collection/kdewallet"
- elog "To undo this change, run:"
- elog " busctl --user call org.freedesktop.secrets /org/freedesktop/secrets org.freedesktop.Secret.Service SetAlias so login /"
-}
diff --git a/sys-auth/munge/Manifest b/sys-auth/munge/Manifest
deleted file mode 100644
index 61870bf78f8c..000000000000
--- a/sys-auth/munge/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST munge-0.5.18.tar.xz 466672 BLAKE2B dbc76bc9ec41106bd03296615b721ad93ce0b72246bfd864d751c581fbbc4b88524dae9b1db9dd1f3e7fdeb589e68b2e6d9c63f67b2a231026a34511e58dcb96 SHA512 b7f0badfcde54786e330c8bc3fe625c99818cd154654a111f3a05462b0002394ee7581e7005eae4849bac98f4287650bf38050720bd522aa0a445d118b65bc29
diff --git a/sys-auth/munge/files/munged.confd b/sys-auth/munge/files/munged.confd
deleted file mode 100644
index 8ab2f69284a3..000000000000
--- a/sys-auth/munge/files/munged.confd
+++ /dev/null
@@ -1,13 +0,0 @@
-# Specify secret key file. If the keyfile does not already exist
-# it will be created on first startup using pseudorandom data via
-# dd if=/dev/urandom bs=1 count=1024 >/etc/munge/munge.key
-KEYFILE="/etc/munge/munge.key"
-
-# Specify whether to check "/etc/group" mtime
-GROUP_CHECK_MTIME=1
-
-# Specify seconds between group info updates
-GROUP_UPDATE_TIME=3600
-
-# Specify number of threads to spawn
-NUM_THREADS=2
diff --git a/sys-auth/munge/files/munged.initd b/sys-auth/munge/files/munged.initd
deleted file mode 100644
index 0cbbe7213a93..000000000000
--- a/sys-auth/munge/files/munged.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- after localmount
-}
-
-check_key() {
- [ -s "${KEYFILE}" ] && return 0
- local old_umask=$(umask)
- local ret
- umask 037
- dd if=/dev/urandom bs=1024 count=1 of="${KEYFILE}" 2>/dev/null; ret=$?
- umask $old_umask
- return $ret
-}
-
-start() {
- ebegin "Starting munged"
- if ! check_key; then
- eerror "Failed to create munge key"
- eend 1 && exit 1
- fi
- checkpath -d -m 755 -o munge:munge /run/munge
- checkpath -d -m 711 -o munge:munge /var/lib/munge
- checkpath -d -m 700 -o munge:munge /var/log/munge
- checkpath -f -m 600 -o munge:munge "${KEYFILE}"
- start-stop-daemon -S /usr/sbin/munged \
- --user munge \
- --group munge \
- --pidfile /run/munge/munged.pid \
- -- \
- --log-file=/var/log/munge/munged.log \
- --key-file="${KEYFILE}" \
- --group-check-mtime="${GROUP_CHECK_MTIME}" \
- --group-update-time="${GROUP_UPDATE_TIME}" \
- --num-threads="${NUM_THREADS}"
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping munged"
- start-stop-daemon -K /usr/sbin/munged \
- --pidfile /run/munge/munged.pid
- eend ${?}
-}
-
diff --git a/sys-auth/munge/files/munged.tmpfiles.conf b/sys-auth/munge/files/munged.tmpfiles.conf
deleted file mode 100644
index 2f82354844f3..000000000000
--- a/sys-auth/munge/files/munged.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/munge 0755 munge munge -
diff --git a/sys-auth/munge/metadata.xml b/sys-auth/munge/metadata.xml
deleted file mode 100644
index 392f83886c88..000000000000
--- a/sys-auth/munge/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>cluster@gentoo.org</email>
- <name>Gentoo Cluster Project</name>
- </maintainer>
- <use>
- <flag name="gcrypt">Use libgcrypt instead of openssl</flag>
- </use>
- <longdescription>MUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for creating
- and validating credentials. It is designed to be highly scalable for use in
- an HPC cluster environment. It allows a process to authenticate the UID and
- GID of another local or remote process within a group of hosts having common
- users and groups. These hosts form a security realm that is defined by a
- shared cryptographic key. Clients within this security realm can create and
- validate credentials without the use of root privileges, reserved ports, or
- platform-specific methods.</longdescription>
- <upstream>
- <remote-id type="google-code">munge</remote-id>
- <remote-id type="github">dun/munge</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/munge/munge-0.5.18.ebuild b/sys-auth/munge/munge-0.5.18.ebuild
deleted file mode 100644
index 64a52f29c49e..000000000000
--- a/sys-auth/munge/munge-0.5.18.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools prefix systemd tmpfiles
-
-DESCRIPTION="An authentication service for creating and validating credentials"
-HOMEPAGE="https://github.com/dun/munge"
-SRC_URI="https://github.com/dun/munge/releases/download/${P}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="debug gcrypt static-libs"
-# TODO: still tries to use ${S}?
-RESTRICT="test"
-
-DEPEND="
- app-arch/bzip2
- virtual/zlib:=
- gcrypt? ( dev-libs/libgcrypt:= )
- !gcrypt? ( dev-libs/openssl:= )
-"
-RDEPEND="
- ${DEPEND}
- acct-group/munge
- acct-user/munge
-"
-BDEPEND="app-arch/xz-utils[extra-filters(+)]"
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --localstatedir="${EPREFIX}"/var
- --with-logrotateddir="${EPREFIX}"/etc/logrotate.d
- --with-pkgconfigdir="${EPREFIX}/usr/$(get_libdir)/pkgconfig"
- --with-systemdunitdir="$(systemd_get_systemunitdir)"
- --with-crypto-lib=$(usex gcrypt libgcrypt openssl)
- # bug 959814, pick up OpenSSL from Gentoo Prefix
- --with-openssl-prefix="${EPREFIX}"/usr
- $(use_enable debug)
- $(use_enable static-libs static)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- # Note that both verboses seem to be needed, otherwise output
- # is verbose but not maximally so
- emake check root="${T}"/munge VERBOSE=t verbose=t
-}
-
-src_install() {
- default
-
- # bug #450830
- if [[ -d "${ED}"/var/run ]] ; then
- rm -rf "${ED}"/var/run || die
- fi
-
- dodir /etc/munge
- keepdir /var/{lib,log}/munge
-
- local d
- for d in "init.d" "default" "sysconfig"; do
- if [[ -d "${ED}"/etc/${d} ]] ; then
- rm -r "${ED}"/etc/${d} || die
- fi
- done
-
- newconfd "$(prefixify_ro "${FILESDIR}"/${PN}d.confd)" ${PN}d
- newinitd "$(prefixify_ro "${FILESDIR}"/${PN}d.initd)" ${PN}d
-
- newtmpfiles "${FILESDIR}"/munged.tmpfiles.conf munged.conf
-
- if ! use static-libs; then
- find "${ED}" -name '*.la' -delete || die
- fi
-}
-
-pkg_postinst() {
- tmpfiles_process munged.conf
-}
diff --git a/sys-auth/nss-docker-ng/Manifest b/sys-auth/nss-docker-ng/Manifest
deleted file mode 100644
index 59422892ad73..000000000000
--- a/sys-auth/nss-docker-ng/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST nss-docker-ng-1.0.7-crates.tar.xz 12977172 BLAKE2B 972681146d84873ca03b29aaac8a183d74c158735a54b248de62a26446e11df1d7fa5a008d256562c52e261b50913c03701787f482fe9150603710e6945cb1e9 SHA512 d689983ee307ee224b00ac654da794ee64b4e7206c7e4858adefd856f91a4bd3a120f9fe86d4eae820de8b2763bf4bb3c70a947134910fc345b8b79f6b8b2a77
-DIST nss-docker-ng-1.0.7.tar.gz 15285 BLAKE2B 7fa82aab354d928842bea0ed7362842009ce4aedc20eaf5de5ba0a27ce1dca8ae2659e3ac67f9a271c1f48d93ae157089f5285a4ba4cf09e942beef6b43e28c1 SHA512 928604ac2d318cbee78ed6133f68bb641c0b44aefeeb4f5e0ebfeb584ba3eff5fccdd7a8827f37149a64848acaa18387b09d65af30bf114981775c8011b2a588
-DIST nss-docker-ng-1.1.3-crates.tar.xz 13158332 BLAKE2B f018af7875d904895336d1a3cf69d217d44023f61fa8dd921eac2bc694ac0fd337ebfe9d88a6cb9f5fec8c2e377e6892acf2307ea2ada3faa0f0fbb0ce608fbd SHA512 33df22831f2044cf42833c690937f337911dcba3fbe7f514baa12f333354f13e9be5ad33e6978719500017bd018acb446bc6221636d1a524101991e3492527fe
-DIST nss-docker-ng-1.1.3.tar.gz 15831 BLAKE2B 003c16104bf5db34dffecb9fbacb355aa3f84884c51e5147bb958f70cab8c8e3a9b84f12bfa8cf363f971d3ee1f082bd4f17bf56bdf2982642e88270e06d3dfd SHA512 72c97255c8ff9e8f96e3152ef87c16cb90558281abbd5bbbf454099b95300e7584985ba8b56f5dc80922e24941b3e395e9700e52f4f8438578dcb8043ede188d
-DIST nss-docker-ng-1.2.1-crates.tar.xz 11868692 BLAKE2B 55c4d188557e899c29dbd6c87965692b98536a6fdf3e51eedef4c0eb047aa019d3647a6f2e7c65eeefe653f71f9e6833d2fa9a18cc9712b2933f98382c37a2ba SHA512 8fecacb8c8ba3242c5db0c137d75081b8ba3b9ee2e7397f2471194d8fe6386676d70bb0dba7cd09561c8a6e03feb273c12ab9e4993cb24b13b762c2381bbce10
-DIST nss-docker-ng-1.2.1.tar.gz 17365 BLAKE2B 1f8ee6fc85828b4b1d0d490457a5595ee76f992eca83a5e68de177b12cf6e61a46634b9699064ca4b26f1a94fa5356599ff8637dd607a1fa07425dcb0e40b38b SHA512 481b786dd77e7447f2f51082e57d5ee2d489ca89a00eaea28434bf2d87f2e660e0d8d76d673dad544fa49dc53e0460fbe832f4b05e181ad4b93130121489c941
diff --git a/sys-auth/nss-docker-ng/metadata.xml b/sys-auth/nss-docker-ng/metadata.xml
deleted file mode 100644
index dc105c2f2d94..000000000000
--- a/sys-auth/nss-docker-ng/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>arthurzam@gentoo.org</email>
- <name>Arthur Zamarin</name>
- </maintainer>
- <upstream>
- <remote-id type="github">petski/nss-docker-ng</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/nss-docker-ng/nss-docker-ng-1.0.7.ebuild b/sys-auth/nss-docker-ng/nss-docker-ng-1.0.7.ebuild
deleted file mode 100644
index fe350997548b..000000000000
--- a/sys-auth/nss-docker-ng/nss-docker-ng-1.0.7.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2024-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.13.3
-
-EAPI=8
-
-CRATES=""
-
-inherit cargo readme.gentoo-r1
-
-DESCRIPTION="NSS plugin for finding Docker containers by their ID or name"
-HOMEPAGE="https://github.com/petski/nss-docker-ng"
-SRC_URI="https://github.com/petski/nss-docker-ng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-if [[ ${PKGBUMPING} != ${PVR} ]]; then
- SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/sys-auth/${PN}/${P}-crates.tar.xz"
-fi
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+=" Apache-2.0 LGPL-3 MIT MPL-2.0 Unicode-DFS-2016"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-util/patchelf"
-
-QA_FLAGS_IGNORED="usr/lib.*/libnss_docker_ng.so.*"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS='
-You must modify your name service switch lookup file to enable nss-docker-ng.
-To do so, add 'docker_ng' to the hosts line in /etc/nsswitch.conf
-
-An example hosts line looks like this:
- hosts: docker_ng resolve [!UNAVAIL=return] files myhostname dns
-'
-
-pkg_setup() {
- rust_pkg_setup
- # Requires nightly feature proc-macro2, bug #947565
- export RUSTC_BOOTSTRAP=1
-}
-
-src_install() {
- cd "$(cargo_target_dir)" || die
- patchelf --set-soname libnss_docker_ng.so.2 libnss_docker_ng.so || die
- mv libnss_docker_ng.so libnss_docker_ng.so.2 || die
- ln -s libnss_docker_ng.so.2 libnss_docker_ng.so || die
- dolib.so libnss_docker_ng.so*
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sys-auth/nss-docker-ng/nss-docker-ng-1.1.3.ebuild b/sys-auth/nss-docker-ng/nss-docker-ng-1.1.3.ebuild
deleted file mode 100644
index 0318658f26c3..000000000000
--- a/sys-auth/nss-docker-ng/nss-docker-ng-1.1.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.13.3
-
-EAPI=8
-
-CRATES=""
-RUST_MIN_VER="1.88.0"
-inherit cargo readme.gentoo-r1
-
-DESCRIPTION="NSS plugin for finding Docker containers by their ID or name"
-HOMEPAGE="https://github.com/petski/nss-docker-ng"
-SRC_URI="https://github.com/petski/nss-docker-ng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+=" Apache-2.0 LGPL-3 MIT MPL-2.0 Unicode-DFS-2016"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-util/patchelf"
-
-QA_FLAGS_IGNORED="usr/lib.*/libnss_docker_ng.so.*"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS='
-You must modify your name service switch lookup file to enable nss-docker-ng.
-To do so, add 'docker_ng' to the hosts line in /etc/nsswitch.conf
-
-An example hosts line looks like this:
- hosts: docker_ng resolve [!UNAVAIL=return] files myhostname dns
-'
-
-src_install() {
- cd "$(cargo_target_dir)" || die
- patchelf --set-soname libnss_docker_ng.so.2 libnss_docker_ng.so || die
- mv libnss_docker_ng.so libnss_docker_ng.so.2 || die
- ln -s libnss_docker_ng.so.2 libnss_docker_ng.so || die
- dolib.so libnss_docker_ng.so*
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sys-auth/nss-docker-ng/nss-docker-ng-1.2.1.ebuild b/sys-auth/nss-docker-ng/nss-docker-ng-1.2.1.ebuild
deleted file mode 100644
index 1dd3b3416805..000000000000
--- a/sys-auth/nss-docker-ng/nss-docker-ng-1.2.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CRATES=""
-RUST_MIN_VER="1.88.0"
-inherit cargo readme.gentoo-r1
-
-DESCRIPTION="NSS plugin for finding Docker containers by their ID or name"
-HOMEPAGE="https://github.com/petski/nss-docker-ng"
-SRC_URI="https://github.com/petski/nss-docker-ng/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+=" Apache-2.0 LGPL-3 MIT MPL-2.0 Unicode-DFS-2016"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-util/patchelf"
-
-QA_FLAGS_IGNORED="usr/lib.*/libnss_docker_ng.so.*"
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS='
-You must modify your name service switch lookup file to enable nss-docker-ng.
-To do so, add 'docker_ng' to the hosts line in /etc/nsswitch.conf
-
-An example hosts line looks like this:
- hosts: docker_ng resolve [!UNAVAIL=return] files myhostname dns
-'
-
-src_install() {
- cd "$(cargo_target_dir)" || die
- patchelf --set-soname libnss_docker_ng.so.2 libnss_docker_ng.so || die
- mv libnss_docker_ng.so libnss_docker_ng.so.2 || die
- ln -s libnss_docker_ng.so.2 libnss_docker_ng.so || die
- dolib.so libnss_docker_ng.so*
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sys-auth/nss-mdns/Manifest b/sys-auth/nss-mdns/Manifest
deleted file mode 100644
index 5bf760aef39f..000000000000
--- a/sys-auth/nss-mdns/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nss-mdns-0.15.1.tar.gz 375154 BLAKE2B d848be9d957f81b62627b3c507e9c503fde4a760cec45b4bacb7fe826f5a16c1a0053ab43887daa7e6dc4cb5fd7332bbc30b18113ee1cf911ee15d6dfac97e52 SHA512 11a82ae9f209326b4501c7e6d33c9932b370c4dcacb64d6783140e25688ad6391bbd113e51ee470fd8be12669124eac331593cfd02a040383b4f964ed6ec6154
diff --git a/sys-auth/nss-mdns/files/lld-17-undefined-versioned-symbols.patch b/sys-auth/nss-mdns/files/lld-17-undefined-versioned-symbols.patch
deleted file mode 100644
index 905e41853871..000000000000
--- a/sys-auth/nss-mdns/files/lld-17-undefined-versioned-symbols.patch
+++ /dev/null
@@ -1,160 +0,0 @@
-Gentoo bug: https://bugs.gentoo.org/919484
-Upstream PR: https://github.com/avahi/nss-mdns/pull/93
-diff --git a/Makefile.am b/Makefile.am
-index d5a83c1..6df75f3 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -17,9 +17,6 @@
- EXTRA_DIST=bootstrap.sh README.md ACKNOWLEDGEMENTS.md NEWS.md LICENSE
- ACLOCAL_AMFLAGS=-I m4
-
--# src
--EXTRA_DIST += src/map-file
--
- AM_CFLAGS = \
- -DMDNS_ALLOW_FILE=\"$(MDNS_ALLOW_FILE)\" \
- -DAVAHI_SOCKET=\"$(AVAHI_SOCKET)\"
-@@ -47,29 +44,53 @@ endif
-
- check_PROGRAMS = nss-test avahi-test
-
-+src/libnss-mdns-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
-+src/libnss-mdns-minimal-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns_minimal_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
-+src/libnss-mdns4-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns4_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
-+src/libnss-mdns4-minimal-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns4_minimal_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
-+src/libnss-mdns6-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns6_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
-+src/libnss-mdns6-minimal-la-map-file: $(srcdir)/src/map-file.in $(srcdir)/src/nss.h
-+ $(COMPILE) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(libnss_mdns6_minimal_la_CFLAGS) -E -x assembler-with-cpp -DVER_SYM_MAP_GEN -o $@ $<
-+
- libnss_mdns_la_SOURCES=src/util.c src/util.h src/avahi.c src/avahi.h src/nss.c src/nss.h
-+EXTRA_libnss_mdns_la_DEPENDENCIES=src/libnss-mdns-la-map-file
- libnss_mdns_la_CFLAGS=$(AM_CFLAGS)
--libnss_mdns_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=$(srcdir)/src/map-file
-+libnss_mdns_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns-la-map-file
-
- libnss_mdns_minimal_la_SOURCES=$(libnss_mdns_la_SOURCES)
-+EXTRA_libnss_mdns_minimal_la_DEPENDENCIES=src/libnss-mdns-minimal-la-map-file
- libnss_mdns_minimal_la_CFLAGS=$(libnss_mdns_la_CFLAGS) -DMDNS_MINIMAL
--libnss_mdns_minimal_la_LDFLAGS=$(libnss_mdns_la_LDFLAGS)
-+libnss_mdns_minimal_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns-minimal-la-map-file
-
- libnss_mdns4_la_SOURCES=$(libnss_mdns_la_SOURCES)
-+EXTRA_libnss_mdns4_la_DEPENDENCIES=src/libnss-mdns4-la-map-file
- libnss_mdns4_la_CFLAGS=$(libnss_mdns_la_CFLAGS) -DNSS_IPV4_ONLY=1
--libnss_mdns4_la_LDFLAGS=$(libnss_mdns_la_LDFLAGS)
-+libnss_mdns4_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns4-la-map-file
-
- libnss_mdns4_minimal_la_SOURCES=$(libnss_mdns_la_SOURCES)
-+EXTRA_libnss_mdns4_minimal_la_DEPENDENCIES=src/libnss-mdns4-minimal-la-map-file
- libnss_mdns4_minimal_la_CFLAGS=$(libnss_mdns_la_CFLAGS) -DNSS_IPV4_ONLY=1 -DMDNS_MINIMAL
--libnss_mdns4_minimal_la_LDFLAGS=$(libnss_mdns_la_LDFLAGS)
-+libnss_mdns4_minimal_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns4-minimal-la-map-file
-
- libnss_mdns6_la_SOURCES=$(libnss_mdns_la_SOURCES)
-+EXTRA_libnss_mdns6_la_DEPENDENCIES=src/libnss-mdns6-la-map-file
- libnss_mdns6_la_CFLAGS=$(libnss_mdns_la_CFLAGS) -DNSS_IPV6_ONLY=1
--libnss_mdns6_la_LDFLAGS=$(libnss_mdns_la_LDFLAGS)
-+libnss_mdns6_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns6-la-map-file
-
- libnss_mdns6_minimal_la_SOURCES=$(libnss_mdns_la_SOURCES)
-+EXTRA_libnss_mdns6_minimal_la_DEPENDENCIES=src/libnss-mdns6-minimal-la-map-file
- libnss_mdns6_minimal_la_CFLAGS=$(libnss_mdns_la_CFLAGS) -DNSS_IPV6_ONLY=1 -DMDNS_MINIMAL
--libnss_mdns6_minimal_la_LDFLAGS=$(libnss_mdns_la_LDFLAGS)
-+libnss_mdns6_minimal_la_LDFLAGS=$(AM_LDFLAGS) -shrext .so.2 -Wl,-version-script=src/libnss-mdns6-minimal-la-map-file
-
- nss_mdns_la_SOURCES=$(libnss_mdns_la_SOURCES) src/bsdnss.c
- nss_mdns_la_CFLAGS=$(AM_CFLAGS)
-diff --git a/src/map-file b/src/map-file
-deleted file mode 100644
-index 69e7987..0000000
---- a/src/map-file
-+++ /dev/null
-@@ -1,41 +0,0 @@
--NSSMDNS_0 {
--global:
--
--_nss_mdns_gethostbyaddr_r;
--_nss_mdns4_gethostbyaddr_r;
--_nss_mdns6_gethostbyaddr_r;
--_nss_mdns_minimal_gethostbyaddr_r;
--_nss_mdns4_minimal_gethostbyaddr_r;
--_nss_mdns6_minimal_gethostbyaddr_r;
--
--_nss_mdns_gethostbyname_r;
--_nss_mdns4_gethostbyname_r;
--_nss_mdns6_gethostbyname_r;
--_nss_mdns_minimal_gethostbyname_r;
--_nss_mdns4_minimal_gethostbyname_r;
--_nss_mdns6_minimal_gethostbyname_r;
--
--_nss_mdns_gethostbyname2_r;
--_nss_mdns4_gethostbyname2_r;
--_nss_mdns6_gethostbyname2_r;
--_nss_mdns_minimal_gethostbyname2_r;
--_nss_mdns4_minimal_gethostbyname2_r;
--_nss_mdns6_minimal_gethostbyname2_r;
--
--_nss_mdns_gethostbyname3_r;
--_nss_mdns4_gethostbyname3_r;
--_nss_mdns6_gethostbyname3_r;
--_nss_mdns_minimal_gethostbyname3_r;
--_nss_mdns4_minimal_gethostbyname3_r;
--_nss_mdns6_minimal_gethostbyname3_r;
--
--_nss_mdns_gethostbyname4_r;
--_nss_mdns4_gethostbyname4_r;
--_nss_mdns6_gethostbyname4_r;
--_nss_mdns_minimal_gethostbyname4_r;
--_nss_mdns4_minimal_gethostbyname4_r;
--_nss_mdns6_minimal_gethostbyname4_r;
--
--local:
--*;
--};
-diff --git a/src/map-file.in b/src/map-file.in
-new file mode 100644
-index 0000000..caecf41
---- /dev/null
-+++ b/src/map-file.in
-@@ -0,0 +1,14 @@
-+NSSMDNS_0 {
-+global:
-+
-+#include "nss.h"
-+
-+_nss_mdns_gethostbyaddr_r;
-+_nss_mdns_gethostbyname2_r;
-+_nss_mdns_gethostbyname3_r;
-+_nss_mdns_gethostbyname4_r;
-+_nss_mdns_gethostbyname_r;
-+
-+local:
-+*;
-+};
-diff --git a/src/nss.h b/src/nss.h
-index dd8dbff..d63f51c 100644
---- a/src/nss.h
-+++ b/src/nss.h
-@@ -33,6 +33,7 @@
- #define _nss_mdns_gethostbyaddr_r _nss_mdns_minimal_gethostbyaddr_r
- #endif
-
-+#ifndef VER_SYM_MAP_GEN
- // Define prototypes for nss function we're going to export (fixes GCC warnings)
- #ifndef __FreeBSD__
- enum nss_status _nss_mdns_gethostbyname4_r(const char*, struct gaih_addrtuple**,
-@@ -50,3 +51,4 @@ enum nss_status _nss_mdns_gethostbyaddr_r(const void*, int, int,
- int*);
-
- #endif
-+#endif
diff --git a/sys-auth/nss-mdns/files/mdns.allow b/sys-auth/nss-mdns/files/mdns.allow
deleted file mode 100644
index 80b49b097b03..000000000000
--- a/sys-auth/nss-mdns/files/mdns.allow
+++ /dev/null
@@ -1,3 +0,0 @@
-# mdns.allow:
-.local.
-.local
diff --git a/sys-auth/nss-mdns/metadata.xml b/sys-auth/nss-mdns/metadata.xml
deleted file mode 100644
index 77eb2751c9e3..000000000000
--- a/sys-auth/nss-mdns/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>amynka@gentoo.org</email>
- </maintainer>
- <maintainer type="person">
- <email>mgorny@gentoo.org</email>
- <name>Michał Górny</name>
- </maintainer>
- <upstream>
- <remote-id type="github">lathiat/nss-mdns</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
deleted file mode 100644
index 1af3f677d748..000000000000
--- a/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools multilib-minimal
-
-DESCRIPTION="Name Service Switch module for Multicast DNS"
-HOMEPAGE="https://github.com/lathiat/nss-mdns"
-SRC_URI="https://github.com/lathiat/nss-mdns/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
- test? ( >=dev-libs/check-0.11[${MULTILIB_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/lld-17-undefined-versioned-symbols.patch
-)
-
-src_prepare() {
- default
- # Only needed for LLD 17 patch
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- # $(localstatedir)/run/... is used to locate avahi-daemon socket
- --localstatedir=/var
- $(use_enable test tests)
- )
-
- ECONF_SOURCE=${S} \
- econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
- dodoc *.md
-
- insinto /etc
- doins "${FILESDIR}"/mdns.allow
-}
-
-pkg_postinst() {
- ewarn "You have to modify your name service switch look up file to enable"
- ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses"
- ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both"
- ewarn "use mdns. Keep in mind that mdns will be slower if there are no"
- ewarn "IPv6 addresses published via mDNS on the network. There are also"
- ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts"
- ewarn "and 169.254.x.x addresses."
- ewarn
- ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf"
- ewarn "before resolve and dns. An example line looks like:"
- ewarn "hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns"
- ewarn
- ewarn "If you want to perform mDNS lookups for domains other than the ones"
- ewarn "ending in .local, add them to /etc/mdns.allow."
-}
diff --git a/sys-auth/nss-mdns/nss-mdns-9999.ebuild b/sys-auth/nss-mdns/nss-mdns-9999.ebuild
deleted file mode 100644
index 226d4a4e1bbf..000000000000
--- a/sys-auth/nss-mdns/nss-mdns-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools multilib-minimal
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="https://github.com/lathiat/nss-mdns"
- inherit git-r3
-else
- SRC_URI="https://github.com/lathiat/nss-mdns/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
-fi
-
-DESCRIPTION="Name Service Switch module for Multicast DNS"
-HOMEPAGE="https://github.com/lathiat/nss-mdns"
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=">=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
- test? ( >=dev-libs/check-0.11[${MULTILIB_USEDEP}] )"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- # $(localstatedir)/run/... is used to locate avahi-daemon socket
- --localstatedir=/var
- $(use_enable test tests)
- )
-
- ECONF_SOURCE=${S} \
- econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
- dodoc *.md
-
- insinto /etc
- doins "${FILESDIR}"/mdns.allow
-}
-
-pkg_postinst() {
- ewarn "You have to modify your name service switch look up file to enable"
- ewarn "multicast DNS lookups. If you wish to resolve only IPv6 addresses"
- ewarn "use mdns6. For IPv4 addresses only, use mdns4. To resolve both"
- ewarn "use mdns. Keep in mind that mdns will be slower if there are no"
- ewarn "IPv6 addresses published via mDNS on the network. There are also"
- ewarn "minimal (mdns?_minimal) libraries which only lookup .local hosts"
- ewarn "and 169.254.x.x addresses."
- ewarn
- ewarn "Add the appropriate mdns into the hosts line in /etc/nsswitch.conf"
- ewarn "before resolve and dns. An example line looks like:"
- ewarn "hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns"
- ewarn
- ewarn "If you want to perform mDNS lookups for domains other than the ones"
- ewarn "ending in .local, add them to /etc/mdns.allow."
-}
diff --git a/sys-auth/nss-myhostname/Manifest b/sys-auth/nss-myhostname/Manifest
deleted file mode 100644
index 8672af193e5a..000000000000
--- a/sys-auth/nss-myhostname/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nss-myhostname-0.3.tar.gz 330031 BLAKE2B 99b9cc42c8dc5a73afe9dddfad6c05d175246ffb7985fb90b3f1bab96c8b5afde012e41f5770d2671eefd1f86be81b576637994bffb5e00adab7ac2c986c09b7 SHA512 8f14091f887991532bc3cedcdee607c89f403c7869063919c299cdd7ee8207a9759ab9105093bae151a79e08944053598104a59e9987949ee146d742a12e8c34
diff --git a/sys-auth/nss-myhostname/metadata.xml b/sys-auth/nss-myhostname/metadata.xml
deleted file mode 100644
index d9144c66ed29..000000000000
--- a/sys-auth/nss-myhostname/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- <name>Gentoo Freedesktop Project</name>
-</maintainer>
-<longdescription lang="en">
-nss-myhostname is a plugin for the GNU Name Service Switch (NSS) functionality
-of the GNU C Library (glibc) providing host name resolution for the locally
-configured system hostname as returned by gethostname(2). Various software
-relies on an always resolvable local host name. When using dynamic hostnames
-this is usually achieved by patching /etc/hosts at the same time as changing
-the host name. This however is not ideal since it requires a writable /etc
-file system and is fragile because the file might be edited by the
-administrator at the same time. nss-myhostname simply returns all locally
-configure public IP addresses, or -- if none are configured -- the IPv4
-address 127.0.0.2 (wich is on the local loopback) and the IPv6 address ::1
-(which is the local host) for whatever system hostname is configured locally.
-Patching /etc/hosts is thus no longer necessary.
-</longdescription>
-</pkgmetadata>
diff --git a/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild b/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
deleted file mode 100644
index 662c484c08bf..000000000000
--- a/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-DESCRIPTION="Name Service Switch module for resolving the local hostname"
-HOMEPAGE="https://0pointer.de/lennart/projects/nss-myhostname/"
-SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
-
-RDEPEND="!>=sys-apps/systemd-197"
-
-src_prepare() {
- # The documentation in doc/ is just the README file in other formats
- sed -e 's:SUBDIRS *= *doc:SUBDIRS =:' -i Makefile.{am,in} ||
- die "sed failed"
- default
-}
-
-src_configure() {
- econf --disable-lynx
-}
-
-pkg_postinst() {
- elog "You must modify your name service switch lookup file to enable"
- elog "nss-myhostname. To do so, add 'myhostname' to the hosts line in"
- elog "/etc/nsswitch.conf"
- elog
- elog "An example hosts line looks like this:"
- elog "hosts: files dns myhostname"
- elog
-}
diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest
deleted file mode 100644
index 9c6aa6484d06..000000000000
--- a/sys-auth/nss-pam-ldapd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nss-pam-ldapd-0.9.13.tar.gz 808355 BLAKE2B a4270d5256e8277898d7deffa427c6b943b082d1dbd5b171f148ff755f79f3a3427864859fdcdb66b33fa09c1ecc8da3674ab40c240708fef0d77f43942fe5ba SHA512 6c2f73cbc800704a23cb98f405d8391dc12d2322fc6ce59cc20e9be34a74752952d8ae6c1980836fcb178a5c7e84f5ed794a15271bda90f611f9e6aefb6eee0a
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd-tmpfiles.conf b/sys-auth/nss-pam-ldapd/files/nslcd-tmpfiles.conf
deleted file mode 100644
index ac4ee0ad8649..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd-tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/nslcd 0755 nslcd nslcd -
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.init b/sys-auth/nss-pam-ldapd/files/nslcd.init
deleted file mode 100644
index 959fb601f606..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd.init
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command=/usr/sbin/nslcd
-pidfile=/run/nslcd/nslcd.pid
-extra_commands="checkconfig"
-cfg="/etc/nslcd.conf"
-
-depend() {
- need net
- use dns logger
-}
-
-checkconfig() {
- if [ ! -f "$cfg" ] ; then
- eerror "Please create $cfg"
- eerror "Example config: /usr/share/nss-ldapd/nslcd.conf"
- return 1
- fi
- return 0
-}
-
-start_pre() {
- checkpath -q -d /run/nslcd -o nslcd:nslcd
- checkconfig
- return $?
-}
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.s6 b/sys-auth/nss-pam-ldapd/files/nslcd.s6
deleted file mode 100644
index 264da009ba11..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd.s6
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-exec 2>&1
-exec /usr/sbin/nslcd -n
diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.service b/sys-auth/nss-pam-ldapd/files/nslcd.service
deleted file mode 100644
index b6b167aaed92..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nslcd.service
+++ /dev/null
@@ -1,14 +0,0 @@
-[Unit]
-Description=NSS and PAM LDAP client daemon
-After=network-online.target
-Wants=network-online.target nss-lookup.target syslog.service
-Before=nss-user-lookup.target
-
-[Service]
-Type=forking
-PIDFile=/run/nslcd/nslcd.pid
-ExecStart=/usr/sbin/nslcd
-
-[Install]
-WantedBy=multi-user.target
-RequiredBy=nss-user-lookup.target
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch
deleted file mode 100644
index 101d0c774505..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-relative-imports.patch
+++ /dev/null
@@ -1,452 +0,0 @@
-diff --git a/pynslcd/Makefile.am b/pynslcd/Makefile.am
-index 383dd3c..39a3bfb 100644
---- a/pynslcd/Makefile.am
-+++ b/pynslcd/Makefile.am
-@@ -19,7 +19,7 @@
-
- pynslcddir = $(datadir)/pynslcd
-
--pynslcd_PYTHON = pynslcd.py attmap.py cache.py cfg.py common.py expr.py \
-+pynslcd_PYTHON = main.py attmap.py cache.py cfg.py common.py expr.py \
- mypidfile.py invalidator.py search.py tio.py \
- config.py alias.py ether.py group.py host.py netgroup.py \
- network.py passwd.py protocol.py rpc.py service.py \
-@@ -38,6 +38,6 @@ constants.py: constants.py.in $(top_srcdir)/nslcd.h
- # create a symbolic link for the pynslcd daemon and fix permissions
- install-data-hook:
- $(MKDIR_P) $(DESTDIR)$(sbindir)
-- [ -L $(DESTDIR)$(sbindir)/pynslcd ] || $(LN_S) $(pynslcddir)/pynslcd.py $(DESTDIR)$(sbindir)/pynslcd
-- chmod a+rx $(DESTDIR)$(pynslcddir)/pynslcd.py
-- sed -i -e '1 s|^#!.*|#! $(PYTHON)|;1 s|^#! \([^/].*\)|#! /usr/bin/env \1|' $(DESTDIR)$(pynslcddir)/pynslcd.py
-+ [ -L $(DESTDIR)$(sbindir)/pynslcd ] || $(LN_S) $(pynslcddir)/main.py $(DESTDIR)$(sbindir)/pynslcd
-+ chmod a+rx $(DESTDIR)$(pynslcddir)/main.py
-+ sed -i -e '1 s|^#!.*|#! $(PYTHON)|;1 s|^#! \([^/].*\)|#! /usr/bin/env \1|' $(DESTDIR)$(pynslcddir)/main.py
-diff --git a/pynslcd/alias.py b/pynslcd/alias.py
-index 8096309..614dd53 100644
---- a/pynslcd/alias.py
-+++ b/pynslcd/alias.py
-@@ -18,10 +18,10 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/attmap.py b/pynslcd/attmap.py
-index 61862df..4d450f6 100644
---- a/pynslcd/attmap.py
-+++ b/pynslcd/attmap.py
-@@ -45,7 +45,7 @@ import re
- import ldap.dn
- from ldap.filter import escape_filter_chars
-
--from expr import Expression
-+from pynslcd.expr import Expression
-
-
- # exported names
-diff --git a/pynslcd/cfg.py b/pynslcd/cfg.py
-index 877d442..14ae850 100644
---- a/pynslcd/cfg.py
-+++ b/pynslcd/cfg.py
-@@ -133,8 +133,8 @@ _tls_reqcert_options = {'never': ldap.OPT_X_TLS_NEVER,
-
- def _get_maps():
- # separate function as not to pollute the namespace and avoid import loops
-- import alias, ether, group, host, netgroup, network, passwd # noqa: E401
-- import protocol, rpc, service, shadow # noqa: E401
-+ from pynslcd import alias, ether, group, host, netgroup, network, passwd # noqa: E401
-+ from pynslcd import protocol, rpc, service, shadow # noqa: E401
- import sys
- return dict(
- alias=alias, aliases=alias,
-@@ -293,7 +293,7 @@ def read(filename): # noqa: C901 (many simple branches)
- # pam_authz_search <FILTER>
- m = re.match(r'pam_authz_search\s+(?P<value>\S.*)', line, re.IGNORECASE)
- if m:
-- from expr import Expression
-+ from pynslcd.expr import Expression
- pam_authz_searches.append(Expression(m.group('value')))
- # TODO: check pam_authz_search expression to only contain
- # username, service, ruser, rhost, tty, hostname, fqdn, dn or
-diff --git a/pynslcd/common.py b/pynslcd/common.py
-index a5b168d..568ac2f 100644
---- a/pynslcd/common.py
-+++ b/pynslcd/common.py
-@@ -23,9 +23,9 @@ import sys
-
- import ldap
-
--from attmap import Attributes # noqa: F401 (used by other modules)
--import cfg
--import constants
-+from pynslcd.attmap import Attributes # noqa: F401 (used by other modules)
-+from pynslcd import cfg
-+from pynslcd import constants
-
-
- def is_valid_name(name):
-diff --git a/pynslcd/config.py b/pynslcd/config.py
-index ee57db3..ba8badb 100644
---- a/pynslcd/config.py
-+++ b/pynslcd/config.py
-@@ -18,9 +18,9 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cfg
--import common
--import constants
-+from pynslcd import cfg
-+from pynslcd import common
-+from pynslcd import constants
-
-
- class ConfigGetRequest(common.Request):
-diff --git a/pynslcd/ether.py b/pynslcd/ether.py
-index 9462ef0..2edc5de 100644
---- a/pynslcd/ether.py
-+++ b/pynslcd/ether.py
-@@ -20,10 +20,10 @@
-
- import struct
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- def ether_aton(ether):
-diff --git a/pynslcd/group.py b/pynslcd/group.py
-index 263e40c..422ee9e 100644
---- a/pynslcd/group.py
-+++ b/pynslcd/group.py
-@@ -23,12 +23,12 @@ import logging
- import ldap
- from ldap.filter import escape_filter_chars
-
--import cache
--import cfg
--import common
--import constants
--import passwd
--import search
-+from pynslcd import cache
-+from pynslcd import cfg
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import passwd
-+from pynslcd import search
-
-
- def clean(lst):
-diff --git a/pynslcd/host.py b/pynslcd/host.py
-index c6639df..30259d6 100644
---- a/pynslcd/host.py
-+++ b/pynslcd/host.py
-@@ -18,10 +18,10 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/invalidator.py b/pynslcd/invalidator.py
-index 6d2eefe..b54946e 100644
---- a/pynslcd/invalidator.py
-+++ b/pynslcd/invalidator.py
-@@ -23,7 +23,7 @@ import logging
- import os
- import subprocess
-
--import cfg
-+from pynslcd import cfg
-
-
- # the file descriptor used for sending messages to the child process
-diff --git a/pynslcd/mypidfile.py b/pynslcd/mypidfile.py
-index 42935e2..dd7d59a 100644
---- a/pynslcd/mypidfile.py
-+++ b/pynslcd/mypidfile.py
-@@ -22,7 +22,7 @@ import errno
- import fcntl
- import os
-
--import cfg
-+from pynslcd import cfg
-
-
- class MyPIDLockFile(object):
-diff --git a/pynslcd/netgroup.py b/pynslcd/netgroup.py
-index 47a4c6e..8d0fbb2 100644
---- a/pynslcd/netgroup.py
-+++ b/pynslcd/netgroup.py
-@@ -20,10 +20,10 @@
-
- import re
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- _netgroup_triple_re = re.compile(
-diff --git a/pynslcd/network.py b/pynslcd/network.py
-index da587b9..3b94d06 100644
---- a/pynslcd/network.py
-+++ b/pynslcd/network.py
-@@ -18,10 +18,10 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/pam.py b/pynslcd/pam.py
-index b372cdd..bb7add8 100644
---- a/pynslcd/pam.py
-+++ b/pynslcd/pam.py
-@@ -27,12 +27,12 @@ import ldap
- from ldap.controls.ppolicy import PasswordPolicyControl, PasswordPolicyError
- from ldap.filter import escape_filter_chars
-
--import cfg
--import common
--import constants
--import passwd
--import search
--import shadow
-+from pynslcd import cfg
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import passwd
-+from pynslcd import search
-+from pynslcd import shadow
-
-
- random = random.SystemRandom()
-diff --git a/pynslcd/passwd.py b/pynslcd/passwd.py
-index 1274f21..51ae57e 100644
---- a/pynslcd/passwd.py
-+++ b/pynslcd/passwd.py
-@@ -20,11 +20,11 @@
-
- import logging
-
--import cache
--import cfg
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import cfg
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/protocol.py b/pynslcd/protocol.py
-index dc41c4b..396f337 100644
---- a/pynslcd/protocol.py
-+++ b/pynslcd/protocol.py
-@@ -18,10 +18,10 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py
-index 0691b61..973ecd9 100755
---- a/pynslcd/pynslcd.py
-+++ b/pynslcd/pynslcd.py
-@@ -30,13 +30,13 @@ import threading
- import daemon
- import ldap
-
--import cfg
--import common
--import constants
--import invalidator
--import mypidfile
--import search
--from tio import TIOStream
-+import pynslcd.cfg as cfg
-+import pynslcd.common as common
-+import pynslcd.constants as constants
-+import pynslcd.invalidator as invalidator
-+import pynslcd.mypidfile as mypidfile
-+import pynslcd.search as search
-+from pynslcd.tio import TIOStream
-
-
- # the name of the program
-@@ -188,20 +188,20 @@ def getpeercred(fd):
-
-
- handlers = {}
--handlers.update(common.get_handlers('config'))
--handlers.update(common.get_handlers('alias'))
--handlers.update(common.get_handlers('ether'))
--handlers.update(common.get_handlers('group'))
--handlers.update(common.get_handlers('host'))
--handlers.update(common.get_handlers('netgroup'))
--handlers.update(common.get_handlers('network'))
--handlers.update(common.get_handlers('passwd'))
--handlers.update(common.get_handlers('protocol'))
--handlers.update(common.get_handlers('rpc'))
--handlers.update(common.get_handlers('service'))
--handlers.update(common.get_handlers('shadow'))
--handlers.update(common.get_handlers('pam'))
--handlers.update(common.get_handlers('usermod'))
-+handlers.update(common.get_handlers('pynslcd.config'))
-+handlers.update(common.get_handlers('pynslcd.alias'))
-+handlers.update(common.get_handlers('pynslcd.ether'))
-+handlers.update(common.get_handlers('pynslcd.group'))
-+handlers.update(common.get_handlers('pynslcd.host'))
-+handlers.update(common.get_handlers('pynslcd.netgroup'))
-+handlers.update(common.get_handlers('pynslcd.network'))
-+handlers.update(common.get_handlers('pynslcd.passwd'))
-+handlers.update(common.get_handlers('pynslcd.protocol'))
-+handlers.update(common.get_handlers('pynslcd.rpc'))
-+handlers.update(common.get_handlers('pynslcd.service'))
-+handlers.update(common.get_handlers('pynslcd.shadow'))
-+handlers.update(common.get_handlers('pynslcd.pam'))
-+handlers.update(common.get_handlers('pynslcd.usermod'))
-
-
- def acceptconnection(nslcd_serversocket, session):
-diff --git a/pynslcd/rpc.py b/pynslcd/rpc.py
-index 49d9c7c..e1ea4f5 100644
---- a/pynslcd/rpc.py
-+++ b/pynslcd/rpc.py
-@@ -18,10 +18,10 @@
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- # 02110-1301 USA
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/search.py b/pynslcd/search.py
-index 39850d2..f017451 100644
---- a/pynslcd/search.py
-+++ b/pynslcd/search.py
-@@ -24,7 +24,7 @@ import sys
- import ldap
- import ldap.ldapobject
-
--import cfg
-+from pynslcd import cfg
-
-
- # global indicator that there was some error connection to an LDAP server
-diff --git a/pynslcd/service.py b/pynslcd/service.py
-index b0c53e3..96c2aaf 100644
---- a/pynslcd/service.py
-+++ b/pynslcd/service.py
-@@ -20,10 +20,10 @@
-
- import datetime
-
--import cache
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/shadow.py b/pynslcd/shadow.py
-index 59e1af6..3ed695b 100644
---- a/pynslcd/shadow.py
-+++ b/pynslcd/shadow.py
-@@ -20,11 +20,11 @@
-
- import logging
-
--import cache
--import cfg
--import common
--import constants
--import search
-+from pynslcd import cache
-+from pynslcd import cfg
-+from pynslcd import common
-+from pynslcd import constants
-+from pynslcd import search
-
-
- attmap = common.Attributes(
-diff --git a/pynslcd/usermod.py b/pynslcd/usermod.py
-index 4e37ded..ffd651b 100644
---- a/pynslcd/usermod.py
-+++ b/pynslcd/usermod.py
-@@ -26,10 +26,10 @@ import os.path
-
- import ldap
-
--import cfg
--import constants
--import pam
--import passwd
-+from pynslcd import cfg
-+from pynslcd import constants
-+from pynslcd import pam
-+from pynslcd import passwd
-
-
- def list_shells():
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch
deleted file mode 100644
index 6761de73d6ce..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests-py39.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh
-index 5b3a13d..82749a2 100755
---- a/tests/test_doctest.sh
-+++ b/tests/test_doctest.sh
-@@ -53,7 +53,7 @@ do
- if ${python} -c 'import ldap'
- then
- echo "Running pynslcd doctests with $python..."
-- PYTHONPATH="${top_builddir}/pynslcd" ${python} -m doctest -v "${top_srcdir}/pynslcd"/*.py
-+ PYTHONPATH="${top_builddir}/pynslcd:${top_builddir}" ${python} -m doctest -v "${top_srcdir}/pynslcd"/*.py
- fi
- echo "Running pynslcd doctests with $python..."
- PYTHONPATH="${top_builddir}/utils" ${python} -m doctest -v "${top_srcdir}/utils"/*.py
-diff --git a/tests/test_pynslcd_cache.py b/tests/test_pynslcd_cache.py
-index 8d3d02a..e7b19c0 100755
---- a/tests/test_pynslcd_cache.py
-+++ b/tests/test_pynslcd_cache.py
-@@ -27,6 +27,8 @@ import unittest
- # fix the Python path
- sys.path.insert(1, os.path.abspath(os.path.join(sys.path[0], '..', 'pynslcd')))
- sys.path.insert(2, os.path.abspath(os.path.join('..', 'pynslcd')))
-+sys.path.insert(3, os.path.abspath(os.path.join('..')))
-+print(sys.path)
-
-
- # TODO: think about case-sensitivity of cache searches (have tests for that)
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests.patch
deleted file mode 100644
index 5e13854b6cd1..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-tests.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 1bbbcc2..4adf062 100644
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -23,7 +23,7 @@ TESTS = test_dict test_set test_tio test_expr test_getpeercred test_cfg \
- test_pamcmds.sh test_manpages.sh test_clock \
- test_tio_timeout
- if HAVE_PYTHON
-- TESTS += test_pycompile.sh test_pylint.sh
-+ TESTS += test_pycompile.sh
- endif
- if ENABLE_PYNSLCD
- TESTS += test_pynslcd_cache.py test_doctest.sh
-@@ -48,7 +48,6 @@ EXTRA_DIST = README nslcd-test.conf usernames.txt testenv.sh test_myldap.sh \
- test_nsscmds.sh test_ldapcmds.sh test_pamcmds.sh \
- test_pamcmds.expect test_manpages.sh \
- test_pycompile.sh test_doctest.sh \
-- test_pylint.sh pylint.rc \
- test_flake8.sh flake8.ini \
- test_pynslcd_cache.py \
- setup_slapd.sh config.ldif test.ldif
-diff --git a/tests/test_doctest.sh b/tests/test_doctest.sh
-index 5b3a13d..26c73e7 100755
---- a/tests/test_doctest.sh
-+++ b/tests/test_doctest.sh
-@@ -38,7 +38,7 @@ find_python() {
- fi
- done
- }
--interpreters=`find_python | sort -u`
-+interpreters=${PYTHON}
-
- # if Python is missing, ignore
- if [ -z "$interpreters" ]
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-use-mkstemp.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-use-mkstemp.patch
deleted file mode 100644
index 1803067f402b..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-use-mkstemp.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/pynslcd/cache.py b/pynslcd/cache.py
-index 0be3a71..b463d2e 100644
---- a/pynslcd/cache.py
-+++ b/pynslcd/cache.py
-@@ -22,6 +22,7 @@ import datetime
- import os
- import sqlite3
- import sys
-+import tempfile
-
-
- # TODO: probably create a config table
-@@ -192,10 +193,8 @@ _connection = None
- def _get_connection():
- global _connection
- if _connection is None:
-- filename = '/tmp/pynslcd_cache.sqlite'
-- dirname = os.path.dirname(filename)
-- if not os.path.isdir(dirname):
-- os.mkdir(dirname)
-+ tmpfd, filename = tempfile.mkstemp(suffix=".sqlite", prefix="pynslcd_cache")
-+ os.close(tmpfd)
- connection = sqlite3.connect(
- filename, detect_types=sqlite3.PARSE_DECLTYPES,
- check_same_thread=False)
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-configure-CFLAGS-decontamination.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-configure-CFLAGS-decontamination.patch
deleted file mode 100644
index 00687e2c7492..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-configure-CFLAGS-decontamination.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 12bf35c..beb13bf 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -101,39 +101,25 @@ then
- fi
-
- # check for debugging options
-+DEBUG_CFLAGS=""
- AC_ARG_ENABLE(debug,
- AS_HELP_STRING([--enable-debug],
- [enable extensive debugging and logging]),
-- [if test "x$enableval" != "xno" ; then CFLAGS="-g -DDEBUG $CFLAGS" ; fi])
-+ [AS_IF([test "x$enableval" != "xno"],
-+ [AX_APPEND_COMPILE_FLAGS([-g -DDEBUG],[DEBUG_CFLAGS])]
-+ )])
-+AC_SUBST([DEBUG_CFLAGS])
-
- # check for extra compiler warnings
--DESIRED_CFLAGS=""
-+EXTRA_CFLAGS=""
- AC_ARG_ENABLE(warnings,
- AS_HELP_STRING([--enable-warnings],
- [enable extra compiler warnings (gcc)]),
-- [if test "x$enableval" != "no"
-- then
-- CFLAGS="$CFLAGS -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -Wmissing-declarations -Wunused -Wformat=2 -Wswitch-default -Wswitch-enum -Wfloat-equal -Wbad-function-cast -Wredundant-decls"
-- DESIRED_CFLAGS="$DESIRED_CFLAGS -Wextra -Wdeclaration-after-statement -Werror-implicit-function-declaration -Werror=implicit"
-- fi])
--test_gcc_flag() {
-- AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
-- $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
-- ret=$?
-- rm -f conftest.o
-- return $ret
--}
--for flag in $DESIRED_CFLAGS
--do
-- AC_MSG_CHECKING([whether $CC accepts $flag])
-- if test_gcc_flag $flag
-- then
-- CFLAGS="$CFLAGS $flag"
-- AC_MSG_RESULT([yes])
-- else
-- AC_MSG_RESULT([no])
-- fi
--done
-+ [AS_IF([test "x$enableval" != "xno"],[
-+ AX_APPEND_COMPILE_FLAGS([-pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -Wmissing-declarations -Wunused -Wformat=2 -Wswitch-default -Wswitch-enum -Wfloat-equal -Wbad-function-cast -Wredundant-decls],[EXTRA_CFLAGS],[-Werror])
-+ AX_APPEND_COMPILE_FLAGS([-Wextra -Wdeclaration-after-statement -Werror-implicit-function-declaration -Werror=implicit],[EXTRA_CFLAGS],[-Werror])
-+ ])])
-+AC_SUBST([EXTRA_CFLAGS])
-
- # check for Position Independent Code compiler option
- PIC_CFLAGS=""
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch
deleted file mode 100644
index 2036da4fd7b1..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.12-netdb-defines.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Bug: https://bugs.gentoo.org/716272
-
---- a/nss/hosts.c
-+++ b/nss/hosts.c
-@@ -49,6 +49,9 @@
- *h_errnop = NO_RECOVERY; \
- return NSS_STATUS_UNAVAIL;
-
-+#ifndef NETDB_INTERNAL
-+#define NETDB_INTERNAL -1
-+#endif
- #undef ERROR_OUT_BUFERROR
- #define ERROR_OUT_BUFERROR(fp) \
- *errnop = ERANGE; \
---- a/nss/networks.c
-+++ b/nss/networks.c
-@@ -49,6 +49,9 @@
- *h_errnop = NO_RECOVERY; \
- return NSS_STATUS_UNAVAIL;
-
-+#ifndef NETDB_INTERNAL
-+#define NETDB_INTERNAL -1
-+#endif
- #undef ERROR_OUT_BUFERROR
- #define ERROR_OUT_BUFERROR(fp) \
- *errnop = ERANGE; \
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.13-c23.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.13-c23.patch
deleted file mode 100644
index 59873f58f4b6..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.13-c23.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://bugs.gentoo.org/944424
-https://github.com/arthurdejong/nss-pam-ldapd/commit/8ddb983a546f632986a84a784c4625110f7782a2
-
-From 8ddb983a546f632986a84a784c4625110f7782a2 Mon Sep 17 00:00:00 2001
-From: Arthur de Jong <arthur@arthurdejong.org>
-Date: Sun, 23 Feb 2025 15:22:38 +0100
-Subject: [PATCH] Fix variable name (bool) which is a keyword in C23
-
-Closes https://bugs.debian.org/1097481
---- a/nslcd/cfg.c
-+++ b/nslcd/cfg.c
-@@ -207,10 +207,10 @@ static int get_boolean(const char *filename, int lnr,
- return parse_boolean(filename, lnr, token);
- }
-
--static const char *print_boolean(int bool)
-+static const char *print_boolean(int value)
- {
-- if (bool) return "yes";
-- else return "no";
-+ if (value) return "yes";
-+ else return "no";
- }
-
- #define TIME_MINUTES 60
-
diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch
deleted file mode 100644
index 06dcc2513a39..000000000000
--- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tests/pylint.rc b/tests/pylint.rc
-index 7f0bc13..b66d018 100644
---- a/tests/pylint.rc
-+++ b/tests/pylint.rc
-@@ -19,7 +19,7 @@ enable=
- # can either give multiple identifier separated by comma (,) or put this option
- # multiple time (only on the command line, not in the configuration file where
- # it should appear only once).
--disable=E1101
-+disable=E1101,E1608,E1606,E1601
-
-
- [REPORTS]
diff --git a/sys-auth/nss-pam-ldapd/files/pynslcd.init b/sys-auth/nss-pam-ldapd/files/pynslcd.init
deleted file mode 100644
index 3165b02843fc..000000000000
--- a/sys-auth/nss-pam-ldapd/files/pynslcd.init
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command=/usr/sbin/pynslcd
-pidfile=/run/nslcd/nslcd.pid
-extra_commands="checkconfig"
-cfg="/etc/nslcd.conf"
-
-depend() {
- need net
- use dns logger
-}
-
-checkconfig() {
- if [ ! -f "$cfg" ] ; then
- eerror "Please create $cfg"
- eerror "Example config: /usr/share/nss-ldapd/nslcd.conf"
- return 1
- fi
- return 0
-}
-
-start_pre() {
- checkpath -q -d /run/nslcd -o nslcd:nslcd
- checkconfig
- return $?
-}
diff --git a/sys-auth/nss-pam-ldapd/metadata.xml b/sys-auth/nss-pam-ldapd/metadata.xml
deleted file mode 100644
index d3bf85e06c0c..000000000000
--- a/sys-auth/nss-pam-ldapd/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>prometheanfire@gentoo.org</email>
- <name>Matthew Thode</name>
- </maintainer>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <use>
- <flag name="utils">Install the command-line utilities</flag>
- <flag name="pynslcd">Install the python implementation along with the standard implementation</flag>
- </use>
- <longdescription lang="en">
- Provides a Name Service Switch (NSS) module that allows your LDAP
- server to provide user account, group, host name, alias, netgroup, and
- basically any other information that you would normally get from /etc
- flat files or NIS. It also provides a Pluggable Authentication Module
- (PAM) to do authentication to an LDAP server.
-
- This is implemented using thin NSS and PAM modules which delegate to a
- dedicated service (nslcd) that queries the LDAP server with persistent
- connections, authentication, attribute translation, etc.
- </longdescription>
- <upstream>
- <remote-id type="github">arthurdejong/nss-pam-ldapd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.13.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.13.ebuild
deleted file mode 100644
index ab8501dfcd5e..000000000000
--- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.13.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-inherit autotools python-r1 s6 systemd tmpfiles multilib-minimal
-
-DESCRIPTION="NSS module for name lookups using LDAP"
-HOMEPAGE="https://arthurdejong.org/nss-pam-ldapd/"
-SRC_URI="https://arthurdejong.org/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~mips ~ppc ppc64 ~sparc x86"
-IUSE="debug kerberos +pam pynslcd sasl selinux test +utils"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- utils? ( ${PYTHON_REQUIRED_USE} )
- kerberos? ( sasl )
- test? ( ${PYTHON_REQUIRED_USE} pynslcd )
-"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- acct-group/nslcd
- acct-user/nslcd
- net-nds/openldap:=[${MULTILIB_USEDEP}]
- sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] )
- kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
- sys-libs/pam[${MULTILIB_USEDEP}]
- utils? ( ${PYTHON_DEPS} )
- pynslcd? (
- dev-python/python-ldap[${PYTHON_USEDEP}]
- dev-python/python-daemon[${PYTHON_USEDEP}]
- )
- elibc_musl? ( sys-libs/musl-nscd )
- !sys-auth/nss_ldap
- !sys-auth/pam_ldap
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- ${PYTHON_DEPS}
- test? ( dev-python/pylint[${PYTHON_USEDEP}] )
-"
-RDEPEND+=" selinux? ( sec-policy/selinux-nslcd )"
-
-PATCHES=(
- "${FILESDIR}"/nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.11-use-mkstemp.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.11-relative-imports.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.11-tests-py39.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.12-netdb-defines.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.12-configure-CFLAGS-decontamination.patch
- "${FILESDIR}"/nss-pam-ldapd-0.9.13-c23.patch
-)
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && python_setup
-}
-
-src_prepare() {
- default
-
- touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd"
- mv pynslcd/pynslcd.py pynslcd/main.py || die
-
- find "${S}" -name Makefile.am -exec \
- sed -e '/^AM_CFLAGS/ s/$/ \$(DEBUG_CFLAGS) \$(EXTRA_CFLAGS)/g' \
- -i {} \; || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- --disable-utils
- --enable-warnings
- --with-ldap-lib=openldap
- --with-ldap-conf-file="${EPREFIX}"/etc/nslcd.conf
- --with-nslcd-pidfile=/run/nslcd/nslcd.pid
- --with-nslcd-socket=/run/nslcd/socket
- --with-nss-flavour=glibc
- $(use_enable pynslcd)
- $(use_enable debug)
- $(use_enable kerberos)
- $(use_enable pam)
- $(use_enable sasl)
-
- # nss libraries always go in /lib on Gentoo
- --with-pam-seclib-dir="${EPREFIX}"/$(get_libdir)/security
- --libdir="${EPREFIX}"/$(get_libdir)
- )
- ECONF_SOURCE="${S}" econf "${myconf[@]}"
-}
-
-multilib_src_test() {
- python_test() {
- cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy python files for tests"
- nonfatal emake check || die "tests failed with ${EPYTHON}"
- }
-
- pushd "${BUILD_DIR}" >/dev/null || die
- ln -s ../pynslcd/constants.py utils/constants.py || die
- python_foreach_impl python_test
- popd >/dev/null || die
-}
-
-multilib_src_install() {
- emake DESTDIR="${D}" install
-
- if use pynslcd; then
- python_moduleinto pynslcd
- python_foreach_impl python_domodule pynslcd/*.py
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- newinitd "${FILESDIR}"/nslcd.init nslcd
- s6_install_service nslcd "${FILESDIR}"/nslcd.s6
-
- insinto /usr/share/nss-pam-ldapd
- doins "${WORKDIR}"/${P}/nslcd.conf
-
- fperms o-r /etc/nslcd.conf
-
- if use utils; then
- python_moduleinto nslcd
- python_foreach_impl python_domodule utils/*.py
-
- local script
- for script in chsh getent; do
- python_foreach_impl python_newscript utils/${script}.py ${script}.ldap
- done
- fi
- if use pynslcd; then
- rm -rf "${ED}"/usr/share/pynslcd || die
- python_moduleinto pynslcd
- python_foreach_impl python_domodule pynslcd/*.py
- python_scriptinto /usr/sbin
- python_foreach_impl python_newscript pynslcd/main.py pynslcd
- newinitd "${FILESDIR}"/pynslcd.init pynslcd
- fi
-
- newtmpfiles "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf
- systemd_newunit "${FILESDIR}"/nslcd.service nslcd.service
-}
-
-pkg_postinst() {
- tmpfiles_process nslcd.conf
-
- elog "For this to work you must configure /etc/nslcd.conf"
- elog "This configuration is similar to pam_ldap's /etc/ldap.conf"
- elog
- elog "In order to use nss-pam-ldapd, nslcd needs to be running. You can"
- elog "start it like this:"
- elog " # /etc/init.d/nslcd start"
- elog
- elog "You can add it to the default runlevel like so:"
- elog " # rc-update add nslcd default"
- elog
- elog "If you have >=sys-apps/openrc-0.16.3, you can also use s6"
- elog "to supervise this service."
- elog "To do this, emerge sys-apps/s6 then add nslcd-s6"
- elog "default runlevel instead of nslcd."
- elog
- elog "If you are upgrading, keep in mind that /etc/nss-ldapd.conf"
- elog " is now named /etc/nslcd.conf"
-}
diff --git a/sys-auth/nss_ldap/Manifest b/sys-auth/nss_ldap/Manifest
deleted file mode 100644
index b0122d9234a3..000000000000
--- a/sys-auth/nss_ldap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nss_ldap-265.tar.gz 280976 BLAKE2B 31b233ef7680204abfb62408141609b9489e133327c787c59afedd9ac41194189bde26d1f3b0a885622f57ec769ddee2bdf7d274b9584d4d5002d1c016c86892 SHA512 c4584682968861dd5880992fe7d11c6005d94f0c17252ab1cda04380fd7a81b419ba7e87d0efa44c24c5ce5bf76b9fd8331034dddb4f1400f132eb2192472077
diff --git a/sys-auth/nss_ldap/files/nss_ldap-249-sasl-compile.patch b/sys-auth/nss_ldap/files/nss_ldap-249-sasl-compile.patch
deleted file mode 100644
index 1e92c9bb6fe5..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-249-sasl-compile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ldap-nss.c~ 2006-02-25 02:43:33.503639826 -0800
-+++ ldap-nss.c 2006-02-25 02:50:51.943806612 -0800
-@@ -72,6 +72,8 @@
- #include <sasl/sasl.h>
- #elif defined(HAVE_SASL_H)
- #include <sasl.h>
-+#elif defined(HAVE_SASL_SASL_H)
-+#include <sasl/sasl.h>
- #endif
-
- #ifndef HAVE_SNPRINTF
diff --git a/sys-auth/nss_ldap/files/nss_ldap-254-soname.patch b/sys-auth/nss_ldap/files/nss_ldap-254-soname.patch
deleted file mode 100644
index e832c2f0d218..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-254-soname.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Set the soname which glibc expects us to have.
---- nss_ldap-254/configure.in 2007-02-26 16:40:53.000000000 -0500
-+++ nss_ldap-254/configure.in 2007-02-26 16:40:47.000000000 -0500
-@@ -92,7 +92,7 @@
- nss_ldap_so_LDFLAGS="-b -dynamic -G `cat exports.hpux`"
- CPPFLAGS="$CPPFLAGS -I. -DHPUX"
- TARGET_OS=HPUX ;;
--linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux" ;;
-+linux*) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic -Wl,--version-script,\$(srcdir)/exports.linux -Wl,-soname=libnss_ldap.so.2" ;;
- *) nss_ldap_so_LDFLAGS="-shared -Wl,-Bdynamic" ;;
- esac
-
diff --git a/sys-auth/nss_ldap/files/nss_ldap-257-nss_max_group_depth.patch b/sys-auth/nss_ldap/files/nss_ldap-257-nss_max_group_depth.patch
deleted file mode 100644
index d2f8efeec751..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-257-nss_max_group_depth.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-Gentoo-Bug: 155492
-Original-Author: Heath Caldwell <hncaldwell@csupomona.edu>
-Rediffed-by: Robin H. Johnson <robbat2@gentoo.org>
-
---- nss_ldap-257.orig/ChangeLog 2007-09-18 15:02:59.997686000 -0700
-+++ nss_ldap-257/ChangeLog 2007-09-18 15:04:07.925113592 -0700
-@@ -3,2 +3,7 @@
-
-+257.1 Heath Caldwell <hncaldwell@csupomona.edu>
-+
-+ * add configurable maximum group depth with new
-+ configuration file option called nss_max_group_depth
-+
- 257 Luke Howard <lukeh@padl.com>
---- nss_ldap-257.orig/ldap-grp.c 2007-08-02 21:51:09.000000000 -0700
-+++ nss_ldap-257/ldap-grp.c 2007-09-18 15:03:23.734619150 -0700
-@@ -308,7 +308,7 @@
- uniquemember_attrs[0] = uniquemember_attr;
- uniquemember_attrs[1] = NULL;
-
-- if (*depth > LDAP_NSS_MAXGR_DEPTH)
-+ if (*depth > _nss_ldap_max_group_depth)
- {
- return NSS_NOTFOUND;
- }
-@@ -844,7 +844,7 @@
- const char *gidnumber_attrs[2];
- int erange;
-
-- if (lia->depth > LDAP_NSS_MAXGR_DEPTH)
-+ if (lia->depth > _nss_ldap_max_group_depth)
- return NSS_NOTFOUND;
-
- if (_nss_ldap_namelist_find (lia->known_groups, dn))
-@@ -890,7 +890,7 @@
- size_t memberCount, i;
- int erange;
-
-- if (lia->depth > LDAP_NSS_MAXGR_DEPTH)
-+ if (lia->depth > _nss_ldap_max_group_depth)
- return NSS_NOTFOUND;
-
- for (memberCount = 0; membersOf[memberCount] != NULL; memberCount++)
---- nss_ldap-257.orig/ldap-nss.h 2007-09-18 15:02:59.997686000 -0700
-+++ nss_ldap-257/ldap-nss.h 2007-09-18 15:03:23.734619150 -0700
-@@ -105,7 +105,8 @@
- #define LDAP_NSS_MAXNETGR_DEPTH 16 /* maximum depth of netgroup nesting for innetgr() */
- #endif /* HAVE_NSSWITCH_H */
-
--#define LDAP_NSS_MAXGR_DEPTH 16 /* maximum depth of group nesting for getgrent()/initgroups() */
-+#define LDAP_NSS_MAXGR_DEPTH 16 /* default maximum depth of group nesting for getgrent()/initgroups() */
-+extern int _nss_ldap_max_group_depth; /* global variable to hold maximum group depth */
-
- #if LDAP_NSS_NGROUPS > 64
- #define LDAP_NSS_BUFLEN_GROUP (NSS_BUFSIZ + (LDAP_NSS_NGROUPS * (sizeof (char *) + LOGNAME_MAX)))
---- nss_ldap-257.orig/nss_ldap.5 2007-09-18 15:03:00.001020000 -0700
-+++ nss_ldap-257/nss_ldap.5 2007-09-18 15:05:42.779508238 -0700
-@@ -453,6 +453,10 @@
- verify no local applications rely on this information before
- enabling this on a production system.
- .TP
-+.B nss_max_group_depth <value>
-+Specifies the maximum depth to which nested groups are queried.
-+A value of 0 effectively disables querying for nested groups.
-+.TP
- .B nss_srv_domain <domain>
- This option determines the DNS domain used for performing SRV
- lookups.
---- nss_ldap-257.orig/util.c 2007-09-18 15:03:00.001020000 -0700
-+++ nss_ldap-257/util.c 2007-09-18 15:04:35.032083555 -0700
-@@ -62,2 +62,5 @@
-
-+/* Initialize global maximum group depth to default. */
-+int _nss_ldap_max_group_depth = LDAP_NSS_MAXGR_DEPTH;
-+
- static NSS_STATUS do_getrdnvalue (const char *dn,
-@@ -805,2 +808,5 @@
-
-+ /* Reset global maximum group depth to default. */
-+ _nss_ldap_max_group_depth = LDAP_NSS_MAXGR_DEPTH;
-+
- while (fgets (b, sizeof (b), fp) != NULL)
---- nss_ldap-257.orig/util.h 2007-09-18 15:03:00.001020000 -0700
-+++ nss_ldap-257/util.h 2007-09-18 15:05:11.295822638 -0700
-@@ -84,6 +84,7 @@
- #define NSS_LDAP_KEY_INITGROUPS "nss_initgroups"
- #define NSS_LDAP_KEY_INITGROUPS_IGNOREUSERS "nss_initgroups_ignoreusers"
- #define NSS_LDAP_KEY_GETGRENT_SKIPMEMBERS "nss_getgrent_skipmembers"
-+#define NSS_LDAP_KEY_MAX_GROUP_DEPTH "nss_max_group_depth"
-
- /* more reconnect policy fine-tuning */
- #define NSS_LDAP_KEY_RECONNECT_TRIES "nss_reconnect_tries"
diff --git a/sys-auth/nss_ldap/files/nss_ldap-257.2-gssapi-headers.patch b/sys-auth/nss_ldap/files/nss_ldap-257.2-gssapi-headers.patch
deleted file mode 100644
index 4698c415bc57..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-257.2-gssapi-headers.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=165638
-http://bugzilla.padl.com/show_bug.cgi?id=308
-
-Make nss_ldap compile with gssapi/gssapi.h even if there is no
-gssapi/gssapi_krb5.h present. This seems to be needed to compile against
-heimdal. Extended header checks and modified preprocessor logic a bit.
-
-2007-02-07 Martin von Gagern <Martin.vGagern@gmx.net>
-
-diff -ruN nss_ldap-257.2.orig/config.h.in nss_ldap-257.2/config.h.in
---- nss_ldap-257.2.orig/config.h.in 2007-10-24 14:22:55.000000000 +0200
-+++ nss_ldap-257.2/config.h.in 2007-10-24 14:25:15.000000000 +0200
-@@ -87,6 +87,9 @@
- /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
- #undef HAVE_GSSAPI_GSSAPI_KRB5_H
-
-+/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
-+#undef HAVE_GSSAPI_GSSAPI_H
-+
- /* Define to 1 if you have the <gssapi.h> header file. */
- #undef HAVE_GSSAPI_H
-
-diff -ruN nss_ldap-257.2.orig/configure nss_ldap-257.2/configure
---- nss_ldap-257.2.orig/configure 2007-10-24 14:22:55.000000000 +0200
-+++ nss_ldap-257.2/configure 2007-10-24 14:25:49.000000000 +0200
-@@ -8409,7 +8409,7 @@
-
-
-
--for ac_header in gssapi/gssapi_krb5.h gssapi.h
-+for ac_header in gssapi/gssapi_krb5.h gssapi/gssapi.h gssapi.h
- do
- as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- if eval "test \"\${$as_ac_Header+set}\" = set"; then
-diff -ruN nss_ldap-257.2.orig/configure.in nss_ldap-257.2/configure.in
---- nss_ldap-257.2.orig/configure.in 2007-10-24 14:22:55.000000000 +0200
-+++ nss_ldap-257.2/configure.in 2007-10-24 14:26:26.000000000 +0200
-@@ -182,7 +182,7 @@
- AC_CHECK_HEADERS(strings.h)
- AC_CHECK_HEADERS(gssldap.h)
- AC_CHECK_HEADERS(gsssasl.h)
--AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi.h)
-+AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi/gssapi.h gssapi.h)
- AC_CHECK_HEADERS(krb5.h)
-
- AC_CHECK_LIB(resolv, main)
-diff -ruN nss_ldap-257.2.orig/ldap-nss.c nss_ldap-257.2/ldap-nss.c
---- nss_ldap-257.2.orig/ldap-nss.c 2007-10-24 14:22:55.000000000 +0200
-+++ nss_ldap-257.2/ldap-nss.c 2007-10-24 14:27:32.000000000 +0200
-@@ -82,10 +82,13 @@
- #endif
- #ifdef HAVE_GSSAPI_H
- #include <gssapi.h>
--#elif defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
-+#endif
-+#ifdef HAVE_GSSAPI_GSSAPI_H
- #include <gssapi/gssapi.h>
-+#endif
-+#ifdef HAVE_GSSAPI_GSSAPI_KRB5_H
- #include <gssapi/gssapi_krb5.h>
- #endif
- #ifdef CONFIGURE_KRB5_CCNAME
- #include <krb5.h>
- #endif
diff --git a/sys-auth/nss_ldap/files/nss_ldap-264-disable-automagic.patch b/sys-auth/nss_ldap/files/nss_ldap-264-disable-automagic.patch
deleted file mode 100644
index 7671574da4da..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-264-disable-automagic.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-Explicitly provide a way to disable Kerberos/SASL/SSL usage in nss_ldap, so
-that you can build non-kerberos versions on systems with Kerberos installed
-WITHOUT it linking due to presence.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-diff -Nuar nss_ldap-264.orig/configure.in nss_ldap-264/configure.in
---- nss_ldap-264.orig/configure.in 2009-07-28 10:35:27.599965878 -0700
-+++ nss_ldap-264/configure.in 2009-07-28 10:36:00.620375469 -0700
-@@ -10,6 +10,21 @@
- AC_PROG_INSTALL
-
- dnl
-+dnl Turn on/off SSL
-+dnl
-+AC_ARG_ENABLE(ssl, [ --enable-ssl enable SSL code ], [AC_DEFINE([WANT_SSL], [1], [Define if SSL is wanted])])
-+
-+dnl
-+dnl Turn on/off Kerberos
-+dnl
-+AC_ARG_ENABLE(krb, [ --enable-krb enable Kerberos code ], [AC_DEFINE([WANT_KRB], [1], [Define if Kerberos is wanted])])
-+
-+dnl
-+dnl Turn on/off SASL
-+dnl
-+AC_ARG_ENABLE(sasl, [ --enable-sasl enable Kerberos code ], [AC_DEFINE([WANT_SASL], [1], [Define if SASL is wanted])])
-+
-+dnl
- dnl --enable-rfc2307bis is now deprecated; if this option is set,
- dnl then RFC2307bis support will be enabled by default. However
- dnl it can now always be enabled at runtime with the nss_schema
-@@ -178,12 +193,18 @@
- AC_CHECK_HEADERS(sys/un.h)
- AC_CHECK_HEADERS(libc-lock.h)
- AC_CHECK_HEADERS(bits/libc-lock.h)
--AC_CHECK_HEADERS(sasl.h sasl/sasl.h)
-+if test "$enable_sasl" \!= "no"; then
-+ AC_CHECK_HEADERS(sasl.h sasl/sasl.h)
-+fi
- AC_CHECK_HEADERS(strings.h)
--AC_CHECK_HEADERS(gssldap.h)
--AC_CHECK_HEADERS(gsssasl.h)
--AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi/gssapi.h gssapi.h)
--AC_CHECK_HEADERS(krb5.h)
-+if test "$enable_krb" \!= "no"; then
-+ AC_CHECK_HEADERS(gssldap.h)
-+ if test "$enable_sasl" \!= "no"; then
-+ AC_CHECK_HEADERS(gsssasl.h)
-+ fi
-+ AC_CHECK_HEADERS(gssapi/gssapi_krb5.h gssapi/gssapi.h gssapi.h)
-+ AC_CHECK_HEADERS(krb5.h)
-+fi
-
- AC_CHECK_LIB(resolv, main)
- AC_CHECK_LIB(nsl, main)
-@@ -286,19 +307,25 @@
- AC_CHECK_LIB(dl, dlopen,[LIBS="-ldl $LIBS"],,$LIBS)
- dnl AC_CHECK_LIB(db, main,[LIBS="-ldb $LIBS"],,$LIBS)
-
--AC_CHECK_LIB(gssapi, gss_krb5_ccache_name,[LIBS="-lgssapi $LIBS" found_gssapi_lib=yes],,$LIBS)
--if test -z "$found_gssapi_lib"; then
-- AC_CHECK_LIB(gssapi_krb5, gss_krb5_ccache_name,[LIBS="-lgssapi_krb5 $LIBS"],,$LIBS)
-+if test "$enable_krb" \!= "no"; then
-+ AC_CHECK_LIB(gssapi, gss_krb5_ccache_name,[LIBS="-lgssapi $LIBS" found_gssapi_lib=yes],,$LIBS)
-+ if test -z "$found_gssapi_lib"; then
-+ AC_CHECK_LIB(gssapi_krb5, gss_krb5_ccache_name,[LIBS="-lgssapi_krb5 $LIBS"],,$LIBS)
-+ fi
- fi
-
- dnl Following checks probably not strictly necessary.
- dnl AC_CHECK_LIB(crypto, main,[LIBS="-lcrypto $LIBS"],,$LIBS)
- dnl AC_CHECK_LIB(ssl, main,[LIBS="-lssl $LIBS"],,$LIBS)
- AC_CHECK_LIB(com_err, main,[LIBS="-lcom_err $LIBS"],,$LIBS)
--dnl AC_CHECK_LIB(k5crypto, main,[LIBS="-lk5crypto $LIBS"],,$LIBS)
--AC_CHECK_LIB(krb5, main,[LIBS="-lkrb5 $LIBS"],,$LIBS)
--dnl AC_CHECK_LIB(krb4, main,[LIBS="-lkrb4 $LIBS"],,$LIBS)
--AC_CHECK_LIB(sasl2, sasl_client_init)
-+if test "$enable_krb" \!= "no"; then
-+ dnl AC_CHECK_LIB(k5crypto, main,[LIBS="-lk5crypto $LIBS"],,$LIBS)
-+ AC_CHECK_LIB(krb5, main,[LIBS="-lkrb5 $LIBS"],,$LIBS)
-+ dnl AC_CHECK_LIB(krb4, main,[LIBS="-lkrb4 $LIBS"],,$LIBS)
-+fi
-+if test "$enable_sasl" \!= "no"; then
-+ AC_CHECK_LIB(sasl2, sasl_client_init)
-+fi
-
- if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = umich -o $with_ldap_lib = openldap \); then
- AC_CHECK_LIB(lber, main)
-@@ -331,13 +358,17 @@
- AC_CHECK_LIB(pthread, main)
- fi
-
--AC_CHECK_LIB(gssldap, ldap_gss_bind,[LIBS="-lgssldap $LIBS"],,$LIBS)
-+if test "$enable_krb" \!= "no"; then
-+ AC_CHECK_LIB(gssldap, ldap_gss_bind,[LIBS="-lgssldap $LIBS"],,$LIBS)
-+fi
-
--AC_CHECK_FUNCS(sasl_auxprop_request)
- AC_CHECK_FUNCS(ldap_init ldap_get_lderrno ldap_parse_result ldap_memfree ldap_controls_free)
- AC_CHECK_FUNCS(ldap_ld_free ldap_explode_rdn ldap_set_option ldap_get_option)
--AC_CHECK_FUNCS(ldap_sasl_interactive_bind_s ldap_initialize ldap_search_ext)
-+AC_CHECK_FUNCS(ldap_initialize ldap_search_ext)
- AC_CHECK_FUNCS(ldap_create_control ldap_create_page_control ldap_parse_page_control)
-+if test "$enable_sasl" \!= "no"; then
-+ AC_CHECK_FUNCS(sasl_auxprop_request ldap_sasl_interactive_bind_s)
-+fi
- if test "$enable_ssl" \!= "no"; then
- AC_CHECK_FUNCS(ldapssl_client_init ldap_start_tls_s ldap_pvt_tls_set_option ldap_start_tls)
- fi
diff --git a/sys-auth/nss_ldap/files/nss_ldap-265-missing-entries-oneshot.patch b/sys-auth/nss_ldap/files/nss_ldap-265-missing-entries-oneshot.patch
deleted file mode 100644
index 6730dc986dd1..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-265-missing-entries-oneshot.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-Distinguish between contexts that are somewhat persistent and one-offs
-which are used to fulfill part of a larger request.
-
-diff -up nss_ldap-253/ldap-grp.c nss_ldap-253/ldap-grp.c
---- nss_ldap-253/ldap-grp.c 2009-05-08 13:30:43.000000000 -0400
-+++ nss_ldap-253/ldap-grp.c 2009-05-08 13:34:41.000000000 -0400
-@@ -857,7 +857,7 @@ ng_chase (const char *dn, ldap_initgroup
- LA_STRING (a) = dn;
- LA_TYPE (a) = LA_TYPE_STRING;
-
-- if (_nss_ldap_ent_context_init_locked (&ctx) == NULL)
-+ if (_nss_ldap_ent_context_init_internal_locked (&ctx) == NULL)
- {
- return NSS_UNAVAIL;
- }
-@@ -930,7 +930,7 @@ ng_chase_backlink (const char ** members
- LA_STRING_LIST (a) = filteredMembersOf;
- LA_TYPE (a) = LA_TYPE_STRING_LIST_OR;
-
-- if (_nss_ldap_ent_context_init_locked (&ctx) == NULL)
-+ if (_nss_ldap_ent_context_init_internal_locked (&ctx) == NULL)
- {
- free (filteredMembersOf);
- return NSS_UNAVAIL;
-diff -up nss_ldap-253/ldap-netgrp.c nss_ldap-253/ldap-netgrp.c
---- nss_ldap-253/ldap-netgrp.c 2009-05-08 13:31:35.000000000 -0400
-+++ nss_ldap-253/ldap-netgrp.c 2009-05-08 13:33:14.000000000 -0400
-@@ -691,7 +691,7 @@ do_innetgr_nested (ldap_innetgr_args_t *
- LA_TYPE (a) = LA_TYPE_STRING;
- LA_STRING (a) = nested; /* memberNisNetgroup */
-
-- if (_nss_ldap_ent_context_init_locked (&ctx) == NULL)
-+ if (_nss_ldap_ent_context_init_internal_locked (&ctx) == NULL)
- {
- debug ("<== do_innetgr_nested: failed to initialize context");
- return NSS_UNAVAIL;
-diff -up nss_ldap-253/ldap-nss.c nss_ldap-253/ldap-nss.c
---- nss_ldap-253/ldap-nss.c 2009-05-08 13:27:17.000000000 -0400
-+++ nss_ldap-253/ldap-nss.c 2009-05-08 14:05:51.000000000 -0400
-@@ -1961,6 +1961,7 @@ _nss_ldap_ent_context_init_locked (ent_c
- debug ("<== _nss_ldap_ent_context_init_locked");
- return NULL;
- }
-+ ctx->ec_internal = 0;
- *pctx = ctx;
- }
- else
-@@ -1990,6 +1991,15 @@ _nss_ldap_ent_context_init_locked (ent_c
-
- return ctx;
- }
-+ent_context_t *
-+_nss_ldap_ent_context_init_internal_locked (ent_context_t ** pctx)
-+{
-+ ent_context_t *ctx;
-+ ctx = _nss_ldap_ent_context_init_locked (pctx);
-+ if (ctx != NULL)
-+ ctx->ec_internal = 1;
-+ return ctx;
-+}
-
- /*
- * Clears a given context; we require the caller
-@@ -2031,7 +2041,8 @@ _nss_ldap_ent_context_release (ent_conte
-
- LS_INIT (ctx->ec_state);
-
-- if (_nss_ldap_test_config_flag (NSS_LDAP_FLAGS_CONNECT_POLICY_ONESHOT))
-+ if (!ctx->ec_internal &&
-+ _nss_ldap_test_config_flag (NSS_LDAP_FLAGS_CONNECT_POLICY_ONESHOT))
- {
- do_close ();
- }
-diff -up nss_ldap-253/ldap-nss.h nss_ldap-253/ldap-nss.h
---- nss_ldap-253/ldap-nss.h 2009-05-08 13:35:47.000000000 -0400
-+++ nss_ldap-253/ldap-nss.h 2009-05-08 13:52:25.000000000 -0400
-@@ -560,6 +560,8 @@ struct ent_context
- ldap_state_t ec_state; /* eg. for services */
- int ec_msgid; /* message ID */
- LDAPMessage *ec_res; /* result chain */
-+ int ec_internal; /* this context is just a part of a larger
-+ * query for information */
- ldap_service_search_descriptor_t *ec_sd; /* current sd */
- struct berval *ec_cookie; /* cookie for paged searches */
- };
-@@ -744,6 +746,15 @@ ent_context_t *_nss_ldap_ent_context_ini
- ent_context_t *_nss_ldap_ent_context_init_locked (ent_context_t **);
-
- /*
-+ * _nss_ldap_ent_context_init_internal_locked() has the same
-+ * behaviour, except it marks the context as one that's being
-+ * used to fetch additional data used in answering a request, i.e.
-+ * that this isn't the "main" context
-+ */
-+
-+ent_context_t *_nss_ldap_ent_context_init_internal_locked (ent_context_t **);
-+
-+/*
- * _nss_ldap_ent_context_release() is used to manually free a context
- */
- void _nss_ldap_ent_context_release (ent_context_t *);
diff --git a/sys-auth/nss_ldap/files/nss_ldap-265-pthread.patch b/sys-auth/nss_ldap/files/nss_ldap-265-pthread.patch
deleted file mode 100644
index 622ee5845e44..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-265-pthread.patch
+++ /dev/null
@@ -1,481 +0,0 @@
-Index: ldap-nss.c
-===================================================================
---- ldap-nss.c.orig
-+++ ldap-nss.c
-@@ -142,7 +142,7 @@ static void (*__sigpipe_handler) (int) =
- */
- static ldap_session_t __session = { NULL, NULL, 0, LS_UNINITIALIZED };
-
--#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE___LIBC_ONCE)
- static pthread_once_t __once = PTHREAD_ONCE_INIT;
- #endif
-
-@@ -150,7 +150,7 @@ static pthread_once_t __once = PTHREAD_O
- static FILE *__debugfile;
- #endif /* LBER_OPT_LOG_PRINT_FILE */
-
--#ifndef HAVE_PTHREAD_ATFORK
-+#if !defined(HAVE_PTHREAD_ATFORK) || !defined(HAVE___LIBC_ONCE)
- /*
- * Process ID that opened the session.
- */
-@@ -162,7 +162,7 @@ static uid_t __euid = -1;
- static int __ssl_initialized = 0;
- #endif /* HAVE_LDAPSSL_CLIENT_INIT */
-
--#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE___LIBC_ONCE)
- /*
- * Prepare for fork(); lock mutex.
- */
-@@ -513,7 +513,7 @@ _nss_ldap_default_constr (nss_ldap_backe
- }
- #endif /* HAVE_NSSWITCH_H */
-
--#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#if defined(HAVE_PTHREAD_ATFORK) || defined(HAVE___LIBC_ONCE)
- static void
- do_atfork_prepare (void)
- {
-@@ -547,7 +547,7 @@ do_atfork_setup (void)
- #ifdef HAVE_PTHREAD_ATFORK
- (void) pthread_atfork (do_atfork_prepare, do_atfork_parent,
- do_atfork_child);
--#elif defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#elif defined(HAVE___LIBC_ATFORK)
- (void) __libc_atfork (do_atfork_prepare, do_atfork_parent, do_atfork_child);
- #endif
-
-@@ -1096,7 +1096,7 @@ static NSS_STATUS
- do_init (void)
- {
- ldap_config_t *cfg;
--#ifndef HAVE_PTHREAD_ATFORK
-+#if !defined(HAVE_PTHREAD_ATFORK) || !defined(HAVE___LIBC_ONCE)
- pid_t pid;
- #endif
- uid_t euid;
-@@ -1113,7 +1113,7 @@ do_init (void)
- }
-
- #ifndef HAVE_PTHREAD_ATFORK
--#if defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#if defined(HAVE___LIBC_ONCE)
- /*
- * This bogosity is necessary because Linux uses different
- * PIDs for different threads (like IRIX, which we don't
-@@ -1145,7 +1145,7 @@ do_init (void)
- pid = -1; /* linked against libpthreads, don't care */
- #else
- pid = getpid ();
--#endif /* HAVE_LIBC_LOCK_H || HAVE_BITS_LIBC_LOCK_H */
-+#endif /* HAVE___LIBC_ONCE */
- #endif /* HAVE_PTHREAD_ATFORK */
-
- euid = geteuid ();
-@@ -1155,7 +1155,7 @@ do_init (void)
- syslog (LOG_DEBUG,
- "nss_ldap: __session.ls_state=%d, __session.ls_conn=%p, __euid=%i, euid=%i",
- __session.ls_state, __session.ls_conn, __euid, euid);
--#elif defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#elif defined(HAVE___LIBC_ONCE)
- syslog (LOG_DEBUG,
- "nss_ldap: libpthreads=%s, __session.ls_state=%d, __session.ls_conn=%p, __pid=%i, pid=%i, __euid=%i, euid=%i",
- ((__pthread_once == NULL || __pthread_atfork == NULL) ? "FALSE" : "TRUE"),
-@@ -1179,11 +1179,11 @@ do_init (void)
- }
- else
- #ifndef HAVE_PTHREAD_ATFORK
--#if defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#if defined(HAVE___LIBC_ONCE)
- if ((__pthread_once == NULL || __pthread_atfork == NULL) && __pid != pid)
- #else
- if (__pid != pid)
--#endif /* HAVE_LIBC_LOCK_H || HAVE_BITS_LIBC_LOCK_H */
-+#endif /* HAVE___LIBC_ONCE */
- {
- do_close_no_unbind ();
- }
-@@ -1244,9 +1244,9 @@ do_init (void)
- debug ("<== do_init (pthread_once failed)");
- return NSS_UNAVAIL;
- }
--#elif defined(HAVE_PTHREAD_ATFORK) && ( defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H) )
-+#elif defined(HAVE_PTHREAD_ATFORK) && defined(HAVE___LIBC_ONCE)
- __libc_once (__once, do_atfork_setup);
--#elif defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#elif defined(HAVE___LIBC_ONCE)
- /*
- * Only install the pthread_atfork() handlers i
- * we are linked against libpthreads. Otherwise,
-Index: ldap-nss.h
-===================================================================
---- ldap-nss.h.orig
-+++ ldap-nss.h
-@@ -670,7 +670,7 @@ extern int __multi_threaded;
- #define NSS_LDAP_LOCK(m) mutex_lock(&m)
- #define NSS_LDAP_UNLOCK(m) mutex_unlock(&m)
- #define NSS_LDAP_DEFINE_LOCK(m) static mutex_t m = DEFAULTMUTEX
--#elif defined(HAVE_LIBC_LOCK_H) || defined(HAVE_BITS_LIBC_LOCK_H)
-+#elif defined(HAVE___LIBC_LOCK_LOCK) && defined(HAVE___LIBC_LOCK_UNLOCK)
- #define NSS_LDAP_LOCK(m) __libc_lock_lock(m)
- #define NSS_LDAP_UNLOCK(m) __libc_lock_unlock(m)
- #define NSS_LDAP_DEFINE_LOCK(m) static pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER
-Index: configure.in
-===================================================================
---- configure.in.orig
-+++ configure.in
-@@ -1,6 +1,7 @@
- AC_INIT(ldap-nss.c)
- AC_CANONICAL_SYSTEM
- AC_PREFIX_DEFAULT()
-+AC_CONFIG_MACRO_DIR([m4])
-
- AM_INIT_AUTOMAKE(nss_ldap, 265)
- AM_CONFIG_HEADER(config.h)
-@@ -229,11 +230,18 @@ fi
- AC_CHECK_FUNCS(snprintf)
- AC_CHECK_FUNCS(gethostbyname)
- AC_CHECK_FUNCS(nsdispatch)
-+AC_CHECK_FUNCS(ether_aton)
-+AC_CHECK_FUNCS(ether_ntoa)
-+
-+AX_PTHREAD
-+LIBS="$PTHREAD_LIBS $LIBS"
-+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+CC="$PTHREAD_CC"
-+
- AC_CHECK_LIB(pthread_nonshared, main)
- AC_CHECK_FUNCS(pthread_atfork)
- AC_CHECK_FUNCS(pthread_once)
--AC_CHECK_FUNCS(ether_aton)
--AC_CHECK_FUNCS(ether_ntoa)
-+AC_CHECK_FUNCS(__libc_once __libc_atfork __libc_lock_lock __libc_lock_unlock)
-
- AC_MSG_CHECKING(for struct ether_addr)
- AC_TRY_COMPILE([#include <sys/types.h>
-Index: m4/ax_pthread.m4
-===================================================================
---- /dev/null
-+++ m4/ax_pthread.m4
-@@ -0,0 +1,309 @@
-+# ===========================================================================
-+# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
-+# ===========================================================================
-+#
-+# SYNOPSIS
-+#
-+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
-+#
-+# DESCRIPTION
-+#
-+# This macro figures out how to build C programs using POSIX threads. It
-+# sets the PTHREAD_LIBS output variable to the threads library and linker
-+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
-+# flags that are needed. (The user can also force certain compiler
-+# flags/libs to be tested by setting these environment variables.)
-+#
-+# Also sets PTHREAD_CC to any special C compiler that is needed for
-+# multi-threaded programs (defaults to the value of CC otherwise). (This
-+# is necessary on AIX to use the special cc_r compiler alias.)
-+#
-+# NOTE: You are assumed to not only compile your program with these flags,
-+# but also link it with them as well. e.g. you should link with
-+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
-+#
-+# If you are only building threads programs, you may wish to use these
-+# variables in your default LIBS, CFLAGS, and CC:
-+#
-+# LIBS="$PTHREAD_LIBS $LIBS"
-+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+# CC="$PTHREAD_CC"
-+#
-+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
-+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
-+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
-+#
-+# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
-+# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
-+# PTHREAD_CFLAGS.
-+#
-+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
-+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
-+# is not found. If ACTION-IF-FOUND is not specified, the default action
-+# will define HAVE_PTHREAD.
-+#
-+# Please let the authors know if this macro fails on any platform, or if
-+# you have any other suggestions or comments. This macro was based on work
-+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
-+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
-+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
-+# grateful for the helpful feedback of numerous users.
-+#
-+# Updated for Autoconf 2.68 by Daniel Richard G.
-+#
-+# LICENSE
-+#
-+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
-+# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
-+#
-+# This program is free software: you can redistribute it and/or modify it
-+# under the terms of the GNU General Public License as published by the
-+# Free Software Foundation, either version 3 of the License, or (at your
-+# option) any later version.
-+#
-+# This program is distributed in the hope that it will be useful, but
-+# WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-+# Public License for more details.
-+#
-+# You should have received a copy of the GNU General Public License along
-+# with this program. If not, see <http://www.gnu.org/licenses/>.
-+#
-+# As a special exception, the respective Autoconf Macro's copyright owner
-+# gives unlimited permission to copy, distribute and modify the configure
-+# scripts that are the output of Autoconf when processing the Macro. You
-+# need not follow the terms of the GNU General Public License when using
-+# or distributing such scripts, even though portions of the text of the
-+# Macro appear in them. The GNU General Public License (GPL) does govern
-+# all other use of the material that constitutes the Autoconf Macro.
-+#
-+# This special exception to the GPL applies to versions of the Autoconf
-+# Macro released by the Autoconf Archive. When you make and distribute a
-+# modified version of the Autoconf Macro, you may extend this special
-+# exception to the GPL to apply to your modified version as well.
-+
-+#serial 18
-+
-+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
-+AC_DEFUN([AX_PTHREAD], [
-+AC_REQUIRE([AC_CANONICAL_HOST])
-+AC_LANG_PUSH([C])
-+ax_pthread_ok=no
-+
-+# We used to check for pthread.h first, but this fails if pthread.h
-+# requires special compiler flags (e.g. on True64 or Sequent).
-+# It gets checked for in the link test anyway.
-+
-+# First of all, check if the user has set any of the PTHREAD_LIBS,
-+# etcetera environment variables, and if threads linking works using
-+# them:
-+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
-+ save_CFLAGS="$CFLAGS"
-+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+ save_LIBS="$LIBS"
-+ LIBS="$PTHREAD_LIBS $LIBS"
-+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
-+ AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
-+ AC_MSG_RESULT($ax_pthread_ok)
-+ if test x"$ax_pthread_ok" = xno; then
-+ PTHREAD_LIBS=""
-+ PTHREAD_CFLAGS=""
-+ fi
-+ LIBS="$save_LIBS"
-+ CFLAGS="$save_CFLAGS"
-+fi
-+
-+# We must check for the threads library under a number of different
-+# names; the ordering is very important because some systems
-+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
-+# libraries is broken (non-POSIX).
-+
-+# Create a list of thread flags to try. Items starting with a "-" are
-+# C compiler flags, and other items are library names, except for "none"
-+# which indicates that we try without any flags at all, and "pthread-config"
-+# which is a program returning the flags for the Pth emulation library.
-+
-+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
-+
-+# The ordering *is* (sometimes) important. Some notes on the
-+# individual items follow:
-+
-+# pthreads: AIX (must check this before -lpthread)
-+# none: in case threads are in libc; should be tried before -Kthread and
-+# other compiler flags to prevent continual compiler warnings
-+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
-+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
-+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
-+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
-+# -pthreads: Solaris/gcc
-+# -mthreads: Mingw32/gcc, Lynx/gcc
-+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
-+# doesn't hurt to check since this sometimes defines pthreads too;
-+# also defines -D_REENTRANT)
-+# ... -mt is also the pthreads flag for HP/aCC
-+# pthread: Linux, etcetera
-+# --thread-safe: KAI C++
-+# pthread-config: use pthread-config program (for GNU Pth library)
-+
-+case ${host_os} in
-+ solaris*)
-+
-+ # On Solaris (at least, for some versions), libc contains stubbed
-+ # (non-functional) versions of the pthreads routines, so link-based
-+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
-+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
-+ # a function called by this macro, so we could check for that, but
-+ # who knows whether they'll stub that too in a future libc.) So,
-+ # we'll just look for -pthreads and -lpthread first:
-+
-+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
-+ ;;
-+
-+ darwin*)
-+ ax_pthread_flags="-pthread $ax_pthread_flags"
-+ ;;
-+esac
-+
-+if test x"$ax_pthread_ok" = xno; then
-+for flag in $ax_pthread_flags; do
-+
-+ case $flag in
-+ none)
-+ AC_MSG_CHECKING([whether pthreads work without any flags])
-+ ;;
-+
-+ -*)
-+ AC_MSG_CHECKING([whether pthreads work with $flag])
-+ PTHREAD_CFLAGS="$flag"
-+ ;;
-+
-+ pthread-config)
-+ AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
-+ if test x"$ax_pthread_config" = xno; then continue; fi
-+ PTHREAD_CFLAGS="`pthread-config --cflags`"
-+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
-+ ;;
-+
-+ *)
-+ AC_MSG_CHECKING([for the pthreads library -l$flag])
-+ PTHREAD_LIBS="-l$flag"
-+ ;;
-+ esac
-+
-+ save_LIBS="$LIBS"
-+ save_CFLAGS="$CFLAGS"
-+ LIBS="$PTHREAD_LIBS $LIBS"
-+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+
-+ # Check for various functions. We must include pthread.h,
-+ # since some functions may be macros. (On the Sequent, we
-+ # need a special flag -Kthread to make this header compile.)
-+ # We check for pthread_join because it is in -lpthread on IRIX
-+ # while pthread_create is in libc. We check for pthread_attr_init
-+ # due to DEC craziness with -lpthreads. We check for
-+ # pthread_cleanup_push because it is one of the few pthread
-+ # functions on Solaris that doesn't have a non-functional libc stub.
-+ # We try pthread_create on general principles.
-+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
-+ static void routine(void *a) { a = 0; }
-+ static void *start_routine(void *a) { return a; }],
-+ [pthread_t th; pthread_attr_t attr;
-+ pthread_create(&th, 0, start_routine, 0);
-+ pthread_join(th, 0);
-+ pthread_attr_init(&attr);
-+ pthread_cleanup_push(routine, 0);
-+ pthread_cleanup_pop(0) /* ; */])],
-+ [ax_pthread_ok=yes],
-+ [])
-+
-+ LIBS="$save_LIBS"
-+ CFLAGS="$save_CFLAGS"
-+
-+ AC_MSG_RESULT($ax_pthread_ok)
-+ if test "x$ax_pthread_ok" = xyes; then
-+ break;
-+ fi
-+
-+ PTHREAD_LIBS=""
-+ PTHREAD_CFLAGS=""
-+done
-+fi
-+
-+# Various other checks:
-+if test "x$ax_pthread_ok" = xyes; then
-+ save_LIBS="$LIBS"
-+ LIBS="$PTHREAD_LIBS $LIBS"
-+ save_CFLAGS="$CFLAGS"
-+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+
-+ # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
-+ AC_MSG_CHECKING([for joinable pthread attribute])
-+ attr_name=unknown
-+ for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
-+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
-+ [int attr = $attr; return attr /* ; */])],
-+ [attr_name=$attr; break],
-+ [])
-+ done
-+ AC_MSG_RESULT($attr_name)
-+ if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
-+ AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
-+ [Define to necessary symbol if this constant
-+ uses a non-standard name on your system.])
-+ fi
-+
-+ AC_MSG_CHECKING([if more special flags are required for pthreads])
-+ flag=no
-+ case ${host_os} in
-+ aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
-+ osf* | hpux*) flag="-D_REENTRANT";;
-+ solaris*)
-+ if test "$GCC" = "yes"; then
-+ flag="-D_REENTRANT"
-+ else
-+ flag="-mt -D_REENTRANT"
-+ fi
-+ ;;
-+ esac
-+ AC_MSG_RESULT(${flag})
-+ if test "x$flag" != xno; then
-+ PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
-+ fi
-+
-+ AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
-+ ax_cv_PTHREAD_PRIO_INHERIT, [
-+ AC_LINK_IFELSE([
-+ AC_LANG_PROGRAM([[#include <pthread.h>]], [[int i = PTHREAD_PRIO_INHERIT;]])],
-+ [ax_cv_PTHREAD_PRIO_INHERIT=yes],
-+ [ax_cv_PTHREAD_PRIO_INHERIT=no])
-+ ])
-+ AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
-+ AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]))
-+
-+ LIBS="$save_LIBS"
-+ CFLAGS="$save_CFLAGS"
-+
-+ # More AIX lossage: must compile with xlc_r or cc_r
-+ if test x"$GCC" != xyes; then
-+ AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC})
-+ else
-+ PTHREAD_CC=$CC
-+ fi
-+else
-+ PTHREAD_CC="$CC"
-+fi
-+
-+AC_SUBST(PTHREAD_LIBS)
-+AC_SUBST(PTHREAD_CFLAGS)
-+AC_SUBST(PTHREAD_CC)
-+
-+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
-+if test x"$ax_pthread_ok" = xyes; then
-+ ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
-+ :
-+else
-+ ax_pthread_ok=no
-+ $2
-+fi
-+AC_LANG_POP
-+])dnl AX_PTHREAD
-Index: Makefile.am
-===================================================================
---- Makefile.am.orig
-+++ Makefile.am
-@@ -1,3 +1,5 @@
-+ACLOCAL_AMFLAGS = -I m4
-+
- if AIX
- authmod = NSS_LDAP
- else
diff --git a/sys-auth/nss_ldap/files/nss_ldap-265-r10-libdir.patch b/sys-auth/nss_ldap/files/nss_ldap-265-r10-libdir.patch
deleted file mode 100644
index 6fdf4cc6c08e..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-265-r10-libdir.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -38,17 +38,13 @@
- DEFS = @DEFS@
- #INCLUDES = -I$(top_builddir) -I$(srcdir)
-
--if GCC
--MULTI_OS_DIRECTORY=$(shell $(CC) $(CFLAGS) -print-multi-os-directory)
--else
- MULTI_OS_DIRECTORY=.
--endif
-
- if GLIBC
--LIBC_VERS = $(shell ls /lib/$(MULTI_OS_DIRECTORY)/libc-*.so | tail -n 1 | sed -e 's|.*libc-\(.*\)\.so|\1|')
-+LIBC_VERS = $(shell ls @GENTOO_PORTAGE_EPREFIX@/$(LIBDIR_UNPREFIXED)/$(MULTI_OS_DIRECTORY)/libc-*.so | tail -n 1 | sed -e 's|.*libc-\(.*\)\.so|\1|')
- NSS_LDAP_LIBC_VERSIONED = libnss_ldap-$(LIBC_VERS).so
-
--NSS_VERS = $(shell ls /lib/$(MULTI_OS_DIRECTORY)/libnss_files.so.? | tail -n 1 | sed -e 's|.*libnss_files\.so\.\(.*\)|\1|')
-+NSS_VERS = $(shell ls @GENTOO_PORTAGE_EPREFIX@/$(LIBDIR_UNPREFIXED)/$(MULTI_OS_DIRECTORY)/libnss_files.so.? | tail -n 1 | sed -e 's|.*libnss_files\.so\.\(.*\)|\1|')
- NSS_LDAP_NSS_VERSIONED = libnss_ldap.so.$(NSS_VERS)
- endif
-
-@@ -83,8 +79,6 @@
- $(mkinstalldirs) $(DESTDIR)$(libdir)
- $(INSTALL_PROGRAM) -o $(INST_UID) -g $(INST_GID) nss_ldap.so $(DESTDIR)$(libdir)/$(NSS_LDAP_LIBC_VERSIONED)
- (cd $(DESTDIR)$(libdir); ln -sf $(NSS_LDAP_LIBC_VERSIONED) $(NSS_LDAP_NSS_VERSIONED))
-- $(mkinstalldirs) $(DESTDIR)/usr$(libdir)
-- (cd $(DESTDIR)/usr$(libdir); ln -sf ../..$(libdir)/$(NSS_LDAP_NSS_VERSIONED) .)
- else
- $(mkinstalldirs) $(DESTDIR)$(libdir)
- if HPUX
diff --git a/sys-auth/nss_ldap/files/nss_ldap-265-reconnect-timeouts.patch b/sys-auth/nss_ldap/files/nss_ldap-265-reconnect-timeouts.patch
deleted file mode 100644
index b377ad7bb326..000000000000
--- a/sys-auth/nss_ldap/files/nss_ldap-265-reconnect-timeouts.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Nuar --exclude '*.orig' nss_ldap-265.orig/ldap.conf nss_ldap-265/ldap.conf
---- nss_ldap-265.orig/ldap.conf 2009-11-06 10:28:08.000000000 +0000
-+++ nss_ldap-265/ldap.conf 2010-02-19 18:36:58.272236290 +0000
-@@ -279,7 +279,8 @@
- # OpenLDAP SSL mechanism
- # start_tls mechanism uses the normal LDAP port, LDAPS typically 636
- #ssl start_tls
--#ssl on
-+###ssl on
-+# Gentoo note: Don't use 'ssl on' in 249/250. They are broken in some cases! Use start_tls instead.
-
- # OpenLDAP SSL options
- # Require and verify server certificate (yes/no)
-@@ -311,3 +312,27 @@
- # Override the default Kerberos ticket cache location.
- #krb5_ccname FILE:/etc/.ldapcache
-
-+# Timeout behavior
-+# Upstream nss_ldap hard-codes these values:
-+#nss_reconnect_tries 5 # number of times to double the sleep time
-+#nss_reconnect_sleeptime 4 # initial sleep value
-+#nss_reconnect_maxsleeptime 64 # max sleep value to cap at
-+#nss_reconnect_maxconntries 2 # how many tries before sleeping
-+# This leads to a delay of 124 seconds (4+8+16+32+64=124) per lookup if the
-+# server is not available.
-+
-+# For Gentoo's distribution of nss_ldap, as of 250-r1, we use these values
-+# (The hardwired constants in the code are changed to them as well):
-+nss_reconnect_tries 4 # number of times to double the sleep time
-+nss_reconnect_sleeptime 1 # initial sleep value
-+nss_reconnect_maxsleeptime 16 # max sleep value to cap at
-+nss_reconnect_maxconntries 2 # how many tries before sleeping
-+# This leads to a delay of 15 seconds (1+2+4+8=15)
-+
-+# If you are impatient, and know your LDAP server is reliable, fast or local,
-+# you may wish to use these values instead:
-+#nss_reconnect_tries 1 # number of times to double the sleep time
-+#nss_reconnect_sleeptime 1 # initial sleep value
-+#nss_reconnect_maxsleeptime 1 # max sleep value to cap at
-+#nss_reconnect_maxconntries 3 # how many tries before sleeping
-+# This leads to a delay of 1 second.
-diff -Nuar --exclude '*.orig' nss_ldap-265.orig/ldap-nss.h nss_ldap-265/ldap-nss.h
---- nss_ldap-265.orig/ldap-nss.h 2009-11-06 10:28:08.000000000 +0000
-+++ nss_ldap-265/ldap-nss.h 2010-02-19 18:37:49.278474888 +0000
-@@ -96,9 +96,9 @@
- * unacceptable, in which case you may wish to adjust
- * the constants below.
- */
--#define LDAP_NSS_TRIES 5 /* number of sleeping reconnect attempts */
--#define LDAP_NSS_SLEEPTIME 4 /* seconds to sleep; doubled until max */
--#define LDAP_NSS_MAXSLEEPTIME 64 /* maximum seconds to sleep */
-+#define LDAP_NSS_TRIES 4 /* number of sleeping reconnect attempts */
-+#define LDAP_NSS_SLEEPTIME 1 /* seconds to sleep; doubled until max */
-+#define LDAP_NSS_MAXSLEEPTIME 16 /* maximum seconds to sleep */
- #define LDAP_NSS_MAXCONNTRIES 2 /* reconnect attempts before sleeping */
-
- #if defined(HAVE_NSSWITCH_H) || defined(HAVE_IRS_H)
diff --git a/sys-auth/nss_ldap/files/nsswitch.ldap.diff b/sys-auth/nss_ldap/files/nsswitch.ldap.diff
deleted file mode 100644
index a8e96e05e8d8..000000000000
--- a/sys-auth/nss_ldap/files/nsswitch.ldap.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- nsswitch.ldap 2004-06-08 00:34:09.895330016 -0500
-+++ nsswitch.ldap-modified 2004-06-08 00:35:21.518441648 -0500
-@@ -10,10 +10,10 @@
- passwd: files ldap
- group: files ldap
-
--# consult DNS first, we will need it to resolve the LDAP host. (If we
-+# consult files/dns first, we will need it to resolve the LDAP host. (If we
- # can't resolve it, we're in infinite recursion, because libldap calls
- # gethostbyname(). Careful!)
--hosts: dns ldap
-+hosts: files dns ldap
-
- # LDAP is nominally authoritative for the following maps.
- services: ldap [NOTFOUND=return] files
diff --git a/sys-auth/nss_ldap/metadata.xml b/sys-auth/nss_ldap/metadata.xml
deleted file mode 100644
index 66804ca036f7..000000000000
--- a/sys-auth/nss_ldap/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>ldap-bugs@gentoo.org</email>
- </maintainer>
- <maintainer type="person">
- <email>robbat2@gentoo.org</email>
- <name>Robin H. Johnson</name>
- </maintainer>
- <maintainer type="person">
- <email>prometheanfire@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/nss_ldap/nss_ldap-265-r11.ebuild b/sys-auth/nss_ldap/nss_ldap-265-r11.ebuild
deleted file mode 100644
index 89fc1820eac7..000000000000
--- a/sys-auth/nss_ldap/nss_ldap-265-r11.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools fixheadtails multilib-minimal prefix
-
-DESCRIPTION="NSS LDAP Module"
-HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
-SRC_URI="http://www.padl.com/download/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2"
-KEYWORDS="~alpha amd64 arm ~hppa ~mips ~ppc ppc64 ~sparc x86"
-IUSE="debug kerberos ssl sasl split-usr"
-
-DEPEND="
- >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}]
- sasl? ( >=dev-libs/cyrus-sasl-2.1.26-r3[${MULTILIB_USEDEP}] )
- kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
- ssl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
-"
-RDEPEND="
- ${DEPEND}
- !<net-fs/autofs-4.1.3
-"
-
-src_prepare() {
- default
-
- # Patch is for Prefix
- # eprefixify is safe on non-Prefix systems, so go unconditional
- # Note: comment this out or make it conditional on 'use prefix'
- # if needs rebasing. Don't remove.
- eapply "${FILESDIR}"/${P}-r10-libdir.patch
- eprefixify Makefile.am
-
- # bug 438692
- eapply -p0 "${FILESDIR}"/${P}-pthread.patch
-
- eapply -p0 "${FILESDIR}"/nsswitch.ldap.diff
-
- # Applied by upstream
- #eapply "${FILESDIR}"/${PN}-239-tls-security-bug.patch
-
- eapply -p0 "${FILESDIR}"/${PN}-249-sasl-compile.patch
-
- eapply "${FILESDIR}"/${PN}-265-reconnect-timeouts.patch
-
- # Applied by upstream
- #eapply "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch
-
- eapply "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch
-
- sed -i.orig \
- -e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \
- "${S}"/ldap.conf \
- || die
-
- # Fix head/tail stuff
- ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp
-
- # Fix build borkage
- local i
- for i in Makefile.{in,am}; do
- sed -i.orig \
- -e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \
- "${S}"/$i || die
- done
-
- eapply "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch
-
- # Bug #214750, no automagic deps
- eapply "${FILESDIR}"/${PN}-264-disable-automagic.patch
-
- # Upstream forgets the version number sometimes
- #sed -i \
- # -e "/^AM_INIT_AUTOMAKE/s~2..~$PV~" \
- # "${S}"/configure.in || die
-
- # Include an SONAME
- eapply "${FILESDIR}"/${PN}-254-soname.patch
-
- # Fix broken oneshot connections
- eapply "${FILESDIR}/nss_ldap-265-missing-entries-oneshot.patch"
-
- sed -i \
- -e 's, vers_string , PERL5LIB="@top_srcdir@" @top_srcdir@/vers_string ,g' \
- "${S}"/Makefile.am || die
-
- eautoreconf
-}
-
-multilib_src_configure() {
- local myconf=(
- # --enable-schema-mapping
- --with-ldap-lib=openldap
- --with-ldap-conf-file="${EPREFIX}/etc/ldap.conf"
- --enable-paged-results
- --enable-rfc2307bis
- $(use_enable ssl)
- $(use_enable sasl)
- $(use_enable kerberos krb)
- )
-
- use debug && myconf+=( --enable-debugging )
- use kerberos && myconf+=( --enable-configurable-krb5-ccname-gssapi )
-
- # Neede to be careful with changing this
- # bug #581306
- multilib_is_native_abi && myconf+=( --libdir="${EPREFIX}/$(get_libdir)" )
-
- ECONF_SOURCE=${S} econf "${myconf[@]}"
-}
-
-multilib_src_install() {
- emake -j1 DESTDIR="${D}" \
- LIBDIR_UNPREFIXED="$(get_libdir)" \
- INST_UID=${PORTAGE_USER:-root} \
- INST_GID=${PORTAGE_GROUP:-root} \
- install
-}
-
-multilib_src_install_all() {
- use split-usr &&
- dosym ../../$(get_libdir)/libnss_ldap.so.2 /usr/$(get_libdir)/libnss_ldap.so.2
-
- insinto /etc
- doins ldap.conf
-
- # Append two blank lines and some skip entries
- echo >>"${ED}"/etc/ldap.conf || die
- echo >>"${ED}"/etc/ldap.conf || die
- sed -i "${ED}"/etc/ldap.conf \
- -e '$inss_initgroups_ignoreusers ldap,openldap,mysql,syslog,root,postgres' \
- || die
-
- dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
- CVSVersionInfo.txt README nsswitch.ldap certutil
-
- docinto docs
- dodoc -r doc/.
-}
-
-pkg_postinst() {
- elog "If you use a ldaps:// string in the 'uri' setting of"
- elog "your /etc/ldap.conf, you must set 'ssl on'!"
-}
diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
deleted file mode 100644
index e80fdb6fef7a..000000000000
--- a/sys-auth/oath-toolkit/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST oath-toolkit-2.6.14.tar.gz 3883488 BLAKE2B 0d20e9d60350268080abd245b47bd84ae426a0007cba8af049994a1f6a5f9153220a570f3ff93432a8c369e8becc342011cea46cf3c75cad2e3f8a70107af2e3 SHA512 8d474c0d71193e8e7cc9b24fc3767630dc087bad70b084c61fca853785d89f29ed542ac016b8034d79a54b9ea36fed7ccddd5b2b7c581dca0f101062cb2878f0
-DIST oath-toolkit-2.6.14.tar.gz.sig 854 BLAKE2B f0db16bedcd731a3f25d26bb2a303fc2bef91e5fdfedc24cd0e5ae7c6c2ec19bd0d68f2931632cb3bcad279cccf4e400b70439d1b1715ef3c373792d7e8cd32d SHA512 e0130f6573ac18fc9b7c8a38d9e5790e801aa57132b4c38756d077f358988dba689bb9a0f542363c17d2b49abc75821f559cee06f5ed5dcb13fd52b4ce264e30
diff --git a/sys-auth/oath-toolkit/metadata.xml b/sys-auth/oath-toolkit/metadata.xml
deleted file mode 100644
index 6b93cdd17f6a..000000000000
--- a/sys-auth/oath-toolkit/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>robbat2@gentoo.org</email>
- </maintainer>
- <maintainer type="project">
- <email>sysadmin@gentoo.org</email>
- <name>Gentoo Sysadmin Project</name>
- </maintainer>
- <use>
- <flag name="pam">Build PAM module for pluggable login authentication for OATH</flag>
- </use>
- <upstream>
- <remote-id type="savannah-nongnu">oath-toolkit</remote-id>
- <remote-id type="codeberg">oath-toolkit/oath-toolkit</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild
deleted file mode 100644
index 6fd840530d02..000000000000
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/oath-toolkit.asc
-inherit libtool pam verify-sig
-
-DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms"
-HOMEPAGE="https://oath-toolkit.codeberg.page/"
-SRC_URI="
- https://codeberg.org/oath-toolkit/oath-toolkit/releases/download/v${PV}/${P}.tar.gz
- mirror://nongnu/${PN}/${P}.tar.gz
- verify-sig? (
- https://codeberg.org/oath-toolkit/oath-toolkit/releases/download/v${PV}/${P}.tar.gz.sig
- mirror://nongnu/${PN}/${P}.tar.gz.sig
- )
-"
-
-LICENSE="GPL-3 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-IUSE="pam static-libs test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-libs/libxml2:=
- dev-libs/xmlsec:=
- pam? ( sys-libs/pam )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- dev-build/gtk-doc-am
- test? ( dev-libs/libxml2 )
- verify-sig? ( sec-keys/openpgp-keys-oath-toolkit )
-"
-
-# fpurge is from gnulib, and unused as of 2.6.11
-QA_CONFIG_IMPL_DECL_SKIP=(
- MIN # glibc fp
- alignof
- fpurge
- static_assert
- unreachable
-)
-
-src_prepare() {
- default
-
- elibtoolize
-
- # upstream has a gdoc.mk, which declares that Makefile.am -> Makefile.in has a rebuild rule on:
- # $(top_builddir)/configure
- # which is baffling and also totally breaks elibtoolize. Munge the timestamps into forgetting about this.
- #touch */man/Makefile.gdoc */man/Makefile.in || die
-
- # After patching, we have to fix the mtime on libpskc/global.c so
- # that it doesn't cause Makefile.gdoc to be rebuilt so that it
- # doesn't cause Makefile.in to be rebuilt so that it doesn't try to
- # run automake-1.16.5 for no reason. Bug 936309.
- touch --reference=libpskc/errors.c libpskc/global.c || die
-}
-
-src_configure() {
- local myeconfargs=(
- --cache-file="${S}"/config.cache
- --enable-pskc
- --disable-valgrind-tests
- $(use_enable test xmltest)
- $(use_enable pam)
- $(use_with pam pam-dir $(getpam_mod_dir))
- $(use_enable static-libs static)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_test() {
- # Without -k, it will bail out after the first testsuite failure,
- # skipping the other testsuites. as they are mostly independent, this sucks.
- emake -k check
-
- # Avoid errant QA notice for no tests run on these
- rm -f libpskc/gtk-doc/test-suite.log liboath/gtk-doc/test-suite.log || die
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -type f -delete || die
-
- if use pam; then
- newdoc pam_oath/README README.pam
- fi
-
- doman pskctool/pskctool.1
-}
diff --git a/sys-auth/otpcalc/Manifest b/sys-auth/otpcalc/Manifest
deleted file mode 100644
index 6f627b793eca..000000000000
--- a/sys-auth/otpcalc/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST otpcalc-0.98.1.tar.bz2 19800 BLAKE2B 84a04ad7173eb55729952dab02ff4b87488c210fcb8278d85528f7d2995624f481f54b02575c604b21e7b9c9d43c84ab7e1b284ff98aa05a8e626ae12f71b6e3 SHA512 105e31d3cc2fafd8ccd0f23f443b6f8cf1952c4d3dca1e28f68de87d1b486b69fafad5083422029206014786e32cd2d9bf87ab6ca2a6196726efb35a72c814c5
diff --git a/sys-auth/otpcalc/metadata.xml b/sys-auth/otpcalc/metadata.xml
deleted file mode 100644
index db8bb0fcd499..000000000000
--- a/sys-auth/otpcalc/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>ulm@gentoo.org</email>
-</maintainer>
-<longdescription lang="en">
- otpCalc is an RFC2289 and RFC1760 compliant one time password calculator,
- written to use the GTK+ library for screen I/O.
-</longdescription>
-<upstream>
- <remote-id type="gitlab">otpcalc/otpcalc</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/sys-auth/otpcalc/otpcalc-0.98.1.ebuild b/sys-auth/otpcalc/otpcalc-0.98.1.ebuild
deleted file mode 100644
index 345e2c8ba9cf..000000000000
--- a/sys-auth/otpcalc/otpcalc-0.98.1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson xdg
-
-DESCRIPTION="A One Time Password and S/Key calculator for GTK+"
-HOMEPAGE="https://gitlab.com/otpcalc/otpcalc
- http://www.killa.net/infosec/otpCalc/"
-SRC_URI="https://gitlab.com/otpcalc/${PN}/-/archive/${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc ~sparc x86"
-
-RDEPEND="dev-libs/openssl:0=
- x11-libs/gtk+:3"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
diff --git a/sys-auth/pam-gnupg/Manifest b/sys-auth/pam-gnupg/Manifest
deleted file mode 100644
index 36e4aa7e91e5..000000000000
--- a/sys-auth/pam-gnupg/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam-gnupg-0.4.tar.gz 21363 BLAKE2B e42524b68d5070f7b7a337be1bc4abf97be34bb26ad89e7bf12c01ae91f127da48c5c27e21cfead42c2c607e87bb2dbcbb505bd505760c003a9e3a544bde2e45 SHA512 c23c336d287b564aa0d585b15dc7093b7eb91e63dc9b4e40bae5c4aa841f9531655bc09d559230ba8b9f180a28dcc0d06a91ec51978fd04ece2a848bab87ca69
diff --git a/sys-auth/pam-gnupg/metadata.xml b/sys-auth/pam-gnupg/metadata.xml
deleted file mode 100644
index 2d738159b32b..000000000000
--- a/sys-auth/pam-gnupg/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">cruegge/pam-gnupg</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild b/sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild
deleted file mode 100644
index b5970c5c7e29..000000000000
--- a/sys-auth/pam-gnupg/pam-gnupg-0.4-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools pam
-
-DESCRIPTION="Unlock GnuPG keys on login"
-HOMEPAGE="https://github.com/cruegge/pam-gnupg"
-SRC_URI="https://github.com/cruegge/pam-gnupg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- >=sys-libs/pam-1.6.1
- >=app-crypt/gnupg-2.4.5-r1
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf --with-moduledir="$(getpam_mod_dir)"
-}
diff --git a/sys-auth/pam-pgsql/Manifest b/sys-auth/pam-pgsql/Manifest
deleted file mode 100644
index 9a78f96d75fa..000000000000
--- a/sys-auth/pam-pgsql/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam-pgsql-0.7.3.2.tar.gz 712533 BLAKE2B 6841505963310f5192aff3dce4d7d0ed8dce18bac629bd9338390794bdb6a0a2dd96b96a55660b5fcb6a34ebeeb8ef4024ce1203321508e027284fc8e94df3c5 SHA512 d5766e56a13b0b4762fba10d624d12f130f2675f1f1772eaaf275b599f44adcf98287c2636462ba3faf46af139eb1bd157918c0c783040796562f37dec17a6d9
diff --git a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch b/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch
deleted file mode 100644
index bf3604fd5670..000000000000
--- a/sys-auth/pam-pgsql/files/pam-pgsql-0.7.3.2-Fix-crypt-implicit-function-declaration.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From: Sam James <sam@gentoo.org>
-Date: Sun, 2 Oct 2022 23:55:21 +0100
-Subject: [PATCH] Fix crypt() implicit function declaration
-
-crypt() is POSIX and setting _XOPEN_SOURCE makes glibc inhibit
-defining it w/o _DEFAULT_SOURCE.
-
-Bug: https://bugs.gentoo.org/871492
---- a/src/backend_pgsql.c
-+++ b/src/backend_pgsql.c
-@@ -8,7 +8,6 @@
- * William Grzybowski <william@agencialivre.com.br>
- */
-
--#define _XOPEN_SOURCE 500
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
diff --git a/sys-auth/pam-pgsql/metadata.xml b/sys-auth/pam-pgsql/metadata.xml
deleted file mode 100644
index fba4cfb3e1a8..000000000000
--- a/sys-auth/pam-pgsql/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">pam-pgsql</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild
deleted file mode 100644
index 5fbe0e0d8d22..000000000000
--- a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2-r2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pam
-
-DESCRIPTION="PAM module to authenticate users via PostgreSQL"
-HOMEPAGE="https://sourceforge.net/projects/pam-pgsql/"
-
-if [[ ${PV} == *_p* ]]; then
- SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.gz"
-else
- SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND=">=dev-db/postgresql-8.0:=
- >=dev-libs/libgcrypt-1.2.0:0=
- sys-libs/pam
- virtual/libcrypt:="
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.7.3.2-Fix-crypt-implicit-function-declaration.patch
-)
-
-src_configure() {
- econf \
- --sysconfdir=/etc/security \
- --libdir=/$(get_libdir)
-}
-
-src_compile() {
- emake pammoddir="$(getpam_mod_dir)"
-}
-
-src_install() {
- emake DESTDIR="${D}" pammoddir="$(getpam_mod_dir)" install
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- if [[ -z ${REPLACING_VERSIONS} ]] ; then
- elog "Please see the documentation and configuration examples in the"
- elog "documentation directory at /usr/share/doc/${PF}."
- elog ""
- elog "Please note that the default configuration file in Gentoo has been"
- elog "moved to /etc/security/pam-pgsql.conf to follow the other PAM modules."
- fi
-}
diff --git a/sys-auth/pam-script/Manifest b/sys-auth/pam-script/Manifest
deleted file mode 100644
index 814d6a65625b..000000000000
--- a/sys-auth/pam-script/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam-script-1.1.9.tar.gz 34890 BLAKE2B 0cb1c978cf335039185d34ea9d9a6a5363d73c86e05b24735d3a13d88c2eb03734831ee1fe80a87ca9d89c5b793cdc498b7fb2890a2e09209adfdd43784c2fd8 SHA512 319dff52923f7f895ff123bd6258bc83668b41da1172961e1747cb12fbdd260c6907b73f9881f5c3a50d4e2c4074b66747d7d6bbe1e0d7ab0411251705b59537
diff --git a/sys-auth/pam-script/metadata.xml b/sys-auth/pam-script/metadata.xml
deleted file mode 100644
index 9bb913586f6b..000000000000
--- a/sys-auth/pam-script/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <upstream>
- <remote-id type="github">jeroennijhof/pam_script</remote-id>
- <remote-id type="sourceforge">pam-script</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam-script/pam-script-1.1.9.ebuild b/sys-auth/pam-script/pam-script-1.1.9.ebuild
deleted file mode 100644
index c42c11ae0461..000000000000
--- a/sys-auth/pam-script/pam-script-1.1.9.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_PN=${PN/-/_}
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="PAM module for running scripts during authorization, password change and session"
-HOMEPAGE="https://github.com/jeroennijhof/pam_script/"
-SRC_URI="https://github.com/jeroennijhof/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples"
-
-RDEPEND="sys-libs/pam"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --libdir=/$(get_libdir)/security \
- --sysconfdir=/etc/security/${PN}
-}
-
-src_install() {
- default
-
- if use examples ; then
- docinto examples
- dodoc etc/README.examples
- exeinto /usr/share/doc/${PF}/examples
- doexe etc/{logscript,tally}
- docompress -x /usr/share/doc/${PF}/examples/{logscript,tally}
- fi
-}
diff --git a/sys-auth/pam_dotfile/Manifest b/sys-auth/pam_dotfile/Manifest
deleted file mode 100644
index ecae1388b34a..000000000000
--- a/sys-auth/pam_dotfile/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_dotfile-0.7.tar.gz 229009 BLAKE2B 99cec03f963735806f89ec6d099450993277877cc25562b4eb0c98dd61dbd8a8c5fcbb2c23ab24883c0fe4f44632fdbf0c6d8eeed646e3af28744b9a5aabba11 SHA512 544160068af2c6a488271d36cfae43340d4d7801702aef629ba781dff12b99334bc76ec14396783d0a9823d0f976c847335fe8b1b07cbbb6e43d0bd658ff7500
diff --git a/sys-auth/pam_dotfile/files/pam_dotfile-0.7-gentoo.patch b/sys-auth/pam_dotfile/files/pam_dotfile-0.7-gentoo.patch
deleted file mode 100644
index 023f86553c39..000000000000
--- a/sys-auth/pam_dotfile/files/pam_dotfile-0.7-gentoo.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 4730bdf..b8d8747 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -44,16 +44,26 @@ CFLAGS="$CFLAGS -L/lib"
- # Checks for libraries.
- AC_CHECK_HEADER([security/pam_modules.h],, [AC_MSG_ERROR([*** Sorry, you have to install the PAM development files ***])])
-
--LIBS="$LIBS -ldl -lpam -lpam_misc"
--
--case "$host" in
-- *-*-linux*)
-- PAM_MODDIR="/lib/security"
-- ;;
-- *)
-- PAM_MODDIR="/usr/lib"
-- ;;
--esac
-+AC_CHECK_HEADERS([security/_pam_macros.h security/pam_misc.h security/openpam.h])
-+
-+AC_CHECK_LIB([pam], [pam_start])
-+AC_CHECK_LIB([pam_misc], [misc_conv])
-+
-+AC_ARG_WITH([pammoddir],
-+ AC_HELP_STRING([--with-pammoddir], [Install module in specified directory]),
-+ [
-+ PAM_MODDIR=$withval
-+ ], [
-+ case "$host" in
-+ *-*-linux*)
-+ PAM_MODDIR="/lib/security"
-+ ;;
-+ *)
-+ PAM_MODDIR="/usr/lib"
-+ ;;
-+ esac
-+ ])
-+
- AC_SUBST(PAM_MODDIR)
-
- # Checks for header files.
-@@ -64,7 +74,7 @@ AC_FUNC_LSTAT
- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
- AC_FUNC_VPRINTF
-
--AC_CHECK_HEADERS([fcntl.h limits.h syslog.h termios.h])
-+AC_CHECK_HEADERS([fcntl.h limits.h syslog.h termios.h sys/types.h])
- AC_HEADER_STDC
- AC_HEADER_SYS_WAIT
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 2905b7c..e7e47d2 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -22,7 +22,7 @@ moduledir = @PAM_MODDIR@
- module_LTLIBRARIES = pam_dotfile.la
-
- pam_dotfile_la_SOURCES = pam_dotfile.c md5.c md5util.c md5.h md5util.h log.c log.h common.c common.h
--pam_dotfile_la_LDFLAGS = -module -avoid-version
-+pam_dotfile_la_LDFLAGS = -module -avoid-version -export-symbols-regex '^pam_'
- pam_dotfile_la_CFLAGS = $(AM_CFLAGS)
-
- sbin_PROGRAMS = pam-dotfile-helper
-diff --git a/src/common.h b/src/common.h
-index ef34cf3..6a57116 100644
---- a/src/common.h
-+++ b/src/common.h
-@@ -21,7 +21,10 @@
- ***/
-
- #include <security/pam_modules.h>
--#include <security/_pam_macros.h>
-+#include <security/pam_appl.h>
-+#ifdef HAVE_SECURITY__PAM_MACROS_H
-+# include <security/_pam_macros.h>
-+#endif
-
- typedef struct context {
- int opt_debug;
-diff --git a/src/pam-dotfile-helper.c b/src/pam-dotfile-helper.c
-index 04c73de..1c09b18 100644
---- a/src/pam-dotfile-helper.c
-+++ b/src/pam-dotfile-helper.c
-@@ -23,6 +23,14 @@
- #include <signal.h>
- #include <pwd.h>
-
-+#ifdef HAVE_CONFIG_H
-+# include <config.h>
-+#endif
-+
-+#ifdef HAVE_SYS_TYPES_H
-+# include <sys/types.h>
-+#endif
-+
- #include "common.h"
- #include "log.h"
-
-diff --git a/src/pam_dotfile.c b/src/pam_dotfile.c
-index 405f494..183aafd 100644
---- a/src/pam_dotfile.c
-+++ b/src/pam_dotfile.c
-@@ -29,11 +29,19 @@
- #include <sys/types.h>
- #include <sys/wait.h>
- #include <fcntl.h>
-+#include <stdlib.h>
-
- #define PAM_SM_AUTH
-
- #include <security/pam_modules.h>
--#include <security/_pam_macros.h>
-+#include <security/pam_appl.h>
-+#ifdef HAVE_SECURITY__PAM_MACROS_H
-+# include <security/_pam_macros.h>
-+#endif
-+
-+#ifndef x_strdup
-+# define x_strdup(s) ( (s) ? strdup(s):NULL )
-+#endif
-
- #include "md5.h"
- #include "md5util.h"
-diff --git a/src/pamtest.c b/src/pamtest.c
-index 171e601..6583de1 100644
---- a/src/pamtest.c
-+++ b/src/pamtest.c
-@@ -19,11 +19,28 @@
-
- #include <stdio.h>
-
-+#ifdef HAVE_CONFIG_H
-+# include <config.h>
-+#endif
-+
- #include <security/pam_appl.h>
--#include <security/pam_misc.h>
-+
-+#ifdef HAVE_SECURITY_PAM_MISC_H
-+# include <security/pam_misc.h>
-+#endif
-+
-+#ifdef HAVE_SECURITY_OPENPAM_H
-+# include <security/openpam.h>
-+#endif
-
- int main(int argc, char*argv[]) {
-+#ifdef HAVE_LIBPAM_MISC
- static struct pam_conv pc = { misc_conv, NULL };
-+#elif defined(_OPENPAM)
-+ static struct pam_conv pc = { openpam_nullconv, NULL };
-+#else
-+ static struct pam_conv pc = { NULL };
-+#endif
- pam_handle_t *ph = NULL;
- int r, ret;
- char *username, *procname, *service;
diff --git a/sys-auth/pam_dotfile/metadata.xml b/sys-auth/pam_dotfile/metadata.xml
deleted file mode 100644
index f3e6089f990a..000000000000
--- a/sys-auth/pam_dotfile/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">gentoo/pam_dotfile</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_dotfile/pam_dotfile-0.7-r2.ebuild b/sys-auth/pam_dotfile/pam_dotfile-0.7-r2.ebuild
deleted file mode 100644
index 335c08e47e4d..000000000000
--- a/sys-auth/pam_dotfile/pam_dotfile-0.7-r2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools pam
-
-MY_P="${P/_beta/beta}"
-
-DESCRIPTION="pam module to allow password-storing in \$HOME/dotfiles"
-HOMEPAGE="http://0pointer.de/lennart/projects/pam_dotfile/
- https://github.com/gentoo/pam_dotfile/"
-SRC_URI="http://0pointer.de/lennart/projects/pam_dotfile/${MY_P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc"
-
-BDEPEND="doc? ( www-client/lynx )"
-RDEPEND="sys-libs/pam"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- default
- eapply "${FILESDIR}"/${P}-gentoo.patch
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_enable doc lynx)
- --with-pammoddir=$(getpam_mod_dir)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- # kill the libtool archives
- rm -rf "${D}"/$(getpam_mod_dir)/*.la || die
-}
diff --git a/sys-auth/pam_krb5/Manifest b/sys-auth/pam_krb5/Manifest
deleted file mode 100644
index 9af67e250088..000000000000
--- a/sys-auth/pam_krb5/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam-krb5-4.11.tar.xz 423756 BLAKE2B a71dfe5deaaec2d2cfd07ccf22f287d4fbc5ad3d5f21090938ede3bdc9fefc1348657eaf89bf131d437d363eb8a6fa6f74d828723c13f9eed1face6154d84983 SHA512 11afe3b82fefefe7a85fb3abdc606916295b2e4ee9a8ab72c6b6791a424f8b7002002645cf3dbc5cc90412c764fb91e0c951c39c98ed7e43be62c70ef9c31e28
diff --git a/sys-auth/pam_krb5/metadata.xml b/sys-auth/pam_krb5/metadata.xml
deleted file mode 100644
index 909094485b68..000000000000
--- a/sys-auth/pam_krb5/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>eras@gentoo.org</email>
- <name>Eray Aslan</name>
- </maintainer>
- <maintainer type="project">
- <email>kerberos@gentoo.org</email>
- <name>Kerberos</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/pam_krb5/pam_krb5-4.11.ebuild b/sys-auth/pam_krb5/pam_krb5-4.11.ebuild
deleted file mode 100644
index 741c83f0a2d7..000000000000
--- a/sys-auth/pam_krb5/pam_krb5-4.11.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Kerberos V PAM Authentication Module"
-HOMEPAGE="https://www.eyrie.org/~eagle/software/pam-krb5/"
-SRC_URI="https://archives.eyrie.org/software/kerberos/${P/_/-}.tar.xz"
-
-LICENSE="|| ( BSD-2 GPL-2 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-# tests fail without a /etc/krb5.conf
-RESTRICT="test"
-
-DEPEND="virtual/krb5
- virtual/libcrypt:=
- sys-libs/pam"
-
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
- econf \
- --libdir=/$(get_libdir)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc NEWS README TODO
-
- rm "${D}/$(get_libdir)/security/pam_krb5.la"
-}
diff --git a/sys-auth/pam_mktemp/Manifest b/sys-auth/pam_mktemp/Manifest
deleted file mode 100644
index 9515eb598f98..000000000000
--- a/sys-auth/pam_mktemp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_mktemp-1.1.1.tar.gz 6754 BLAKE2B 5fc3cdf56c7bca9d46c339cc14eb13c74eb590ff4e19824dd2b6e313c2825ae18248873f0aca19a1c7ca8a4dfa5d6944ca9d07ea8355a4c0f7b57567a79b0e3c SHA512 e2e42115a1fe70c128397d842dc69f96863d721dfa886ebc21b5e8249333adc671d74213ecf1222d65417cd4747eb6114f515271fd7eac4376a2b7e28925996d
diff --git a/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch b/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch
deleted file mode 100644
index 17c038a832e2..000000000000
--- a/sys-auth/pam_mktemp/files/pam_mktemp-1.1.1-e2fsprogs-libs.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-Index: pam_mktemp-1.1.1/pam_mktemp.c
-===================================================================
---- pam_mktemp-1.1.1/pam_mktemp.c
-+++ pam_mktemp-1.1.1/pam_mktemp.c
-@@ -55,7 +55,7 @@
- */
- # include <fcntl.h>
- # include <sys/ioctl.h>
--# include <ext2fs/ext2_fs.h>
-+# include <linux/fs.h>
- #else
- # undef USE_APPEND_FL
- #endif /* HAVE_APPEND_FL */
-@@ -88,7 +88,7 @@ static int ext2fs_chflags(const char *na
- if ((fd = open(name, O_RDONLY)) < 0)
- return -1;
-
-- if (ioctl(fd, EXT2_IOC_GETFLAGS, &old_flags)) {
-+ if (ioctl(fd, FS_IOC_GETFLAGS, &old_flags)) {
- if ((errno == ENOTTY) /* Inappropriate ioctl for device */
- || (errno == ENOSYS)) /* Function not implemented */
- errno = EOPNOTSUPP;
-@@ -98,7 +98,7 @@ static int ext2fs_chflags(const char *na
-
- new_flags = (old_flags | set) & ~clear;
- if (new_flags != old_flags)
-- retval = ioctl(fd, EXT2_IOC_SETFLAGS, &new_flags);
-+ retval = ioctl(fd, FS_IOC_SETFLAGS, &new_flags);
-
- if (close(fd))
- retval = -1;
-@@ -233,7 +233,7 @@ PAM_EXTERN int pam_sm_open_session(pam_h
- */
-
- #ifdef USE_APPEND_FL
-- ext2fs_chflags(PRIVATE_PREFIX, EXT2_APPEND_FL, 0);
-+ ext2fs_chflags(PRIVATE_PREFIX, FS_APPEND_FL, 0);
- #endif /* USE_APPEND_FL */
-
- userdir = malloc(strlen(PRIVATE_PREFIX) + strlen(user) + 2);
-@@ -260,7 +260,7 @@ PAM_EXTERN int pam_sm_open_session(pam_h
- } else {
- /* Don't let the append-only flag get inherited
- * from the parent directory. */
-- if (ext2fs_chflags(userdir, 0, EXT2_APPEND_FL) &&
-+ if (ext2fs_chflags(userdir, 0, FS_APPEND_FL) &&
- errno != EOPNOTSUPP)
- goto out;
- #endif /* HAVE_APPEND_FL */
diff --git a/sys-auth/pam_mktemp/metadata.xml b/sys-auth/pam_mktemp/metadata.xml
deleted file mode 100644
index b8ee607692f8..000000000000
--- a/sys-auth/pam_mktemp/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>swegener@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="prevent-removal">If supported, set EXT2_APPEND_FL on /tmp/.private to prevent temporary directories from being removed</flag>
- </use>
- <upstream>
- <remote-id type="github">openwall/pam_mktemp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild b/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild
deleted file mode 100644
index afc5918c02d6..000000000000
--- a/sys-auth/pam_mktemp/pam_mktemp-1.1.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs pam
-
-DESCRIPTION="Create per-user private temporary directories during login"
-HOMEPAGE="https://www.openwall.com/pam/"
-SRC_URI="https://www.openwall.com/pam/modules/${PN}/${P}.tar.gz"
-
-LICENSE="BSD-2" # LICENSE file says "heavily cut-down 'BSD license'"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="selinux +prevent-removal"
-
-RDEPEND="sys-libs/pam
- selinux? ( sys-libs/libselinux )"
-
-DEPEND="${RDEPEND}
- prevent-removal? ( sys-kernel/linux-headers )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-e2fsprogs-libs.patch
-)
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS} -fPIC" \
- LDFLAGS="${LDFLAGS} --shared -Wl,--version-script,\$(MAP)" \
- USE_SELINUX="$(use selinux && echo 1 || echo 0)" \
- USE_APPEND_FL="$(use prevent-removal && echo 1 || echo 0)"
-}
-
-src_install() {
- dopammod pam_mktemp.so
- dodoc README
-}
diff --git a/sys-auth/pam_mount/Manifest b/sys-auth/pam_mount/Manifest
deleted file mode 100644
index 1cbc9435b472..000000000000
--- a/sys-auth/pam_mount/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pam_mount-2.21.tar.gz 112434 BLAKE2B faacb5986d1d418ece72f626a0aca3c0bda848791994cd17ce439c635587faeca3205806f9b119fa4fb964baa189b0fa9aaaabb9d61bc5d1a290d68324d5d7ce SHA512 8f73bfd74752dc2648f814bca44d486a49843574510daabd234f46aad34ccec98b4c877ad128135c1ae5c3f682ac12eb74bb0549209a4ef37ddd201dcc642f26
-DIST pam_mount-2.22.tar.zst 336109 BLAKE2B 4bb91a87bd3f74e44027cd8fd9d539576d9603f87892d0caa9e045b3fd6c6857e7297b90f1b54d841d4c33f060a0dbb74e3e62886e758c49ea54b9b39939552a SHA512 81a26737aa5c091df1a4775b25479400f9a873b053f904e9c66993aa83d7fd7af0762caf30b5bcb4878167acb48db95cd8ecf6872e08ba09eec4814eef071a8a
diff --git a/sys-auth/pam_mount/metadata.xml b/sys-auth/pam_mount/metadata.xml
deleted file mode 100644
index f645e13d8dce..000000000000
--- a/sys-auth/pam_mount/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>hanno@gentoo.org</email>
- </maintainer>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-auth/pam_mount/pam_mount-2.21.ebuild b/sys-auth/pam_mount/pam_mount-2.21.ebuild
deleted file mode 100644
index 20b7f4c2d5a4..000000000000
--- a/sys-auth/pam_mount/pam_mount-2.21.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2022-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="A PAM module that can mount volumes for a user session"
-HOMEPAGE="https://sourceforge.net/projects/pam-mount/"
-SRC_URI="https://codeberg.org/jengelh/pam_mount/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="crypt ssl selinux"
-
-DEPEND="
- >=sys-libs/pam-0.99
- >=sys-libs/libhx-4.28:=
- >=sys-apps/util-linux-2.20:=
- >=dev-libs/libxml2-2.6:=
- >=dev-libs/libpcre-7:=
- crypt? ( >=sys-fs/cryptsetup-1.1.0:= )
- ssl? (
- dev-libs/openssl:0=
-
- )
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf --with-slibdir="/$(get_libdir)" \
- $(use_with crypt cryptsetup) \
- $(use_with ssl crypto) \
- $(use_with selinux)
-}
-
-src_install() {
- default
- use selinux || rm -r "${D}"/etc/selinux
- dodoc doc/*.txt
-
- # Remove unused nonstandard run-dir, current version uses
- # FHS-compatible /run, but has leftover mkdir from old version
- rm -r "${D}/var/lib"
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/pam_mount/pam_mount-2.22.ebuild b/sys-auth/pam_mount/pam_mount-2.22.ebuild
deleted file mode 100644
index b1a6782eb3a4..000000000000
--- a/sys-auth/pam_mount/pam_mount-2.22.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2022-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit unpacker
-
-DESCRIPTION="A PAM module that can mount volumes for a user session"
-HOMEPAGE="https://sourceforge.net/projects/pam-mount/"
-SRC_URI="https://codeberg.org/jengelh/pam_mount/archive/v${PV}.tar.zst -> ${P}.tar.zst"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-IUSE="crypt ssl selinux"
-
-DEPEND="
- >=sys-libs/pam-0.99
- >=sys-libs/libhx-5.0:=
- >=sys-apps/util-linux-2.20:=
- >=dev-libs/libxml2-2.6:=
- >=dev-libs/libpcre-7:=
- crypt? ( >=sys-fs/cryptsetup-1.1.0:= )
- ssl? (
- dev-libs/openssl:0=
-
- )
- selinux? ( sys-libs/libselinux )"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf --with-slibdir="/$(get_libdir)" \
- $(use_with crypt cryptsetup) \
- $(use_with ssl crypto) \
- $(use_with selinux)
-}
-
-src_install() {
- default
- use selinux || rm -r "${D}"/etc/selinux
- dodoc doc/*.txt
-
- # Remove unused nonstandard run-dir, current version uses
- # FHS-compatible /run, but has leftover mkdir from old version
- rm -r "${D}/var/lib"
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/pam_mysql/Manifest b/sys-auth/pam_mysql/Manifest
deleted file mode 100644
index 62b7669b1727..000000000000
--- a/sys-auth/pam_mysql/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_mysql-0.8.2.tar.gz 55023 BLAKE2B 2b278dc8cff229dd9fe9da2316f51838e6b9d57714dc07c7dfe85142ac4bb2e6c3a3de7eed7ab34917c08a07197c187434211cb7841c85f4c8d2d088309bae3a SHA512 268dd721554bc15125b6ea95b3f7b7a5f4ebf772e0ad65b6cf53d7e23d6154f10d916da774ea338a6b75427b2a6ada2b4730a57a88a15abea62a0454e7c5ea1e
diff --git a/sys-auth/pam_mysql/metadata.xml b/sys-auth/pam_mysql/metadata.xml
deleted file mode 100644
index b97d1775dc2f..000000000000
--- a/sys-auth/pam_mysql/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>mysql-bugs@gentoo.org</email>
- <name>MySQL</name>
- </maintainer>
- <use>
- <flag name="openssl">Use OpenSSL for md5 and sha1 support</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">pam-mysql</remote-id>
- <remote-id type="github">NigelCunningham/pam-MySQL</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_mysql/pam_mysql-0.8.2-r2.ebuild b/sys-auth/pam_mysql/pam_mysql-0.8.2-r2.ebuild
deleted file mode 100644
index 6bf8eec3517f..000000000000
--- a/sys-auth/pam_mysql/pam_mysql-0.8.2-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools pam
-
-DESCRIPTION="pam_mysql is a module for pam to authenticate users with mysql"
-HOMEPAGE="https://github.com/NigelCunningham/pam-MySQL"
-SRC_URI="https://github.com/NigelCunningham/pam-MySQL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/pam-MySQL-${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
-IUSE="openssl"
-
-DEPEND="
- >=sys-libs/pam-0.72:0=
- dev-db/mysql-connector-c:0=
- virtual/libcrypt:=
- openssl? ( dev-libs/openssl:0= )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS README )
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- md5_calc # for Solaris, bug #908580
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --with-pam-mods-dir="$(getpam_mod_dir)"
- $(use_with openssl)
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/pam_p11/Manifest b/sys-auth/pam_p11/Manifest
deleted file mode 100644
index c160e0139ea8..000000000000
--- a/sys-auth/pam_p11/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_p11-0.6.0.tar.gz 435699 BLAKE2B bd21016872927da07e53640b9aaa8111884a92d9c014aae74463e056dd0caba7e8cbc7c4ed9d23c4e1d622755f6be42c51b08b2c5b6e9a242ebf2d4f30a51468 SHA512 db58cb9b2435961c854dc5fd4961a6b5ea1e4339fe030d4db054b7f42b4d4797de9288b8415e2fdeeffbe0ce8d3f2730322fb6e5039fa1af8f48b5d636a46d18
diff --git a/sys-auth/pam_p11/metadata.xml b/sys-auth/pam_p11/metadata.xml
deleted file mode 100644
index 3d37d20d4ee8..000000000000
--- a/sys-auth/pam_p11/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">opensc</remote-id>
- <remote-id type="github">opensc/pam_p11</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_p11/pam_p11-0.6.0.ebuild b/sys-auth/pam_p11/pam_p11-0.6.0.ebuild
deleted file mode 100644
index dd943a7e7066..000000000000
--- a/sys-auth/pam_p11/pam_p11-0.6.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit pam
-
-DESCRIPTION="PAM module for authenticating against PKCS#11 tokens"
-HOMEPAGE="https://github.com/opensc/pam_p11/wiki"
-SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ppc ppc64 ~sparc x86"
-
-RDEPEND="
- dev-libs/libp11:=
- >=dev-libs/openssl-1.1.1:=
- sys-libs/pam
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_configure() {
- local myeconfargs=(
- # Controls -Werror
- --disable-strict
- --with-pamdir="$(getpam_mod_dir)"
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/pam_require/Manifest b/sys-auth/pam_require/Manifest
deleted file mode 100644
index 1f38a4708e8b..000000000000
--- a/sys-auth/pam_require/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_require-0.7.tgz 84299 BLAKE2B c258cbda6c7b803e1cfdac1bc5f20ebb932ed20983b7974c0e24c9509cc130e3e7868cfbd44fd8d35e0f045b3cb585b14cfb3618c179aa3038f8c59c85f9c094 SHA512 aba95c823bfcf35bca26881d79c904e9e77b86c2bf664ea63f16fa78304834a0e1e24a0392ce86cfd00309a35ad5d597f6d20a4d46139546b310daec86512198
diff --git a/sys-auth/pam_require/metadata.xml b/sys-auth/pam_require/metadata.xml
deleted file mode 100644
index 956dc2e61a2d..000000000000
--- a/sys-auth/pam_require/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>joakim.tjernlund@nokia.com</email>
- <name>Joakim Tjernlund</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/pam_require/pam_require-0.7-r2.ebuild b/sys-auth/pam_require/pam_require-0.7-r2.ebuild
deleted file mode 100644
index 2d349d2bfbce..000000000000
--- a/sys-auth/pam_require/pam_require-0.7-r2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools pam
-
-DESCRIPTION="Allows you to require a special group or user to access a service"
-HOMEPAGE="https://www.splitbrain.org/projects/pam_require"
-SRC_URI="https://www.splitbrain.org/_media/projects/pamrequire/${P}.tgz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
-
-DEPEND="sys-libs/pam"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
- default
- mv "${S}"/configure.in "${S}"/configure.ac || die "mv configure.in to configure.ac"
- eautoreconf
-}
-
-src_install() {
- dopammod pam_require.so
-
- einstalldocs
-}
diff --git a/sys-auth/pam_skey/Manifest b/sys-auth/pam_skey/Manifest
deleted file mode 100644
index 109658b83c06..000000000000
--- a/sys-auth/pam_skey/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pam_skey-1.1.5-patches-8.tar.xz 9500 BLAKE2B 7fafa0e5c63da6a66e96266768d522cb35eeb439c45b0cf449ce6897804ca8086826a450e24e6c4eb0478b5a00f0eba02097ecd6c6e911de9c33ccb7beed20de SHA512 2d0745148496137be4ed5b03fd4dcaebb65efd24c21b2d969341d10381b8f32f0731b2880b9516de46570c1133e5573fa1a08129fe539aed7fd535d10a31b34d
-DIST pam_skey-1.1.5.tar.gz 76963 BLAKE2B ded4a4e43b174338cd1beefce65314cc906db928593dd5eba2ba1be9cab33844d8fd38cb7d3b952a29da632b671c468e0dfe7f0f1e0d167397320cd9ca6d35e1 SHA512 12817cedf15a3b2287982e4beab5d3b388239cc0a1e141e66e41759ddb2da7fb9dd0df12202dcc8140db0868c8df1a8d19d5859224179e2419ffefd691cb9834
diff --git a/sys-auth/pam_skey/metadata.xml b/sys-auth/pam_skey/metadata.xml
deleted file mode 100644
index f520e8983b28..000000000000
--- a/sys-auth/pam_skey/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>ulm@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/pam_skey/pam_skey-1.1.5-r7.ebuild b/sys-auth/pam_skey/pam_skey-1.1.5-r7.ebuild
deleted file mode 100644
index 84de2e577cb1..000000000000
--- a/sys-auth/pam_skey/pam_skey-1.1.5-r7.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools readme.gentoo-r1
-
-DESCRIPTION="PAM interface for the S/Key authentication system"
-HOMEPAGE="https://web.archive.org/web/20041223070454/http://kreator.esa.fer.hr/projects/pam_skey/"
-SRC_URI="https://dkorunic.net/tarballs/${P}.tar.gz
- https://dev.gentoo.org/~ulm/distfiles/${P}-patches-8.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND=">=sys-libs/pam-0.78-r3
- >=sys-auth/skey-1.1.5-r4"
-DEPEND="${RDEPEND}"
-
-PATCHES=("${WORKDIR}/patch")
-DOCS="README INSTALL"
-
-src_prepare() {
- default
-
- cd autoconf || die
- mv configure.{in,ac} || die
- eautoconf
- eautoheader
- mv configure defs.h.in .. || die
-}
-
-src_configure() {
- econf --libdir="/$(get_libdir)" CFLAGS="${CFLAGS} -fPIC"
-}
-
-src_install() {
- default
-
- local DOC_CONTENTS="To use the pam_skey module, you need to
- configure PAM by adding a line like:
- \n\nauth [success=done ignore=ignore auth_err=die default=bad] pam_skey.so\n
- \nto an appropriate place in the /etc/pam.d/system-login file.
- Consult the README and INSTALL files in /usr/share/doc/${PF}
- for detailed instructions.
- \n\nPlease note that calling this module from unprivileged
- applications, e.g. screensavers, is not supported.
- \n\nError checking has become stricter in pam_skey-1.1.5-r4;
- errors returned from the underlying skey library when accessing
- the S/Key data base will no longer be ignored.
- Make sure that your PAM configuration is correct."
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/sys-auth/pam_smb/Manifest b/sys-auth/pam_smb/Manifest
deleted file mode 100644
index 8ccf3df639e0..000000000000
--- a/sys-auth/pam_smb/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_smb-2.0.0-rc6.tar.gz 115069 BLAKE2B 095e2e7e356391ef5b6152ad6855df895afaae7ed78e5b287fa97879e5e2a531f6fbcf7e72bf030fa9b7d525636ffb21708d7e99f75d5206b6e6024a01c2f95e SHA512 c41519ae2b657dd7cbbbeb6d097ec82fd2d0d5c0f51f658eecea98e7aaf4eb87975fc1bc6592d19dbef0a650e428ec69829270a3c119fdab9443cddd6facbe6a
diff --git a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch
deleted file mode 100644
index ddad580381b4..000000000000
--- a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -1486,7 +1486,7 @@ else
- # results, and the version is kept in special file).
-
- if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
-- system=MP-RAS-`awk '{print $3}' /etc/.relid'`
-+ system=MP-RAS-`awk '{print $3}' /etc/.relid`
- fi
- if test "`uname -s`" = "AIX" ; then
- system=AIX-`uname -v`.`uname -r`
diff --git a/sys-auth/pam_smb/files/add-various-missing-includes.patch b/sys-auth/pam_smb/files/add-various-missing-includes.patch
deleted file mode 100644
index 0aa1ea48d32c..000000000000
--- a/sys-auth/pam_smb/files/add-various-missing-includes.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From: Sam James <sam@gentoo.org>
-Date: Wed, 30 Jun 2021 08:09:19 +0100
-Subject: [PATCH] Add various missing includes
---- a/pamsmbd/md5.c
-+++ b/pamsmbd/md5.c
-@@ -39,6 +39,7 @@
- */
-
- #include "md5.h"
-+#include <string.h>
-
- #ifdef TEST
- /*
-@@ -46,7 +47,6 @@
- * The test program should print out the same values as given in section
- * A.5 of RFC 1321, reproduced below.
- */
--#include <string.h>
- main()
- {
- static const char *const test[7] = {
---- a/pamsmbd/md5driver.c
-+++ b/pamsmbd/md5driver.c
-@@ -38,6 +38,7 @@ Bug reports and feature requests should be sent to bugs@zetetic.net.
- */
-
- #include <strings.h>
-+#include <string.h>
- #include "constants.h"
- #include "md5.h"
- #include "md5driver.h"
---- a/smbval/session.c
-+++ b/smbval/session.c
-@@ -22,11 +22,8 @@
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
--#if defined(__FreeBSD__) || defined(__APPLE__)
- #include <stdlib.h>
--#else
- #include <malloc.h>
--#endif
- #include <string.h>
-
- int RFCNB_errno = 0;
---- a/smbval/smblib-util.c
-+++ b/smbval/smblib-util.c
-@@ -23,6 +23,7 @@
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-+#include <string.h>
- #include "smblib-priv.h"
- #if defined(__FreeBSD__) || defined(__APPLE__)
- #include <stdlib.h>
---- a/smbval/smblib.c
-+++ b/smbval/smblib.c
-@@ -25,6 +25,7 @@
- */
-
- #include "config.h"
-+#include <ctype.h>
- #include <string.h>
- #if defined(__FreeBSD__) || defined(__APPLE__)
- #include <stdlib.h>
---
-2.32.0
-
diff --git a/sys-auth/pam_smb/files/pamsmbd-init b/sys-auth/pam_smb/files/pamsmbd-init
deleted file mode 100644
index ba11ef6cdfe0..000000000000
--- a/sys-auth/pam_smb/files/pamsmbd-init
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting pamsmbd"
- start-stop-daemon --start --quiet --exec /usr/sbin/pamsmbd
- eend $?
-}
-
-stop() {
- ebegin "Stopping pamsmbd"
- start-stop-daemon --stop --quiet --name pamsmbd
- eend $?
-}
diff --git a/sys-auth/pam_smb/files/respect-FLAGS-CC-AR.patch b/sys-auth/pam_smb/files/respect-FLAGS-CC-AR.patch
deleted file mode 100644
index 1ba762f866a4..000000000000
--- a/sys-auth/pam_smb/files/respect-FLAGS-CC-AR.patch
+++ /dev/null
@@ -1,132 +0,0 @@
-https://bugs.gentoo.org/341087
-https://bugs.gentoo.org/728146
-https://bugs.gentoo.org/725736
-
-From: Sam James <sam@gentoo.org>
-Date: Wed, 30 Jun 2021 07:54:21 +0100
-Subject: [PATCH] Respect *FLAGS, CC, AR
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -12,7 +12,7 @@ EXTRALIBS = @MLIBS@
- LDFLAGS = @LDFLAGS@
- CC = @CC@
-
--SHELL=/bin/sh
-+SHELL?=/bin/sh
-
- INSTALL= @INSTALL@
-
-@@ -49,7 +49,7 @@ LIBOBJS = $(addprefix static/,$(LIBOBJ))
- export CFLAGS CC SHLIB_LD SHLIB_CFLAGS SHLIB_SUFFIX DOBJS MOBJS MSRCS INSTALL INSTALLDIR MLIBS DLIBS EXTRALIBS
-
- %.o : %.c
-- $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@
-+ $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) $(LDFLAGS) -c $< -o $@
-
-
- ########################### don't edit below #######################
-@@ -80,4 +80,4 @@ distclean: clean
- rm -f *.a *.out *.o *.so *.bak config.log config.cache config.status config.h Makefile include/config.h
-
- .c.o:
-- $(CC) -c $(CFLAGS) $<
-+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $<
---- a/pamsmbd/Makefile
-+++ b/pamsmbd/Makefile
-@@ -8,7 +8,7 @@ CFLAGS += ${INCLUDE}
- TARGET = pamsmbd
-
- ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o ../tdb/spinlock.o
-- $(CC) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../tdb/spinlock.o ../smbval/smbvalid.a $(DLIBS)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../tdb/spinlock.o ../smbval/smbvalid.a $(DLIBS)
-
- clean:
- rm -f ${TARGET} ${OBJS}
---- a/pamsmbd/Makefile.crypt
-+++ b/pamsmbd/Makefile.crypt
-@@ -8,7 +8,7 @@ CFLAGS += ${INCLUDE} -Wall
- TARGET = pamsmbd
-
- ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o
-- $(CC) -DCRYPT -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) -lcrypt
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -DCRYPT -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS) -lcrypt
-
- clean:
- rm -f ${TARGET} ${OBJS}
---- a/pamsmbd/Makefile.md5
-+++ b/pamsmbd/Makefile.md5
-@@ -8,7 +8,7 @@ CFLAGS += ${INCLUDE} -Wall
- TARGET = pamsmbd
-
- ${TARGET}: ${OBJS} ../smbval/smbvalid.a ../tdb/tdb.o
-- $(CC) -g -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS)
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o ${TARGET} ${INCLUDE} ${OBJS} ../tdb/tdb.o ../smbval/smbvalid.a $(DLIBS)
-
- clean:
- rm -f ${TARGET} ${OBJS}
---- a/pamsmbm/Makefile
-+++ b/pamsmbm/Makefile
-@@ -4,7 +4,7 @@
- #
- #
-
--CFLAGS = -DHAVE_CONFIG_H -I../include -I..
-+CFLAGS += -DHAVE_CONFIG_H -I../include -I..
-
- LIBAUTHSH = pam_smb_auth$(SHLIB_SUFFIX)
-
-@@ -16,7 +16,7 @@ LIBSRC = $(LIBAUTHSRC)
- LIBSHARED = $(LIBAUTHSH)
-
- %.o : %.c
-- $(CC) $(CFLAGS) $(SHLIB_CFLAGS) $(DYNAMIC) $(CPPFLAGS) -c $< -o $@
-+ $(CC) $(CFLAGS) $(SHLIB_CFLAGS) $(DYNAMIC) $(CPPFLAGS) $(LDFLAGS) -c $< -o $@
-
-
- ########################### don't edit below #######################
-@@ -26,7 +26,7 @@ dummy: all
- all: $(LIBSHARED) Makefile
-
- smb_auth: smb_auth.o
-- gcc -o smb_auth smb_auth.o queue_valid.o ../smbval/smbvalid.a
-+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o smb_auth smb_auth.o queue_valid.o ../smbval/smbvalid.a
-
- $(LIBOBJD): $(LIBSRC)
-
-@@ -43,4 +43,4 @@ extraclean: clean
- rm -f *.a *.out *.o *.so
-
- .c.o:
-- $(CC) -c $(CFLAGS) $<
-+ $(CC) -c $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $<
---- a/smbval/Makefile
-+++ b/smbval/Makefile
-@@ -3,7 +3,7 @@
- # Copyright (c) Dave Airlie 2000 (airlied@samba.org)
- #
-
--AR = ar
-+AR ?= ar
-
- INCLUDES = smblib.h smblib-priv.h
-
-@@ -27,7 +27,7 @@ all: smbvalid.a
-
- .c.o: $(INCLUDES)
- @echo Compiling $*.c
-- $(CC) -I../include $(CFLAGS) -c $*.c
-+ $(CC) -I../include $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $*.c
-
- clean:
- rm -f *.o smbvalid.a
---- a/pamsmbm/Makefile
-+++ b/pamsmbm/Makefile
-@@ -31,7 +31,7 @@ smb_auth: smb_auth.o
- $(LIBOBJD): $(LIBSRC)
-
- $(LIBAUTHSH): $(LIBAUTHSRC) $(LIBOBJ)
-- $(SHLIB_LD) $(LD_FLAGS) -o $@ $(LIBAUTHOBJ) $(EXTRALIBS)
-+ $(SHLIB_LD) $(LDFLAGS) $(LD_FLAGS) -o $@ $(LIBAUTHOBJ) $(EXTRALIBS)
-
- clean:
- rm -f $(LIBAUTHSH) $(LIBAUTHOBJ) a.out core *~
diff --git a/sys-auth/pam_smb/metadata.xml b/sys-auth/pam_smb/metadata.xml
deleted file mode 100644
index 2558404f94db..000000000000
--- a/sys-auth/pam_smb/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>samba@gentoo.org</email>
- <name>Samba Team</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r3.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r3.ebuild
deleted file mode 100644
index 2b61b73610f9..000000000000
--- a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pam toolchain-funcs
-
-MY_P=${P/_rc/-rc}
-
-DESCRIPTION="PAM module for authenticating against an SMB (such as the Win_x families) server"
-HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/"
-SRC_URI="
- https://download.samba.org/pub/samba/pam_smb/v2/${MY_P}.tar.gz
- http://www.csn.ul.ie/~airlied/pam_smb/v2/${MY_P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-
-DEPEND="virtual/libcrypt:=
- >=sys-libs/pam-0.75"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/10-pam_smb-bash-3.1.patch
- "${FILESDIR}"/respect-FLAGS-CC-AR.patch
- "${FILESDIR}"/add-various-missing-includes.patch
-)
-
-src_configure() {
- tc-export CC
-
- LDFLAGS="${LDFLAGS}" econf --disable-root-only
-}
-
-src_install() {
- dopammod pamsmbm/pam_smb_auth.so
- dosbin pamsmbd/pamsmbd
-
- dodoc BUGS CHANGES README TODO faq/{pam_smb_faq.sgml,additions.txt}
- docinto pam.d
- dodoc pam_smb.conf*
-
- newinitd "${FILESDIR}/pamsmbd-init" pamsmbd
-}
-
-pkg_postinst() {
- elog "You must create ${EROOT}/etc/pam_smb.conf yourself, containing"
- elog "your domain name, PDC and BDC. See example files in docdir."
-}
diff --git a/sys-auth/pam_ssh_agent_auth/Manifest b/sys-auth/pam_ssh_agent_auth/Manifest
deleted file mode 100644
index 59cc0033c918..000000000000
--- a/sys-auth/pam_ssh_agent_auth/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pam_ssh_agent_auth-0.10.4.tar.gz 307110 BLAKE2B dad39724db4c35ff42e28492c23ab1073baf859ecf797003509b8aa3d29c71e7fae9601d193af1def58c64f149ced07e4e050fac89ae7f42fcbce5241b99df7b SHA512 caccf72174d15e43f4c86a459ac6448682e62116557cf1e1e828955f3d1731595b238df42adec57860e7f341e92daf5d8285020bcb5018f3b8a5145aa32ee1c2
-DIST pam_ssh_agent_auth-ed25519-donna.tar.gz 1169972 BLAKE2B f44fa6c00dbb5cdfe51661cb559428bf24c9886e166366d1700d479f033b8b61621d7821d39a9949a7ef7cd6f5be16be575790a8f6fee03276c2c142f65a792a SHA512 5e8b838bc66bdb1983e62b0ae969449741a3fb223198bce26fe3a8996e324728e8ba0e5259f9ef3db613fd484db21459e98c39367f7240940bc537210c6d7f63
diff --git a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0001-Fix-function-prototypes-in-configure.patch b/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0001-Fix-function-prototypes-in-configure.patch
deleted file mode 100644
index 32b7688fd7bd..000000000000
--- a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0001-Fix-function-prototypes-in-configure.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-https://github.com/jbeverly/pam_ssh_agent_auth/pull/41
-
-From 023579b11aa2eecfaa203dca40b2a38d69fea0f2 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 30 Sep 2022 20:51:17 +0100
-Subject: [PATCH 1/2] Fix function prototypes in configure
-
-This fixes building with Clang 16.
-
-Bug: https://bugs.gentoo.org/870721
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/configure.ac
-+++ b/configure.ac
-@@ -500,7 +500,7 @@ int main(void) { exit(0); }
- AC_DEFINE(HAVE_BUNDLE, 1, [Define if your system uses bundles instead of ELF shared objects])
- AC_MSG_CHECKING(if we have working getaddrinfo)
- AC_TRY_RUN([#include <mach-o/dyld.h>
--main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
-+int main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
- exit(0);
- else
- exit(1);
-@@ -1467,7 +1467,7 @@ AC_MSG_CHECKING([for (overly) strict mkstemp])
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdlib.h>
--main() { char template[]="conftest.mkstemp-test";
-+int main() { char template[]="conftest.mkstemp-test";
- if (mkstemp(template) == -1)
- exit(1);
- unlink(template); exit(0);
-@@ -2598,7 +2598,7 @@ dnl test snprintf (broken on SCO w/gcc)
- #include <stdio.h>
- #include <string.h>
- #ifdef HAVE_SNPRINTF
--main()
-+int main(void)
- {
- char buf[50];
- char expected_out[50];
-@@ -2615,7 +2615,7 @@ main()
- exit(0);
- }
- #else
--main() { exit(0); }
-+int main(void) { exit(0); }
- #endif
- ]])], [ true ], [ AC_DEFINE(BROKEN_SNPRINTF) ],
- AC_MSG_WARN([cross compiling: Assuming working snprintf()])
diff --git a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch b/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch
deleted file mode 100644
index e5b255f5cb37..000000000000
--- a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch
+++ /dev/null
@@ -1,222 +0,0 @@
-https://github.com/jbeverly/pam_ssh_agent_auth/pull/41
-
-From 634711a191c1b8be6ea6eb9251ab60a8cb73c6ad Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 30 Sep 2022 20:54:45 +0100
-Subject: [PATCH 2/2] Add missing includes (implicit function declarations)
-
-This fixes building with Clang 16.
-
-Bug: https://bugs.gentoo.org/870721
-Closes: https://github.com/jbeverly/pam_ssh_agent_auth/pull/36
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/configure.ac
-+++ b/configure.ac
-@@ -388,6 +388,7 @@ case "$host" in
- [AC_LANG_SOURCE([[
- #define testmacro foo
- #define testmacro bar
-+#include <stdlib.h>
- int main(void) { exit(0); }
- ]])],
- [ AC_MSG_RESULT(yes) ],
-@@ -500,6 +501,7 @@ int main(void) { exit(0); }
- AC_DEFINE(HAVE_BUNDLE, 1, [Define if your system uses bundles instead of ELF shared objects])
- AC_MSG_CHECKING(if we have working getaddrinfo)
- AC_TRY_RUN([#include <mach-o/dyld.h>
-+#include <stdlib.h>
- int main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
- exit(0);
- else
-@@ -918,6 +920,7 @@ AC_MSG_CHECKING(compiler and flags for sanity)
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([
- #include <stdio.h>
-+#include <stdlib.h>
- int main(){exit(0);}
- ])],
- [ AC_MSG_RESULT(yes) ],
-@@ -944,6 +947,7 @@ AC_CHECK_FUNCS(dirname, [AC_CHECK_HEADERS(libgen.h)] ,[
- [AC_LANG_SOURCE([[
- #include <libgen.h>
- #include <string.h>
-+#include <stdlib.h>
-
- int main(int argc, char **argv) {
- char *s, buf[32];
-@@ -1102,6 +1106,7 @@ AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <sys/types.h>
- #include <dirent.h>
-+#include <stdlib.h>
- int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
- ]])],
- [AC_MSG_RESULT(yes)],
-@@ -1384,6 +1389,7 @@ if test "x$ac_cv_func_snprintf" = "xyes" ; then
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
-+#include <stdlib.h>
- int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
- ]])],
- [AC_MSG_RESULT(yes)],
-@@ -1406,8 +1412,10 @@ if test "x$ac_cv_func_asprintf" != "xyes" && \
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <sys/types.h>
-+#include <stddef.h>
- #include <stdio.h>
- #include <stdarg.h>
-+#include <stdlib.h>
-
- int x_snprintf(char *str,size_t count,const char *fmt,...)
- {
-@@ -1435,7 +1443,8 @@ fi
- # check that the fmt argument is const char * or just char *.
- # This is only useful for when BROKEN_SNPRINTF
- AC_MSG_CHECKING([whether snprintf can declare const char *fmt])
--AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
-+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <stddef.h>
-+ #include <stdio.h>
- int snprintf(char *a, size_t b, const char *c, ...) { return 0; }
- int main(void) { snprintf(0, 0, 0); }
- ]])],
-@@ -1496,6 +1505,7 @@ if test ! -z "$check_for_openpty_ctty_bug"; then
- #include <sys/fcntl.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+#include <stdlib.h>
-
- int
- main()
-@@ -1543,6 +1553,7 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/socket.h>
- #include <netdb.h>
- #include <errno.h>
-@@ -1615,6 +1626,7 @@ if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/socket.h>
- #include <netdb.h>
- #include <errno.h>
-@@ -1677,6 +1689,7 @@ if test "x$check_for_conflicting_getspnam" = "x1"; then
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [
- #include <shadow.h>
-+#include <stdlib.h>
- int main(void) {exit(0);}
- ])],
- [
-@@ -1750,6 +1763,7 @@ AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
- #include <string.h>
-+#include <stdlib.h>
- #include <openssl/opensslv.h>
- #define DATA "conftest.sslincver"
- int main(void) {
-@@ -1785,6 +1799,7 @@ AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
- #include <string.h>
-+#include <stdlib.h>
- #include <openssl/opensslv.h>
- #include <openssl/crypto.h>
- #define DATA "conftest.ssllibver"
-@@ -1828,7 +1843,9 @@ AC_MSG_CHECKING([whether OpenSSL's headers match the library])
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <string.h>
-+#include <openssl/crypto.h>
- #include <openssl/opensslv.h>
-+#include <stdlib.h>
- int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
- ]])],
- [
-@@ -1907,6 +1924,7 @@ AC_MSG_CHECKING([whether OpenSSL has crippled AES support])
- AC_LINK_IFELSE(
- [AC_LANG_SOURCE([[
- #include <string.h>
-+#include <stdlib.h>
- #include <openssl/evp.h>
- int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
- ]])],
-@@ -1952,6 +1970,7 @@ AC_MSG_CHECKING([whether OpenSSL's PRNG is internally seeded])
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <string.h>
-+#include <stdlib.h>
- #include <openssl/rand.h>
- int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
- ]])],
-@@ -2123,6 +2142,7 @@ if test -z "$have_llong_max"; then
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([[
- #include <stdio.h>
-+#include <stdlib.h>
- /* Why is this so damn hard? */
- #ifdef __GNUC__
- # undef __GNUC__
-@@ -2597,6 +2617,7 @@ dnl test snprintf (broken on SCO w/gcc)
- [AC_LANG_SOURCE([[
- #include <stdio.h>
- #include <string.h>
-+#include <stdlib.h>
- #ifdef HAVE_SNPRINTF
- int main(void)
- {
-@@ -2740,6 +2761,7 @@ AC_CACHE_CHECK([for msg_accrights field in struct msghdr],
- ac_cv_have_accrights_in_msghdr, [
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/uio.h>
-@@ -2767,6 +2789,7 @@ AC_CACHE_CHECK([for msg_control field in struct msghdr],
- ac_cv_have_control_in_msghdr, [
- AC_COMPILE_IFELSE([AC_LANG_SOURCE(
- [
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/uio.h>
-@@ -2791,7 +2814,9 @@ if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
- fi
-
- AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
-- AC_TRY_LINK([],
-+ AC_TRY_LINK([
-+#include <stdio.h>
-+],
- [ extern char *__progname; printf("%s", __progname); ],
- [ ac_cv_libc_defines___progname="yes" ],
- [ ac_cv_libc_defines___progname="no" ]
-@@ -2871,7 +2896,9 @@ if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
- fi
-
- AC_CACHE_CHECK([if libc defines sys_errlist], ac_cv_libc_defines_sys_errlist, [
-- AC_TRY_LINK([],
-+ AC_TRY_LINK([
-+#include <stdio.h>
-+],
- [ extern const char *const sys_errlist[]; printf("%s", sys_errlist[0]);],
- [ ac_cv_libc_defines_sys_errlist="yes" ],
- [ ac_cv_libc_defines_sys_errlist="no" ]
-@@ -2884,7 +2911,9 @@ fi
-
-
- AC_CACHE_CHECK([if libc defines sys_nerr], ac_cv_libc_defines_sys_nerr, [
-- AC_TRY_LINK([],
-+ AC_TRY_LINK([
-+#include <stdio.h>
-+],
- [ extern int sys_nerr; printf("%i", sys_nerr);],
- [ ac_cv_libc_defines_sys_nerr="yes" ],
- [ ac_cv_libc_defines_sys_nerr="no" ]
diff --git a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0003-Fix-incompatible-pointer.patch b/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0003-Fix-incompatible-pointer.patch
deleted file mode 100644
index 580e903c0c18..000000000000
--- a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0003-Fix-incompatible-pointer.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-Description: Avoided incompatible pointer passing to fix GCC 14 build errors.
- Add missing 'const', cast to expected pointer type (DSA_SIG) and avoid
- pointer to pointer when pointer is required.
- Updated for Gentoo.
-Author: Petter Reinholdtsen <pere@debian.org>
-Bug-Debian: https://bugs.debian.org/1075358
-Forwarded: no
-Last-Update: 2024-11-05
----
---- a/ssh-ecdsa.c
-+++ b/ssh-ecdsa.c
-@@ -73,7 +73,7 @@ ssh_ecdsa_sign(const Key *key, u_char **
- if (pamsshagentauth_buffer_get_bignum2_ret(&bb, sig->r) == -1 ||
- pamsshagentauth_buffer_get_bignum2_ret(&bb, sig->s) == -1) {
- #else
-- DSA_SIG_get0(sig, &r, &s);
-+ DSA_SIG_get0((const DSA_SIG*)sig, (const BIGNUM **)&r, (const BIGNUM **)&s);
- if (pamsshagentauth_buffer_get_bignum2_ret(&bb, r) == -1 ||
- pamsshagentauth_buffer_get_bignum2_ret(&bb, s) == -1) {
- #endif
---- a/ssh-rsa.c
-+++ b/ssh-rsa.c
-@@ -56,9 +56,9 @@ ssh_rsa_sign(const Key *key, u_char **si
- return -1;
- }
- md = EVP_MD_CTX_create();
-- EVP_DigestInit(&md, evp_md);
-- EVP_DigestUpdate(&md, data, datalen);
-- EVP_DigestFinal(&md, digest, &dlen);
-+ EVP_DigestInit(md, evp_md);
-+ EVP_DigestUpdate(md, data, datalen);
-+ EVP_DigestFinal(md, digest, &dlen);
-
- slen = RSA_size(key->rsa);
- sig = pamsshagentauth_xmalloc(slen);
---- a/ssh-ecdsa.c
-+++ b/ssh-ecdsa.c
-@@ -145,7 +145,7 @@
- if ((pamsshagentauth_buffer_get_bignum2_ret(&b, sig->r) == -1) ||
- (pamsshagentauth_buffer_get_bignum2_ret(&b, sig->s) == -1))
- #else
-- DSA_SIG_get0(sig, &r, &s);
-+ DSA_SIG_get0((const DSA_SIG*)sig, (const BIGNUM **)&r, (const BIGNUM **)&s);
- if ((pamsshagentauth_buffer_get_bignum2_ret(&b, r) == -1) ||
- (pamsshagentauth_buffer_get_bignum2_ret(&b, s) == -1))
- #endif
diff --git a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0004-Always-call-linker.patch b/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0004-Always-call-linker.patch
deleted file mode 100644
index 81d857f4182d..000000000000
--- a/sys-auth/pam_ssh_agent_auth/files/pam_ssh_agent_auth-0.10.4-0004-Always-call-linker.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 465a30ec74c5053ac93ecd58d71427a3e2b4f393 Mon Sep 17 00:00:00 2001
-From: Peter Levine <plevine457@gmail.com>
-Date: Sun, 18 Dec 2022 21:19:39 -0500
-Subject: [PATCH] Always use the compiler to call the linker
-
-Let the compiler call the linker to handle LDFLAGS correctly.
----
- configure | 5 +----
- configure.ac | 6 +-----
- 2 files changed, 2 insertions(+), 9 deletions(-)
-
-diff --git a/configure b/configure
-index 0090b34..ca8cd7f 100755
---- a/configure
-+++ b/configure
-@@ -7577,10 +7577,7 @@ _ACEOF
-
- fi
-
--if test -z "$LD" ; then
-- LD=$CC
--fi
--
-+LD=$CC
-
-
- ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include <limits.h>
-diff --git a/configure.ac b/configure.ac
-index 6496679..7cfd8fc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -116,11 +116,7 @@ if test ! -z "$PATH_PASSWD_PROG" ; then
- [Full path of your "passwd" program])
- fi
-
--if test -z "$LD" ; then
-- LD=$CC
--fi
--AC_SUBST(LD)
--
-+AC_SUBST(LD, $CC)
-
- AC_CHECK_DECL(LLONG_MAX, have_llong_max=1, , [#include <limits.h>])
-
diff --git a/sys-auth/pam_ssh_agent_auth/metadata.xml b/sys-auth/pam_ssh_agent_auth/metadata.xml
deleted file mode 100644
index cffa2f62125b..000000000000
--- a/sys-auth/pam_ssh_agent_auth/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="sourceforge">pamsshagentauth</remote-id>
- <remote-id type="github">jbeverly/pam_ssh_agent_auth</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-0.10.4-r1.ebuild b/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-0.10.4-r1.ebuild
deleted file mode 100644
index 26fbff696e07..000000000000
--- a/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-0.10.4-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs pam flag-o-matic
-
-DESCRIPTION="Simple module to authenticate users against their ssh-agent keys"
-HOMEPAGE="http://pamsshagentauth.sourceforge.net"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/jbeverly/${PN}.git"
- inherit git-r3
-else
- ED25519_DONNA_COMMIT="8757bd4cd209cb032853ece0ce413f122eef212c"
- SRC_URI="https://github.com/jbeverly/pam_ssh_agent_auth/archive/refs/tags/${P}.tar.gz"
- SRC_URI+=" https://github.com/floodyberry/ed25519-donna/archive/${ED25519_DONNA_COMMIT}.tar.gz -> ${PN}-ed25519-donna.tar.gz"
- S="${WORKDIR}"/${PN}-${P}
- KEYWORDS="~amd64 ~arm ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="
- dev-libs/openssl:=
- sys-libs/pam
-"
-RDEPEND="
- ${DEPEND}
- virtual/ssh
-"
-# Needed for pod2man
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.10.4-0001-Fix-function-prototypes-in-configure.patch
- "${FILESDIR}"/${PN}-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch
- "${FILESDIR}"/${PN}-0.10.4-0003-Fix-incompatible-pointer.patch
- "${FILESDIR}"/${PN}-0.10.4-0004-Always-call-linker.patch
-)
-
-src_prepare() {
- default
-
- # Missing from tag
- rm -r ed25519-donna || die
- ln -s "${WORKDIR}"/ed25519-donna-${ED25519_DONNA_COMMIT} "${S}"/ed25519-donna || die
-
- # For configure patches
- eautoreconf
-}
-
-src_configure() {
- pammod_hide_symbols
-
- # bug #874843, use POSIX type names
- use elibc_musl && append-cppflags -Du_char=uint8_t -Du_int=uint32_t
-
- # bug #725720
- export AR="$(type -P $(tc-getAR))"
-
- local myeconfargs=(
- --disable-strip
- --without-openssl-header-check
- --libexecdir="$(getpam_mod_dir)"
- # Needs obsolete <selinux/flask.h>
- --without-selinux
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- # Don't use emake install as it makes it harder to have proper
- # install paths.
- dopammod pam_ssh_agent_auth.so
- doman pam_ssh_agent_auth.8
-
- dodoc CONTRIBUTORS
-}
diff --git a/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-9999.ebuild b/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-9999.ebuild
deleted file mode 100644
index 26fbff696e07..000000000000
--- a/sys-auth/pam_ssh_agent_auth/pam_ssh_agent_auth-9999.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs pam flag-o-matic
-
-DESCRIPTION="Simple module to authenticate users against their ssh-agent keys"
-HOMEPAGE="http://pamsshagentauth.sourceforge.net"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/jbeverly/${PN}.git"
- inherit git-r3
-else
- ED25519_DONNA_COMMIT="8757bd4cd209cb032853ece0ce413f122eef212c"
- SRC_URI="https://github.com/jbeverly/pam_ssh_agent_auth/archive/refs/tags/${P}.tar.gz"
- SRC_URI+=" https://github.com/floodyberry/ed25519-donna/archive/${ED25519_DONNA_COMMIT}.tar.gz -> ${PN}-ed25519-donna.tar.gz"
- S="${WORKDIR}"/${PN}-${P}
- KEYWORDS="~amd64 ~arm ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-
-DEPEND="
- dev-libs/openssl:=
- sys-libs/pam
-"
-RDEPEND="
- ${DEPEND}
- virtual/ssh
-"
-# Needed for pod2man
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.10.4-0001-Fix-function-prototypes-in-configure.patch
- "${FILESDIR}"/${PN}-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch
- "${FILESDIR}"/${PN}-0.10.4-0003-Fix-incompatible-pointer.patch
- "${FILESDIR}"/${PN}-0.10.4-0004-Always-call-linker.patch
-)
-
-src_prepare() {
- default
-
- # Missing from tag
- rm -r ed25519-donna || die
- ln -s "${WORKDIR}"/ed25519-donna-${ED25519_DONNA_COMMIT} "${S}"/ed25519-donna || die
-
- # For configure patches
- eautoreconf
-}
-
-src_configure() {
- pammod_hide_symbols
-
- # bug #874843, use POSIX type names
- use elibc_musl && append-cppflags -Du_char=uint8_t -Du_int=uint32_t
-
- # bug #725720
- export AR="$(type -P $(tc-getAR))"
-
- local myeconfargs=(
- --disable-strip
- --without-openssl-header-check
- --libexecdir="$(getpam_mod_dir)"
- # Needs obsolete <selinux/flask.h>
- --without-selinux
- )
-
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- # Don't use emake install as it makes it harder to have proper
- # install paths.
- dopammod pam_ssh_agent_auth.so
- doman pam_ssh_agent_auth.8
-
- dodoc CONTRIBUTORS
-}
diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest
deleted file mode 100644
index fede49a9e720..000000000000
--- a/sys-auth/pam_u2f/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pam_u2f-1.3.2.tar.gz 475593 BLAKE2B 5cc812c7471d2b7b70af85219a50b8fd146a0590cc2fb7ac5ab35b817bc93e0f173cda19658938615d4982bf39ca8a57817766b9bd8b30b507e047d579f9c7f3 SHA512 0233740c4712006d24e65a45c0eca59fc642c5c6b65fdaec66a8d898f926dbd1f770792e447da12b91d098bda4114957f7e10dd8cfbdfaf9e4c5524fadceb0e2
-DIST pam_u2f-1.4.0.tar.gz 486434 BLAKE2B 8814ffc1f56f1d280ce50f1ff13612c083133a43443b0bfdc18eb7351aeab3c3607d70bb39a5bfe4cd8d8961e9e0576a014627e7a33adb7ea07d0ddde71eb08c SHA512 6ee4c5538a3b290748fae3b8c285b20a784fe2c0fdeff3a0bf250ec9b03659c6ddda4ea2d668c93d606f810e4f68cf3fc4130584a8532db9c9833a684d78f51f
diff --git a/sys-auth/pam_u2f/metadata.xml b/sys-auth/pam_u2f/metadata.xml
deleted file mode 100644
index 099b9b65f050..000000000000
--- a/sys-auth/pam_u2f/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>gokturk@gentoo.org</email>
- <name>Göktürk Yüksek</name>
- </maintainer>
- <upstream>
- <remote-id type="cpe">cpe:/a:yubico:pam-u2f</remote-id>
- <bugs-to>https://github.com/Yubico/pam-u2f/issues</bugs-to>
- </upstream>
- <use>
- <flag name="debug">Enable debug messages using the pam logging macros. (Note: these will be visible on stdout for terminal logins).</flag>
- <flag name="debug">Enable debug messages using the pam logging macros.</flag>
- </use>
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild b/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild
deleted file mode 100644
index 396e6655dccd..000000000000
--- a/sys-auth/pam_u2f/pam_u2f-1.3.2.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools flag-o-matic pam
-
-DESCRIPTION="PAM module for FIDO2 and U2F keys"
-HOMEPAGE="https://github.com/Yubico/pam-u2f"
-SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
-
-LICENSE="BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug "
-
-DEPEND="
- dev-libs/libfido2:0=
- dev-libs/openssl:0=
-
- sys-libs/pam"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
- eautoreconf
-}
-
-src_configure() {
- econf --with-pam-dir=$(getpam_mod_dir)
-}
diff --git a/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild b/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
deleted file mode 100644
index 396e6655dccd..000000000000
--- a/sys-auth/pam_u2f/pam_u2f-1.4.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit autotools flag-o-matic pam
-
-DESCRIPTION="PAM module for FIDO2 and U2F keys"
-HOMEPAGE="https://github.com/Yubico/pam-u2f"
-SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz"
-
-LICENSE="BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug "
-
-DEPEND="
- dev-libs/libfido2:0=
- dev-libs/openssl:0=
-
- sys-libs/pam"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- default
- use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG
- eautoreconf
-}
-
-src_configure() {
- econf --with-pam-dir=$(getpam_mod_dir)
-}
diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest
deleted file mode 100644
index 421d268b53fc..000000000000
--- a/sys-auth/pam_yubico/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_yubico-2.27.tar.gz 81374 BLAKE2B 132dc43ee25deb0a4bdac3dd3aa98952f102a8e437d126894e626da2dd6966271350dd460e901527ffd91d051102e11f68e0ad354ec8f59902eb78314cf60992 SHA512 7d341e18f884216fc3372bdb837491c637235737dc04029fea30d7451718ab917ea99dd4a1249cbb4d10fb64b6bb6753b84a02e9bffbce2223d224d7420aeced
diff --git a/sys-auth/pam_yubico/metadata.xml b/sys-auth/pam_yubico/metadata.xml
deleted file mode 100644
index 40d6a48a4794..000000000000
--- a/sys-auth/pam_yubico/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>zerochaos@gentoo.org</email>
- <name>Rick Farina</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Yubico/yubico-pam</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pam_yubico/pam_yubico-2.27.ebuild b/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
deleted file mode 100644
index 06d9db589c2b..000000000000
--- a/sys-auth/pam_yubico/pam_yubico-2.27.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools pam
-
-DESCRIPTION="Library for authenticating against PAM with a Yubikey"
-HOMEPAGE="https://github.com/Yubico/yubico-pam"
-SRC_URI="https://github.com/Yubico/yubico-pam/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap test"
-RESTRICT="!test? ( test )"
-S="${WORKDIR}/yubico-pam-${PV}"
-
-RDEPEND="
- sys-libs/pam
- sys-auth/libyubikey
- >=sys-auth/ykclient-2.15
- >=sys-auth/ykpers-1.6
- ldap? ( net-nds/openldap:= )"
-DEPEND="${RDEPEND}
- app-text/asciidoc
- test? ( dev-perl/Net-LDAP-Server )"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- #challenge response could be optional but that seems horribly dangerous to me
- local myeconfargs=(
- --with-cr
- --with-pam-dir="$(getpam_mod_dir)"
- $(use_with ldap)
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- dodoc doc/*
- find "${D}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
deleted file mode 100644
index 4f8c8c5eded7..000000000000
--- a/sys-auth/pambase/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pambase-20251104.tar.bz2 4986 BLAKE2B fe5deb57d1b346071d67ac6720e3a8930c23a5aee6b64beeea2238e60b7a8a3070603bf4665936d082a8469f72058787a11243722b3fbd9edb888dab59c3dedc SHA512 037e3fbf4b63a1944220e73b2c8f15b3aea1f7f7691cdcf50c38c7a5702b6620fdaa4464c5183d26058f1a2d081cd1557690028fefbd649d0083cf22fbf9e1ae
diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml
deleted file mode 100644
index 86b87e20052b..000000000000
--- a/sys-auth/pambase/metadata.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- </maintainer>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <use>
- <flag name="elogind">
- Use pam_elogind module to register user sessions with elogind.
- </flag>
- <flag name="systemd">
- Use pam_systemd module to register user sessions in the systemd
- control group hierarchy.
- </flag>
- <flag name="homed">
- Use pam_systemd_home module to manage home directories with
- the systemd-homed service
- </flag>
- <flag name="debug">
- Enable debug information logging on syslog(3) for all the
- modules supporting this in the system authentication and system
- login stacks.
- </flag>
- <flag name="passwdqc">
- Enable pam_passwdqc module on system auth stack for password
- quality validation. This module produces warnings, rejecting
- or providing example passwords when changing your system password.
- It is used by default by OpenWall GNU/*/Linux and by FreeBSD.
- </flag>
- <flag name="pwhistory">
- Enable pam_pwhistory module on system auth stack to save
- the last passwords for each user in order to force password
- change history and keep the user from alternating between
- the same password too frequently.
- </flag>
- <flag name="pwquality">
- Enable pam_pwquality module on system auth stack for passwd
- quality validation. It is used by default by Fedora GNU/*/Linux.
- </flag>
- <flag name="mktemp">
- Enable pam_mktemp module on system auth stack for session
- handling. This module creates a private temporary directory for
- the user, and sets TMP and TMPDIR accordingly.
- </flag>
- <flag name="pam_ssh">
- Enable pam_ssh module on system auth stack for authentication
- and session handling. This module will accept as password the
- passphrase of a private SSH key (one of ~/.ssh/id_rsa,
- ~/.ssh/id_dsa or ~/.ssh/identity), and will spawn an ssh-agent
- instance to cache the open key.
- </flag>
- <flag name="sha512">
- Switch Linux-PAM's pam_unix module to use sha512 for passwords
- hashes rather than MD5. This option requires
- <pkg>sys-libs/pam</pkg> version 1.0.1 built against
- <pkg>sys-libs/glibc</pkg> version 2.7, if it's built against an
- earlier version, it will silently be ignored, and MD5 hashes
- will be used. All the passwords changed after this USE flag is
- enabled will be saved to the shadow file hashed using SHA512
- function. The password previously saved will be left
- untouched. Please note that while SHA512-hashed passwords will
- still be recognised if the USE flag is removed, the shadow file
- will not be compatible with systems using an earlier glibc
- version.
- </flag>
- <flag name="sssd">
- Add System Security Services Daemon (<pkg>sys-auth/sssd</pkg>) support
- via pam_sss.
- </flag>
- <flag name="yescrypt">
- Switch Linux-PAM's pam_unix module to use yescrypt for passwords hashes
- rather than MD5. Like with USE=sha512 (see that description), this
- only changes the default, and hashes with other types are still
- supported.
- </flag>
- <flag name="pam_krb5">
- Enable pam_krb5 module on system auth stack, as an alternative
- to pam_unix. If Kerberos authentication succeeds, only pam_unix
- will be ignorde, and all the other modules will proceed as usual,
- including Gnome Keyring and other session modules. It requires
- <pkg>sys-libs/pam</pkg> as PAM implementation.
- </flag>
- <flag name="minimal">
- Disables the standard PAM modules that provide extra information
- to users on login; this includes pam_lastlog, pam_motd, pam_mail
- and other similar modules. This might not be a good idea on
- a multi-user system but could reduce slightly the overhead on
- single-user non-networked systems.
- </flag>
- <flag name="nullok">
- Enable the nullok option with the pam_unix module. This allows
- people to login with blank passwords.
- </flag>
- <flag name="securetty">
- Enable pam_securetty module in the login stack. Not generally
- relevant anymore as the login stack only refers to local logins
- and local terminals imply secure access in the first place.
- </flag>
- </use>
- <upstream>
- <remote-id type="gentoo">proj/pambase</remote-id>
- <remote-id type="github">gentoo/pambase</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/pambase/pambase-20251104-r1.ebuild b/sys-auth/pambase/pambase-20251104-r1.ebuild
deleted file mode 100644
index f03c2402298a..000000000000
--- a/sys-auth/pambase/pambase-20251104-r1.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit edo pam python-any-r1 readme.gentoo-r1
-
-DESCRIPTION="PAM base configuration files"
-HOMEPAGE="https://github.com/gentoo/pambase"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="
- https://anongit.gentoo.org/git/proj/pambase.git
- https://github.com/gentoo/pambase.git
- "
-else
- SRC_URI="https://gitweb.gentoo.org/proj/pambase.git/snapshot/${P}.tar.bz2"
-
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux sha512 sssd systemd +yescrypt"
-
-RESTRICT="binchecks"
-
-REQUIRED_USE="
- ?? ( elogind systemd )
- ?? ( passwdqc pwquality )
- ?? ( sha512 yescrypt )
- pwhistory? ( || ( passwdqc pwquality ) )
- homed? ( !pam_krb5 )
- pam_krb5? ( !homed )
-"
-
-MIN_PAM_REQ=1.4.0
-
-RDEPEND="
- >=sys-libs/pam-${MIN_PAM_REQ}
- elogind? ( sys-auth/elogind[pam] )
- gnome-keyring? ( gnome-base/gnome-keyring[pam] )
- mktemp? ( sys-auth/pam_mktemp )
- pam_krb5? (
- >=sys-libs/pam-${MIN_PAM_REQ}
- sys-auth/pam_krb5
- )
- caps? ( sys-libs/libcap[pam] )
- pam_ssh? ( sys-auth/pam_ssh )
- passwdqc? ( >=sys-auth/passwdqc-1.4.0-r1 )
- pwquality? ( dev-libs/libpwquality[pam] )
- selinux? ( sys-libs/pam[selinux] )
- sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
- homed? ( sys-apps/systemd[homed] )
- systemd? ( sys-apps/systemd[pam] )
- yescrypt? ( sys-libs/libxcrypt[system] )
- sssd? ( sys-auth/sssd )
-"
-BDEPEND="
- $(python_gen_any_dep '
- dev-python/jinja2[${PYTHON_USEDEP}]
- ')
-"
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
- local crypt=md5
- # TODO: sha256, blowfish, gost_yescrypt
- use sha512 && crypt=sha512
- use yescrypt && crypt=yescrypt
-
- local pamargs=(
- # Not all 'upstream' options are (currently) wired up
- # in the ebuild.
- #
- # TODO: pam_shells
- $(usev caps '--caps')
- $(usev debug '--debug')
- $(usev elogind '--elogind')
- $(usev gnome-keyring '--gnome-keyring')
- $(usev homed '--homed')
- $(usev minimal '--minimal')
- $(usev mktemp '--mktemp')
- $(usev nullok '--nullok')
- $(usev pam_krb5 '--krb5')
- $(usev pam_ssh '--pam-ssh')
- $(usev passwdqc '--passwdqc')
- $(usev pwhistory '--pwhistory')
- $(usev pwquality '--pwquality')
- $(usev securetty '--securetty')
- $(usev selinux '--selinux')
- $(usex systemd '--systemd' '--openrc')
- $(usev sssd '--sssd')
-
- --encrypt=${crypt}
- )
-
- edo ${EPYTHON} ./${PN}.py "${pamargs[@]}"
-}
-
-src_test() { :; }
-
-src_install() {
- local DOC_CONTENTS
-
- if use passwdqc; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
- page and then edit the /etc/security/passwdqc.conf file"
- fi
-
- if use pwquality; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 pwquality.conf
- page and then edit the /etc/security/pwquality.conf file"
- fi
-
- { use passwdqc || use pwquality; } && readme.gentoo_create_doc
-
- dopamd -r stack/.
-}
-
-pkg_postinst() {
- { use passwdqc || use pwquality; } && readme.gentoo_print_elog
-}
diff --git a/sys-auth/pambase/pambase-20251104.ebuild b/sys-auth/pambase/pambase-20251104.ebuild
deleted file mode 100644
index 43556a2e85e4..000000000000
--- a/sys-auth/pambase/pambase-20251104.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit edo pam python-any-r1 readme.gentoo-r1
-
-DESCRIPTION="PAM base configuration files"
-HOMEPAGE="https://github.com/gentoo/pambase"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="
- https://anongit.gentoo.org/git/proj/pambase.git
- https://github.com/gentoo/pambase.git
- "
-else
- SRC_URI="https://gitweb.gentoo.org/proj/pambase.git/snapshot/${P}.tar.bz2"
-
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 sssd systemd yescrypt"
-
-RESTRICT="binchecks"
-
-REQUIRED_USE="
- ?? ( elogind systemd )
- ?? ( passwdqc pwquality )
- ?? ( sha512 yescrypt )
- pwhistory? ( || ( passwdqc pwquality ) )
- homed? ( !pam_krb5 )
- pam_krb5? ( !homed )
-"
-
-MIN_PAM_REQ=1.4.0
-
-RDEPEND="
- >=sys-libs/pam-${MIN_PAM_REQ}
- elogind? ( sys-auth/elogind[pam] )
- gnome-keyring? ( gnome-base/gnome-keyring[pam] )
- mktemp? ( sys-auth/pam_mktemp )
- pam_krb5? (
- >=sys-libs/pam-${MIN_PAM_REQ}
- sys-auth/pam_krb5
- )
- caps? ( sys-libs/libcap[pam] )
- pam_ssh? ( sys-auth/pam_ssh )
- passwdqc? ( >=sys-auth/passwdqc-1.4.0-r1 )
- pwquality? ( dev-libs/libpwquality[pam] )
- selinux? ( sys-libs/pam[selinux] )
- sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
- homed? ( sys-apps/systemd[homed] )
- systemd? ( sys-apps/systemd[pam] )
- yescrypt? ( sys-libs/libxcrypt[system] )
- sssd? ( sys-auth/sssd )
-"
-BDEPEND="
- $(python_gen_any_dep '
- dev-python/jinja2[${PYTHON_USEDEP}]
- ')
-"
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
- local crypt=md5
- # TODO: sha256, blowfish, gost_yescrypt
- use sha512 && crypt=sha512
- use yescrypt && crypt=yescrypt
-
- local pamargs=(
- # Not all 'upstream' options are (currently) wired up
- # in the ebuild.
- #
- # TODO: pam_shells
- $(usev caps '--caps')
- $(usev debug '--debug')
- $(usev elogind '--elogind')
- $(usev gnome-keyring '--gnome-keyring')
- $(usev homed '--homed')
- $(usev minimal '--minimal')
- $(usev mktemp '--mktemp')
- $(usev nullok '--nullok')
- $(usev pam_krb5 '--krb5')
- $(usev pam_ssh '--pam-ssh')
- $(usev passwdqc '--passwdqc')
- $(usev pwhistory '--pwhistory')
- $(usev pwquality '--pwquality')
- $(usev securetty '--securetty')
- $(usev selinux '--selinux')
- $(usex systemd '--systemd' '--openrc')
- $(usev sssd '--sssd')
-
- --encrypt=${crypt}
- )
-
- edo ${EPYTHON} ./${PN}.py "${pamargs[@]}"
-}
-
-src_test() { :; }
-
-src_install() {
- local DOC_CONTENTS
-
- if use passwdqc; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
- page and then edit the /etc/security/passwdqc.conf file"
- fi
-
- if use pwquality; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 pwquality.conf
- page and then edit the /etc/security/pwquality.conf file"
- fi
-
- { use passwdqc || use pwquality; } && readme.gentoo_create_doc
-
- dopamd -r stack/.
-}
-
-pkg_postinst() {
- { use passwdqc || use pwquality; } && readme.gentoo_print_elog
-}
diff --git a/sys-auth/pambase/pambase-999999999.ebuild b/sys-auth/pambase/pambase-999999999.ebuild
deleted file mode 100644
index ed601ecffe55..000000000000
--- a/sys-auth/pambase/pambase-999999999.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit edo pam python-any-r1 readme.gentoo-r1
-
-DESCRIPTION="PAM base configuration files"
-HOMEPAGE="https://github.com/gentoo/pambase"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="
- https://anongit.gentoo.org/git/proj/pambase.git
- https://github.com/gentoo/pambase.git
- "
-else
- SRC_URI="https://gitweb.gentoo.org/proj/pambase.git/snapshot/${P}.tar.bz2"
-
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="caps debug elogind gnome-keyring homed minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux sha512 sssd systemd +yescrypt"
-
-RESTRICT="binchecks"
-
-REQUIRED_USE="
- ?? ( elogind systemd )
- ?? ( passwdqc pwquality )
- ?? ( sha512 yescrypt )
- pwhistory? ( || ( passwdqc pwquality ) )
- homed? ( !pam_krb5 )
- pam_krb5? ( !homed )
-"
-
-MIN_PAM_REQ=1.4.0
-
-RDEPEND="
- >=sys-libs/pam-${MIN_PAM_REQ}
- elogind? ( sys-auth/elogind[pam] )
- gnome-keyring? ( gnome-base/gnome-keyring[pam] )
- mktemp? ( sys-auth/pam_mktemp )
- pam_krb5? (
- >=sys-libs/pam-${MIN_PAM_REQ}
- sys-auth/pam_krb5
- )
- caps? ( sys-libs/libcap[pam] )
- pam_ssh? ( sys-auth/pam_ssh )
- passwdqc? ( >=sys-auth/passwdqc-1.4.0-r1 )
- pwquality? ( dev-libs/libpwquality[pam] )
- selinux? ( sys-libs/pam[selinux] )
- sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
- homed? ( sys-apps/systemd[homed] )
- systemd? ( sys-apps/systemd[pam] )
- yescrypt? ( sys-libs/libxcrypt[system] )
- sssd? ( sys-auth/sssd )
-"
-BDEPEND="
- $(python_gen_any_dep '
- dev-python/jinja2[${PYTHON_USEDEP}]
- ')
-"
-
-python_check_deps() {
- python_has_version "dev-python/jinja2[${PYTHON_USEDEP}]"
-}
-
-src_configure() {
- local crypt=md5
- # TODO: sha256, blowfish, gost_yescrypt
- use sha512 && crypt=sha512
- use yescrypt && crypt=yescrypt
-
- local pamargs=(
- # Not all 'upstream' options are (currently) wired up
- # in the ebuild.
- #
- # TODO: pam_shells
- $(usev caps '--caps')
- $(usev debug '--debug')
- $(usev elogind '--elogind')
- $(usev gnome-keyring '--gnome-keyring')
- $(usev homed '--homed')
- $(usev minimal '--minimal')
- $(usev mktemp '--mktemp')
- $(usev nullok '--nullok')
- $(usev pam_krb5 '--krb5')
- $(usev pam_ssh '--pam-ssh')
- $(usev passwdqc '--passwdqc')
- $(usev pwhistory '--pwhistory')
- $(usev pwquality '--pwquality')
- $(usev securetty '--securetty')
- $(usev selinux '--selinux')
- $(usex systemd '--systemd' '--openrc')
- $(usev sssd '--sssd')
-
- --encrypt=${crypt}
- )
-
- edo ${EPYTHON} ./${PN}.py "${pamargs[@]}"
-}
-
-src_test() { :; }
-
-src_install() {
- local DOC_CONTENTS
-
- if use passwdqc; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
- page and then edit the /etc/security/passwdqc.conf file"
- fi
-
- if use pwquality; then
- DOC_CONTENTS="To amend the existing password policy please see the man 5 pwquality.conf
- page and then edit the /etc/security/pwquality.conf file"
- fi
-
- { use passwdqc || use pwquality; } && readme.gentoo_create_doc
-
- dopamd -r stack/.
-}
-
-pkg_postinst() {
- { use passwdqc || use pwquality; } && readme.gentoo_print_elog
-}
diff --git a/sys-auth/passwdqc/Manifest b/sys-auth/passwdqc/Manifest
deleted file mode 100644
index dc815da996f5..000000000000
--- a/sys-auth/passwdqc/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST passwdqc-2.0.3.tar.gz 89608 BLAKE2B d4d999f1da011041e947fcf40b28977c825e7be2a9edfe641205f433862607e958d74b6e11ef5222e9791985a55dc3117c71d47b9516c521bb64ff4cddee77d5 SHA512 08a1ee0e7efe0be8af8b253147836c479247a849baf598a1ad573a050ef4b8700fdb725fd887877f82f9207f3654f489f71267cc4051ce8ebf2405125b77b6b9
-DIST passwdqc-2.0.3.tar.gz.asc 801 BLAKE2B 47c6bf9b98ed77de8299100ce503a9d82e9d3d41b15c35addea533c677b9b5e06a17bd990cf8a21793e2c5db6b298c112dab4f47f03b581c3662ed5193bd99bb SHA512 fead28ba44fa4b80399593041cd4db498d9c55bf148043535854b4dfec5e495756a2c05380b1260ebbe9a613ba1e72b9c97bed1198eb2c0b31af80541222abc2
-DIST passwdqc-2.1.0.tar.gz 210003 BLAKE2B ca77fa2d7d754f0bbf6e974322f30dd33cfa505857769ba9ad03df6135f11019e1467b66ee860023b110fb5041b1b12641757329c470641c1dfde8173a064020 SHA512 4bcc7d1db761a681fd72123984926d6f877a4338cfec0763583f08b4e2165e869fe61a54395fe3a14ba4574869d36a07ecc531eb13665a15508a9ac588458500
-DIST passwdqc-2.1.0.tar.gz.asc 801 BLAKE2B 93d800cbb2ea27c0847c3ed1fd29b7c25c8b28dcb3059bab1b1755bc0dc55852c86bc6da7c5056944ec9047dc8c636545d77e71c12de565387597398c6c44be0 SHA512 aa808eb6b59c44cfbd75d0743b6ea89b84b33dee35dc9b8b0ce43d98b30e6224374552926fe0769fe62b844f32881b4edae4a7bdb16f52691e5d8c6e8b0f085c
diff --git a/sys-auth/passwdqc/metadata.xml b/sys-auth/passwdqc/metadata.xml
deleted file mode 100644
index 922ddd09da59..000000000000
--- a/sys-auth/passwdqc/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- </maintainer>
- <maintainer type="person">
- <email>sam@gentoo.org</email>
- <name>Sam James</name>
- </maintainer>
- <upstream>
- <remote-id type="github">openwall/passwdqc</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild b/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild
deleted file mode 100644
index 2e974e428335..000000000000
--- a/sys-auth/passwdqc/passwdqc-2.0.3-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openwall.asc
-inherit pam toolchain-funcs verify-sig
-
-DESCRIPTION="Password strength checking library (and PAM module)"
-HOMEPAGE="https://www.openwall.com/passwdqc/"
-SRC_URI="
- https://www.openwall.com/${PN}/${P}.tar.gz
- verify-sig? ( https://www.openwall.com/${PN}/${P}.tar.gz.sign -> ${P}.tar.gz.asc )
-"
-
-LICENSE="Openwall BSD public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- sys-libs/pam
- virtual/libcrypt:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-openwall )"
-
-QA_FLAGS_IGNORED="
- lib*/security/pam_passwdqc.so
- usr/lib*/libpasswdqc.so.1
-"
-
-src_prepare() {
- default
-
- sed -i -e 's:`uname -s`:Linux:' Makefile || die
-
- # Ship our own default settings
- cat <<- EOF > "${S}/passwdqc.conf"
- min=disabled,24,11,8,7
- max=72
- passphrase=3
- match=4
- similar=deny
- random=47
- enforce=none
- retry=3
- EOF
-
-}
-
-_emake() {
- emake \
- SHARED_LIBDIR="/usr/$(get_libdir)" \
- DEVEL_LIBDIR="/usr/$(get_libdir)" \
- SECUREDIR="$(getpam_mod_dir)" \
- CONFDIR="/etc/security" \
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- "$@"
-}
-
-src_compile() {
- _emake all
-}
-
-src_install() {
- _emake DESTDIR="${ED}" install_lib install_pam install_utils
- dodoc README PLATFORMS INTERNALS
-}
diff --git a/sys-auth/passwdqc/passwdqc-2.1.0-r1.ebuild b/sys-auth/passwdqc/passwdqc-2.1.0-r1.ebuild
deleted file mode 100644
index 857c1f1955ac..000000000000
--- a/sys-auth/passwdqc/passwdqc-2.1.0-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openwall.asc
-inherit flag-o-matic pam toolchain-funcs verify-sig
-
-DESCRIPTION="Password strength checking library (and PAM module)"
-HOMEPAGE="https://www.openwall.com/passwdqc/"
-SRC_URI="
- https://www.openwall.com/${PN}/${P}.tar.gz
- verify-sig? ( https://www.openwall.com/${PN}/${P}.tar.gz.sign -> ${P}.tar.gz.asc )
-"
-
-LICENSE="Openwall BSD public-domain"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="audit"
-
-RDEPEND="
- sys-libs/pam[audit?]
- virtual/libcrypt:=
-"
-DEPEND="
- ${RDEPEND}
- audit? ( sys-process/audit )
-"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-openwall )"
-
-QA_FLAGS_IGNORED="
- lib*/security/pam_passwdqc.so
- usr/lib*/libpasswdqc.so.1
-"
-
-src_prepare() {
- default
-
- # Don't re-define _F_S / otherwise clash with our default toolchain
- # hardening.
- sed -i \
- -e 's:`uname -s`:Linux:' \
- -e 's:-fPIE.*::' \
- -e 's:-Wl,-z,relro.*::' \
- Makefile || die
-
- # Ship our own default settings
- cat <<- EOF > "${S}/passwdqc.conf"
- min=disabled,24,11,8,7
- max=72
- passphrase=3
- match=4
- similar=deny
- random=47
- enforce=none
- retry=3
- EOF
-}
-
-src_configure() {
- use audit && append-cppflags -DHAVE_LIBAUDIT=1
- default
-}
-
-_emake() {
- emake \
- SHARED_LIBDIR="/usr/$(get_libdir)" \
- DEVEL_LIBDIR="/usr/$(get_libdir)" \
- SECUREDIR="$(getpam_mod_dir)" \
- CONFDIR="/etc/security" \
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- "$@"
-}
-
-src_compile() {
- _emake all
-}
-
-src_install() {
- _emake DESTDIR="${ED}" install_lib install_pam install_utils
- dodoc README PLATFORMS INTERNALS
-}
diff --git a/sys-auth/passwdqc/passwdqc-2.1.0.ebuild b/sys-auth/passwdqc/passwdqc-2.1.0.ebuild
deleted file mode 100644
index f1ed6bc0a658..000000000000
--- a/sys-auth/passwdqc/passwdqc-2.1.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openwall.asc
-inherit pam toolchain-funcs verify-sig
-
-DESCRIPTION="Password strength checking library (and PAM module)"
-HOMEPAGE="https://www.openwall.com/passwdqc/"
-SRC_URI="
- https://www.openwall.com/${PN}/${P}.tar.gz
- verify-sig? ( https://www.openwall.com/${PN}/${P}.tar.gz.sign -> ${P}.tar.gz.asc )
-"
-
-LICENSE="Openwall BSD public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="
- sys-libs/pam
- virtual/libcrypt:=
-"
-DEPEND="${RDEPEND}"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-openwall )"
-
-QA_FLAGS_IGNORED="
- lib*/security/pam_passwdqc.so
- usr/lib*/libpasswdqc.so.1
-"
-
-src_prepare() {
- default
-
- # Don't re-define _F_S / otherwise clash with our default toolchain
- # hardening.
- sed -i \
- -e 's:`uname -s`:Linux:' \
- -e 's:-fPIE.*::' \
- -e 's:-Wl,-z,relro.*::' \
- Makefile || die
-
- # Ship our own default settings
- cat <<- EOF > "${S}/passwdqc.conf"
- min=disabled,24,11,8,7
- max=72
- passphrase=3
- match=4
- similar=deny
- random=47
- enforce=none
- retry=3
- EOF
-}
-
-_emake() {
- emake \
- SHARED_LIBDIR="/usr/$(get_libdir)" \
- DEVEL_LIBDIR="/usr/$(get_libdir)" \
- SECUREDIR="$(getpam_mod_dir)" \
- CONFDIR="/etc/security" \
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- "$@"
-}
-
-src_compile() {
- _emake all
-}
-
-src_install() {
- _emake DESTDIR="${ED}" install_lib install_pam install_utils
- dodoc README PLATFORMS INTERNALS
-}
diff --git a/sys-auth/polkit-pkla-compat/Manifest b/sys-auth/polkit-pkla-compat/Manifest
deleted file mode 100644
index 53f898392985..000000000000
--- a/sys-auth/polkit-pkla-compat/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST polkit-pkla-compat-0.1.tar.xz 291148 BLAKE2B b993a17dc9f16e622f59ed5e716f36857a3196567a426f81fac75f1a0a774c9d6e608d36433e2b39a4d50dbd1699b5b686835fde7cbae6260c5a226c90ebe7b3 SHA512 968cf547db977731a6c6bb292fa86ef46a2ce8f74d008da62f219c20da8cdde94f6309dccba3be33d0111bfa34609799bdeee4d2464395c8837370d022d425c5
diff --git a/sys-auth/polkit-pkla-compat/metadata.xml b/sys-auth/polkit-pkla-compat/metadata.xml
deleted file mode 100644
index d4390c2eb58e..000000000000
--- a/sys-auth/polkit-pkla-compat/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild
deleted file mode 100644
index 05c4ed9e6222..000000000000
--- a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority"
-HOMEPAGE="https://pagure.io/polkit-pkla-compat"
-SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc x86"
-
-RDEPEND="
- acct-group/polkitd
- >=dev-libs/glib-2.30
- >=sys-auth/polkit-0.110"
-DEPEND="${RDEPEND}"
-BDEPEND="
- acct-group/polkitd
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt
- virtual/pkgconfig"
-
-src_configure() {
- econf --localstatedir="${EPREFIX}/var"
-}
-
-src_install() {
- default
- keepdir /etc/polkit-1/localauthority.conf.d
- keepdir /{etc,var/lib}/polkit-1/localauthority/{10-vendor.d,20-org.d,30-site.d,50-local.d,90-mandatory.d}
-}
diff --git a/sys-auth/polkit-qt/Manifest b/sys-auth/polkit-qt/Manifest
deleted file mode 100644
index 24ad33f7d37f..000000000000
--- a/sys-auth/polkit-qt/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST polkit-qt-1-0.200.0.tar.xz 58216 BLAKE2B 4edd1577178d4b61889f3da3699f36e0b3251c38b111c0c219ad9c9585ff32845034c068a5c382c29baa1d9cd8d723378422dafb4ea8734766da1b8032025826 SHA512 a09214043fa874234086a5de4d27153368dbe775dd6d573dd2531f2f2be79eb22bf73bbfb2a3a839c20c0347762e7af86b73ba38a05b2dcd43e59526e29c008d
-DIST polkit-qt-1-0.201.1.tar.xz 58492 BLAKE2B efb84e5111c87e50d2c9417883682a244267d1b1c1c3e1c499235ef4eee009b1aeacac0ccdfad94e75b145dbff72e83f15e5f3116f54530bfcf6389f3f83cbb8 SHA512 04e94b1e92a0a2ecf731d0768e94ebad1bb39c933063c2059ffb1c2e11000ea616c359ed097416c92ef84b071d1cc0ebb942513a5264d33322384b41245c737d
diff --git a/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch b/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch
deleted file mode 100644
index bd84c9764b18..000000000000
--- a/sys-auth/polkit-qt/files/polkit-qt-0.200.0-uniquify-identities.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 27370be06e09281761be34c53a6d50d87978d4f4 Mon Sep 17 00:00:00 2001
-From: Harald Sitter <sitter@kde.org>
-Date: Tue, 14 Jan 2025 15:09:13 +0100
-Subject: [PATCH] ListenerAdapter: uniquify the identities
-
-prevents duplicated entries
----
- agent/listeneradapter.cpp | 12 ++++++++----
- 1 file changed, 8 insertions(+), 4 deletions(-)
-
-diff --git a/agent/listeneradapter.cpp b/agent/listeneradapter.cpp
-index 507f4b6..a1b84e9 100644
---- a/agent/listeneradapter.cpp
-+++ b/agent/listeneradapter.cpp
-@@ -71,13 +71,17 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList
- {
- qDebug() << "polkit_qt_listener_initiate_authentication callback for " << listener;
-
-- PolkitQt1::Identity::List idents;
- PolkitQt1::Details dets(details);
-
- Listener *list = findListener(listener);
-
-- for (GList *identity = g_list_first(identities); identity != nullptr; identity = g_list_next(identity)) {
-- idents.append(PolkitQt1::Identity((PolkitIdentity *)identity->data));
-+ // Polkit enumerates identities without regard for their hash value, potentially leading to duplicated entries.
-+ // Unique the identities on our end.
-+ // https://github.com/polkit-org/polkit/issues/542
-+ QHash<guint, PolkitQt1::Identity> uniqueIdentities;
-+ for (GList *entry = g_list_first(identities); entry != nullptr; entry = g_list_next(entry)) {
-+ auto identity = static_cast<PolkitIdentity *>(entry->data);
-+ uniqueIdentities.insert(polkit_identity_hash(identity), PolkitQt1::Identity(identity));
- }
-
- list->initiateAuthentication(QString::fromUtf8(action_id),
-@@ -85,7 +89,7 @@ void ListenerAdapter::polkit_qt_listener_initiate_authentication(PolkitAgentList
- QString::fromUtf8(icon_name),
- dets,
- QString::fromUtf8(cookie),
-- idents,
-+ uniqueIdentities.values(),
- new AsyncResult(result));
- }
-
---
-2.52.0
-
diff --git a/sys-auth/polkit-qt/metadata.xml b/sys-auth/polkit-qt/metadata.xml
deleted file mode 100644
index 8ea64ff8092f..000000000000
--- a/sys-auth/polkit-qt/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>kde@gentoo.org</email>
- <name>Gentoo KDE Project</name>
- </maintainer>
- <upstream>
- <bugs-to>https://bugs.kde.org/</bugs-to>
- <remote-id type="kde-invent">libraries/polkit-qt-1</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild
deleted file mode 100644
index 6a40ec73d4e9..000000000000
--- a/sys-auth/polkit-qt/polkit-qt-0.200.0-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_ORG_CATEGORY="libraries"
-KDE_ORG_NAME="polkit-qt-1"
-inherit cmake kde.org
-
-DESCRIPTION="Qt wrapper around polkit-1 client libraries"
-HOMEPAGE="https://api.kde.org/legacy/polkit-qt-1/html/index.html"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz"
- KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86"
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtbase:6[dbus,gui,widgets]
- >=sys-auth/polkit-0.103
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( AUTHORS README README.porting TODO )
-
-PATCHES=( "${FILESDIR}/${P}-uniquify-identities.patch" )
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_EXAMPLES=OFF
- -DQT_MAJOR_VERSION=6
- )
- cmake_src_configure
-}
diff --git a/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild b/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild
deleted file mode 100644
index 881804cbb425..000000000000
--- a/sys-auth/polkit-qt/polkit-qt-0.201.1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KDE_ORG_CATEGORY="libraries"
-KDE_ORG_NAME="polkit-qt-1"
-inherit cmake kde.org
-
-DESCRIPTION="Qt wrapper around polkit-1 client libraries"
-HOMEPAGE="https://api.kde.org/legacy/polkit-qt-1/html/index.html"
-
-if [[ ${KDE_BUILD_TYPE} = release ]]; then
- SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-
-RDEPEND="
- dev-libs/glib:2
- dev-qt/qtbase:6[dbus,gui,widgets]
- >=sys-auth/polkit-0.103
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-DOCS=( AUTHORS README README.porting TODO )
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_EXAMPLES=OFF
- -DQT_MAJOR_VERSION=6
- )
- cmake_src_configure
-}
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
deleted file mode 100644
index 54fc3fb1fff8..000000000000
--- a/sys-auth/polkit/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST polkit-126.tar.gz 456138 BLAKE2B 2e86c8853edf29879d8367b77d210d3a891178297cb5f9eb204a953bfaa66f6ff2307da265f4c3f89265ba8ce32e94641272d654a78d116dfb32a65d402f877a SHA512 dbdbc31b7a231c963788b37cf1a138e30336466fb662225a812faaf58e45439925d9d39346cc8f07e54f22040c2f142435acb9fded315d33e24930e0abc736c7
diff --git a/sys-auth/polkit/files/polkit-126-dbusmock.patch b/sys-auth/polkit/files/polkit-126-dbusmock.patch
deleted file mode 100644
index b11c85b3e0c7..000000000000
--- a/sys-auth/polkit/files/polkit-126-dbusmock.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-https://github.com/polkit-org/polkit/commit/690e6972ffe30473dacbfaa81158f5507cef99f6
-https://github.com/polkit-org/polkit/commit/247952425829e41a47e83b2e433b9703713739f5
-
-From 690e6972ffe30473dacbfaa81158f5507cef99f6 Mon Sep 17 00:00:00 2001
-From: Jan Rybar <jrybar@redhat.com>
-Date: Wed, 1 Oct 2025 13:23:45 +0200
-Subject: [PATCH] DBusMock: CI broken after stop_dbus() removal
-
-Because stop_dbus() was removed from DBusMock implementation, nothing
-actually stops the system bus in testing environment in the wrapper.py
-child process, hence the test times out into failure.
-Adding simple kill(<dbus_PID>) in atexit() is sufficient, but the
-original implementation in DBusMock seemed more graceful, so it was
-pulled back in.
----
- test/wrapper.py | 34 +++++++++++++++++++++++++++++++++-
- 1 file changed, 33 insertions(+), 1 deletion(-)
-
-diff --git a/test/wrapper.py b/test/wrapper.py
-index 14f4abdb..dc62f702 100755
---- a/test/wrapper.py
-+++ b/test/wrapper.py
-@@ -5,6 +5,8 @@
- import os
- import subprocess
- import sys
-+import signal
-+import time
-
- import dbus
- import dbus.mainloop.glib
-@@ -36,6 +38,36 @@ def setup_test_namespace(data_dir):
- print("Python 3.12 is required for os.unshare(), skipping")
- sys.exit(77)
-
-+
-+def stop_dbus(pid: int) -> None:
-+ """Stop a D-Bus daemon
-+
-+ If DBus daemon is not explicitly killed in the testing environment
-+ the test times out and reports as failed.
-+ This is a backport of a function dropped from DBusMock source (99c4800e9eed).
-+ """
-+ signal.signal(signal.SIGTERM, signal.SIG_IGN)
-+ for _ in range(50):
-+ try:
-+ os.kill(pid, signal.SIGTERM)
-+ os.waitpid(pid, os.WNOHANG)
-+ except ChildProcessError:
-+ break
-+ except OSError as e:
-+ if e.errno == errno.ESRCH:
-+ break
-+ raise
-+ time.sleep(0.1)
-+ else:
-+ sys.stderr.write("ERROR: timed out waiting for bus process to terminate\n")
-+ os.kill(pid, signal.SIGKILL)
-+ try:
-+ os.waitpid(pid, 0)
-+ except ChildProcessError:
-+ pass
-+ signal.signal(signal.SIGTERM, signal.SIG_DFL)
-+
-+
- if __name__ == "__main__":
- parser = argparse.ArgumentParser()
- parser.add_argument("test_executable",
-@@ -51,7 +83,7 @@ def setup_test_namespace(data_dir):
- if args.mock_dbus:
- dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
- dbusmock.DBusTestCase.start_system_bus()
-- atexit.register(dbusmock.DBusTestCase.stop_dbus, dbusmock.DBusTestCase.system_bus_pid)
-+ atexit.register(stop_dbus, dbusmock.DBusTestCase.system_bus_pid)
-
- print(f"Executing '{args.test_executable}'")
- sys.stdout.flush()
-
-From 247952425829e41a47e83b2e433b9703713739f5 Mon Sep 17 00:00:00 2001
-From: Jan Rybar <jrybar@redhat.com>
-Date: Sun, 5 Oct 2025 16:40:30 +0200
-Subject: [PATCH] Missed 'errno' import in wrapper
-
----
- test/wrapper.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/test/wrapper.py b/test/wrapper.py
-index dc62f70..9547720 100755
---- a/test/wrapper.py
-+++ b/test/wrapper.py
-@@ -7,6 +7,7 @@
- import sys
- import signal
- import time
-+import errno
-
- import dbus
- import dbus.mainloop.glib
diff --git a/sys-auth/polkit/files/polkit-126-elogind.patch b/sys-auth/polkit/files/polkit-126-elogind.patch
deleted file mode 100644
index 41245059c4ee..000000000000
--- a/sys-auth/polkit/files/polkit-126-elogind.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://github.com/polkit-org/polkit/commit/55ee1b70456eca8281dda9612c485c619122f202
-
-From 55ee1b70456eca8281dda9612c485c619122f202 Mon Sep 17 00:00:00 2001
-From: Jan Rybar <jrybar@redhat.com>
-Date: Tue, 14 Jan 2025 13:47:54 +0100
-Subject: [PATCH] meson: fix unused dependency, fixes elogind FTBFS
-
-polkit-126 could not be built from source with elogind session service due
-to wrong dependencies in meson.build.
-
-Author: @markhindley
----
- src/polkitbackend/meson.build | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/polkitbackend/meson.build b/src/polkitbackend/meson.build
-index fc35e195..a807b41b 100644
---- a/src/polkitbackend/meson.build
-+++ b/src/polkitbackend/meson.build
-@@ -37,7 +37,6 @@ deps += thread_dep
-
- if enable_logind
- sources += files('polkitbackendsessionmonitor-systemd.c')
--
- deps += logind_dep
- else
- sources += files('polkitbackendsessionmonitor.c')
-@@ -73,7 +72,7 @@ executable(
- program,
- program + '.c',
- include_directories: top_inc,
-- dependencies: libpolkit_gobject_dep,
-+ dependencies: deps,
- c_args: c_flags,
- link_with: libpolkit_backend,
- install: true,
-
diff --git a/sys-auth/polkit/metadata.xml b/sys-auth/polkit/metadata.xml
deleted file mode 100644
index c3094ca12439..000000000000
--- a/sys-auth/polkit/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>freedesktop-bugs@gentoo.org</email>
- </maintainer>
- <use>
- <flag name="systemd">Use <pkg>sys-apps/systemd</pkg> for session tracking</flag>
- </use>
- <upstream>
- <remote-id type="github">polkit-org/polkit</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/polkit/polkit-126-r3.ebuild b/sys-auth/polkit/polkit-126-r3.ebuild
deleted file mode 100644
index 88d1dbad8849..000000000000
--- a/sys-auth/polkit/polkit-126-r3.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-inherit meson pam pax-utils python-any-r1 systemd tmpfiles xdg-utils
-
-DESCRIPTION="Policy framework for controlling privileges for system-wide services"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://github.com/polkit-org/polkit"
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/polkit-org/polkit"
- inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
- # Upstream don't make releases very often. Test snapshots throughly
- # and review commits, but don't shy away if there's useful stuff there
- # we want.
- MY_COMMIT=""
- SRC_URI="https://github.com/polkit-org/polkit/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
-
- S="${WORKDIR}"/${PN}-${MY_COMMIT}
-else
- SRC_URI="https://github.com/polkit-org/polkit/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-if [[ ${PV} != 9999 ]] ; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-fi
-IUSE="elogind examples gtk +introspection kde pam nls selinux systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="?? ( elogind systemd )"
-
-BDEPEND="
- acct-user/polkitd
- app-text/docbook-xml-dtd:4.1.2
- app-text/docbook-xsl-stylesheets
- >=dev-libs/glib-2.32
- dev-libs/libxslt
- dev-util/glib-utils
- virtual/pkgconfig
- introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
- nls? ( sys-devel/gettext )
- test? (
- $(python_gen_any_dep '
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- ')
- )
-"
-DEPEND="
- >=dev-libs/glib-2.32:2
- dev-libs/expat
- dev-lang/duktape:=
- elogind? ( sys-auth/elogind )
- pam? (
- sys-auth/pambase
- sys-libs/pam
- )
- !pam? ( virtual/libcrypt:= )
- systemd? ( sys-apps/systemd:0=[policykit] )
-"
-RDEPEND="
- ${DEPEND}
- acct-user/polkitd
- selinux? ( sec-policy/selinux-policykit )
-"
-PDEPEND="
- gtk? ( || (
- >=gnome-extra/polkit-gnome-0.105
- >=lxde-base/lxsession-0.5.2
- ) )
- kde? ( kde-plasma/polkit-kde-agent )
-"
-
-DOCS=( docs/TODO HACKING.md NEWS.md README.md )
-
-QA_MULTILIB_PATHS="
- usr/lib/polkit-1/polkit-agent-helper-1
- usr/lib/polkit-1/polkitd
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-elogind.patch
- "${FILESDIR}"/${P}-dbusmock.patch
-)
-
-python_check_deps() {
- python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # bug #401513
- sed -i -e 's|unix-group:@PRIVILEGED_GROUP@|unix-user:@PRIVILEGED_GROUP@|' src/polkitbackend/*-default.rules.in || die
-}
-
-src_configure() {
- xdg_environment_reset
-
- # Use ConsoleKit as a fallback with no build-time dependencies, bug 973339
- local session_tracking=ConsoleKit
- use elogind && session_tracking=elogind
- use systemd && session_tracking=logind
-
- local emesonargs=(
- --localstatedir="${EPREFIX}"/var
- -Dauthfw="$(usex pam pam shadow)"
- -Dexamples=false
- -Dgtk_doc=false
- -Dman=true
- -Dos_type=gentoo
- -Dpam_module_dir=$(getpam_mod_dir)
- -Dprivileged_group=0
- -Dsession_tracking="${session_tracking}"
- -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- -Dlibs-only=false
- $(meson_use introspection)
- $(meson_use nls gettext)
- $(meson_use test tests)
- )
- meson_src_configure
-}
-
-src_compile() {
- meson_src_compile
-
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT
- pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
-}
-
-src_install() {
- meson_src_install
-
- # acct-user/polkitd installs its own (albeit with a different filename)
- rm -rf "${ED}"/usr/lib/sysusers.d || die
-
- if use examples ; then
- docinto examples
- dodoc src/examples/{*.c,*.policy*}
- fi
-
- if [[ ${EUID} == 0 ]]; then
- diropts -m 0700 -o polkitd
- fi
- keepdir /etc/polkit-1/rules.d
-}
-
-pkg_postinst() {
- tmpfiles_process polkit-tmpfiles.conf
-
- if [[ ${EUID} == 0 ]]; then
- chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- fi
-}
diff --git a/sys-auth/polkit/polkit-9999.ebuild b/sys-auth/polkit/polkit-9999.ebuild
deleted file mode 100644
index 64ebb1edfdd0..000000000000
--- a/sys-auth/polkit/polkit-9999.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-inherit meson pam pax-utils python-any-r1 systemd tmpfiles xdg-utils
-
-DESCRIPTION="Policy framework for controlling privileges for system-wide services"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://github.com/polkit-org/polkit"
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/polkit-org/polkit"
- inherit git-r3
-elif [[ ${PV} == *_p* ]] ; then
- # Upstream don't make releases very often. Test snapshots throughly
- # and review commits, but don't shy away if there's useful stuff there
- # we want.
- MY_COMMIT=""
- SRC_URI="https://github.com/polkit-org/polkit/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
-
- S="${WORKDIR}"/${PN}-${MY_COMMIT}
-else
- SRC_URI="https://github.com/polkit-org/polkit/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-if [[ ${PV} != 9999 ]] ; then
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-IUSE="elogind examples gtk +introspection kde pam nls selinux systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="?? ( elogind systemd )"
-
-BDEPEND="
- acct-user/polkitd
- app-text/docbook-xml-dtd:4.1.2
- app-text/docbook-xsl-stylesheets
- >=dev-libs/glib-2.32
- dev-libs/libxslt
- dev-util/glib-utils
- virtual/pkgconfig
- introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
- nls? ( sys-devel/gettext )
- test? (
- $(python_gen_any_dep '
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/python-dbusmock[${PYTHON_USEDEP}]
- ')
- )
-"
-DEPEND="
- >=dev-libs/glib-2.32:2
- dev-libs/expat
- dev-lang/duktape:=
- elogind? ( sys-auth/elogind )
- pam? (
- sys-auth/pambase
- sys-libs/pam
- )
- !pam? ( virtual/libcrypt:= )
- systemd? ( sys-apps/systemd:0=[policykit] )
-"
-RDEPEND="
- ${DEPEND}
- acct-user/polkitd
- selinux? ( sec-policy/selinux-policykit )
-"
-PDEPEND="
- gtk? ( || (
- >=gnome-extra/polkit-gnome-0.105
- >=lxde-base/lxsession-0.5.2
- ) )
- kde? ( kde-plasma/polkit-kde-agent )
-"
-
-DOCS=( docs/TODO HACKING.md NEWS.md README.md )
-
-QA_MULTILIB_PATHS="
- usr/lib/polkit-1/polkit-agent-helper-1
- usr/lib/polkit-1/polkitd
-"
-
-python_check_deps() {
- python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
- python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # bug #401513
- sed -i -e 's|unix-group:@PRIVILEGED_GROUP@|unix-user:@PRIVILEGED_GROUP@|' src/polkitbackend/*-default.rules.in || die
-}
-
-src_configure() {
- xdg_environment_reset
-
- # Use ConsoleKit as a fallback with no build-time dependencies, bug 973339
- local session_tracking=ConsoleKit
- use elogind && session_tracking=elogind
- use systemd && session_tracking=logind
-
- local emesonargs=(
- --localstatedir="${EPREFIX}"/var
- -Dauthfw="$(usex pam pam shadow)"
- -Dexamples=false
- -Dgtk_doc=false
- -Dman=true
- -Dos_type=gentoo
- -Dpam_module_dir=$(getpam_mod_dir)
- -Dprivileged_group=0
- -Dsession_tracking="${session_tracking}"
- -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
- -Dlibs-only=false
- $(meson_use introspection)
- $(meson_use nls gettext)
- $(meson_use test tests)
- )
- meson_src_configure
-}
-
-src_compile() {
- meson_src_compile
-
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT
- pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
-}
-
-src_install() {
- meson_src_install
-
- # acct-user/polkitd installs its own (albeit with a different filename)
- rm -rf "${ED}"/usr/lib/sysusers.d || die
-
- if use examples ; then
- docinto examples
- dodoc src/examples/{*.c,*.policy*}
- fi
-
- if [[ ${EUID} == 0 ]]; then
- diropts -m 0700 -o polkitd
- fi
- keepdir /etc/polkit-1/rules.d
-}
-
-pkg_postinst() {
- tmpfiles_process polkit-tmpfiles.conf
-
- if [[ ${EUID} == 0 ]]; then
- chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- fi
-}
diff --git a/sys-auth/realtime-base/metadata.xml b/sys-auth/realtime-base/metadata.xml
deleted file mode 100644
index e780015e9754..000000000000
--- a/sys-auth/realtime-base/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>proaudio@gentoo.org</email>
- <name>Gentoo ProAudio Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/realtime-base/realtime-base-0.1-r1.ebuild b/sys-auth/realtime-base/realtime-base-0.1-r1.ebuild
deleted file mode 100644
index a47c03e037d5..000000000000
--- a/sys-auth/realtime-base/realtime-base-0.1-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Sets up realtime scheduling"
-HOMEPAGE="https://jackaudio.org/faq/linux_rt_config.html"
-S="${WORKDIR}"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-
-RDEPEND="acct-group/realtime
- sys-libs/pam"
-
-limitsdfile=40-${PN}.conf
-rtgroup=realtime
-
-src_compile() {
- einfo "Generating ${limitsdfile}"
- cat > ${limitsdfile} <<- EOF || die
- # Start of ${limitsdfile} from ${P}
-
- @${rtgroup} - rtprio 99
- @${rtgroup} - memlock unlimited
-
- # End of ${limitsdfile} from ${P}
- EOF
-}
-
-src_install() {
- insinto /etc/security/limits.d/
- doins ${limitsdfile}
-}
-
-pkg_postinst() {
- elog "We have added realtime scheduling privileges for users in the ${rtgroup} group."
- elog "Please make sure users needing such privileges are in that group."
-}
diff --git a/sys-auth/rtkit/Manifest b/sys-auth/rtkit/Manifest
deleted file mode 100644
index 8881394563f4..000000000000
--- a/sys-auth/rtkit/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST rtkit-v0.14.tar.bz2 41311 BLAKE2B 824bd873e09138ad0b8bac9509db81db5d777310a5d6709e3cc9816befef2e88403ec6e576114b397086c414c048a29a0ba567d0407f28cb433b33e68da877a6 SHA512 ad2cf2b850536ed8e9d03768ce5073fa42da0b1244ea1e70705b9244513b87512918549b8657a4a2132345c8b74e9dc452eca628bb252b1a621a7ab7ccb38c7b
diff --git a/sys-auth/rtkit/metadata.xml b/sys-auth/rtkit/metadata.xml
deleted file mode 100644
index 830a84a5a4ac..000000000000
--- a/sys-auth/rtkit/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- RealtimeKit is a DBus service that provides applications with an interface
- to escalate their priority to realtime, without any special setup in
- rlimits, etc.
- </longdescription>
- <upstream>
- <remote-id type="freedesktop-gitlab">pipewire/rtkit</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/rtkit/rtkit-0.14.ebuild b/sys-auth/rtkit/rtkit-0.14.ebuild
deleted file mode 100644
index 97f70e6aa15a..000000000000
--- a/sys-auth/rtkit/rtkit-0.14.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info meson systemd
-
-MY_P=${PN}-v${PV}
-DESCRIPTION="Realtime Policy and Watchdog Daemon"
-HOMEPAGE="https://gitlab.freedesktop.org/pipewire/rtkit"
-SRC_URI="https://gitlab.freedesktop.org/pipewire/rtkit/-/archive/v${PV}/${MY_P}.tar.bz2"
-S="${WORKDIR}"/${MY_P}
-
-LICENSE="GPL-3 BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86"
-IUSE="selinux systemd"
-
-DEPEND="
- acct-group/rtkit
- acct-user/rtkit
- sys-apps/dbus
- sys-auth/polkit
- sys-libs/libcap
- systemd? ( sys-apps/systemd )
-"
-RDEPEND="
- ${DEPEND}
- selinux? ( sec-policy/selinux-rtkit )
-"
-BDEPEND="
- dev-util/xxd
- virtual/pkgconfig
-"
-
-pkg_pretend() {
- if use kernel_linux; then
- CONFIG_CHECK="~!RT_GROUP_SCHED"
- ERROR_RT_GROUP_SCHED="CONFIG_RT_GROUP_SCHED is enabled. rtkit-daemon (or any other "
- ERROR_RT_GROUP_SCHED+="real-time task) will not work unless run as root. Please consider "
- ERROR_RT_GROUP_SCHED+="unsetting this option."
- check_extra_config
- fi
-}
-
-src_configure() {
- local emesonargs=(
- -Dinstalled_tests=false
- $(meson_feature systemd libsystemd)
- -Dsystemd_systemunitdir="$(systemd_get_systemunitdir)"
- )
-
- meson_src_configure
-}
diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest
deleted file mode 100644
index e4e65b713af1..000000000000
--- a/sys-auth/seatd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST seatd-0.9.2.tar.gz 41920 BLAKE2B e3ad02dd0c7ec452aea8729bbf9bfec3d18aa63fe6eea5d323e7f4d8fc76770fbfe14088f3480fba48811f51aefdc52262a7060bd5a7c8fd44deb8a89dc3562a SHA512 a17703d39c4191e6c63e6f2b2b073e2b28c60f2059e9317a6dbe500a046bc2b059a7ce506a74c024d376a34459c5a1339e8c859cbce8dc919cdc09287c0c058c
-DIST seatd-0.9.3.tar.gz 42086 BLAKE2B ff56afc342727eb24051e5fbe07a605576bfc34f578f99d4759dee93b9bb876b27562c0fb5bde0cda48e98b0518f649f599a0d06d5d37ad89d6e80ed704f57a4 SHA512 8cb21cfbd9aa25966fe3f586de75d24a8625142ffb49e6ec357875c347d3e92d535467b817d79fdc704f80858a145f1107c488adbf22a1c337dbc6ccccc8b00a
diff --git a/sys-auth/seatd/files/seatd.initd-r1 b/sys-auth/seatd/files/seatd.initd-r1
deleted file mode 100644
index a71a9c480aca..000000000000
--- a/sys-auth/seatd/files/seatd.initd-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/sbin/openrc-run
-supervisor=supervise-daemon
-command="seatd"
-command_args="-g seat"
diff --git a/sys-auth/seatd/metadata.xml b/sys-auth/seatd/metadata.xml
deleted file mode 100644
index dfd87bfcc925..000000000000
--- a/sys-auth/seatd/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>contact@hacktivis.me</email>
- <name>Haelwenn (lanodan) Monnier</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="person">
- <email>arthurzam@gentoo.org</email>
- <name>Arthur Zamarin</name>
- </maintainer>
- <use>
- <flag name="builtin">Enable embedded server in libseat</flag>
- <flag name="server">Enable standalone seatd server, replacement to (e)logind</flag>
- </use>
- <upstream>
- <remote-id type="sourcehut">~kennylevinsen/seatd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/seatd/seatd-0.9.2.ebuild b/sys-auth/seatd/seatd-0.9.2.ebuild
deleted file mode 100644
index 8b650b4c7aaa..000000000000
--- a/sys-auth/seatd/seatd-0.9.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson systemd
-
-DESCRIPTION="Minimal seat management daemon and universal library"
-HOMEPAGE="https://sr.ht/~kennylevinsen/seatd"
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
-else
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
- SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-LICENSE="MIT"
-SLOT="0/1"
-IUSE="builtin elogind selinux server systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
- elogind? ( sys-auth/elogind )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="${DEPEND}
- server? ( acct-group/seat )
- selinux? ( sec-policy/selinux-seatd )
-"
-BDEPEND=">=app-text/scdoc-1.9.7"
-
-src_configure() {
- local emesonargs=(
- -Dman-pages=enabled
- $(meson_feature builtin libseat-builtin)
- $(meson_feature server)
- )
-
- if use elogind ; then
- emesonargs+=( -Dlibseat-logind=elogind )
- elif use systemd; then
- emesonargs+=( -Dlibseat-logind=systemd )
- else
- emesonargs+=( -Dlibseat-logind=disabled )
- fi
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- if use server; then
- newinitd "${FILESDIR}/seatd.initd-r1" seatd
- systemd_dounit contrib/systemd/seatd.service
-
- if has_version '<sys-auth/seatd-0.7.0-r2'; then
- elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group"
- elog "Make sure your user(s) are in the 'seat' group."
- elog "Note: 'video' is still needed for GPU access like OpenGL"
- fi
- fi
-}
diff --git a/sys-auth/seatd/seatd-0.9.3.ebuild b/sys-auth/seatd/seatd-0.9.3.ebuild
deleted file mode 100644
index f45a7c9a2940..000000000000
--- a/sys-auth/seatd/seatd-0.9.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson systemd
-
-DESCRIPTION="Minimal seat management daemon and universal library"
-HOMEPAGE="https://sr.ht/~kennylevinsen/seatd"
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
-else
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
- SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-LICENSE="MIT"
-SLOT="0/1"
-IUSE="builtin elogind selinux server systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
- elogind? ( sys-auth/elogind )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="${DEPEND}
- server? ( acct-group/seat )
- selinux? ( sec-policy/selinux-seatd )
-"
-BDEPEND=">=app-text/scdoc-1.9.7"
-
-src_prepare() {
- # -fhardened conflicts with user setting -mindirect-branch=thunk
- # https://codeberg.org/gentoo/gentoo/pulls/208#issuecomment-11187149
- # Also means no longer redefining Gentoo's _FORTIFY_SOURCE
- sed -i '/-fhardened/d' meson.build || die
-
- default
-}
-
-src_configure() {
- local emesonargs=(
- -Dman-pages=enabled
- $(meson_feature builtin libseat-builtin)
- $(meson_feature server)
- )
-
- if use elogind ; then
- emesonargs+=( -Dlibseat-logind=elogind )
- elif use systemd; then
- emesonargs+=( -Dlibseat-logind=systemd )
- else
- emesonargs+=( -Dlibseat-logind=disabled )
- fi
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- if use server; then
- newinitd "${FILESDIR}/seatd.initd-r1" seatd
- systemd_dounit contrib/systemd/seatd.service
-
- if has_version '<sys-auth/seatd-0.7.0-r2'; then
- elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group"
- elog "Make sure your user(s) are in the 'seat' group."
- elog "Note: 'video' is still needed for GPU access like OpenGL"
- fi
- fi
-}
diff --git a/sys-auth/seatd/seatd-9999.ebuild b/sys-auth/seatd/seatd-9999.ebuild
deleted file mode 100644
index 23866c24abe4..000000000000
--- a/sys-auth/seatd/seatd-9999.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 2020-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson systemd
-
-DESCRIPTION="Minimal seat management daemon and universal library"
-HOMEPAGE="https://sr.ht/~kennylevinsen/seatd"
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd"
-else
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
- SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz"
-fi
-LICENSE="MIT"
-SLOT="0/1"
-IUSE="builtin elogind selinux server systemd"
-REQUIRED_USE="?? ( elogind systemd )"
-
-DEPEND="
- elogind? ( sys-auth/elogind )
- systemd? ( sys-apps/systemd:= )
-"
-RDEPEND="${DEPEND}
- server? ( acct-group/seat )
- selinux? ( sec-policy/selinux-seatd )
-"
-BDEPEND=">=app-text/scdoc-1.9.7"
-
-src_prepare() {
- # -fhardened conflicts with user setting -mindirect-branch=thunk
- # https://codeberg.org/gentoo/gentoo/pulls/208#issuecomment-11187149
- # Also means no longer redefining Gentoo's _FORTIFY_SOURCE
- sed -i '/-fhardened/d' meson.build || die
-
- default
-}
-
-src_configure() {
- local emesonargs=(
- -Dman-pages=enabled
- $(meson_feature builtin libseat-builtin)
- $(meson_feature server)
- )
-
- if use elogind ; then
- emesonargs+=( -Dlibseat-logind=elogind )
- elif use systemd; then
- emesonargs+=( -Dlibseat-logind=systemd )
- else
- emesonargs+=( -Dlibseat-logind=disabled )
- fi
-
- meson_src_configure
-}
-
-src_install() {
- meson_src_install
-
- if use server; then
- newinitd "${FILESDIR}/seatd.initd-r1" seatd
- systemd_dounit contrib/systemd/seatd.service
-
- if has_version '<sys-auth/seatd-0.7.0-r2'; then
- elog "For OpenRC users: seatd is now using the 'seat' group instead of the 'video' group"
- elog "Make sure your user(s) are in the 'seat' group."
- elog "Note: 'video' is still needed for GPU access like OpenGL"
- fi
- fi
-}
diff --git a/sys-auth/skey/Manifest b/sys-auth/skey/Manifest
deleted file mode 100644
index 05a20e091d3e..000000000000
--- a/sys-auth/skey/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST skey-1.1.5-patches-7.tar.xz 34412 BLAKE2B 77c37b71e80a629dc24996a496ac870d8ad431268bc8eff188ffe09fda6c52b4169aae6e16d31897658e003c1565176f5b8bdd7052795b372c47e49258a7d8ff SHA512 a73f0772883cfb8a6cd7acabd0d005e723952c4eb3b83d27b5c321737e38a4b4b65be0e7cb1b4fb5d040e315b3c36f6f4ca96f20ad8564617e694e9373fa060d
-DIST skey-1.1.5.tar.bz2 61911 BLAKE2B 6226a91f4018bee5796bf60339dc8554324a044eef18a69ea176d060cb4af90779cafaee58f42ad7a6e433b94da8de6e5e4d1ee9362904966fd0872d5ac3ccce SHA512 4cbddc7e31134d5e23801a9b07de0d05c8357aaa8dddfb8426fceead3f54e539f77204f78a08b2a93890ef2f4f807a2208080f58f80818afa1b8cd4884b1fb37
diff --git a/sys-auth/skey/metadata.xml b/sys-auth/skey/metadata.xml
deleted file mode 100644
index ff83c36dcfb6..000000000000
--- a/sys-auth/skey/metadata.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>ulm@gentoo.org</email>
-</maintainer>
-<longdescription lang="en">
- From RFC2289:
- One form of attack on networked computing systems is eavesdropping on
- network connections to obtain authentication information such as the
- login IDs and passwords of legitimate users. Once this information is
- captured, it can be used at a later time to gain access to the system.
- One-time password systems are designed to counter this type of attack,
- called a "replay attack."
-
- The authentication system described in this document uses a secret
- pass-phrase to generate a sequence of one-time (single use) passwords.
- With this system, the user's secret pass-phrase never needs to cross the
- network at any time such as during authentication or during pass-phrase
- changes. Thus, it is not vulnerable to replay attacks. Added security
- is provided by the property that no secret information need be stored on
- any system, including the server being protected.
-
- The OTP system protects against external passive attacks against the
- authentication subsystem. It does not prevent a network eavesdropper from
- gaining access to private information and does not provide protection
- against either "social engineering" or active attacks.
-</longdescription>
-</pkgmetadata>
diff --git a/sys-auth/skey/skey-1.1.5-r14.ebuild b/sys-auth/skey/skey-1.1.5-r14.ebuild
deleted file mode 100644
index a7dad3524bb0..000000000000
--- a/sys-auth/skey/skey-1.1.5-r14.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools readme.gentoo-r1 toolchain-funcs usr-ldscript
-
-DESCRIPTION="Linux Port of OpenBSD Single-key Password System"
-HOMEPAGE="https://web.archive.org/web/20160710152027/http://www.openbsd.org:80/faq/faq8.html#SKey"
-SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.bz2
- https://dev.gentoo.org/~ulm/distfiles/${P}-patches-7.tar.xz"
-
-LICENSE="BSD MIT RSA BEER-WARE"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
-IUSE="static-libs"
-
-DEPEND="dev-lang/perl
- sys-libs/cracklib
- virtual/libcrypt:="
-
-RDEPEND="${DEPEND}
- virtual/perl-Time-Local"
-
-BDEPEND="app-arch/xz-utils"
-
-PATCHES=("${WORKDIR}/patch")
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- tc-export CC
- econf --sysconfdir=/etc/skey
-}
-
-src_install() {
- into /
- dolib.so libskey.so{.${PV},.${PV%.*},.${PV%%.*},}
-
- into /usr
- dobin skey skeyinit skeyinfo
- newbin skeyaudit.sh skeyaudit
- newsbin skeyprune.pl skeyprune
-
- dosym skey /usr/bin/otp-md4
- dosym skey /usr/bin/otp-md5
- dosym skey /usr/bin/otp-sha1
-
- if use static-libs; then
- dolib.a libskey.a
- gen_usr_ldscript libskey.so
- fi
-
- doman skey.1 skeyaudit.1 skeyinfo.1 skeyinit.1 skey.3 skeyprune.8
-
- insinto /usr/include
- doins skey.h
-
- keepdir /etc/skey
-
- # only root needs to have access to these files.
- fperms go-rx /etc/skey
-
- # skeyinit and skeyinfo must be suid root so users
- # can generate their passwords.
- fperms u+s,go-r /usr/bin/skeyinit /usr/bin/skeyinfo
-
- dodoc README CHANGES
-
- local DOC_CONTENTS="For an introduction into using s/key authentication,
- take a look at the EXAMPLES section from the skey(1) manpage."
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- # do not include /etc/skey/skeykeys in the package, as quickpkg
- # may package sensitive information.
- # This also fixes the etc-update issue with #64974.
-
- # skeyinit will not function if this file is not present.
- touch /etc/skey/skeykeys
-
- # these permissions are applied by the skey system if missing.
- chmod 0600 /etc/skey/skeykeys
-
- readme.gentoo_print_elog
-}
diff --git a/sys-auth/solo1/Manifest b/sys-auth/solo1/Manifest
deleted file mode 100644
index 840c5853de82..000000000000
--- a/sys-auth/solo1/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST solo1-0.1.1.tar.gz 39300 BLAKE2B 3d486d7d515acf03131ef640e38f804f10b4601db37d2b668ea50a715e5b0b38e95d16f3dec41a282bfaacf743a531ef6b56f9b688bdbb7d7f8acc56bdd1d77c SHA512 7e345059205f8753d7d89a22091316f5a529e5afedd82f7a03acbe494035479ef28731cc2b91e8d46058ce638a0e420db8c5f57fcedfcc39b6d07de5eda86f93
diff --git a/sys-auth/solo1/metadata.xml b/sys-auth/solo1/metadata.xml
deleted file mode 100644
index 2aad2c45a6fd..000000000000
--- a/sys-auth/solo1/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- The command-line tool 'solo1' provided by this package can be used to reset
- a SoloKeys Solo 1, set/change the PIN, generate credentials, interact
- with the on-board TRNG, update the firmware, and more. See the output
- of 'solo1 key --help' for more information.
- </longdescription>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">solokeys/solo1-cli</remote-id>
- <remote-id type="pypi">solo1</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/solo1/solo1-0.1.1-r1.ebuild b/sys-auth/solo1/solo1-0.1.1-r1.ebuild
deleted file mode 100644
index 030f61b14a68..000000000000
--- a/sys-auth/solo1/solo1-0.1.1-r1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-DISTUTILS_USE_PEP517=flit
-
-inherit distutils-r1 eapi9-ver pypi
-
-DESCRIPTION="CLI and Python library for SoloKeys Solo 1"
-HOMEPAGE="https://github.com/solokeys/solo1-cli"
-
-LICENSE="Apache-2.0 MIT"
-SLOT="0"
-KEYWORDS="amd64 ~riscv"
-
-RDEPEND=">=dev-python/click-7.1.0[${PYTHON_USEDEP}]
- dev-python/cryptography[${PYTHON_USEDEP}]
- dev-python/ecdsa[${PYTHON_USEDEP}]
- dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
- dev-python/intelhex[${PYTHON_USEDEP}]
- dev-python/pyserial[${PYTHON_USEDEP}]
- dev-python/pyusb[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]"
-
-pkg_postinst() {
- if ver_replacing -lt 0.1.1; then
- ewarn "Note that since version 0.1.1 the CLI executable is called '${PN}' rather than 'solo'"
- ewarn "The old name can still be used for now but is deprecated"
- fi
-}
diff --git a/sys-auth/ssh-import-id/Manifest b/sys-auth/ssh-import-id/Manifest
deleted file mode 100644
index 59eced6b8f3b..000000000000
--- a/sys-auth/ssh-import-id/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ssh-import-id-5.11.tar.gz 146064 BLAKE2B d869ec480d224aa906ef08b5b9acfbf9324d67bffafadcf1c0adae108ad53e76cdfbcf0d1905a947bda5df507fbd69e7ee121890bc48e452ca67c5acd92ac18c SHA512 49703b8b9c127f13bf0626fd013318b9498ec8a67a060fb7607c7a1894da3e3e3e7e995c9b68af8375237f4031d06abda20f2a9a73a1fabbe33055f2f434716b
diff --git a/sys-auth/ssh-import-id/metadata.xml b/sys-auth/ssh-import-id/metadata.xml
deleted file mode 100644
index a8d5f70543c9..000000000000
--- a/sys-auth/ssh-import-id/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <stabilize-allarches/>
- <upstream>
- <remote-id type="launchpad">ssh-import-id</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/ssh-import-id/ssh-import-id-5.11-r1.ebuild b/sys-auth/ssh-import-id/ssh-import-id-5.11-r1.ebuild
deleted file mode 100644
index e9b6d8e8c484..000000000000
--- a/sys-auth/ssh-import-id/ssh-import-id-5.11-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-
-DESCRIPTION="Utility to securely retrieve an SSH public key and install it locally"
-HOMEPAGE="https://launchpad.net/ssh-import-id"
-SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="
- dev-python/distro[${PYTHON_USEDEP}]
-"
-
-src_install() {
- distutils-r1_src_install
- doman usr/share/man/man1/ssh-import-id.1
-}
diff --git a/sys-auth/ssh-ldap-pubkey/Manifest b/sys-auth/ssh-ldap-pubkey/Manifest
deleted file mode 100644
index 4a42d309fcbe..000000000000
--- a/sys-auth/ssh-ldap-pubkey/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ssh-ldap-pubkey-1.4.0.tar.gz 15461 BLAKE2B 8e78fd6a5fa76ca97e813c95c9cbfefc3d40024cb31b8992de0c44770592f5abc7d8f0a4673905456dbe9a4272c1ce9a9e12bec69d9f8fa2f32a9b7a1895b978 SHA512 a62929b47f46f18936fcc7c233afaee43f0cef5f7a8de15304986205f98c2644a18f9c0dcabb35598f1cc485b8c4dbeb8b2f07cb2c3dcbb6b271a276aebf88e7
diff --git a/sys-auth/ssh-ldap-pubkey/metadata.xml b/sys-auth/ssh-ldap-pubkey/metadata.xml
deleted file mode 100644
index b13582d25958..000000000000
--- a/sys-auth/ssh-ldap-pubkey/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
- </maintainer>
- <upstream>
- <bugs-to>https://github.com/jirutka/ssh-ldap-pubkey/issues</bugs-to>
- <remote-id type="github">jirutka/ssh-ldap-pubkey</remote-id>
- </upstream>
- <use>
- <flag name="schema">Install a copy of the LPK schema, only needed on LDAP servers.</flag>
- </use>
-</pkgmetadata>
diff --git a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.4.0-r1.ebuild b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.4.0-r1.ebuild
deleted file mode 100644
index 851a8bdb49d2..000000000000
--- a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit distutils-r1
-
-DESCRIPTION="Utility to manage SSH public keys stored in LDAP"
-HOMEPAGE="https://github.com/jirutka/ssh-ldap-pubkey"
-
-if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://github.com/jirutka/${PN}/${PN}.git"
-
- inherit git-r3
-else
- SRC_URI="https://github.com/jirutka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="schema"
-
-RDEPEND="dev-python/docopt[${PYTHON_USEDEP}]
- >=dev-python/python-ldap-3.0[${PYTHON_USEDEP}]
- virtual/logger"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest-describe[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )"
-
-DOCS=( README.md CHANGELOG.adoc )
-
-distutils_enable_tests pytest
-
-python_test() {
- epytest -p pytest-describe
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- if use schema; then
- insinto /etc/openldap/schema
- doins etc/openssh-lpk.schema
- fi
-
- local MY_DOCDIR="/usr/share/doc/${PF}/examples"
- insinto "${MY_DOCDIR}"
- doins etc/ldap.conf
-
- # We don't want to compress this small file to allow user
- # to diff configuration against upstream's default
- docompress -x "${MY_DOCDIR}"
-}
diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest
deleted file mode 100644
index d7a7848f243d..000000000000
--- a/sys-auth/sssd/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-DIST sssd-2.12.0.tar.gz 9739617 BLAKE2B d5629a24ee6db3e0a7a205a387acb01d0cc102b6bfc1131a208ea03c609941dd5ccfefd790ca1dc10f6e57d698828ff38364be9c8f6a7f7aeaec4b8a07346494 SHA512 3bd90a88a43019b00d3f0a674ef4d2473bf6895e749a54bec8ac1661e7d289083e0cbd64846dacc8bdd4b2447f171dddb2d0ba108962dbd862bce86c2247b038
-DIST sssd-2.12.0.tar.gz.asc 833 BLAKE2B ffb95b672fd5b63f6147b4c4e85ee04c260eb2fa01c90ed52e04bb5c8e1bba76fead5dca1343a1d8c53d69d36c1145378c18f01fe86896f52dd64a1ed7c1d973 SHA512 b4a7696969f2c0a034ef01eaa50282556e3c07c0be53088d9ce5cb3f24e2dc5428fe8ad2f2f6aca7903a16e2d39591f32b04ca76b16662d24ae64cea15658684
-DIST sssd-2.13.0.tar.gz 9127914 BLAKE2B d180c53dfaf74137b3208ecba1e8b58ae6fa8bf5fd122ceb362ab382bd34904871857dbbc8f7b1fef858c9220772495d1262c7348c11beae432985c368900334 SHA512 3d900d7a5538114b888c57a5f5a555f6200cf077881c02b4d9b9af33d590bfd71fa296513e38343ad7d96447f5fe2ed69562ccd9a80bb3eed0dec890461da777
-DIST sssd-2.13.0.tar.gz.asc 833 BLAKE2B 08f13c3634ffb2ef30f8cf8ca3302e2c98bc8f9894141886f17762c3744e8efaeb9ee9d4e51d3c20afc00e0210c73b22b0a822f698313762bfe54bbfc8e8e23c SHA512 c12839860d444f223ee0a55d135cb49725287463f7aa12e6f854fd3565f2ce750b1526a8275e5399b64aa1ef59f0668b3a5ec745b786cc9265c58f77fa059464
-DIST sssd-2.9.8.tar.gz 9330244 BLAKE2B f5f88287b4bf7936e56e44c9ba7eba728c8546663304f9c6881d5bb427ff5f3dfb635536110f198439b41b481a7b9a2980138acd0d90d7334d439559425d9170 SHA512 9b10cb5e343d32402a437dab3304c16596e9eb7b51a452ca3e2b3fea4aa8dc879abe06a57ccc716bece8024847211abf5affa83e1d2ca2cac101132133a6619a
-DIST sssd-2.9.8.tar.gz.asc 833 BLAKE2B 793567f60c0ca92cf1b053e762e14ca51c046d24dfeafe2a1bdab47d8cca1bee8e2bcdd743c58dbff14ceffb6ccfe7eff6c64bc10871345bf6ba0b7a1ed73588 SHA512 a05f2a48cb278adc746ce1e2d786a165080a69dfc7430b714ffbd6ebc83464e63983d6468867ec9f0438e7ed3f8ceff962a868c9daed1c4579c31feb85c8373c
-DIST sssd-2.9.9.tar.gz 8660247 BLAKE2B e861818f53920f816bea28aa9e46a403e7c0d9d3e4d176953e71779b5eb471d6562d626fe2e08de1f7bc930404c60375d529362e1bdaf6245f52079da85a3c08 SHA512 218d2f60bfa64d496c26df9d02ee950ed27aff46651ea2c85f123ae7f642f1e9c93f4133a4ab8606066cdb6390799f7643806ba4ac27322aea7838ebf2793545
-DIST sssd-2.9.9.tar.gz.asc 833 BLAKE2B 12821af3c030ba0092bb4473b8ad7bccc7d3ca630ff13f10e996fab6127abaaff7db1aa3888bb535c11d7576bb021568fab27e7b4742376254d3b3a06ef3ff21 SHA512 fbb9e05bfa3e82a2df9d2a06643321711ec4bf7a8642ad04fe3060fa3db6a3279cd1df6367d7451ad852bf82c00bab01cbe648e8d4d93885d46b1cdd4640b7f5
diff --git a/sys-auth/sssd/files/sssd-2.10.0_beta2-fix-systemd-systemconfdir.patch b/sys-auth/sssd/files/sssd-2.10.0_beta2-fix-systemd-systemconfdir.patch
deleted file mode 100644
index 9959199d223b..000000000000
--- a/sys-auth/sssd/files/sssd-2.10.0_beta2-fix-systemd-systemconfdir.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
-index c0efc3ad1..07fef0c1a 100644
---- a/src/conf_macros.m4
-+++ b/src/conf_macros.m4
-@@ -227,14 +227,14 @@ AC_DEFUN([WITH_SYSTEMD_CONF_DIR],
- if test x"$with_systemdconfdir" != x; then
- systemdconfdir=$with_systemdconfdir
- else
-- pkgconfigdir=${prefix}$($PKG_CONFIG --variable=systemdsystemconfdir systemd)
-+ pkgconfigdir=$($PKG_CONFIG --variable=systemdsystemconfdir systemd)
- if test x"$pkgconfigdir" = x; then
- AC_MSG_ERROR([Could not detect systemd config directory])
- fi
-- if test "${pkgconfigdir:0:${#prefix}}" = "${prefix}"; then
-+ if test "${pkgconfigdir:0:${#sysconfdir}}" = "${sysconfdir}"; then
- systemdconfdir=${pkgconfigdir}
- else
-- systemdconfdir=${prefix}${pkgconfigdir}
-+ systemdconfdir=${sysconfdir}${pkgconfigdir}
- fi
- fi
- AC_SUBST(systemdconfdir, [$systemdconfdir/sssd.service.d])
diff --git a/sys-auth/sssd/files/sssd-2.12.0-dont-clobber-getpwnam-buffer.patch b/sys-auth/sssd/files/sssd-2.12.0-dont-clobber-getpwnam-buffer.patch
deleted file mode 100644
index f9923d96caa5..000000000000
--- a/sys-auth/sssd/files/sssd-2.12.0-dont-clobber-getpwnam-buffer.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From 0262207f76088f6801e055b64125b2a1006de1e2 Mon Sep 17 00:00:00 2001
-From: Christopher Byrne <salah.coronya@gmail.com>
-Date: Sun, 1 Mar 2026 20:05:21 -0600
-Subject: [PATCH] src/sss_client/common.c: Use getpwnam_r to avoid clobbering
- struct passwd
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-If something else uses PAM (like openrc, see
-https://github.com/OpenRC/openrc/pull/984) and getpwnam, and calls
-something like pam_open_session, sssd's call to getpwnam in
-init_sssd_ids clobbers the cached value by the other program.
-
-Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
-Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
-Reviewed-by: Tomáš Halman <thalman@redhat.com>
----
- src/sss_client/common.c | 51 +++++++++++++++++++++++++++++++++++++----
- 1 file changed, 47 insertions(+), 4 deletions(-)
-
-diff --git a/src/sss_client/common.c b/src/sss_client/common.c
-index 094936d8f..8a2e693da 100644
---- a/src/sss_client/common.c
-+++ b/src/sss_client/common.c
-@@ -148,11 +148,54 @@ static void init_sssd_ids(void)
- /* 'libnss_sss' doesn't resolve SSSD_USER,
- * so no need to set '_SSS_LOOPS'
- */
-- struct passwd *pwd = getpwnam(SSSD_USER);
-- if (pwd != NULL) {
-- sss_sssd_uid = pwd->pw_uid;
-- sss_sssd_gid = pwd->pw_gid;
-+ struct passwd pwd;
-+ struct passwd *result = NULL;
-+ long sc_bufsize;
-+ size_t bufsize;
-+ char *buf;
-+ char *newbuf;
-+ int error;
-+
-+ sc_bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);
-+
-+ if (sc_bufsize > 0)
-+ bufsize = (size_t)sc_bufsize;
-+ else {
-+ bufsize = 16384;
-+ }
-+
-+ buf = malloc(bufsize);
-+
-+ if (buf == NULL) {
-+ return;
- }
-+
-+ do {
-+ error = getpwnam_r(SSSD_USER, &pwd, buf, bufsize, &result);
-+ if (result == NULL) {
-+ if (error == ERANGE) {
-+ bufsize += 4096;
-+
-+ if (bufsize >= 65536) {
-+ break;
-+ }
-+
-+ newbuf = realloc(buf, bufsize);
-+
-+ if (newbuf == NULL) {
-+ break;
-+ }
-+
-+ buf = newbuf;
-+ continue;
-+ }
-+ } else {
-+ sss_sssd_uid = result->pw_uid;
-+ sss_sssd_gid = result->pw_gid;
-+ }
-+ } while (result == NULL && error == ERANGE);
-+
-+ free(buf);
- }
- #endif
- #endif /* SSSD_NON_ROOT_USER */
---
-2.52.0
-
diff --git a/sys-auth/sssd/files/sssd-2.8.2-krb5_pw_locked.patch b/sys-auth/sssd/files/sssd-2.8.2-krb5_pw_locked.patch
deleted file mode 100644
index a8bd397cd063..000000000000
--- a/sys-auth/sssd/files/sssd-2.8.2-krb5_pw_locked.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
-index a1c0b36..207c010 100644
---- a/src/providers/krb5/krb5_auth.c
-+++ b/src/providers/krb5/krb5_auth.c
-@@ -1037,6 +1037,7 @@ static void krb5_auth_done(struct tevent_req *subreq)
- case ERR_ACCOUNT_LOCKED:
- state->pam_status = PAM_PERM_DENIED;
- state->dp_err = DP_ERR_OK;
-+ state->pd->account_locked = true;
- ret = EOK;
- goto done;
-
diff --git a/sys-auth/sssd/files/sssd-2.9.6-conditional-python-install.patch b/sys-auth/sssd/files/sssd-2.9.6-conditional-python-install.patch
deleted file mode 100644
index ff479dee7f5b..000000000000
--- a/sys-auth/sssd/files/sssd-2.9.6-conditional-python-install.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff '--color=auto' -Naur a/Makefile.am b/Makefile.am
---- a/Makefile.am 2024-12-05 12:16:16.000000000 +0000
-+++ b/Makefile.am 2025-01-14 12:31:45.831435116 +0000
-@@ -21,7 +21,11 @@
- endif
-
- SUBDIRS += . src/tests/cwrap src/tests/intg src/tests/test_CA \
-- src/tests/test_ECC_CA src/tools/analyzer
-+ src/tests/test_ECC_CA
-+
-+if BUILD_PYTHON_BINDINGS
-+SUBDIRS += src/tools/analyzer
-+endif
-
- # Some old versions of automake don't define builddir
- builddir ?= .
diff --git a/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch b/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch
deleted file mode 100644
index 28475db41373..000000000000
--- a/sys-auth/sssd/files/sssd-2.9.7-kerberos-1-22.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4
-index 90727185b..3501b6b71 100644
---- a/src/external/pac_responder.m4
-+++ b/src/external/pac_responder.m4
-@@ -23,7 +23,8 @@ then
- Kerberos\ 5\ release\ 1.18* | \
- Kerberos\ 5\ release\ 1.19* | \
- Kerberos\ 5\ release\ 1.20* | \
-- Kerberos\ 5\ release\ 1.21*)
-+ Kerberos\ 5\ release\ 1.21* | \
-+ Kerberos\ 5\ release\ 1.22*)
- krb5_version_ok=yes
- AC_MSG_RESULT([yes])
- ;;
diff --git a/sys-auth/sssd/files/sssd-2.9.8-r1-pam_fix_out-of-bounds_read_in_pam_passkey_child_read_data.patch b/sys-auth/sssd/files/sssd-2.9.8-r1-pam_fix_out-of-bounds_read_in_pam_passkey_child_read_data.patch
deleted file mode 100644
index a0c98e1be965..000000000000
--- a/sys-auth/sssd/files/sssd-2.9.8-r1-pam_fix_out-of-bounds_read_in_pam_passkey_child_read_data.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-From 73e53fbe95435569ee8620f651f8936b519098ae Mon Sep 17 00:00:00 2001
-From: Xu Raoqing <609179072@qq.com>
-Date: Tue, 21 Apr 2026 16:49:05 +0800
-Subject: [PATCH 1/2] pam: fix out-of-bounds read in
- pam_passkey_child_read_data
-
-The pam_passkey_child_read_data() function failed to properly handle
-raw bytes received from a pipe. The data was treated as a NUL-terminated
-C string without explicit termination, resulting in an out-of-bounds read
-when processed by snprintf() with %s format.
-
-Fix by using memcpy instead of snprintf and explicitly NUL-terminating
-the buffer. Add checks for buf_len == 0 or buf == NULL to avoid undefined
-behavior. Check the return value of sss_authtok_set_passkey_reply and
-propagate errors properly.
-
-Fixes: CVE-2026-6245
-
-:relnote: Security fix for CVE-2026-6245: out-of-bounds read in PAM passkey responder
-
-Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
-Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
-Reviewed-by: Sumit Bose <sbose@redhat.com>
-(cherry picked from commit 550b08cabe4dd5508c7ea74f634869374204d63f)
----
- src/responder/pam/pamsrv_passkey.c | 18 ++++++++++++++----
- 1 file changed, 14 insertions(+), 4 deletions(-)
-
-diff --git a/src/responder/pam/pamsrv_passkey.c b/src/responder/pam/pamsrv_passkey.c
-index ab8da72eee0..d1446868440 100644
---- a/src/responder/pam/pamsrv_passkey.c
-+++ b/src/responder/pam/pamsrv_passkey.c
-@@ -814,16 +814,26 @@ static void pam_passkey_child_read_data(struct tevent_req *subreq)
- return;
- }
-
-- str = malloc(sizeof(char) * buf_len);
-- if (str == NULL) {
-+ if (buf_len == 0 || buf == NULL) {
-+ tevent_req_error(req, EINVAL);
- return;
- }
-
-- snprintf(str, buf_len, "%s", buf);
-+ str = malloc(buf_len + 1);
-+ if (str == NULL) {
-+ tevent_req_error(req, ENOMEM);
-+ return;
-+ }
-
-- sss_authtok_set_passkey_reply(state->pd->authtok, str, 0);
-+ memcpy(str, buf, buf_len);
-+ str[buf_len] = '\0';
-
-+ ret = sss_authtok_set_passkey_reply(state->pd->authtok, str, 0);
- free(str);
-+ if (ret != EOK) {
-+ tevent_req_error(req, ret);
-+ return;
-+ }
-
- tevent_req_done(req);
- return;
-
-From 50436ace215bf46ccbfcb070fd3565a19ea223bc Mon Sep 17 00:00:00 2001
-From: Alexey Tikhonov <atikhono@redhat.com>
-Date: Wed, 22 Apr 2026 13:03:48 +0200
-Subject: [PATCH 2/2] PAM/PASSKEY: avoid unnecessary memcpy
-
-`sss_authtok_set_passkey_reply()` -> `sss_authtok_set_string()` handles
-non NULL-terminated buffer correctly.
-
-Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
-Reviewed-by: Sumit Bose <sbose@redhat.com>
-(cherry picked from commit 3b0b16e96728b3d2f8ddd8c0ee67b92ec210d44f)
----
- src/responder/pam/pamsrv_passkey.c | 16 +++-------------
- 1 file changed, 3 insertions(+), 13 deletions(-)
-
-diff --git a/src/responder/pam/pamsrv_passkey.c b/src/responder/pam/pamsrv_passkey.c
-index d1446868440..57f37110c8d 100644
---- a/src/responder/pam/pamsrv_passkey.c
-+++ b/src/responder/pam/pamsrv_passkey.c
-@@ -801,7 +801,6 @@ static void pam_passkey_child_read_data(struct tevent_req *subreq)
- {
- uint8_t *buf;
- ssize_t buf_len;
-- char *str;
- struct tevent_req *req = tevent_req_callback_data(subreq,
- struct tevent_req);
- struct pam_passkey_auth_send_state *state = tevent_req_data(req, struct pam_passkey_auth_send_state);
-@@ -814,22 +813,13 @@ static void pam_passkey_child_read_data(struct tevent_req *subreq)
- return;
- }
-
-- if (buf_len == 0 || buf == NULL) {
-+ if (buf_len <= 0 || buf == NULL) {
- tevent_req_error(req, EINVAL);
- return;
- }
-
-- str = malloc(buf_len + 1);
-- if (str == NULL) {
-- tevent_req_error(req, ENOMEM);
-- return;
-- }
--
-- memcpy(str, buf, buf_len);
-- str[buf_len] = '\0';
--
-- ret = sss_authtok_set_passkey_reply(state->pd->authtok, str, 0);
-- free(str);
-+ ret = sss_authtok_set_passkey_reply(state->pd->authtok,
-+ (const char*)buf, (size_t)buf_len);
- if (ret != EOK) {
- tevent_req_error(req, ret);
- return;
diff --git a/sys-auth/sssd/files/sssd.conf b/sys-auth/sssd/files/sssd.conf
deleted file mode 100644
index 33dab3ddcd5d..000000000000
--- a/sys-auth/sssd/files/sssd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-SSSD_OPTIONS=""
diff --git a/sys-auth/sssd/metadata.xml b/sys-auth/sssd/metadata.xml
deleted file mode 100644
index e0d916e966d7..000000000000
--- a/sys-auth/sssd/metadata.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
- </maintainer>
- <maintainer type="person" proxied="yes">
- <email>salah.coronya@gmail.com</email>
- <name>Christopher Byrne</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <use>
- <flag name="acl"> Build and use the cifsidmap plugin</flag>
- <flag name="netlink">Add support for netlink protocol via <pkg>dev-libs/libnl</pkg></flag>
- <flag name="nfsv4">Add support for the nfsv4 idmapd plugin provided by <pkg>net-fs/nfs-utils</pkg></flag>
- <flag name="openid">Add support for login via OpenID Connect, such as Keycloak</flag>
- <flag name="passkey">Add support for FIDO2 passkeys"</flag>
- <flag name="samba">Add Privileged Attribute Certificate Support for Kerberos</flag>
- <flag name="systemtap">Enable SystemTap/DTrace tracing</flag>
- </use>
- <upstream>
- <remote-id type="cpe">cpe:/a:fedoraproject:sssd</remote-id>
- <remote-id type="github">SSSD/sssd</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/sssd/sssd-2.12.0-r2.ebuild b/sys-auth/sssd/sssd-2.12.0-r2.ebuild
deleted file mode 100644
index 41abb6cd68ce..000000000000
--- a/sys-auth/sssd/sssd-2.12.0-r2.ebuild
+++ /dev/null
@@ -1,377 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Ukrainian translation causes compile failure, so skip it for now
-#PLOCALES="ca de es fr ja ko pt_BR ru sv tr uk"
-PLOCALES="ca de es fr ja ko pt_BR ru sv tr"
-PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN"
-PLOCALE_BACKUP="sv"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit autotools fcaps linux-info multilib-minimal optfeature plocale \
- python-single-r1 pam systemd tmpfiles udev toolchain-funcs verify-sig
-
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
-HOMEPAGE="https://github.com/SSSD/sssd"
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz
- https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/SSSD/sssd.git"
- EGIT_BRANCH="master"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="doc +netlink nfsv4 nls passkey python samba selinux systemd systemtap test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}]
- app-crypt/p11-kit
- >=dev-libs/ding-libs-0.2
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
- dev-libs/jansson:=
- dev-libs/libpcre2:=
- dev-libs/libunistring:=[${MULTILIB_USEDEP}]
- >=dev-libs/popt-1.16
- >=dev-libs/openssl-1.0.2:=
- >=net-dns/bind-9.9[gssapi]
- >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}]
- >=net-nds/openldap-2.4.30:=[sasl,experimental]
- net-fs/cifs-utils[acl]
- >=sys-apps/dbus-1.6
- >=sys-apps/keyutils-1.5:=
- sys-libs/libcap
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.0.7
- >=sys-libs/tdb-1.2.9
- >=sys-libs/tevent-0.9.16
- virtual/ldb:=
- virtual/libintl
- netlink? ( dev-libs/libnl:3 )
- nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 )
- nls? ( >=sys-devel/gettext-0.18 )
- passkey? ( dev-libs/libfido2:= )
- python? (
- ${PYTHON_DEPS}
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
- )
- samba? ( >=net-fs/samba-4.10.2[winbind] )
- selinux? (
- >=sys-libs/libselinux-2.1.9
- >=sys-libs/libsemanage-2.1
- )
- systemd? (
- sys-apps/systemd:=
- sys-apps/util-linux
- )
- systemtap? ( dev-debug/systemtap )"
-RDEPEND="${DEPEND}
- acct-user/sssd
- acct-group/sssd
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
-DEPEND+="
- sys-apps/shadow"
-BDEPEND="
- acct-user/sssd
- acct-group/sssd
- sys-libs/libcap
- virtual/pkgconfig
- ${PYTHON_DEPS}
- doc? ( app-text/doxygen )
- nls? ( app-text/po4a
- sys-devel/gettext )
- test? (
- dev-libs/check
- dev-libs/softhsm:2
- dev-util/cmocka
- net-libs/gnutls[pkcs11,tools]
- sys-libs/libfaketime
- sys-libs/nss_wrapper
- sys-libs/pam_wrapper
- sys-libs/uid_wrapper
- )
- app-text/docbook-xml-dtd:4.4
- >=dev-libs/libxslt-1.1.26
- verify-sig? ( sec-keys/openpgp-keys-sssd )
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc
-
-CONFIG_CHECK="~KEYS"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
- "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
- "${FILESDIR}/${PN}-2.10.0_beta2-fix-systemd-systemconfdir.patch"
- "${FILESDIR}/${PN}-2.12.0-dont-clobber-getpwnam-buffer.patch"
-)
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/ipa_hbac.h
- /usr/include/sss_idmap.h
- /usr/include/sss_nss_idmap.h
- # --with-ifp
- /usr/include/sss_sifp.h
- /usr/include/sss_sifp_dbus.h
- # from 1.15.3
- /usr/include/sss_certmap.h
-)
-
-# mimic upstream's setcap here, they're liable to get lost
-# https://github.com/SSSD/sssd/blob/a6d0f0cf484aeeead535b7138d1334b309c61a4e/Makefile.am#L5567
-FILECAPS=(
- cap_dac_read_search=p "usr/libexec/sssd/ldap_child"
- --
- cap_dac_read_search,cap_setuid,cap_setgid=p "usr/libexec/sssd/krb5_child"
- --
- cap_dac_read_search=p "usr/libexec/sssd/sssd_pam"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- plocale_get_locales > src/man/po/LINGUAS || die
-
- sed -i \
- -e "/_langs]/ s/ .*//" \
- src/man/po/po4a.cfg \
- || die
- enable_locale() {
- local locale=${1}
-
- sed -i \
- -e "/_langs]/ s/$/ ${locale}/" \
- src/man/po/po4a.cfg \
- || die
- }
-
- plocale_for_each_locale enable_locale
-
- PLOCALES="${PLOCALES_BIN}"
- plocale_get_locales > po/LINGUAS || die
-
- sed -i \
- -e 's:/var/run:/run:' \
- src/examples/logrotate \
- || die
-
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631
- sed -i \
- -e '/^\s*pam-srv-tests[ \\]*$/d' \
- Makefile.am \
- || die
-
- # requires valgrind headers installed, see
- # https://github.com/SSSD/sssd/pull/7845
- sed -i \
- -e '/^\s*test_iobuf[ \\]*$/d' \
- Makefile.am \
- || die
-
- eautoreconf
-
- multilib_copy_sources
-}
-
-src_configure() {
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myconf=()
-
- myconf+=(
- --libexecdir="${EPREFIX}"/usr/libexec
- --localstatedir="${EPREFIX}"/var
- --runstatedir="${EPREFIX}"/run
- --sbindir="${EPREFIX}"/usr/sbin
- --with-pid-path="${EPREFIX}"/run/sssd
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
- --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
- --with-db-path="${EPREFIX}"/var/lib/sss/db
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
- --with-log-path="${EPREFIX}"/var/log/sssd
- --with-tmpfilesdir=/usr/lib/tmpfiles.d
- --with-udevrulesdir="$(get_udevdir)/rules.d"
- --with-kcm
- --enable-kcm-renewal
- --with-os=gentoo
- --disable-rpath
- --disable-static
- # Valgrind is only used for tests
- --disable-valgrind
- $(use_with samba)
- --with-smb-idmap-interface-version=6
- --enable-cifs-idmap-plugin
- $(multilib_native_use_with selinux)
- --enable-krb5-locator-plugin
- $(use_enable samba pac-responder)
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
- $(use_enable nls)
- $(multilib_native_use_with netlink libnl)
- --with-manpages
- --with-sudo
- $(multilib_native_with autofs)
- $(multilib_native_with ssh)
- --without-oidc-child
- $(multilib_native_with passkey)
- --with-subid
- $(use_enable systemtap)
- --without-python2-bindings
- $(multilib_native_use_with python python3-bindings)
- # Annoyingly configure requires that you pick systemd XOR sysv
- --with-initscript=$(usex systemd systemd sysv)
- --with-sssd-user=sssd
- KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
- CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0"
- )
-
- use systemd && myconf+=(
- --with-systemdunitdir=$(systemd_get_systemunitdir)
- --with-syslog=$(usex systemd journald syslog)
- )
-
- if ! multilib_is_native_abi; then
- # work-around all the libraries that are used for CLI and server
- myconf+=(
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
- # ldb headers are fine since native needs it
- # ldb lib fails... but it does not seem to bother
- {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
- {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' '
-
- # use native include path for dbus (needed for build)
- DBUS_CFLAGS="${native_dbus_cflags}"
-
- # non-pkgconfig checks
- ac_cv_lib_ldap_ldap_search=yes
- --without-kcm
- --without-manpages
- )
- fi
-
- econf "${myconf[@]}"
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- use doc && emake docs
- else
- emake libnss_sss.la pam_sss.la pam_sss_gss.la
- emake sssd_krb5_locator_plugin.la
- use samba && emake sssd_pac_plugin.la
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- local -x CK_TIMEOUT_MULTIPLIER=10
- emake check VERBOSE=yes
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake -j1 DESTDIR="${D}" install
- if use python; then
- python_fix_shebang "${ED}"
- python_optimize
- fi
- else
- # easier than playing with automake...
- dopammod .libs/pam_sss.so
- dopammod .libs/pam_sss_gss.so
-
- into /
- dolib.so .libs/libnss_sss.so*
-
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doexe .libs/sssd_krb5_locator_plugin.so
-
- if use samba; then
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata
- doexe .libs/sssd_pac_plugin.so
- fi
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- insinto /etc/sssd
- insopts -m600
- doins src/examples/sssd-example.conf
-
- insinto /etc/logrotate.d
- insopts -m644
- newins src/examples/logrotate sssd
-
- newconfd "${FILESDIR}"/sssd.conf sssd
-
- keepdir /var/lib/sss/db
- keepdir /var/lib/sss/deskprofile
- keepdir /var/lib/sss/gpo_cache
- keepdir /var/lib/sss/keytabs
- keepdir /var/lib/sss/mc
- keepdir /var/lib/sss/pipes/private
- keepdir /var/lib/sss/pubconf/krb5.include.d
- keepdir /var/lib/sss/secrets
- keepdir /var/log/sssd
- keepdir /etc/sssd/conf.d
- keepdir /etc/sssd/pki
-
- # strip empty dirs
- if ! use doc; then
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die
- fi
-
- rm -r "${ED}"/run || die
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- udev_reload
- tmpfiles_process sssd-tmpfiles.conf
- echo
- elog "You must set up sssd.conf (default installed into /etc/sssd)"
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
- elog "features."
- echo
- optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli
-
- if ! use python; then
- echo
- ewarn "sssctl analyze will not work because the python USE flag is disabled."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/sssd/sssd-2.13.0-r1.ebuild b/sys-auth/sssd/sssd-2.13.0-r1.ebuild
deleted file mode 100644
index 26fa07823992..000000000000
--- a/sys-auth/sssd/sssd-2.13.0-r1.ebuild
+++ /dev/null
@@ -1,380 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="ca de es fr ja ko pt_BR ru sv tr"
-PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN"
-PLOCALE_BACKUP="sv"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit autotools fcaps linux-info multilib-minimal optfeature plocale \
- python-single-r1 pam systemd tmpfiles udev toolchain-funcs verify-sig
-
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
-HOMEPAGE="https://github.com/SSSD/sssd"
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz
- https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/SSSD/sssd.git"
- EGIT_BRANCH="master"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="doc +netlink nfsv4 nls openid passkey python samba selinux systemd systemtap test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}]
- app-crypt/p11-kit
- >=dev-libs/ding-libs-0.2
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
- dev-libs/jansson:=
- dev-libs/libpcre2:=
- dev-libs/libunistring:=[${MULTILIB_USEDEP}]
- >=dev-libs/popt-1.16
- >=dev-libs/openssl-1.0.2:=
- >=net-dns/bind-9.9[gssapi]
- >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}]
- >=net-nds/openldap-2.4.30:=[sasl,experimental]
- net-fs/cifs-utils[acl]
- >=sys-apps/dbus-1.6
- >=sys-apps/keyutils-1.5:=
- sys-libs/libcap:=[${MULTILIB_USEDEP}]
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.0.7
- >=sys-libs/tdb-1.2.9
- >=sys-libs/tevent-0.9.16
- virtual/ldb:=
- virtual/libintl
- netlink? ( dev-libs/libnl:3 )
- nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 )
- nls? ( >=sys-devel/gettext-0.18 )
- openid? (
- dev-libs/jose
- net-misc/curl
- )
- passkey? ( dev-libs/libfido2:= )
- python? (
- ${PYTHON_DEPS}
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
- )
- samba? ( >=net-fs/samba-4.10.2[winbind] )
- selinux? (
- >=sys-libs/libselinux-2.1.9
- >=sys-libs/libsemanage-2.1
- )
- systemd? (
- sys-apps/systemd:=
- sys-apps/util-linux
- )
- systemtap? ( dev-debug/systemtap )"
-RDEPEND="${DEPEND}
- acct-user/sssd
- acct-group/sssd
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
-DEPEND+="
- sys-apps/shadow"
-BDEPEND="
- acct-user/sssd
- acct-group/sssd
- sys-libs/libcap
- virtual/pkgconfig
- ${PYTHON_DEPS}
- doc? ( app-text/doxygen )
- nls? ( app-text/po4a
- sys-devel/gettext )
- test? (
- app-alternatives/bc
- dev-libs/check
- dev-libs/softhsm:2
- dev-util/cmocka
- net-libs/gnutls[pkcs11,tools]
- sys-libs/libfaketime
- sys-libs/nss_wrapper
- sys-libs/pam_wrapper
- sys-libs/uid_wrapper
- )
- app-text/docbook-xml-dtd:4.4
- >=dev-libs/libxslt-1.1.26
- verify-sig? ( sec-keys/openpgp-keys-sssd )
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc
-
-CONFIG_CHECK="~KEYS"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
- "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
- "${FILESDIR}/${PN}-2.10.0_beta2-fix-systemd-systemconfdir.patch"
-)
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/ipa_hbac.h
- /usr/include/sss_idmap.h
- /usr/include/sss_nss_idmap.h
- # --with-ifp
- /usr/include/sss_sifp.h
- /usr/include/sss_sifp_dbus.h
- # from 1.15.3
- /usr/include/sss_certmap.h
-)
-
-# mimic upstream's setcap here, they're liable to get lost
-# https://github.com/SSSD/sssd/blob/a6d0f0cf484aeeead535b7138d1334b309c61a4e/Makefile.am#L5567
-FILECAPS=(
- cap_dac_read_search=p "usr/libexec/sssd/ldap_child"
- --
- cap_dac_read_search,cap_setuid,cap_setgid=p "usr/libexec/sssd/krb5_child"
- --
- cap_dac_read_search=p "usr/libexec/sssd/sssd_pam"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- plocale_get_locales > src/man/po/LINGUAS || die
-
- sed -i \
- -e "/_langs]/ s/ .*//" \
- src/man/po/po4a.cfg \
- || die
- enable_locale() {
- local locale=${1}
-
- sed -i \
- -e "/_langs]/ s/$/ ${locale}/" \
- src/man/po/po4a.cfg \
- || die
- }
-
- plocale_for_each_locale enable_locale
-
- PLOCALES="${PLOCALES_BIN}"
- plocale_get_locales > po/LINGUAS || die
-
- sed -i \
- -e 's:/var/run:/run:' \
- src/examples/logrotate \
- || die
-
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631
- sed -i \
- -e '/^\s*pam-srv-tests[ \\]*$/d' \
- Makefile.am \
- || die
-
- # requires valgrind headers installed, see
- # https://github.com/SSSD/sssd/pull/7845
- sed -i \
- -e '/^\s*test_iobuf[ \\]*$/d' \
- Makefile.am \
- || die
-
- eautoreconf
-
- multilib_copy_sources
-}
-
-src_configure() {
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myconf=()
-
- myconf+=(
- --libexecdir="${EPREFIX}"/usr/libexec
- --localstatedir="${EPREFIX}"/var
- --runstatedir="${EPREFIX}"/run
- --sbindir="${EPREFIX}"/usr/sbin
- --with-pid-path="${EPREFIX}"/run/sssd
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
- --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
- --with-db-path="${EPREFIX}"/var/lib/sss/db
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
- --with-log-path="${EPREFIX}"/var/log/sssd
- --with-tmpfilesdir=/usr/lib/tmpfiles.d
- --with-udevrulesdir="$(get_udevdir)/rules.d"
- --with-kcm
- --enable-kcm-renewal
- --with-os=gentoo
- --disable-rpath
- --disable-static
- # Valgrind is only used for tests
- --disable-valgrind
- $(use_with samba)
- --with-smb-idmap-interface-version=6
- --enable-cifs-idmap-plugin
- $(multilib_native_use_with selinux)
- --enable-krb5-locator-plugin
- $(use_enable samba pac-responder)
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
- $(use_enable nls)
- $(multilib_native_use_with netlink libnl)
- --with-manpages
- --with-sudo
- $(multilib_native_with autofs)
- $(multilib_native_with ssh)
- $(multilib_native_use_with openid oidc-child)
- $(multilib_native_with passkey)
- --with-subid
- $(use_enable systemtap)
- --without-python2-bindings
- $(multilib_native_use_with python python3-bindings)
- # Annoyingly configure requires that you pick systemd XOR sysv
- --with-initscript=$(usex systemd systemd sysv)
- --with-sssd-user=sssd
- KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
- CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0"
- )
-
- use systemd && myconf+=(
- --with-systemdunitdir=$(systemd_get_systemunitdir)
- --with-syslog=$(usex systemd journald syslog)
- )
-
- if ! multilib_is_native_abi; then
- # work-around all the libraries that are used for CLI and server
- myconf+=(
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
- # ldb headers are fine since native needs it
- # ldb lib fails... but it does not seem to bother
- {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
- {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' '
- JOURNALD_{CFLAGS,LIBS}=' '
-
- # use native include path for dbus (needed for build)
- DBUS_CFLAGS="${native_dbus_cflags}"
-
- # non-pkgconfig checks
- ac_cv_lib_ldap_ldap_search=yes
- --without-kcm
- --without-manpages
- )
- fi
-
- econf "${myconf[@]}"
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- use doc && emake docs
- else
- emake libnss_sss.la pam_sss.la pam_sss_gss.la
- emake sssd_krb5_locator_plugin.la
- use samba && emake sssd_pac_plugin.la
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- local -x CK_TIMEOUT_MULTIPLIER=10
- emake check VERBOSE=yes
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake -j1 DESTDIR="${D}" install
- if use python; then
- python_fix_shebang "${ED}"
- python_optimize
- fi
- else
- # easier than playing with automake...
- dopammod .libs/pam_sss.so
- dopammod .libs/pam_sss_gss.so
-
- into /
- dolib.so .libs/libnss_sss.so*
-
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doexe .libs/sssd_krb5_locator_plugin.so
-
- if use samba; then
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata
- doexe .libs/sssd_pac_plugin.so
- fi
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- insinto /etc/sssd
- insopts -m600
- doins src/examples/sssd-example.conf
-
- insinto /etc/logrotate.d
- insopts -m644
- newins src/examples/logrotate sssd
-
- newconfd "${FILESDIR}"/sssd.conf sssd
-
- keepdir /var/lib/sss/db
- keepdir /var/lib/sss/deskprofile
- keepdir /var/lib/sss/gpo_cache
- keepdir /var/lib/sss/keytabs
- keepdir /var/lib/sss/mc
- keepdir /var/lib/sss/pipes/private
- keepdir /var/lib/sss/pubconf/krb5.include.d
- keepdir /var/lib/sss/secrets
- keepdir /var/log/sssd
- keepdir /etc/sssd/conf.d
- keepdir /etc/sssd/pki
-
- # strip empty dirs
- if ! use doc; then
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die
- fi
-
- rm -r "${ED}"/run || die
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- udev_reload
- tmpfiles_process sssd-tmpfiles.conf
- echo
- elog "You must set up sssd.conf (default installed into /etc/sssd)"
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
- elog "features."
- echo
- optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli
-
- if ! use python; then
- echo
- ewarn "sssctl analyze will not work because the python USE flag is disabled."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/sssd/sssd-2.13.0.ebuild b/sys-auth/sssd/sssd-2.13.0.ebuild
deleted file mode 100644
index 3a1340e9db09..000000000000
--- a/sys-auth/sssd/sssd-2.13.0.ebuild
+++ /dev/null
@@ -1,379 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="ca de es fr ja ko pt_BR ru sv tr"
-PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN"
-PLOCALE_BACKUP="sv"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit autotools fcaps linux-info multilib-minimal optfeature plocale \
- python-single-r1 pam systemd tmpfiles udev toolchain-funcs verify-sig
-
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
-HOMEPAGE="https://github.com/SSSD/sssd"
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz
- https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/SSSD/sssd.git"
- EGIT_BRANCH="master"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="doc +netlink nfsv4 nls openid passkey python samba selinux systemd systemtap test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}]
- app-crypt/p11-kit
- >=dev-libs/ding-libs-0.2
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
- dev-libs/jansson:=
- dev-libs/libpcre2:=
- dev-libs/libunistring:=[${MULTILIB_USEDEP}]
- >=dev-libs/popt-1.16
- >=dev-libs/openssl-1.0.2:=
- >=net-dns/bind-9.9[gssapi]
- >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}]
- >=net-nds/openldap-2.4.30:=[sasl,experimental]
- net-fs/cifs-utils[acl]
- >=sys-apps/dbus-1.6
- >=sys-apps/keyutils-1.5:=
- sys-libs/libcap
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.0.7
- >=sys-libs/tdb-1.2.9
- >=sys-libs/tevent-0.9.16
- virtual/ldb:=
- virtual/libintl
- netlink? ( dev-libs/libnl:3 )
- nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 )
- nls? ( >=sys-devel/gettext-0.18 )
- openid? (
- dev-libs/jose
- net-misc/curl
- )
- passkey? ( dev-libs/libfido2:= )
- python? (
- ${PYTHON_DEPS}
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
- )
- samba? ( >=net-fs/samba-4.10.2[winbind] )
- selinux? (
- >=sys-libs/libselinux-2.1.9
- >=sys-libs/libsemanage-2.1
- )
- systemd? (
- sys-apps/systemd:=
- sys-apps/util-linux
- )
- systemtap? ( dev-debug/systemtap )"
-RDEPEND="${DEPEND}
- acct-user/sssd
- acct-group/sssd
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
-DEPEND+="
- sys-apps/shadow"
-BDEPEND="
- acct-user/sssd
- acct-group/sssd
- sys-libs/libcap
- virtual/pkgconfig
- ${PYTHON_DEPS}
- doc? ( app-text/doxygen )
- nls? ( app-text/po4a
- sys-devel/gettext )
- test? (
- app-alternatives/bc
- dev-libs/check
- dev-libs/softhsm:2
- dev-util/cmocka
- net-libs/gnutls[pkcs11,tools]
- sys-libs/libfaketime
- sys-libs/nss_wrapper
- sys-libs/pam_wrapper
- sys-libs/uid_wrapper
- )
- app-text/docbook-xml-dtd:4.4
- >=dev-libs/libxslt-1.1.26
- verify-sig? ( sec-keys/openpgp-keys-sssd )
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc
-
-CONFIG_CHECK="~KEYS"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
- "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
- "${FILESDIR}/${PN}-2.10.0_beta2-fix-systemd-systemconfdir.patch"
-)
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/ipa_hbac.h
- /usr/include/sss_idmap.h
- /usr/include/sss_nss_idmap.h
- # --with-ifp
- /usr/include/sss_sifp.h
- /usr/include/sss_sifp_dbus.h
- # from 1.15.3
- /usr/include/sss_certmap.h
-)
-
-# mimic upstream's setcap here, they're liable to get lost
-# https://github.com/SSSD/sssd/blob/a6d0f0cf484aeeead535b7138d1334b309c61a4e/Makefile.am#L5567
-FILECAPS=(
- cap_dac_read_search=p "usr/libexec/sssd/ldap_child"
- --
- cap_dac_read_search,cap_setuid,cap_setgid=p "usr/libexec/sssd/krb5_child"
- --
- cap_dac_read_search=p "usr/libexec/sssd/sssd_pam"
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- plocale_get_locales > src/man/po/LINGUAS || die
-
- sed -i \
- -e "/_langs]/ s/ .*//" \
- src/man/po/po4a.cfg \
- || die
- enable_locale() {
- local locale=${1}
-
- sed -i \
- -e "/_langs]/ s/$/ ${locale}/" \
- src/man/po/po4a.cfg \
- || die
- }
-
- plocale_for_each_locale enable_locale
-
- PLOCALES="${PLOCALES_BIN}"
- plocale_get_locales > po/LINGUAS || die
-
- sed -i \
- -e 's:/var/run:/run:' \
- src/examples/logrotate \
- || die
-
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631
- sed -i \
- -e '/^\s*pam-srv-tests[ \\]*$/d' \
- Makefile.am \
- || die
-
- # requires valgrind headers installed, see
- # https://github.com/SSSD/sssd/pull/7845
- sed -i \
- -e '/^\s*test_iobuf[ \\]*$/d' \
- Makefile.am \
- || die
-
- eautoreconf
-
- multilib_copy_sources
-}
-
-src_configure() {
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myconf=()
-
- myconf+=(
- --libexecdir="${EPREFIX}"/usr/libexec
- --localstatedir="${EPREFIX}"/var
- --runstatedir="${EPREFIX}"/run
- --sbindir="${EPREFIX}"/usr/sbin
- --with-pid-path="${EPREFIX}"/run/sssd
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
- --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
- --with-db-path="${EPREFIX}"/var/lib/sss/db
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
- --with-log-path="${EPREFIX}"/var/log/sssd
- --with-tmpfilesdir=/usr/lib/tmpfiles.d
- --with-udevrulesdir="$(get_udevdir)/rules.d"
- --with-kcm
- --enable-kcm-renewal
- --with-os=gentoo
- --disable-rpath
- --disable-static
- # Valgrind is only used for tests
- --disable-valgrind
- $(use_with samba)
- --with-smb-idmap-interface-version=6
- --enable-cifs-idmap-plugin
- $(multilib_native_use_with selinux)
- --enable-krb5-locator-plugin
- $(use_enable samba pac-responder)
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
- $(use_enable nls)
- $(multilib_native_use_with netlink libnl)
- --with-manpages
- --with-sudo
- $(multilib_native_with autofs)
- $(multilib_native_with ssh)
- $(use_with openid oidc-child)
- $(multilib_native_with passkey)
- --with-subid
- $(use_enable systemtap)
- --without-python2-bindings
- $(multilib_native_use_with python python3-bindings)
- # Annoyingly configure requires that you pick systemd XOR sysv
- --with-initscript=$(usex systemd systemd sysv)
- --with-sssd-user=sssd
- KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
- CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0"
- )
-
- use systemd && myconf+=(
- --with-systemdunitdir=$(systemd_get_systemunitdir)
- --with-syslog=$(usex systemd journald syslog)
- )
-
- if ! multilib_is_native_abi; then
- # work-around all the libraries that are used for CLI and server
- myconf+=(
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
- # ldb headers are fine since native needs it
- # ldb lib fails... but it does not seem to bother
- {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
- {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' '
-
- # use native include path for dbus (needed for build)
- DBUS_CFLAGS="${native_dbus_cflags}"
-
- # non-pkgconfig checks
- ac_cv_lib_ldap_ldap_search=yes
- --without-kcm
- --without-manpages
- )
- fi
-
- econf "${myconf[@]}"
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- use doc && emake docs
- else
- emake libnss_sss.la pam_sss.la pam_sss_gss.la
- emake sssd_krb5_locator_plugin.la
- use samba && emake sssd_pac_plugin.la
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- local -x CK_TIMEOUT_MULTIPLIER=10
- emake check VERBOSE=yes
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake -j1 DESTDIR="${D}" install
- if use python; then
- python_fix_shebang "${ED}"
- python_optimize
- fi
- else
- # easier than playing with automake...
- dopammod .libs/pam_sss.so
- dopammod .libs/pam_sss_gss.so
-
- into /
- dolib.so .libs/libnss_sss.so*
-
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doexe .libs/sssd_krb5_locator_plugin.so
-
- if use samba; then
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata
- doexe .libs/sssd_pac_plugin.so
- fi
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- insinto /etc/sssd
- insopts -m600
- doins src/examples/sssd-example.conf
-
- insinto /etc/logrotate.d
- insopts -m644
- newins src/examples/logrotate sssd
-
- newconfd "${FILESDIR}"/sssd.conf sssd
-
- keepdir /var/lib/sss/db
- keepdir /var/lib/sss/deskprofile
- keepdir /var/lib/sss/gpo_cache
- keepdir /var/lib/sss/keytabs
- keepdir /var/lib/sss/mc
- keepdir /var/lib/sss/pipes/private
- keepdir /var/lib/sss/pubconf/krb5.include.d
- keepdir /var/lib/sss/secrets
- keepdir /var/log/sssd
- keepdir /etc/sssd/conf.d
- keepdir /etc/sssd/pki
-
- # strip empty dirs
- if ! use doc; then
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die
- fi
-
- rm -r "${ED}"/run || die
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- fcaps_pkg_postinst
- udev_reload
- tmpfiles_process sssd-tmpfiles.conf
- echo
- elog "You must set up sssd.conf (default installed into /etc/sssd)"
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
- elog "features."
- echo
- optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli
-
- if ! use python; then
- echo
- ewarn "sssctl analyze will not work because the python USE flag is disabled."
- fi
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/sssd/sssd-2.9.8-r1.ebuild b/sys-auth/sssd/sssd-2.9.8-r1.ebuild
deleted file mode 100644
index a2745c8b6f2d..000000000000
--- a/sys-auth/sssd/sssd-2.9.8-r1.ebuild
+++ /dev/null
@@ -1,345 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="ca de es fr ja ko pt_BR ru sv tr uk"
-PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN"
-PLOCALE_BACKUP="sv"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit autotools linux-info multilib-minimal optfeature plocale \
- python-single-r1 pam systemd toolchain-funcs verify-sig
-
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
-HOMEPAGE="https://github.com/SSSD/sssd"
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz
- https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc"
- KEYWORDS="amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/SSSD/sssd.git"
- EGIT_BRANCH="master"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="acl doc +netlink nfsv4 nls passkey python samba selinux systemd systemtap test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}]
- app-crypt/p11-kit
- >=dev-libs/ding-libs-0.2
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
- dev-libs/jansson:=
- dev-libs/libpcre2:=
- dev-libs/libunistring:=[${MULTILIB_USEDEP}]
- >=dev-libs/popt-1.16
- >=dev-libs/openssl-1.0.2:=
- >=net-dns/bind-9.9[gssapi]
- >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}]
- >=net-nds/openldap-2.4.30:=[sasl,experimental]
- >=sys-apps/dbus-1.6
- >=sys-apps/keyutils-1.5:=
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.0.7
- >=sys-libs/tdb-1.2.9
- >=sys-libs/tevent-0.9.16
- virtual/ldb:=
- virtual/libintl
- acl? ( net-fs/cifs-utils[acl] )
- netlink? ( dev-libs/libnl:3 )
- nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 )
- nls? ( >=sys-devel/gettext-0.18 )
- passkey? ( dev-libs/libfido2:= )
- python? (
- ${PYTHON_DEPS}
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
- )
- samba? ( >=net-fs/samba-4.10.2[winbind] )
- selinux? (
- >=sys-libs/libselinux-2.1.9
- >=sys-libs/libsemanage-2.1
- )
- systemd? (
- sys-apps/systemd:=
- sys-apps/util-linux
- )
- systemtap? ( dev-debug/systemtap )"
-RDEPEND="${DEPEND}
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
-DEPEND+="
- sys-apps/shadow"
-BDEPEND="
- virtual/pkgconfig
- app-text/docbook-xml-dtd:4.4
- >=dev-libs/libxslt-1.1.26
- ${PYTHON_DEPS}
- doc? ( app-text/doxygen )
- nls? ( sys-devel/gettext
- app-text/po4a )
- test? (
- dev-libs/check
- dev-libs/softhsm:2
- dev-util/cmocka
- net-libs/gnutls[pkcs11,tools]
- sys-libs/libfaketime
- sys-libs/nss_wrapper
- sys-libs/pam_wrapper
- sys-libs/uid_wrapper
- )
- verify-sig? ( sec-keys/openpgp-keys-sssd )
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc
-
-CONFIG_CHECK="~KEYS"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
- "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
- "${FILESDIR}/${PN}-2.9.7-kerberos-1-22.patch"
- "${FILESDIR}/${PN}-2.9.8-r1-pam_fix_out-of-bounds_read_in_pam_passkey_child_read_data.patch"
-)
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/ipa_hbac.h
- /usr/include/sss_idmap.h
- /usr/include/sss_nss_idmap.h
- # --with-ifp
- /usr/include/sss_sifp.h
- /usr/include/sss_sifp_dbus.h
- # from 1.15.3
- /usr/include/sss_certmap.h
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- plocale_get_locales > src/man/po/LINGUAS || die
-
- sed -i \
- -e "/_langs]/ s/ .*//" \
- src/man/po/po4a.cfg \
- || die
- enable_locale() {
- local locale=${1}
-
- sed -i \
- -e "/_langs]/ s/$/ ${locale}/" \
- src/man/po/po4a.cfg \
- || die
- }
-
- plocale_for_each_locale enable_locale
-
- PLOCALES="${PLOCALES_BIN}"
- plocale_get_locales > po/LINGUAS || die
-
- sed -i \
- -e 's:/var/run:/run:' \
- src/examples/logrotate \
- || die
-
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631
- sed -i \
- -e '/^\s*pam-srv-tests[ \\]*$/d' \
- Makefile.am \
- || die
-
- eautoreconf
-
- multilib_copy_sources
-}
-
-src_configure() {
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
-
- # Workaround for bug #938302
- if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
- export DTRACE="${BROOT}"/usr/bin/stap-dtrace
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myconf=()
-
- myconf+=(
- --libexecdir="${EPREFIX}"/usr/libexec
- --localstatedir="${EPREFIX}"/var
- --runstatedir="${EPREFIX}"/run
- --sbindir="${EPREFIX}"/usr/sbin
- --with-pid-path="${EPREFIX}"/run
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
- --enable-pammoddir="${EPREFIX}$(getpam_mod_dir)"
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
- --with-db-path="${EPREFIX}"/var/lib/sss/db
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
- --with-log-path="${EPREFIX}"/var/log/sssd
- --with-kcm
- --enable-kcm-renewal
- --with-os=gentoo
- --disable-rpath
- --disable-static
- # Valgrind is only used for tests
- --disable-valgrind
- $(use_with samba)
- --with-smb-idmap-interface-version=6
- $(multilib_native_use_enable acl cifs-idmap-plugin)
- $(multilib_native_use_with selinux)
- $(multilib_native_use_with selinux semanage)
- --enable-krb5-locator-plugin
- $(use_enable samba pac-responder)
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
- $(use_enable nls)
- $(multilib_native_use_with netlink libnl)
- --with-manpages
- --with-sudo
- $(multilib_native_with autofs)
- $(multilib_native_with ssh)
- --without-oidc-child
- $(multilib_native_with passkey)
- --with-subid
- $(use_enable systemtap)
- --without-python2-bindings
- $(multilib_native_use_with python python3-bindings)
- # Annoyingly configure requires that you pick systemd XOR sysv
- --with-initscript=$(usex systemd systemd sysv)
- KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
- # Needed for Samba 4.21
- CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0"
- )
-
- use systemd && myconf+=(
- --with-systemdunitdir=$(systemd_get_systemunitdir)
- )
-
- if ! multilib_is_native_abi; then
- # work-around all the libraries that are used for CLI and server
- myconf+=(
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
- # ldb headers are fine since native needs it
- # ldb lib fails... but it does not seem to bother
- {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
- {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' '
-
- # use native include path for dbus (needed for build)
- DBUS_CFLAGS="${native_dbus_cflags}"
-
- # non-pkgconfig checks
- ac_cv_lib_ldap_ldap_search=yes
- --without-kcm
- --without-manpages
- )
- fi
-
- econf "${myconf[@]}"
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- use doc && emake docs
- else
- emake libnss_sss.la pam_sss.la pam_sss_gss.la
- emake sssd_krb5_locator_plugin.la
- use samba && emake sssd_pac_plugin.la
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- local -x CK_TIMEOUT_MULTIPLIER=10
- emake check VERBOSE=yes
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake -j1 DESTDIR="${D}" install
- if use python; then
- python_fix_shebang "${ED}"
- python_optimize
- fi
- else
- # easier than playing with automake...
- dopammod .libs/pam_sss.so
- dopammod .libs/pam_sss_gss.so
-
- into /
- dolib.so .libs/libnss_sss.so*
-
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doexe .libs/sssd_krb5_locator_plugin.so
-
- if use samba; then
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata
- doexe .libs/sssd_pac_plugin.so
- fi
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- insinto /etc/sssd
- insopts -m600
- doins src/examples/sssd-example.conf
-
- insinto /etc/logrotate.d
- insopts -m644
- newins src/examples/logrotate sssd
-
- newconfd "${FILESDIR}"/sssd.conf sssd
-
- keepdir /var/lib/sss/db
- keepdir /var/lib/sss/deskprofile
- keepdir /var/lib/sss/gpo_cache
- keepdir /var/lib/sss/keytabs
- keepdir /var/lib/sss/mc
- keepdir /var/lib/sss/pipes/private
- keepdir /var/lib/sss/pubconf/krb5.include.d
- keepdir /var/lib/sss/secrets
- keepdir /var/log/sssd
-
- # strip empty dirs
- if ! use doc; then
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die
- fi
-
- rm -r "${ED}"/run || die
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- elog "You must set up sssd.conf (default installed into /etc/sssd)"
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
- elog "features."
- echo
- optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli
-
- if ! use python; then
- echo
- ewarn "sssctl analyze will not work because the python USE flag is disabled."
- fi
-}
diff --git a/sys-auth/sssd/sssd-2.9.9.ebuild b/sys-auth/sssd/sssd-2.9.9.ebuild
deleted file mode 100644
index 5a7318942567..000000000000
--- a/sys-auth/sssd/sssd-2.9.9.ebuild
+++ /dev/null
@@ -1,346 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="ca de es fr ja ko pt_BR ru sv tr uk"
-PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN"
-PLOCALE_BACKUP="sv"
-PYTHON_COMPAT=( python3_{13..14} )
-
-inherit autotools linux-info multilib-minimal optfeature plocale \
- python-single-r1 pam systemd toolchain-funcs verify-sig
-
-DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
-HOMEPAGE="https://github.com/SSSD/sssd"
-if [[ ${PV} != 9999 ]]; then
- SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz
- https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://github.com/SSSD/sssd.git"
- EGIT_BRANCH="master"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="acl doc +netlink nfsv4 nls passkey python samba selinux systemd systemtap test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}]
- app-crypt/p11-kit
- >=dev-libs/ding-libs-0.2
- >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos]
- dev-libs/jansson:=
- dev-libs/libpcre2:=
- dev-libs/libunistring:=[${MULTILIB_USEDEP}]
- >=dev-libs/popt-1.16
- >=dev-libs/openssl-1.0.2:=
- >=net-dns/bind-9.9[gssapi]
- >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}]
- >=net-nds/openldap-2.4.30:=[sasl,experimental]
- >=sys-apps/dbus-1.6
- >=sys-apps/keyutils-1.5:=
- >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.0.7
- >=sys-libs/tdb-1.2.9
- >=sys-libs/tevent-0.9.16
- virtual/ldb:=
- virtual/libintl
- acl? ( net-fs/cifs-utils[acl] )
- netlink? ( dev-libs/libnl:3 )
- nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 )
- nls? ( >=sys-devel/gettext-0.18 )
- passkey? ( dev-libs/libfido2:= )
- python? (
- ${PYTHON_DEPS}
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
- )
- samba? ( >=net-fs/samba-4.10.2[winbind] )
- selinux? (
- >=sys-libs/libselinux-2.1.9
- >=sys-libs/libsemanage-2.1
- )
- systemd? (
- sys-apps/systemd:=
- sys-apps/util-linux
- )
- systemtap? ( dev-debug/systemtap )"
-RDEPEND="${DEPEND}
- selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
-DEPEND+="
- sys-apps/shadow"
-BDEPEND="
- virtual/pkgconfig
- app-text/docbook-xml-dtd:4.4
- >=dev-libs/libxslt-1.1.26
- ${PYTHON_DEPS}
- doc? ( app-text/doxygen )
- nls? ( sys-devel/gettext
- app-text/po4a )
- test? (
- dev-libs/check
- dev-libs/softhsm:2
- dev-util/cmocka
- net-libs/gnutls[pkcs11,tools]
- sys-libs/libfaketime
- sys-libs/nss_wrapper
- sys-libs/pam_wrapper
- sys-libs/uid_wrapper
- )
- verify-sig? ( sec-keys/openpgp-keys-sssd )
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc
-
-CONFIG_CHECK="~KEYS"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch"
- "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch"
- "${FILESDIR}/${PN}-2.9.7-kerberos-1-22.patch"
-)
-
-MULTILIB_WRAPPED_HEADERS=(
- /usr/include/ipa_hbac.h
- /usr/include/sss_idmap.h
- /usr/include/sss_nss_idmap.h
- # --with-ifp
- /usr/include/sss_sifp.h
- /usr/include/sss_sifp_dbus.h
- # from 1.15.3
- /usr/include/sss_certmap.h
-)
-
-pkg_setup() {
- linux-info_pkg_setup
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- plocale_get_locales > src/man/po/LINGUAS || die
-
- sed -i \
- -e "/_langs]/ s/ .*//" \
- src/man/po/po4a.cfg \
- || die
- enable_locale() {
- local locale=${1}
-
- sed -i \
- -e "/_langs]/ s/$/ ${locale}/" \
- src/man/po/po4a.cfg \
- || die
- }
-
- plocale_for_each_locale enable_locale
-
- PLOCALES="${PLOCALES_BIN}"
- plocale_get_locales > po/LINGUAS || die
-
- sed -i \
- -e 's:/var/run:/run:' \
- src/examples/logrotate \
- || die
-
- # disable flaky test, see https://github.com/SSSD/sssd/issues/5631
- sed -i \
- -e '/^\s*pam-srv-tests[ \\]*$/d' \
- Makefile.am \
- || die
-
- eautoreconf
-
- multilib_copy_sources
-}
-
-src_configure() {
- local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
-
- # Workaround for bug #938302
- if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
- export DTRACE="${BROOT}"/usr/bin/stap-dtrace
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- local myconf=()
-
- myconf+=(
- --libexecdir="${EPREFIX}"/usr/libexec
- --localstatedir="${EPREFIX}"/var
- --runstatedir="${EPREFIX}"/run
- --sbindir="${EPREFIX}"/usr/sbin
- --with-pid-path="${EPREFIX}"/run
- --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
- --enable-pammoddir="${EPREFIX}$(getpam_mod_dir)"
- --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
- --with-db-path="${EPREFIX}"/var/lib/sss/db
- --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
- --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
- --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
- --with-mcache-path="${EPREFIX}"/var/lib/sss/mc
- --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
- --with-log-path="${EPREFIX}"/var/log/sssd
- --with-kcm
- --enable-kcm-renewal
- --with-os=gentoo
- --disable-rpath
- --disable-static
- # Valgrind is only used for tests
- --disable-valgrind
- $(use_with samba)
- --with-smb-idmap-interface-version=6
- $(multilib_native_use_enable acl cifs-idmap-plugin)
- $(multilib_native_use_with selinux)
- $(multilib_native_use_with selinux semanage)
- --enable-krb5-locator-plugin
- $(use_enable samba pac-responder)
- $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin)
- $(use_enable nls)
- $(multilib_native_use_with netlink libnl)
- --with-manpages
- --with-sudo
- $(multilib_native_with autofs)
- $(multilib_native_with ssh)
- --without-oidc-child
- $(multilib_native_with passkey)
- --with-subid
- $(use_enable systemtap)
- --without-python2-bindings
- $(multilib_native_use_with python python3-bindings)
- # Annoyingly configure requires that you pick systemd XOR sysv
- --with-initscript=$(usex systemd systemd sysv)
- KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
- # Needed for Samba 4.21
- CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0"
- )
-
- use systemd && myconf+=(
- --with-systemdunitdir=$(systemd_get_systemunitdir)
- --with-syslog=$(usex systemd journald syslog)
- )
-
- if ! multilib_is_native_abi; then
- # work-around all the libraries that are used for CLI and server
- myconf+=(
- {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' '
- # ldb headers are fine since native needs it
- # ldb lib fails... but it does not seem to bother
- {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' '
- {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' '
- {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' '
- JOURNALD_{CFLAGS,LIBS}=' '
-
- # use native include path for dbus (needed for build)
- DBUS_CFLAGS="${native_dbus_cflags}"
-
- # non-pkgconfig checks
- ac_cv_lib_ldap_ldap_search=yes
- --without-kcm
- --without-manpages
- )
- fi
-
- econf "${myconf[@]}"
-}
-
-multilib_src_compile() {
- if multilib_is_native_abi; then
- default
- use doc && emake docs
- else
- emake libnss_sss.la pam_sss.la pam_sss_gss.la
- emake sssd_krb5_locator_plugin.la
- use samba && emake sssd_pac_plugin.la
- fi
-}
-
-multilib_src_test() {
- if multilib_is_native_abi; then
- local -x CK_TIMEOUT_MULTIPLIER=10
- emake check VERBOSE=yes
- fi
-}
-
-multilib_src_install() {
- if multilib_is_native_abi; then
- emake -j1 DESTDIR="${D}" install
- if use python; then
- python_fix_shebang "${ED}"
- python_optimize
- fi
- else
- # easier than playing with automake...
- dopammod .libs/pam_sss.so
- dopammod .libs/pam_sss_gss.so
-
- into /
- dolib.so .libs/libnss_sss.so*
-
- exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5
- doexe .libs/sssd_krb5_locator_plugin.so
-
- if use samba; then
- exeinto /usr/$(get_libdir)/krb5/plugins/authdata
- doexe .libs/sssd_pac_plugin.so
- fi
- fi
-}
-
-multilib_src_install_all() {
- einstalldocs
-
- insinto /etc/sssd
- insopts -m600
- doins src/examples/sssd-example.conf
-
- insinto /etc/logrotate.d
- insopts -m644
- newins src/examples/logrotate sssd
-
- newconfd "${FILESDIR}"/sssd.conf sssd
-
- keepdir /var/lib/sss/db
- keepdir /var/lib/sss/deskprofile
- keepdir /var/lib/sss/gpo_cache
- keepdir /var/lib/sss/keytabs
- keepdir /var/lib/sss/mc
- keepdir /var/lib/sss/pipes/private
- keepdir /var/lib/sss/pubconf/krb5.include.d
- keepdir /var/lib/sss/secrets
- keepdir /var/log/sssd
-
- # strip empty dirs
- if ! use doc; then
- rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die
- rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die
- fi
-
- rm -r "${ED}"/run || die
- find "${ED}" -type f -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- elog "You must set up sssd.conf (default installed into /etc/sssd)"
- elog "and (optionally) configuration in /etc/pam.d in order to use SSSD"
- elog "features."
- echo
- optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli
-
- if ! use python; then
- echo
- ewarn "sssctl analyze will not work because the python USE flag is disabled."
- fi
-}
diff --git a/sys-auth/thinkfinger/Manifest b/sys-auth/thinkfinger/Manifest
deleted file mode 100644
index fb1c0ff02d63..000000000000
--- a/sys-auth/thinkfinger/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST thinkfinger-0.3.tar.gz 372053 BLAKE2B f9fc18cfa268f89d9e6d12245c80fead3238210f568df9e26be73525efc721a422701c96cfc5c2898c29541f1f48d9fe8be2b97e183f61d0cbf64d6a04f6e38e SHA512 08bbefd906047dd128c9a3d5eef4b14332e51383d9c0667974ffe7f85ccab2561310f58adfa0cfe8a65154e621a607542f6e99df9be3f21ced394bc7993db4ff
diff --git a/sys-auth/thinkfinger/files/0.3-autoreconf.patch b/sys-auth/thinkfinger/files/0.3-autoreconf.patch
deleted file mode 100644
index f0b7a1c20232..000000000000
--- a/sys-auth/thinkfinger/files/0.3-autoreconf.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 922e00d123092da33f3237071236e28b0f120766 Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 28 Mar 2021 11:04:26 -0700
-Subject: [PATCH 1/2] build: Fix autoreconf.
-
----
- configure.in | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 2bdd150..4b277b9 100644
---- a/configure.in
-+++ b/configure.in
-@@ -179,8 +179,6 @@ AM_CONDITIONAL(HAVE_OLD_PAM, test "x$HAVE_OLD_PAM" = "xyes")
-
- # AC_CONFIG_FILES
- AC_CONFIG_FILES([Makefile
-- README
-- INSTALL
- docs/Makefile
- docs/autodocs/Makefile
- libthinkfinger/Makefile
---
-2.26.3
-
diff --git a/sys-auth/thinkfinger/files/0.3-carriagereturn.patch b/sys-auth/thinkfinger/files/0.3-carriagereturn.patch
deleted file mode 100644
index 528731e27d9e..000000000000
--- a/sys-auth/thinkfinger/files/0.3-carriagereturn.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/pam/pam_thinkfinger-uinput.c
-+++ b/pam/pam_thinkfinger-uinput.c
-@@ -95,6 +95,7 @@
- /* our single key keyboard */
- i = ioctl (*fd, UI_SET_EVBIT, EV_KEY) < 0;
- i |= ioctl (*fd, UI_SET_KEYBIT, KEY_ENTER) < 0;
-+ i |= ioctl (*fd, UI_SET_KEYBIT, KEY_A) < 0;
-
- if (write (*fd, &device, device_size) != device_size) {
- retval = errno;
diff --git a/sys-auth/thinkfinger/files/0.3-direct_set_config_usb_hello.patch b/sys-auth/thinkfinger/files/0.3-direct_set_config_usb_hello.patch
deleted file mode 100644
index 2de27ab459ad..000000000000
--- a/sys-auth/thinkfinger/files/0.3-direct_set_config_usb_hello.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/libthinkfinger/libthinkfinger.c
-+++ b/libthinkfinger/libthinkfinger.c
-@@ -265,18 +265,7 @@
- int retval = -1;
- char dummy[] = "\x10";
-
-- /* SET_CONFIGURATION 1 -- should not be relevant */
- retval = usb_control_msg (handle, // usb_dev_handle *dev
-- 0x00000000, // int requesttype
-- 0x00000009, // int request
-- 0x001, // int value
-- 0x000, // int index
-- dummy, // char *bytes
-- 0x00000000, // int size
-- USB_TIMEOUT); // int timeout
-- if (retval < 0)
-- goto out;
-- retval = usb_control_msg (handle, // usb_dev_handle *dev
- 0x00000040, // int requesttype
- 0x0000000c, // int request
- 0x100, // int value
-@@ -285,7 +274,6 @@
- 0x00000001, // int size
- USB_TIMEOUT); // int timeout
-
--out:
- return retval;
- }
-
diff --git a/sys-auth/thinkfinger/files/0.3-send-sync-event.patch b/sys-auth/thinkfinger/files/0.3-send-sync-event.patch
deleted file mode 100644
index 0fbba6e9c2ae..000000000000
--- a/sys-auth/thinkfinger/files/0.3-send-sync-event.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/pam/pam_thinkfinger-uinput.c
-+++ b/pam/pam_thinkfinger-uinput.c
-@@ -34,27 +34,40 @@
- int uinput_cr (int *fd)
- {
- int retval = 0, ev_size = 0;
-- struct input_event ev = {
-+ struct input_event key_ev = {
- .type = EV_KEY,
- .code = KEY_ENTER,
- .time = {0, }
- };
-
-- ev_size = sizeof (ev);
-+ ev_size = sizeof (key_ev);
-
- /* key press */
-- ev.value = 1;
-- if (write (*fd, &ev, ev_size) != ev_size) {
-+ key_ev.value = 1;
-+ if (write (*fd, &key_ev, ev_size) != ev_size) {
- retval = errno;
- goto out;
- }
- /* key release */
-- ev.value = 0;
-- if (write (*fd, &ev, ev_size) != ev_size) {
-+ key_ev.value = 0;
-+ if (write (*fd, &key_ev, ev_size) != ev_size) {
- retval = errno;
- goto out;
- }
--
-+
-+ /* syn event */
-+ struct input_event syn_ev = {
-+ .time = {0, },
-+ .type = EV_SYN,
-+ .code = SYN_REPORT,
-+ .value = 0
-+ };
-+
-+ if (write (*fd, &syn_ev, ev_size) != ev_size) {
-+ retval = errno;
-+ goto out;
-+ }
-+
- out:
- return retval;
- }
diff --git a/sys-auth/thinkfinger/files/0.3-slibtool.patch b/sys-auth/thinkfinger/files/0.3-slibtool.patch
deleted file mode 100644
index 2b56e9ce1c85..000000000000
--- a/sys-auth/thinkfinger/files/0.3-slibtool.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 477ef76901ae46d58202091060a763f9b4c4b57f Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Sun, 28 Mar 2021 11:08:43 -0700
-Subject: [PATCH 2/2] build: Fix creating the libpam_thinkfinger library.
-
----
- pam/Makefile.am | 13 ++++++-------
- 1 file changed, 6 insertions(+), 7 deletions(-)
-
-diff --git a/pam/Makefile.am b/pam/Makefile.am
-index d3bfcab..38c3cab 100644
---- a/pam/Makefile.am
-+++ b/pam/Makefile.am
-@@ -1,14 +1,13 @@
--pam_PROGRAMS = pam_thinkfinger.so
-+pam_LTLIBRARIES = libpam_thinkfinger.la
- pamdir = $(SECUREDIR)
-
- INCLUDES = -I$(top_srcdir)/libthinkfinger
-
- if HAVE_OLD_PAM
--pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
-+libpam_thinkfinger_la_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
- else
--pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
-+libpam_thinkfinger_la_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
- endif
--pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
--pam_thinkfinger_so_CFLAGS = $(CFLAGS)
--pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
--
-+libpam_thinkfinger_la_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
-+libpam_thinkfinger_la_CFLAGS = $(CFLAGS)
-+libpam_thinkfinger_la_LIBADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
---
-2.26.3
-
diff --git a/sys-auth/thinkfinger/files/0.3-strip-strip.patch b/sys-auth/thinkfinger/files/0.3-strip-strip.patch
deleted file mode 100644
index 1339baf63a00..000000000000
--- a/sys-auth/thinkfinger/files/0.3-strip-strip.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Strip is handled by the package manager.
-
---- a/pam/Makefile.am
-+++ b/pam/Makefile.am
-@@ -8,7 +8,7 @@ pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h p
- else
- pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
- endif
--pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
-+pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
- pam_thinkfinger_so_CFLAGS = $(CFLAGS)
- pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
-
---- a/pam/Makefile.in
-+++ b/pam/Makefile.in
-@@ -201,7 +201,7 @@ pamdir = $(SECUREDIR)
- INCLUDES = -I$(top_srcdir)/libthinkfinger
- @HAVE_OLD_PAM_FALSE@pam_thinkfinger_so_SOURCES = pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
- @HAVE_OLD_PAM_TRUE@pam_thinkfinger_so_SOURCES = pam_thinkfinger-compat.c pam_thinkfinger-compat.h pam_thinkfinger-uinput.c pam_thinkfinger-uinput.h pam_thinkfinger.c
--pam_thinkfinger_so_LDFLAGS = -shared --strip-all -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
-+pam_thinkfinger_so_LDFLAGS = -shared -Wl,-soname,pam_thinkfinger.so -Wl,--as-needed
- pam_thinkfinger_so_CFLAGS = $(CFLAGS)
- pam_thinkfinger_so_LDADD = $(top_builddir)/libthinkfinger/libthinkfinger.la $(PAM_LIBS) $(PTHREAD_LIBS)
- all: all-am
diff --git a/sys-auth/thinkfinger/files/0.3-tftoolgroup.patch b/sys-auth/thinkfinger/files/0.3-tftoolgroup.patch
deleted file mode 100644
index 251c6357b177..000000000000
--- a/sys-auth/thinkfinger/files/0.3-tftoolgroup.patch
+++ /dev/null
@@ -1,64 +0,0 @@
---- a/tf-tool/tf-tool.c
-+++ b/tf-tool/tf-tool.c
-@@ -26,6 +26,9 @@
- #include <errno.h>
- #include <libgen.h>
- #include <pwd.h>
-+#include <grp.h>
-+#include <sys/stat.h>
-+#include <unistd.h>
-
- #include <config.h>
- #include <libthinkfinger.h>
-@@ -54,6 +57,21 @@
- int swipe_failed;
- } s_tfdata;
-
-+int changegroup(const char *groupname,const char *filename)
-+{
-+ struct group *g;
-+ g = getgrnam(groupname);
-+ if(g == NULL) {
-+ perror("getgrnam:");
-+ return 1;
-+ }
-+ if( chown(filename,-1,g->gr_gid) == -1) {
-+ perror("chown: ");
-+ return 1;
-+ }
-+ return 0;
-+}
-+
- static void print_status (int swipe_success, int swiped_required, int swipe_failed)
- {
- printf ("\rPlease swipe your finger (successful swipes %i/%i, failed swipes: %i)...",
-@@ -64,6 +82,8 @@
- static void callback (libthinkfinger_state state, void *data)
- {
- char *str;
-+ int err;
-+ gid_t gfp;
- s_tfdata *tfdata = (s_tfdata *) data;
-
- if (tfdata->verbose == true) {
-@@ -108,8 +128,18 @@
- case TF_STATE_ENROLL_SUCCESS:
- print_status (tfdata->swipe_success, 3, tfdata->swipe_failed);
- printf (" done.\nStoring data (%s)...", tfdata->bir);
-- fflush (stdout);
-- break;
-+ /*small hack to change group and chmod 640 on created bir file*/
-+ err = chmod(tfdata->bir, S_IRUSR | S_IWUSR | S_IRGRP);
-+ if(err == -1) {
-+ printf("Couldn't change perms on file %s\n",tfdata->bir);
-+ perror("chmod:");
-+ fflush(stdout);
-+ break;
-+ }
-+ changegroup("fingerprint",tfdata->bir);
-+ fflush(stdout);
-+ break;
-+ /*done*/
- case TF_STATE_SWIPE_FAILED:
- print_status (tfdata->swipe_success, 3, ++tfdata->swipe_failed);
- break;
diff --git a/sys-auth/thinkfinger/files/60-thinkfinger.rules b/sys-auth/thinkfinger/files/60-thinkfinger.rules
deleted file mode 100644
index 1ccc394d49ff..000000000000
--- a/sys-auth/thinkfinger/files/60-thinkfinger.rules
+++ /dev/null
@@ -1,5 +0,0 @@
-# SGS Thomson Microelectronics Fingerprint Reader
-ATTRS{idVendor}=="0483", ATTRS{idProduct}=="2016", SYMLINK+="input/thinkfinger-%k", MODE="0660", GROUP="fingerprint"
-
-# the also-needed uinput device
-KERNEL=="uinput", MODE="0660", GROUP="fingerprint"
diff --git a/sys-auth/thinkfinger/metadata.xml b/sys-auth/thinkfinger/metadata.xml
deleted file mode 100644
index 995d9b01e446..000000000000
--- a/sys-auth/thinkfinger/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-<upstream>
- <remote-id type="sourceforge">ThinkFinger</remote-id>
-</upstream>
-</pkgmetadata>
diff --git a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild b/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild
deleted file mode 100644
index 97800581c05c..000000000000
--- a/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools linux-info pam udev
-
-DESCRIPTION="Support for the UPEK/SGS Thomson fingerprint reader, common in Thinkpads"
-HOMEPAGE="http://thinkfinger.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug pam"
-
-DEPEND="
- virtual/libusb:0
- pam? ( sys-libs/pam )"
-RDEPEND="
- ${DEPEND}
- acct-group/fingerprint"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-direct_set_config_usb_hello.patch
- "${FILESDIR}"/${PV}-carriagereturn.patch
- "${FILESDIR}"/${PV}-send-sync-event.patch
- "${FILESDIR}"/${PV}-tftoolgroup.patch
- "${FILESDIR}"/${PV}-strip-strip.patch
- "${FILESDIR}"/${PV}-autoreconf.patch
- "${FILESDIR}"/${PV}-slibtool.patch
-)
-
-pkg_setup() {
- if use pam; then
- CONFIG_CHECK="~INPUT_UINPUT"
- ERROR_CFG="Your kernel needs uinput for the pam module to work"
- check_extra_config
- fi
-}
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_enable pam) \
- $(use_enable debug usb-debug) \
- --with-securedir="$(getpam_mod_dir)"
-
- rm README.in || die
-}
-
-src_install() {
- default
-
- keepdir /etc/pam_thinkfinger
-
- udev_dorules "${FILESDIR}"/60-thinkfinger.rules
-
- # no static archives
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- udev_reload
-
- fowners root:fingerprint /etc/pam_thinkfinger
- fperms 710 /etc/pam_thinkfinger
-
- elog "Use tf-tool --acquire to take a finger print"
- elog "tf-tool will write the finger print file to /tmp/test.bir"
- elog
-
- if use pam; then
- elog "To add a fingerprint to PAM, use tf-tool --add-user USERNAME"
- elog
- elog "Add the following to /etc/pam.d/system-auth after pam_env.so"
- elog "auth sufficient pam_thinkfinger.so"
- elog
- elog "Your system-auth should look similar to:"
- elog "auth required pam_env.so"
- elog "auth sufficient pam_thinkfinger.so"
- elog "auth sufficient pam_unix.so try_first_pass likeauth nullok"
- fi
-}
diff --git a/sys-auth/ykclient/Manifest b/sys-auth/ykclient/Manifest
deleted file mode 100644
index e08f204b5de6..000000000000
--- a/sys-auth/ykclient/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ykclient-2.15.tar.gz 388738 BLAKE2B 10f56d97c337de5ae8fe15fb526f89208e8e69563cd7b2f1494e5a972da0a218c1c89e608ed490b7f17efc619bfeacfb51d1615b6eff36d4bfa5351cf80e4061 SHA512 a6e00309330225c681702616aa9f5d7e042f33a22ebe7719c2d71276f1a660ed0dc180d7f50c24b1c65d7bba6e2f2285d03037d504e926ac75506c24e6826279
diff --git a/sys-auth/ykclient/metadata.xml b/sys-auth/ykclient/metadata.xml
deleted file mode 100644
index 1c91b119252c..000000000000
--- a/sys-auth/ykclient/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
- <upstream>
- <remote-id type="google-code">yubico-c-client</remote-id>
- <remote-id type="github">Yubico/yubico-c-client</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/ykclient/ykclient-2.15.ebuild b/sys-auth/ykclient/ykclient-2.15.ebuild
deleted file mode 100644
index e119df25b795..000000000000
--- a/sys-auth/ykclient/ykclient-2.15.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Yubico C client library"
-SRC_URI="http://opensource.yubico.com/yubico-c-client/releases/${P}.tar.gz"
-HOMEPAGE="https://github.com/Yubico/yubico-c-client"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-# Tests require an active network connection, we don't want to run them
-RESTRICT="test"
-
-RDEPEND="net-misc/curl"
-DEPEND="${RDEPEND}"
-
-src_configure() {
- econf --disable-static
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-auth/ykpers/Manifest b/sys-auth/ykpers/Manifest
deleted file mode 100644
index 30bdb1555fdc..000000000000
--- a/sys-auth/ykpers/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ykpers-1.20.0.tar.gz 127975 BLAKE2B 8753332be4df3eeb6ef0489782037fca12883a263d5697cfaee901763e4698ca5415953da1c2f8b3512de041c1e78735c03a5e6ea2101c71ada36d4e6d5d3d2d SHA512 a38b26700793f0a801e5f5889bbbce4a3f728d22aaecf8d0890f1b5135e67bed16a78b7a36dbc323c5d296901f6dd420fa658a982492a0cd9f0bbf95a5fbc823
diff --git a/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch b/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch
deleted file mode 100644
index dcff56ad0863..000000000000
--- a/sys-auth/ykpers/files/ykpers-1.20.0-fix-gcc10-fno-common.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/ykpers-args.h
-+++ b/ykpers-args.h
-@@ -33,8 +33,8 @@
-
- #include "ykpers.h"
-
--const char *usage;
--const char *optstring;
-+extern const char *usage;
-+extern const char *optstring;
-
- int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
- size_t oathid_len, const char **infname,
diff --git a/sys-auth/ykpers/files/ykpers-1.20.0-json-boolean.patch b/sys-auth/ykpers/files/ykpers-1.20.0-json-boolean.patch
deleted file mode 100644
index ca5a918d21f1..000000000000
--- a/sys-auth/ykpers/files/ykpers-1.20.0-json-boolean.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 0aa2e2cae2e1777863993a10c809bb50f4cde7f8 Mon Sep 17 00:00:00 2001
-From: Christian Hesse <mail@eworm.de>
-Date: Sat, 25 Apr 2020 20:55:28 +0200
-Subject: [PATCH] fix boolean value with json-c 0.14
-
-Upstream removed the TRUE and FALSE defines in commit
-0992aac61f8b087efd7094e9ac2b84fa9c040fcd.
----
- ykpers-json.c | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/ykpers-json.c b/ykpers-json.c
-index a62e907..15ad380 100644
---- a/ykpers-json.c
-+++ b/ykpers-json.c
-@@ -40,7 +40,7 @@
- #define yk_json_object_object_get(obj, key, value) json_object_object_get_ex(obj, key, &value)
- #else
- typedef int json_bool;
--#define yk_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE
-+#define yk_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? 0 : 1
- #endif
-
- static void set_json_value(struct map_st *p, int mode, json_object *options, YKP_CONFIG *cfg) {
-@@ -50,7 +50,7 @@ static void set_json_value(struct map_st *p, int mode, json_object *options, YKP
- if(p->mode && (mode & p->mode) == mode) {
- json_object *joption;
- json_bool ret = yk_json_object_object_get(options, p->json_text, joption);
-- if(ret == TRUE && json_object_get_type(joption) == json_type_boolean) {
-+ if(ret == 1 && json_object_get_type(joption) == json_type_boolean) {
- int value = json_object_get_boolean(joption);
- if(value == 1) {
- p->setter(cfg, true);
-@@ -230,20 +230,20 @@ int _ykp_json_import_cfg(YKP_CONFIG *cfg, const char *json, size_t len) {
- ykp_errno = YKP_EINVAL;
- goto out;
- }
-- if(yk_json_object_object_get(jobj, "yubiProdConfig", yprod_json) == FALSE) {
-+ if(yk_json_object_object_get(jobj, "yubiProdConfig", yprod_json) == 0) {
- ykp_errno = YKP_EINVAL;
- goto out;
- }
-- if(yk_json_object_object_get(yprod_json, "mode", jmode) == FALSE) {
-+ if(yk_json_object_object_get(yprod_json, "mode", jmode) == 0) {
- ykp_errno = YKP_EINVAL;
- goto out;
- }
-- if(yk_json_object_object_get(yprod_json, "options", options) == FALSE) {
-+ if(yk_json_object_object_get(yprod_json, "options", options) == 0) {
- ykp_errno = YKP_EINVAL;
- goto out;
- }
-
-- if(yk_json_object_object_get(yprod_json, "targetConfig", jtarget) == TRUE) {
-+ if(yk_json_object_object_get(yprod_json, "targetConfig", jtarget) == 1) {
- int target_config = json_object_get_int(jtarget);
- int command;
- if(target_config == 1) {
-@@ -275,13 +275,13 @@ int _ykp_json_import_cfg(YKP_CONFIG *cfg, const char *json, size_t len) {
- if(mode == MODE_OATH_HOTP) {
- json_object *jdigits, *jrandom;
- ykp_set_tktflag_OATH_HOTP(cfg, true);
-- if(yk_json_object_object_get(options, "oathDigits", jdigits) == TRUE) {
-+ if(yk_json_object_object_get(options, "oathDigits", jdigits) == 1) {
- int digits = json_object_get_int(jdigits);
- if(digits == 8) {
- ykp_set_cfgflag_OATH_HOTP8(cfg, true);
- }
- }
-- if(yk_json_object_object_get(options, "randomSeed", jrandom) == TRUE) {
-+ if(yk_json_object_object_get(options, "randomSeed", jrandom) == 1) {
- int random = json_object_get_boolean(jrandom);
- int seed = 0;
- if(random == 1) {
-@@ -290,7 +290,7 @@ int _ykp_json_import_cfg(YKP_CONFIG *cfg, const char *json, size_t len) {
- goto out;
- } else {
- json_object *jseed;
-- if(yk_json_object_object_get(options, "fixedSeedvalue", jseed) == TRUE) {
-+ if(yk_json_object_object_get(options, "fixedSeedvalue", jseed) == 1) {
- seed = json_object_get_int(jseed);
- }
- }
diff --git a/sys-auth/ykpers/metadata.xml b/sys-auth/ykpers/metadata.xml
deleted file mode 100644
index 68749008315e..000000000000
--- a/sys-auth/ykpers/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>mario.haustein@hrz.tu-chemnitz.de</email>
- <name>Mario Haustein</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="github">Yubico/yubikey-personalization</remote-id>
- <bugs-to>https://github.com/Yubico/yubikey-personalization/issues</bugs-to>
- </upstream>
-</pkgmetadata>
diff --git a/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild b/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild
deleted file mode 100644
index a6c1aeee4cbe..000000000000
--- a/sys-auth/ykpers/ykpers-1.20.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools udev
-
-MY_PN="yubikey-personalization"
-
-DESCRIPTION="Library and tool for personalization of Yubico's YubiKey"
-HOMEPAGE="https://github.com/Yubico/yubikey-personalization"
-SRC_URI="https://github.com/Yubico/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="dev-libs/json-c:=
- >=sys-auth/libyubikey-1.6
- virtual/libusb:1"
-DEPEND="${RDEPEND}"
-BDEPEND="app-text/asciidoc
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.20.0-fix-gcc10-fno-common.patch
- "${FILESDIR}"/${PN}-1.20.0-json-boolean.patch
-)
-
-DOCS=( doc/. AUTHORS NEWS README )
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myeconfargs=(
- --libdir=/usr/$(get_libdir)
- --localstatedir=/var
- )
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- udev_dorules 69-yubikey.rules
-
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}
diff --git a/sys-auth/yubico-piv-tool/Manifest b/sys-auth/yubico-piv-tool/Manifest
deleted file mode 100644
index bb755485c50a..000000000000
--- a/sys-auth/yubico-piv-tool/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST yubico-piv-tool-2.7.2.tar.gz 1364476 BLAKE2B 2609b812937d3080e83b3800ce283038bb20d741965309228ae71e9100455341b3670bee9e004c3fbe0183d7b2389761f3619c4e3b78c5ca00ba5b6bae9ec3ad SHA512 8a809ac77a763e19bcc0ec983ca5aaa34077fd8d57522fe180596b4b36107cb361df8c590821d33b2f0693094001e17372934687e4446c366e475ef74c27e56c
-DIST yubico-piv-tool-2.7.3.tar.gz 2162834 BLAKE2B 3980c7df15190fef1002252a9133bda130216d4d7eafc4ca1f9515eb57355a27faafb868b984b16e89089fe63ed76b7155d9882635834974a14189222e711df4 SHA512 2bac8a875c7c5c3d1e5e8ec84fc70b37fc5b08985ef7ef96f6a9eaf5be882eeb9b1dbfb6cc0d6f5c00586f625cefa38c2d34d0e5aef5164be7274162af3554b8
diff --git a/sys-auth/yubico-piv-tool/files/yubico-openssl-compat.patch b/sys-auth/yubico-piv-tool/files/yubico-openssl-compat.patch
deleted file mode 100644
index 4cd817d5160c..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico-openssl-compat.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -urN yubico-piv-tool-yubico-piv-tool-2.3.0.orig/common/openssl-compat.c yubico-piv-tool-yubico-piv-tool-2.3.0/common/openssl-compat.c
---- yubico-piv-tool-yubico-piv-tool-2.3.0.orig/common/openssl-compat.c 2022-03-31 00:01:41.006586972 +0200
-+++ yubico-piv-tool-yubico-piv-tool-2.3.0/common/openssl-compat.c 2022-03-31 00:02:58.868585332 +0200
-@@ -16,15 +16,6 @@
- #include <string.h>
- #include <limits.h>
-
--void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
-- ASN1_OCTET_STRING **pdigest)
--{
-- if (palg)
-- *palg = sig->algor;
-- if (pdigest)
-- *pdigest = sig->digest;
--}
--
- #if (LIBRESSL_VERSION_NUMBER < 0x2070000fL)
-
- int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
-diff -urN yubico-piv-tool-yubico-piv-tool-2.3.0.orig/common/openssl-compat.h yubico-piv-tool-yubico-piv-tool-2.3.0/common/openssl-compat.h
---- yubico-piv-tool-yubico-piv-tool-2.3.0.orig/common/openssl-compat.h 2022-03-31 00:01:41.006586972 +0200
-+++ yubico-piv-tool-yubico-piv-tool-2.3.0/common/openssl-compat.h 2022-03-31 00:03:46.155584335 +0200
-@@ -29,8 +29,6 @@
- void RSA_get0_crt_params(const RSA *r,
- const BIGNUM **dmp1, const BIGNUM **dmq1,
- const BIGNUM **iqmp);
--void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg,
-- ASN1_OCTET_STRING **pdigest);
- int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
- void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
-
diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch
deleted file mode 100644
index 6653ef2949c0..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-tests-optional.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -125,7 +125,9 @@
- find_libcrypto()
- include_directories(${LIBCRYPTO_INCLUDE_DIRS})
-
-+if (BUILD_TESTING)
- enable_testing()
-+endif()
- find_package(codecov)
-
- add_subdirectory (lib)
---- a/lib/CMakeLists.txt
-+++ b/lib/CMakeLists.txt
-@@ -92,4 +92,6 @@
-
- install(FILES ykpiv.pc DESTINATION ${YKPIV_INSTALL_PKGCONFIG_DIR})
-
-+if (BUILD_TESTING)
- add_subdirectory(tests)
-+endif ()
---- a/tool/CMakeLists.txt
-+++ b/tool/CMakeLists.txt
-@@ -78,4 +78,6 @@
- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/yubico-piv-tool.1" DESTINATION "${YKPIV_INSTALL_MAN_DIR}/man1")
- endif(MAN_PAGE)
-
-+if (BUILD_TESTING)
- add_subdirectory(tests)
-+endif ()
---- a/ykcs11/CMakeLists.txt
-+++ b/ykcs11/CMakeLists.txt
-@@ -102,4 +102,6 @@
-
- install(FILES ykcs11.pc DESTINATION ${YKPIV_INSTALL_PKGCONFIG_DIR})
-
-+if (BUILD_TESTING)
- add_subdirectory(tests)
-+endif ()
diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch
deleted file mode 100644
index cd85616b5e6a..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.1.1-ykcs11-threads.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/ykcs11/CMakeLists.txt
-+++ b/ykcs11/CMakeLists.txt
-@@ -30,7 +30,7 @@
- link_directories(${PCSC_LIBRARY_DIRS})
- add_definitions(-DCRYPTOKI_EXPORTS)
- if(NOT WIN32)
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -pthread")
- endif(NOT WIN32)
-
- set(
-@@ -63,7 +63,7 @@
- # static library
- if(BUILD_STATIC_LIB)
- add_library(ykcs11 STATIC ${SOURCE})
-- target_link_libraries(ykcs11 ${LIBCRYPTO_LDFLAGS} ykpiv_static)
-+ target_link_libraries(ykcs11 ${LIBCRYPTO_LDFLAGS} -pthread ykpiv_static)
- set_target_properties (ykcs11 PROPERTIES COMPILE_FLAGS "-DSTATIC ")
- if(WIN32)
- set_target_properties(ykcs11 PROPERTIES OUTPUT_NAME ykcs11_static)
-@@ -73,7 +73,7 @@
-
- # dynamic library
- add_library(ykcs11_shared SHARED ${SOURCE})
--target_link_libraries(ykcs11_shared ${LIBCRYPTO_LDFLAGS} ykpiv_shared)
-+target_link_libraries(ykcs11_shared ${LIBCRYPTO_LDFLAGS} -pthread ykpiv_shared)
- set_target_properties(ykcs11_shared PROPERTIES SOVERSION ${SO_VERSION} VERSION ${VERSION})
- set_target_properties(ykcs11_shared PROPERTIES INSTALL_RPATH "${YKPIV_INSTALL_LIB_DIR}")
- if(WIN32)
diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch
deleted file mode 100644
index cf3ddd7b7bb1..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool-2.3.0-no-Werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -104,7 +104,7 @@
- else()
- find_package (PkgConfig REQUIRED)
-
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-missing-braces")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat -Wformat-security")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow")
diff --git a/sys-auth/yubico-piv-tool/files/yubico-piv-tool.patch b/sys-auth/yubico-piv-tool/files/yubico-piv-tool.patch
deleted file mode 100644
index 4d1774828644..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico-piv-tool.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -urN yubico-piv-tool-yubico-piv-tool-2.3.0.orig/tool/yubico-piv-tool.c yubico-piv-tool-yubico-piv-tool-2.3.0/tool/yubico-piv-tool.c
---- yubico-piv-tool-yubico-piv-tool-2.3.0.orig/tool/yubico-piv-tool.c 2022-03-30 23:28:23.673629049 +0200
-+++ yubico-piv-tool-yubico-piv-tool-2.3.0/tool/yubico-piv-tool.c 2022-03-30 23:33:40.999622364 +0200
-@@ -133,7 +133,7 @@
- return false;
- }
-
--#if !((OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER))
-+#if !(OPENSSL_VERSION_NUMBER < 0x10100000L)
- static int ec_key_ex_data_idx = -1;
-
- struct internal_key {
-@@ -748,7 +748,7 @@
- int key = 0;
- size_t oid_len;
- const unsigned char *oid;
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- unsigned char digest[EVP_MAX_MD_SIZE + MAX_OID_LEN] = {0};
- unsigned int md_len;
- unsigned int digest_len;
-@@ -858,7 +858,7 @@
- goto request_out;
- }
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- null_parameter.type = V_ASN1_NULL;
- null_parameter.value.ptr = NULL;
-
-@@ -933,7 +933,7 @@
- fclose(output_file);
- }
- EVP_PKEY_free(public_key);
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- if(req) {
- if(req->sig_alg->parameter) {
- req->sig_alg->parameter = NULL;
-@@ -1159,7 +1159,7 @@
- }
- }
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- unsigned char digest[EVP_MAX_MD_SIZE + MAX_OID_LEN] = {0};
- unsigned char *signinput;
- size_t len = 0;
-@@ -1237,7 +1237,7 @@
- if(output_file && output_file != stdout) {
- fclose(output_file);
- }
-- #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+ #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- if(x509) {
- if(x509->sig_alg->parameter) {
- x509->sig_alg->parameter = NULL;
diff --git a/sys-auth/yubico-piv-tool/files/yubico_piv_tool_c.patch b/sys-auth/yubico-piv-tool/files/yubico_piv_tool_c.patch
deleted file mode 100644
index 3842615bc29d..000000000000
--- a/sys-auth/yubico-piv-tool/files/yubico_piv_tool_c.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -urN yubico-piv-tool-2.5.0.orig/tool/yubico-piv-tool.c yubico-piv-tool-2.5.0/tool/yubico-piv-tool.c
---- yubico-piv-tool-2.5.0.orig/tool/yubico-piv-tool.c 2024-02-01 18:08:40.503929969 +0100
-+++ yubico-piv-tool-2.5.0/tool/yubico-piv-tool.c 2024-02-01 18:15:02.575940038 +0100
-@@ -153,7 +153,7 @@
- return false;
- }
-
--#if !((OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER))
-+#if !(OPENSSL_VERSION_NUMBER < 0x10100000L)
- static int ec_key_ex_data_idx = -1;
-
- struct internal_key {
-@@ -862,7 +862,7 @@
- int key = 0;
- size_t oid_len = 0;
- const unsigned char *oid = NULL;
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- unsigned char digest[EVP_MAX_MD_SIZE + MAX_OID_LEN] = {0};
- unsigned int md_len;
- unsigned int digest_len;
-@@ -973,7 +973,7 @@
- goto request_out;
- }
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- null_parameter.type = V_ASN1_NULL;
- null_parameter.value.ptr = NULL;
-
-@@ -1048,7 +1048,7 @@
- fclose(output_file);
- }
- EVP_PKEY_free(public_key);
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- if(req) {
- if(req->sig_alg->parameter) {
- req->sig_alg->parameter = NULL;
-@@ -1281,7 +1281,7 @@
- }
- }
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- unsigned char digest[EVP_MAX_MD_SIZE + MAX_OID_LEN] = {0};
- unsigned char *signinput;
- size_t len = 0;
-@@ -1359,7 +1359,7 @@
- if(output_file && output_file != stdout) {
- fclose(output_file);
- }
-- #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+ #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
- if(x509) {
- if(x509->sig_alg->parameter) {
- x509->sig_alg->parameter = NULL;
diff --git a/sys-auth/yubico-piv-tool/metadata.xml b/sys-auth/yubico-piv-tool/metadata.xml
deleted file mode 100644
index 13d8022eff2e..000000000000
--- a/sys-auth/yubico-piv-tool/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
- <email>marecki@gentoo.org</email>
- <name>Marek Szuba</name>
- </maintainer>
-
- <origin>ports</origin>
-</pkgmetadata> \ No newline at end of file
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild
deleted file mode 100644
index 8a7b7632f427..000000000000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
-SRC_URI="https://developers.yubico.com/yubico-piv-tool/Releases/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64"
-IUSE=" test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- sys-apps/pcsc-lite
- dev-libs/openssl:=[-bindist(-)]
-
- "
-DEPEND="
- ${RDEPEND}
- dev-libs/check"
-BDEPEND="
- dev-util/gengetopt
- sys-apps/help2man
- virtual/pkgconfig"
-
-PATCHES=(
- ${FILESDIR}/yubico_piv_tool_c.patch
- ${FILESDIR}/yubico-openssl-compat.patch
- "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
- "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
- "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_prepare() {
- cmake_src_prepare
-}
-
-src_configure() {
- # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR override
- local mycmakeargs=(
- -DBUILD_STATIC_LIB=OFF
- -DBUILD_TESTING=$(usex test)
- -DCMAKE_INSTALL_MANDIR="share/man"
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
- || die "Failed to generate p11-kit module configuration"
- insinto /usr/share/p11-kit/modules
- doins ${PN}.module
-}
diff --git a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.3.ebuild b/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.3.ebuild
deleted file mode 100644
index f8f43a771909..000000000000
--- a/sys-auth/yubico-piv-tool/yubico-piv-tool-2.7.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 2021-2026 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Command-line tool and p11-kit module for the YubiKey PIV application"
-HOMEPAGE="https://developers.yubico.com/yubico-piv-tool/ https://github.com/Yubico/yubico-piv-tool"
-SRC_URI="https://developers.yubico.com/yubico-piv-tool/Releases/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0/2"
-KEYWORDS="amd64"
-IUSE=" test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- sys-apps/pcsc-lite
- dev-libs/openssl:=[-bindist(-)]
-
- "
-DEPEND="
- ${RDEPEND}
- dev-libs/check"
-BDEPEND="
- dev-util/gengetopt
- sys-apps/help2man
- virtual/pkgconfig"
-
-PATCHES=(
- ${FILESDIR}/yubico_piv_tool_c.patch
- ${FILESDIR}/yubico-openssl-compat.patch
- "${FILESDIR}"/${PN}-2.1.1-tests-optional.patch
- "${FILESDIR}"/${PN}-2.1.1-ykcs11-threads.patch
- "${FILESDIR}"/${PN}-2.3.0-no-Werror.patch
-)
-
-src_prepare() {
- cmake_src_prepare
-}
-
-src_configure() {
- # As of 2.2.0, man pages end up in /usr/usr/... without the MANDIR override
- local mycmakeargs=(
- -DBUILD_STATIC_LIB=OFF
- -DBUILD_TESTING=$(usex test)
- -DCMAKE_INSTALL_MANDIR="share/man"
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- echo "module: ${EPREFIX}/usr/$(get_libdir)/libykcs11.so" > ${PN}.module \
- || die "Failed to generate p11-kit module configuration"
- insinto /usr/share/p11-kit/modules
- doins ${PN}.module
-}