From 02930d1eb5af78d32b1597af6af24163895d9e0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 11 May 2023 23:47:37 +0100 Subject: gentoo auto-resync : 11:05:2023 - 23:47:37 --- sys-auth/pam_ssh/Manifest | 2 +- sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild | 75 ++++++++++++++++++++++++++++++++++ sys-auth/pam_ssh/pam_ssh-2.3.ebuild | 75 ---------------------------------- 3 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild delete mode 100644 sys-auth/pam_ssh/pam_ssh-2.3.ebuild (limited to 'sys-auth/pam_ssh') diff --git a/sys-auth/pam_ssh/Manifest b/sys-auth/pam_ssh/Manifest index 4f835cf79dfa..474ddbdf8318 100644 --- a/sys-auth/pam_ssh/Manifest +++ b/sys-auth/pam_ssh/Manifest @@ -2,5 +2,5 @@ AUX pam_ssh-2.1-dot-ssh-check.patch 701 BLAKE2B 64b7ed30c85e67125ff74f1507454510 AUX pam_ssh-gcc10-fix.patch 218 BLAKE2B ce70db54ab4267d71ec5b39770ae7b0df601ef2a24f721c19648b76a7915aab8e655906458295647cd7b31736235fe77c9a6482920410d393277914d3711cba6 SHA512 064036f99f88c142d585b0825bf6c20d10d40fb1ca06ad09be51804fd49cb2dfcbee7633a9ae5237e54b0c9aa20b2ef687fea2fa883e3022b352c78c25fc4d3f AUX pam_symbols.ver 35 BLAKE2B 7a18277fef3362b21eb99b602781493de6818e93d86a0553fc97e67b780644b38a5233757a0b9b728d9a1cbc26513078bf99177809b6b5f68af273352b377819 SHA512 40e2d23783153bdfefc9ec7d9caf818e1d157bfa4f3074434e034aae47e3aa7d08b04dedbe06ef60ed2a93729f0e04aa09cf8e9f6929dfb15e4ae49c75c9d0d9 DIST pam_ssh-2.3.tar.xz 380396 BLAKE2B e228e30c6f353f631c0a1c41e82e31e7a8c573b04ab1cad4038a245b500666b42c0efa9f686d28f2386688596de761085afb1318b94fef5541f8c0ffc1e18b25 SHA512 e3ddcf851ffd8f6fb831e2dee7269c1b89283ae2f8f6aa3487bf7b1bc71d26ac9bcbd2a01c5a67a983b980bbb5151e991402940f4752741286d057843c817895 -EBUILD pam_ssh-2.3.ebuild 1880 BLAKE2B 1a2f88b008654b06449dbf74c79197ef58523d952e49739f22495b468048e1e40db36eb8db5598065a51ea4842ebbdac73959732b83cdbbc6973a1e3cb93b1d6 SHA512 47983761de43f679a4008ca5f52862b65b1ad624eafdb51c7faef7182d4870ba2ff46b710e331a8cdc5700babb13d06c2354f42d4529c737c9b081a1e185c589 +EBUILD pam_ssh-2.3-r1.ebuild 1879 BLAKE2B 1b02ce5a57ecbf86e9752f9eddc8fd83dfc005eefc1d782ef5eac0279d446d505446bed291a7d151ff3d4bafa517b5f087ed5eb4c107995572cfaaea4f620143 SHA512 b2ad30ffb1781b8646c2e311d9138cada0b1314afff8bc749f88c9adc7cb6d9f50e15e5fef9bafcf8c399b0e3d15fffb393a4ec07ea4d43e78bb852d2d87d8fc MISC metadata.xml 245 BLAKE2B a4081752e8a1bc3e5fea1a531f0da0fed1b9f8ad7c7291752257ba6a6859aa922df628db17a44b1e6e1ec4dbc22d9c6820445448037ef1746570756060db4163 SHA512 e334b038287072858c75345b41af065c564c27feca2633af0b89c186e313d5d988452d44706aa7f769eeea05a6d17466fa1bbd77c64be753b295382b33ac3fc4 diff --git a/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild b/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild new file mode 100644 index 000000000000..d18636bda0c4 --- /dev/null +++ b/sys-auth/pam_ssh/pam_ssh-2.3-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 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="mirror://sourceforge/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 +} diff --git a/sys-auth/pam_ssh/pam_ssh-2.3.ebuild b/sys-auth/pam_ssh/pam_ssh-2.3.ebuild deleted file mode 100644 index 8279f8738cc1..000000000000 --- a/sys-auth/pam_ssh/pam_ssh-2.3.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2022 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="mirror://sourceforge/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} - net-misc/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 -} -- cgit v1.2.3