public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
@ 2011-11-09 18:46 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2011-11-09 18:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e7e721bddf69b3643f99a8a60ae378471b5646d9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 18:46:35 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 18:46:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=e7e721bd

www-servers/pshs: Add an ebuild for pretty small HTTP server.

(Portage version: 2.2.0_alpha72_p29/git/Linux x86_64, unsigned Manifest commit)

---
 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.xml
new file mode 100644
index 0000000..f2a0bce
--- /dev/null
+++ b/www-servers/pshs/metadata.xml
@@ -0,0 +1,19 @@
+<?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>
+	</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-9999.ebuild b/www-servers/pshs/pshs-9999.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=4
+inherit autotools-utils
+
+#if LIVE
+EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
+	http://github.com/mgorny/${PN}.git"
+inherit autotools git-2
+#endif
+
+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"
+
+RDEPEND=">=dev-libs/libevent-2
+	magic? ( sys-apps/file )"
+DEPEND="${RDEPEND}"
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+
+src_prepare() {
+	autotools-utils_src_prepare
+	eautoreconf
+}
+#endif
+
+src_configure() {
+	myeconfargs=(
+		$(use_enable magic libmagic)
+	)
+
+	autotools-utils_src_configure
+}



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
@ 2011-11-09 21:44 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2011-11-09 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     6c99c965688ead96a613e702186889e8284d83d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  9 21:44:39 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  9 21:44:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=6c99c965

www-servers/pshs: Add flag for UPnP.

(Portage version: 2.2.0_alpha72_p29/git/Linux x86_64, unsigned Manifest commit)

---
 www-servers/pshs/metadata.xml     |    2 ++
 www-servers/pshs/pshs-9999.ebuild |    6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
index f2a0bce..3a4252d 100644
--- a/www-servers/pshs/metadata.xml
+++ b/www-servers/pshs/metadata.xml
@@ -8,6 +8,8 @@
 	<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">

diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
index 4544b65..e682195 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -18,10 +18,11 @@ SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+magic"
+IUSE="+magic upnp"
 
 RDEPEND=">=dev-libs/libevent-2
-	magic? ( sys-apps/file )"
+	magic? ( sys-apps/file )
+	upnp? ( net-libs/miniupnpc )"
 DEPEND="${RDEPEND}"
 
 #if LIVE
@@ -37,6 +38,7 @@ src_prepare() {
 src_configure() {
 	myeconfargs=(
 		$(use_enable magic libmagic)
+		$(use_enable upnp)
 	)
 
 	autotools-utils_src_configure



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
@ 2011-11-15 15:15 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2011-11-15 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     531ad0b1311f3bb34cd733f4e4b95d327e6bb8a8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 15:15:42 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 15:15:42 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=531ad0b1

www-servers/pshs: Add USE=netlink.

(Portage version: 2.2.0_alpha74_p2/git/Linux x86_64, unsigned Manifest commit)

---
 www-servers/pshs/metadata.xml     |    2 ++
 www-servers/pshs/pshs-9999.ebuild |    8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
index 3a4252d..92ed3ec 100644
--- a/www-servers/pshs/metadata.xml
+++ b/www-servers/pshs/metadata.xml
@@ -8,6 +8,8 @@
 	<use>
 		<flag name='magic'>Enable automatic detection of Content-Type
 			using libmagic (<pkg>sys-apps/file</pkg>)</flag>
+		<flag name='netlink'>Use libnetlink (<pkg>sys-apps/iproute2</pkg>) to
+			get network interface addresses</flag>
 		<flag name='upnp'>Enable port forwarding using UPnP
 			via <pkg>net-libs/miniupnpc</pkg></flag>
 	</use>

diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
index e682195..12ae0a4 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -18,12 +18,15 @@ SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+magic upnp"
+IUSE="+magic +netlink upnp"
 
 RDEPEND=">=dev-libs/libevent-2
 	magic? ( sys-apps/file )
 	upnp? ( net-libs/miniupnpc )"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	netlink? ( sys-apps/iproute2
+		>=sys-kernel/linux-headers-2.6.27 )"
+# libnetlink is static only ATM
 
 #if LIVE
 KEYWORDS=
@@ -38,6 +41,7 @@ src_prepare() {
 src_configure() {
 	myeconfargs=(
 		$(use_enable magic libmagic)
+		$(use_enable netlink)
 		$(use_enable upnp)
 	)
 



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
@ 2012-07-08  8:17 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2012-07-08  8:17 UTC (permalink / raw
  To: gentoo-commits

commit:     8d03c7122c2a0d7d2a01bbd493c5317175dd32f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 25 08:19:47 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 25 08:19:47 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=8d03c712

www-servers/pshs: Migrate to bitbucket.

(Portage version: 2.2.0_alpha112_p2/git/Linux x86_64, unsigned Manifest commit)

---
 www-servers/pshs/metadata.xml     |    2 +-
 www-servers/pshs/pshs-9999.ebuild |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
index 0a06742..98eabec 100644
--- a/www-servers/pshs/metadata.xml
+++ b/www-servers/pshs/metadata.xml
@@ -18,6 +18,6 @@
 			<email>mgorny@gentoo.org</email>
 			<name>Michał Górny</name>
 		</maintainer>
-		<bugs-to>https://github.com/mgorny/pshs/issues/</bugs-to>
+		<bugs-to>https://bitbucket.org/mgorny/pshs/issues/</bugs-to>
 	</upstream>
 </pkgmetadata>

diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
index d534a63..fe4823e 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -6,8 +6,7 @@ EAPI=4
 
 #if LIVE
 AUTOTOOLS_AUTORECONF=yes
-EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
-	http://github.com/mgorny/${PN}.git"
+EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
 
 inherit git-2
 #endif
@@ -15,8 +14,8 @@ inherit git-2
 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"
+HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
+SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
 
 LICENSE="BSD"
 SLOT="0"



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
@ 2012-12-14 15:28 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2012-12-14 15:28 UTC (permalink / raw
  To: gentoo-commits

commit:     5bc007ad145d58e1d032c43b0fdfb9bea989e8ea
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 14 15:28:39 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 14 15:28:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=5bc007ad

www-servers/pshs: Remove local USE=upnp description, it matches the global meaning now.

Package-Manager: portage-2.2.0_alpha148

---
 www-servers/pshs/metadata.xml |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/www-servers/pshs/metadata.xml b/www-servers/pshs/metadata.xml
index 98eabec..b0edd91 100644
--- a/www-servers/pshs/metadata.xml
+++ b/www-servers/pshs/metadata.xml
@@ -10,8 +10,6 @@
 			using libmagic (<pkg>sys-apps/file</pkg>)</flag>
 		<flag name='netlink'>Use libnetlink (<pkg>sys-apps/iproute2</pkg>) to
 			get network interface addresses</flag>
-		<flag name='upnp'>Enable port forwarding using UPnP
-			via <pkg>net-libs/miniupnpc</pkg></flag>
 	</use>
 	<upstream>
 		<maintainer status="active">


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-14 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 21:44 [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2012-12-14 15:28 Michał Górny
2012-07-08  8:17 Michał Górny
2011-11-15 15:15 Michał Górny
2011-11-09 18:46 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox