From 9b8efbb4bd6a21cfb197e3cb2f0b33d11390c3e9 Mon Sep 17 00:00:00 2001
From: Krzysztof Pawlik <nelchael@gentoo.org>
Date: Tue, 9 Jan 2007 12:15:26 +0000
Subject: Fix one warning and einfo usage. (Portage version: 2.1.2_rc4-r7)

---
 www-servers/resin/ChangeLog           |  6 ++-
 www-servers/resin/resin-2.1.17.ebuild | 77 ++++++++++++++++-------------------
 www-servers/resin/resin-3.0.22.ebuild | 36 ++++++++--------
 www-servers/resin/resin-3.1.0.ebuild  | 27 ++++++------
 4 files changed, 72 insertions(+), 74 deletions(-)

diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
index d29555a5101a..b2f7c1111273 100644
--- a/www-servers/resin/ChangeLog
+++ b/www-servers/resin/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for www-servers/resin
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.34 2007/01/09 08:23:44 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.35 2007/01/09 12:15:26 nelchael Exp $
+
+  09 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild,
+  resin-3.0.22.ebuild, resin-3.1.0.ebuild:
+  Fix one warning and einfo usage.
 
   09 Jan 2007; Markus Rothe <corsair@gentoo.org> resin-3.0.22.ebuild:
   Stable on ppc64; bug #161021
diff --git a/www-servers/resin/resin-2.1.17.ebuild b/www-servers/resin/resin-2.1.17.ebuild
index a3fa31836881..8a3862fa651a 100644
--- a/www-servers/resin/resin-2.1.17.ebuild
+++ b/www-servers/resin/resin-2.1.17.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-2.1.17.ebuild,v 1.4 2006/10/05 14:49:47 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-2.1.17.ebuild,v 1.5 2007/01/09 12:15:26 nelchael Exp $
 
 inherit java-pkg eutils
 
@@ -74,43 +74,38 @@ src_install() {
 }
 
 pkg_postinst() {
-	einfo
-	einfo " NOTICE!"
-	einfo " User and group 'resin' have been added."
-	einfo
-	einfo " FILE LOCATIONS:"
-	einfo " 1.  Resin home directory: ${RESIN_HOME}"
-	einfo "     Contains application data, configuration files."
-	einfo " 2.  Runtime settings: /etc/conf.d/resin"
-	einfo "     Contains CLASSPATH and JAVA_HOME settings."
-	einfo " 3.  Logs:  /var/log/resin/"
-	einfo " 4.  Executables, libraries:  /usr/share/resin/"
-	einfo
-	einfo " STARTING AND STOPPING RESIN:"
-	einfo "   /etc/init.d/resin start"
-	einfo "   /etc/init.d/resin stop"
-	einfo "   /etc/init.d/resin restart"
-	einfo
-	einfo " NETWORK CONFIGURATION:"
-	einfo " By default, Resin runs on port 8080.  You can change this"
-	einfo " value by editing ${RESIN_HOME}/conf/resin.conf."
-	einfo
-	einfo " To test Resin while it's running, point your web browser to:"
-	einfo " http://localhost:8080/"
-	einfo
-	einfo " Resin cannot run on port 80 as non-root (as of this time)."
-	einfo " The best way to get Resin to respond on port 80 is via port"
-	einfo " forwarding -- by installing a firewall on the machine running"
-	einfo " Resin or the network gateway.  Simply redirect port 80 to"
-	einfo " port 8080."
-	einfo
-	einfo " BUGS:"
-	einfo " Please file any bugs at http://bugs.gentoo.org/ or else it"
-	einfo " may not get seen.  Thank you."
-	einfo
+	elog
+	elog " NOTICE!"
+	elog " User and group 'resin' have been added."
+	elog
+	elog " FILE LOCATIONS:"
+	elog " 1.  Resin home directory: ${RESIN_HOME}"
+	elog "     Contains application data, configuration files."
+	elog " 2.  Runtime settings: /etc/conf.d/resin"
+	elog "     Contains CLASSPATH and JAVA_HOME settings."
+	elog " 3.  Logs:  /var/log/resin/"
+	elog " 4.  Executables, libraries:  /usr/share/resin/"
+	elog
+	elog " STARTING AND STOPPING RESIN:"
+	elog "   /etc/init.d/resin start"
+	elog "   /etc/init.d/resin stop"
+	elog "   /etc/init.d/resin restart"
+	elog
+	elog " NETWORK CONFIGURATION:"
+	elog " By default, Resin runs on port 8080.  You can change this"
+	elog " value by editing ${RESIN_HOME}/conf/resin.conf."
+	elog
+	elog " To test Resin while it's running, point your web browser to:"
+	elog " http://localhost:8080/"
+	elog
+	elog " Resin cannot run on port 80 as non-root (as of this time)."
+	elog " The best way to get Resin to respond on port 80 is via port"
+	elog " forwarding -- by installing a firewall on the machine running"
+	elog " Resin or the network gateway.  Simply redirect port 80 to"
+	elog " port 8080."
+	elog
+	elog " BUGS:"
+	elog " Please file any bugs at http://bugs.gentoo.org/ or else it"
+	elog " may not get seen.  Thank you."
+	elog
 }
