For configuration add
"auth sufficient pam_face_authentication.so enableX"
to the files in /etc/pam.d/ where you want to activate the face recognition, (remove enableX to disable webcam preview)
Working PGKBUILD, i'm not sure if is correct, but is working.
# Contributor: Carlos RH Ruiz <ruizh.cj@gmail.com>
pkgname=pam-face-authentication-svn
pkgver=20110914
pkgrel=1
pkgdesc="PAM face authentication module"
arch=('i686' 'x86_64')
url="http://code.google.com/p/pam-face-authentication"
license=('GPL')
#groups=()
depends=('pam' 'opencv' 'libx11' 'qt')
makedepends=('svn' 'cmake')
provides=('pam-face-authentication')
conflicts=('pam-face-authentication')
#replaces=()
#backup=()
#install=
#source=('OpenCVConfig.cmake'::'https://code.ros.org/svn/opencv/trunk/opencv/OpenCVConfig.cmake.in')
source=('OpenCVConfig.cmake'::'https://code.ros.org/trac/opencv/export/7251/trunk/opencv/cmake/templates/OpenCVConfig.cmake.in')
#noextract=()
sha256sums=('0465a1834359186813192acf88a1dd1bd97c3b3ad985caca0eb04ca1e51b8239')
_svnroot='http://pam-face-authentication.googlecode.com/svn/'
_svnname='pam-face-authentication'
build() {
cd "${srcdir}"
mv ../svn.diff ./
msg "Cloning subversion repo..."
svn co ${_svnroot} ${_svnname} || return 1
cd ${_svnname}
msg "Patching..."
rm trunk/qtbranch/cmake/modules/FindOpenCV.cmake || return 1 #See issue 75 in Google Code.
mv ${srcdir}/OpenCVConfig.cmake ${srcdir}/${_svnname}/trunk/qtbranch/cmake/modules/OpenCVConfig.cmake || return 1
patch -p0 < ${srcdir}/svn.diff || return 1
}
package() {
cd ${srcdir}/${_svnname}/trunk/qtbranch
cmake -D CMAKE_INSTALL_PREFIX=/usr . || return 1
make || return 1
make DESTDIR="$pkgdir/" install || return 1
}
Search Criteria
Package Details: pam-face-authentication-svn 20110914-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2012-04-30)
| Package Base: | pam-face-authentication-svn |
|---|---|
| Description: | PAM face authentication module |
| Upstream URL: | http://code.google.com/p/pam-face-authentication |
| Category: | system |
| Licenses: | |
| Submitter: | djoco |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 3 |
| First Submitted: | 2011-09-14 21:02 |
| Last Updated: | 2011-09-14 21:02 |
Latest Comments
Anonymous comment
Comment by brcha
OpenCVConfig.cmake.in changed path (and content). New path is:
https://code.ros.org/svn/opencv/trunk/opencv/cmake/templates/OpenCVConfig.cmake.in
and sha sums should be updated.
Comment by aslmaswd
qt-facetrainer can't work