public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Piotr Karbowski" <slashbeast@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/bbswitch/
Date: Mon, 25 Feb 2019 20:28:32 +0000 (UTC)	[thread overview]
Message-ID: <1551126127.f83c42395d88b21be2f2fedc99ecb73dc230a775.slashbeast@gentoo> (raw)

commit:     f83c42395d88b21be2f2fedc99ecb73dc230a775
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 25 20:22:07 2019 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Mon Feb 25 20:22:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83c4239

sys-power/bbswitch: 9999, 0.8-r2 - better kernel source dir handling,

With approval of NP-Hardass adding myself to metadata. EAPI bump.
Fixing the way kernel sources are find, the hardcoded value uses running
kernel's /build dir, it was later altered to default /usr/src/linux.
This change makes it so it uses $KERNEL_DIR that defaults to
/usr/src/linux and fallback to running kernel's /build if no
/usr/src/linux exist.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 sys-power/bbswitch/{bbswitch-9999.ebuild => bbswitch-0.8-r2.ebuild} | 6 +++---
 sys-power/bbswitch/bbswitch-9999.ebuild                             | 6 +++---
 sys-power/bbswitch/metadata.xml                                     | 4 ++++
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/sys-power/bbswitch/bbswitch-9999.ebuild b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild
similarity index 89%
copy from sys-power/bbswitch/bbswitch-9999.ebuild
copy to sys-power/bbswitch/bbswitch-0.8-r2.ebuild
index bb29cb2fd85..ad44354463c 100644
--- a/sys-power/bbswitch/bbswitch-9999.ebuild
+++ b/sys-power/bbswitch/bbswitch-0.8-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit linux-mod
 
@@ -39,7 +39,7 @@ pkg_setup() {
 
 src_prepare() {
 	# Fix build failure, bug #513542
-	sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die
+	sed "s%^KDIR :=.*%KDIR := ${KERNEL_DIR}%g" -i Makefile || die
 
 	default
 }

diff --git a/sys-power/bbswitch/bbswitch-9999.ebuild b/sys-power/bbswitch/bbswitch-9999.ebuild
index bb29cb2fd85..ad44354463c 100644
--- a/sys-power/bbswitch/bbswitch-9999.ebuild
+++ b/sys-power/bbswitch/bbswitch-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit linux-mod
 
@@ -39,7 +39,7 @@ pkg_setup() {
 
 src_prepare() {
 	# Fix build failure, bug #513542
-	sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile || die
+	sed "s%^KDIR :=.*%KDIR := ${KERNEL_DIR}%g" -i Makefile || die
 
 	default
 }

diff --git a/sys-power/bbswitch/metadata.xml b/sys-power/bbswitch/metadata.xml
index 437e2daa175..4c90e0a75de 100644
--- a/sys-power/bbswitch/metadata.xml
+++ b/sys-power/bbswitch/metadata.xml
@@ -1,6 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+	<maintainer type="person">
+		<email>slashbeast@gentoo.org</email>
+		<name>Piotr Karbowski</name>
+	</maintainer>
 	<maintainer type="person">
 		<email>NP-Hardass@gentoo.org</email>
 		<name>NP-Hardass</name>


             reply	other threads:[~2019-02-25 20:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 20:28 Piotr Karbowski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-05  7:18 [gentoo-commits] repo/gentoo:master commit in: sys-power/bbswitch/ Joonas Niilola
2024-08-05  7:18 Joonas Niilola
2024-07-13  5:59 Joonas Niilola
2024-07-13  5:59 Joonas Niilola
2023-11-24 13:54 Pacho Ramos
2022-05-27 21:24 Pacho Ramos
2022-05-27 21:24 Pacho Ramos
2022-05-22 20:08 Jakov Smolić
2022-05-22 18:46 Sam James
2021-12-21 18:54 Pacho Ramos
2021-09-06 13:20 Pacho Ramos
2021-09-04 21:29 Sam James
2021-09-01 13:39 Agostino Sarubbo
2021-07-08 13:01 Pacho Ramos
2021-07-08 13:01 Pacho Ramos
2021-02-14 16:23 Pacho Ramos
2021-01-14 11:19 Pacho Ramos
2020-12-26 13:20 Piotr Karbowski
2019-11-21  8:40 Joonas Niilola
2019-03-09 16:50 Piotr Karbowski
2019-03-09 16:50 Piotr Karbowski
2018-04-01  4:19 Matt Turner
2017-02-16 22:35 NP Hardass
2017-02-04 15:44 Pacho Ramos
2015-10-31 15:33 Ian Delaney
2015-09-22 18:47 Pacho Ramos
2015-09-22 18:47 Pacho Ramos
2015-09-22  5:14 Matt Thode

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1551126127.f83c42395d88b21be2f2fedc99ecb73dc230a775.slashbeast@gentoo \
    --to=slashbeast@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox