summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-08-18 18:31:16 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-08-18 18:31:16 +0000
commitf2fb83f29e86e7061b3310fcb7b72ed95ef21635 (patch)
tree940f53ac5a9fc5635db6de1b36768479737392d0 /www-misc
parentMove gnomescan into the main tree (diff)
downloadsunrise-f2fb83f29e86e7061b3310fcb7b72ed95ef21635.tar.gz
sunrise-f2fb83f29e86e7061b3310fcb7b72ed95ef21635.tar.bz2
sunrise-f2fb83f29e86e7061b3310fcb7b72ed95ef21635.zip
www-misc/monitorix: Add a die to sed expression, apply ${PV}-evms.patch all the time (due to some technical reasons)
svn path=/sunrise/; revision=9047
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/monitorix/Manifest2
-rw-r--r--www-misc/monitorix/monitorix-1.3.1.ebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/www-misc/monitorix/Manifest b/www-misc/monitorix/Manifest
index 1bd07ecde..8aa1e5332 100644
--- a/www-misc/monitorix/Manifest
+++ b/www-misc/monitorix/Manifest
@@ -1,6 +1,6 @@
AUX 1.3.1-evms.patch 990 RMD160 e6ce0e06751ba461497abd43625feb8f26110344 SHA1 0d3bb79b38727057565e7c0426e2b7ace8e313e5 SHA256 89261fcea47aebe4f7f1e39918555f43ba05c4c1a8fec29180cab97dfff09220
AUX monitorix.conf.patch 925 RMD160 c7faa57c6c7a5eb0048f04d6db37f57405d27be7 SHA1 b47e38922af73a5eabea60a61e86c46cc6e3be89 SHA256 2ca343e8652e8b5e29a0abd0ed3ac9205b000922b4ad5191b3aa96be21ab87db
DIST monitorix-1.3.1.tar.gz 150959 RMD160 3c03c33e2ec5d533d306904f455a11531b99bc81 SHA1 462e5445cc66fb6b9e59218c4395aa75d79a7d05 SHA256 b5c8782d5b98255b7ef75ae26d4131033ac425f1a13c9039fadad7486c085996
-EBUILD monitorix-1.3.1.ebuild 2305 RMD160 71be6ab304f546752c477b9487b9c76b2caf7975 SHA1 84f1a3f0f2ff7c4a6fa6e1aeeec28164a12d6677 SHA256 dc517540d58345620ee3cbbbfc7ad9e36657bc406db4cd830b8e2aaf543d0dea
+EBUILD monitorix-1.3.1.ebuild 2316 RMD160 5859382a34e58bfabf5c83dbaf9e22d80f6d3860 SHA1 61252c9243c3d38736924dc3ead16e1f32e9a10f SHA256 a9ea008f0520fe121589d58f4f1121f4d68dc4a81d4f53521952837d2180df77
MISC ChangeLog 878 RMD160 c5f11161745d311658c9c05c1e8443e5664c0003 SHA1 6f21133850089e4ec0098b8802d6d90b323fca0b SHA256 020431fe9bd256991ca1fbf722cee4c58659077d90acf46d1c38bdb02ea98acb
MISC metadata.xml 285 RMD160 14c03bdcabba50a240b6f81468518ecb9a9260c2 SHA1 f1cb6d0492c498ffa08d16442a510bda679f43e9 SHA256 49a0e28498b88a6e7b8d15996ad998d8345f9ef128b4ee6329e1547d64ee6653
diff --git a/www-misc/monitorix/monitorix-1.3.1.ebuild b/www-misc/monitorix/monitorix-1.3.1.ebuild
index 8367b196a..7ab849d7c 100644
--- a/www-misc/monitorix/monitorix-1.3.1.ebuild
+++ b/www-misc/monitorix/monitorix-1.3.1.ebuild
@@ -31,9 +31,9 @@ need_httpd_cgi
src_prepare() {
local IDATE=$(date +'%Y-%m-%d')
epatch "${FILESDIR}/${PN}.conf.patch"
- sed -i -e "s|\(our \$IDATE = \"\)01 Jan 2000|\1${IDATE}|" ${PN}.conf
-
- use evms && epatch "${FILESDIR}/1.3.1-evms.patch"
+ sed -i -e "s|\(our \$IDATE = \"\)01 Jan 2000|\1${IDATE}|" ${PN}.conf \
+ || die "sed failed"
+ epatch "${FILESDIR}/${PV}-evms.patch"
}
src_install() {