Commit 8f095d51 authored by Robey Pointer's avatar Robey Pointer
Browse files

add Makefile.am magic to autogenerate some /etc files for eazel-helper and put...

add Makefile.am magic to autogenerate some /etc files for eazel-helper and put them in the right place during 'make install'
parent dd401fcf
2000-07-10 Robey Pointer <robey@eazel.com>
* components/services/trilobite/helper/.cvsignore:
* components/services/trilobite/helper/Makefile.am:
* components/services/trilobite/helper/eazel-helper.pam:
* components/services/trilobite/helper/eazel-helper.security.in:
Add Makefile.am magic to autogenerate eazel-helper.security from
the .in file and copy eazel-helper.pam and eazel-helper.security
into the proper directory (well, right now, into /gnome/etc, but
that's a separate issue).
2000-07-10 Eskil Heyn Olsen <eskil@eazel.com>
* components/services/docs/installer-rpmsearch:
......
......@@ -3,3 +3,4 @@
Makefile
Makefile.in
eazel-helper
eazel-helper.security
NULL =
PAM_FILES = eazel-helper.security eazel-helper.pam
bin_PROGRAMS = eazel-helper
# do mv on a separate step in case the sed fails
eazel-helper.security: eazel-helper.security.in Makefile
sed -e 's^\@bindir\@^$(bindir)^g' < eazel-helper.security.in > eazel-helper.security.tmp \
&& mv eazel-helper.security.tmp eazel-helper.security
install-data-local: $(PAM_FILES)
mkdir -p $(sysconfdir)/security/console.apps
cp eazel-helper.security $(sysconfdir)/security/console.apps/eazel-helper
mkdir -p $(sysconfdir)/pam.d
cp eazel-helper.pam $(sysconfdir)/pam.d/eazel-helper
eazel_helper_SOURCES = \
eazel-helper.c \
$(NULL)
......
#%PAM-1.0
auth sufficient /lib/security/pam_rootok.so
auth required /lib/security/pam_pwdb.so
session optional /lib/security/pam_xauth.so
account required /lib/security/pam_permit.so
USER=root
PROGRAM=@bindir@/eazel-helper
SESSION=true
FALLBACK=true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment