diff options
Diffstat (limited to 'sys-auth')
34 files changed, 614 insertions, 824 deletions
diff --git a/sys-auth/Manifest.gz b/sys-auth/Manifest.gz Binary files differindex af17d4300b91..188859d175a4 100644 --- a/sys-auth/Manifest.gz +++ b/sys-auth/Manifest.gz diff --git a/sys-auth/elogind/Manifest b/sys-auth/elogind/Manifest index 3b3f1f96ce53..4c855a883d58 100644 --- a/sys-auth/elogind/Manifest +++ b/sys-auth/elogind/Manifest @@ -5,7 +5,5 @@ AUX elogind.conf.in 218 BLAKE2B 7ee0a72c4a628a233fdbb2d3104487859aaa7e5c4f2624e5 AUX elogind.init 490 BLAKE2B 71c102f89a71a2963da50b153d8696a9480d81caa48e8422e7f39614e9bfb0b09037bc4dea202c3735e170140752429dd54747b99941d861453b4714dcb98819 SHA512 60fe1cb55ec0f605f06fb3744a0300accebfc14c4ecd24b7db2e8b0cb1537e816a4a4ccbc4b2eeac45e2f3ca8942dd10d24bdcd814cccbc2ceed198b2657238a AUX elogind.init-r1 503 BLAKE2B 7e54688c91f78b46411edff04dd8544dea778864d34ec00a4f0f2c166b4062ebc6b01f201f1b7d1f22f6781c51ac22f924136c83c0b0cdb29d6aadf640a6c0e8 SHA512 97d78afe1c0833f3f632272904bd8338869639facb79cd2fae6a4bf58fc5b2dd960484e1f9945152ff13d075216cf4b48b6b234eb7738fbbf445eee2c20e88f2 DIST elogind-246.10.tar.gz 1559256 BLAKE2B 17a8146ee08c8ccf167f25d89b1d4525050ed0b0baaad0d36924ad3c40ffc820ef1528b33557cf285ad06c9ac9c440137428c5a235a2acf563e56f2f8f07e208 SHA512 9db0f068ed94ec07bab4d764ccb38840af3d05a4b7c9c539721906f5381b509cb9a3cbfb0453a978210d306136368de6162578c600d522416ef2a7ac1b9f348b -DIST elogind-246.9.2.tar.gz 1534982 BLAKE2B 428def0f577cb92c8167f4400a59093ebf738d14b449e0dc59f1aa59da2c0f781db62bffc4bea2649edbfcc06ff5799ab24243dfb580eaa12c5cf0c41be8fc17 SHA512 b50d319793307a425d7542626e8cf27e56fb5e5c75cca9519cd3f5a1e7c387c4179310b95fa083f8bd8172384f16c0e45e7000b313d2bcf84ed8aba98dc775c1 -EBUILD elogind-246.10-r1.ebuild 4197 BLAKE2B 7373c487c57a2f366b594c727fb238c54f358fa9c13c9644b9aa598d967cccd9b7052b3865a71324bd57dd76753fb614c78fec4cfc5c5fced7c3314259485bb7 SHA512 b2adb287169a0264d6177805165302928f7f43db02c1cf3e1f0977e03e1e5f31efb90e6062c0eccd8900ba6046a887e9b8c38ee6cd2c44722e4c1c938a160e9c -EBUILD elogind-246.9.2.ebuild 4136 BLAKE2B c02a85f4271d3fd3d0ef875d86e681cc0c1ed0e5d86b3c19399208d8e9826ae54e95a892d850c1ebda823b497cc3cba848eb689c67e637b548e27510c57124df SHA512 a7623ce84e631ee83c05373351f687bd7b962b56a73b9988c3c218b26a0fefea78948887c11ca5814001caaa15374aea7bea2b9a1cceacb539059ccc6593abdb +EBUILD elogind-246.10-r1.ebuild 4193 BLAKE2B c3c674fea3b7e95441e2f63147e39e377330fb9f056191c88a51bb2f9e5f8684346f9b5d7c8d8b85cdbfb973da244ea46d6dcb7fd380e39d5e0e6d102fa7c502 SHA512 3a4c0bef8cc0499dd91a90702e0fc500be615cf96c4045988b5c21b7f45e7a0acfcf7208699cc88084052db84d2c9bd10271b0864ae91ac2e0a10a7485799ec8 MISC metadata.xml 492 BLAKE2B 825e86df619311ed9abf5f64f274f783fa9b3523d455c0608a16c3a39b58db0bc52099a3aceb3e2c7fddf28a292a75733cc7e5f8694f1d1b2006c702946a8d30 SHA512 d1af1f988c3211ac6520b02193e9e1b1c0d9dd204a567f8468516ebf4e4d8dc1fab56de0e0031bdd58a2f1336f1b1c8662ab9f56753948f1dd297a336ae40187 diff --git a/sys-auth/elogind/elogind-246.10-r1.ebuild b/sys-auth/elogind/elogind-246.10-r1.ebuild index d9ba2eff1984..c6a1f102edac 100644 --- a/sys-auth/elogind/elogind-246.10-r1.ebuild +++ b/sys-auth/elogind/elogind-246.10-r1.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = *9999* ]]; then 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 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" fi inherit linux-info meson pam udev xdg-utils @@ -109,7 +109,7 @@ src_install() { newinitd "${FILESDIR}"/${PN}.init-r1 ${PN} - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die + sed -e "s|@libdir@|$(get_libdir)|" "${FILESDIR}"/${PN}.conf.in > ${PN}.conf || die newconfd ${PN}.conf ${PN} } diff --git a/sys-auth/elogind/elogind-246.9.2.ebuild b/sys-auth/elogind/elogind-246.9.2.ebuild deleted file mode 100644 index 62753f538d0e..000000000000 --- a/sys-auth/elogind/elogind-246.9.2.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -if [[ ${PV} = *9999* ]]; then - EGIT_BRANCH="v241-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 ~ia64 ~mips ppc ppc64 ~s390 sparc x86" -fi - -inherit linux-info meson pam 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 debug doc +pam +policykit selinux" - -BDEPEND=" - app-text/docbook-xml-dtd:4.2 - app-text/docbook-xml-dtd:4.5 - app-text/docbook-xsl-stylesheets - dev-util/gperf - dev-util/intltool - virtual/pkgconfig -" -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 src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - -PATCHES=( - "${FILESDIR}/${PN}-243.7-nodocs.patch" - "${FILESDIR}/${PN}-241.4-broken-test.patch" # bug 699116 -) - -pkg_setup() { - local CONFIG_CHECK="~CGROUPS ~EPOLL ~INOTIFY_USER ~SIGNALFD ~TIMERFD" - - use kernel_linux && linux-info_pkg_setup -} - -src_prepare() { - default - xdg_environment_reset -} - -src_configure() { - local rccgroupmode="$(grep rc_cgroup_mode ${EPREFIX}/etc/rc.conf | cut -d '"' -f 2)" - local cgroupmode="legacy" - - if [[ "xhybrid" = "x${rccgroupmode}" ]] ; then - cgroupmode="hybrid" - elif [[ "xunified" = "x${rccgroupmode}" ]] ; then - cgroupmode="unified" - fi - - 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 - -Dsmack=true - -Dcgroup-controller=openrc - -Ddefault-hierarchy=${cgroupmode} - -Ddefault-kill-user-processes=false - -Dacl=$(usex acl true false) - -Daudit=$(usex audit true false) - --buildtype $(usex debug debug release) - -Dhtml=$(usex doc auto false) - -Dpam=$(usex pam true false) - -Dselinux=$(usex selinux true false) - -Dutmp=$(usex elibc_musl false true) - ) - - meson_src_configure -} - -src_install() { - DOCS+=( src/libelogind/sd-bus/GVARIANT-SERIALIZATION ) - - 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() { - 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 -} diff --git a/sys-auth/keystone/Manifest b/sys-auth/keystone/Manifest index 82daa9ea9e38..476baa657a22 100644 --- a/sys-auth/keystone/Manifest +++ b/sys-auth/keystone/Manifest @@ -1,11 +1,6 @@ -DIST keystone-17.0.0.tar.gz 1607717 BLAKE2B d59ccc651fa5363442ad6c1f3b2f2c2f6393468502e41d3aca7a9f4bd1d27fb558101ed37d051dcf7cdd77edb04df5ec1a739346dd889a5c873a607383897d25 SHA512 9d52a49fdcf1e891ae936ca221815576985a0f9a252960628dfbed18ca80c3f2af5a6311d7cf7c3d868ff4b02187515702ec297db1b2d49314662c46edf5c080 DIST keystone-18.0.0.tar.gz 1679326 BLAKE2B 714df5a1d7c6d601d1743a2dd3bac57c1006aeb9361241edf4205c583b6df6763411c27aa0d420aa94ee2a8cc581678013cc27ae8a97747f903d61fc852afb6e SHA512 48aa9aae46e0f61596222aa37def152cdb48876afb7edc1eadf84ea91c8bd2f6bfd645d64e9bfb82cf9d041d7ae432c34d25e34130b32b4815d9a73cea903ffc -DIST keystone.conf.sample-17.0.0 105293 BLAKE2B f0e685f99ca3b6cdfb9ccd0b41709bd6c51cb4aa79d20fa12773f96cd6ecad730691cf7fb2384b0ab44787d6e2825c5f147310ca19d82a2adb6cd2ab623b52f2 SHA512 fc7e7272b1a0f8703fe8ec8f93208573b84a2121b55de919beb05c7bb7dd3542c71983dfdc73b7cb618eb68167e6c6a51aa8384839ae3503c677e17ff030f383 DIST keystone.conf.sample-18.0.0 107458 BLAKE2B c1d826acdd671638fc4542864811bda8baa237cfbf24438fa0cedc12e6f29047178cfb1b837c0aef035410848ce3e473e58b51f0eadee4c61eb75f214c65c35a SHA512 6488a1c3eac0d1376db0950cda65c62ba04dc03d896a6c0465ea09b870e5d077ed5012a84657defb9f63db25ce320c884f72c4083e4a233f18930120194ba73b -DIST keystone.conf.sample-2020.1.9999 105293 BLAKE2B f0e685f99ca3b6cdfb9ccd0b41709bd6c51cb4aa79d20fa12773f96cd6ecad730691cf7fb2384b0ab44787d6e2825c5f147310ca19d82a2adb6cd2ab623b52f2 SHA512 fc7e7272b1a0f8703fe8ec8f93208573b84a2121b55de919beb05c7bb7dd3542c71983dfdc73b7cb618eb68167e6c6a51aa8384839ae3503c677e17ff030f383 DIST keystone.conf.sample-2020.2.9999 105293 BLAKE2B f0e685f99ca3b6cdfb9ccd0b41709bd6c51cb4aa79d20fa12773f96cd6ecad730691cf7fb2384b0ab44787d6e2825c5f147310ca19d82a2adb6cd2ab623b52f2 SHA512 fc7e7272b1a0f8703fe8ec8f93208573b84a2121b55de919beb05c7bb7dd3542c71983dfdc73b7cb618eb68167e6c6a51aa8384839ae3503c677e17ff030f383 -EBUILD keystone-17.0.0.ebuild 5508 BLAKE2B 8779e0f11ccdd028b6db17d837e7b6c5663cf018737c728ea6e0396234a06676446c3087d28c004ea5a25c5af1c157f903d7d3b65ffca0b05596a94014245876 SHA512 e70b26e703b47948099f156ad6031b29d2df99a3e17057897a8530002fff9a314c94e20702881f3b98961bd233f47a2de8f8f0ea0fe30b25c281d01e25ed96c0 EBUILD keystone-18.0.0.ebuild 5515 BLAKE2B acb04c4c53147a0f0d52720ec829ab2f08ae978d99b99faa150c162c1b9d64c962c171d420c6baa72c7415baf4b9e726e4f404c4a1330d2b364354a0f96b120b SHA512 32ba5d6dc50fd4b706e852f43ac6856f3280d2c03222b4b79fe056fc05be570e28393b131233e1a2251b73f731579d6c91a1f05090187af75e93966a629027eb -EBUILD keystone-2020.1.9999.ebuild 5510 BLAKE2B e122338074aa33c3ec97d483df5d3c75bb72575cdb59543f33b090bf29b9e1dfefe24a1a2296b5b6455423234f49f4dc04f18e5fcb07310ab8a2ffdb2bb61abb SHA512 a9328e60a80c112041ee2798b7f2106f1c937003886d9d73326cfad19f4fca9b6cd834415ec7a42f156ef10f835a420c6488c8c6d67b5ef923eb6c7517063e9c EBUILD keystone-2020.2.9999.ebuild 5517 BLAKE2B 55b1c4231cc1e012cb76ba4cd8bd6e198fd5261881cfc45ac8350bd39bca758d5db52d5aa83adb1a5774ecbcf072d27d18682622542f69c1f66e4c0743a35486 SHA512 c8461b7b509acc14a534b752cfedb656220f0e4690cdaf6d01791d3c94a5bbda0ad0758fad678013a371940c0ef146cb4ff54fd139f9ca64fa361430274c59b2 MISC metadata.xml 654 BLAKE2B f4ab0710d9df108ad25c402094d8586777b892ac135a5cb690f54a1656d77bb8fac1283f687b65a86bc3eff1ef77e11b3e5899f36f135f4b0d88f445135e21dd SHA512 01f0b211a0560c451cafb7653790b8f84930c542713637ba6305a536d65103bb54e80d66dfd12daecfbb189b33825393ea13b4cc19d9733a09478920165e3f6e diff --git a/sys-auth/keystone/keystone-17.0.0.ebuild b/sys-auth/keystone/keystone-17.0.0.ebuild deleted file mode 100644 index e3914fff6d77..000000000000 --- a/sys-auth/keystone/keystone-17.0.0.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit distutils-r1 - -DESCRIPTION="The Openstack authentication, authorization, and service catalog" -HOMEPAGE="https://launchpad.net/keystone" -if [[ ${PV} == *9999 ]];then - inherit git-r3 - SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/keystone/ussuri/keystone.conf.sample -> keystone.conf.sample-${PV}" - EGIT_REPO_URI="https://github.com/openstack/keystone.git" - EGIT_BRANCH="stable/ussuri" -else - SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/keystone/ussuri/keystone.conf.sample -> keystone.conf.sample-${PV} - https://tarballs.openstack.org/${PN}/${P}.tar.gz" - KEYWORDS="amd64 ~arm64 x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+sqlite ldap memcached mongo mysql postgres test" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - !~dev-python/pbr-2.1.0" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - ${CDEPEND}" -RDEPEND=" - ${CDEPEND} - >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] - >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] - >=dev-python/flask-restful-0.3.5[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] - sqlite? ( - >=dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] - ) - mysql? ( - >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] - !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] - ) - postgres? ( - >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] - ) - >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/keystonemiddleware-7.0.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] - >=dev-python/scrypt-0.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] - >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] - >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}] - >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] - >=dev-python/oslo-policy-3.0.2[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] - !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] - >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] - >=dev-python/pysaml2-4.5.0[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.6.1[${PYTHON_USEDEP}] - >=dev-python/dogpile-cache-0.6.2[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] - >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}] - !~dev-python/pycadf-2.0.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.5.0[${PYTHON_USEDEP}] - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - memcached? ( - >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}] - ) - mongo? ( - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}] - !~dev-python/pymongo-3.1[${PYTHON_USEDEP}] - ) - ldap? ( - >=dev-python/python-ldap-3.1.0[${PYTHON_USEDEP}] - >=dev-python/ldappool-2.3.1[${PYTHON_USEDEP}] - ) - || ( - www-servers/uwsgi[python,${PYTHON_USEDEP}] - www-apache/mod_wsgi[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - ) - acct-user/keystone - acct-group/keystone" - -python_prepare_all() { - # it's in git, but not in the tarball..... - sed -i '/^hacking/d' test-requirements.txt || die - mkdir -p ${PN}/tests/tmp/ || die - sed -i 's|/usr/local|/usr|g' httpd/keystone-uwsgi-* || die - sed -i 's|python|python27|g' httpd/keystone-uwsgi-* || die - # allow useage of renamed msgpack - sed -i '/^msgpack/d' requirements.txt || die - distutils-r1_python_prepare_all -} - -python_test() { - nosetests -I 'test_keystoneclient*' \ - -e test_static_translated_string_is_Message \ - -e test_get_token_id_error_handling \ - -e test_provider_token_expiration_validation \ - -e test_import --process-restartworker --process-timeout=60 || die "testsuite failed under python2.7" -} - -python_install_all() { - distutils-r1_python_install_all - - diropts -m 0750 - keepdir /etc/keystone /var/log/keystone - insinto /etc/keystone - insopts -m0640 -okeystone -gkeystone - newins "${DISTDIR}/keystone.conf.sample-${PV}" keystone.conf.sample - doins etc/logging.conf.sample - doins etc/default_catalog.templates -# doins etc/policy.v3cloudsample.json - insinto /etc/keystone/httpd - doins httpd/* - - fowners keystone:keystone /etc/keystone /etc/keystone/httpd /var/log/keystone - # stupid python doing stupid things - rm -r "${ED}"/usr/etc -} - -pkg_postinst() { - elog "You might want to run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "if this is a new install." - elog "If you have not already configured your openssl installation" - elog "please do it by modifying /etc/ssl/openssl.cnf" - elog "BEFORE issuing the configuration command." - elog "Otherwise default values will be used." -} - -pkg_config() { - if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then - einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." - read - "${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone - else - einfo "keystone PKI certificates directory already present, skipping configuration" - fi -} diff --git a/sys-auth/keystone/keystone-2020.1.9999.ebuild b/sys-auth/keystone/keystone-2020.1.9999.ebuild deleted file mode 100644 index a3c3e0796139..000000000000 --- a/sys-auth/keystone/keystone-2020.1.9999.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit distutils-r1 - -DESCRIPTION="The Openstack authentication, authorization, and service catalog" -HOMEPAGE="https://launchpad.net/keystone" -if [[ ${PV} == *9999 ]];then - inherit git-r3 - SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/keystone/ussuri/keystone.conf.sample -> keystone.conf.sample-${PV}" - EGIT_REPO_URI="https://github.com/openstack/keystone.git" - EGIT_BRANCH="stable/ussuri" -else - SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/keystone/ussuri/keystone.conf.sample -> keystone.conf.sample-${PV} - https://tarballs.openstack.org/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" -fi - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="+sqlite ldap memcached mongo mysql postgres test" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] - !~dev-python/pbr-2.1.0" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - ${CDEPEND}" -RDEPEND=" - ${CDEPEND} - >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] - >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] - >=dev-python/flask-restful-0.3.5[${PYTHON_USEDEP}] - >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] - sqlite? ( - >=dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] - ) - mysql? ( - >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] - !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] - ) - postgres? ( - >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] - ) - >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] - >=dev-python/passlib-1.7.0[${PYTHON_USEDEP}] - >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] - >=dev-python/keystonemiddleware-7.0.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.1.3[${PYTHON_USEDEP}] - >=dev-python/scrypt-0.8.0[${PYTHON_USEDEP}] - >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] - >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] - >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}] - >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] - >=dev-python/oslo-policy-3.0.2[${PYTHON_USEDEP}] - >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] - !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] - >=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}] - >=dev-python/pysaml2-4.5.0[${PYTHON_USEDEP}] - >=dev-python/pyjwt-1.6.1[${PYTHON_USEDEP}] - >=dev-python/dogpile-cache-0.6.2[${PYTHON_USEDEP}] - >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] - >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}] - !~dev-python/pycadf-2.0.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.5.0[${PYTHON_USEDEP}] - >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] - memcached? ( - >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}] - ) - mongo? ( - >=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}] - !~dev-python/pymongo-3.1[${PYTHON_USEDEP}] - ) - ldap? ( - >=dev-python/python-ldap-3.1.0[${PYTHON_USEDEP}] - >=dev-python/ldappool-2.3.1[${PYTHON_USEDEP}] - ) - || ( - www-servers/uwsgi[python,${PYTHON_USEDEP}] - www-apache/mod_wsgi[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - ) - acct-user/keystone - acct-group/keystone" - -python_prepare_all() { - # it's in git, but not in the tarball..... - sed -i '/^hacking/d' test-requirements.txt || die - mkdir -p ${PN}/tests/tmp/ || die - sed -i 's|/usr/local|/usr|g' httpd/keystone-uwsgi-* || die - sed -i 's|python|python27|g' httpd/keystone-uwsgi-* || die - # allow useage of renamed msgpack - sed -i '/^msgpack/d' requirements.txt || die - distutils-r1_python_prepare_all -} - -python_test() { - nosetests -I 'test_keystoneclient*' \ - -e test_static_translated_string_is_Message \ - -e test_get_token_id_error_handling \ - -e test_provider_token_expiration_validation \ - -e test_import --process-restartworker --process-timeout=60 || die "testsuite failed under python2.7" -} - -python_install_all() { - distutils-r1_python_install_all - - diropts -m 0750 - keepdir /etc/keystone /var/log/keystone - insinto /etc/keystone - insopts -m0640 -okeystone -gkeystone - newins "${DISTDIR}/keystone.conf.sample-${PV}" keystone.conf.sample - doins etc/logging.conf.sample - doins etc/default_catalog.templates -# doins etc/policy.v3cloudsample.json - insinto /etc/keystone/httpd - doins httpd/* - - fowners keystone:keystone /etc/keystone /etc/keystone/httpd /var/log/keystone - # stupid python doing stupid things - rm -r "${ED}"/usr/etc -} - -pkg_postinst() { - elog "You might want to run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "if this is a new install." - elog "If you have not already configured your openssl installation" - elog "please do it by modifying /etc/ssl/openssl.cnf" - elog "BEFORE issuing the configuration command." - elog "Otherwise default values will be used." -} - -pkg_config() { - if [ ! -d "${ROOT}"/etc/keystone/ssl ] ; then - einfo "Press ENTER to configure the keystone PKI, or Control-C to abort now..." - read - "${ROOT}"/usr/bin/keystone-manage pki_setup --keystone-user keystone --keystone-group keystone - else - einfo "keystone PKI certificates directory already present, skipping configuration" - fi -} diff --git a/sys-auth/nss-mdns/Manifest b/sys-auth/nss-mdns/Manifest index a38c2f220d03..406ae57ae75d 100644 --- a/sys-auth/nss-mdns/Manifest +++ b/sys-auth/nss-mdns/Manifest @@ -1,7 +1,7 @@ AUX mdns.allow 29 BLAKE2B 9227054a8809f3fdb2f08cf317bc72d8ba44e860cacdf7818737994c28edb8819e1e77d3eb467450c0c1306710d7b0447353b7bb0771b31829ac8999a3d0efbb SHA512 a89d2f8288acd653192ac463f784cdd8a8e8e014094e997d99c4ad5c6522cd3cf1f161714d15b28d9db2cfba60b55302f20a0e810bcf5c9ba633a5ee42dc3f50 DIST nss-mdns-0.14.1.tar.gz 369978 BLAKE2B d1539ff5c1830a120d6ed4fafa36aa6effb9bb973b275317f5d8f4515aad7d2f69f095296a6b95ad8cc19d6eeb076b19b7987c5eabf29fd21f54cfe4a652ed3a SHA512 7c06b984443881a6c0a1f850ee33f14780562cc6168fe1cda176303eb799ece510d51d3830928616723bb95250ad6462978cd8b857f2b79d87116da2c1aeaa5e -DIST nss-mdns-0.15.tar.gz 374714 BLAKE2B a85051604bb7ae7661e6f1d08a99327363a4101641f1441d04388c09e67b651f5721ddac592676bd993314835c8da91bb1f8df52ec0cc1545926df433f490595 SHA512 e71b625a1ac9c36cb3db71e599b89b7ac237250cd9c99ae2e392c8fc1309eb7ba2d2c32f0695eb0b7bb993142a8803065de152cf002bea967e9c263aacd4b7ac +DIST nss-mdns-0.15.1.tar.gz 375154 BLAKE2B d848be9d957f81b62627b3c507e9c503fde4a760cec45b4bacb7fe826f5a16c1a0053ab43887daa7e6dc4cb5fd7332bbc30b18113ee1cf911ee15d6dfac97e52 SHA512 11a82ae9f209326b4501c7e6d33c9932b370c4dcacb64d6783140e25688ad6391bbd113e51ee470fd8be12669124eac331593cfd02a040383b4f964ed6ec6154 EBUILD nss-mdns-0.14.1.ebuild 1697 BLAKE2B 09574d1809542b4fe22b5b31d9bc898653cbd723c0a5b09ba3fefdbc88a8ca6fbf213293f12bcb64f75809af9b16dbb6d71bac08ebfaab7abadf727b3e27105d SHA512 e7438a147a0672ad51de62c665200482e3bb1094288f1ca07dff7c292d2a3a517dddbfa58573deec6d00ec299a758b0a98115ae564494f943c72ca6643738482 -EBUILD nss-mdns-0.15.ebuild 1700 BLAKE2B 85643d6be3e723a7860d379e96d581d55a0c9148e19a7905d8e06a378135b72963402e1e875857cb5c70b14ece2be419c5051c62d25173329ed99f73e67d82cb SHA512 89a165ae10e825792d162563f8934a87579f8184007e56fd8c4d7773f742171741aaf96716bec7d8e27ddaf80891a8f987e4766a218749b1d3ff6fe3bf00ca81 +EBUILD nss-mdns-0.15.1.ebuild 1700 BLAKE2B 85643d6be3e723a7860d379e96d581d55a0c9148e19a7905d8e06a378135b72963402e1e875857cb5c70b14ece2be419c5051c62d25173329ed99f73e67d82cb SHA512 89a165ae10e825792d162563f8934a87579f8184007e56fd8c4d7773f742171741aaf96716bec7d8e27ddaf80891a8f987e4766a218749b1d3ff6fe3bf00ca81 EBUILD nss-mdns-9999.ebuild 1706 BLAKE2B 1e2456a7c419cf5fc56548cc392b0d76bd15d69f3a409b29f57fef807a66a8a84c05cf5656bfddd188367ab8a0aa434bc911a9f7c787cbc387af1a39d8b48cd9 SHA512 ddcae51a8d0b00b0afeb54a4aa149ee5d5d7c8ae8df96eb5b1cb69abf0803a2c91ee8ddc341b30ed6d521a732461926dfa20015d36b5dd3ff14b60628dc3f662 MISC metadata.xml 406 BLAKE2B a4ac86367cbd790b82fb219d1eacebc407bac3f008398749fb2a50d154505fe4d1c5e1e7655ee65281a71ee465560a56687321e6b3f2f5338356fbaa06b518a4 SHA512 db8510c4f8833c94977d7aad5a0c7b768b3ff7d3c3fee8d54bd9a985050e18a7338e5d217333191989eeed71fab47aec1e0ff5e80697d9415542b2b9e4ef263d diff --git a/sys-auth/nss-mdns/nss-mdns-0.15.ebuild b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild index 3f730ac134f6..3f730ac134f6 100644 --- a/sys-auth/nss-mdns/nss-mdns-0.15.ebuild +++ b/sys-auth/nss-mdns/nss-mdns-0.15.1.ebuild diff --git a/sys-auth/nss-pam-ldapd/Manifest b/sys-auth/nss-pam-ldapd/Manifest index 977d0c9aadcd..55744cd0670a 100644 --- a/sys-auth/nss-pam-ldapd/Manifest +++ b/sys-auth/nss-pam-ldapd/Manifest @@ -2,7 +2,6 @@ AUX nslcd-tmpfiles.conf 32 BLAKE2B 082266c3fd69fe866b9698283911e166e48e416b3fd35 AUX nslcd.init 513 BLAKE2B 163a960a9d42b13023064e3adebf1aa8a8d4566d4bb472a224d0cbf58ec5c3f03fabd99917931ce7d36ec24490329986f4525e1a982b3e15c1632a534f1935f8 SHA512 7637cd4751fabb9f645820a7935e71606df95d4ddfbe2f21cb447d6b3bd67d087e61ff71fa88832edecaa306ae37252eb4cef60d11fb982aee7fbc5db24ac995 AUX nslcd.s6 44 BLAKE2B af69fd0202732721739501a65f608fb9fadfdd7e8a58052103a347bd3cfabecc84e5d5478fe689f565ee47f839c4f280d6ad8e88846339995f05fba8942dc8ac SHA512 190cd1440ab30dc32d09d7de9dee783d5d149547e491930d5f514b4bd53197e45a307906762d0e650ef802aa18ba266b40f61483569208c57709b2cbd74d3ae9 AUX nslcd.service 320 BLAKE2B 18a675fcc821d2c5f7766c0739c3bada8550e5e55f7b589fd9806bd961e9d4149be4a145ac51b9aeabad49293d70c726c1a8dd6a78ff724114e3b34e2270c32b SHA512 f04b66e05bfaefd485a4251c46d2b172a193be77554595086241dcd66a7787cf7678c8e5f6be954192a85a69fd2426965e4ca82c00e610ead8c6dd93a9aa21b1 -AUX nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch 537 BLAKE2B 40167724748124428393c2cc0d70c2fa88abd5fc9c2b12739d79f6dbd9f39e7b53351a68fb6db0e4f11bc0f40b960d1ab4ea256ab1f8aa8c75fe9601fc5674c3 SHA512 2fd21d4851f255264cd0e95f88f45fbca62ad8124c1326569c18bea769c205d4992f88a5fff7ca4bf19cd07c9123a39ecd3df2d5221a0430fb1d25d7b4668a30 AUX nss-pam-ldapd-0.9.11-relative-imports.patch 12280 BLAKE2B 9ae632b572a9a997cf704698b6aca7fc19c32e1f08f29de0f0457a6ee567596abf09ed2aeec2fab5535e98280eb887f6adb7a29ad4406216f0a3355c9931b2aa SHA512 2275d1c8ded5d8c2824c97dc361e84b62613453ec502a9685d7e27e54bc1a72da7830d119727f8f1e4df000b1dff53d631f8967eaf70bf75e043e0e302d9afac AUX nss-pam-ldapd-0.9.11-tests-py39.patch 1143 BLAKE2B b4eb5d25ba9c40f00f3d84c9385a1ffc23cf5ec357ce33ba74c954378144e4d88fb811de9c1e802283f03d6be88052677624c1f75bc481938762c5bb0cef9b69 SHA512 f0d0d3345fd83bf1ecbbd5bd7784836b8d8c27b0238a4aefd15ad34b93ffbfc8474edd5a3c7955a2c90e822e426a59f578c6dbb80aed6c2e4b15543ce9dfc286 AUX nss-pam-ldapd-0.9.11-tests.patch 1226 BLAKE2B f8fd1170bae8d206dab6fb11437db7290b488caf8f609f5676f46f55f3d31ba5a4fc59c5484e7151da8fb4a20c50f6739fa7de3115bc8ce706022422e753f31b SHA512 e60122304d4cad52a8e11ba804fd432da8102dc021e9272d0e284d88f3a1b5e7392ef71bfcb460eb3a5faf9ae7e95de943c4e35da03b17d029f058496b6a8087 @@ -10,6 +9,5 @@ AUX nss-pam-ldapd-0.9.11-use-mkstemp.patch 789 BLAKE2B da9525e66873be615cfe90f6a AUX nss-pam-ldapd-0.9.4-disable-py3-only-linters.patch 403 BLAKE2B 2e17a92b3650ce4e6627be7ddb2f656cd9ab53e49d7e2b11d078dac0d7a00015d88d861bfdc1378eb25c1b9750ed3811023cc95b04ccf9d028ffc5899dc01cd5 SHA512 c8cccb044a641f673f12db9717bda4c0c4d91bd1933342595d8f3f540449459c5cf14263133487195b223670d450873f608e3ce5b6f1ca775ca7fe0180a9f962 AUX pynslcd.init 515 BLAKE2B 711ba152ea9cc52198171e451889ab42a224581bae7e4378846f480063ed9a672fdb38b153d6941364d3d06e325d9feb95f6fd17885b4e6181d99393cb54de0a SHA512 56334d86cc027e538d8a0bf9a8b87308e3ae6e91be608a4a630f21c57cc41b6cb5dc6fb3220fed1ca555dd4da6a5c7c10b2776f9e49a7b71a96ece21fc65fed7 DIST nss-pam-ldapd-0.9.11.tar.gz 777878 BLAKE2B c2b442786dd788dcf4373939ed52b4585d1821a7168fdd342ded3c99ef9ac8f3e4af0ac360f842b61885c1f2bc2ef85a0ce9ce0c1027bc974d0ba5242505657f SHA512 2b307805667526b85c724e113fe38899eee397e5c8673e89090d4836ce6d0ffcf18dd022d6c20a5e11d4138e736451b841a0f16ba379d524de4faaaf02906645 -EBUILD nss-pam-ldapd-0.9.11-r2.ebuild 4159 BLAKE2B bc4e732144a72a94bf9f8b98db8410ebf7e67a06118cd79461dab556eaac56e4bb9da6a151e07f35e5d7e324ff27cfac428091721c8696efa89325f5d2154c65 SHA512 9108eff0d788cca661f8789e121f9cf9f9331f56db4d3cec094d8376ced0c7f8d9742d1e10b63d1c774f617354eef94d6adef3ba23c765cb7314b314454d0764 EBUILD nss-pam-ldapd-0.9.11-r3.ebuild 4505 BLAKE2B 7f5a6430cab68536705bc6c5c9cec24966f0ba20c7821d67de11f78752dcc58e77f5414376a25d38cea44efe22eb69570aff4aad6357d72bc47a974ad92e2c66 SHA512 afb00da2ba95518aef803135eb591f3ecc4529774f6dd0994d539c9e88d0e3cfc0265b7c3285354145ac5177bd6cff23b62660e0aa31e382f3a03176516483e1 MISC metadata.xml 1169 BLAKE2B 22b5c9adcafb123a6af088ddfcaa1962eaf250ed153020e65afe36a0e6473b1f8c624f770634a91c3a983c74ded1d43535bb4930f13c6470fad681f5a77fcd51 SHA512 ab658f7d791db370920a4eb57da8ead2713b1cabda6f2dccd24478855043802e7c70a07c3aeaa33829b19dc94a4317d8b5ebec07d1caebe07b4fb3bc59b27b4c diff --git a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch b/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch deleted file mode 100644 index 75ad1015afc1..000000000000 --- a/sys-auth/nss-pam-ldapd/files/nss-pam-ldapd-0.9.11-pynslcd-module-paths.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/pynslcd/pynslcd.py b/pynslcd/pynslcd.py -index 0691b61..df2ca4a 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 -+import pynslcd.common -+import pynslcd.constants -+import pynslcd.invalidator -+import pynslcd.mypidfile -+import pynslcd.search -+from pynslcd.tio import TIOStream - - - # the name of the program diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild deleted file mode 100644 index 58c7e24d6301..000000000000 --- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r2.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=(python3_7) -inherit prefix user python-r1 multilib multilib-minimal systemd s6 tmpfiles - -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="amd64 x86" -IUSE="debug kerberos +pam pynslcd sasl test +utils" -RESTRICT="!test? ( test )" - -COMMON_DEP=" - 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}] - ) - !sys-auth/nss_ldap - !sys-auth/pam_ldap" -RDEPEND="${COMMON_DEP}" -DEPEND="${COMMON_DEP} - test? ( - ${PYTHON_DEPS} - dev-python/pylint[${PYTHON_USEDEP}] - ) - sys-devel/automake" - -REQUIRED_USE=" - utils? ( ${PYTHON_REQUIRED_USE} ) - test? ( ${PYTHON_REQUIRED_USE} pynslcd )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.4-disable-py3-only-linters.patch - "${FILESDIR}"/${PN}-0.9.11-pynslcd-module-paths.patch -) - -pkg_setup() { - enewgroup nslcd - enewuser nslcd -1 -1 -1 nslcd -} - -src_prepare() { - cp pynslcd/pynslcd.py "${S}" || die "Copying pynslcd failed" - - default - use utils && python_setup - touch pynslcd/__init__.py || die "Could not create __init__.py for pynslcd" -} - -multilib_src_configure() { - local -a myconf - - myconf=( - --disable-utils - --enable-warnings - --with-ldap-lib=openldap - --with-ldap-conf-file=/etc/nslcd.conf - --with-nslcd-pidfile=/run/nslcd/nslcd.pid - --with-nslcd-socket=/run/nslcd/socket - $(usex x86-fbsd '--with-nss-flavour=' '--with-nss-flavour=' 'freebsd' 'glibc') - $(use_enable pynslcd) - $(use_enable debug) - $(use_enable kerberos) - $(use_enable pam) - $(use_enable sasl) - ) - - # nss libraries always go in /lib on Gentoo - if multilib_is_native_abi ; then - myconf+=("--with-pam-seclib-dir=${EPREFIX}/$(get_libdir)/security") - myconf+=("--libdir=${EPREFIX}/$(get_libdir)") - else - myconf+=("--with-pam-seclib-dir=/$(get_libdir)/security") - myconf+=("--libdir=/$(get_libdir)") - fi - - ECONF_SOURCE="${S}" econf "${myconf[@]}" -} - -multilib_src_install_all() { - local script - - 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 - - for script in chsh getent; do - python_foreach_impl python_newscript utils/${script}.py ${script}.ldap - done - fi - if use pynslcd; then - rm -rf "${D}"/usr/share/pynslcd - python_moduleinto pynslcd - python_foreach_impl python_domodule pynslcd/*.py - python_scriptinto /usr/sbin - python_newscript pynslcd.py pynslcd - newinitd "${FILESDIR}"/pynslcd.init pynslcd - fi - - newtmpfiles "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf - systemd_newunit "${FILESDIR}"/nslcd.service nslcd.service -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - if use pynslcd; then - python_moduleinto pynslcd - python_foreach_impl python_domodule pynslcd/*.py - fi -} - -python_test() { - PYTHONPATH="${S}" emake check -} - -multilib_src_test() { - pushd "${BUILD_DIR}" - ln -s ../pynslcd/constants.py utils/constants.py - python_foreach_impl python_test - popd -} - -pkg_postinst() { - echo - elog "For this to work you must configure /etc/nslcd.conf" - elog "This configuration is similar to pam_ldap's /etc/ldap.conf" - echo - 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" - echo - 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" - echo -} diff --git a/sys-auth/pam_mysql/Manifest b/sys-auth/pam_mysql/Manifest index c56ea62407a8..79e2e47d35d4 100644 --- a/sys-auth/pam_mysql/Manifest +++ b/sys-auth/pam_mysql/Manifest @@ -1,3 +1,5 @@ DIST pam_mysql-0.8.1.tar.gz 49613 BLAKE2B 1e3f6b0c8a11c8d328300fc820ddbbcd1601735de611e9317aab8f26ab2fbcf0f704e7a2c26de347fe9c4088c8171f0c278cd92e1668671871e5cd79db981241 SHA512 68aecc83c026c7616211a46b80f96fe822c8bd069a5ab6e9b170607bddac0dabe20410f78a1ac61ca1c1b2724ed0f0d99694d34bf28763270da3771c9ef05faf +DIST pam_mysql-0.8.2.tar.gz 55023 BLAKE2B 2b278dc8cff229dd9fe9da2316f51838e6b9d57714dc07c7dfe85142ac4bb2e6c3a3de7eed7ab34917c08a07197c187434211cb7841c85f4c8d2d088309bae3a SHA512 268dd721554bc15125b6ea95b3f7b7a5f4ebf772e0ad65b6cf53d7e23d6154f10d916da774ea338a6b75427b2a6ada2b4730a57a88a15abea62a0454e7c5ea1e EBUILD pam_mysql-0.8.1-r1.ebuild 882 BLAKE2B 9cd44118c3f08968b9f0a342525faf8ea54f87fe831a2e808239f126e7a942a2bedba28e8112ba91264da54b40ed437ae05527c9b525d75de9c84db73db8cfd6 SHA512 6371f6247be3c991bccd1b44f0185eda2201a308d3db64f276f9155d547fce18982aac0703b751642a34725bda29145b45fc03db73ff36c24af3407fad4268f7 +EBUILD pam_mysql-0.8.2.ebuild 885 BLAKE2B 970599e73396c5f5cf912cea0c6eed61f9a043fc3f662bc7ecd4f8357f3e004cae64df49ee38af325ee0ef5bc46cabb7141858f9922cea30ba98329d618d1fd3 SHA512 a49afbcd142e60c4dd3b398b3aea875db6cd86c7d59212c532a757eeff07c2356f1b2f3b3458a6a9e3d4a68f42682a6936e83484c3f8be3d767ea7c649f86c35 MISC metadata.xml 404 BLAKE2B aa7d8e4f9b1d52a6b238bca975f697debb58355314621957db0afaea72490a1e7b386ef05f95d9707d68bee9178b6848affeeadcad6800b0746912916cf2d682 SHA512 d78e3f912015ea18a9385b21c0f7f4d29a2af8773c0a154fd41a1a16abc71af8a7d43b71fa66f835be1b44d3afc22f0333e741313dfccb6446d628962d25915b diff --git a/sys-auth/pam_mysql/pam_mysql-0.8.2.ebuild b/sys-auth/pam_mysql/pam_mysql-0.8.2.ebuild new file mode 100644 index 000000000000..60c10e4af31a --- /dev/null +++ b/sys-auth/pam_mysql/pam_mysql-0.8.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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" +DEPEND=" + >=sys-libs/pam-0.72:0= + dev-db/mysql-connector-c:0= + openssl? ( dev-libs/openssl:0= ) +" +RDEPEND="${DEPEND}" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="openssl" +S="${WORKDIR}/pam-MySQL-${PV}" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +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_u2f/Manifest b/sys-auth/pam_u2f/Manifest index 109ef8775ea3..ee9dfb9b0623 100644 --- a/sys-auth/pam_u2f/Manifest +++ b/sys-auth/pam_u2f/Manifest @@ -1,5 +1,8 @@ AUX pam_u2f-1.0.2-fix-Makefile.patch 324 BLAKE2B bc32459e011106e0f8516afe8e1afaa288e1bb53190b350467a12b9c6bbfaee9beb885bd78f1f1c3665b5f6907c1d7d99fb70d8d476b2dc3fe1fad2cba52f940 SHA512 eddf3c607e953b952ba91acb7d7bb1b8a43d6b70da86faece994011eb3eac43476c6ad9721be0a76805688dc9f9bab02ee5e13f58ce556bb68b8d574135ca44d AUX pam_u2f-1.1.0-include-limits_h.patch 929 BLAKE2B 8dae033c55d8299f72396cec45e3d1fdb121b5f36326ecdc55f7d84793c9409c3d96fa4beecfacbbac0fdd59f27893981fe99e9d46cab808a8f3e26056c037a6 SHA512 75d992031989a36ea558269f4d187a432adbb71d1a32d22b25e3020f1f6a0d56295b9344a1b6ba97f8dde6bf1918c7e3e530946b9fce9a98e315c798d4f07d87 +AUX pam_u2f-1.1.1-fix-Makefile.patch 1174 BLAKE2B 274826e8af955fa2515c5b9a6e4de3357b5c8631324376ecfd2be8d8129c59d9a07764f4ad9594b7dfe4364f73a4b8035e5cbf04b97e5f966f087a555eb1551a SHA512 3d76994be0f17158e23c7e4b45c5994d720e01dd510313bdd3831a7d68cf91325f1c615466dc07452a98efdd21e5f368ad1d76d108c8ac1558b5ba7c387320ef DIST pam_u2f-1.1.0.tar.gz 415677 BLAKE2B dba5cd195d390ba4537752549fa5e0f4487930637fedd64b2750424d21d968bf8be54b75dccba92ac13a18b4e2d44825ec18089e9c4f5dc8e11ac12c36b8d28c SHA512 0ffcc32f0bbee279ad02f9c1cd928e2cf1df2fdebe718d869c16b7fece8edafd73cf08c5dfd6a2bc08434ed1970e16e4f89b6dae3b027a961ab43b26818b634f +DIST pam_u2f-1.1.1.tar.gz 429822 BLAKE2B 8ed44f82295ea24fe30c5830971afd29a23b48e173c3cb69d3dcaf73b142de36f86087eaee69b1793a8846fdb2efc5530d52fa9f40e4357e6cd2ea9960b9bb39 SHA512 ca81c78e67c17c369117e9d38e50033eaa96e0b15673521db2c382de1aa2566f7406fb43801a5938758480966c5e7316943769db5be826983d3865710e0274c1 EBUILD pam_u2f-1.1.0.ebuild 756 BLAKE2B 0eb66a1cb03a85d3ac99b86a8704e3535d96400b16c668372ddc31afc8994b7c4ce9a86cd8c6b14e59dc317bce4f6527e643694d7108b98c5a06913a8055df35 SHA512 c59cd3f29b302c65b9f7936dd9cc17c237fed0cee04252f0de9079a723cc49df5c8ad3963e9fc40515e349b19eb4cb150db224e29f23a303f59c620e35dda203 +EBUILD pam_u2f-1.1.1.ebuild 705 BLAKE2B 873f4cf3d5a1c8b5a2742c4e18c11c8442d7f2cc6ff4deed08b75a99a015bd6a49e1f886471ddccfd43a7afe3a9e4afc2de318e0a2eddc52d8c5e58e5604c574 SHA512 20e678f1683e828c8fee5ebdb41713ac2eb05310e399e0204a0d3de5d252e7a67eb529f00f488c34e220dc17d8aab2166073111de0cdf315f23114aeb5b45082 MISC metadata.xml 714 BLAKE2B 8694b13d8ec22eb56c2bf5637f0ef83c5adf369025aeec8f4512a79914cc00e43620d6db1d95361199c7861a41afd2f1c215758e84584af7d6fdeb7d00619101 SHA512 a59a8b6a51c50c63495eecf712d3a5c9f60b0a94d78a6d2a12d789eb334d77bc80b00de3c2368cbc3cc684c359085af71153f09d0ce5f9cf4f74be77fdc09277 diff --git a/sys-auth/pam_u2f/files/pam_u2f-1.1.1-fix-Makefile.patch b/sys-auth/pam_u2f/files/pam_u2f-1.1.1-fix-Makefile.patch new file mode 100644 index 000000000000..68a9ae741004 --- /dev/null +++ b/sys-auth/pam_u2f/files/pam_u2f-1.1.1-fix-Makefile.patch @@ -0,0 +1,38 @@ +From 1475ea762deee61f4be8c33a0915039ff1fc9b5c Mon Sep 17 00:00:00 2001 +From: David Seifert <soap@gentoo.org> +Date: Fri, 4 Jun 2021 12:09:30 +0200 +Subject: [PATCH] respect `DESTDIR` + +* Without `DESTDIR`, `make install` will try to delete files from the live filesystem. +* Also, do not change `libdir`, create a separate prefix for the pam plugin instead. +--- + Makefile.am | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 896c3ff..560145a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,9 +11,8 @@ ACLOCAL_AMFLAGS = -I m4 + AM_CFLAGS = $(CWFLAGS) $(CSFLAGS) + AM_CPPFLAGS = $(LIBFIDO2_CFLAGS) $(LIBCRYPTO_CFLAGS) + +-libdir = $(PAMDIR) +- +-lib_LTLIBRARIES = pam_u2f.la ++pampluginexecdir = $(PAMDIR) ++pampluginexec_LTLIBRARIES = pam_u2f.la + + pam_u2f_la_SOURCES = pam-u2f.c + pam_u2f_la_SOURCES += util.c util.h +@@ -43,8 +42,8 @@ endif + # Release + + install-exec-hook: +- rm -f $(PAMDIR)/pam_u2f.la +- chmod -f 644 $(PAMDIR)/pam_u2f.so || true ++ rm -f $(DESTDIR)$(pampluginexecdir)/pam_u2f.la ++ chmod -f 644 $(DESTDIR)$(pampluginexecdir)/pam_u2f.so || true + + indent: + clang-format -i *.c *.h pamu2fcfg/*.c pamu2fcfg/*.h diff --git a/sys-auth/pam_u2f/pam_u2f-1.1.1.ebuild b/sys-auth/pam_u2f/pam_u2f-1.1.1.ebuild new file mode 100644 index 000000000000..a8dd23c88d43 --- /dev/null +++ b/sys-auth/pam_u2f/pam_u2f-1.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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:= + dev-libs/openssl:= + sys-libs/pam" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-1.1.1-fix-Makefile.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG + econf --with-pam-dir=$(getpam_mod_dir) +} diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest index ce0fa31a59bd..593e0509426d 100644 --- a/sys-auth/pambase/Manifest +++ b/sys-auth/pambase/Manifest @@ -1,6 +1,4 @@ -DIST pambase-20201103.tar.gz 3295 BLAKE2B 7e104b5342842a21e10dce6e5c5a2d330ec06146b4791b888518463d915eebefbd694a809ff676b32c9c43945087935dc5c3496ae93ac17b7e4fd4e2e2974d1a SHA512 b94e47780f45c5e897b5fd073ce2184a901d241d51516ac5007658b1ae423d0f34c37a09a9e1d055962aa7158675ea7740dfe6466fad5e4a1b50b66a0812f51d DIST pambase-20210201.1.tar.gz 3345 BLAKE2B bc12164181de98b3c5b8ed3b72bc6a84b5c6039f389a87da94e5cb9312fa4e221e6317bcd496d5c634c60cd6fbb8c8cd2f4b845687ef942a707fe687f5184afd SHA512 74ab4d7c19a20c088d667ae92e4dcb99b33584ba56df46184173432fd297bd47917494b81cb5ad3f5f49ad5a797c008527399f329e56f2799f5fc376eaa59236 -EBUILD pambase-20201103.ebuild 2749 BLAKE2B 392d36d5d8dfae048ddd7557706527f9537b0bd308efde7ce57b92f0a5cc1638be3c063b49b1becbb622c3daf80667841c6b7aca6b9590dfbba503d62fa9030c SHA512 20988f5a8bd83a6ef209df9326672bf08884f2d1d5b0137456142c39c13b789d1f6e70ebb6edb344a258ec2240eec0be6883f2994bc73dbd3a5344f6fe6afd0a -EBUILD pambase-20210201.1.ebuild 2874 BLAKE2B bc7d18db38111cfa61e6203bf123830a65aca5c403fed11fac96fb5b536127b861b918d9c41c452b2642deba846d3b0ee758f2134ea4771066c027178668f371 SHA512 162e3a41f0ea48b5331737eb77cac0fc1a8a82d00533ca55be353b83eb874038a7fdb23ba7c7247d9ab34633f97af8c412cfceb92c6cabfe2094e07df0469942 +EBUILD pambase-20210201.1.ebuild 2866 BLAKE2B 6f142f9197f8db5797b753dcc016d2ea56574e02702c490d40d6d8ff2488189b56852c4dd614e4ba8832b235d9a595c135cb6d54fc1c2e767c296f37a20ba0c3 SHA512 e27c2257c6b71a750e36b3de7b4725c11b5c3c819a0ec2f0461687157d08828e5265d12b65882aebc55217390f1cd33df5be7bafd442c5a69535e7d09a2c0e6d EBUILD pambase-999999999.ebuild 2866 BLAKE2B 6f142f9197f8db5797b753dcc016d2ea56574e02702c490d40d6d8ff2488189b56852c4dd614e4ba8832b235d9a595c135cb6d54fc1c2e767c296f37a20ba0c3 SHA512 e27c2257c6b71a750e36b3de7b4725c11b5c3c819a0ec2f0461687157d08828e5265d12b65882aebc55217390f1cd33df5be7bafd442c5a69535e7d09a2c0e6d MISC metadata.xml 3934 BLAKE2B ca15cea69fca97ebe00c624a8bf63293a348446b9cf6a2450338087b894f68e35cc5de037119a9534e4046e7ba6364e60397749d6ef4678f3220739603a77888 SHA512 9550417607667acdffdfb1ca9936bf697ae995a42d8be788d7215a8231bff8d92ed0caaa926450234f4720d6731efa6b9ace35900a3d6a0ce9040574399ccb77 diff --git a/sys-auth/pambase/pambase-20201103.ebuild b/sys-auth/pambase/pambase-20201103.ebuild deleted file mode 100644 index 2f870076f0f1..000000000000 --- a/sys-auth/pambase/pambase-20201103.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit 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://github.com/gentoo/pambase.git" -else - SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - S="${WORKDIR}/${PN}-${P}" -fi - -LICENSE="MIT" -SLOT="0" -IUSE="caps debug elogind gnome-keyring minimal mktemp +nullok pam_krb5 pam_ssh +passwdqc pwhistory pwquality securetty selinux +sha512 systemd" - -RESTRICT="binchecks" - -REQUIRED_USE=" - ?? ( elogind systemd ) - ?? ( passwdqc pwquality ) - pwhistory? ( || ( passwdqc pwquality ) ) -" - -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} ) - systemd? ( sys-apps/systemd[pam] ) -" - -BDEPEND="$(python_gen_any_dep ' - dev-python/jinja[${PYTHON_USEDEP}] - ')" - -python_check_deps() { - has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" -} - -src_configure() { - ${EPYTHON} ./${PN}.py \ - $(usex caps '--caps' '') \ - $(usex debug '--debug' '') \ - $(usex elogind '--elogind' '') \ - $(usex gnome-keyring '--gnome-keyring' '') \ - $(usex minimal '--minimal' '') \ - $(usex mktemp '--mktemp' '') \ - $(usex nullok '--nullok' '') \ - $(usex pam_krb5 '--krb5' '') \ - $(usex pam_ssh '--pam-ssh' '') \ - $(usex passwdqc '--passwdqc' '') \ - $(usex pwhistory '--pwhistory' '') \ - $(usex pwquality '--pwquality' '') \ - $(usex securetty '--securetty' '') \ - $(usex selinux '--selinux' '') \ - $(usex sha512 '--sha512' '') \ - $(usex systemd '--systemd' '') \ - || die -} - -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-20210201.1.ebuild b/sys-auth/pambase/pambase-20210201.1.ebuild index c0f12d649b54..b4166689528b 100644 --- a/sys-auth/pambase/pambase-20210201.1.ebuild +++ b/sys-auth/pambase/pambase-20210201.1.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/gentoo/pambase.git" else SRC_URI="https://github.com/gentoo/pambase/archive/${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" S="${WORKDIR}/${PN}-${P}" fi diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 27560bb9a734..b829add79fe7 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -2,7 +2,9 @@ AUX polkit-0.115-elogind.patch 1069 BLAKE2B 6c5a3d7d3e716a994b951181808f64d864e6 DIST polkit-0.116.tar.gz 1548311 BLAKE2B e9761a2934136d453a47b81dd1f132f9fc96c45b731d5fceb2aa7706f5325b6499f6acbb68032befc1b21878b1b54754685607c916ca8e02a8accca3ca014b31 SHA512 b66b01cc2bb4349de70147f41f161f0f6f41e7230b581dfb054058b48969ec57041ab05b51787c749ccfc36aa5f317952d7e7ba337b4f6f6c0a923ed5866c2d5 DIST polkit-0.117.tar.gz 1554536 BLAKE2B 1cf7e0ff9db19a29be626f4bea96c9e2ef8b1eab4b8287a5f1f4d2a818b86d58c1c4c4a41849d95e31559dba1b18853a31e934ebbadd8e07f94dfd58b45240e0 SHA512 c10ea984f2386fe436e58a2866e5323afc80d24f744f0ee61d966941259aa491bd96b07d911434aa731b300c3cca25b647804b396501175ab5b3c53384e94c70 DIST polkit-0.118.tar.gz 1556765 BLAKE2B d048b37b1ff8ad59a2d8a333a3b459d1592b61f7a6d9a9569f8b2984de913d71abfc9748e242c7453f0bce4f322bd44672e35309f181afd22488794ca0e47119 SHA512 3d412f40c903cfaf68530f9c0cb616106f8edf43bec6805de129f8bb9cb4e64c98da6bf02caa3ef5619974f3e2df7a70564f08b92901662453477e9005752b4e -EBUILD polkit-0.116-r1.ebuild 3300 BLAKE2B 8595ffd0e47b4086d2b7b417bf11ae0eeae9c7b555a25daf0add7070e16e638374d36f6c9b77847ffd67692e53c1fd04d9b29c2b10edd7fb53aaa785ffb465f5 SHA512 bf8d37f0c463f19e611025249c4f8faace23b0e0f65de749e084c96c80924278eb2597a58d73e769cba6d0af403ab46f1087f8163c244195d5ec2c8fbef27cbb -EBUILD polkit-0.117.ebuild 3304 BLAKE2B c700ee70fa5d9b8b38fdb1a274be12152f451ef5d0c389b5a0038cc2f5423bf058506549e81db655474bd3775b5c35967ca0b6d3231cfa512c41bb132ed20c1a SHA512 4ab89d50a29ef939907955958be3e894473d5f6ab020d297485532d741d018e003d871de849639d4d1e3de18405c78f52d091f295468405b56c2b522a5958415 -EBUILD polkit-0.118.ebuild 3278 BLAKE2B e7d8cb19f9730520a30558e574f78707fdccec5d96ed5da8e5d1734e9880feff565899ab1ae08dd51fd1cf038ce7a68b1fb5edcfd75fba360ac38789f2680d6b SHA512 e86a01fe64656d722367d17e8d15dab41e626e185b8c5a97198849b2fcb2ffb82c38eb9089e822bb6b2e8b639bec9e21cd58129168a9081c7dbfce475bc49f0c +DIST polkit-0.119.tar.gz 1387409 BLAKE2B aeb605598393d1cab40f7c77954008a0392600584c5fe8cc9acaa0e122418ee48b9cce0b6839189ea415277ff0ae4dbd5b7c71cb910aa349dcaf7e1f3f70ef06 SHA512 0260fb15da1c4c1f429e8223260981e64e297f1be8ced42f6910f09ea6581b8205aca06c9c601eb4a128acba2f468de0223118f96862ba769f95721894cf1578 +EBUILD polkit-0.116-r1.ebuild 3296 BLAKE2B 0d6916767aeb703f713375112a6fe51855ce13b4250930b188b8d370a93db798efd5c1552ee69c7191e0ee24eaeafa34d38b77f3aa4c0893730ae7d5fc2daa19 SHA512 8b44935bfa8c9b39f1de493e79794faa8e26555fe15fa5225441f3f77fa592902487e708dd30e71902529efd1060cf5b610fd971ba89a16f981c361fb1656582 +EBUILD polkit-0.117.ebuild 3300 BLAKE2B faf6971601ff935b342269e18673556dea10a046771ea7e296126ac4f9abd7dd4f44833b0e24067337019df5c7249da29c8d133c4ee839b98bf0dcac2d0d00c8 SHA512 312bb02aa908627f82f2cdc2039b22e3da154bb8417cafa69413df8d2b0274a32805e690c59bbc10539d0f54908fff753c3a72f747d5c61c8a8390060090fc30 +EBUILD polkit-0.118.ebuild 3274 BLAKE2B 92687b82e0580955fe28e8d46a9cea325c8e9dd0c116e218c8979308839fb4fd7b8aff7cb7994095e852b2687e4a0616d4ca6a5366d397a4114205eba20f198a SHA512 ccfd5b2c8c2d9bd36cc95ff0823f246521f213aedd5a06421841dd539c17c4bcfe9acf24c817cbab3497da348113167c97149d969a96c1e3052791faf2016aae +EBUILD polkit-0.119.ebuild 3274 BLAKE2B 124461b224689d37fab7445d37eb92f3db6566405ffcb08ef62c24a86b286da3fbf75f97009febb1c60400250f95f5250c91db8a26db3bd821e8be64568cfe18 SHA512 ad307bca69a9d4e78788aaa455c01d4735d01d97dd6a1c8553defdd54554b2114f5f0d8b114f76148d63429733d33e5cbe48503390635eaf3796156846887a07 MISC metadata.xml 409 BLAKE2B 5460681a61f218f9347ddaaf9f4171aba5d270d9742588e9c2d9f78d4ba495a811062098ae65ce866ce6c5177adaf6b943db33739214ccaecc2a5e3914c67809 SHA512 e5a26398bdbc9251d175235e40477f20b814753e16565e6ca4f56a7d2f7b22c7238fcadd07519eecef7dee3428bd5b76b377ff19b24b7be5b0f52d4cfff32743 diff --git a/sys-auth/polkit/polkit-0.116-r1.ebuild b/sys-auth/polkit/polkit-0.116-r1.ebuild index e68234b005a6..e1624d37a10f 100644 --- a/sys-auth/polkit/polkit-0.116-r1.ebuild +++ b/sys-auth/polkit/polkit-0.116-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.117.ebuild b/sys-auth/polkit/polkit-0.117.ebuild index 800d91a13472..f14e9de1bf05 100644 --- a/sys-auth/polkit/polkit-0.117.ebuild +++ b/sys-auth/polkit/polkit-0.117.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.118.ebuild b/sys-auth/polkit/polkit-0.118.ebuild index e04bbab4c847..eb34c84d071f 100644 --- a/sys-auth/polkit/polkit-0.118.ebuild +++ b/sys-auth/polkit/polkit-0.118.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="amd64 arm arm64 ~mips ppc64 ~riscv ~s390 x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.119.ebuild b/sys-auth/polkit/polkit-0.119.ebuild new file mode 100644 index 000000000000..8b7e0c4bb46a --- /dev/null +++ b/sys-auth/polkit/polkit-0.119.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pam pax-utils systemd xdg-utils + +DESCRIPTION="Policy framework for controlling privileges for system-wide services" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://gitlab.freedesktop.org/polkit/polkit" +SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~mips ppc64 ~riscv ~s390 x86" +IUSE="elogind examples gtk +introspection kde nls pam 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 + dev-libs/gobject-introspection-common + dev-libs/libxslt + dev-util/glib-utils + dev-util/gtk-doc-am + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + introspection? ( dev-libs/gobject-introspection ) +" +DEPEND=" + dev-lang/spidermonkey:78[-debug] + dev-libs/glib:2 + dev-libs/expat + elogind? ( sys-auth/elogind ) + pam? ( + sys-auth/pambase + sys-libs/pam + ) + 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 NEWS README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.115-elogind.patch # bug 660880 +) + +QA_MULTILIB_PATHS=" + usr/lib/polkit-1/polkit-agent-helper-1 + usr/lib/polkit-1/polkitd" + +src_prepare() { + default + + sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 + + # Workaround upstream hack around standard gtk-doc behavior, bug #552170 + sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \ + -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \ + -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \ + docs/polkit/Makefile.in || die + + # disable broken test - bug #624022 + sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die + + # Fix cross-building, bug #590764, elogind patch, bug #598615 + eautoreconf +} + +src_configure() { + xdg_environment_reset + + local myeconfargs=( + --localstatedir="${EPREFIX}"/var + --disable-static + --enable-man-pages + --disable-gtk-doc + --disable-examples + $(use_enable elogind libelogind) + $(use_enable introspection) + $(use_enable nls) + $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '') + --with-authfw=$(usex pam pam shadow) + $(use_enable systemd libsystemd-login) + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_enable test) + --with-os-type=gentoo + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + # Required for polkitd on hardened/PaX due to spidermonkey's JIT + pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc src/examples/{*.c,*.policy*} + fi + + diropts -m 0700 -o polkitd + keepdir /usr/share/polkit-1/rules.d + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d +} diff --git a/sys-auth/seatd/Manifest b/sys-auth/seatd/Manifest index 87d1261e68ab..d82b4ec290dd 100644 --- a/sys-auth/seatd/Manifest +++ b/sys-auth/seatd/Manifest @@ -2,6 +2,6 @@ AUX seatd.initd 87 BLAKE2B e88a8c353191ad9b69c0ee263aee7a050333d43e8dd26c8b3ee40 DIST seatd-0.4.0.tar.gz 34242 BLAKE2B 295ee18736b5f7e1b06013d00514321aad5fb09c285690cfbd78833a9efbfeb2cfaef69c075fb096fedaac42ff249ee1a43593dbd03132770c1be293ffe7ddc1 SHA512 498ab4040c19ff90842bf82f580ba24c2c98e0aded7ba636dcffc80f6bfd8869eec3e87e784455b66e2b69786b2fc6e7315b2867effa825440759d58e391378c DIST seatd-0.5.0.tar.gz 34762 BLAKE2B 054bd64800b734f6092f856540217e5ea4872c5a363960bac6c5aa7dac5355bdbd982232efd2f8078ad326ec0e6257f3ee7643384c88a3bbe15255d65f02540c SHA512 a6b1f11313411fe99e8bdd64aa493fc19bde7b0b927f21e2c3ec8a7fadc6cf2f04fcefa73fa033d971d1dc482665d3dc927ec168026289fe88b2593a45adbc0f EBUILD seatd-0.4.0-r1.ebuild 1037 BLAKE2B f687419f4f306e0876ce82de334821c59d3813c6e7548f01c1552faade6d5319ee04c39a979da189f691839ae099aa9fa64076f615aa0eb9cd27b42375b03ed8 SHA512 65d935d01a7ebf57cc66b485df74c26991377cbdd9791d2b58a06a64edca454e9508d91fcab94fc8da721a44b8b9e2667c8a46ee925e001e8acf7d15ad9c8c13 -EBUILD seatd-0.5.0.ebuild 1045 BLAKE2B edd13dc3aa7fad7ffc2b71b2cf098e324ae503e3c623039816648387a1ae20f8f184631dd3cd897201ecfffcb9c58af6ca230b45d602911ef9458d0a3a253176 SHA512 8ca4c16280363735a0e2ca584014d562e2a436a451994b7a2fdd70002cd16e377849cd0cb4432f76fa6a31580552c0d8270cdaafc3e865481a1f9da06dc1f465 +EBUILD seatd-0.5.0.ebuild 1042 BLAKE2B a446d0fbfe79100e7496952993fc951c60cbd830f7b9080433a8fbb1fe15d101879ef4e5de1730ee6acd3642d00c7ce0655a5f7f04bac01a0b8e78a6b3b5bef4 SHA512 37030a1212041d703ca4af341ca6751c01cc3a9c6022cb8cc21a24c41eefad54fdede86ba59d43bdc6a32426a795dc05a8fda224e2d06d99fca7e497ded0eb88 EBUILD seatd-9999.ebuild 1040 BLAKE2B 90669d39f22d7d125b293d23ad3187c9d019debb45d80ff79895243b91dafe0a8e994ab16b2932178a5bd6a6c1a582f1a7833c3c1425309f27c0b1b21134b50f SHA512 eaefd1ed17c983f46e462e3a3db3dc4991446dc48a799498767df562eea2199d62432e5b235c4406501791d4b87ddc1d407d2de9670026a3cd953cf851cdf859 MISC metadata.xml 401 BLAKE2B 5d18c166454284e17627d57cef82c4be2baf41ce3de777a0388a83c5d93f23aebba8cbb4a309ee2d56bb40ce1081111e08c5a6573ba73778f1b8d7d93c890c9f SHA512 abcfb783a786d09ea6b52b6252cb4314273be58989c4e0938b2f99ad61b8d85914d86422964cefef574c68eda0698d725a811d73dea1c6ed18f7bec603df02d9 diff --git a/sys-auth/seatd/seatd-0.5.0.ebuild b/sys-auth/seatd/seatd-0.5.0.ebuild index 8ba1984730a7..8f8c121fdb7f 100644 --- a/sys-auth/seatd/seatd-0.5.0.ebuild +++ b/sys-auth/seatd/seatd-0.5.0.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/seatd" else - KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 arm64 ~ppc64 x86" SRC_URI="https://git.sr.ht/~kennylevinsen/seatd/archive/${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="MIT" diff --git a/sys-auth/solo-python/Manifest b/sys-auth/solo-python/Manifest index 8bb3473aca0e..f043d1158ed0 100644 --- a/sys-auth/solo-python/Manifest +++ b/sys-auth/solo-python/Manifest @@ -1,5 +1,3 @@ -DIST solo-python-0.0.27.tar.gz 35657 BLAKE2B 747d8849ad4bdda7c0e4b079dce2d7162f07dad4784bb941242dd8ea759cccd763537cec2c7cd9ecf6f467c771729217648b72aa36292622f5fc3adb8a0c280c SHA512 50d564916e07a0c65a843bd2d0328a735ba71eadcfc893b13fac84a3e51822ed2bf80fc3f7662943a5635c6cd6b3ded8ba5b5a9ac2282c9f9bcdfe9de191e445 DIST solo-python-0.0.30.tar.gz 34932 BLAKE2B 6787d9c6e102cd2cb5579be0cb3ffbbe76b3ae90f4fa6891b6a1ca3e76436568a949daa6796fc17c9868d10d5de3b0dd377619936eccb0d436a284a35efa40a9 SHA512 bba63e598ef585ef49e98f3ec2a79911cf8af3fc38c9407bd91b7500dc55bf84f365664e6f80ff0ed3553ce93f5d61ba11c5301e8b36d6000c7a922857adaa5e -EBUILD solo-python-0.0.27.ebuild 1176 BLAKE2B d1d247c95a6ae62b1f8f1964f303592a2ea7639c48aaa80d6e31d3bfbcb2d3b161ad7856cc93413601ed86d65a962dcdd0a03ddb374b745ef08b047c4f9ddef0 SHA512 f642a785bb585855c0cf93de1a96b5ff129784629215dbea706acc0c21aa98d55255bfd6fbe0126b4eaa64668e28aaec7f0da5478413743c66f56e055d31fbb6 EBUILD solo-python-0.0.30.ebuild 1134 BLAKE2B 1e703ee0c685f70d9b1ab0382d6d7a5e7049298628973e40c7dd63f3fbc8ab5654c11538fcf5cb9cec3424f65368c0418812ebaf9995d5451f53f94006649638 SHA512 d1b429c6f7eada8d5198742c2af4a0e0b5960934a30c2c67cd28b75812849926a4752700e467a0dd8f1679315207319293cf7b194e265921cf3a1fcb6c8be681 MISC metadata.xml 691 BLAKE2B 56d4a4830788efd1222f1e3a9e456b01d43c876856f8ad5063ea9a2a75363fcd66cccc9100af139aadb63b68741493ed89e398c5a38d7a41b676bae187cde15c SHA512 0814323a9067bdfca6730146c21e0c46243eae7b3f68603de5bb3f455f57e47743ea5bce602a897b3f37f27c8981c281d49e04c279295cea74b207d6c0e65945 diff --git a/sys-auth/solo-python/solo-python-0.0.27.ebuild b/sys-auth/solo-python/solo-python-0.0.27.ebuild deleted file mode 100644 index 2ffa6ee8da58..000000000000 --- a/sys-auth/solo-python/solo-python-0.0.27.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml - -inherit distutils-r1 - -DESCRIPTION="Python tool and library for SoloKeys" -HOMEPAGE="https://github.com/solokeys/solo-python" -SRC_URI="https://github.com/solokeys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 MIT" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=">=dev-python/click-7.0.0[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/ecdsa[${PYTHON_USEDEP}] - >=dev-python/fido2-0.8.1[${PYTHON_USEDEP}] - <dev-python/fido2-0.9.0[${PYTHON_USEDEP}] - dev-python/intelhex[${PYTHON_USEDEP}] - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/pyusb[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}]" - -src_prepare() { - # For some reason the version file gets omitted by src_install (a bug in pyproject2setuppy?), - # and in any case there is no advantage to using one once a specific version has been released. - sed -i -e "s/^__version__ = open(.\+$/__version__ = '${PV}'/" solo/__init__.py || die "Failed to set the version number" - distutils-r1_src_prepare -} diff --git a/sys-auth/ssh-ldap-pubkey/Manifest b/sys-auth/ssh-ldap-pubkey/Manifest index 6123567915ba..f735c3a752ec 100644 --- a/sys-auth/ssh-ldap-pubkey/Manifest +++ b/sys-auth/ssh-ldap-pubkey/Manifest @@ -1,3 +1,4 @@ -DIST ssh-ldap-pubkey-1.3.2.tar.gz 15311 BLAKE2B a8119b9808de556184c7f88c86b657d5d342e476b27cf53d92f37b8e9d3db69182b55c62a636bec6624c5d1aa2a90e3a04a22ce5ee8020ada27582b1ac6eefa3 SHA512 8475715151f331017850c094a50bd285574533fa6266341effc83f758ca30af9b9c24b54fce8c3eac5441c5cf18b0d7aa91bb04829b71efc4b8dcacba3642415 -EBUILD ssh-ldap-pubkey-1.3.2.ebuild 1717 BLAKE2B 3b189377e06cb1fa824c286da95ee92709716440ae5fce1fa767bd5f4db33246baed4cc7d753d9a8ad2b67ffe6556ef67ed4ff10e5a5b0a9828e114930a35f4f SHA512 c1f1167c0f4456a1d82b0fd954424e89968d1785cd1d862bffab4ba7dd95ffcbc9588273dc5e6f87a6cd18888ec27cf6d260494ec7a0dd005a6f47e4c611c7bc +AUX ssh-ldap-pubkey-1.3.3-python3.9.patch 1226 BLAKE2B 1f3c3f9168b0370301aa31a47f14aaddd41eb1d14f66505ff013e245dd12cb514ae422f7189f3af6952fc6c7a5e22789c7c7cd88343d89f9c4a07b667e6bafef SHA512 54d23323a90cc25b1172291b99151cae37e346eccca027fc1010cfb8a7e69d6a353c71cefceefd4c06f43e60eb476d9141329ee1ff4cba74991cecdde888d72b +DIST ssh-ldap-pubkey-1.3.3.tar.gz 15389 BLAKE2B 24c741646e33cf7af400053eff17efa35b96ec418d1c2b8c370a371dde51fdbbb3af3423f0cc4374f61b302f9836601444ee72613388fa2d4445957f918d64f9 SHA512 b52d4de3e0704817e8ea0fb316c21646da1bac74ed226812c03f9ee5ae449a86e5ef4c679633d212db05382e216b254a185e29d4a2244318ad5de288b909254a +EBUILD ssh-ldap-pubkey-1.3.3.ebuild 1767 BLAKE2B 07f90f0ae83fc4961725035783e054ceaa8829351445efcafe69aa65774f6fa4713b2a6530d2f3ad8c1cac4abf8c092cf19ad63ca64e8e7a3f1bc0e44c82afab SHA512 fae36d8a5d43650ff949f20ea513fe79ee6806165af8d8190177c33c87a093ef014210555ebd30329501c3793882eef6e383c7f87dd8875dd46199aa359ec653 MISC metadata.xml 523 BLAKE2B 0a9308f1acc865d1150c5d1f7275ab7d213965be821936aadc1e92b6a0ca0f3ba90a8e4b28a1683b182fe1d540991ff032407e641ce0ea4b4f8511a880e74d99 SHA512 f9db947dfb435f981350a30cd8d6d9163b9b5067f610eae87f17c85d6a123a2dd620aa06d1a290ed148321d68c37877662885b07b5af15fce3f13d0afbba67dc diff --git a/sys-auth/ssh-ldap-pubkey/files/ssh-ldap-pubkey-1.3.3-python3.9.patch b/sys-auth/ssh-ldap-pubkey/files/ssh-ldap-pubkey-1.3.3-python3.9.patch new file mode 100644 index 000000000000..b646603a134a --- /dev/null +++ b/sys-auth/ssh-ldap-pubkey/files/ssh-ldap-pubkey-1.3.3-python3.9.patch @@ -0,0 +1,34 @@ +commit 56b4b77bfa2b063b3f3686b54d8e39f6bce1d2a0 +Author: Thomas Deutschmann <whissi@whissi.de> +AuthorDate: Wed Jun 2 17:40:06 2021 +0200 +Commit: Thomas Deutschmann <whissi@whissi.de> +CommitDate: Wed Jun 2 18:01:16 2021 +0200 + + Use decodebytes instead of decodestring in Python 3.9 + + base64.decodestring(), alias deprecated since Python 3.1, has been removed + in Python 3.9 in favor of new base64.decodebytes() function [Link 1]. + + Link 1: https://docs.python.org/3.9/whatsnew/3.9.html#removed + Closes: https://github.com/jirutka/ssh-ldap-pubkey/issues/49 + +diff --git a/ssh_ldap_pubkey/__init__.py b/ssh_ldap_pubkey/__init__.py +index 5da2ade..d80b335 100644 +--- a/ssh_ldap_pubkey/__init__.py ++++ b/ssh_ldap_pubkey/__init__.py +@@ -39,8 +39,14 @@ def is_valid_openssh_pubkey(pubkey): + key_type, data64 = map(_encode, pubkey.split()[0:2]) + except (ValueError, AttributeError): + return False ++ ++ if hasattr(base64, "decodebytes"): ++ decodebytes = base64.decodebytes ++ else: ++ decodebytes = base64.decodestring ++ + try: +- data = base64.decodestring(data64) ++ data = decodebytes(data64) + except base64.binascii.Error: + return False + diff --git a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.3.ebuild index 8b28be2a5b7f..ac7bd5162af7 100644 --- a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild +++ b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 DESCRIPTION="Utility to manage SSH public keys stored in LDAP" @@ -15,7 +15,7 @@ if [[ ${PV} == "9999" ]]; then inherit git-r3 else SRC_URI="https://github.com/jirutka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86" fi LICENSE="MIT" @@ -40,10 +40,12 @@ DEPEND=" # We need to block previous net-misc/openssh packages # to avoid file collision on "/etc/openldap/schema/openssh-lpk.schema" RDEPEND="${MY_CDEPEND} - schema? ( !net-misc/openssh[ldap] )" + schema? ( !net-misc/openssh[ldap(-)] )" DOCS=( README.md CHANGELOG.adoc ) +PATCHES=( "${FILESDIR}"/${P}-python3.9.patch ) + src_prepare() { sed -i -e 's/pyldap/python-ldap >= 3.0/' setup.py || die distutils-r1_src_prepare diff --git a/sys-auth/sssd/Manifest b/sys-auth/sssd/Manifest index 339b6eea6fd6..b993952010db 100644 --- a/sys-auth/sssd/Manifest +++ b/sys-auth/sssd/Manifest @@ -2,6 +2,8 @@ AUX sssd-2.3.1-test_ca-Look-for-libsofthsm2.so-in-usr-libdir-sofths.patch 1180 B AUX sssd.conf 124 BLAKE2B b6f9c016a014510f97b036d23d5f50e1e13085220fe82b0e6ef7a3ceeb114e59af935f39e66e4ad60a46f43983930e5d381b16b0ed31ba4349abe38c4b509367 SHA512 f16908c44b213edbf6b0c6e8d49df92e8c06fc623279037074fe51e49b8aca7dc18f5ed83f71909fc8209df80dfc150583edb1687f88e61588bdf9d1fbf6ed5a DIST sssd-2.3.1.tar.gz 7186526 BLAKE2B 6d630fe75b9b426ef54adbe1704fde8e01fc34df7861028c07ce2985db8a151ce743d633061386fea6460fe8eabb89242b816d4bac87975bb9b7b2064ad1d547 SHA512 6aeb52d5222c5992d581296996749327bcaf276e4eb4413a6a32ea6529343432cfe413006aca4245c19b38b515be1c4c2ef88a157c617d889274179253355bc6 DIST sssd-2.5.0.tar.gz 7474851 BLAKE2B 835ca53a7910f457666a92be62fe047dbcf52c56560dad60d6c6275dccca917b4349d053586c8c88da49f900d570c890faa7372783be35940ccd49d1fd4ec09d SHA512 80b5e81cedacdf0bbe724af20d69b918bb6cc353976c6c65421afcd5809d1723f523bc3c1be294b9e01cfda9617c2df5c6ceb007837f195eb1abc2abdab9858c +DIST sssd-2.5.1.tar.gz 7492275 BLAKE2B 9f19d12cb0e071b15bd8fe2660ab9a2223d53267549602c4837f35ed852fa60022514a0bbd03c684c1f398d763120c5f706999d86432d9fe03c3715cb0d43000 SHA512 7441df3b5f1cc1eadb0c6853b048d780ecb36761876aaeb26b9a2d87729211d3ceeae01085dc3ec4fd1c5328f951c8abe854b1d01d91fae25466f930fe16e44a EBUILD sssd-2.3.1-r2.ebuild 7563 BLAKE2B b7dd8d9487bf8081aff7a20866e63ea37f97c12f4c6075af8080cf120d060c3075d9f0fa87234f5db6d9aa74ab58d0d53b21f059133975a819ee1b963d7e888a SHA512 3980637d2480a2247b897c0412a18c53536481eaf624089f5d697353688b13181d3928e8d665829f411d7bcf3e7da95b51a6407072a5c9548c7f66b47e92b30c EBUILD sssd-2.5.0.ebuild 7712 BLAKE2B 4a24c8e318bf59b39b32e748ef3b9883d04f948ce728939a6be93d0aa24bcd5d79de7eefb377bbcab2fa08900650549c4b31101e40b5da6c96ed617b9dba4d52 SHA512 c8be74be419ee65473cb415f2b0b642c9f1b1ecdf523ddd587d36c77abfb5a49633476d0f3cd9813e7fd44abc5d6bb4d7b1456a74c324ebdd1cbd84782f7f79a +EBUILD sssd-2.5.1.ebuild 7673 BLAKE2B 092df102af81094e598184c006d2669745fea384308dfc7655b35e84fd80dc56c5c9e587b9217b9ef822ad0893d0967827257f693ea5fb116b3ae9b4e7ad1b1f SHA512 85a3c54b36d15c0c4f9641c03b7893ca8994cb0f8218eb8039947dd500227640bc56bd6056cf94a60670b42c1b2d25d015383e5f0c47e95ccb33548550dec490 MISC metadata.xml 1181 BLAKE2B 169890eab8d708cc561792859dd065849c6c1b5ea4b338133a9850979032ebfe292d200c0437bbded1369cebef60c3acb9e4c6a3af4384700bd703a90ecd67ac SHA512 b4fc2aefde3549d763dcd806a1314f8bb09d2b8a18652d6e5d4e6c6e61e345c3e05fc161adef31e93c99344b6a7e129fa10e6ed0c34445c0c6149c2fe9da23a9 diff --git a/sys-auth/sssd/sssd-2.5.1.ebuild b/sys-auth/sssd/sssd-2.5.1.ebuild new file mode 100644 index 000000000000..3c3af9abb66e --- /dev/null +++ b/sys-auth/sssd/sssd-2.5.1.ebuild @@ -0,0 +1,297 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit autotools flag-o-matic linux-info multilib-minimal python-single-r1 pam systemd toolchain-funcs + +DESCRIPTION="System Security Services Daemon provides access to identity and authentication" +HOMEPAGE="https://github.com/SSSD/sssd" +SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +LICENSE="GPL-3" +SLOT="0" +IUSE="acl doc +locator +netlink nfsv4 nls +man pac python samba selinux sudo systemd systemtap test valgrind" +RESTRICT="!test? ( test )" + +REQUIRED_USE="${PYTHON_REQUIRED_USE} + pac? ( samba ) + test? ( sudo ) + valgrind? ( test )" + +BDEPEND=">=sys-devel/autoconf-2.69-r5 + virtual/pkgconfig + ${PYTHON_DEPS} + doc? ( app-doc/doxygen ) + 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 + valgrind? ( dev-util/valgrind ) + ) + man? ( + app-text/docbook-xml-dtd:4.4 + >=dev-libs/libxslt-1.1.26 + nls? ( app-text/po4a ) + )" + +DEPEND=">=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}] + app-crypt/p11-kit + >=dev-libs/ding-libs-0.2 + dev-libs/glib:2 + >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos] + >=dev-libs/libpcre-8.30:= + >=dev-libs/popt-1.16 + >=dev-libs/openssl-1.0.2:0= + >=net-dns/bind-tools-9.9[gssapi] + >=net-dns/c-ares-1.7.4 + >=net-nds/openldap-2.4.30[sasl] + >=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 + >=sys-libs/ldb-1.1.17-r1:= + virtual/libintl + locator? ( + >=net-dns/c-ares-1.10.0-r1[${MULTILIB_USEDEP}] + ) + acl? ( net-fs/cifs-utils[acl] ) + netlink? ( dev-libs/libnl:3 ) + nfsv4? ( || ( >=net-fs/nfs-utils-2.3.1-r2 net-libs/libnfsidmap ) ) + nls? ( >=sys-devel/gettext-0.18 ) + pac? ( + net-fs/samba + ) + python? ( ${PYTHON_DEPS} ) + samba? ( >=net-fs/samba-4.10.2[winbind] ) + selinux? ( + >=sys-libs/libselinux-2.1.9 + >=sys-libs/libsemanage-2.1 + ) + systemd? ( + dev-libs/jansson:0= + net-libs/http-parser:0= + net-misc/curl:0= + ) + systemtap? ( dev-util/systemtap )" +RDEPEND="${DEPEND} + >=sys-libs/glibc-2.17[nscd] + selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )" + +CONFIG_CHECK="~KEYS" + +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 + + sed -i \ + -e 's:/var/run:/run:' \ + "${S}"/src/examples/logrotate \ + || die + + # disable flaky test, see https://github.com/SSSD/sssd/issues/5631 + sed -i \ + -e '/^\s*pam-srv-tests[ \\]*$/d' \ + "${S}"/Makefile.am \ + || die + + eautoreconf + + multilib_copy_sources +} + +src_configure() { + local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1) + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=() + + myconf+=( + --localstatedir="${EPREFIX}"/var + --runstatedir="${EPREFIX}"/run + --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-os=gentoo + --with-nscd="${EPREFIX}"/usr/sbin/nscd + --with-unicode-lib="glib2" + --disable-rpath + --disable-static + --sbindir=/usr/sbin + --enable-local-provider + $(multilib_native_use_with systemd kcm) + $(multilib_native_use_with systemd secrets) + $(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) + $(use_enable locator krb5-locator-plugin) + $(use_enable pac pac-responder) + $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) + $(use_enable nls) + $(multilib_native_use_with netlink libnl) + $(multilib_native_use_with man manpages) + $(multilib_native_use_with sudo) + $(multilib_native_with autofs) + $(multilib_native_with ssh) + $(use_enable systemtap) + $(use_enable valgrind) + --without-python2-bindings + $(multilib_native_use_with python python3-bindings) + ) + + # Annoyingly configure requires that you pick systemd XOR sysv + if use systemd; then + myconf+=( + --with-initscript="systemd" + --with-systemdunitdir=$(systemd_get_systemunitdir) + ) + else + myconf+=(--with-initscript="sysv") + fi + + 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,COLLECTION,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' ' + {PCRE,CARES,SYSTEMD_LOGIN,SASL,GLIB2,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' ' + {NDR_NBT,SMBCLIENT,NDR_KRB5PAC}_{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-secrets + --without-kcm + ) + fi + + econf "${myconf[@]}" +} + +multilib_src_compile() { + if multilib_is_native_abi; then + default + use doc && emake docs + if use man || use nls; then + emake update-po + fi + else + emake libnss_sss.la pam_sss.la + use locator && emake sssd_krb5_locator_plugin.la + use pac && 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}" "${_at_args[@]}" install + if use python; then + python_optimize + python_fix_shebang "${ED}" + fi + else + # easier than playing with automake... + dopammod .libs/pam_sss.so + + into / + dolib.so .libs/libnss_sss.so* + + if use locator; then + exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5 + doexe .libs/sssd_krb5_locator_plugin.so + fi + + if use pac; then + exeinto /usr/$(get_libdir)/krb5/plugins/authdata + doexe .libs/sssd_pac_plugin.so + fi + fi +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die + + insinto /etc/sssd + insopts -m600 + doins "${S}"/src/examples/sssd-example.conf + + insinto /etc/logrotate.d + insopts -m644 + newins "${S}"/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,sss_simpleifp}_doc || die + fi + + rm -r "${ED}"/run || 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. Please see howto in https://sssd.io/docs/design_pages/smartcard_authentication_require.html" +} |