Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/pshs/
Date: Sun, 10 Jul 2016 07:49:15
Message-Id: 1468136881.2e5d86583cacecd2ea81b56420181f7d966e81e4.mgorny@gentoo
1 commit: 2e5d86583cacecd2ea81b56420181f7d966e81e4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 10 07:40:07 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 10 07:48:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5d8658
7
8 www-servers/pshs: Update homepage and URIs
9
10 www-servers/pshs/metadata.xml | 4 ++--
11 www-servers/pshs/pshs-0.3-r1.ebuild | 6 +++---
12 www-servers/pshs/pshs-9999.ebuild | 21 ++++++++-------------
13 3 files changed, 13 insertions(+), 18 deletions(-)
14
15 diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
16 index 50e170d..f2777ef 100644
17 --- a/www-servers/pshs/metadata.xml
18 +++ b/www-servers/pshs/metadata.xml
19 @@ -17,7 +17,7 @@
20 <email>mgorny@g.o</email>
21 <name>Michał Górny</name>
22 </maintainer>
23 - <bugs-to>https://bitbucket.org/mgorny/pshs/issues/</bugs-to>
24 - <remote-id type="bitbucket">mgorny/pshs</remote-id>
25 + <bugs-to>https://github.com/mgorny/pshs/issues/</bugs-to>
26 + <remote-id type="github">mgorny/pshs</remote-id>
27 </upstream>
28 </pkgmetadata>
29
30 diff --git a/www-servers/pshs/pshs-0.3-r1.ebuild b/www-servers/pshs/pshs-0.3-r1.ebuild
31 index d07609f..93ca8eb 100644
32 --- a/www-servers/pshs/pshs-0.3-r1.ebuild
33 +++ b/www-servers/pshs/pshs-0.3-r1.ebuild
34 @@ -1,12 +1,12 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 +# Copyright 1999-2016 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38 # $Id$
39
40 EAPI=5
41
42 DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
43 -HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
44 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
45 +HOMEPAGE="https://github.com/mgorny/pshs/"
46 +SRC_URI="https://github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2"
47
48 LICENSE="BSD"
49 SLOT="0"
50
51 diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
52 index 8e23ff2..e8c93d2 100644
53 --- a/www-servers/pshs/pshs-9999.ebuild
54 +++ b/www-servers/pshs/pshs-9999.ebuild
55 @@ -1,22 +1,20 @@
56 -# Copyright 1999-2015 Gentoo Foundation
57 +# Copyright 1999-2016 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Id$
60
61 EAPI=5
62
63 -#if LIVE
64 -EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
65 +EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
66
67 inherit autotools git-r3
68 -#endif
69
70 DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
71 -HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
72 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
73 +HOMEPAGE="https://github.com/mgorny/pshs/"
74 +SRC_URI=""
75
76 LICENSE="BSD"
77 SLOT="0"
78 -KEYWORDS="~amd64 ~x86"
79 +KEYWORDS=""
80 IUSE="libressl +magic +netlink qrcode ssl upnp"
81
82 RDEPEND=">=dev-libs/libevent-2:0=
83 @@ -32,12 +30,9 @@ DEPEND="${RDEPEND}
84 >=sys-kernel/linux-headers-2.6.27 )"
85 # libnetlink is static only ATM
86
87 -#if LIVE
88 -KEYWORDS=
89 -SRC_URI=
90 -
91 -src_prepare() { eautoreconf; }
92 -#endif
93 +src_prepare() {
94 + eautoreconf
95 +}
96
97 src_configure() {
98 local myconf=(