public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-admin/needrestart/, app-admin/needrestart/files/
@ 2016-07-08 21:31 Patrice Clement
  0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-07-08 21:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Thu Jul  7 19:51:52 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 21:03:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e9e981

app-admin/needrestart-2.8: Fix QA Notice: make jobserver unavailable: using -j1.

Gentoo-Bug: https://bugs.gentoo.org/588216
Closes: https://github.com/gentoo/gentoo/pull/1843

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../needrestart/files/needrestart-parallelmake.patch    | 17 +++++++++++++++++
 app-admin/needrestart/needrestart-2.8.ebuild            |  4 ++++
 2 files changed, 21 insertions(+)

diff --git a/app-admin/needrestart/files/needrestart-parallelmake.patch b/app-admin/needrestart/files/needrestart-parallelmake.patch
new file mode 100644
index 0000000..0a80de2
--- /dev/null
+++ b/app-admin/needrestart/files/needrestart-parallelmake.patch
@@ -0,0 +1,17 @@
+https://github.com/liske/needrestart/pull/34
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index c432772..8cc2fe0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -64,5 +64,5 @@ po/needrestart-notify/messages.pot: ex/notify.d/*-*
+ 
+ 
+ mo-files:
+-	make -C po/needrestart
+-	make -C po/needrestart-notify
++	$(MAKE) -C po/needrestart
++	$(MAKE) -C po/needrestart-notify

diff --git a/app-admin/needrestart/needrestart-2.8.ebuild b/app-admin/needrestart/needrestart-2.8.ebuild
index 4072301..8c49f74 100644
--- a/app-admin/needrestart/needrestart-2.8.ebuild
+++ b/app-admin/needrestart/needrestart-2.8.ebuild
@@ -30,6 +30,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
 "
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-parallelmake.patch # https://bugs.gentoo.org/show_bug.cgi?id=588216
+)
+
 src_install() {
 	default
 	doman man/*.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/needrestart/, app-admin/needrestart/files/
@ 2018-05-13  1:51 Craig Andrews
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Andrews @ 2018-05-13  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     8f8e9edcf9e2fe40aef8246bee1ada6b979a96bc
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun May 13 01:51:07 2018 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun May 13 01:51:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8e9edc

app-admin/needrestart: Fix detection of Gentoo kernels

https://github.com/liske/needrestart/pull/113
Closes: https://bugs.gentoo.org/654958
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../needrestart-3.1-gentoo-kernel-detection.patch  | 24 ++++++++++++
 app-admin/needrestart/needrestart-3.1-r1.ebuild    | 45 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch b/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch
new file mode 100644
index 00000000000..6b8c221098b
--- /dev/null
+++ b/app-admin/needrestart/files/needrestart-3.1-gentoo-kernel-detection.patch
@@ -0,0 +1,24 @@
+From bbd98c32fb5d33f42d1b9257f55a07d62b8de164 Mon Sep 17 00:00:00 2001
+From: Craig Andrews <candrews@integralblue.com>
+Date: Mon, 7 May 2018 11:28:33 -0400
+Subject: [PATCH] [Kernel] Include /boot/kernel* while looking for linux kernel
+ images
+
+Fixes kernel detection on Gentoo
+---
+ perl/lib/NeedRestart/Kernel/Linux.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/perl/lib/NeedRestart/Kernel/Linux.pm b/perl/lib/NeedRestart/Kernel/Linux.pm
+index 6f284f3..69a919c 100644
+--- a/perl/lib/NeedRestart/Kernel/Linux.pm
++++ b/perl/lib/NeedRestart/Kernel/Linux.pm
+@@ -131,7 +131,7 @@ sub nr_kernel_check_real($$) {
+     } grep {
+ 	# filter initrd images
+ 	(!m@^/boot/init@);
+-    } (</boot/vmlinu*>, </boot/*.img>);
++    } (</boot/vmlinu*>, </boot/*.img>, </boot/kernel*>);
+ 
+     $ui->progress_prep(scalar keys %kfiles, __ 'Scanning linux images...');
+ 

diff --git a/app-admin/needrestart/needrestart-3.1-r1.ebuild b/app-admin/needrestart/needrestart-3.1-r1.ebuild
new file mode 100644
index 00000000000..d3e017750bd
--- /dev/null
+++ b/app-admin/needrestart/needrestart-3.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/liske/${PN}.git"
+	inherit git-r3
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/liske/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Restart daemons after library updates"
+HOMEPAGE="https://fiasko-nw.net/~thomas/tag/needrestart.html https://github.com/liske/needrestart"
+
+SLOT="0"
+LICENSE="GPL-2+"
+
+RDEPEND="
+	>=sys-apps/sed-4.2.2
+	dev-lang/perl:=
+	dev-perl/libintl-perl
+	dev-perl/Module-Find
+	dev-perl/Module-ScanDeps
+	dev-perl/Proc-ProcessTable
+	dev-perl/Sort-Naturally
+	dev-perl/TermReadKey
+	sys-apps/init-system-helpers
+"
+DEPEND="${RDEPEND}
+	sys-devel/gettext
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-gentoo-kernel-detection.patch"
+)
+
+src_install() {
+	default
+	doman man/*.1
+	dodoc -r ex
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-13  1:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-13  1:51 [gentoo-commits] repo/gentoo:master commit in: app-admin/needrestart/, app-admin/needrestart/files/ Craig Andrews
  -- strict thread matches above, loose matches on Subject: below --
2016-07-08 21:31 Patrice Clement

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