summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-04-02 15:46:21 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-04-02 15:46:21 +0000
commit733bea14181bcc95b7a1d4275579963ec9250244 (patch)
tree33f5ae5864dfad5cd06b967a106b42b533c6ad9c /www-servers
parentamd64 stable (diff)
downloadgentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.tar.gz
gentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.tar.bz2
gentoo-2-733bea14181bcc95b7a1d4275579963ec9250244.zip
Add symlink for hosts for easy virtual host management.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/resin/ChangeLog5
-rw-r--r--www-servers/resin/resin-4.0.5.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
index 3faac9879c46..fb64d1eba1a5 100644
--- a/www-servers/resin/ChangeLog
+++ b/www-servers/resin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-servers/resin
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.92 2010/04/02 15:41:27 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.93 2010/04/02 15:46:21 nelchael Exp $
+
+ 02 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.5.ebuild:
+ Add symlink for hosts for easy virtual host management.
*resin-4.0.5 (02 Apr 2010)
diff --git a/www-servers/resin/resin-4.0.5.ebuild b/www-servers/resin/resin-4.0.5.ebuild
index b7b1c6b40249..6c965e3082cf 100644
--- a/www-servers/resin/resin-4.0.5.ebuild
+++ b/www-servers/resin/resin-4.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-4.0.5.ebuild,v 1.1 2010/04/02 15:41:27 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-4.0.5.ebuild,v 1.2 2010/04/02 15:46:21 nelchael Exp $
EAPI="2"
@@ -112,10 +112,12 @@ src_install() {
dosym /var/log/resin /usr/share/resin/log
dodir /var/lib/resin/webapps
+ keepdir /var/lib/resin/hosts
mv "${D}"/${RESIN_HOME}/webapps/* "${D}/var/lib/resin/webapps" || \
die "mv of webapps failed"
rm -rf "${D}/${RESIN_HOME}/webapps"
dosym /var/lib/resin/webapps ${RESIN_HOME}/webapps
+ dosym /var/lib/resin/hosts ${RESIN_HOME}/hosts
dodir /usr/lib/resin/project-jars
cp -a "${S}"/project-jars/*.jar "${D}/usr/lib/resin/project-jars"