From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RODAY-0000Ag-6l for garchives@archives.gentoo.org; Wed, 09 Nov 2011 18:46:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93D6B21C04A; Wed, 9 Nov 2011 18:46:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6442A21C04A for ; Wed, 9 Nov 2011 18:46:34 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEC471B4032 for ; Wed, 9 Nov 2011 18:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1479C80052 for ; Wed, 9 Nov 2011 18:46:32 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: Subject: [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/ X-VCS-Repository: dev/mgorny X-VCS-Files: www-servers/pshs/metadata.xml www-servers/pshs/pshs-9999.ebuild X-VCS-Directories: www-servers/pshs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e7e721bddf69b3643f99a8a60ae378471b5646d9 Date: Wed, 9 Nov 2011 18:46:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c82e5393-c41c-4aad-8b28-18e6278599d7 X-Archives-Hash: e074adaab9eba0782c379336ec73e1f9 commit: e7e721bddf69b3643f99a8a60ae378471b5646d9 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Wed Nov 9 18:46:35 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Wed Nov 9 18:46:35 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/mgorny.git;a=3D= commit;h=3De7e721bd www-servers/pshs: Add an ebuild for pretty small HTTP server. (Portage version: 2.2.0_alpha72_p29/git/Linux x86_64, unsigned Manifest c= ommit) --- www-servers/pshs/metadata.xml | 19 ++++++++++++++++ www-servers/pshs/pshs-9999.ebuild | 43 +++++++++++++++++++++++++++++++= ++++++ 2 files changed, 62 insertions(+), 0 deletions(-) diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xm= l new file mode 100644 index 0000000..f2a0bce --- /dev/null +++ b/www-servers/pshs/metadata.xml @@ -0,0 +1,19 @@ + + + + + mgorny@gentoo.org + Micha=C5=82 G=C3=B3rny + + + Enable automatic detection of Content-Type + using libmagic (sys-apps/file) + + + + mgorny@gentoo.org + Micha=C5=82 G=C3=B3rny + + http://bugs.gentoo.org/enter_bug.cgi?product=3DGentoo%20Linux= &component=3DApplications&short_desc=3Dwww-servers/pshs:%20 + + diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-99= 99.ebuild new file mode 100644 index 0000000..4544b65 --- /dev/null +++ b/www-servers/pshs/pshs-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 +inherit autotools-utils + +#if LIVE +EGIT_REPO_URI=3D"git://github.com/mgorny/${PN}.git + http://github.com/mgorny/${PN}.git" +inherit autotools git-2 +#endif + +DESCRIPTION=3D"Pretty small HTTP server - a command-line tool to share f= iles" +HOMEPAGE=3D"https://github.com/mgorny/pshs/" +SRC_URI=3D"mirror://github/mgorny/${PN}/${P}.tar.bz2" + +LICENSE=3D"BSD" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"+magic" + +RDEPEND=3D">=3Ddev-libs/libevent-2 + magic? ( sys-apps/file )" +DEPEND=3D"${RDEPEND}" + +#if LIVE +KEYWORDS=3D +SRC_URI=3D + +src_prepare() { + autotools-utils_src_prepare + eautoreconf +} +#endif + +src_configure() { + myeconfargs=3D( + $(use_enable magic libmagic) + ) + + autotools-utils_src_configure +}