1 |
commit: 98684e0684d522bba35fc0aa22bb7f9b9b5e5f65 |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Wed May 9 12:43:58 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 06:48:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98684e06 |
7 |
|
8 |
net-p2p/mktorrent: Bump to 1.1_p20180502. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/650340 |
11 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
12 |
|
13 |
net-p2p/mktorrent/Manifest | 1 + |
14 |
net-p2p/mktorrent/mktorrent-1.1_p20180502.ebuild | 44 ++++++++++++++++++++++++ |
15 |
2 files changed, 45 insertions(+) |
16 |
|
17 |
diff --git a/net-p2p/mktorrent/Manifest b/net-p2p/mktorrent/Manifest |
18 |
index 6c0db134f6c..1ca0c17ea76 100644 |
19 |
--- a/net-p2p/mktorrent/Manifest |
20 |
+++ b/net-p2p/mktorrent/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST mktorrent-1.0.tar.gz 23089 BLAKE2B debfdbf2691fd1baa9f1647ef1cd64a4e5d8cbcabd77fb7c8a4b7ec5c1abbf4fa56ae54ea51afc58b0807cde8d525c4ac7106d38576e52a71e2776ba0bfcacda SHA512 f103c8860c008796c2dc604fcabce7374264fd7814237fcad5f9dab0fe10e927b0e2d9b58e7462dd198265a7d83fe30fd68313c7dce4029d8c331a6f2d4622de |
23 |
DIST mktorrent-1.1.tar.gz 23314 BLAKE2B 97893553c99f3a6f994876b4689db2536cdaef30f9a392cf3ef800d5d92323336f836a9a3f92aff807a449bcc8553582275c4b36d98e1a1e99835945a7f4b43d SHA512 2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859 |
24 |
+DIST mktorrent-96090fb175f3cef17ae2499e98c2868363106927.tar.gz 24575 BLAKE2B 85f4c1088a5db91ba9bfa9391c82d81c87436a5ee920441c4e05a0e22d535aa1f3c60a0f2c6918a313f911ce9a586ab0ce725212926ad703f7daeaa4ee8b3e14 SHA512 2016cf9c81c6d35f3e482bb5cf8d0083664cee7131bc57f94ba5d0482df7d9b53e49a622035e1e93b6cebb50da9a29d8d00e2a65d3b84a872d98ed51e75a3a8a |
25 |
|
26 |
diff --git a/net-p2p/mktorrent/mktorrent-1.1_p20180502.ebuild b/net-p2p/mktorrent/mktorrent-1.1_p20180502.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6e9c5fe03da |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/mktorrent/mktorrent-1.1_p20180502.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" |
39 |
+HOMEPAGE="https://github.com/Rudde/mktorrent" |
40 |
+ |
41 |
+if [[ ${PV} == *9999 ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/Rudde/mktorrent.git" |
44 |
+else |
45 |
+ COMMIT_ID="96090fb175f3cef17ae2499e98c2868363106927" |
46 |
+ SRC_URI="https://github.com/Rudde/${PN}/archive/${COMMIT_ID}.tar.gz -> ${PN}-${COMMIT_ID}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~x86" |
48 |
+ S="${WORKDIR}/${PN}-${COMMIT_ID}" |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~x86" |
54 |
+IUSE="threads +ssl debug" |
55 |
+ |
56 |
+RDEPEND="ssl? ( dev-libs/openssl:0= )" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+ |
59 |
+src_compile() { |
60 |
+ tc-export CC |
61 |
+ |
62 |
+ local myemakeargs=( |
63 |
+ USE_LONG_OPTIONS=1 |
64 |
+ USE_LARGE_FILES=1 |
65 |
+ DEBUG=$(usex debug) |
66 |
+ USE_OPENSSL=$(usex ssl) |
67 |
+ USE_PTHREADS=$(usex threads) |
68 |
+ ) |
69 |
+ emake "${myemakeargs[@]}" |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dobin ${PN} |
74 |
+ dodoc README |
75 |
+} |