Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/slurm/files/, net-analyzer/slurm/
Date: Thu, 16 Feb 2017 06:59:49
Message-Id: 1487228380.fe0d294e3e08d186415a121c1712d0b3ce00bb94.jer@gentoo
1 commit: fe0d294e3e08d186415a121c1712d0b3ce00bb94
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 16 06:57:38 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 06:59:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0d294e
7
8 net-analyzer/slurm: Version bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-analyzer/slurm/Manifest | 1 +
13 net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch | 11 +++++++
14 net-analyzer/slurm/files/slurm-0.4.3-version.patch | 7 ++++
15 net-analyzer/slurm/slurm-0.4.3.ebuild | 38 ++++++++++++++++++++++
16 4 files changed, 57 insertions(+)
17
18 diff --git a/net-analyzer/slurm/Manifest b/net-analyzer/slurm/Manifest
19 index 5f06db15c4..9a0338b033 100644
20 --- a/net-analyzer/slurm/Manifest
21 +++ b/net-analyzer/slurm/Manifest
22 @@ -1 +1,2 @@
23 DIST slurm-0.3.3.tar.gz 122839 SHA256 b25889aa1910b1bb48e4eafdac0c810bc02e8b98ddb2ade0aed2ec64672d6834 SHA512 67ffef9d0fc6239e2a742b2020a2a1fa913a6f0d681ffb7fd00611265e60b39f83b18cbd782ce841b6b39ed0db2c40cd6410d7f5d9408bf0eb0361b95949a8a3 WHIRLPOOL a35d3cb726bf390f90c7f095c34b94b48cc0c3f59a8f8b88aa6ce31c033f74542e8ce7cefb1ecc15ea13ad5addecd9c0a321bf1e2834b582ff770fcfe9c4e1e2
24 +DIST slurm-0.4.3.tar.gz 36076 SHA256 f7092c378f85e473192d0aa3db4801077e0f9e148a7448cc2247cbdf639874aa SHA512 f55005e2e2acebf1b7be0f7106511f83123f4df30305d00495940220f99394ddd48193ee4985c91604f294487c181f6efebe9452137f7df5b9675d2c3388892f WHIRLPOOL be565768c3ac5af46388beba98e0b67c425bab15f934b38f1ef425e18eb18538944fba69fc98222f66cdc20620e9d5947aaf22e08d37c753dba960ce914b579f
25
26 diff --git a/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch b/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch
27 new file mode 100644
28 index 0000000000..c1a1233f17
29 --- /dev/null
30 +++ b/net-analyzer/slurm/files/slurm-0.4.3-tinfo.patch
31 @@ -0,0 +1,11 @@
32 +--- a/CMakeLists.txt
33 ++++ b/CMakeLists.txt
34 +@@ -25,7 +25,7 @@
35 +
36 + add_executable(slurm ${SLURM_SOURCES})
37 +
38 +-target_link_libraries(slurm ncurses)
39 ++target_link_libraries(slurm ${CURSES_LIBRARY} ${CURSES_EXTRA_LIBRARY})
40 +
41 + # install
42 + install(TARGETS slurm DESTINATION bin)
43
44 diff --git a/net-analyzer/slurm/files/slurm-0.4.3-version.patch b/net-analyzer/slurm/files/slurm-0.4.3-version.patch
45 new file mode 100644
46 index 0000000000..2266cad193
47 --- /dev/null
48 +++ b/net-analyzer/slurm/files/slurm-0.4.3-version.patch
49 @@ -0,0 +1,7 @@
50 +--- a/config.h
51 ++++ b/config.h
52 +@@ -1,2 +1,2 @@
53 +-#define PACKAGE_VERSION "0.4.3+git"
54 +-#define VERSION "0.4.3+git"
55 ++#define PACKAGE_VERSION "0.4.3"
56 ++#define VERSION "0.4.3"
57
58 diff --git a/net-analyzer/slurm/slurm-0.4.3.ebuild b/net-analyzer/slurm/slurm-0.4.3.ebuild
59 new file mode 100644
60 index 0000000000..9be9e1f13b
61 --- /dev/null
62 +++ b/net-analyzer/slurm/slurm-0.4.3.ebuild
63 @@ -0,0 +1,38 @@
64 +# Copyright 1999-2017 Gentoo Foundation
65 +# Distributed under the terms of the GNU General Public License v2
66 +# $Id$
67 +
68 +EAPI=6
69 +inherit cmake-utils
70 +
71 +DESCRIPTION="Realtime network interface monitor based on FreeBSD's pppstatus"
72 +HOMEPAGE="https://github.com/mattthias/slurm"
73 +SRC_URI="${HOMEPAGE}/archive/upstream/${PN}.tar.gz -> ${P}.tar.gz"
74 +
75 +LICENSE="GPL-2"
76 +SLOT="0"
77 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
78 +
79 +RDEPEND="
80 + sys-libs/ncurses
81 +"
82 +DEPEND="
83 + ${RDEPEND}
84 +"
85 +PATCHES=(
86 + "${FILESDIR}"/${PN}-0.3.3-overflow.patch
87 + "${FILESDIR}"/${P}-tinfo.patch
88 + "${FILESDIR}"/${P}-version.patch
89 +)
90 +DOCS=(
91 + AUTHORS
92 + ChangeLog
93 + FAQ
94 + KEYS
95 + README
96 + THANKS
97 + THEMES.txt
98 + TODO
99 +)
100 +
101 +S=${WORKDIR}/${PN}-upstream