public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/initng: initng-9999.ebuild ChangeLog initng-0.6.10.2.ebuild
@ 2009-02-08 19:35 Mike Frysinger (vapier)
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2009-02-08 19:35 UTC (permalink / raw
  To: gentoo-commits

vapier      09/02/08 19:35:59

  Modified:             initng-9999.ebuild ChangeLog
  Added:                initng-0.6.10.2.ebuild
  Log:
  Version bump #250214 by lindevel.
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.13                 sys-apps/initng/initng-9999.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/initng-9999.ebuild?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/initng-9999.ebuild?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/initng-9999.ebuild?r1=1.12&r2=1.13

Index: initng-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-9999.ebuild,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- initng-9999.ebuild	25 Aug 2007 17:59:38 -0000	1.12
+++ initng-9999.ebuild	8 Feb 2009 19:35:58 -0000	1.13
@@ -1,18 +1,23 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-9999.ebuild,v 1.12 2007/08/25 17:59:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-9999.ebuild,v 1.13 2009/02/08 19:35:58 vapier Exp $
 
-ESVN_REPO_URI="http://svn.initng.org/initng/trunk"
-ESVN_PROJECT="initng"
-inherit subversion multilib
+if [[ ${PV} == "9999" ]] ; then
+	ESVN_REPO_URI="http://svn.initng.org/initng/trunk"
+	ESVN_PROJECT="initng"
+	inherit subversion
+	SRC_URI=""
+else
+	SRC_URI="http://download.initng.org/initng/v${PV:0:3}/${P}.tar.bz2"
+	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+inherit eutils multilib
 
 DESCRIPTION="A next generation init replacement"
 HOMEPAGE="http://initng.org/"
-SRC_URI=""
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE=""
 
 RDEPEND=""
@@ -20,8 +25,6 @@
 	>=dev-util/cmake-2.1"
 PDEPEND="sys-apps/initng-ifiles"
 
-S=${WORKDIR}/${PN}
-
 plugin_warning() {
 	if [[ -z ${INITNG_PLUGINS} ]] ; then
 		einfo "If you want to customize the list of initng plugins, please"
@@ -35,6 +38,16 @@
 	plugin_warning
 }
 
+src_unpack() {
+	if [[ ${PV} == "9999" ]] ; then
+		subversion_src_unpack
+	else
+		unpack ${A}
+	fi
+	cd "${S}"
+	sed -i -e 's:-Werror::' CMakeLists.txt #136992
+}
+
 src_compile() {
 	local x default_opts valid_opts cmake_opts=""
 	valid_opts=$(sed -n   '/^OPTION/        s:.*(\([[:alpha:]_]*\).*:\1:p' CMakeLists.txt)



1.44                 sys-apps/initng/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/ChangeLog?r1=1.43&r2=1.44

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog	25 Aug 2007 17:59:38 -0000	1.43
+++ ChangeLog	8 Feb 2009 19:35:58 -0000	1.44
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/initng
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.43 2007/08/25 17:59:38 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/ChangeLog,v 1.44 2009/02/08 19:35:58 vapier Exp $
+
+*initng-0.6.10.2 (08 Feb 2009)
+
+  08 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+  +files/initng-0.6.10.2-logfile-open.patch, +initng-0.6.10.2.ebuild,
+  initng-9999.ebuild:
+  Version bump #250214 by lindevel.
 
   25 Aug 2007; Mike Frysinger <vapier@gentoo.org> initng-0.6.10.1.ebuild,
   initng-9999.ebuild:



1.1                  sys-apps/initng/initng-0.6.10.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/initng-0.6.10.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/initng/initng-0.6.10.2.ebuild?rev=1.1&content-type=text/plain

Index: initng-0.6.10.2.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-0.6.10.2.ebuild,v 1.1 2009/02/08 19:35:58 vapier Exp $

if [[ ${PV} == "9999" ]] ; then
	ESVN_REPO_URI="http://svn.initng.org/initng/trunk"
	ESVN_PROJECT="initng"
	inherit subversion
	SRC_URI=""
else
	SRC_URI="http://download.initng.org/initng/v${PV:0:3}/${P}.tar.bz2"
	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
fi
inherit eutils multilib

DESCRIPTION="A next generation init replacement"
HOMEPAGE="http://initng.org/"

LICENSE="GPL-2"
SLOT="0"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
	>=dev-util/cmake-2.1"
PDEPEND="sys-apps/initng-ifiles"

plugin_warning() {
	if [[ -z ${INITNG_PLUGINS} ]] ; then
		einfo "If you want to customize the list of initng plugins, please"
		einfo "set the INITNG_PLUGINS variable in your make.conf."
		einfo "See http://www.initng.org/wiki/Documents_Plugins for a list of"
		einfo "valid plugins for you to choose from."
	fi
}

pkg_setup() {
	plugin_warning
}

src_unpack() {
	if [[ ${PV} == "9999" ]] ; then
		subversion_src_unpack
	else
		unpack ${A}
	fi
	cd "${S}"
	sed -i -e 's:-Werror::' CMakeLists.txt #136992
	epatch "${FILESDIR}"/${P}-logfile-open.patch
}

src_compile() {
	local x default_opts valid_opts cmake_opts=""
	valid_opts=$(sed -n   '/^OPTION/        s:.*(\([[:alpha:]_]*\).*:\1:p' CMakeLists.txt)
	default_opts=$(sed -n '/^OPTION(.*ON)$/ s:.*(\([[:alpha:]_]*\).*:\1:p' CMakeLists.txt)
	INITNG_PLUGINS=$(echo ${INITNG_PLUGINS} | tr '[:lower:]' '[:upper:]')
	INITNG_PLUGINS=${INITNG_PLUGINS:-${default_opts}}
	for x in ${valid_opts} ; do
		if hasq ${x} ${INITNG_PLUGINS} || hasq ${x#BUILD_} ${INITNG_PLUGINS} ; then
			cmake_opts="${cmake_opts} -D${x}=ON"
		else
			cmake_opts="${cmake_opts} -D${x}=OFF"
		fi
	done
	cmake \
		-DCMAKE_INSTALL_PREFIX=/ \
		-DLIB_INSTALL_DIR=/$(get_libdir) \
		${cmake_opts} || die
	emake || die
}

src_install() {
	emake install DESTDIR="${D}" || die
	find "${D}" -name '*.a' -exec rm "{}" \;
	dodoc AUTHORS ChangeLog NEWS README TODO
}

pkg_postinst() {
	plugin_warning
	einfo "Remember to add init=/sbin/initng in your grub or lilo config"
	einfo " in order to use initng.  Happy testing!"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-08 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-08 19:35 [gentoo-commits] gentoo-x86 commit in sys-apps/initng: initng-9999.ebuild ChangeLog initng-0.6.10.2.ebuild Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox