--- /dev/null
+# ChangeLog for www-servers/pshs
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/pshs/ChangeLog,v 1.1 2011/11/11 16:34:18 mgorny Exp $
+
+*pshs-0.1 (11 Nov 2011)
+
+ 11 Nov 2011; Michał Górny <mgorny@gentoo.org> +pshs-0.1.ebuild,
+ +metadata.xml:
+ Add initial version of pretty simple HTTP server, a little CLI tool for file
+ sharing.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST pshs-0.1.tar.bz2 67344 RMD160 63bb19e5ec3ecf11b06e86a412185c697d57fd2c SHA1 ba5a7cf5c839b5a6029c72ee3a12156293e54848 SHA256 75b986b3cb3323e74eec307673480f3906a37a82b53d1368ef43457f348efc89
+EBUILD pshs-0.1.ebuild 716 RMD160 bdc79610a7e517ad94bdecdcd2e051b30b794028 SHA1 f04a848b014346dfc75f9f2ba760b2f4c40cb4e3 SHA256 736f6b58851a03418a4a1901ee388947a10f996f7dae81c2fc6563a5c2df1596
+MISC ChangeLog 406 RMD160 9421e1b635d7f6189a811653f93a83a5b95d5e95 SHA1 0177ea837e4a7470941dc2ecfaee591034bd5663 SHA256 03de5e104350171858605d35cb0bf6c9f25a89762d96a03447f440de99db7ee6
+MISC metadata.xml 745 RMD160 b5f130c6f0293fa5b54fbd426b8f496f77b86e1f SHA1 288749213c34971428cc76792bcd886ef5c3a043 SHA256 9f81348ab9acfbd5acb49af094bd8ce498dff6c98f297e51d1b24d8c1736d3d8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iJwEAQEIAAYFAk69Tp4ACgkQfXuS5UK5QB1ozAQAg36jPy5Lbj+CEo2y+FGVhrZr
+lQVpQfPcOnZ/SSjVMN6vb6XO+gRNR2qz67eyicrWm5CJTmU7NajwCa9npGMRBc4m
+Tan3fNgrSPMRIps19UWivW0WEw6JN1LqzFUqyFa8r4F0euHTzcL8PdQIWIPuoyPH
+bjnwnxsNhAhfAwsk6kc=
+=Qfjz
+-----END PGP SIGNATURE-----
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name='magic'>Enable automatic detection of Content-Type
+ using libmagic (<pkg>sys-apps/file</pkg>)</flag>
+ <flag name='upnp'>Enable port forwarding using UPnP
+ via <pkg>net-libs/miniupnpc</pkg></flag>
+ </use>
+ <upstream>
+ <maintainer status="active">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <bugs-to>http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&component=Applications&short_desc=www-servers/pshs:%20</bugs-to>
+ </upstream>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/pshs/pshs-0.1.ebuild,v 1.1 2011/11/11 16:34:18 mgorny Exp $
+
+EAPI=4
+inherit autotools-utils
+
+DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
+HOMEPAGE="https://github.com/mgorny/pshs/"
+SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+magic upnp"
+
+RDEPEND=">=dev-libs/libevent-2
+ magic? ( sys-apps/file )
+ upnp? ( net-libs/miniupnpc )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ myeconfargs=(
+ $(use_enable magic libmagic)
+ $(use_enable upnp)
+ )
+
+ autotools-utils_src_configure
+}