diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-15 20:28:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-15 20:28:49 +0100 |
commit | 7255c5d5fcd8fcdd07d2791563dc43bf4e14cf3a (patch) | |
tree | 515e0e28ee6d81ce42725bd00b369ea0c1130d91 /sys-apps | |
parent | 1c3adf43f1b866276828623dd63f9e10d29421d3 (diff) |
gentoo auto-resync : 15:08:2022 - 20:28:49
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/Manifest.gz | bin | 48187 -> 48182 bytes | |||
-rw-r--r-- | sys-apps/bubblewrap/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bubblewrap/bubblewrap-0.6.2-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/kmscon/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/kmscon/kmscon-9.0.0.ebuild | 2 | ||||
-rw-r--r-- | sys-apps/shadow/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/shadow/shadow-4.12.1.ebuild | 258 |
7 files changed, 265 insertions, 4 deletions
diff --git a/sys-apps/Manifest.gz b/sys-apps/Manifest.gz Binary files differindex b8c6dc48df77..68f29a7cc4c8 100644 --- a/sys-apps/Manifest.gz +++ b/sys-apps/Manifest.gz diff --git a/sys-apps/bubblewrap/Manifest b/sys-apps/bubblewrap/Manifest index a9522919c797..c6bd020db68e 100644 --- a/sys-apps/bubblewrap/Manifest +++ b/sys-apps/bubblewrap/Manifest @@ -1,4 +1,4 @@ DIST bubblewrap-0.6.2.tar.xz 146312 BLAKE2B bf02e9095cd1e80b84e0439d14ce57fc9bb08f9f0d3596a19eb34a55bd03b9d371368eda75f2b2106d47db29d1c2d9845fe2a12f5d0c554bbb532c9e0e53d368 SHA512 235da019cb370ea6d9328352acb38e6ff368f02f71db1ae85f2dd37655757975bd5b57bbe15f7b419b53a26b8ec3edd81b55893b420d5f42d6a9dab3471d0096 -EBUILD bubblewrap-0.6.2-r1.ebuild 1161 BLAKE2B f64cae1be7c08809454a1fe27404016e479d5c849fab9f76ca802358f5b1fe25b47a2c4395de5ef934f10613ca36d28e21ee21a2ab20834dd3a2fb364bafbd1b SHA512 0ae441233b18e6c66fc522f846f1b4492dce7f3cc644d373297a7087a7a0aab034e113bee4de4341cb412ee92142fdf7c66ba713ce5509f4ba6a47d2e092f835 +EBUILD bubblewrap-0.6.2-r1.ebuild 1160 BLAKE2B 9a33d0ac70896d79714a96c0852ee0b607559d1b1d4bffe479152a1cb16a9be48fa0bb4362ecd906a8d1901d00034bf85adf2bfd51bee44cdb650eb50821d882 SHA512 10b9b124808d2429646fa5de1124059fc8e6c5904dfa5ad90303775d492edde2c016f68ac8cd5fca63036dca3d48eda9d397d2dd23881f552283224185a0123b EBUILD bubblewrap-0.6.2.ebuild 1159 BLAKE2B 9e9398a70f4c6b17d185d8ac5cf6ca1ac93a46495f6578914ce468cd4d5aaafaeff8b9c97a60a0baf80b7b109d09919ef5d6318a7c72b2020470491e6e6a7d5e SHA512 154c5f59f1fe12bbedeecc0f10b7794c332c3a909415c591279827aed2a4c6268a765e67a9759e15e4f25e8a15594ac69f8bc53121886afc6239f1843a92efd6 MISC metadata.xml 453 BLAKE2B 69f1ca03c4b84f4adc2db8bbed8bf57852719c136778747e2679517afe63b1a0621ab486121b71d78c8ae235c2cd7e3077e85ed8d3ad51cc16f1838eb94bd448 SHA512 486775a479174ad72dbcd7f6a89c8001af1a8a4c5b73620153fed4da28b15fb1c481003ffd96ef68d2b49569ed0c1a9d445bc03a9901056cd29b77b3cf13a1ef diff --git a/sys-apps/bubblewrap/bubblewrap-0.6.2-r1.ebuild b/sys-apps/bubblewrap/bubblewrap-0.6.2-r1.ebuild index f0b113d6ab18..7762033d3da4 100644 --- a/sys-apps/bubblewrap/bubblewrap-0.6.2-r1.ebuild +++ b/sys-apps/bubblewrap/bubblewrap-0.6.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.x LICENSE="LGPL-2+" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" IUSE="selinux suid" RDEPEND=" diff --git a/sys-apps/kmscon/Manifest b/sys-apps/kmscon/Manifest index a57b80a4bed8..ad98febc9230 100644 --- a/sys-apps/kmscon/Manifest +++ b/sys-apps/kmscon/Manifest @@ -5,5 +5,5 @@ DIST kmscon-9.0.0.tar.xz 736668 BLAKE2B a44a4b3739b1ed4a597713ca2ef7adb33f1ab713 EBUILD kmscon-8_p20180906-r2.ebuild 2929 BLAKE2B 9fa4c899c776e7bd780b6dd40d1a8adc9880ab129a308479f60eabecd00843e389b886dbd632c4d5da4b2d5d04ba655e1af2b49d3bffabd1873b0f523fcb14e2 SHA512 ac8ca2c15773715a2b79b494fd82952f89bd805223a7b36c04a44aa1d81f5378129bde32ef970b1a8c19bcf2af75a44245b880e70dcb2dcad9b9a8ecb4e2f48d EBUILD kmscon-8_p20220214-r1.ebuild 3015 BLAKE2B c49d2f797ff8db10fe01affcf3a75dc03cbb233e654cfb2e898b09e065b84871cffa658f5ec81f29b53671cefd40b54b9abba79a9f61a568cbf23a21f930d388 SHA512 41dd8e5fc4de97d6e413a4830c2108a1cc0ddc20f55d0bc929164149b81707c8882584262253d2dbbc3e54dbbd9ba5e151d0d80376255ae6a93bec6b7040561a EBUILD kmscon-8_p20220214.ebuild 2929 BLAKE2B 77b35eb82062531590fad5fba956c9e50c0818635a59f437f090282dad52d7973408a6f1f14e5ad0dda660b816adcf113afddaeee6f2314618681add1c08c019 SHA512 28a613ece6af9b05330f52cf864a036ca8fdb25b9567d993d59617cd6e7eb77bcf2aeded9caf0f8ea37b29411097ef3ee79acde6510b35368f4b8db0b8ff4681 -EBUILD kmscon-9.0.0.ebuild 2010 BLAKE2B 35ab148e1de762470a6fd5358cfb8a9685f68153a458b57af90449afc0082a3f9acfdf3a5ce04f8059351a70a57d0a9bccbc78b7ac061ccce36e0871525c935b SHA512 545952c3c7d4356890ab0a3d66f93d0511489bd7944c3dff969d4c42365b841ead79385285cba4441ba3848016e6bbc2afc9dc33c853e2f0e1a0015e48cc8dfe +EBUILD kmscon-9.0.0.ebuild 2010 BLAKE2B ecb49c3f65fc292d18f030f8f9f22b3d33825f1e7a95abceaf573aefb94825841641352f794acf5fe8df3d1e712478af718266f821880fa3501dada87519b291 SHA512 47535cd0cc35e993308e151b113e7d86b529bb28e756baab289551c659656fb9fe4328e19bfdcd084b57fc1392dc8103b6904b8ff946612a417e281ccf2de7ac MISC metadata.xml 665 BLAKE2B 3eda7f9e7848f5e1ee5161d8f124bd9cec1978c3bac41c3d3b90ffa1eb6300cb69a609233307731e7f71c89a30550c61f84d2690793a75f500853491bc137391 SHA512 d692f3f0cdabf80e3c5eb6c4a41efa457ab15b3e90ecadf741e829ea28a63f223e55439b4ca7f0ef15a61e8f9e77c2b9eb0952241940a939e801b97280dbda1a diff --git a/sys-apps/kmscon/kmscon-9.0.0.ebuild b/sys-apps/kmscon/kmscon-9.0.0.ebuild index 1e801b38d81d..50f1e4fd45e1 100644 --- a/sys-apps/kmscon/kmscon-9.0.0.ebuild +++ b/sys-apps/kmscon/kmscon-9.0.0.ebuild @@ -33,7 +33,7 @@ DEPEND="${COMMON_DEPEND} BDEPEND="virtual/pkgconfig doc? ( dev-util/gtk-doc )" -REQUIRED_USE="gles2? ( drm )" +REQUIRED_USE="drm? ( gles2 )" PATCHES=( "${FILESDIR}"/kmscon-9.0.0-systemd-path-fix.patch ) diff --git a/sys-apps/shadow/Manifest b/sys-apps/shadow/Manifest index bf5e39020ada..1cccde818247 100644 --- a/sys-apps/shadow/Manifest +++ b/sys-apps/shadow/Manifest @@ -5,5 +5,8 @@ AUX pam.d-include/shadow 152 BLAKE2B 82d1f678abc60586ea873da7e2f4907349d77a64085 AUX pam.d-include/shadow-r1 116 BLAKE2B bc7baa8e224cb90b6ef79762941b3b7505fcf4b8ed8c5da06a33a8a7fefa91098e4ac0c0f915eeca4a19714d60a2bf43e3922805347e3dfe0ccc80f210bf88e4 SHA512 ddecc5cc8f667f9931ddf5d98d89a986712c5a6e44826add1e1d9ead37064758a3879f6afd1fc45c89c216956593852051e2ef3abc52e2ab58a0e191adfe75d1 AUX shadow-4.1.3-dots-in-usernames.patch 302 BLAKE2B a83f463be9267c3a704997b98d67cd0daddf8ee05debf447d091530517a855078bd53ce28c87045643b2b8c467dd09caad06a4eb0a6568c271e6a42b49a54dcc SHA512 ad20fb3f4f0292f39b5da796e41df71e9e8b1b81dd11a99b2d988440c1b435b0061333a0a5a37a909598d5a840a75946e8c59c74426bae7452de88cf673a5f7d DIST shadow-4.11.1.tar.xz 1656584 BLAKE2B d459a1e0ffb342b6b455caf65e6af60b32eee72d4a9b1ab126485fb4632503a42061d3f0b960554c8155af6dc0564c585335b27aecca6538b394a0d58d927588 SHA512 12fbe4d6ac929ad3c21525ed0f1026b5b678ccec9762f2ec7e611d9c180934def506325f2835fb750dd30af035b592f827ff151cd6e4c805aaaf8e01425c279f +DIST shadow-4.12.1.tar.xz 1745968 BLAKE2B 613055a1ffa4499b8e9e106327dc13c38e51a7bdee8da0a9786fa03c6b609300514cc44d7a90dcc75414b6e3848855e82ad76ce8e40f11f379beba7a484da952 SHA512 997d127f25bf04dfbcf82f6afd27d1f6bd018a027211f43126e91361bb8d96ffa968c5cbb6409e215cc4c3cafb82ba62d9777b2ba3fbf367a0d48beba3269568 +DIST shadow-4.12.1.tar.xz.asc 488 BLAKE2B a8c38241971712ed1d382dcbb0ba7976b0e9d063feee2d5b23b443d7e5c4f51c221f660223ba92aa2d9ca3111bd200456425e9d8104a5be60c2c3d5b6b662a3f SHA512 f87d4353812e95b6b20d0be48fd1d63eebe6ecc4fe23a05493195c7b158a6454df7b88cb2617d56332f620a1ef0387ba782afa0b1b49a50545a79c14d4f928b9 EBUILD shadow-4.11.1.ebuild 6247 BLAKE2B 1aa58e8496f45bfa85c1d9a9893eeb31629ea6709b81451e68a42369f7bfb293c538bc1b2d458afbd30a7c9511d88c8f977c7ec4283b38553de454f5b1712ef1 SHA512 021974ec33b5cc1d512a6c1626b7e71787b30ecf331aa9aba214b1f37a2ea8ef02f53dcc186ee2ccdd304845af3f5ae8526da5073611f90e26cb45840ed2aed6 +EBUILD shadow-4.12.1.ebuild 6489 BLAKE2B e8bc0fb3f2807177cb64fa14561fd1d23a4210282e6a5d6e09ad76147e69b3f7075f4fb0d1283dc6b123a3425507923cd396a5f6a3d1ee8787246d944a35e9e1 SHA512 a122bcb3e8c0e0d6962e26a4ab4d80c8534f5c0a9068ac57e1563f32fe09e64903171356bf46a1f91c6475fa30a5c23e9ed106a6ae563ec08230c1d117eba822 MISC metadata.xml 606 BLAKE2B 2b14042f4702a908f8250c3fb6499ea33d8a8c44072707aa44881a36e3cc710256a821f8cd82c5214b32e9f5632745db4fdf00dd722f6fb7401e2f6b0bfbb4fd SHA512 694e039ae781982e8cbe6670b4e9c93b43455715ce4b9830a5fa61e6bf3eb91abcc284bf29c64fab055ba9754edaeab5d2da8140dbb2794fc1f534e2ccbb2b16 diff --git a/sys-apps/shadow/shadow-4.12.1.ebuild b/sys-apps/shadow/shadow-4.12.1.ebuild new file mode 100644 index 000000000000..3780e71182a1 --- /dev/null +++ b/sys-apps/shadow/shadow-4.12.1.ebuild @@ -0,0 +1,258 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sergehallyn.asc +inherit libtool pam verify-sig + +DESCRIPTION="Utilities to deal with user accounts" +HOMEPAGE="https://github.com/shadow-maint/shadow" +SRC_URI="https://github.com/shadow-maint/shadow/releases/download/${PV}/${P}.tar.xz" +SRC_URI+=" verify-sig? ( https://github.com/shadow-maint/shadow/releases/download/${PV}/${P}.tar.xz.asc )" + +LICENSE="BSD GPL-2" +# Subslot is for libsubid's SONAME. +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="acl audit bcrypt cracklib nls pam selinux skey split-usr su xattr" +# Taken from the man/Makefile.am file. +LANGS=( cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW ) + +REQUIRED_USE="?? ( cracklib pam )" + +COMMON_DEPEND=" + virtual/libcrypt:= + acl? ( sys-apps/acl:0= ) + audit? ( >=sys-process/audit-2.6:0= ) + cracklib? ( >=sys-libs/cracklib-2.7-r3:0= ) + nls? ( virtual/libintl ) + pam? ( sys-libs/pam:0= ) + skey? ( sys-auth/skey:0= ) + selinux? ( + >=sys-libs/libselinux-1.28:0= + sys-libs/libsemanage:0= + ) + xattr? ( sys-apps/attr:0= ) +" +DEPEND="${COMMON_DEPEND} + >=sys-kernel/linux-headers-4.14 +" +RDEPEND="${COMMON_DEPEND} + !<sys-apps/man-pages-5.11-r1 + !=sys-apps/man-pages-5.12-r0 + !=sys-apps/man-pages-5.12-r1 + nls? ( + !<app-i18n/man-pages-it-5.06-r1 + !<app-i18n/man-pages-ja-20180315-r1 + !<app-i18n/man-pages-ru-5.03.2390.2390.20191017-r1 + ) + pam? ( >=sys-auth/pambase-20150213 ) + su? ( !sys-apps/util-linux[su(-)] ) +" +BDEPEND=" + app-arch/xz-utils + sys-devel/gettext + verify-sig? ( sec-keys/openpgp-keys-sergehallyn ) +" + +PATCHES=( + "${FILESDIR}/${PN}-4.1.3-dots-in-usernames.patch" +) + +src_prepare() { + default + + elibtoolize +} + +src_configure() { + local myeconfargs=( + --disable-account-tools-setuid + --disable-static + --with-btrfs + --without-group-name-max-length + --without-tcb + $(use_enable nls) + $(use_with acl) + $(use_with audit) + $(use_with bcrypt) + $(use_with cracklib libcrack) + $(use_with elibc_glibc nscd) + $(use_with pam libpam) + $(use_with selinux) + $(use_with skey) + $(use_with su) + $(use_with xattr attr) + ) + econf "${myeconfargs[@]}" + + if use nls ; then + local l langs="po" # These are the pot files. + for l in ${LANGS[*]} ; do + has ${l} ${LINGUAS-${l}} && langs+=" ${l}" + done + sed -i "/^SUBDIRS = /s:=.*:= ${langs}:" man/Makefile || die + fi +} + +set_login_opt() { + local comment="" opt=${1} val=${2} + if [[ -z ${val} ]]; then + comment="#" + sed -i \ + -e "/^${opt}\>/s:^:#:" \ + "${ED}"/etc/login.defs || die + else + sed -i -r \ + -e "/^#?${opt}\>/s:.*:${opt} ${val}:" \ + "${ED}"/etc/login.defs + fi + local res=$(grep "^${comment}${opt}\>" "${ED}"/etc/login.defs) + einfo "${res:-Unable to find ${opt} in /etc/login.defs}" +} + +src_install() { + emake DESTDIR="${D}" suidperms=4711 install + + # 4.9 regression: https://github.com/shadow-maint/shadow/issues/389 + emake DESTDIR="${D}" -C man install + + find "${ED}" -name '*.la' -type f -delete || die + + insinto /etc + if ! use pam ; then + insopts -m0600 + doins etc/login.access etc/limits + fi + + # needed for 'useradd -D' + insinto /etc/default + insopts -m0600 + doins "${FILESDIR}"/default/useradd + + if use split-usr ; then + # move passwd to / to help recover broke systems #64441 + # We cannot simply remove this or else net-misc/scponly + # and other tools will break because of hardcoded passwd + # location + dodir /bin + mv "${ED}"/usr/bin/passwd "${ED}"/bin/ || die + dosym ../../bin/passwd /usr/bin/passwd + fi + + cd "${S}" || die + insinto /etc + insopts -m0644 + newins etc/login.defs login.defs + + set_login_opt CREATE_HOME yes + if ! use pam ; then + set_login_opt MAIL_CHECK_ENAB no + set_login_opt SU_WHEEL_ONLY yes + set_login_opt CRACKLIB_DICTPATH /usr/lib/cracklib_dict + set_login_opt LOGIN_RETRIES 3 + set_login_opt ENCRYPT_METHOD SHA512 + set_login_opt CONSOLE + else + dopamd "${FILESDIR}"/pam.d-include/shadow + + for x in chsh shfn ; do + newpamd "${FILESDIR}"/pam.d-include/passwd ${x} + done + + for x in chpasswd newusers ; do + newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x} + done + + newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems + + # Comment out login.defs options that pam hates + local opt sed_args=() + for opt in \ + CHFN_AUTH \ + CONSOLE \ + CRACKLIB_DICTPATH \ + ENV_HZ \ + ENVIRON_FILE \ + FAILLOG_ENAB \ + FTMP_FILE \ + LASTLOG_ENAB \ + MAIL_CHECK_ENAB \ + MOTD_FILE \ + NOLOGINS_FILE \ + OBSCURE_CHECKS_ENAB \ + PASS_ALWAYS_WARN \ + PASS_CHANGE_TRIES \ + PASS_MIN_LEN \ + PORTTIME_CHECKS_ENAB \ + QUOTAS_ENAB \ + SU_WHEEL_ONLY + do + set_login_opt ${opt} + sed_args+=( -e "/^#${opt}\>/b pamnote" ) + done + sed -i "${sed_args[@]}" \ + -e 'b exit' \ + -e ': pamnote; i# NOTE: This setting should be configured via /etc/pam.d/ and not in this file.' \ + -e ': exit' \ + "${ED}"/etc/login.defs || die + + # remove manpages that pam will install for us + # and/or don't apply when using pam + find "${ED}"/usr/share/man -type f \ + '(' -name 'limits.5*' -o -name 'suauth.5*' ')' \ + -delete + + # Remove pam.d files provided by pambase. + rm "${ED}"/etc/pam.d/{login,passwd} || die + if use su ; then + rm "${ED}"/etc/pam.d/su || die + fi + fi + + # Remove manpages that are handled by other packages + find "${ED}"/usr/share/man -type f \ + '(' -name id.1 -o -name getspnam.3 ')' \ + -delete || die + + if ! use su ; then + find "${ED}"/usr/share/man -type f -name su.1 -delete || die + fi + + cd "${S}" || die + dodoc ChangeLog NEWS TODO + newdoc README README.download + cd doc || die + dodoc HOWTO README* WISHLIST *.txt +} + +pkg_preinst() { + rm -f "${EROOT}"/etc/pam.d/system-auth.new \ + "${EROOT}/etc/login.defs.new" +} + +pkg_postinst() { + # Missing entries from /etc/passwd can cause odd system blips. + # See bug #829872. + if ! pwck -r -q -R "${EROOT:-/}" &>/dev/null ; then + ewarn "Running 'pwck' returned errors. Please run it manually to fix any errors." + fi + + # Enable shadow groups. + if [[ ! -f "${EROOT}"/etc/gshadow ]] ; then + if grpck -r -R "${EROOT:-/}" 2>/dev/null ; then + grpconv -R "${EROOT:-/}" + else + ewarn "Running 'grpck' returned errors. Please run it by hand, and then" + ewarn "run 'grpconv' afterwards!" + fi + fi + + [[ ! -f "${EROOT}"/etc/subgid ]] && + touch "${EROOT}"/etc/subgid + [[ ! -f "${EROOT}"/etc/subuid ]] && + touch "${EROOT}"/etc/subuid + + einfo "The 'adduser' symlink to 'useradd' has been dropped." +} |