1 |
commit: cfa046c5ffbfaa270c736bb8149555e1ea289d01 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 3 08:00:19 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 3 08:00:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa046c5 |
7 |
|
8 |
net-misc/udpcast: Version 20200328 |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-misc/udpcast/Manifest | 1 + |
14 |
.../udpcast/files/udpcast-20200328-gentoo.patch | 12 ++++++++ |
15 |
net-misc/udpcast/udpcast-20200328.ebuild | 32 ++++++++++++++++++++++ |
16 |
3 files changed, 45 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/udpcast/Manifest b/net-misc/udpcast/Manifest |
19 |
index 529023d5d4a..5a24e62628d 100644 |
20 |
--- a/net-misc/udpcast/Manifest |
21 |
+++ b/net-misc/udpcast/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST udpcast-20120424.tar.bz2 138955 BLAKE2B 4ba16b9ff86f32bf1f2b07d521fbe1ef05774f0418362eb02fb06eaf84083e1f5e1ee5fc0a675f65b510d9adefcdb0d627bf6f104d5ce501d074517cbd312d6d SHA512 b28ada43f9f3cba498ffff3032cff6a673584836439275604c1201a18fe2e37f2c847a48b72783065b1656a7a2f9e9739d8a376e90df8b05749bc2e2f64278de |
24 |
+DIST udpcast-20200328.tar.gz 169252 BLAKE2B df760dea814fabf951a65dc191a88355dec864d9c0f1be99ea60c742862d0b9944e51a45dd462ffce5c4b56a8d94f719796e3c725b42edae8cb9a19b1d3bc147 SHA512 b1ce4f0cade5db6bc69d3a154c354565675f44e97f9e3d90152f9594fd4f17fff2891eb1cb8d73c59e0d24eeb85e485e96b7a64fa9f1b6d2f005c4cece377bc7 |
25 |
|
26 |
diff --git a/net-misc/udpcast/files/udpcast-20200328-gentoo.patch b/net-misc/udpcast/files/udpcast-20200328-gentoo.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..529c31f7f7c |
29 |
--- /dev/null |
30 |
+++ b/net-misc/udpcast/files/udpcast-20200328-gentoo.patch |
31 |
@@ -0,0 +1,12 @@ |
32 |
+--- a/Makefile.in |
33 |
++++ b/Makefile.in |
34 |
+@@ -30,8 +30,7 @@ |
35 |
+ |
36 |
+ # For additional warnings & checks, add -Wstrict-prototypes -Wshadow to the |
37 |
+ # following: |
38 |
+-CFLAGS +=-Wall -DBB_FEATURE_UDPCAST_FEC -DUSE_SYSLOG -DUSE_ASSEMBLER -O6 |
39 |
+-LDFLAGS +=-s |
40 |
++CFLAGS +=-Wall -DBB_FEATURE_UDPCAST_FEC -DUSE_SYSLOG |
41 |
+ LIBS +=@LIBS@ |
42 |
+ |
43 |
+ BUSYBOX=../udp-busybox/busybox |
44 |
|
45 |
diff --git a/net-misc/udpcast/udpcast-20200328.ebuild b/net-misc/udpcast/udpcast-20200328.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..ecb6e1be233 |
48 |
--- /dev/null |
49 |
+++ b/net-misc/udpcast/udpcast-20200328.ebuild |
50 |
@@ -0,0 +1,32 @@ |
51 |
+# Copyright 1999-2020 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=7 |
55 |
+inherit flag-o-matic |
56 |
+ |
57 |
+DESCRIPTION="Multicast file transfer tool" |
58 |
+HOMEPAGE="https://www.udpcast.linux.lu/" |
59 |
+SRC_URI="https://www.udpcast.linux.lu/download/${P}.tar.gz" |
60 |
+ |
61 |
+LICENSE="GPL-2 BSD" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~x86" |
64 |
+IUSE="hardened" |
65 |
+ |
66 |
+BDEPEND=" |
67 |
+ dev-lang/perl |
68 |
+" |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-20200328-gentoo.patch |
71 |
+) |
72 |
+ |
73 |
+src_configure() { |
74 |
+ use hardened || append-cppflags -DUSE_ASSEMBLER |
75 |
+ |
76 |
+ default |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ default |
81 |
+ dodoc *.txt |
82 |
+} |