summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-07-10 09:40:07 +0200
committerMichał Górny <mgorny@gentoo.org>2016-07-10 09:48:01 +0200
commit2e5d86583cacecd2ea81b56420181f7d966e81e4 (patch)
treebf1f5137abb6964036f287d3a25644cbefdd5633
parentwww-servers/pshs: Prune old (diff)
downloadgentoo-2e5d86583cacecd2ea81b56420181f7d966e81e4.tar.gz
gentoo-2e5d86583cacecd2ea81b56420181f7d966e81e4.tar.bz2
gentoo-2e5d86583cacecd2ea81b56420181f7d966e81e4.zip
www-servers/pshs: Update homepage and URIs
-rw-r--r--www-servers/pshs/metadata.xml4
-rw-r--r--www-servers/pshs/pshs-0.3-r1.ebuild6
-rw-r--r--www-servers/pshs/pshs-9999.ebuild21
3 files changed, 13 insertions, 18 deletions
diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
index 50e170dc7322..f2777ef196ca 100644
--- a/www-servers/pshs/metadata.xml
+++ b/www-servers/pshs/metadata.xml
@@ -17,7 +17,7 @@
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
- <bugs-to>https://bitbucket.org/mgorny/pshs/issues/</bugs-to>
- <remote-id type="bitbucket">mgorny/pshs</remote-id>
+ <bugs-to>https://github.com/mgorny/pshs/issues/</bugs-to>
+ <remote-id type="github">mgorny/pshs</remote-id>
</upstream>
</pkgmetadata>
diff --git a/www-servers/pshs/pshs-0.3-r1.ebuild b/www-servers/pshs/pshs-0.3-r1.ebuild
index d07609f7153a..93ca8eb6e955 100644
--- a/www-servers/pshs/pshs-0.3-r1.ebuild
+++ b/www-servers/pshs/pshs-0.3-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
-HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/pshs/"
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
index 8e23ff2e77a3..e8c93d216b91 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-#if LIVE
-EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
+EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
inherit autotools git-r3
-#endif
DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
-HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+HOMEPAGE="https://github.com/mgorny/pshs/"
+SRC_URI=""
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
IUSE="libressl +magic +netlink qrcode ssl upnp"
RDEPEND=">=dev-libs/libevent-2:0=
@@ -32,12 +30,9 @@ DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.27 )"
# libnetlink is static only ATM
-#if LIVE
-KEYWORDS=
-SRC_URI=
-
-src_prepare() { eautoreconf; }
-#endif
+src_prepare() {
+ eautoreconf
+}
src_configure() {
local myconf=(