diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-15 08:13:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-15 08:13:58 +0000 |
commit | db3fd00c0080a9202dcbb2ff8081db019535fc74 (patch) | |
tree | 290ac84daee8708cf2be9a58ec3e323967376088 /media-tv | |
parent | Fix quoting, stop using ./configure (#120887) (diff) | |
download | historical-db3fd00c0080a9202dcbb2ff8081db019535fc74.tar.gz historical-db3fd00c0080a9202dcbb2ff8081db019535fc74.tar.bz2 historical-db3fd00c0080a9202dcbb2ff8081db019535fc74.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 'media-tv')
8 files changed, 76 insertions, 32 deletions
diff --git a/media-tv/gentoo-vdr-scripts/ChangeLog b/media-tv/gentoo-vdr-scripts/ChangeLog index 8bef6f2958d6..d6ac157b98de 100644 --- a/media-tv/gentoo-vdr-scripts/ChangeLog +++ b/media-tv/gentoo-vdr-scripts/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-tv/gentoo-vdr-scripts # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.94 2008/06/12 14:04:05 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/ChangeLog,v 1.95 2008/06/15 08:13:58 zmedico Exp $ + + 15 Jun 2008; Zac Medico <zmedico@gentoo.org> + gentoo-vdr-scripts-0.4.0.ebuild, gentoo-vdr-scripts-0.4.1.ebuild, + gentoo-vdr-scripts-0.4.2.ebuild, gentoo-vdr-scripts-0.4.3.ebuild, + gentoo-vdr-scripts-0.4.3-r1.ebuild, gentoo-vdr-scripts-0.4.4.ebuild: + Bug #226505 - For compatibility with phase execution order in + >=portage-2.1.5, call has_version inside pkg_preinst instead of + pkg_postinst. 12 Jun 2008; Matthias Schwarzott <zzam@gentoo.org> gentoo-vdr-scripts-0.4.4.ebuild: diff --git a/media-tv/gentoo-vdr-scripts/Manifest b/media-tv/gentoo-vdr-scripts/Manifest index a7ef93bc1d51..ec38f2ea2dff 100644 --- a/media-tv/gentoo-vdr-scripts/Manifest +++ b/media-tv/gentoo-vdr-scripts/Manifest @@ -7,18 +7,18 @@ DIST gentoo-vdr-scripts-0.4.1.tar.bz2 30683 RMD160 5dc4a9ef2e2a6ab6f3cea879c1a54 DIST gentoo-vdr-scripts-0.4.2.tar.bz2 32110 RMD160 7c8bb70cb5a9e766b91ea57ec17786130448812e SHA1 e242092ae444cac1f835b56690f4449b4bffcca5 SHA256 1c3f10166e1a2012f4274d8b2c348243795603899195a3231b8c7cbf005f9e49 DIST gentoo-vdr-scripts-0.4.3.tar.bz2 33196 RMD160 29f0b8b1c0fdb6b4ad8d6604ad58dd34cccdf442 SHA1 162b15c6d9d508968040512507ca106f021f3f29 SHA256 68036e2fe63bc40e357b3e9e4a7be991c344875229393a6f2dbe0fc54425348f DIST gentoo-vdr-scripts-0.4.4.tar.bz2 33500 RMD160 ef80dc1d3d6e483434ac1486297ce1a5dfdbec13 SHA1 420a6419ac1f0a06d56544b18b385e43def54c73 SHA256 8ee95144942b9ea5164fac2b068dc8698fc1114f34cc951b1c472c58f33ebf3c -EBUILD gentoo-vdr-scripts-0.4.0.ebuild 3710 RMD160 f96264a5f57907e2a1a34f3c2377f034cfb7244c SHA1 d402f1646a969298887b080512932d12de732eee SHA256 9b0e3bac194f3d2ff374c87a4c775dc88a3b1951e5a6947ede226f31580295ff -EBUILD gentoo-vdr-scripts-0.4.1.ebuild 4013 RMD160 a3de3f4b0882cb1f44c159173bd8843c21d44b36 SHA1 3ce643b3c64c4e5253b2e06971fb8e929e1e45e6 SHA256 e20823c197c1fcccb80755a7f7105851a26f9ae80c728b629a48400653896c5b -EBUILD gentoo-vdr-scripts-0.4.2.ebuild 4041 RMD160 8747187d52e696b5bc5b7b039f895f35babd017d SHA1 0090e47e75e0b8933015af44447f5454f1edf6c7 SHA256 bcedd17d4e2df8332f34a49d79d3e1e3ecb4078805f7c4502ec2b0bb34a86a24 -EBUILD gentoo-vdr-scripts-0.4.3-r1.ebuild 4136 RMD160 60d198afc143d70505d28399d1055d0be31d1614 SHA1 b3466ac63e27fdbf234eb4945b78a9f18ca63553 SHA256 bd153ddb6c50a686879874ac688b712f3f26105ecfbd15ac6b445d440e170f78 -EBUILD gentoo-vdr-scripts-0.4.3.ebuild 4041 RMD160 4f885ef804b6b052899b3924ee53d97b85cecef1 SHA1 e1d0b1d9fa1412ffe7f6782848a1e69533608c04 SHA256 d9f45c4d949dde4b268d766daaae0a6048ec80e33e761359f5ed3da4934625c8 -EBUILD gentoo-vdr-scripts-0.4.4.ebuild 4041 RMD160 7a2a076665387dcfe73d66b646ee0b3527c1f2cb SHA1 35dbcb02d35b07822520a8acc540e1862afed652 SHA256 9cfc2b7e7eb78841bf072a7ef4cfa16b4f2a2589b66ad3a23acd4d43495d0b9e -MISC ChangeLog 18897 RMD160 91cb195ef7217b6d83b14c407d7a2760eacf6266 SHA1 d2c05e4a41169cc314acf60ba058d4bf65faa244 SHA256 d116d2f9ab7c0e0d391537a8c299055483cbda9daf494289dfb71385e32f9bc1 +EBUILD gentoo-vdr-scripts-0.4.0.ebuild 3829 RMD160 78a0e6f0706e2e98148bd48f9e7e2ecc15dcfff1 SHA1 c736bd058284e4aa350dbe8a1928fc9ff51f22b2 SHA256 0ba19e54c81eed852953ffd8206671fcf0b37baf3ab3e7d85a51f4a2c008edc4 +EBUILD gentoo-vdr-scripts-0.4.1.ebuild 4132 RMD160 7742c5dc2bcafe63ae0954f498e2319983e2f0d3 SHA1 a985f383fc7405ee0bd18036b8af40d4a265ac9c SHA256 6dcb8558464f0fcba8b14c08a66d5b871c890851954601fc80e3e42f0f1c3498 +EBUILD gentoo-vdr-scripts-0.4.2.ebuild 4160 RMD160 49ff19e8f87f83cd924fd00000f940792ecdd846 SHA1 0e61ffcde9ff744d1ab955980dbdd66056ec492c SHA256 7e0397dee5134cf56b156400c5fb935183661b4cbc9b386bd904ef96b9e52e47 +EBUILD gentoo-vdr-scripts-0.4.3-r1.ebuild 4255 RMD160 ed59150dc900a58a8dab685eb692f78ca1bbccc1 SHA1 e1ee853d3510df6d5225bed1be54a22ab329c896 SHA256 d4cb4470d5d61142cca6e351595b892fc63f084d09bd8625cce9b7922486689f +EBUILD gentoo-vdr-scripts-0.4.3.ebuild 4160 RMD160 7c8f405c8538574a66a0ba01ac5387b437d6aa65 SHA1 7ef58c09f5b824e0422e68c9f852c1e5f26c3990 SHA256 bee752b252028b92aac0da0b0f279b4735eb0d2541a95d3e28bab2ffc79eb2d2 +EBUILD gentoo-vdr-scripts-0.4.4.ebuild 4160 RMD160 554687fb50f3f4d704d8804c29489b987f28346d SHA1 80d3a666d609be4235f162296beee66fb471e749 SHA256 1a12fe3cfb03e8d2cd66630d4bfe024ebc095b04dd4e97c2ebdb2f9b1b62f9bc +MISC ChangeLog 19301 RMD160 e2742dffd4910aafdae0737760b18a30cf0543a3 SHA1 057504348953ae284e94a736501a5c20689fbad7 SHA256 3ed6a405c2c3395d6bc43b2f9eb9575b5d241b40755968ff19bc39b1cfb79ff5 MISC metadata.xml 257 RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 SHA1 d2419394e7d5c7463d7dea33e9190ebd57484531 SHA256 0dd45fbbaf1c6173535e371e3ff8a3faa41f3f89123ac9dffe338998599ebe26 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhRLOAACgkQt2vP6XvVdOfWSACfeEssUKB7/EpjAs3iZmmae3Kc -bQQAnArw4zkBuRpchaoM7jo2sMWkoRtU -=UkX5 +iEYEARECAAYFAkhUz08ACgkQ/ejvha5XGaN34ACcCYOWDTtAeaHzlNFGFJDga9sF +jDwAn3uMUJPPppBGa7U9kgTLJE/6eoH2 +=7CX2 -----END PGP SIGNATURE----- diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.ebuild index aa542eea9ab8..d22dd4f6da29 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.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/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.ebuild,v 1.4 2007/10/04 12:28:10 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.0.ebuild,v 1.5 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -65,12 +65,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -95,7 +101,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.ebuild index e1680a4b7e17..369eccff8d1e 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.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/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.ebuild,v 1.1 2007/10/04 14:56:28 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.1.ebuild,v 1.2 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -65,12 +65,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -95,7 +101,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.ebuild index 85cf5b78dfa6..fe595dd44065 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.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/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.ebuild,v 1.2 2007/12/11 23:16:07 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.2.ebuild,v 1.3 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -66,12 +66,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -96,7 +102,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild index eff25650f25e..d4661ecd859d 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild,v 1.2 2008/04/19 12:26:21 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3-r1.ebuild,v 1.3 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -72,12 +72,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -102,7 +108,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild index 5382c67de0f9..49bc5b8522c2 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild,v 1.2 2008/03/22 17:00:05 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.3.ebuild,v 1.3 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -66,12 +66,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -96,7 +102,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" diff --git a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild index 519b1a321277..63dc6c18c323 100644 --- a/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild +++ b/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild,v 1.2 2008/06/12 14:04:05 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-0.4.4.ebuild,v 1.3 2008/06/15 08:13:58 zmedico Exp $ inherit eutils @@ -66,12 +66,18 @@ pkg_preinst() { echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins done fi + + has_version "<${CATEGORY}/${PN}-0.3.6" + previous_less_than_0_3_6=$? + + has_version "<${CATEGORY}/${PN}-0.3.7" + previous_less_than_0_3_7=$? } VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh" pkg_postinst() { - if has_version "<media-tv/gentoo-vdr-scripts-0.3.6"; then + if [[ $previous_less_than_0_3_6 = 0 ]] ; then ewarn ewarn "A shutdown-file has been changed." ewarn "You really have to execute" @@ -96,7 +102,7 @@ pkg_postinst() { elog "or just emerge nvram-wakeup." fi - if has_version "<media-tv/gentoo-vdr-scripts-0.3.7"; then + if [[ $previous_less_than_0_3_7 = 0 ]] ; then einfo einfo "Plugins which should be used are now set via its" einfo "own config-file called /etc/conf.d/vdr.plugins" |