public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/mgorny:master commit in: www-servers/pshs/
Date: Tue, 15 Nov 2011 15:15:45 +0000 (UTC)	[thread overview]
Message-ID: <531ad0b1311f3bb34cd733f4e4b95d327e6bb8a8.mgorny@gentoo> (raw)

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)
 	)
 



             reply	other threads:[~2011-11-15 15:15 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=531ad0b1311f3bb34cd733f4e4b95d327e6bb8a8.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox