summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-06-21 19:39:06 +0000
committerMike Frysinger <vapier@gentoo.org>2013-06-21 19:39:06 +0000
commitb2d0d025331e0274fb0868c251d8349d5181c177 (patch)
tree289d437039499f11e99e1f4b8c5a68ce685211cc /net-wireless/neard
parentexpand CMS acronym to content management system in DESCRIPTION (diff)
downloadgentoo-2-b2d0d025331e0274fb0868c251d8349d5181c177.tar.gz
gentoo-2-b2d0d025331e0274fb0868c251d8349d5181c177.tar.bz2
gentoo-2-b2d0d025331e0274fb0868c251d8349d5181c177.zip
Initial package for ChromiumOS by me & Louis Yung-Chieh Lo & Samuel Ortiz.
(Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-wireless/neard')
-rw-r--r--net-wireless/neard/ChangeLog9
-rw-r--r--net-wireless/neard/files/neard.confd8
-rw-r--r--net-wireless/neard/files/neard.rc23
-rw-r--r--net-wireless/neard/metadata.xml11
-rw-r--r--net-wireless/neard/neard-0.11.ebuild30
5 files changed, 81 insertions, 0 deletions
diff --git a/net-wireless/neard/ChangeLog b/net-wireless/neard/ChangeLog
new file mode 100644
index 000000000000..45b22d9454e0
--- /dev/null
+++ b/net-wireless/neard/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-wireless/neard
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/neard/ChangeLog,v 1.1 2013/06/21 19:39:06 vapier Exp $
+
+*neard-0.11 (21 Jun 2013)
+
+ 21 Jun 2013; Mike Frysinger <vapier@gentoo.org> +files/neard.confd,
+ +files/neard.rc, +metadata.xml, +neard-0.11.ebuild:
+ Initial package for ChromiumOS by me & Louis Yung-Chieh Lo & Samuel Ortiz.
diff --git a/net-wireless/neard/files/neard.confd b/net-wireless/neard/files/neard.confd
new file mode 100644
index 000000000000..ca0474e6607f
--- /dev/null
+++ b/net-wireless/neard/files/neard.confd
@@ -0,0 +1,8 @@
+# conf.d file for neard
+#
+# Please check connmand --help for more information.
+# Useful options are:
+# -d, --debug=DEBUG: Specify debug options to enable
+# -p, --plugin=NAME: specify plugins to load.
+# -P, --noplugin=NAME: specify plugins not to load.
+NEARD_OPTS="" \ No newline at end of file
diff --git a/net-wireless/neard/files/neard.rc b/net-wireless/neard/files/neard.rc
new file mode 100644
index 000000000000..37cc40e2807c
--- /dev/null
+++ b/net-wireless/neard/files/neard.rc
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Purpose License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/neard/files/neard.rc,v 1.1 2013/06/21 19:39:06 vapier Exp $
+
+name="NFC daemon"
+
+command="/usr/libexec/nfc/neard"
+command_args="${NEARD_OPTS}"
+
+start_stop_daemon_args="--exec /usr/libexec/nfc/neard"
+
+depend() {
+ need dbus
+}
+
+start_pre() {
+ if [ -e /proc/modules ] ; then
+ if ! grep -qs NFC_RAW /proc/net/protocols ; then
+ modprobe -q nfc
+ fi
+ fi
+}
diff --git a/net-wireless/neard/metadata.xml b/net-wireless/neard/metadata.xml
new file mode 100644
index 000000000000..4c62f47ff2df
--- /dev/null
+++ b/net-wireless/neard/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+ <description>fix what you like</description>
+</maintainer>
+<use>
+ <flag name='tools'>build and install extra helper utilities</flag>
+</use>
+</pkgmetadata>
diff --git a/net-wireless/neard/neard-0.11.ebuild b/net-wireless/neard/neard-0.11.ebuild
new file mode 100644
index 000000000000..e2c38b252c4c
--- /dev/null
+++ b/net-wireless/neard/neard-0.11.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/neard/neard-0.11.ebuild,v 1.1 2013/06/21 19:39:05 vapier Exp $
+
+EAPI="4"
+
+DESCRIPTION="Near Field Communication (NFC) management daemon"
+HOMEPAGE="https://01.org/linux-nfc/"
+SRC_URI="mirror://kernel/linux/network/nfc/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="tools"
+
+RDEPEND=">=dev-libs/glib-2.28:2
+ dev-libs/libnl
+ >=sys-apps/dbus-1.2.24"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable tools)
+}
+
+src_install() {
+ default
+
+ newinitd "${FILESDIR}"/${PN}.rc ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}