summaryrefslogtreecommitdiff
path: root/extra/fprintd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-18 01:29:49 -0700
committerroot <root@rshg054.dnsready.net>2013-08-18 01:29:49 -0700
commitb35ab776341c79068977be153a2ad8340eb9498c (patch)
treee5222b3e4690aa531940f5ea221351ec91ca51d9 /extra/fprintd
parent74952c750361d72d7b2d14179d4e88b6ce0a0c7e (diff)
Sun Aug 18 01:29:08 PDT 2013
Diffstat (limited to 'extra/fprintd')
-rw-r--r--extra/fprintd/PKGBUILD25
-rw-r--r--extra/fprintd/fingerprint-auth6
-rw-r--r--extra/fprintd/pod.patch9
3 files changed, 23 insertions, 17 deletions
diff --git a/extra/fprintd/PKGBUILD b/extra/fprintd/PKGBUILD
index 399c2fd81..7ea1fb4c5 100644
--- a/extra/fprintd/PKGBUILD
+++ b/extra/fprintd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 179628 2013-03-08 22:08:23Z eric $
+# $Id: PKGBUILD 193153 2013-08-17 10:25:30Z heftig $
# Maintainer:
# Contributor: Nikolay Rysev <mad.f3ka@gmail.com>
pkgname=fprintd
-pkgver=0.5.0
+pkgver=0.5.1
pkgrel=1
pkgdesc="D-Bus service to access fingerprint readers"
arch=(i686 x86_64)
@@ -13,22 +13,25 @@ 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
- fingerprint-auth)
-md5sums=('9db46783dc9d75e84d63a3addbaa0507'
- '8c7da9ccd28ec87dd2572ddfb85d563e')
+source=(http://people.freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz
+ pod.patch)
+md5sums=('e9b40ab0298a50d28b6af728e2a40a1b'
+ '67736669f52d146b67607f35f7b9e36b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../pod.patch
+}
build() {
- cd $_snap
- ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
--disable-static
make
}
package() {
- cd $_snap
+ cd $pkgname-$pkgver
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
deleted file mode 100644
index b0652c1ec..000000000
--- a/extra/fprintd/fingerprint-auth
+++ /dev/null
@@ -1,6 +0,0 @@
-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
diff --git a/extra/fprintd/pod.patch b/extra/fprintd/pod.patch
new file mode 100644
index 000000000..34cf6560c
--- /dev/null
+++ b/extra/fprintd/pod.patch
@@ -0,0 +1,9 @@
+diff -u -r fprintd-0.5.1/data/fprintd.pod fprintd-0.5.1-pod/data/fprintd.pod
+--- fprintd-0.5.1/data/fprintd.pod 2013-06-26 13:10:17.000000000 +0200
++++ fprintd-0.5.1-pod/data/fprintd.pod 2013-08-17 12:17:36.330332635 +0200
+@@ -100,3 +100,5 @@
+ =over 8
+
+ =item B<dbus-daemon>, B<gnome-about-me>
++
++=back