summaryrefslogtreecommitdiff
path: root/app-crypt/moolticute
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 /app-crypt/moolticute
reinit the tree, so we can have metadata
Diffstat (limited to 'app-crypt/moolticute')
-rw-r--r--app-crypt/moolticute/Manifest6
-rw-r--r--app-crypt/moolticute/files/50-mooltipass.rule1
-rw-r--r--app-crypt/moolticute/files/moolticuted.init12
-rw-r--r--app-crypt/moolticute/metadata.xml16
-rw-r--r--app-crypt/moolticute/moolticute-0.9.8_beta.ebuild55
-rw-r--r--app-crypt/moolticute/moolticute-9999.ebuild55
6 files changed, 145 insertions, 0 deletions
diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest
new file mode 100644
index 000000000000..ee44331bd24a
--- /dev/null
+++ b/app-crypt/moolticute/Manifest
@@ -0,0 +1,6 @@
+AUX 50-mooltipass.rule 84 SHA256 82e6af786f2ac972a4dc026d092ad3d0c8d5ecde791996e399a2a8a23e4333d0 SHA512 26f8a9f2c5fb2f3a87a486f91d5fae7069955dc528eacb8a37a833d393be38b70e3a9784024287cdfeb93a90abad83400395bb803e82a091100bd44cb7b2c28d WHIRLPOOL 1956cc3bca8bbcf2161a6f3ebd6025faed18fd7be3a842370b27948b13da27a3c8fb0138a656b3355cde44b6a5abed65f6b6f4c7c73d04d22917d1ccd105a69b
+AUX moolticuted.init 309 SHA256 9b5b4d108c3210d49738eec163d01b14e202a211f4e4938bda8f20aac79deaa6 SHA512 bbb80cf14d3adf744538f03513b461eb8bd2b633ef314f9e935e919f288f629aa8d84ff856e3aa104a2933e16143fbdbff90d9df8651473c39907f5aff580ed0 WHIRLPOOL 48508997019dce13265e78ab324b50f23bb5bca4273e10947694a35cd9de8fd6b2e91757d7794596434a51fe527297c640c8f8bc8e55b2e42eaca9fdd9799078
+DIST moolticute-0.9.8_beta.tar.gz 4471922 SHA256 6d1524d104579c03901e1727c7eed3511fe74ce4dc538d846e69d28652129ddb SHA512 9b5829105172b9e461bfccf60de42aa0dc8529e319292006449f54f8590b3cf002c0e9b555b8ab379a6bfe6dad2e40ed142ea140e254337fa035f09e97e49465 WHIRLPOOL de95aed7084b974e370c14bafd989c4f07494fa5bccec64543bb944db73baf3cb0c5cb80bd7fc6314c38b3d30c661862aae72f19e098411f24db73710ffbf60b
+EBUILD moolticute-0.9.8_beta.ebuild 1048 SHA256 795f7434f151f2d15fe5992b9588a8490e08b749893e8f49aa354467d066ff5d SHA512 553568747fa2c363fe33ee9e82b06516c32194a708344c09f38209d9734fcd9ad80400765bd2e2a03384e4aab105fef3b5842aedcedcf1cd4118068401e9ce5e WHIRLPOOL 741be8ce0f09c9542b504f0aefff7fcf66db37d361876cc461078c364964107264928378893f56615b7a632a0b1bc75731412ebd660856c1b48659e8e7e69ccf
+EBUILD moolticute-9999.ebuild 1048 SHA256 795f7434f151f2d15fe5992b9588a8490e08b749893e8f49aa354467d066ff5d SHA512 553568747fa2c363fe33ee9e82b06516c32194a708344c09f38209d9734fcd9ad80400765bd2e2a03384e4aab105fef3b5842aedcedcf1cd4118068401e9ce5e WHIRLPOOL 741be8ce0f09c9542b504f0aefff7fcf66db37d361876cc461078c364964107264928378893f56615b7a632a0b1bc75731412ebd660856c1b48659e8e7e69ccf
+MISC metadata.xml 522 SHA256 918331854b3e9d97086f0d5dc7981dd556fa6c341d7d4de027fe5c0affa814b9 SHA512 a08a366830b4fa1cc03a49d0e8af159908a9d5d13e9a4e8e910fd133671da66893010707cfafd1c3548899a54e610e249085583def235bb8e3b32862d960dd45 WHIRLPOOL 80033ebbea02e82fc40c709e4ed6755d6a89ea34b7c2f51b2ab00b75a41650273c34c477c7d14548f732762045f32c818799b3e4f87eee63af596f43cc5715f9
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
+}
diff --git a/app-crypt/moolticute/metadata.xml b/app-crypt/moolticute/metadata.xml
new file mode 100644
index 000000000000..ff819ee05d46
--- /dev/null
+++ b/app-crypt/moolticute/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nemunaire@nemunai.re</email>
+ <name>Pierre-Olivier Mercier</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">raoulh/moolticute</remote-id>
+ <bugs-to>https://github.com/raoulh/moolticute/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-crypt/moolticute/moolticute-0.9.8_beta.ebuild b/app-crypt/moolticute/moolticute-0.9.8_beta.ebuild
new file mode 100644
index 000000000000..8609d2fec945
--- /dev/null
+++ b/app-crypt/moolticute/moolticute-0.9.8_beta.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/raoulh/moolticute.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/raoulh/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm"
+fi
+
+inherit gnome2-utils qmake-utils udev
+
+DESCRIPTION="Mooltipass crossplatform daemon/tools"
+HOMEPAGE="https://github.com/raoulh/moolticute"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/libusb-1.0.20
+ >=dev-qt/qtcore-5.6:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qttest:5
+ dev-qt/qtwebsockets:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+ eqmake5 PREFIX="/usr" Moolticute.pro
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+
+ udev_dorules "${FILESDIR}/50-mooltipass.rule"
+ newinitd "${FILESDIR}/moolticuted.init" moolticuted
+}
+
+pkg_postinst() {
+ udev_reload
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-crypt/moolticute/moolticute-9999.ebuild b/app-crypt/moolticute/moolticute-9999.ebuild
new file mode 100644
index 000000000000..8609d2fec945
--- /dev/null
+++ b/app-crypt/moolticute/moolticute-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} == 9999* ]]; then
+ EGIT_REPO_URI="https://github.com/raoulh/moolticute.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/raoulh/moolticute/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm"
+fi
+
+inherit gnome2-utils qmake-utils udev
+
+DESCRIPTION="Mooltipass crossplatform daemon/tools"
+HOMEPAGE="https://github.com/raoulh/moolticute"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/libusb-1.0.20
+ >=dev-qt/qtcore-5.6:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qttest:5
+ dev-qt/qtwebsockets:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+ eqmake5 PREFIX="/usr" Moolticute.pro
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+
+ udev_dorules "${FILESDIR}/50-mooltipass.rule"
+ newinitd "${FILESDIR}/moolticuted.init" moolticuted
+}
+
+pkg_postinst() {
+ udev_reload
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}