summaryrefslogtreecommitdiff
path: root/sys-auth/fingerprint-gui
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 /sys-auth/fingerprint-gui
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/fingerprint-gui')
-rw-r--r--sys-auth/fingerprint-gui/Manifest5
-rw-r--r--sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild93
-rw-r--r--sys-auth/fingerprint-gui/metadata.xml11
3 files changed, 109 insertions, 0 deletions
diff --git a/sys-auth/fingerprint-gui/Manifest b/sys-auth/fingerprint-gui/Manifest
new file mode 100644
index 000000000000..93f5f988bde7
--- /dev/null
+++ b/sys-auth/fingerprint-gui/Manifest
@@ -0,0 +1,5 @@
+DIST fingerprint-gui-1.07.tar.gz 7042051 SHA256 cc2d06fd3aa96b278da3201fe51692393e3eb20002069c458c51661fb6e4f8c8 SHA512 b63bc86cbff29587a7fe164dd9344178006079f2520265ecd3d96e57bf584694246e17db780051dcacfe39dc6bd4da437b16e33d2f7cb6b474ae61dfbced6a3b WHIRLPOOL fa1eca597547b6d6c631373e47783ffcf3b30c6383ba31f198fe1d91b2174ee7caf241229c5a94d360fa0a5addb6b710a5729da59978ecd8932ae9687ba7fa0e
+EBUILD fingerprint-gui-1.07.ebuild 2748 SHA256 796abac44491252af977a0afddf4cbdc68b669db368433e67e610bbd0d49e6dc SHA512 8ca2d74d277babc139178d757bab559cd9105c6255770cf2a1410cef8142caa24a6f0fe40e1aca070d57a9713117c5fb83d0b93216df53da7a6a8cbed6d9cece WHIRLPOOL aafd9f44538b2c1d73c1e27c21f26f6f5d060ac165a15333a3180f562928171fa00826a030ca0ec11bd624c52483db8fd7e170115e4e4fa677e44fa310f637c6
+MISC ChangeLog 3416 SHA256 968ceaa84d59ac6688761004c28082a56d60056950e02cc88b5af75816238b93 SHA512 1d0381fa1bce59d0176bced40557ec374c345e8d639b7ee5cab67b7c2f97c841519e2dceae33afdeb58341c5058f78dc8d520cfcc69e1015cbee304431a37898 WHIRLPOOL 13580986225889e876f34b62334f9704e65e59aaaf78f4cdaac554b67ae1c10e335e5f75a0a0160fdcf82013cf2698f26865eb8b938cfea30cec87b655c0aee8
+MISC ChangeLog-2015 2786 SHA256 9e8391542c7493a5d22d5d79590eea31e8814cd429c1fca7af88dce71fa111b5 SHA512 65cb61e86784451c1beeb3655777f5f83ef7b68ff281564fc2657e7a56eb1805dcf1c09991ee943a8100a533654f7854fb2c6076b3bb93a5f1ec5856f654db26 WHIRLPOOL 3bdc1364fb2121878938383a265fb19a27938b18e46708d1dc27aff74f1061b77c407bca5916be4d36d29ec402137db8210996d2980f8cc1c519d80a90a26c50
+MISC metadata.xml 343 SHA256 26b9d865a9cb3d780d8dadd84dfb3d3b41ebab64f06ee0b40cae894dfe4d8223 SHA512 bb58875fd47a66a6784b088e3e2dcb07a89f61d48ff94547c4456e46f275d6c037f017632552ff4e43712b34d3fa2f8d5075e88c106f7cb6a72d317753522b7a WHIRLPOOL 63def1722bd16177cf754237289f8fa5a1df7c0ffd89b6dfc8f39f5cbaf8a8ee0ae8485269b3a690b3347de686489286d22367f08337ebc537274a580506b16d
diff --git a/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild
new file mode 100644
index 000000000000..0621697ec37a
--- /dev/null
+++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib qt4-r2 readme.gentoo udev user
+
+DESCRIPTION="Use Fingerprint Devices with Linux"
+HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/"
+HOMEPAGE="http://www.ullrich-online.cc/fingerprint/"
+SRC_URI="http://www.ullrich-online.cc/${PN%-gui}/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+upekbsapi"
+
+DEPEND="app-crypt/qca:2[qt4(+),ssl]
+ sys-auth/libfprint
+ sys-auth/polkit-qt[qt4]
+ sys-libs/pam
+ x11-libs/libfakekey
+ dev-qt/qtcore:4
+ !sys-auth/thinkfinger"
+RDEPEND="${DEPEND}"
+
+QA_SONAME="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+QA_PRESTRIPPED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+QA_FLAGS_IGNORED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*"
+
+src_prepare() {
+ sed -e '/Icon=/s:=.*:=Fingerprint:' \
+ -i bin/${PN}/${PN}.desktop || die
+ sed -e "s:/etc/udev/rules.d:\"$(get_udevdir)\"/rules.d:g" \
+ -i bin/${PN%-gui}-helper/${PN%-gui}-helper.pro || die
+ sed -e 's:GROUP="plugdev":GROUP="fingerprint":' \
+ -i bin/fingerprint-helper/92-fingerprint-gui-uinput.rules \
+ -i upek/91-fingerprint-gui-upek.rules || die
+}
+
+src_configure() {
+ eqmake4 \
+ PREFIX="${EROOT}"usr \
+ LIB="$(get_libdir)" \
+ LIBEXEC=libexec \
+ LIBPOLKIT_QT=LIBPOLKIT_QT_1_1
+}
+
+src_install() {
+ export INSTALL_ROOT="${D}" #submakes need it as well, re-install fails otherwise.
+ emake -j1 install
+ rm -r "${ED}"/usr/share/doc/${PN} || die
+ if use upekbsapi ; then
+ use amd64 && dolib.so upek/lib64/libbsapi.so*
+ use x86 && dolib.so upek/lib/libbsapi.so*
+ udev_dorules upek/91-fingerprint-gui-upek.rules
+ insinto /etc
+ doins upek/upek.cfg
+ #dodir /var/upek_data
+ #fowners root:plugdev /var/upek_data
+ #fperms 0775 /var/upek_data
+ fi
+ doicon src/res/Fingerprint.png
+
+ dodoc CHANGELOG README
+ dohtml doc/*
+
+ readme.gentoo_src_install
+}
+
+pkg_preinst() {
+ enewgroup fingerprint
+}
+
+pkg_postinst() {
+ einfo "Fixing permisisons of fingerprints..."
+ find "${EROOT}"/var/lib/fingerprint-gui -exec chown root:root {} + || die "chown root:root failed"
+ find "${EROOR}"/var/lib/fingerprint-gui -type d -exec chmod 755 {} + || die "chmod 755 failed"
+ find "${EROOT}"/var/lib/fingerprint-gui -type f -exec chmod 600 {} + || die "chmod 600 failed"
+
+ readme.gentoo_pkg_postinst
+}
+
+FORCE_PRINT_ELOG=1
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Please take a thorough look a the Install-step-by-step.html
+in /usr/share/doc/${PF} for integration with pam/polkit/...
+Hint: You may want
+ auth sufficient pam_fingerprint-gui.so
+in /etc/pam.d/system-auth
+
+There are udev rules to enforce group fingerprint on the reader device
+Please put yourself in that group and re-trigger the udev rules."
diff --git a/sys-auth/fingerprint-gui/metadata.xml b/sys-auth/fingerprint-gui/metadata.xml
new file mode 100644
index 000000000000..e5fd1a621811
--- /dev/null
+++ b/sys-auth/fingerprint-gui/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>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<use>
+ <flag name="upekbsapi">Add UPEK BSAPI drivers for identify functions on some readers</flag>
+</use>
+</pkgmetadata>