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: Tue, 27 Feb 2018 16:19:24
Message-Id: 1519748352.0c6d92e104174577fd9ae2e857c0c27cbcfe7f3d.mgorny@gentoo
1 commit: 0c6d92e104174577fd9ae2e857c0c27cbcfe7f3d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 27 16:18:54 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 27 16:19:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c6d92e1
7
8 www-servers/pshs: Bump to 0.3.3
9
10 Bump to new 0.3.3 release that fixes OpenSSL-1.1 compatibility (thanks,
11 Quentin!) and linking to new libnetlink.
12
13 Closes: https://bugs.gentoo.org/648910
14
15 www-servers/pshs/Manifest | 1 +
16 www-servers/pshs/pshs-0.3.3.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
17 2 files changed, 39 insertions(+)
18
19 diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest
20 index 1fee0628469..ac55ff8d122 100644
21 --- a/www-servers/pshs/Manifest
22 +++ b/www-servers/pshs/Manifest
23 @@ -1 +1,2 @@
24 DIST pshs-0.3.2.tar.bz2 80103 BLAKE2B 884355e3cb621ce0367e3fe8f7697e68a5725e24fc4f5e977035cac1442eeecc1463cd5bccecc071d45250730a746c121d7b636a2b9db775e6ea174f1efb8406 SHA512 82eb0e0ff76ad6d5651b789ca59b654558562501f9f4b89a562773f5c60e80c6d43a86fca35a41a313952d8134b83fe6a11d1085c8c35cb9bbffd6d2a243964a
25 +DIST pshs-0.3.3.tar.bz2 81109 BLAKE2B c73aa8390257de4ffd616ecb08b570273075e72473a7e506a4ab4ca59a3ebf9f4c1467eabd1ef45b88d0d3422b14f55108c94d2e92222b186606b8b5cf8ab8c4 SHA512 c9c6dd854319153350a6e7ef245af8f89c0d50f783507211a34994d375f2ae442b22959e4a2fb1bcc02f976a8ff6f41545b176a32ea70174af0850cf1eaf77d9
26
27 diff --git a/www-servers/pshs/pshs-0.3.3.ebuild b/www-servers/pshs/pshs-0.3.3.ebuild
28 new file mode 100644
29 index 00000000000..cafb509f384
30 --- /dev/null
31 +++ b/www-servers/pshs/pshs-0.3.3.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
39 +HOMEPAGE="https://github.com/mgorny/pshs/"
40 +SRC_URI="https://github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="libressl +magic +netlink qrcode ssl upnp"
46 +
47 +RDEPEND=">=dev-libs/libevent-2:0=
48 + magic? ( sys-apps/file:0= )
49 + qrcode? ( media-gfx/qrencode:0= )
50 + ssl? ( >=dev-libs/libevent-2.1:0=[ssl]
51 + !libressl? ( dev-libs/openssl:0= )
52 + libressl? ( dev-libs/libressl:= )
53 + )
54 + upnp? ( net-libs/miniupnpc:0= )"
55 +DEPEND="${RDEPEND}
56 + netlink? ( sys-apps/iproute2[-minimal]
57 + >=sys-kernel/linux-headers-2.6.27 )"
58 +# libnetlink is static only ATM
59 +
60 +src_configure() {
61 + local myconf=(
62 + $(use_enable magic libmagic)
63 + $(use_enable netlink)
64 + $(use_enable qrcode qrencode)
65 + $(use_enable ssl)
66 + $(use_enable upnp)
67 + )
68 +
69 + econf "${myconf[@]}"
70 +}