summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-11-11 16:34:18 +0000
committerMichał Górny <mgorny@gentoo.org>2011-11-11 16:34:18 +0000
commite72ae728f89d31c606282062b1a278955ec2f4b0 (patch)
tree693d60452226dc5bef4acf5dee2c26de199a76eb /www-servers
parentAdd initial version of atomic-install, atomic fileset installation tool. (diff)
downloadgentoo-2-e72ae728f89d31c606282062b1a278955ec2f4b0.tar.gz
gentoo-2-e72ae728f89d31c606282062b1a278955ec2f4b0.tar.bz2
gentoo-2-e72ae728f89d31c606282062b1a278955ec2f4b0.zip
Add initial version of pretty simple HTTP server, a little CLI tool for file sharing.
(Portage version: 2.2.0_alpha72_p29/cvs/Linux x86_64)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/pshs/ChangeLog11
-rw-r--r--www-servers/pshs/metadata.xml21
-rw-r--r--www-servers/pshs/pshs-0.1.ebuild29
3 files changed, 61 insertions, 0 deletions
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 <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/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 @@
+<?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
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
+}