summaryrefslogtreecommitdiff
path: root/net-wireless/neard
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-wireless/neard
reinit the tree, so we can have metadata
Diffstat (limited to 'net-wireless/neard')
-rw-r--r--net-wireless/neard/Manifest7
-rw-r--r--net-wireless/neard/files/neard.confd8
-rw-r--r--net-wireless/neard/files/neard.rc22
-rw-r--r--net-wireless/neard/metadata.xml11
-rw-r--r--net-wireless/neard/neard-0.15-r1.ebuild34
5 files changed, 82 insertions, 0 deletions
diff --git a/net-wireless/neard/Manifest b/net-wireless/neard/Manifest
new file mode 100644
index 000000000000..95b6f2ad8e48
--- /dev/null
+++ b/net-wireless/neard/Manifest
@@ -0,0 +1,7 @@
+AUX neard.confd 274 SHA256 b270962de5e81ba92d401d65f4826636568f9adbde3863a564b619205095693c SHA512 d696911f7e5f33f6b2a0f6508c73676998a3bfaebbda02386dc08d9149d525bf211bfcf9836276d070f31288ef84540ef1bce3d68119d4439089297c079392ef WHIRLPOOL 90c8dd989f438d813077dbe4e0c8db8e0d3c41b35bbaf0fc00d5b499326b606eff0cbb8b2c2370ce5659fd094fe60c9249cc33099418ed41415054eba0f0ec17
+AUX neard.rc 417 SHA256 b1d23a76039c4b1f4cb4597720b9fc8d64fd9047e5d3097f69223bca0a4a239a SHA512 68459f7dfc9bdcc6b450770d76c0ffa4b0adb248476c801317f8a8cc7c2dc9e41dea4fcf9425b9d667821037d923fb8368acb72540cc63478dd45e21ba9215d5 WHIRLPOOL 7573816e5329afe7fad99696f96f1689106ad1a79d1b5a4e3c69949191055ac6ac9896d9b651d23ce573c268c6a8b6c6e635a9c87675eae75c991ef6cacbc906
+DIST neard-0.15.tar.xz 368196 SHA256 651f6513d32cdaf8a426255d03aff38a6620a89b0567ec2b36606c6330a93353 SHA512 daaa001a305f0d200bb03bf614c938256fa5c07d480bf820d5e83da80d930e060b5bb6a09234f1c3f7ecbd3cb0af378a1de675dd4dcd99b728677430e0cd111d WHIRLPOOL e066ec628760275866ae0ba8d5dbea68784c00963dcc5f1dbea8352c45098b34835ce609665ded9f15b266998902069370c9c0a2947ee46cbd6220ae79c1e513
+EBUILD neard-0.15-r1.ebuild 831 SHA256 b43a6e5575b25f3b40747fa24a62baca4089cca99cb2be56eca698584934b9f8 SHA512 7410edd0d0bc3ee7e238f0b4db26d967ec5be6642529e5b38d002b0ecb85b1798bbef268555318e979afd815fa56d9914862283836821bfc1aaee114bb6e46c1 WHIRLPOOL 4010ea09001fd5ad54a00e84a14b331a7aa867b47bddb81be33aa0f59e5587f5298fe14cb715d7d440584f31ec11a967fb90f493e1ec2a4ed90aa3d079619de5
+MISC ChangeLog 3196 SHA256 22dff469c6b87059b7ad145a58c8e4db5089c9d0a6efa093ed4b661457cf7918 SHA512 322c21650f16657dc063f6df8ca4fef2ca7e2836ccb636dbe969da3378ce66ac5afdd66254d0efb64aef84672676deddd115a9eb064dd4f279964d8df71d5d9f WHIRLPOOL 6875c195a91e53c4ed774fde01555091ac4837e1660d9860fd738a348e73f599fd32cfa5eaadb4cb0852cc0e01757ce6f93a5c8e419c501f3d2220914e0552a9
+MISC ChangeLog-2015 743 SHA256 560f7d3fd2f19cb406bc437cc016ab731a00120eec95f65cce133ff6a69a38e8 SHA512 eeb9150ee400fc94a2353ae8e83b4644d45957f229e971dd5935f8f88c2a97066cfb0e01c291d4d32c9d7517694da93e140631e57f273a621992450dcc58f45f WHIRLPOOL 4801ea3d9cdb26342c893d1b491d38d7cf0deefcd1e4746d0507221d8890f4edb03b828f31aa91d3973d6b3aa57eac2733d82d34bbeed199ae2f798ae7bc9e3f
+MISC metadata.xml 341 SHA256 290cfea1f3dec72dace6ed6602cf53925eb9c2f9f9bc6d81b71f11a5300fcbc2 SHA512 421f43fd0ca2799321ba8b5971a817b961c7099f6e61c08ce6bf0569d010fe318fa56a8ef497883fc1b58d22faa43e588bbd2e7dd8c932d1e4bc52579297677f WHIRLPOOL 3cea1cd90b478c5631adde291b34e4557e8a27de1c28a1b659a701407654cf0ee15f67874667b7defa3d6d0a1f043e75b59359ae87b115c59454fffe42d709fb
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..4f2acbd9cd9f
--- /dev/null
+++ b/net-wireless/neard/files/neard.rc
@@ -0,0 +1,22 @@
+#!/sbin/openrc-run
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..c0b50852b7b5
--- /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 type="person">
+ <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.15-r1.ebuild b/net-wireless/neard/neard-0.15-r1.ebuild
new file mode 100644
index 000000000000..4f410f2a5001
--- /dev/null
+++ b/net-wireless/neard/neard-0.15-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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 systemd"
+
+RDEPEND=">=dev-libs/glib-2.28:2
+ dev-libs/libnl
+ systemd? ( sys-apps/systemd:0 )
+ >=sys-apps/dbus-1.2.24"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf $(use_enable systemd) $(use_enable tools)
+}
+
+src_install() {
+ default
+
+ # Patch for this has been sent upstream. Do it manually
+ # to avoid having to rebuild autotools. #580876
+ mv "${ED}"/usr/include/version.h "${ED}"/usr/include/near/ || die
+
+ newinitd "${FILESDIR}"/${PN}.rc ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}