summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2016-09-15 17:10:09 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2016-09-16 01:36:42 -0400
commit480ed9107a4f53d8801eb0694b6cc948ff456e3c (patch)
tree494ac144578e7b2c6506fb63cc04fe7412cdd787 /app-admin/needrestart
parentapp-doc/doxygen: update manifest (diff)
downloadgentoo-480ed9107a4f53d8801eb0694b6cc948ff456e3c.tar.gz
gentoo-480ed9107a4f53d8801eb0694b6cc948ff456e3c.tar.bz2
gentoo-480ed9107a4f53d8801eb0694b6cc948ff456e3c.zip
app-admin/needrestart: add dependency on dev-lang/perl:=
Gentoo-bug: 593882
Diffstat (limited to 'app-admin/needrestart')
-rw-r--r--app-admin/needrestart/needrestart-2.9-r1.ebuild41
-rw-r--r--app-admin/needrestart/needrestart-9999.ebuild3
2 files changed, 43 insertions, 1 deletions
diff --git a/app-admin/needrestart/needrestart-2.9-r1.ebuild b/app-admin/needrestart/needrestart-2.9-r1.ebuild
new file mode 100644
index 000000000000..db40353d48c8
--- /dev/null
+++ b/app-admin/needrestart/needrestart-2.9-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://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
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+src_install() {
+ default
+ doman man/*.1
+ dodoc -r ex
+}
diff --git a/app-admin/needrestart/needrestart-9999.ebuild b/app-admin/needrestart/needrestart-9999.ebuild
index 5cbd524d045e..db40353d48c8 100644
--- a/app-admin/needrestart/needrestart-9999.ebuild
+++ b/app-admin/needrestart/needrestart-9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
KEYWORDS=""
else
- SRC_URI="https://github.com/liske/${PN}/archive/v${PV}.tar.gz"
+ SRC_URI="https://github.com/liske/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -22,6 +22,7 @@ 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