diff options
author | Michael Weber <xmw@gentoo.org> | 2010-10-27 12:10:18 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-10-27 12:10:18 +0000 |
commit | 8ff71b2f79ff215c8838298adddb651d1f4a1db3 (patch) | |
tree | 4d8f746309d652774687c0b5491a94e40e9d67de /sys-auth | |
parent | Only respect LINGUAS if set (diff) | |
download | gentoo-2-8ff71b2f79ff215c8838298adddb651d1f4a1db3.tar.gz gentoo-2-8ff71b2f79ff215c8838298adddb651d1f4a1db3.tar.bz2 gentoo-2-8ff71b2f79ff215c8838298adddb651d1f4a1db3.zip |
Initial import
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/fprintd/ChangeLog | 10 | ||||
-rw-r--r-- | sys-auth/fprintd/fprintd-0.2.0.ebuild | 69 | ||||
-rw-r--r-- | sys-auth/fprintd/metadata.xml | 9 |
3 files changed, 88 insertions, 0 deletions
diff --git a/sys-auth/fprintd/ChangeLog b/sys-auth/fprintd/ChangeLog new file mode 100644 index 000000000000..f491e30deba6 --- /dev/null +++ b/sys-auth/fprintd/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-auth/fprintd +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/fprintd/ChangeLog,v 1.1 2010/10/27 12:10:18 xmw Exp $ + +*fprintd-0.2.0 (27 Oct 2010) + + 27 Oct 2010; Michael Weber <xmw@gentoo.org> +fprintd-0.2.0.ebuild, + +metadata.xml: + Initial import, fixes bug #341747 reported by Jan Buecken <jb.faq@gmx.de>. + diff --git a/sys-auth/fprintd/fprintd-0.2.0.ebuild b/sys-auth/fprintd/fprintd-0.2.0.ebuild new file mode 100644 index 000000000000..feb944b19452 --- /dev/null +++ b/sys-auth/fprintd/fprintd-0.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/fprintd/fprintd-0.2.0.ebuild,v 1.1 2010/10/27 12:10:18 xmw Exp $ + +EAPI=3 + +inherit autotools toolchain-funcs versionator + +DESCRIPTION="D-Bus to offer libfprint functionality" +HOMEPAGE="http://cgit.freedesktop.org/libfprint/fprintd/" +MY_PV="V_$(replace_all_version_separators _)" +SRC_URI="http://cgit.freedesktop.org/libfprint/${PN}/snapshot/${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +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/intltool + doc? ( dev-libs/libxml2 dev-libs/libxslt ) + " + +S=${WORKDIR}/${MY_PV} + +src_prepare() { + cp /usr/share/gtk-doc/data/gtk-doc.make . || die + sed -e '/SUBDIRS/s: po::' -i Makefile.am || die + eautoreconf + intltoolize || die +} + +src_configure() { + econf $(use_enable pam) \ + $(use_enable static-libs static) \ + $(use_enable doc gtk-doc-html) +} + +src_install() { + emake DESTDIR="${D}" install \ + pammoddir=/$(get_libdir)/security || die + + keepdir /var/lib/fprint || die + + dodoc AUTHORS ChangeLog NEWS README TODO || die + if use doc ; then + insinto ${EPREFIX}/usr/share/doc/${PF}/html + doins doc/{fprintd-docs,version}.xml || die + insinto ${EPREFIX}/usr/share/doc/${PF}/html/dbus + doins doc/dbus/net.reactivated.Fprint.{Device,Manager}.ref.xml || die + fi +} + +pkg_postinst() { + elog "You can add the following line to your /etc/pam.d/system-auth" + elog + elog " auth sufficient pam_fprintd.so" + elog + elog "to enable the PAM module for authentication." + elog "But don't lock yourself out, keep one terminal open!" +} diff --git a/sys-auth/fprintd/metadata.xml b/sys-auth/fprintd/metadata.xml new file mode 100644 index 000000000000..32c2cb560368 --- /dev/null +++ b/sys-auth/fprintd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> |