From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9007C1396D0 for ; Sun, 24 Sep 2017 21:56:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24A6EE0F5E; Sun, 24 Sep 2017 21:56:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E6A4CE0F5E for ; Sun, 24 Sep 2017 21:56:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE04533C6B6 for ; Sun, 24 Sep 2017 21:56:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 674C683F7 for ; Sun, 24 Sep 2017 21:56:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1506290172.51a6aef7d31ccebc610092afd9e407f6947fd033.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/moolticute/files/, app-crypt/moolticute/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/moolticute/Manifest app-crypt/moolticute/files/50-mooltipass.rule app-crypt/moolticute/files/moolticuted.init app-crypt/moolticute/metadata.xml app-crypt/moolticute/moolticute-0.9.8_beta.ebuild app-crypt/moolticute/moolticute-9999.ebuild X-VCS-Directories: app-crypt/moolticute/ app-crypt/moolticute/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 51a6aef7d31ccebc610092afd9e407f6947fd033 X-VCS-Branch: master Date: Sun, 24 Sep 2017 21:56:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dc0e5c80-282b-4c6f-a721-4c0fe3e96606 X-Archives-Hash: ce03c6731878a42ead22c7c575f76ab1 commit: 51a6aef7d31ccebc610092afd9e407f6947fd033 Author: Pierre-Olivier Mercier nemunai re> AuthorDate: Thu Aug 24 08:07:07 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 24 21:56:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a6aef7 app-crypt/moolticute: new package Closes: https://github.com/gentoo/gentoo/pull/5520 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-crypt/moolticute/Manifest | 1 + app-crypt/moolticute/files/50-mooltipass.rule | 1 + app-crypt/moolticute/files/moolticuted.init | 12 +++++ app-crypt/moolticute/metadata.xml | 16 +++++++ app-crypt/moolticute/moolticute-0.9.8_beta.ebuild | 55 +++++++++++++++++++++++ app-crypt/moolticute/moolticute-9999.ebuild | 55 +++++++++++++++++++++++ 6 files changed, 140 insertions(+) diff --git a/app-crypt/moolticute/Manifest b/app-crypt/moolticute/Manifest new file mode 100644 index 00000000000..4d89ad9c799 --- /dev/null +++ b/app-crypt/moolticute/Manifest @@ -0,0 +1 @@ +DIST moolticute-0.9.8_beta.tar.gz 4471922 SHA256 6d1524d104579c03901e1727c7eed3511fe74ce4dc538d846e69d28652129ddb SHA512 9b5829105172b9e461bfccf60de42aa0dc8529e319292006449f54f8590b3cf002c0e9b555b8ab379a6bfe6dad2e40ed142ea140e254337fa035f09e97e49465 WHIRLPOOL de95aed7084b974e370c14bafd989c4f07494fa5bccec64543bb944db73baf3cb0c5cb80bd7fc6314c38b3d30c661862aae72f19e098411f24db73710ffbf60b diff --git a/app-crypt/moolticute/files/50-mooltipass.rule b/app-crypt/moolticute/files/50-mooltipass.rule new file mode 100644 index 00000000000..4bfd907d725 --- /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 00000000000..4a331db1c3a --- /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 00000000000..ff819ee05d4 --- /dev/null +++ b/app-crypt/moolticute/metadata.xml @@ -0,0 +1,16 @@ + + + + + nemunaire@nemunai.re + Pierre-Olivier Mercier + + + proxy-maint@gentoo.org + Proxy Maintainers + + + raoulh/moolticute + https://github.com/raoulh/moolticute/issues + + 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 00000000000..8609d2fec94 --- /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 00000000000..8609d2fec94 --- /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 +}