summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-04-21 20:49:17 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-04-21 20:49:17 +0000
commit836c8597af561c689d4f905a6a872db01034dce7 (patch)
tree9f714e626aedd36bcea7306b378230050c3f4164 /www-servers
parentia64 stable (diff)
downloadgentoo-2-836c8597af561c689d4f905a6a872db01034dce7.tar.gz
gentoo-2-836c8597af561c689d4f905a6a872db01034dce7.tar.bz2
gentoo-2-836c8597af561c689d4f905a6a872db01034dce7.zip
Use newinitd, newconfd and doenvd, see bug #174266.
(Portage version: 2.1.2.4)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/resin/ChangeLog5
-rw-r--r--www-servers/resin/resin-2.1.17.ebuild20
2 files changed, 8 insertions, 17 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
index a348e7ca643c..33b27d1ca2a3 100644
--- a/www-servers/resin/ChangeLog
+++ b/www-servers/resin/ChangeLog
@@ -1,6 +1,9 @@
# 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.40 2007/04/11 10:07:26 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.41 2007/04/21 20:49:17 nelchael Exp $
+
+ 21 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild:
+ Use newinitd, newconfd and doenvd, see bug #174266.
11 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.22.ebuild,
resin-3.1.0.ebuild:
diff --git a/www-servers/resin/resin-2.1.17.ebuild b/www-servers/resin/resin-2.1.17.ebuild
index 8a3862fa651a..fc5fd382f9c1 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-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.5 2007/01/09 12:15:26 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-2.1.17.ebuild,v 1.6 2007/04/21 20:49:17 nelchael Exp $
inherit java-pkg eutils
@@ -41,21 +41,9 @@ src_install() {
keepdir /var/log/${PN}/
# INIT SCRIPTS AND ENV
-
- cp -a ${FILESDIR}/${PV}/resin.init ${S}/resin
- insinto /etc/init.d
- insopts -m0750
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/resin.conf ${S}/resin
- insinto /etc/conf.d
- insopts -m0755
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/21resin ${S}/21resin
- insinto /etc/env.d
- insopts -m0755
- doins ${S}/21resin
+ newinitd "${FILESDIR}/${PV}/resin.init" "${PN}"
+ newconfd "${FILESDIR}/${PV}/resin.conf" "${PN}"
+ doenvd "${FILESDIR}/${PV}/21resin"
dodir /opt/resin || die
dodoc LICENSE readme.txt