summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Mercier <nemunaire@nemunai.re>2017-08-24 10:07:07 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-24 23:56:12 +0200
commit51a6aef7d31ccebc610092afd9e407f6947fd033 (patch)
tree9e2532c6e3cd17a4dcb02ea278570b8d8fec157a /app-crypt/moolticute/files
parentnet-wireless/bluez: Drop old (diff)
downloadgentoo-51a6aef7d31ccebc610092afd9e407f6947fd033.tar.gz
gentoo-51a6aef7d31ccebc610092afd9e407f6947fd033.tar.bz2
gentoo-51a6aef7d31ccebc610092afd9e407f6947fd033.zip
app-crypt/moolticute: new package
Closes: https://github.com/gentoo/gentoo/pull/5520 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-crypt/moolticute/files')
-rw-r--r--app-crypt/moolticute/files/50-mooltipass.rule1
-rw-r--r--app-crypt/moolticute/files/moolticuted.init12
2 files changed, 13 insertions, 0 deletions
diff --git a/app-crypt/moolticute/files/50-mooltipass.rule b/app-crypt/moolticute/files/50-mooltipass.rule
new file mode 100644
index 000000000000..4bfd907d7257
--- /dev/null
+++ b/app-crypt/moolticute/files/50-mooltipass.rule
@@ -0,0 +1 @@
+SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="09a0", TAG+="uaccess"
diff --git a/app-crypt/moolticute/files/moolticuted.init b/app-crypt/moolticute/files/moolticuted.init
new file mode 100644
index 000000000000..4a331db1c3a4
--- /dev/null
+++ b/app-crypt/moolticute/files/moolticuted.init
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+command=/usr/bin/moolticuted
+command_args=""
+pidfile=/var/run/moolticuted.pid
+start_stop_daemon_args="--make-pidfile --background --user nobody --group usb"
+
+depend() {
+ need udev
+}