From c0f7f49397fed6f335be5d585deebad07d85e74e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Fri, 26 Aug 2005 13:50:48 +0000 Subject: [PATCH] Don't specify root group as it doesn't exists on BSD-like userlands. Replace cp -a to cp -pPR (where it makes sense). Use newinitd/newconfd instead of copying and installing files around. Package-Manager: portage-2.0.51.22 --- www-servers/orion/ChangeLog | 7 ++++- www-servers/orion/Manifest | 44 ++++++++++++++-------------- www-servers/orion/orion-2.0.5.ebuild | 19 ++++-------- 3 files changed, 34 insertions(+), 36 deletions(-) diff --git a/www-servers/orion/ChangeLog b/www-servers/orion/ChangeLog index 5e65fe20563f..2f7db7cd3e04 100644 --- a/www-servers/orion/ChangeLog +++ b/www-servers/orion/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/orion # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/orion/ChangeLog,v 1.9 2005/06/24 22:33:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/orion/ChangeLog,v 1.10 2005/08/26 13:50:48 flameeyes Exp $ + + 26 Aug 2005; Diego Pettenò orion-2.0.5.ebuild: + Don't specify root group as it doesn't exists on BSD-like userlands. Replace + cp -a to cp -pPR (where it makes sense). Use newinitd/newconfd instead of + copying and installing files around. 24 Jun 2005; Aron Griffis orion-2.0.1.ebuild, orion-2.0.2.ebuild, orion-2.0.5.ebuild: diff --git a/www-servers/orion/Manifest b/www-servers/orion/Manifest index c0e595b26539..bc82fca72604 100644 --- a/www-servers/orion/Manifest +++ b/www-servers/orion/Manifest @@ -1,34 +1,34 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 108ae22c31862453b1c9fcf6ae7ab0df orion-2.0.5.ebuild 3498 -MD5 c59ddc11464c031845b11c8bde5ae4ba ChangeLog 4700 +MD5 37b3ff00d2fa143765a6de2d0e9dd1aa ChangeLog 4970 +MD5 2b22a8309ad22a4695ae8f95e2e58239 orion-2.0.5.ebuild 3389 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 64d2f904818b8231a8e04afe11ec9116 files/digest-orion-2.0.5 60 -MD5 d07a4a710da503acad73a3ff6a33b53d files/2.0/stop_orion.sh 199 -MD5 e175ab77e3672e6af0b3440ecf17d1b0 files/2.0/orion.conf 1488 -MD5 8bc08ac3b94467c660311e05f5274235 files/2.0/orion.init 621 -MD5 d639d66431028cebb11ae1642722e64a files/2.0/start_orion.sh 327 -MD5 abd7c855a9b9601253916624d6f0e782 files/2.0/2.0-gentoo.patch 5301 -MD5 8e79ab4c81d11f32ad95f591e4bdcf86 files/2.0.1/stop_orion.sh 201 -MD5 abd7c855a9b9601253916624d6f0e782 files/2.0.1/2.0.1-gentoo.patch 5301 -MD5 7601a324323ba4d391105924f7130ef5 files/2.0.1/orion.conf 1490 -MD5 4769c90a33df53412fe897b0e85d30ee files/2.0.1/orion.init 623 -MD5 381c1a5cf920e989d67d3dce11a4b18f files/2.0.1/start_orion.sh 329 -MD5 6371601ecd23c07b7e2ff7ade715ac62 files/2.0.2/stop_orion.sh 201 -MD5 9e9bda794856b8df9f83b685b8927e2f files/2.0.2/orion.conf 1490 -MD5 95371637dbe2fe9a6b90a338b1d2713f files/2.0.2/orion.init 623 MD5 68df9354bacc148d8077dc4aadd5e296 files/2.0.2/start_orion.sh 329 +MD5 95371637dbe2fe9a6b90a338b1d2713f files/2.0.2/orion.init 623 +MD5 9e9bda794856b8df9f83b685b8927e2f files/2.0.2/orion.conf 1490 MD5 abd7c855a9b9601253916624d6f0e782 files/2.0.2/2.0.2-gentoo.patch 5301 -MD5 2a85e4707edaf93fac484f6d4776c907 files/2.0.5/stop_orion.sh 201 +MD5 6371601ecd23c07b7e2ff7ade715ac62 files/2.0.2/stop_orion.sh 201 +MD5 381c1a5cf920e989d67d3dce11a4b18f files/2.0.1/start_orion.sh 329 +MD5 4769c90a33df53412fe897b0e85d30ee files/2.0.1/orion.init 623 +MD5 7601a324323ba4d391105924f7130ef5 files/2.0.1/orion.conf 1490 +MD5 abd7c855a9b9601253916624d6f0e782 files/2.0.1/2.0.1-gentoo.patch 5301 +MD5 8e79ab4c81d11f32ad95f591e4bdcf86 files/2.0.1/stop_orion.sh 201 +MD5 640aeac33bfeef4b73251c255a5cf0b5 files/2.0.5/start_orion.sh 329 +MD5 9395af08eda1e3bebe30f911f366a668 files/2.0.5/orion.init 625 MD5 47d0ad15473027f371c1d02681a84e1e files/2.0.5/2.0.5-gentoo.patch 5287 MD5 10a92f413fc87c341c409074bc3ce7d4 files/2.0.5/orion.conf 1490 -MD5 9395af08eda1e3bebe30f911f366a668 files/2.0.5/orion.init 625 -MD5 640aeac33bfeef4b73251c255a5cf0b5 files/2.0.5/start_orion.sh 329 +MD5 2a85e4707edaf93fac484f6d4776c907 files/2.0.5/stop_orion.sh 201 +MD5 d639d66431028cebb11ae1642722e64a files/2.0/start_orion.sh 327 +MD5 8bc08ac3b94467c660311e05f5274235 files/2.0/orion.init 621 +MD5 e175ab77e3672e6af0b3440ecf17d1b0 files/2.0/orion.conf 1488 +MD5 abd7c855a9b9601253916624d6f0e782 files/2.0/2.0-gentoo.patch 5301 +MD5 d07a4a710da503acad73a3ff6a33b53d files/2.0/stop_orion.sh 199 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFC3EJz/rLF9B432nYRAkK+AJ48wxuA/zncArKraBnYgJbF2qzy6ACeLnUj -xZg9ICL0F124/yZjiy4O9kI= -=hX32 +iD8DBQFDDx5aj5H05b2HAEkRAvdnAJ9enF4CZd+7h5/4OWH/+OBkOqLYTwCgjVGr +LYzDfLNZVxL+LHxhsxXIHg8= +=nGgL -----END PGP SIGNATURE----- diff --git a/www-servers/orion/orion-2.0.5.ebuild b/www-servers/orion/orion-2.0.5.ebuild index 328905632963..c0ddea895234 100644 --- a/www-servers/orion/orion-2.0.5.ebuild +++ b/www-servers/orion/orion-2.0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/orion/orion-2.0.5.ebuild,v 1.6 2005/07/18 23:59:33 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/orion/orion-2.0.5.ebuild,v 1.7 2005/08/26 13:50:48 flameeyes Exp $ inherit eutils java-pkg @@ -40,15 +40,8 @@ src_install() { doins ${FILESDIR}/${PV}/start_orion.sh doins ${FILESDIR}/${PV}/stop_orion.sh - cp -a ${FILESDIR}/${PV}/orion.init ${S}/orion - insinto /etc/init.d - insopts -m0750 - doins ${S}/orion - - cp -a ${FILESDIR}/${PV}/orion.conf ${S}/orion - insinto /etc/conf.d - insopts -m0750 - doins ${S}/orion + newinitd ${FILESDIR}/${PV}/orion.init orion + newconfd ${FILESDIR}/${PV}/orion.conf orion # CREATE DUMMY LOG & PERSISTENCE DIR dodir /var/log/${PN} @@ -60,14 +53,14 @@ src_install() { # INSTALL EXTRA FILES local dirs="applications default-web-app demo lib persistence autoupdate.properties" for i in $dirs ; do - cp -a ${i} ${D}/opt/${PN}/ + cp -pPR ${i} ${D}/opt/${PN}/ done # INSTALL APP CONFIG cd ${S}/config local dirs="application.xml data-sources.xml database-schemas default-web-site.xml global-web-application.xml jms.xml mime.types principals.xml rmi.xml server.xml" for i in $dirs ; do - cp -a ${i} ${D}/opt/${PN}/config + cp -pPR ${i} ${D}/opt/${PN}/config done # INSTALL JARS @@ -88,7 +81,7 @@ pkg_preinst() { enewuser orion -1 /bin/bash /opt/orion orion chown -R orion:orion ${IMAGE}/opt/${PN} chown -R orion:orion ${IMAGE}/var/log/${PN} - chown root:root ${IMAGE}/etc/conf.d/orion + chown root:0 ${IMAGE}/etc/conf.d/orion } pkg_postinst() { -- 2.26.2