sys-auth/pambase: drop old
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 22 Nov 2019 11:17:42 +0000 (14:17 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 22 Nov 2019 11:18:40 +0000 (14:18 +0300)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-auth/pambase/Manifest
sys-auth/pambase/files/pambase-20150213-elogind.patch [deleted file]
sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch [deleted file]
sys-auth/pambase/files/pambase-20150213-selinux-note.patch [deleted file]
sys-auth/pambase/metadata.xml
sys-auth/pambase/pambase-20150213-r1.ebuild [deleted file]
sys-auth/pambase/pambase-20150213-r2.ebuild [deleted file]
sys-auth/pambase/pambase-20190402.ebuild

index 1bdf9ee2a0bac8a289dd1ba0d86d8d8d24d58537..f09aab4bb5e068459822a823204968adc6f6bcd7 100644 (file)
@@ -1,2 +1 @@
-DIST pambase-20150213.tar.xz 3480 BLAKE2B 7c59774bb8888fd2c4656264f1d8ea8cdd5ffffff4dc5d03091592726c8bd7775ba1573091c8616aa891298a1fe309b19885b5ec21efb45fe38900b7c959aaf5 SHA512 3b49dd3f06a0942fcced95527f62cbc4ff723c48dc896a0b57ecd19736d2892db974c782be3fe24e8e6e17294869a772ae9ee6118af96dfdc7a3a6561dc3f3e5
 DIST pambase-20190402.tar.gz 3679 BLAKE2B 992d7bf6b6f74ef22a8808b57dd6faffb6c351eaa8be4172f320031334ca6def698b2cb17005b58ac3c18e89a94012e279b0f27cc2bea5040ae8ddc3233cba2d SHA512 565d64653e9898b9bd231c1461ec0988a19dbc9500ff1417a7197ac75804abeb13ca543121ae4afb29017c1e99073a16137e5c876f43dcc01e2641218760f4ae
diff --git a/sys-auth/pambase/files/pambase-20150213-elogind.patch b/sys-auth/pambase/files/pambase-20150213-elogind.patch
deleted file mode 100644 (file)
index 7ec92f7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -32,6 +32,10 @@
- PAMFLAGS += -DHAVE_SYSTEMD=1
- endif
-+ifeq "$(ELOGIND)" "yes"
-+PAMFLAGS += -DHAVE_ELOGIND=1
-+endif
-+
- ifeq "$(GNOME_KEYRING)" "yes"
- PAMFLAGS += -DHAVE_GNOME_KEYRING=1
- endif
---- a/system-auth.in
-+++ b/system-auth.in
-@@ -39,3 +39,7 @@
- #if HAVE_SYSTEMD
- -session        optional        pam_systemd.so
- #endif
-+
-+#if HAVE_ELOGIND
-+-session        optional        pam_elogind.so
-+#endif
diff --git a/sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch b/sys-auth/pambase/files/pambase-20150213-gnome-keyring.patch
deleted file mode 100644 (file)
index 57c204e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-diff -urN a/passwd.in b/passwd.in
---- a/passwd.in        2015-02-14 06:57:45.000000000 +0300
-+++ b/passwd.in        2018-04-02 12:33:08.304214918 +0300
-@@ -1,6 +1,7 @@
--auth       sufficient   pam_rootok.so
--auth       include    system-auth
-+auth          sufficient      pam_rootok.so
-+auth          include         system-auth
--account    include    system-auth
-+account               include         system-auth
--password   include    system-auth
-+password      include         system-auth
-+-password     optional        pam_gnome_keyring.so UNIX_AUTHTOK
-diff -urN a/system-login.in b/system-login.in
---- a/system-login.in  2015-02-14 06:57:45.000000000 +0300
-+++ b/system-login.in  2018-04-02 12:33:01.272010095 +0300
-@@ -8,9 +8,6 @@
- auth          required        pam_nologin.so DEBUG_NOLOGIN
- #endif
- auth          include         system-auth
--#if HAVE_GNOME_KEYRING
--auth          optional        pam_gnome_keyring.so
--#endif
- #if HAVE_ACCESS
- account               required        pam_access.so DEBUG
-@@ -27,9 +24,6 @@
- #endif
- password      include         system-auth
--#if HAVE_GNOME_KEYRING
--password      optional        pam_gnome_keyring.so
--#endif
- #if HAVE_LOGINUID
- session         optional        pam_loginuid.so
-@@ -51,9 +45,6 @@
- # Note: modules that run in the user's context must come after this line.
- session               required        pam_selinux.so multiple open
- #endif
--#if HAVE_GNOME_KEYRING
--session               optional        pam_gnome_keyring.so auto_start
--#endif
- #if HAVE_MOTD
- session               optional        pam_motd.so motd=/etc/motd
- #endif
diff --git a/sys-auth/pambase/files/pambase-20150213-selinux-note.patch b/sys-auth/pambase/files/pambase-20150213-selinux-note.patch
deleted file mode 100644 (file)
index 0c44d10..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/system-login.in.orig     2015-04-17 16:58:02.247000000 +0200
-+++ b/system-login.in  2015-04-17 16:58:07.684000000 +0200
-@@ -48,7 +48,7 @@
- session               optional        pam_ck_connector.so nox11
- #endif
- #if HAVE_SELINUX
--# Note: modules that run in the user's context must come after this line.
-+ # Note: modules that run in the user's context must come after this line.
- session               required        pam_selinux.so multiple open
- #endif
- #if HAVE_GNOME_KEYRING
index 09d5034c91066e3b22b2e51e9b98236a6804a501..7c4208d244a2020b476ad1494f915d4c7978e801 100644 (file)
                        Use pam_systemd module to register user sessions in the systemd
                        control group hierarchy.
                </flag>
-               <flag name="gnome-keyring">
-                       Enable pam_gnome_keyring module on system login stack. This
-                       enables proper Gnome Keyring access to logins, whether they are
-                       done with the login shell, a Desktop Manager or a remote login
-                       systems such as SSH.
-               </flag>
                <flag name="debug">
                        Enable debug information logging on syslog(3) for all the
                        modules supporting this in the system authentication and system
diff --git a/sys-auth/pambase/pambase-20150213-r1.ebuild b/sys-auth/pambase/pambase-20150213-r1.ebuild
deleted file mode 100644 (file)
index db06772..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="PAM base configuration files"
-HOMEPAGE="https://github.com/gentoo/pambase"
-SRC_URI="https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="consolekit +cracklib debug elogind gnome-keyring minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd"
-
-RESTRICT="binchecks"
-
-MIN_PAM_REQ=1.1.3
-
-RDEPEND="
-       >=sys-libs/pam-${MIN_PAM_REQ}
-       consolekit? ( sys-auth/consolekit[pam] )
-       cracklib? ( sys-libs/pam[cracklib] )
-       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
-       )
-       pam_ssh? ( sys-auth/pam_ssh )
-       passwdqc? ( sys-auth/pam_passwdqc )
-       selinux? ( sys-libs/pam[selinux] )
-       sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
-       systemd? ( sys-apps/systemd[pam] )
-"
-DEPEND="
-       app-arch/xz-utils
-       app-portage/portage-utils
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-selinux-note.patch #540096
-       "${FILESDIR}"/${P}-elogind.patch #599498
-)
-
-pkg_setup() {
-       local stcnt=0
-
-       use consolekit && stcnt=$((stcnt+1))
-       use elogind && stcnt=$((stcnt+1))
-       use systemd && stcnt=$((stcnt+1))
-
-       if [[ ${stcnt} -gt 1 ]] ; then
-               ewarn "You are enabling ${stcnt} session trackers at the same time."
-               ewarn "This is not a recommended setup to have. Please consider enabling"
-               ewarn "only one of USE=\"consolekit\", USE=\"elogind\" or USE=\"systemd\"."
-       fi
-}
-
-src_compile() {
-       local implementation linux_pam_version
-       if has_version sys-libs/pam; then
-               implementation=linux-pam
-               local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3)
-               linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
-       elif has_version sys-auth/openpam; then
-               implementation=openpam
-       else
-               die "PAM implementation not identified"
-       fi
-
-       use_var() {
-               local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]')
-               local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')}
-               local varvalue=$(usex ${usename})
-               echo "${varname}=${varvalue}"
-       }
-
-       emake \
-               GIT=true \
-               $(use_var debug) \
-               $(use_var cracklib) \
-               $(use_var passwdqc) \
-               $(use_var consolekit) \
-               $(use_var elogind) \
-               $(use_var systemd) \
-               $(use_var GNOME_KEYRING gnome-keyring) \
-               $(use_var selinux) \
-               $(use_var nullok) \
-               $(use_var mktemp) \
-               $(use_var pam_ssh) \
-               $(use_var securetty) \
-               $(use_var sha512) \
-               $(use_var KRB5 pam_krb5) \
-               $(use_var minimal) \
-               IMPLEMENTATION=${implementation} \
-               LINUX_PAM_VERSION=${linux_pam_version}
-}
-
-src_test() { :; }
-
-src_install() {
-       emake GIT=true DESTDIR="${ED}" install
-}
diff --git a/sys-auth/pambase/pambase-20150213-r2.ebuild b/sys-auth/pambase/pambase-20150213-r2.ebuild
deleted file mode 100644 (file)
index a54afa8..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="PAM base configuration files"
-HOMEPAGE="https://github.com/gentoo/pambase"
-SRC_URI="https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="consolekit +cracklib debug elogind minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd"
-
-RESTRICT="binchecks"
-
-MIN_PAM_REQ=1.1.3
-
-RDEPEND="
-       >=sys-libs/pam-${MIN_PAM_REQ}
-       consolekit? ( sys-auth/consolekit[pam] )
-       cracklib? ( sys-libs/pam[cracklib] )
-       elogind? ( sys-auth/elogind[pam] )
-       mktemp? ( sys-auth/pam_mktemp )
-       pam_krb5? (
-               >=sys-libs/pam-${MIN_PAM_REQ} 
-               sys-auth/pam_krb5
-       )
-       pam_ssh? ( sys-auth/pam_ssh )
-       passwdqc? ( sys-auth/pam_passwdqc )
-       selinux? ( sys-libs/pam[selinux] )
-       sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
-       systemd? ( sys-apps/systemd[pam] )
-"
-DEPEND="
-       app-arch/xz-utils
-       app-portage/portage-utils
-"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-selinux-note.patch #540096
-       "${FILESDIR}"/${P}-elogind.patch #599498
-       "${FILESDIR}"/${P}-gnome-keyring.patch #652194
-)
-
-pkg_setup() {
-       local stcnt=0
-
-       use consolekit && stcnt=$((stcnt+1))
-       use elogind && stcnt=$((stcnt+1))
-       use systemd && stcnt=$((stcnt+1))
-
-       if [[ ${stcnt} -gt 1 ]] ; then
-               ewarn "You are enabling ${stcnt} session trackers at the same time."
-               ewarn "This is not a recommended setup to have. Please consider enabling"
-               ewarn "only one of USE=\"consolekit\", USE=\"elogind\" or USE=\"systemd\"."
-       fi
-}
-
-src_compile() {
-       local implementation linux_pam_version
-       if has_version sys-libs/pam; then
-               implementation=linux-pam
-               local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3)
-               linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
-       elif has_version sys-auth/openpam; then
-               implementation=openpam
-       else
-               die "PAM implementation not identified"
-       fi
-
-       use_var() {
-               local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]')
-               local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')}
-               local varvalue=$(usex ${usename})
-               echo "${varname}=${varvalue}"
-       }
-
-       emake \
-               GIT=true \
-               $(use_var debug) \
-               $(use_var cracklib) \
-               $(use_var passwdqc) \
-               $(use_var consolekit) \
-               $(use_var elogind) \
-               $(use_var systemd) \
-               $(use_var selinux) \
-               $(use_var nullok) \
-               $(use_var mktemp) \
-               $(use_var pam_ssh) \
-               $(use_var securetty) \
-               $(use_var sha512) \
-               $(use_var KRB5 pam_krb5) \
-               $(use_var minimal) \
-               IMPLEMENTATION=${implementation} \
-               LINUX_PAM_VERSION=${linux_pam_version}
-}
-
-src_test() { :; }
-
-src_install() {
-       emake GIT=true DESTDIR="${ED}" install
-}
index 82cd65ddfec636de1af17c6b3484b1b8007bf62f..bc71bbbc07c61222e7a2252e13b736047b8f66ac 100644 (file)
@@ -25,7 +25,7 @@ RDEPEND="
        elogind? ( sys-auth/elogind[pam] )
        mktemp? ( sys-auth/pam_mktemp )
        pam_krb5? (
-               >=sys-libs/pam-${MIN_PAM_REQ} 
+               >=sys-libs/pam-${MIN_PAM_REQ}
                sys-auth/pam_krb5
        )
        pam_ssh? ( sys-auth/pam_ssh )