Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
pam_fprint
pam_fprint-securedir.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pam_fprint-securedir.dif of Package pam_fprint
--- configure.ac +++ configure.ac @@ -6,12 +6,24 @@ AC_PROG_CC AM_PROG_CC_C_O +# AC_ARG_ENABLE SECUREDIR +AC_ARG_ENABLE(securedir, AC_HELP_STRING([--with-securedir=dir],[Where to put PAM module @<:@default=$libdir/security@:>@])) + AC_CHECK_HEADER([security/pam_modules.h], , [AC_MSG_ERROR([PAM headers missing])]) AC_CHECK_LIB(pam, pam_start, [PAM_LIBS="-lpam"], AC_MSG_ERROR([PAM library missing])) AC_SUBST(PAM_LIBS) +if ! test -z "$with_securedir" ; then + SECUREDIR_TMP="$with_securedir" +else + SECUREDIR_TMP=/lib/security +fi +SECUREDIR=`eval echo $SECUREDIR_TMP` +AC_SUBST(SECUREDIR) + + PKG_CHECK_MODULES(FPRINT, "libfprint") AC_SUBST(FPRINT_LIBS) AC_SUBST(FPRINT_CFLAGS) --- src/Makefile.am +++ src/Makefile.am @@ -1,7 +1,7 @@ noinst_PROGRAMS = pamtest bin_PROGRAMS = pam_fprint_enroll pammod_PROGRAMS = pam_fprint.so -pammoddir=/lib/security +pammoddir=$(SECUREDIR) pam_fprint_so_SOURCES = pam_fprint.c pam_fprint_so_CFLAGS = -fPIC $(FPRINT_CFLAGS) --- src/Makefile.in +++ src/Makefile.in @@ -118,6 +118,7 @@ PAM_LIBS = @PAM_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ +SECUREDIR = @SECUREDIR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ @@ -163,7 +164,7 @@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -pammoddir = /lib/security +pammoddir = $(SECUREDIR) pam_fprint_so_SOURCES = pam_fprint.c pam_fprint_so_CFLAGS = -fPIC $(FPRINT_CFLAGS) pam_fprint_so_LDFLAGS = -shared
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor