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: Sat, 26 Sep 2020 10:55:52
Message-Id: 1601117743.150e69f513bfb2640e503cbbf61bd4dec8bc8fc9.mgorny@gentoo
1 commit: 150e69f513bfb2640e503cbbf61bd4dec8bc8fc9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 10:52:14 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 10:55:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=150e69f5
7
8 www-servers/pshs: Bump to 0.3.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 www-servers/pshs/Manifest | 1 +
13 www-servers/pshs/pshs-0.3.5.ebuild | 34 ++++++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest
17 index ac8a72f797e..36125932ed1 100644
18 --- a/www-servers/pshs/Manifest
19 +++ b/www-servers/pshs/Manifest
20 @@ -1 +1,2 @@
21 DIST pshs-0.3.4.tar.bz2 81435 BLAKE2B e5a72c02efbaa95f0069d2533ce4434da88a5eaf33b7025b5d83bd0679631d6ee0b1faf31a5f3b0ed3bf2e23d4500bf6f473d997cabf99d8b769f4a2c662d32f SHA512 d264b46ad54286d5c4fac601e3353c1029af75ad59f28fea5a2970dc7e9b00327a08dfdd82141c76656f07047cfce1fa35b485b2f69f0728bcf74c835def917d
22 +DIST pshs-0.3.5.tar.bz2 79871 BLAKE2B 07322ce82d80ecc0db166672d1694902a3ae743fd5d43d79261fab66a2f08e58f990d3c5a47dd39c9d041f195cacf31d5db3546336ccc3d961709d17712adf53 SHA512 5cb0cd8950f708f0c4d7b9281e2863440c579557c285fdfda1082eebf849bfb7cd25965de05c7f7b96527eed94b95c635f8cd2d397ebfd4af12195f70b3c5648
23
24 diff --git a/www-servers/pshs/pshs-0.3.5.ebuild b/www-servers/pshs/pshs-0.3.5.ebuild
25 new file mode 100644
26 index 00000000000..6b3e6429596
27 --- /dev/null
28 +++ b/www-servers/pshs/pshs-0.3.5.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
36 +HOMEPAGE="https://github.com/mgorny/pshs/"
37 +SRC_URI="https://github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2"
38 +
39 +LICENSE="BSD"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86"
42 +IUSE="libressl +magic qrcode ssl upnp"
43 +
44 +RDEPEND=">=dev-libs/libevent-2:0=
45 + magic? ( sys-apps/file:0= )
46 + qrcode? ( media-gfx/qrencode:0= )
47 + ssl? ( >=dev-libs/libevent-2.1:0=[ssl]
48 + !libressl? ( dev-libs/openssl:0= )
49 + libressl? ( dev-libs/libressl:= )
50 + )
51 + upnp? ( net-libs/miniupnpc:0= )"
52 +DEPEND="${RDEPEND}"
53 +
54 +src_configure() {
55 + local myconf=(
56 + $(use_enable magic libmagic)
57 + $(use_enable qrcode qrencode)
58 + $(use_enable ssl)
59 + $(use_enable upnp)
60 + )
61 +
62 + econf "${myconf[@]}"
63 +}