From 4ffd69cb11b5a883ef568cfce86f0f85a7a58d73 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 Apr 2015 13:27:57 +0100 Subject: we're preparing the sources, not only unpack them --- sys-devel/gcc-config/gcc-config-1.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-devel/gcc-config/gcc-config-1.8.ebuild b/sys-devel/gcc-config/gcc-config-1.8.ebuild index 94b1e254..dd594437 100644 --- a/sys-devel/gcc-config/gcc-config-1.8.ebuild +++ b/sys-devel/gcc-config/gcc-config-1.8.ebuild @@ -18,7 +18,7 @@ DEPEND=" openrc? ( >=sys-apps/openrc-0.12.4 ) systemd? ( >=sys-apps/gentoo-functions-0.7 )" -src_unpack() { +src_prepare() { unpacker_src_unpack cd "${S}" || die epatch "${FILESDIR}/${PN}-kogaion-base-gcc-support-2.patch" -- cgit v1.2.3 From d02fa50e1ca878de3ec257db88fc3ec09ce55d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 May 2015 16:23:59 +0100 Subject: add gentoo-systemd-integration --- .../gentoo-systemd-integration-4.ebuild | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild new file mode 100644 index 00000000..b49935fb --- /dev/null +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools-utils systemd + +DESCRIPTION="systemd integration files for Gentoo" +HOMEPAGE="https://bitbucket.org/mgorny/gentoo-systemd-integration" +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=sys-apps/systemd-207 + !sys-fs/eudev + !sys-fs/udev" + +src_configure() { + local myeconfargs=( + "$(systemd_with_unitdir)" + # TODO: solve it better in the eclass + --with-systemdsystemgeneratordir="$(systemd_get_utildir)"/system-generators + ) + + autotools-utils_src_configure +} -- cgit v1.2.3 From 73d18d460dc6ae03d75ae9628db3b32a913d270c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 25 May 2015 16:27:56 +0100 Subject: make gentoo-local-generator to exit gracefully, as we don't have any openrc file in our system --- sys-apps/gentoo-systemd-integration/Manifest | 1 + .../files/gentoo-systemd-integration-pure-systemd.patch | 12 ++++++++++++ .../gentoo-systemd-integration-4.ebuild | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 sys-apps/gentoo-systemd-integration/Manifest create mode 100644 sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch diff --git a/sys-apps/gentoo-systemd-integration/Manifest b/sys-apps/gentoo-systemd-integration/Manifest new file mode 100644 index 00000000..ce358cac --- /dev/null +++ b/sys-apps/gentoo-systemd-integration/Manifest @@ -0,0 +1 @@ +DIST gentoo-systemd-integration-4.tar.bz2 52449 SHA256 7027bd2056449e5ec8f9fc3da81c0f157810d482bfa11be48903643335fc6bde SHA512 2f60a98062fc5b9c7247e5df77b8875e532d28b2b903a2770713bbcfb2706f0f1bd7809396dd49ff1cc41f69d8c3dceaef87909fa8683c458a5f818f5e05a574 WHIRLPOOL f87b8aa01f24fad4ff90e694fa03b718425bbb0c0dc8a00950b0ae81230f3b92255d07efc9161707a35c8f3e0e7664c57b7ae061ccc0d896bfc55a632a8b4f09 diff --git a/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch b/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch new file mode 100644 index 00000000..e8e050e2 --- /dev/null +++ b/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch @@ -0,0 +1,12 @@ +diff -Nur a/system-generators/gentoo-local-generator b/system-generators/gentoo-local-generator +--- a/system-generators/gentoo-local-generator 2014-02-20 05:28:14.000000000 +0000 ++++ b/system-generators/gentoo-local-generator 2015-05-25 16:20:26.847675246 +0100 +@@ -1,5 +1,8 @@ + #!/bin/sh + ++# we don't need those from below being systemd only so exit gracefully ++exit 0 ++ + locald_dir=/etc/local.d + cd "${locald_dir}" || exit 1 + diff --git a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild index b49935fb..d02b525f 100644 --- a/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild +++ b/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-4.ebuild @@ -18,6 +18,10 @@ RDEPEND=">=sys-apps/systemd-207 !sys-fs/eudev !sys-fs/udev" +src_prepare() { + epatch "${FILESDIR}/${PN}-pure-systemd.patch" +} + src_configure() { local myeconfargs=( "$(systemd_with_unitdir)" -- cgit v1.2.3