diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-auth/fingerprint-gui | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-auth/fingerprint-gui')
-rw-r--r-- | sys-auth/fingerprint-gui/Manifest | 3 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch | 70 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/fingerprint-gui-1.05-r1.ebuild | 84 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/fingerprint-gui-1.05.ebuild | 74 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild | 85 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild | 94 | ||||
-rw-r--r-- | sys-auth/fingerprint-gui/metadata.xml | 12 |
7 files changed, 422 insertions, 0 deletions
diff --git a/sys-auth/fingerprint-gui/Manifest b/sys-auth/fingerprint-gui/Manifest new file mode 100644 index 000000000000..98ffcfa4f658 --- /dev/null +++ b/sys-auth/fingerprint-gui/Manifest @@ -0,0 +1,3 @@ +DIST fingerprint-gui-1.05.tar.gz 7001230 SHA256 4058ffa55de8ea346ae8747ec88828d2312656b3d8a54c57198b04e4032097db SHA512 6bf90dacb1e2b5f84fcded14a7b345cc613d09a886f1f103344caa00704e06f740af1ec3b9ae76f60a52e8330a68af63a035dbd53ab9a5bdce6521bcb5b3b6e8 WHIRLPOOL c0c8f5e3a87b0821aab23591ef25340cf1a1d3cde9d5e9ee2d716f600286c9eab909056021dda6e1ea7fe80731d9bf7bde437ddb406692ad1517050f1d647132 +DIST fingerprint-gui-1.06.tar.gz 7042471 SHA256 f5021d4c446b65ce62de63b9b2874b05a62318b386f35577ca0322b722a1920f SHA512 dbb7dfa9df99e522a3512fc93f53c9c830d94572d4b9a76f438a8893a1f852ddbff3d76a519873efc10ee0a0a1c764a5dd69c9db95ac28c45e25f80e55eb52c0 WHIRLPOOL 75e3c33b7910fd066910eca425815040b5a0390cdd56fdbf423e317dc0b0407291d5f176a511c5afd5af68f6c03c60290242685bcb24d63513aa8455aa32a951 +DIST fingerprint-gui-1.07.tar.gz 7042051 SHA256 cc2d06fd3aa96b278da3201fe51692393e3eb20002069c458c51661fb6e4f8c8 SHA512 b63bc86cbff29587a7fe164dd9344178006079f2520265ecd3d96e57bf584694246e17db780051dcacfe39dc6bd4da437b16e33d2f7cb6b474ae61dfbced6a3b WHIRLPOOL fa1eca597547b6d6c631373e47783ffcf3b30c6383ba31f198fe1d91b2174ee7caf241229c5a94d360fa0a5addb6b710a5729da59978ecd8932ae9687ba7fa0e diff --git a/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch b/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch new file mode 100644 index 000000000000..f65aa94d2d1d --- /dev/null +++ b/sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch @@ -0,0 +1,70 @@ +--- fingerprint-gui-1.04/src/UserSettings.cpp ++++ fingerprint-gui-1.04/src/UserSettings.cpp +@@ -30,6 +30,7 @@ + + #include <syslog.h> + #include <stdlib.h> ++#include <unistd.h> + #include <sys/mount.h> + #include <errno.h> + +--- fingerprint-gui-1.04/src/IdentifierGUI.cpp ++++ fingerprint-gui-1.04/src/IdentifierGUI.cpp +@@ -25,6 +25,7 @@ + + #include <string> + #include <iostream> ++#include <unistd.h> + #include "IdentifierGUI.h" + + #define KEEP_ON_TOP \ +--- fingerprint-gui-1.04/src/FingerprintPAM.cpp ++++ fingerprint-gui-1.04/src/FingerprintPAM.cpp +@@ -37,6 +37,7 @@ + #include <errno.h> + #include <pwd.h> + #include <string> ++#include <unistd.h> + + #include "../include/Globals.h" + +--- fingerprint-gui-1.04/src/PluginDialog.cpp ++++ fingerprint-gui-1.04/src/PluginDialog.cpp +@@ -25,6 +25,7 @@ + + #include <sys/poll.h> + #include <string> ++#include <unistd.h> + #include <qt4/QtCore/qthread.h> + + #include "../include/PluginDialog.h" +--- fingerprint-gui-1.04/src/PamGUI.cpp ++++ fingerprint-gui-1.04/src/PamGUI.cpp +@@ -23,6 +23,7 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <unistd.h> + #include "PamGUI.h" + #include "FingerprintHelper.h" + +--- fingerprint-gui-1.04/src/PamNonGUI.cpp ++++ fingerprint-gui-1.04/src/PamNonGUI.cpp +@@ -23,6 +23,7 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <unistd.h> + #include "PamNonGUI.h" + #include "FingerprintHelper.h" + +--- fingerprint-gui-1.04/src/FingerprintPlugin.cpp ++++ fingerprint-gui-1.04/src/FingerprintPlugin.cpp +@@ -25,6 +25,7 @@ + + #include <syslog.h> + #include <string> ++#include <unistd.h> + #include <qt4/QtGui/qwidget.h> + + #include "PluginDialog.h" diff --git a/sys-auth/fingerprint-gui/fingerprint-gui-1.05-r1.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.05-r1.ebuild new file mode 100644 index 000000000000..f4bb137c5800 --- /dev/null +++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.05-r1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/" +SRC_URI="http://ullrich-online.cc/nview/Appliance/${PN%-gui}/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+upekbsapi" + +DEPEND="app-crypt/qca:2[openssl,qt4(+)] + 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 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 +} + +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/fingerprint-gui-1.05.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.05.ebuild new file mode 100644 index 000000000000..4328729b60f0 --- /dev/null +++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.05.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils multilib qt4-r2 udev + +DESCRIPTION="Use Fingerprint Devices with Linux" +HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/" +SRC_URI="http://ullrich-online.cc/nview/Appliance/${PN%-gui}/download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+upekbsapi" + +DEPEND="app-crypt/qca:2[openssl,qt4(+)] + 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 +} + +src_configure() { + eqmake4 \ + PREFIX="${EROOT}"usr \ + LIB="$(get_libdir)" \ + LIBEXEC=libexec \ + LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 +} + +src_install() { + emake INSTALL_ROOT="${D}" 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/* +} + +pkg_postinst() { + elog "Please take a thorough look a the Install-step-by-step.html" + elog "in /usr/share/doc/${PF} for integration with pam/polkit/..." + elog "Hint: You may want" + elog " auth sufficient pam_fingerprint-gui.so" + elog "in /etc/pam.d/system-auth" + einfo + elog "There are udev rules to enforce group plugdev on the reader device" + elog "Please put yourself in that group and re-trigger the udev rules." +} diff --git a/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild new file mode 100644 index 000000000000..bccb62e61a1a --- /dev/null +++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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[openssl,qt4(+)] + 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 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 +} + +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/fingerprint-gui-1.07.ebuild b/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild new file mode 100644 index 000000000000..494242feb5e3 --- /dev/null +++ b/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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[openssl,qt4(+)] + 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 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..ffe2eae04a76 --- /dev/null +++ b/sys-auth/fingerprint-gui/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<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> + |