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 C68EB138334 for ; Sun, 4 Aug 2019 19:37:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFCD7E099B; Sun, 4 Aug 2019 19:36:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 7D7A0E099B for ; Sun, 4 Aug 2019 19:36:39 +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 273D73499EA for ; Sun, 4 Aug 2019 19:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBCF474D for ; Sun, 4 Aug 2019 19:36:36 +0000 (UTC) From: "Maxim Koltsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maxim Koltsov" Message-ID: <1564947388.5c9f50f0bbb2a4701beffb7ce50d4a48f67ac6e0.maksbotan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/fprintd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/fprintd/fprintd-0.8.1-r1.ebuild X-VCS-Directories: sys-auth/fprintd/ X-VCS-Committer: maksbotan X-VCS-Committer-Name: Maxim Koltsov X-VCS-Revision: 5c9f50f0bbb2a4701beffb7ce50d4a48f67ac6e0 X-VCS-Branch: master Date: Sun, 4 Aug 2019 19:36:36 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8caf13d0-1141-42fb-86e7-d8a80dab0b71 X-Archives-Hash: 7dc981a70ab61572e3d3240ff860bfbe commit: 5c9f50f0bbb2a4701beffb7ce50d4a48f67ac6e0 Author: Maxim Koltsov gentoo org> AuthorDate: Sun Aug 4 19:35:15 2019 +0000 Commit: Maxim Koltsov gentoo org> CommitDate: Sun Aug 4 19:36:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9f50f0 sys-auth/fprintd: fix bug in systemd service Closes: https://bugs.gentoo.org/688562 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Maxim Koltsov gentoo.org> sys-auth/fprintd/fprintd-0.8.1-r1.ebuild | 69 ++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/sys-auth/fprintd/fprintd-0.8.1-r1.ebuild b/sys-auth/fprintd/fprintd-0.8.1-r1.ebuild new file mode 100644 index 00000000000..da760b51d70 --- /dev/null +++ b/sys-auth/fprintd/fprintd-0.8.1-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pam systemd + +DESCRIPTION="D-Bus service to access fingerprint readers" +HOMEPAGE="https://cgit.freedesktop.org/libfprint/fprintd/" +MY_PV="V_$(ver_rs 0- _)" +SRC_URI="https://cgit.freedesktop.org/libfprint/${PN}/snapshot/${MY_PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc pam static-libs" + +RDEPEND=" + dev-libs/dbus-glib + dev-libs/glib:2 + sys-auth/libfprint + sys-auth/polkit + pam? ( sys-libs/pam ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc + dev-util/gtk-doc-am + dev-util/intltool + doc? ( dev-libs/libxml2 dev-libs/libxslt ) +" + +S=${WORKDIR}/${MY_PV} + +src_prepare() { + default + + sed -i 's#@localstatedir@/lib/fprint#@localstatedir@/fprint#g' data/fprintd.service.in || die "sed failed" + eautoreconf +} + +src_configure() { + econf --disable-silent-rules \ + $(use_enable pam) \ + $(use_enable static-libs static) \ + $(use_enable doc gtk-doc-html) \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + emake DESTDIR="${D}" install \ + pammoddir=$(getpam_mod_dir) + + keepdir /var/lib/fprint + + find "${D}" -name "*.la" -delete || die + + dodoc AUTHORS NEWS README{,.transifex} TODO + newdoc pam/README README.pam_fprintd + if use doc ; then + insinto /usr/share/doc/${PF}/html + doins doc/{fprintd-docs,version}.xml + insinto /usr/share/doc/${PF}/html/dbus + doins doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml + fi +} + +pkg_postinst() { + elog "Please take a look at README.pam_fprintd for integration docs." +}