diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2008-03-27 14:29:37 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2008-03-27 14:29:37 +0000 |
commit | c2a4476895adb3b7e9aaeb3138a9932b7dc8aef5 (patch) | |
tree | 586fac905554abf73ea39a88c1fe33ff8e2d495b /sys-apps | |
parent | Only check for pam in sys-apps/shadow if pam-use-flag is set, see bug #215055 (diff) | |
download | gentoo-2-c2a4476895adb3b7e9aaeb3138a9932b7dc8aef5.tar.gz gentoo-2-c2a4476895adb3b7e9aaeb3138a9932b7dc8aef5.tar.bz2 gentoo-2-c2a4476895adb3b7e9aaeb3138a9932b7dc8aef5.zip |
install rc & rc.shutdown for Gentoo/FreeBSD users
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/openrc/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/openrc/files/openrc-0.2-freebsd-install-rc.patch | 26 | ||||
-rw-r--r-- | sys-apps/openrc/openrc-0.2-r1.ebuild (renamed from sys-apps/openrc/openrc-0.2.ebuild) | 11 |
3 files changed, 43 insertions, 3 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog index 3fd6711af9e3..5c06bcdc8d5b 100644 --- a/sys-apps/openrc/ChangeLog +++ b/sys-apps/openrc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/openrc # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.5 2008/03/27 12:18:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.6 2008/03/27 14:29:36 cardoe Exp $ + +*openrc-0.2-r1 (27 Mar 2008) + + 27 Mar 2008; Doug Goldstein <cardoe@gentoo.org> + +files/openrc-0.2-freebsd-install-rc.patch, -openrc-0.2.ebuild, + +openrc-0.2-r1.ebuild: + install rc & rc.shutdown for Gentoo/FreeBSD users 27 Mar 2008; Mike Frysinger <vapier@gentoo.org> openrc-0.2.ebuild: Add x86/arm love #214957 by Shvetsov Alexey. diff --git a/sys-apps/openrc/files/openrc-0.2-freebsd-install-rc.patch b/sys-apps/openrc/files/openrc-0.2-freebsd-install-rc.patch new file mode 100644 index 000000000000..a52112038dd4 --- /dev/null +++ b/sys-apps/openrc/files/openrc-0.2-freebsd-install-rc.patch @@ -0,0 +1,26 @@ +From: Roy Marples <roy@uberlaptop.marples.name> +Date: Thu, 27 Mar 2008 09:33:20 +0000 (+0000) +Subject: Fix install of rc and rc.shutdown on the BSD's. +X-Git-Url: http://git.overlays.gentoo.org/gitweb/?p=proj%2Fopenrc.git;a=commitdiff_plain;h=a15c9aa1faaa9c387e80c1864de8c57710e28530 + +Fix install of rc and rc.shutdown on the BSD's. +--- + +diff --git a/etc/Makefile.FreeBSD b/etc/Makefile.FreeBSD +index 4b6d75f..6de7451 100644 +--- a/etc/Makefile.FreeBSD ++++ b/etc/Makefile.FreeBSD +@@ -1,4 +1,4 @@ + SED_EXTRA= -e 's:@TERM@:cons25:g' + SRCS+= rc.conf.in rc.in rc.shutdown.in + CONF+= devd.conf +-BIN+= rc.devd ++BIN+= rc rc.shutdown rc.devd +diff --git a/etc/Makefile.NetBSD b/etc/Makefile.NetBSD +index 5b56294..0e85dd4 100644 +--- a/etc/Makefile.NetBSD ++++ b/etc/Makefile.NetBSD +@@ -1,2 +1,3 @@ + SED_EXTRA= -e 's:@TERM@:wsvt25:g' + SRCS+= rc.conf.in rc.in rc.shutdown.in ++BIN+= rc rc.shutdown diff --git a/sys-apps/openrc/openrc-0.2.ebuild b/sys-apps/openrc/openrc-0.2-r1.ebuild index 0167ceec1549..32401fb1aff9 100644 --- a/sys-apps/openrc/openrc-0.2.ebuild +++ b/sys-apps/openrc/openrc-0.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.2.ebuild,v 1.2 2008/03/27 12:18:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-0.2-r1.ebuild,v 1.1 2008/03/27 14:29:36 cardoe Exp $ inherit eutils flag-o-matic multilib toolchain-funcs @@ -46,7 +46,7 @@ pkg_setup() { MAKE_ARGS="${MAKE_ARGS} OS=Linux" brand="Linux" elif use kernel_FreeBSD ; then - MAKE_ARGS="${MAKE_ARGS} OS=FreeBSD SUBOS=BSD" + MAKE_ARGS="${MAKE_ARGS} OS=FreeBSD" brand="FreeBSD" fi export BRANDING="Gentoo ${brand}" @@ -62,6 +62,13 @@ pkg_setup() { fi } +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-0.2-freebsd-install-rc.patch +} + src_compile() { # catch people running `ebuild` w/out setup if [[ -z ${MAKE_ARGS} ]] ; then |