1 |
commit: 05db8de30dcd44299c3f5b4ee181a7bc4b839690 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 14 22:45:32 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 14 22:45:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05db8de3 |
7 |
|
8 |
net-misc/lksctp-tools: bump to v1.0.19 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
net-misc/lksctp-tools/Manifest | 1 + |
14 |
net-misc/lksctp-tools/lksctp-tools-1.0.19.ebuild | 58 ++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/lksctp-tools/Manifest b/net-misc/lksctp-tools/Manifest |
18 |
index fa17a5b0296..152a8512991 100644 |
19 |
--- a/net-misc/lksctp-tools/Manifest |
20 |
+++ b/net-misc/lksctp-tools/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST lksctp-tools-1.0.18.tar.gz 560302 BLAKE2B 6151109a0f43044048ff64a6ca021710f28e695017b79513412a44999ec67bdbe7cb0bbba7d5e0deb28b8fdd097379100046ef77508678f726f18944b9799f22 SHA512 1d7275fadc0f2270865307cff2645810e9bab6c1a97e70be6115cace737334dbdd87a072fae25b89dd9cac2e05974556542de70ea8ef70b9e4f14873c82a5055 |
23 |
+DIST lksctp-tools-1.0.19.tar.gz 561962 BLAKE2B ae6a5b7c30413dadac736bd17dd1ac3f97bd34f74323959f4e9cb60186db735b4e79b101ad550bdb2975350951fd6ae8bb27b165c6dc86fc7c822fce30f49d05 SHA512 e56a4b00206acfb88cab1b8fc7424a1a4996f67ef925c29a97395c44c57f2cbcb3fc36ec2648f5e5a5ce29d8d61ee1f7a5e7869e6bbd68bff85590b6ec521883 |
24 |
|
25 |
diff --git a/net-misc/lksctp-tools/lksctp-tools-1.0.19.ebuild b/net-misc/lksctp-tools/lksctp-tools-1.0.19.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6ff9fd80eaa |
28 |
--- /dev/null |
29 |
+++ b/net-misc/lksctp-tools/lksctp-tools-1.0.19.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+inherit flag-o-matic autotools linux-info multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Tools for Linux Kernel Stream Control Transmission Protocol implementation" |
39 |
+HOMEPAGE="http://lksctp.sourceforge.net/" |
40 |
+SRC_URI="https://github.com/sctp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="|| ( GPL-2+ LGPL-2.1 )" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
45 |
+IUSE="kernel_linux static-libs" |
46 |
+ |
47 |
+# This is only supposed to work with Linux to begin with. |
48 |
+DEPEND=">=sys-kernel/linux-headers-2.6" |
49 |
+RDEPEND="" |
50 |
+ |
51 |
+REQUIRED_USE="kernel_linux" |
52 |
+ |
53 |
+CONFIG_CHECK="~IP_SCTP" |
54 |
+WARNING_IP_SCTP="CONFIG_IP_SCTP:\tis not set when it should be." |
55 |
+ |
56 |
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README ROADMAP ) |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ |
61 |
+ eautoreconf |
62 |
+ |
63 |
+ multilib_copy_sources |
64 |
+} |
65 |
+ |
66 |
+multilib_src_configure() { |
67 |
+ append-flags -fno-strict-aliasing |
68 |
+ |
69 |
+ local myeconfargs=( |
70 |
+ --enable-shared |
71 |
+ $(use_enable static-libs static) |
72 |
+ ) |
73 |
+ |
74 |
+ econf "${myeconfargs[@]}" |
75 |
+} |
76 |
+ |
77 |
+multilib_src_install_all() { |
78 |
+ default |
79 |
+ |
80 |
+ dodoc doc/*txt |
81 |
+ newdoc src/withsctp/README README.withsctp |
82 |
+ |
83 |
+ find "${ED}" -name '*.la' -delete || die |
84 |
+ |
85 |
+ if ! use static-libs ; then |
86 |
+ find "${ED}" -name "*.a" -delete || die |
87 |
+ fi |
88 |
+} |