# ChangeLog for app-portage/portage-utils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.107 2010/01/24 21:19:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.108 2010/06/08 05:05:35 vapier Exp $
+
+ 08 Jun 2010; Mike Frysinger <vapier@gentoo.org>
+ portage-utils-0.3.1.ebuild:
+ Manually preserve +x bits on postsync.d files #301721 by Klaus Birkelund
+ Jensen.
24 Jan 2010; Mike Frysinger <vapier@gentoo.org>
portage-utils-0.3.1.ebuild:
DIST portage-utils-0.2.1.tar.bz2 88605 RMD160 43eb25843c23edc60b74f11fb27878435a2c8afa SHA1 3debae1a547ed39d6429c50dc6be3ff1e6144eed SHA256 545ae4d39b4df7277050becc81ee622357da0873aa215b94eacea0a38cd830bd
DIST portage-utils-0.3.1.tar.bz2 89122 RMD160 5eb3ac32b755547af2939ef279d033ca18e7ceb6 SHA1 3113c6500a7e13a0c3ea8c953b18e32f96c6d6f7 SHA256 2e14e795e2bfd9078e6b40f8e4fbd183af5ac9f02e8a2140aaa1a92bbf8cc493
EBUILD portage-utils-0.2.1.ebuild 1879 RMD160 4572cecab2547e840b2253960577807ebc2a00dc SHA1 94dea48cf623e561521e1e0bb7f1654ebf13f606 SHA256 bb140c3ad4b45be4918007a63f647726e6f9521b7eb084afec1728b97b172750
-EBUILD portage-utils-0.3.1.ebuild 1399 RMD160 02e2f2280e215588d8337257cb60c1e573bb38c7 SHA1 156029b2ed6f071eba9f4a9ee2d18833ae35065b SHA256 1a599db32a94ad35e0615b73a18c340601f1a696062979195965ac4807b8e717
-MISC ChangeLog 20337 RMD160 c2690d0582e36ae8ac70c0ee4025e79ff551231f SHA1 3713d2a59c4d88f049df4265a9faba3865fba51f SHA256 b38abb6a71a7bdf38e34826af23be3f9244e658293a759e1f0b6332857ec470c
+EBUILD portage-utils-0.3.1.ebuild 1578 RMD160 268c2b879a4330864054dd6aad92b201ce0eebc4 SHA1 6999b9f0c87815fc9d24fe5ef5feb51ded6a6fb8 SHA256 4bfe79e25f37fb5f98dfbd5a6e28639a344557b13f714e75ceeca4c25419ea79
+MISC ChangeLog 20503 RMD160 1dab361727f5b2c0a488fa3a6ba4edee29619b0a SHA1 1b324594f0f3e320dc5b45df6bd5fdf855a1a813 SHA256 665a7ca1d7d653b0d08b164d9a7e8bb92030b238334a04f91095bd7f2b150517
MISC metadata.xml 228 RMD160 323ccad50269403e29fe5f701459b3412a400829 SHA1 3211a7ef9ed65dc14a3ee262fd1d33f7c06aeeb3 SHA256 ffd15c4104ad6803ab7ff1345e33c4ccbb9fbbcd277506ec7a5e047ea755aec1
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iF4EAREIAAYFAktcuWEACgkQTwhj9JtAlp46GAD+I7f+ffH5FgdESUAS+iWmPZzv
-a+oSFsprE5rI4jdvDOUA/3z+L4hoJrrhjBfId58aTspC9INOzLSMF+nJzmo2CwIL
-=64vi
+iF4EAREIAAYFAkwNz5UACgkQTwhj9JtAlp72QQEAvxJ5LbZQADNoL27kwkjcsXYA
+ZBBOinrMONvB+Jlu+l4A/3m4hq/Sf/jJBBpurRUWAlW6kIBUAYpOGzGACtjI6b9i
+=GFr7
-----END PGP SIGNATURE-----
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.3.1.ebuild,v 1.2 2010/01/24 21:19:28 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.3.1.ebuild,v 1.3 2010/06/08 05:05:35 vapier Exp $
inherit flag-o-matic toolchain-funcs
doins "${FILESDIR}"/q-reinitialize || die
}
+pkg_preinst() {
+ # preserve +x bit on postsync files #301721
+ local x
+ pushd "${D}" >/dev/null
+ for x in etc/portage/postsync.d/* ; do
+ [[ -x ${ROOT}/${x} ]] && chmod +x "${x}"
+ done
+}
+
pkg_postinst() {
elog "/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
- elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x /etc/portage/postsync.d/q-reinitialize"
- elog "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer."
- elog "If ever you find this to be an inconvenience simply chmod -x /etc/portage/postsync.d/q-reinitialize"
+ elog "If you wish for it to be automatically run at the end of every --sync:"
+ elog " # chmod +x /etc/portage/postsync.d/q-reinitialize"
+ elog "Normally this should only take a few seconds to run but file systems"
+ elog "such as ext3 can take a lot longer. To disable, simply do:"
+ elog " # chmod -x /etc/portage/postsync.d/q-reinitialize"
}