summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-10-24 11:29:44 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-10-24 11:29:44 +0000
commit463e12726e1aa834d213ca9ea9d3532572545d1d (patch)
treec6055c94bec845d768792c57da5f769c9b9ef163 /app-admin/rackview
parentuse sed -i (diff)
downloadhistorical-463e12726e1aa834d213ca9ea9d3532572545d1d.tar.gz
historical-463e12726e1aa834d213ca9ea9d3532572545d1d.tar.bz2
historical-463e12726e1aa834d213ca9ea9d3532572545d1d.zip
use sed -i
Diffstat (limited to 'app-admin/rackview')
-rw-r--r--app-admin/rackview/Manifest6
-rw-r--r--app-admin/rackview/rackview-0.04-r1.ebuild18
-rw-r--r--app-admin/rackview/rackview-0.05.ebuild13
3 files changed, 15 insertions, 22 deletions
diff --git a/app-admin/rackview/Manifest b/app-admin/rackview/Manifest
index c13bf4138209..6efd1a9a0ddb 100644
--- a/app-admin/rackview/Manifest
+++ b/app-admin/rackview/Manifest
@@ -1,7 +1,5 @@
MD5 eb0878c5a528698f8b609d04324b7e04 ChangeLog 757
-MD5 cc88df261a5daa10e2ad197e1cad6566 rackview-0.04-r1.ebuild 3102
-MD5 a52c804bbb5f0e311a06268941a25f2e rackview-0.07.ebuild 2934
-MD5 a52c804bbb5f0e311a06268941a25f2e rackview-0.05.ebuild 2934
+MD5 765bc58d2e2b7c284510c8fb5f844e2e rackview-0.04-r1.ebuild 3098
+MD5 6c83eb09d17b534ea36c1784de75b9b1 rackview-0.05.ebuild 2931
MD5 76da7226792e224b1c67a6232833c650 files/digest-rackview-0.04-r1 66
MD5 6fdb382498c555fbba922d4a14ee953c files/digest-rackview-0.05 66
-MD5 223f315278f1e10d2686d00d91202d5f files/digest-rackview-0.07 66
diff --git a/app-admin/rackview/rackview-0.04-r1.ebuild b/app-admin/rackview/rackview-0.04-r1.ebuild
index fd283cfaaec9..df608891e950 100644
--- a/app-admin/rackview/rackview-0.04-r1.ebuild
+++ b/app-admin/rackview/rackview-0.04-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.3 2003/09/05 01:22:31 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.4 2003/10/24 11:29:39 aliz Exp $
inherit perl-module
@@ -46,10 +46,9 @@ src_install() {
dodir /etc/${PN}
mv ${D}usr/etc/eidetic/* ${D}etc/${PN}
cd ${D}etc/${PN}
- cp rackview.conf ${PN}.conf.orig \
- && sed -e "s:eidetic:${PN}:" ${PN}.conf.orig > ${PN}.conf2.orig \
- && sed -e "s:/home/www/site_html/images:${HTTPD_ROOT}:" ${PN}.conf2.orig > ${PN}.conf3.orig \
- && sed -e "s:images/rack_images:rack_images:" ${PN}.conf3.orig > ${PN}.conf \
+ sed -i -e "s:eidetic:${PN}:" \
+ -e "s:/home/www/site_html/images:${HTTPD_ROOT}:" \
+ -e "s:images/rack_images:rack_images:" ${PN}.conf \
&& rm *.orig \
|| ewarn "Please check /etc/${PN}/${PN}.conf"
rm -fr ${D}usr/etc #Remove trash
@@ -63,18 +62,17 @@ src_install() {
#Install .cgi
dodir ${HTTPD_ROOT}/../cgi-bin
- cp cgi-bin/rackview.cgi ${D}${HTTPD_ROOT}/../cgi-bin/${PN}.cgi.orig \
+ cp cgi-bin/rackview.cgi ${D}${HTTPD_ROOT}/../cgi-bin/${PN}.cgi \
&& cd ${D}${HTTPD_ROOT}/../cgi-bin \
- && sed -e "s:/var/www/html:${HTTPD_ROOT}:" \
- -e "s:eidetic:${PN}:" ${PN}.cgi.orig > ${PN}.cgi \
+ && sed -i -e "s:/var/www/html:${HTTPD_ROOT}:" \
+ -e "s:eidetic:${PN}:" ${PN}.cgi \
&& chmod u+x ${PN}.cgi \
&& rm ${PN}.cgi.orig \
|| ewarn "Please copy (& check) ${PN}.cgi manually."
#Script needs to change also
cd ${D}usr/bin
- cp erackview erackview.orig \
- && sed -e "s:eidetic:${PN}:" erackview.orig > e${PN} \
+ sed -i -e "s:eidetic:${PN}:" e${PN} \
&& chmod ugo+x e${PN} \
&& rm erackview.orig \
|| ewarn "Please check script 'e${PN}'."
diff --git a/app-admin/rackview/rackview-0.05.ebuild b/app-admin/rackview/rackview-0.05.ebuild
index b5b5ef0882cb..7b00911843ea 100644
--- a/app-admin/rackview/rackview-0.05.ebuild
+++ b/app-admin/rackview/rackview-0.05.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.05.ebuild,v 1.1 2003/10/12 19:26:36 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.05.ebuild,v 1.2 2003/10/24 11:29:39 aliz Exp $
inherit perl-module
@@ -63,20 +63,17 @@ src_install() {
#Install .cgi
dodir ${HTTPD_ROOT}/../cgi-bin
- cp cgi-bin/rackview.cgi ${D}${HTTPD_ROOT}/../cgi-bin/${PN}.cgi.orig \
+ cp cgi-bin/rackview.cgi ${D}${HTTPD_ROOT}/../cgi-bin/${PN}.cgi \
&& cd ${D}${HTTPD_ROOT}/../cgi-bin \
- && sed -e "s:/var/www/html:${HTTPD_ROOT}:" \
- -e "s:eidetic:${PN}:" ${PN}.cgi.orig > ${PN}.cgi \
+ && sed -i -e "s:/var/www/html:${HTTPD_ROOT}:" \
+ -e "s:eidetic:${PN}:" ${PN}.cgi \
&& chmod u+x ${PN}.cgi \
- && rm ${PN}.cgi.orig \
|| ewarn "Please copy (& check) ${PN}.cgi manually."
#Script needs to change also
cd ${D}usr/bin
- cp erackview erackview.orig \
- && sed -e "s:eidetic:${PN}:" erackview.orig > e${PN} \
+ sed -i -e "s:eidetic:${PN}:" e${PN} \
&& chmod ugo+x e${PN} \
- && rm erackview.orig \
|| ewarn "Please check script 'e${PN}'."
#Making sure HTTPD_USER owns all files