1 |
commit: fac4da0c154b62802de249b11eabec4c9081f3d2 |
2 |
Author: Nils Freydank <holgersson <AT> posteo <DOT> de> |
3 |
AuthorDate: Mon Dec 4 21:55:33 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 4 22:08:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac4da0c |
7 |
|
8 |
net-p2p/mktorrent: Version bump to 1.1 with new upstream. |
9 |
|
10 |
I mailed the old upstream maintainer resp. developer |
11 |
of mktorrent and he confirmed the new maintainer with |
12 |
the repository on github to me. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/621590 |
15 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
16 |
|
17 |
net-p2p/mktorrent/Manifest | 3 ++- |
18 |
net-p2p/mktorrent/mktorrent-1.1.ebuild | 40 ++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 42 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/net-p2p/mktorrent/Manifest b/net-p2p/mktorrent/Manifest |
22 |
index 733adc34b81..6c0db134f6c 100644 |
23 |
--- a/net-p2p/mktorrent/Manifest |
24 |
+++ b/net-p2p/mktorrent/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
-DIST mktorrent-1.0.tar.gz 23089 SHA256 6f8e562af6366e0d9bde76e434f740b55722c6c3c555860dbe80083f9d1d119f SHA512 f103c8860c008796c2dc604fcabce7374264fd7814237fcad5f9dab0fe10e927b0e2d9b58e7462dd198265a7d83fe30fd68313c7dce4029d8c331a6f2d4622de WHIRLPOOL 2a907fe846ae5a35dbb38fbd6707a89121d34b9658f1afa682db14da9254cc58ed376fc23c834753409769643868294b0f1354fd7d9d567ec0cff49ee713b163 |
27 |
+DIST mktorrent-1.0.tar.gz 23089 BLAKE2B debfdbf2691fd1baa9f1647ef1cd64a4e5d8cbcabd77fb7c8a4b7ec5c1abbf4fa56ae54ea51afc58b0807cde8d525c4ac7106d38576e52a71e2776ba0bfcacda SHA512 f103c8860c008796c2dc604fcabce7374264fd7814237fcad5f9dab0fe10e927b0e2d9b58e7462dd198265a7d83fe30fd68313c7dce4029d8c331a6f2d4622de |
28 |
+DIST mktorrent-1.1.tar.gz 23314 BLAKE2B 97893553c99f3a6f994876b4689db2536cdaef30f9a392cf3ef800d5d92323336f836a9a3f92aff807a449bcc8553582275c4b36d98e1a1e99835945a7f4b43d SHA512 2a7ce83950711cf5be098693ad79273b29bcd8a5ef345ea296c7b6b83c532dd3463b347c7137234f1890cb4ea663ee5a5b1878591bc8fb4386d94e4f65410859 |
29 |
|
30 |
diff --git a/net-p2p/mktorrent/mktorrent-1.1.ebuild b/net-p2p/mktorrent/mktorrent-1.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..75ea9fc65c9 |
33 |
--- /dev/null |
34 |
+++ b/net-p2p/mktorrent/mktorrent-1.1.ebuild |
35 |
@@ -0,0 +1,40 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+inherit toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="Simple command line utility to create BitTorrent metainfo files" |
43 |
+HOMEPAGE="https://github.com/Rudde/mktorrent" |
44 |
+ |
45 |
+if [[ ${PV} == *9999 ]]; then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://github.com/Rudde/mktorrent.git" |
48 |
+else |
49 |
+ SRC_URI="https://github.com/Rudde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+fi |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86" |
56 |
+IUSE="threads +ssl debug" |
57 |
+ |
58 |
+RDEPEND="ssl? ( dev-libs/openssl:0= )" |
59 |
+DEPEND="${RDEPEND}" |
60 |
+ |
61 |
+src_compile() { |
62 |
+ tc-export CC |
63 |
+ |
64 |
+ emake \ |
65 |
+ USE_LONG_OPTIONS=1 \ |
66 |
+ USE_LARGE_FILES=1 \ |
67 |
+ DEBUG=$(usex debug) \ |
68 |
+ USE_OPENSSL=$(usex ssl) \ |
69 |
+ USE_PTHREADS=$(usex threads) |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dobin ${PN} |
74 |
+ dodoc README |
75 |
+} |