summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-15 10:19:03 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-15 10:19:03 +0000
commitc5a63a0af6a5d694b2e0c856876df1963ac02d19 (patch)
tree64823ce8d2abc65a6eae9fb5dddac23f985ca688 /net-mail
parentFix building with gcc-4.3, Bug #226375. (diff)
downloadhistorical-c5a63a0af6a5d694b2e0c856876df1963ac02d19.tar.gz
historical-c5a63a0af6a5d694b2e0c856876df1963ac02d19.tar.bz2
historical-c5a63a0af6a5d694b2e0c856876df1963ac02d19.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 'net-mail')
-rw-r--r--net-mail/mailgraph/ChangeLog7
-rw-r--r--net-mail/mailgraph/Manifest14
-rw-r--r--net-mail/mailgraph/mailgraph-1.14.ebuild11
3 files changed, 26 insertions, 6 deletions
diff --git a/net-mail/mailgraph/ChangeLog b/net-mail/mailgraph/ChangeLog
index 81478d7a11cc..b81e73b4b0cc 100644
--- a/net-mail/mailgraph/ChangeLog
+++ b/net-mail/mailgraph/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/mailgraph
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.34 2008/05/14 21:38:13 sbriesen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/ChangeLog,v 1.35 2008/06/15 10:19:03 zmedico Exp $
+
+ 15 Jun 2008; Zac Medico <zmedico@gentoo.org> mailgraph-1.14.ebuild:
+ Bug #226505 - For compatibility with phase execution order in
+ >=portage-2.1.5, call has_version inside pkg_preinst instead of
+ pkg_postinst.
14 May 2008; Stefan Briesenick <sbriesen@gentoo.org>
files/mailgraph.initd-new:
diff --git a/net-mail/mailgraph/Manifest b/net-mail/mailgraph/Manifest
index c9abd1a9603b..f1afcf5116be 100644
--- a/net-mail/mailgraph/Manifest
+++ b/net-mail/mailgraph/Manifest
@@ -1,7 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mailgraph.confd-new 764 RMD160 579dd58dd2c2a2103236ed3b5b3dccdbdd8d3ba7 SHA1 3ab3f965e25e70853d7631314c3c1826156a188a SHA256 86b970df1bbb3a4e85226ce6036a228b2ff155db88124b49bc07e08f022ac1d2
AUX mailgraph.initd-new 911 RMD160 b893043eb3f975a3d2a6b3bb29378bd0bd938b7f SHA1 00ae6bc55428b6af4950dbd99d621830aadbaf73 SHA256 ebae0c40b7b917df084d9825358035c10e0e997e7d7922490c507db41b55c2c2
AUX mailgraph.logrotate-new 895 RMD160 62bac0366f91949747b2234b56d9a7bf61e5e47d SHA1 b7e4741bfac3021b6fcf5ce8911ec5a25b11c7f8 SHA256 3e1241e1d209a4679fe1f2f3d45716858acb1c0f1daac4b6709d9cb9d8564504
DIST mailgraph-1.14.tar.gz 22014 RMD160 928969a4bdc3b9ff39a7fe16b98789f07b02e5f8 SHA1 6a2ead01ffd8fe49e520057daf97072e106b6c69 SHA256 50ea6ea8a33f5015926edd8b70a4d954ac27df4863514bddc5e69c948a7aac81
-EBUILD mailgraph-1.14.ebuild 4075 RMD160 e1029eaa43b1550ffe8f01bf0925ee6a365e8b81 SHA1 302c6c5f9282bb348b249fb41ec914ae14dd03d4 SHA256 a5f0cb06a81d79694284015b92b4d6668313e1f0574ed2ed89acfe55a8fd3d3c
-MISC ChangeLog 4821 RMD160 45e3ce387c2262735a596e1ffb59b22124ec7085 SHA1 233dfdf417d622c56d778ea5c73cf0c6c9ff7bf1 SHA256 9b64e14500192e62b89bc16e1cd71e9bd34c4733d4b614d89d57b26102559810
+EBUILD mailgraph-1.14.ebuild 4174 RMD160 82025cc4d8ced0e7a1e62d43add6dc80c8a40186 SHA1 c11da4c6e8ae425ff0be27b87fc0dee6bcfde174 SHA256 1ab3656eb424a0c332c5246c53e8f923231eb0bf9e3b25078b20880eb3014dd6
+MISC ChangeLog 5037 RMD160 cbc54b6a35913c80e899014db1aedac0137aaea1 SHA1 ca1c20042d85408e719c4f290155be970ed4205a SHA256 78b0088d9b46cc4d815529c22b4466528497eb59fd6b45d2edaa59bb4e153f1c
MISC metadata.xml 163 RMD160 9d7831690071ef6a890ce066c38c9c4e851a2107 SHA1 6dcd4fa8a9b5cfcc7c0ae80c09e43395fe8e71a7 SHA256 38427b537ef2f561a685876ae3a7799382a1bf7fabef6c2d8765ca9d05056aa2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhU7J8ACgkQ/ejvha5XGaMwagCdHkMS9mC5Zj4HTaXc6Kegr3f6
+PnkAoLJTyTz6Nxa+asw3edVoARqmJ+Aj
+=nuSx
+-----END PGP SIGNATURE-----
diff --git a/net-mail/mailgraph/mailgraph-1.14.ebuild b/net-mail/mailgraph/mailgraph-1.14.ebuild
index d8cc91445395..771c24c0766e 100644
--- a/net-mail/mailgraph/mailgraph-1.14.ebuild
+++ b/net-mail/mailgraph/mailgraph-1.14.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/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.9 2007/12/27 23:50:58 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailgraph/mailgraph-1.14.ebuild,v 1.10 2008/06/15 10:19:03 zmedico Exp $
inherit eutils webapp
@@ -86,10 +86,15 @@ src_install() {
dodoc README CHANGES
}
+pkg_preinst() {
+ has_version "<=${CATEGORY}/${PN}-1.12"
+ previous_less_or_equal_to_1_12=$?
+}
+
pkg_postinst() {
# Fix ownerships - previous versions installed these with
# root as owner
- if has_version '<=net-mail/mailgraph-1.12' ; then
+ if [[ $previous_less_or_equal_to_1_12 = 0 ]] ; then
if [[ -d /var/lib/mailgraph ]] ; then
chown mgraph:mgraph /var/lib/mailgraph
fi