commit:     b09685143c47821d891ed166e6c96df17d4256c5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May  8 09:09:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May  8 09:17:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0968514

sys-auth/pam_ssh: Remove last-rited pkg

Bug: https://bugs.gentoo.org/892031
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                              |  5 --
 sys-auth/pam_ssh/Manifest                          |  1 -
 .../pam_ssh/files/pam_ssh-2.1-dot-ssh-check.patch  | 22 -------
 sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch     | 11 ----
 sys-auth/pam_ssh/files/pam_symbols.ver             |  4 --
 sys-auth/pam_ssh/metadata.xml                      |  8 ---
 sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild             | 75 ----------------------
 7 files changed, 126 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index cde2ac29bb94..c5bf75d9e065 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -402,11 +402,6 @@ media-libs/libopenshot
 media-libs/libopenshot-audio
 media-video/openshot
 
-# Michał Górny <mgo...@gentoo.org> (2024-03-26)
-# Issues with OpenSSL 3.  Unmaintained.  Last activity in 2019.
-# Removal on 2024-04-25.  Bug #892031.
-sys-auth/pam_ssh
-
 # Eray Aslan <e...@gentoo.org> (2024-03-10)
 # Mask experimental software
 =mail-mta/postfix-3.10*

diff --git a/sys-auth/pam_ssh/Manifest b/sys-auth/pam_ssh/Manifest
deleted file mode 100644
index 6bfa6ad84183..000000000000
--- a/sys-auth/pam_ssh/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_ssh-2.3.tar.xz 380396 BLAKE2B 
e228e30c6f353f631c0a1c41e82e31e7a8c573b04ab1cad4038a245b500666b42c0efa9f686d28f2386688596de761085afb1318b94fef5541f8c0ffc1e18b25
 SHA512 
e3ddcf851ffd8f6fb831e2dee7269c1b89283ae2f8f6aa3487bf7b1bc71d26ac9bcbd2a01c5a67a983b980bbb5151e991402940f4752741286d057843c817895

diff --git a/sys-auth/pam_ssh/files/pam_ssh-2.1-dot-ssh-check.patch 
b/sys-auth/pam_ssh/files/pam_ssh-2.1-dot-ssh-check.patch
deleted file mode 100644
index a0737b377bea..000000000000
--- a/sys-auth/pam_ssh/files/pam_ssh-2.1-dot-ssh-check.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/503424#c5
-https://sourceforge.net/p/pam-ssh/bugs/16/
-
---- a/pam_ssh.c
-+++ b/pam_ssh.c
-@@ -867,6 +867,7 @@
-       int attempt;      /* No. of attempt to contact agent */
-       const char *user;               /* username */
-       struct options options;         /* PAM options */
-+      struct stat sb;                 /* to check for existing .ssh */
- 
- #if HAVE_PAM_STRUCT_OPTIONS || !HAVE_PAM_STD_OPTION
-       memset(&options, 0, sizeof options);
-@@ -916,7 +917,7 @@
-               openpam_restore_cred(pamh);
-               return PAM_SERVICE_ERR;
-       }
--      if ((access(dotdir,F_OK)) == -1) {
-+      if (stat(dotdir, &sb) == -1) {
-               pam_ssh_log(LOG_DEBUG, "inexistent configuration directory");
-               free(dotdir);
-               openpam_restore_cred(pamh);

diff --git a/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch 
b/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch
deleted file mode 100644
index 9871b4297c7b..000000000000
--- a/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/ge25519.h
-+++ b/ge25519.h
-@@ -28,7 +28,7 @@
-   fe25519 t;
- } ge25519;
- 
--const ge25519 ge25519_base;
-+extern const ge25519 ge25519_base;
- 
- int ge25519_unpackneg_vartime(ge25519 *r, const unsigned char p[32]);
- 

diff --git a/sys-auth/pam_ssh/files/pam_symbols.ver 
b/sys-auth/pam_ssh/files/pam_symbols.ver
deleted file mode 100644
index dbc677b77a2d..000000000000
--- a/sys-auth/pam_ssh/files/pam_symbols.ver
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-       global: pam_sm_*;
-       local: *;
-};

diff --git a/sys-auth/pam_ssh/metadata.xml b/sys-auth/pam_ssh/metadata.xml
deleted file mode 100644
index f57c2717374a..000000000000
--- a/sys-auth/pam_ssh/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-ssh</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild 
b/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild
deleted file mode 100644
index 45da1e18f5e5..000000000000
--- a/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pam flag-o-matic readme.gentoo-r1
-
-DESCRIPTION="Uses ssh-agent to provide single sign-on"
-HOMEPAGE="http://pam-ssh.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/pam-ssh/${P}.tar.xz";
-
-LICENSE="BSD-2 BSD ISC"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
-
-# Only supports OpenSSH via `ssh-agent` #282993
-DEPEND="sys-libs/pam
-       dev-libs/openssl:0="
-
-RDEPEND="${DEPEND}
-       virtual/openssh"
-
-PATCHES=(
-       # 503424#c5
-       "${FILESDIR}"/${PN}-2.1-dot-ssh-check.patch
-       "${FILESDIR}"/${PN}-gcc10-fix.patch
-)
-
-src_configure() {
-       # hide all the otherwise-exported symbols that may clash with
-       # other software loading the PAM modules (see bug #274924 as an
-       # example).
-       append-ldflags -Wl,--version-script="${FILESDIR}"/pam_symbols.ver
-
-       # Set the cache var so the configure script doesn't go probing hardcoded
-       # file system paths and picking up the wrong thing.
-       export ac_cv_openssldir=''
-
-       # not needed now
-       export ac_cv_exeext=no
-
-       # Avoid cross-compiling funkiness and requiring openssh at build time.
-       export PATH_SSH_AGENT="${EPREFIX}/usr/bin/ssh-agent"
-
-       econf \
-               "--with-pam-dir=$(getpam_mod_dir)"
-}
-
-src_install() {
-       default
-
-       # pam_ssh only builds plugins
-       find "${D}" -name '*.la' -delete || die
-
-       local DOC_CONTENTS="
-               You can enable pam_ssh for system authentication by enabling
-               the pam_ssh USE flag on sys-auth/pambase.
-       "
-       readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-       local i
-       for i in "${REPLACING_VERSIONS}"; do
-               if [[ ${i} == 1.* ]]; then #554150
-                       ewarn "Upstream pam_ssh has changed where ssh keys 
live. Only keys in your"
-                       ewarn "~/.ssh/login-keys.d/ will be accepted for 
authentication."
-                       return
-               fi
-       done
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

Reply via email to