diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-07-07 07:38:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-07-07 07:38:20 +0000 |
commit | ab134f55b2434ca4e1725a2aa89827892cb2e60f (patch) | |
tree | 44f8e5d1e418b05260e2ecaef207bd33cf553bf8 /sys-libs | |
parent | Cleanup vulnerable versions. (diff) | |
download | historical-ab134f55b2434ca4e1725a2aa89827892cb2e60f.tar.gz historical-ab134f55b2434ca4e1725a2aa89827892cb2e60f.tar.bz2 historical-ab134f55b2434ca4e1725a2aa89827892cb2e60f.zip |
Version bump #553302 by Agostino Sarubbo.
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pam/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/pam/Manifest | 30 | ||||
-rw-r--r-- | sys-libs/pam/pam-1.2.1.ebuild | 201 |
3 files changed, 223 insertions, 15 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index 52e2c25a3495..ed7501a5262b 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/pam # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.352 2015/05/21 03:21:17 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.353 2015/07/07 07:38:18 vapier Exp $ + +*pam-1.2.1 (07 Jul 2015) + + 07 Jul 2015; Mike Frysinger <vapier@gentoo.org> +pam-1.2.1.ebuild: + Version bump #553302 by Agostino Sarubbo. 21 May 2015; Mike Frysinger <vapier@gentoo.org> pam-1.2.0.ebuild: Unset $BROWSER to avoid random xml build failures #549684 by Juergen Rose. diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest index 21a0e9c253dc..242152ac8ca3 100644 --- a/sys-libs/pam/Manifest +++ b/sys-libs/pam/Manifest @@ -15,6 +15,7 @@ DIST Linux-PAM-1.1.8-docs.tar.bz2 147887 SHA256 c4bb6a0e8307d2ab5611457fecf20fcb DIST Linux-PAM-1.1.8.tar.bz2 1148944 SHA256 c4b1f23a236d169e2496fea20721578d864ba00f7242d2b41d81050ac87a1e55 SHA512 245785ab4e187ceaab6393967352c8d2a2319c64e1e83285d0251cc02995dc2edab8e3001301b6d9f6774c441b7557d9caf4dfdf94c7cd5d44aa53ae759d9e5d WHIRLPOOL b4ec7baeb57b9d987086fe3e007e08e8b9c92b2ff86a94f8003a87c8448925835808661cd719d2445570aa8dd1c20fcbbe8bd465d73f4af8cd7edde0f650a734 DIST Linux-PAM-1.2.0-docs.tar.bz2 490586 SHA256 3bc9ae398f759e372dbf4065ceed2df8b1ac5ab62c6688cb5f7849ce773df2c3 SHA512 028b7f9d6b0a5cf38f063e0f82ac3d0955e1e41d77c9f3fc803363d9ea710d71366e0a91f31b418cac397bb6639442de908fa00f02cd94cf612496d1b43c7e4c WHIRLPOOL 9a329b610d840c904050b2261e5ce34ac54232b0c7d51c12ee45c9e758ab6659ea8562e032fa9815c2beab0cfa1ea455dbfbf3cdef39d30d299a8bc5286f7a14 DIST Linux-PAM-1.2.0.tar.bz2 1278831 SHA256 cd8beac5961e942e9c73b32a3cd1a3457755f8fb35d07c9ec64511e19e135ea4 SHA512 26b9ec0f8c7fcc00a04696a2208fc00dabb070593f1a420c81e2855cd2eb26ebcc993f80ccbb6a2aac88dd402b670e7800e1722c56451dfc71521c76a2f0bf9a WHIRLPOOL b3327394bb99ff02d9efba43655a2f5bfd4acbf0c75630fde19634ff575cce3fef614c188d538529673526fd88488a5493b19af30c6f69064824cbc1aad3d766 +DIST Linux-PAM-1.2.1.tar.bz2 1279523 SHA256 342b1211c0d3b203a7df2540a5b03a428a087bd8a48c17e49ae268f992b334d9 SHA512 4572aa1eaf5a1312410c74b5ed055b2592c5efe2bb82f59981da4e9e93555ad40aee3a89f446d9dc6c6af79efc04c33f739f66db9edc07e02479475a14e426da WHIRLPOOL 562917945b3b3a407955cc5bf5cd251ff7e257a94055d7cfbf06d5c2619b58d61624f16848de3512ddf61636ad8618315de3f7bd8e4e51b3b7d109adfa212c8a EBUILD pam-1.1.5.ebuild 5784 SHA256 a003975168a13a6ddd06fe26ce33e0da007bcd26ca145786abd525abd9fe72e3 SHA512 647b6c5c9aad340fbbf32efc0988e5678cef8175297eb921ce36b097838aa1bd8cfef6f96157235ff0e9017f938b72429d741b01ea1692f7134f2871473d9fa3 WHIRLPOOL 7296e3adcb6e04eacc61b563a2f00f40b84f4f3f247b77acc3c79d4c87ae61513c20eca12d2b442d10dadda40963387343d87a54c03ce74a06c06a521d1b6f8b EBUILD pam-1.1.6-r2.ebuild 5998 SHA256 b95b3304d736e38df77d1d5455cbe070fa5d70ba30bf49596c8542176973e616 SHA512 dcfdbf2afcd09ce98005539dfdaf1823d7102e8735b3fdb8d6a73570e2a2df44a20374bdca067a152ce4e476b5586b1b5f01d7728e5af5c204493fbbe642bb16 WHIRLPOOL 7e062aba0edc95ce465b673a93e2cbea8e6dd13b01cc1a4b53083a8af192c341223c5676be0d2f07c5703b63135282a30da995c49f55cfc149e80dbbd40d90e5 EBUILD pam-1.1.8-r1.ebuild 5604 SHA256 09cf838a791ac420f82f0595bf4f2e05eb694144f35425dd293eafd7de065fd1 SHA512 33c40d113c69037839771eb2b8d65675c766f9545016bcf757f697376f521f4d3b3a27edbfd2e90fe444c372ac26fe149c26c563e838a78184116458ef1c9b93 WHIRLPOOL b39244bd2240bb11e32c0cc6dc8d055e9fe8bc91a86b77d28c44c69016967266ef22fc80d559c9b98af148731fcca60b1cf1eb0c6622f5faf865edb1314ccb20 @@ -22,22 +23,23 @@ EBUILD pam-1.1.8-r2.ebuild 6095 SHA256 f5f145b929656d0015c9882a6666393b227dd27c3 EBUILD pam-1.1.8-r3.ebuild 6085 SHA256 9955ba3b4829628f47bd15e9283531977136f736d3bc9e64199434d84ac23c73 SHA512 c46935f611d4dffef13ba3ad93117816c96c9e208209c4900d4615ab04ec6b3b3da2ba4c517daf4dafe266a11ba69ad5b7f7f0320f6f8c2176e890d46e1523b1 WHIRLPOOL 0147bb5d218ae619a8268410a6416c98fb4ec41388e03835db41d0222c2991f47521280f3e0128d400709677e479303d82f9da81c219f57d0b046ff9596054ba EBUILD pam-1.1.8.ebuild 5539 SHA256 ecdf9732665c07a34df1c3ac87d396eb2e7082220af131ac3947a424280739b7 SHA512 ac45550b530443c529f6ce3d247779c3519b14097cb747e2096e1e359d859ab5279ea5d27f030fff136c91d1821abadec9d3e0e7a6226b2957e661fcda4237bb WHIRLPOOL 26a7d83d5e1621c5912d7715eaaceaf8d6a96f77eeede157edd482456022fa9f238294083ee6004a6fb8e6bf0aabcd81a81c4baf4e5e795644bc72fa59512705 EBUILD pam-1.2.0.ebuild 5970 SHA256 b0a27f4e527d50e244e48d000d79b6b894743516f2e40fb79a88f61f2073d0b3 SHA512 e17d9652abc79fcc370e10a9baf5970373115e7133ecd023e7bad89ef54fa0b37ecfb51a9f256a7c1515a6cc64be9af76c8af68d5584a47115ba70f3fcb52321 WHIRLPOOL 9209cde603999d8f91e96a0ae0c0ba803e4fee1520a0c61a87933fd884ecc594a178f2e2271b4c8c544817d82a1a24305d564bd3a45f58abf03fd300373f4f59 -MISC ChangeLog 55632 SHA256 c0988980187d10ddf5911d3602e1ac3532e06ebdc22b7732ac813f1e79d9901e SHA512 7f518838d34dabdf933f4e724c6b38ca7636797937dc88f2369847e43e8d0597d8923408d51a8588b332f21893fedac393b58590aec29aca680e978f18fec65b WHIRLPOOL f240a5cb805d920993589f248a1598b96abf62e37e6ae8291951cc33c093936e63feb7e69a00e9cd362d04b748c7fe28a9cb2457b7feba2208d60cbdbc519b07 +EBUILD pam-1.2.1.ebuild 6183 SHA256 ae7e55982b279ac42ce6fb145db7c60b88cbd7471ae0903a182e6d7820feffd2 SHA512 481c657756b73bcc57c5272e66afaf03e51f96e438e800eadaa73d84f3a8caaafcc4e37a7f3d419e1c1a6c16d468546bde726dd95b93e76dec18cbfb4a1d1d1c WHIRLPOOL cbfeb92a9fa2245e953acf2a912fed582685052f7fcf4a17adcefa79d72826951c1c23b8806f512fc76695bf3854ce0362ae11c3e3bfdab153650867763ec131 +MISC ChangeLog 55772 SHA256 f31913c5d5e90ff20964e480bdeb020a372e04eeafeb0e2daf121af9a21c8107 SHA512 fb70df37287b993a8448df5df29c9566f14370988dcad27f061179bc1722aa445495b5348d546ff164c67cf5f01ebb7e6010797d89edc5bf308e6475252a91bf WHIRLPOOL 1ae05e8c6609f286a735fef888012b3c999cfeb5c155d8c4ed0965a58cdbf346556578852d0e5df10d33f3b1add12e0039a4113c0e7cd42b68f5ad3ae6aceab5 MISC metadata.xml 1218 SHA256 9ea95e669c343b7e7184d3fb3b1bbad013493bfdca0e8f184ddf4728e6b5e884 SHA512 60ae70d605f654867e4c444c7489ecd76083c286039febd71ffd18a9e120b151a47488df925ec97e6768c62e5e48068abb864a6b978abd67623fb0b6c414f248 WHIRLPOOL a96d70fd81604dd265f15672183b793d0c3f48508b317f973481c460d56ea05d917a446fd60998536f7a3d811407ca3573554f9dcdc8f45ab88dbbf7875985ab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVXU8uAAoJEPGu1DbS6WIAI3gP/0ceFJgVQ4bIu/LJJ/hCaSQG -QkYoKa8WOGEHuRgSxjISYgNaim+8dY4Y62oettVWVBjHZQ/cq73Sh+Gtvs3eiife -nrQhn8rW4eXSFKu5fR7uNwM4+LStB9hCBuBiAL4MGDzGo0P7Z/1s7ZEpEqQvGFWY -El8LNXEusjjNXMBSpHBMfc3u7yuB+VEY+ZUbootk9SXkG8LxaV1lYPeyYAsWciij -dXoAYAq6LmvQfpsxxJgQX8h0qe2HsPEZAmANUrcw6fiWkvFTPwaW4EJPSswhK6eZ -dlG26dQOY8+kHiZWLUYGJ08GUKvL32H0vGl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PSQAQ6TiI4OWM +IDAmT12rAIz3jyJ6k5op +=9kVe -----END PGP SIGNATURE----- diff --git a/sys-libs/pam/pam-1.2.1.ebuild b/sys-libs/pam/pam-1.2.1.ebuild new file mode 100644 index 000000000000..c60b8efb81f8 --- /dev/null +++ b/sys-libs/pam/pam-1.2.1.ebuild @@ -0,0 +1,201 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.2.1.ebuild,v 1.1 2015/07/07 07:38:18 vapier Exp $ + +EAPI=5 + +inherit libtool multilib multilib-minimal eutils pam toolchain-funcs flag-o-matic db-use + +MY_PN="Linux-PAM" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" +HOMEPAGE="http://www.linux-pam.org/ https://fedorahosted.org/linux-pam/" +SRC_URI="http://www.linux-pam.org/library/${MY_P}.tar.bz2 + http://www.linux-pam.org/documentation/${MY_PN}-1.2.0-docs.tar.bz2" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="audit berkdb cracklib debug nis nls +pie selinux test vim-syntax" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] ) + cracklib? ( >=sys-libs/cracklib-2.9.1-r1[${MULTILIB_USEDEP}] ) + audit? ( >=sys-process/audit-2.2.2[${MULTILIB_USEDEP}] ) + selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) + berkdb? ( >=sys-libs/db-4.8.30-r1[${MULTILIB_USEDEP}] ) + nis? ( >=net-libs/libtirpc-0.2.4-r2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + >=sys-devel/libtool-2 + >=sys-devel/flex-2.5.39-r1[${MULTILIB_USEDEP}] + nls? ( sys-devel/gettext ) + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" +PDEPEND="sys-auth/pambase + vim-syntax? ( app-vim/pam-syntax )" +RDEPEND="${RDEPEND} + !<sys-apps/openrc-0.11.8 + !sys-auth/openpam + !sys-auth/pam_userdb + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508-r7 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" + +S="${WORKDIR}/${MY_P}" + +check_old_modules() { + local retval="0" + + if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | fgrep -q pam_stack.so; then + eerror "" + eerror "Your current setup is using the pam_stack module." + eerror "This module is deprecated and no longer supported, and since version" + eerror "0.99 is no longer installed, nor provided by any other package." + eerror "The package will be built (to allow binary package builds), but will" + eerror "not be installed." + eerror "Please replace pam_stack usage with proper include directive usage," + eerror "following the PAM Upgrade guide at the following URL" + eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" + eerror "" + + retval=1 + fi + + if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | egrep -q 'pam_(pwdb|console)'; then + eerror "" + eerror "Your current setup is using one or more of the following modules," + eerror "that are not built or supported anymore:" + eerror "pam_pwdb, pam_console" + eerror "If you are in real need for these modules, please contact the maintainers" + eerror "of PAM through http://bugs.gentoo.org/ providing information about its" + eerror "use cases." + eerror "Please also make sure to read the PAM Upgrade guide at the following URL:" + eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" + eerror "" + + retval=1 + fi + + return ${retval} +} + +pkg_pretend() { + # do not error out, this is just a warning, one could build a binpkg + # with old modules enabled. + check_old_modules +} + +src_unpack() { + # Upstream didn't release a new doc tarball (since nothing changed?). + unpack ${MY_PN}-1.2.0-docs.tar.bz2 + mv Linux-PAM-1.2.{0,1} || die + unpack ${MY_P}.tar.bz2 +} + +src_prepare() { + elibtoolize +} + +multilib_src_configure() { + # Do not let user's BROWSER setting mess us up. #549684 + unset BROWSER + + # Disable automatic detection of libxcrypt; we _don't_ want the + # user to link libxcrypt in by default, since we won't track the + # dependency and allow to break PAM this way. + export ac_cv_header_xcrypt_h=no + + local myconf=( + --docdir='$(datarootdir)'/doc/${PF} + --htmldir='$(docdir)/html' + --libdir='$(prefix)'/$(get_libdir) + --enable-securedir="${EPREFIX}"/$(get_libdir)/security + --enable-isadir='.' #464016 + $(use_enable nls) + $(use_enable selinux) + $(use_enable cracklib) + $(use_enable audit) + $(use_enable debug) + $(use_enable berkdb db) + $(use_enable nis) + $(use_enable pie) + --with-db-uniquename=-$(db_findver sys-libs/db) + --disable-prelude + ) + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" +} + +multilib_src_compile() { + emake sepermitlockdir="${EPREFIX}/run/sepermit" +} + +multilib_src_install() { + emake DESTDIR="${D}" install \ + sepermitlockdir="${EPREFIX}/run/sepermit" + + local prefix + if multilib_is_native_abi; then + prefix= + gen_usr_ldscript -a pam pamc pam_misc + else + prefix=/usr + fi + + # create extra symlinks just in case something depends on them... + local lib + for lib in pam pamc pam_misc; do + if ! [[ -f "${ED}"${prefix}/$(get_libdir)/lib${lib}$(get_libname) ]]; then + dosym lib${lib}$(get_libname 0) ${prefix}/$(get_libdir)/lib${lib}$(get_libname) + fi + done +} + +DOCS=( CHANGELOG ChangeLog README AUTHORS Copyright NEWS ) + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --all + + # Need to be suid + fperms 4711 /sbin/unix_chkpwd + + docinto modules + local dir + for dir in modules/pam_*; do + newdoc "${dir}"/README README."$(basename "${dir}")" + done + + if use selinux; then + dodir /usr/lib/tmpfiles.d + cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF +d /run/sepermit 0755 root root +EOF + fi +} + +pkg_preinst() { + check_old_modules || die "deprecated PAM modules still used" +} + +pkg_postinst() { + ewarn "Some software with pre-loaded PAM libraries might experience" + ewarn "warnings or failures related to missing symbols and/or versions" + ewarn "after any update. While unfortunate this is a limit of the" + ewarn "implementation of PAM and the software, and it requires you to" + ewarn "restart the software manually after the update." + ewarn "" + ewarn "You can get a list of such software running a command like" + ewarn " lsof / | egrep -i 'del.*libpam\\.so'" + ewarn "" + ewarn "Alternatively, simply reboot your system." + if [[ -x "${EROOT}"/var/log/tallylog ]] ; then + elog "" + elog "Because of a bug present up to version 1.1.1-r2, you have" + elog "an executable /var/log/tallylog file. You can safely" + elog "correct it by running the command" + elog " chmod -x /var/log/tallylog" + elog "" + fi +} |