1 |
commit: de2b6fc1016c833c19b17792d794d9d67300c9e8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 30 10:34:02 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 10:34:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2b6fc1 |
7 |
|
8 |
sys-apps/watchdog: Bump to version 5.16 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/watchdog/Manifest | 1 + |
14 |
sys-apps/watchdog/watchdog-5.16.ebuild | 38 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/watchdog/Manifest b/sys-apps/watchdog/Manifest |
18 |
index 5c65f5ee3cc..644169d7c3a 100644 |
19 |
--- a/sys-apps/watchdog/Manifest |
20 |
+++ b/sys-apps/watchdog/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST watchdog-5.15.tar.gz 228132 BLAKE2B 040badcf66f048e2873c335a4dd1b5dad6716c61534322c0c92dad2238049555af40e92612a260507fddd4c284d7ccb5d362dc1660084fd0a7db2c522b1ea323 SHA512 a675cfadf3296d583b9163193297038fb19459daf7c6681289392d613e775e75b7afd42a3e01b136a955f25b2f45818033b56e10de9050075d7dc015535a6e75 |
23 |
+DIST watchdog-5.16.tar.gz 203910 BLAKE2B 517f2f8085829e5c5ff576f1dff920a2667d0e96a71dcbcebf381ccf349e95dfb0b7b598b565eda4cc8ec31f5f34e367dd719eeaf522cdee074c3bc23589dfb2 SHA512 1c9c921570ec7ddc3e4ff88b2029f1c3865277e547fb8970575df4b61fdf1f06f443f49ad09f11c29d913ca7d6ab05c5b19ec049ac218a8bcebd20b1bf5f0bbd |
24 |
|
25 |
diff --git a/sys-apps/watchdog/watchdog-5.16.ebuild b/sys-apps/watchdog/watchdog-5.16.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a9e42800d85 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/watchdog/watchdog-5.16.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit flag-o-matic systemd toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="A software watchdog and /dev/watchdog daemon" |
39 |
+HOMEPAGE="https://sourceforge.net/projects/watchdog/" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
45 |
+IUSE="nfs" |
46 |
+ |
47 |
+RDEPEND="nfs? ( net-libs/libtirpc )" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+BDEPEND=" |
50 |
+ virtual/pkgconfig |
51 |
+" |
52 |
+ |
53 |
+src_configure() { |
54 |
+ if use nfs; then |
55 |
+ append-cppflags "$($(tc-getPKG_CONFIG) libtirpc --cflags)" |
56 |
+ append-libs "$($(tc-getPKG_CONFIG) libtirpc --libs)" |
57 |
+ fi |
58 |
+ econf $(use_enable nfs) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ dodoc -r examples |
64 |
+ |
65 |
+ newconfd "${FILESDIR}"/${PN}-conf.d ${PN} |
66 |
+ newinitd "${FILESDIR}"/${PN}-init.d-r1 ${PN} |
67 |
+ systemd_dounit "${FILESDIR}"/watchdog.service |
68 |
+} |