1 |
commit: e1b62949f93557280aa2260db47c126e83dd0b53 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 10 07:43:50 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 10 07:48:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b62949 |
7 |
|
8 |
www-servers/pshs: Bump to 0.3.1 |
9 |
|
10 |
www-servers/pshs/Manifest | 1 + |
11 |
www-servers/pshs/pshs-0.3.1.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 40 insertions(+) |
13 |
|
14 |
diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest |
15 |
index d04f9aa..6705107 100644 |
16 |
--- a/www-servers/pshs/Manifest |
17 |
+++ b/www-servers/pshs/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
+DIST pshs-0.3.1.tar.bz2 80022 SHA256 842a60bd0451c5ad86566d5d42a83eeccd9c5d91118d62f7483f6be4c483bfa8 SHA512 a82c2a3e6fa64e521d77fafc48d1d9a6799d62c16cef3f01b3c11ba17e4e98cedafd200abaa97a45563f6d78efcfc6dbef4c5fa84ba39e9857fdc9ea2b1dc2c2 WHIRLPOOL ac4dd540182687a7be1b711a7b5895fadc6cb650d6b5c540442e33569c5fd6ea7ddc921f8b5e1e7be3b9d0544183c31f58400970bfac7d4690986304fa9df2e4 |
20 |
DIST pshs-0.3.tar.bz2 81622 SHA256 c3c4d2abc7f3ee9ef80eff2dd4811d542ab5b4b229e3a0615c50ae2a530d7e63 SHA512 17dd21603ea36ecbe69923a2c476f6f41fea026b654a9d4819132047bad67f60a797cd0008afc85ab27ed3538681cfe8d79f9f33fc60823fd425337138723d45 WHIRLPOOL 515e551f41aee68729594f00bad4a9b48974103897d3e9a31e9ac77fe5dec62284cedac78759513b198d3638c3529842e517a903ee09b1aabb265dce6eeb92d2 |
21 |
|
22 |
diff --git a/www-servers/pshs/pshs-0.3.1.ebuild b/www-servers/pshs/pshs-0.3.1.ebuild |
23 |
new file mode 100644 |
24 |
index 0000000..e6275ad |
25 |
--- /dev/null |
26 |
+++ b/www-servers/pshs/pshs-0.3.1.ebuild |
27 |
@@ -0,0 +1,39 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files" |
35 |
+HOMEPAGE="https://github.com/mgorny/pshs/" |
36 |
+SRC_URI="https://github.com/mgorny/${PN}/releases/download/v${PV}/${P}.tar.bz2" |
37 |
+ |
38 |
+LICENSE="BSD" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="libressl +magic +netlink qrcode ssl upnp" |
42 |
+ |
43 |
+RDEPEND=">=dev-libs/libevent-2:0= |
44 |
+ magic? ( sys-apps/file:0= ) |
45 |
+ qrcode? ( media-gfx/qrencode:0= ) |
46 |
+ ssl? ( >=dev-libs/libevent-2.1:0=[ssl] |
47 |
+ !libressl? ( dev-libs/openssl:0= ) |
48 |
+ libressl? ( dev-libs/libressl:= ) |
49 |
+ ) |
50 |
+ upnp? ( net-libs/miniupnpc:0= )" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ netlink? ( sys-apps/iproute2 |
53 |
+ >=sys-kernel/linux-headers-2.6.27 )" |
54 |
+# libnetlink is static only ATM |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local myconf=( |
58 |
+ $(use_enable magic libmagic) |
59 |
+ $(use_enable netlink) |
60 |
+ $(use_enable qrcode qrencode) |
61 |
+ $(use_enable ssl) |
62 |
+ $(use_enable upnp) |
63 |
+ ) |
64 |
+ |
65 |
+ econf "${myconf[@]}" |
66 |
+} |