-
-pkg_postrm() {
-	einfo "You may want to remove the resin user and group"
-}
-
diff --git a/www-servers/resin/resin-3.0.22.ebuild b/www-servers/resin/resin-3.0.22.ebuild
index 1514029e7ac1..b51c1871ee8f 100644
--- a/www-servers/resin/resin-3.0.22.ebuild
+++ b/www-servers/resin/resin-3.0.22.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.0.22.ebuild,v 1.2 2007/01/09 08:23:44 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.0.22.ebuild,v 1.3 2007/01/09 12:15:26 nelchael Exp $
 
 inherit java-pkg-2 java-ant-2 eutils flag-o-matic
 
@@ -132,22 +132,22 @@ src_install() {
 
 pkg_postinst() {
 
-	einfo
-	einfo " User and group 'resin' have been added."
-	einfo
-	einfo " By default, Resin runs on port 8080.  You can change this"
-	einfo " value by editing /etc/conf/resin.conf."
-	einfo
-	einfo " To test Resin while it's running, point your web browser to:"
-	einfo " http://localhost:8080/"
-	einfo
-	einfo " Resin cannot run on port 80 as non-root (as of this time)."
-	einfo " The best way to get Resin to respond on port 80 is via port"
-	einfo " forwarding -- by installing a firewall on the machine running"
-	einfo " Resin or the network gateway.  Simply redirect port 80 to"
-	einfo " port 8080."
-	einfo
-	einfo " webapps directory was moved to /var/lib/resin/webapps "
-	einfo
+	elog
+	elog " User and group 'resin' have been added."
+	elog
+	elog " By default, Resin runs on port 8080.  You can change this"
+	elog " value by editing /etc/conf/resin.conf."
+	elog
+	elog " To test Resin while it's running, point your web browser to:"
+	elog " http://localhost:8080/"
+	elog
+	elog " Resin cannot run on port 80 as non-root (as of this time)."
+	elog " The best way to get Resin to respond on port 80 is via port"
+	elog " forwarding -- by installing a firewall on the machine running"
+	elog " Resin or the network gateway.  Simply redirect port 80 to"
+	elog " port 8080."
+	elog
+	elog " webapps directory was moved to /var/lib/resin/webapps "
+	elog
 
 }
diff --git a/www-servers/resin/resin-3.1.0.ebuild b/www-servers/resin/resin-3.1.0.ebuild
index 4d12eb072eb2..c68de8497b07 100644
--- a/www-servers/resin/resin-3.1.0.ebuild
+++ b/www-servers/resin/resin-3.1.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.1.0.ebuild,v 1.1 2006/12/26 01:49:46 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.1.0.ebuild,v 1.2 2007/01/09 12:15:26 nelchael Exp $
 
 inherit java-pkg-2 java-ant-2 eutils flag-o-matic
 
@@ -125,7 +125,6 @@ src_install() {
 	chown -R resin:resin ${D}/var/lib/resin
 	chown -R resin:resin ${D}/var/run/resin
 
-	chmod 755 ${D}${RESIN_HOME}/bin/*
 	chmod 644 ${D}/etc/conf.d/resin
 	chmod 755 ${D}/etc/init.d/resin
 	chmod 750 ${D}/var/lib/resin
@@ -136,16 +135,16 @@ src_install() {
 
 pkg_postinst() {
 
-	einfo
-	einfo " User and group 'resin' have been added."
-	einfo
-	einfo " By default, Resin runs on port 8080.  You can change this"
-	einfo " value by editing /etc/conf/resin.conf."
-	einfo
-	einfo " webapps directory was moved to /var/lib/resin/webapps"
-	einfo
-	einfo " Most options has been moved from /etc/conf.d/resin to"
-	einfo " /etc/resin/resin.conf."
-	einfo
+	elog
+	elog " User and group 'resin' have been added."
+	elog
+	elog " By default, Resin runs on port 8080.  You can change this"
+	elog " value by editing /etc/conf/resin.conf."
+	elog
+	elog " webapps directory was moved to /var/lib/resin/webapps"
+	elog
+	elog " Most options has been moved from /etc/conf.d/resin to"
+	elog " /etc/resin/resin.conf."
+	elog
 
 }
-- 
cgit v1.2.3-65-gdbad