diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-14 12:12:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-14 12:12:06 +0000 |
commit | 60d5b017f56c726938157c5f226808319e6d355f (patch) | |
tree | bb2b5b0f04a513b56c692f458c1dfa08b4d5e2cb /sys-process | |
parent | Remove obsolete versions. (diff) | |
download | historical-60d5b017f56c726938157c5f226808319e6d355f.tar.gz historical-60d5b017f56c726938157c5f226808319e6d355f.tar.bz2 historical-60d5b017f56c726938157c5f226808319e6d355f.zip |
Bug #226505 - For compatibility with phase execution order in
>=portage-2.1.5, call has_version inside pkg_preinst instead of
pkg_postinst.
Package-Manager: portage-2.2_pre10652/cvs/Linux 2.6.25-0518-x86-64 i686
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/vixie-cron/ChangeLog | 9 | ||||
-rw-r--r-- | sys-process/vixie-cron/Manifest | 14 | ||||
-rw-r--r-- | sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild | 11 |
3 files changed, 27 insertions, 7 deletions
diff --git a/sys-process/vixie-cron/ChangeLog b/sys-process/vixie-cron/ChangeLog index 5bda5ddce00d..9dc3534af703 100644 --- a/sys-process/vixie-cron/ChangeLog +++ b/sys-process/vixie-cron/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-process/vixie-cron -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.53 2007/04/24 11:02:34 eroyf Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/ChangeLog,v 1.54 2008/06/14 12:12:06 zmedico Exp $ + + 14 Jun 2008; Zac Medico <zmedico@gentoo.org> vixie-cron-4.1-r10.ebuild: + Bug #226505 - For compatibility with phase execution order in + >=portage-2.1.5, call has_version inside pkg_preinst instead of + pkg_postinst. 24 Apr 2007; Alexander Færøy <eroyf@gentoo.org> vixie-cron-4.1-r10.ebuild: diff --git a/sys-process/vixie-cron/Manifest b/sys-process/vixie-cron/Manifest index 019353956838..5b2a01c7257c 100644 --- a/sys-process/vixie-cron/Manifest +++ b/sys-process/vixie-cron/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX cron.pam.d 123 RMD160 38def0a49d4a1093cb9812300c7cfe51ee7b5110 SHA1 f467b316486d9b49df68663b763991286384611f SHA256 dba1c0db92936b0a0528ac2d86610b3d46102f02c87f19a97a8af002a4132901 AUX crontab 603 RMD160 25bba6bd718d39e203a65def0786e5daf14e9786 SHA1 5cf10ef54e71cbcb45d24087fd5f4a4adfa83901 SHA256 952454e79a4a7c0942fe572110c0f057bbba445cfe02f3853f77bf4722241a2c AUX crontab-3.0.1-r4 616 RMD160 f99414b8ee4889e9d01da45ef5cb6b7cda220ba2 SHA1 6df5739de93fd492f730e0e8f58a1b540c518776 SHA256 256ed999f39dcf1b5cadc0e4ceb299410e81080919f9aa28f5fbaeecee904798 @@ -13,7 +16,14 @@ AUX vixie-cron-4.1-setuid_check.patch 767 RMD160 5c8289a4a698be422bf062e2a7e0712 AUX vixie-cron.rc6 530 RMD160 d02cb06b6d90fb8dc2b8cd200b3a79e0921889dd SHA1 ce9dadf0c5993810224955d80107e1770366f1f2 SHA256 7bfb5a1461062cc1dd614940bf703fdfc4ab6a69bfae3ce83b6734a149771dc7 DIST vixie-cron-4.1-gentoo-r4.patch.bz2 4204 RMD160 1d439c0bb473e8307a5c33e2449efdd9ca6fc4f5 SHA1 074a770df7ff401f1442ae70039dd9023498e0d4 SHA256 8de14b11da567f7859df3dcf71802f32ac1b3650ae07c6cb6dbc259e1f6da7fc DIST vixie-cron-4.1.tar.bz2 54246 RMD160 a7f6aaa6deb9924d56da8dca3e2e323e0786f97e SHA1 d8b087c0e5f7a2a9c74e3400b660756ab6d800c9 SHA256 fd25119b301e0e8306ec27ee912298740c5c8ae879bac02381429cf355d1122d -EBUILD vixie-cron-4.1-r10.ebuild 3667 RMD160 9de9e8029008220e62341d62964fabae870fe173 SHA1 e2b4e1305879a46036f48c88f1fa1509772333f4 SHA256 7ad57049a664c63368d0252e9f2521390f763a89732736924950703cfec9e2f3 +EBUILD vixie-cron-4.1-r10.ebuild 3738 RMD160 2972a54b83696211a83ca3396035a7244967abba SHA1 e521d9555d213c4cb15c38e81be75eaa024ef820 SHA256 bccfa7ccd8bc36db1d05cf45a1ecbd3f943c4fc623bf3f16a0a44fdd5fea023d EBUILD vixie-cron-4.1-r9.ebuild 2811 RMD160 15cf7b6b6beefdf9b221aa86e84968c61a644df8 SHA1 68281c01bb3266c52c5a9092ff108328816c879b SHA256 55030d1375dc28d8b08155a9a52c330cd1db1ce956516a4298fdbbc2444ffa59 -MISC ChangeLog 20253 RMD160 f379b75e3e564ff4eeab406d11cfceaff6cb53dc SHA1 50434a81324b35e0d48977b7a2780364cb360ed1 SHA256 47ff4abf26d59bf4f9db7b53a2909dcf67811613cef5266206f971507b7182b4 +MISC ChangeLog 20476 RMD160 57ed6d7a57a174fab9188b157079b084735987cc SHA1 7f821c2a7c8d4fe76c63b2807320edb9d0287454 SHA256 7f3f06dfcf63b9d8cf415242c8b31a3c5d85b66715736ed3f60e2a999a03956f MISC metadata.xml 158 RMD160 298878d8b5da225547b337739a1a48192546d7b8 SHA1 5a9f7a1c9f0f56d1b0e72ee9b67b5cc5771f6d7d SHA256 a262a73b2049a89ab6a4bdf51df27bea44c7f0aa0ee33176c59a9c63eb45e764 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhTtZkACgkQ/ejvha5XGaN75QCffgZyWVcH/r47yXsnRzb4G1TX +PzAAoPMdK+QBtWBxJr//euqxLhyt9f2x +=kmD/ +-----END PGP SIGNATURE----- diff --git a/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild b/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild index c7fbf156351f..c4ad40e3bf2f 100644 --- a/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild +++ b/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild,v 1.11 2007/06/24 22:20:58 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/vixie-cron-4.1-r10.ebuild,v 1.12 2008/06/14 12:12:06 zmedico Exp $ inherit cron toolchain-funcs pam @@ -82,6 +82,11 @@ src_install() { dodoc CHANGES CONVERSION FEATURES MAIL README THANKS } +pkg_preinst() { + has_version "<${CATEGORY}/${PN}-4.1-r10" + fix_spool_dir_perms=$? +} + pkg_postinst() { if [[ -f ${ROOT}/etc/init.d/vcron ]] then @@ -103,7 +108,7 @@ pkg_postinst() { fi # bug 164466 - if has_version '<sys-process/vixie-cron-4.1-r10' ; then + if [[ $fix_spool_dir_perms = 0 ]] ; then echo ewarn "Previous ebuilds didn't correctly set permissions on" ewarn "the crontabs spool directory. Proper permissions are" |