diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-05-08 11:09:41 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-05-08 11:17:28 +0200 |
commit | b09685143c47821d891ed166e6c96df17d4256c5 (patch) | |
tree | 712d54a1740ec46c98d70c09a42c9319cc29ecb7 /sys-auth | |
parent | www-servers/tomcat: add 9.0.89 (diff) | |
download | gentoo-b09685143c47821d891ed166e6c96df17d4256c5.tar.gz gentoo-b09685143c47821d891ed166e6c96df17d4256c5.tar.bz2 gentoo-b09685143c47821d891ed166e6c96df17d4256c5.zip |
sys-auth/pam_ssh: Remove last-rited pkg
Bug: https://bugs.gentoo.org/892031
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pam_ssh/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/pam_ssh/files/pam_ssh-2.1-dot-ssh-check.patch | 22 | ||||
-rw-r--r-- | sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch | 11 | ||||
-rw-r--r-- | sys-auth/pam_ssh/files/pam_symbols.ver | 4 | ||||
-rw-r--r-- | sys-auth/pam_ssh/metadata.xml | 8 | ||||
-rw-r--r-- | sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild | 75 |
6 files changed, 0 insertions, 121 deletions
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 -} |