diff options
author | root <root@rshg054.dnsready.net> | 2012-11-02 01:15:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-11-02 01:15:19 -0700 |
commit | 35bd2bb6857eb818ca53b8fe34d88106133342f4 (patch) | |
tree | 61a0a9d6d37f293a174fac6197e7fbd3e12aed1a /extra/fprintd | |
parent | 83a318800db22408628e60c9e1730578efcfee37 (diff) |
Fri Nov 2 01:12:32 PDT 2012
Diffstat (limited to 'extra/fprintd')
-rw-r--r-- | extra/fprintd/PKGBUILD | 16 | ||||
-rw-r--r-- | extra/fprintd/fingerprint-auth | 6 |
2 files changed, 16 insertions, 6 deletions
diff --git a/extra/fprintd/PKGBUILD b/extra/fprintd/PKGBUILD index 292af2d28..ebb8ee844 100644 --- a/extra/fprintd/PKGBUILD +++ b/extra/fprintd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 158562 2012-05-04 23:57:03Z allan $ +# $Id: PKGBUILD 170104 2012-11-01 20:54:41Z heftig $ # Maintainer: # Contributor: Nikolay Rysev <mad.f3ka@gmail.com> pkgname=fprintd pkgver=0.4.1 -pkgrel=4 +pkgrel=5 pkgdesc="D-Bus service to access fingerprint readers" arch=(i686 x86_64) url="http://www.freedesktop.org/wiki/Software/fprint/fprintd" @@ -13,18 +13,22 @@ depends=(libfprint dbus-glib polkit) makedepends=(intltool gtk-doc) groups=(fprint) options=(!libtool) +backup=(etc/pam.d/fingerprint-auth) _snap=V_${pkgver//./_} -source=(http://cgit.freedesktop.org/libfprint/$pkgname/snapshot/$_snap.tar.bz2) -md5sums=('58fcac035c181dce8f49c374181aa2ae') +source=(http://cgit.freedesktop.org/libfprint/$pkgname/snapshot/$_snap.tar.bz2 + fingerprint-auth) +md5sums=('58fcac035c181dce8f49c374181aa2ae' + '8c7da9ccd28ec87dd2572ddfb85d563e') build() { - cd "$srcdir/$_snap" + cd $_snap ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ --disable-static make } package() { - cd "$srcdir/$_snap" + cd $_snap make DESTDIR="$pkgdir" pammoddir="/usr/lib/security" install + install -Dm644 ../fingerprint-auth "$pkgdir/etc/pam.d/fingerprint-auth" } diff --git a/extra/fprintd/fingerprint-auth b/extra/fprintd/fingerprint-auth new file mode 100644 index 000000000..b0652c1ec --- /dev/null +++ b/extra/fprintd/fingerprint-auth @@ -0,0 +1,6 @@ +auth required pam_tally.so onerr=succeed file=/var/log/faillog +auth required pam_shells.so +auth requisite pam_nologin.so +auth required pam_env.so +auth required pam_fprintd.so +auth optional pam_permit.so |