From: Michał Górny Date: Fri, 11 Nov 2011 16:34:18 +0000 (+0000) Subject: Add initial version of pretty simple HTTP server, a little CLI tool for file sharing. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ae8d842f427c13ff15e2c9153dbff8fecd77332f;p=gentoo.git Add initial version of pretty simple HTTP server, a little CLI tool for file sharing. Package-Manager: portage-2.2.0_alpha72_p29/cvs/Linux x86_64 --- diff --git a/www-servers/pshs/ChangeLog b/www-servers/pshs/ChangeLog new file mode 100644 index 000000000000..81902d6b1cc3 --- /dev/null +++ b/www-servers/pshs/ChangeLog @@ -0,0 +1,11 @@ +# 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 +pshs-0.1.ebuild, + +metadata.xml: + Add initial version of pretty simple HTTP server, a little CLI tool for file + sharing. + diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest new file mode 100644 index 000000000000..b08543972e1e --- /dev/null +++ b/www-servers/pshs/Manifest @@ -0,0 +1,16 @@ +-----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----- diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml new file mode 100644 index 000000000000..3a4252dc2743 --- /dev/null +++ b/www-servers/pshs/metadata.xml @@ -0,0 +1,21 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + Enable automatic detection of Content-Type + using libmagic (sys-apps/file) + Enable port forwarding using UPnP + via net-libs/miniupnpc + + + + mgorny@gentoo.org + Michał Górny + + http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux&component=Applications&short_desc=www-servers/pshs:%20 + + diff --git a/www-servers/pshs/pshs-0.1.ebuild b/www-servers/pshs/pshs-0.1.ebuild new file mode 100644 index 000000000000..28346162c1de --- /dev/null +++ b/www-servers/pshs/pshs-0.1.ebuild @@ -0,0 +1,29 @@ +# 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 +}