From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-auth/fingerprint-gui/Manifest | 3 + .../files/fingerprint-gui-1.04-unistd.patch | 70 ++++++++++++++++ .../fingerprint-gui/fingerprint-gui-1.05-r1.ebuild | 84 +++++++++++++++++++ .../fingerprint-gui/fingerprint-gui-1.05.ebuild | 74 +++++++++++++++++ .../fingerprint-gui/fingerprint-gui-1.06.ebuild | 85 +++++++++++++++++++ .../fingerprint-gui/fingerprint-gui-1.07.ebuild | 94 ++++++++++++++++++++++ sys-auth/fingerprint-gui/metadata.xml | 12 +++ 7 files changed, 422 insertions(+) create mode 100644 sys-auth/fingerprint-gui/Manifest create mode 100644 sys-auth/fingerprint-gui/files/fingerprint-gui-1.04-unistd.patch create mode 100644 sys-auth/fingerprint-gui/fingerprint-gui-1.05-r1.ebuild create mode 100644 sys-auth/fingerprint-gui/fingerprint-gui-1.05.ebuild create mode 100644 sys-auth/fingerprint-gui/fingerprint-gui-1.06.ebuild create mode 100644 sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild create mode 100644 sys-auth/fingerprint-gui/metadata.xml (limited to 'sys-auth/fingerprint-gui') 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 + #include ++#include + #include + #include + +--- fingerprint-gui-1.04/src/IdentifierGUI.cpp ++++ fingerprint-gui-1.04/src/IdentifierGUI.cpp +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #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 + #include + #include ++#include + + #include "../include/Globals.h" + +--- fingerprint-gui-1.04/src/PluginDialog.cpp ++++ fingerprint-gui-1.04/src/PluginDialog.cpp +@@ -25,6 +25,7 @@ + + #include + #include ++#include + #include + + #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 + #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 + #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 + #include ++#include + #include + + #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 @@ + + + + +xmw@gentoo.org +Michael Weber + + + Add UPEK BSAPI drivers for identify functions on some readers + + + -- cgit v1.2.3