Add initial version of pretty simple HTTP server, a little CLI tool for file sharing.
authorMichał Górny <mgorny@gentoo.org>
Fri, 11 Nov 2011 16:34:18 +0000 (16:34 +0000)
committerMichał Górny <mgorny@gentoo.org>
Fri, 11 Nov 2011 16:34:18 +0000 (16:34 +0000)
Package-Manager: portage-2.2.0_alpha72_p29/cvs/Linux x86_64

www-servers/pshs/ChangeLog [new file with mode: 0644]
www-servers/pshs/Manifest [new file with mode: 0644]
www-servers/pshs/metadata.xml [new file with mode: 0644]
www-servers/pshs/pshs-0.1.ebuild [new file with mode: 0644]

diff --git a/www-servers/pshs/ChangeLog b/www-servers/pshs/ChangeLog
new file mode 100644 (file)
index 0000000..81902d6
--- /dev/null
@@ -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 <mgorny@gentoo.org> +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 (file)
index 0000000..b085439
--- /dev/null
@@ -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 (file)
index 0000000..3a4252d
--- /dev/null
@@ -0,0 +1,21 @@
+<?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&amp;component=Applications&amp;short_desc=www-servers/pshs:%20</bugs-to>
+       </upstream>
+</pkgmetadata>
diff --git a/www-servers/pshs/pshs-0.1.ebuild b/www-servers/pshs/pshs-0.1.ebuild
new file mode 100644 (file)
index 0000000..2834616
--- /dev/null
@@ -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
+}