Distribute a minimal opensc.conf
closes https://github.com/OpenSC/OpenSC/issues/1102
This commit is contained in:
parent
e226ad265a
commit
c003f3825e
|
@ -82,8 +82,7 @@ doc/tools/opensc-asn1
|
||||||
doc/tools/opensc-notify
|
doc/tools/opensc-notify
|
||||||
doc/files/opensc.conf.5.xml
|
doc/files/opensc.conf.5.xml
|
||||||
|
|
||||||
etc/opensc.conf.win
|
etc/opensc.conf.example
|
||||||
etc/opensc.conf
|
|
||||||
src/common/compat_getopt_main
|
src/common/compat_getopt_main
|
||||||
src/minidriver/opensc-minidriver.inf
|
src/minidriver/opensc-minidriver.inf
|
||||||
src/tools/cardos-tool
|
src/tools/cardos-tool
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
CV_CERTS = DESRCACC100001
|
CV_CERTS = DESRCACC100001
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
|
||||||
DISTCLEANFILES = opensc.conf
|
DISTCLEANFILES = opensc.conf.example
|
||||||
|
|
||||||
EXTRA_DIST = $(CV_CERTS) Makefile.mak
|
EXTRA_DIST = $(CV_CERTS) Makefile.mak
|
||||||
|
|
||||||
SUFFIXES = .in
|
SUFFIXES = .in
|
||||||
|
|
||||||
dist_noinst_DATA = opensc.conf.in
|
dist_noinst_DATA = opensc.conf.example.in
|
||||||
nodist_noinst_DATA = opensc.conf
|
nodist_noinst_DATA = opensc.conf.example
|
||||||
|
dist_sysconf_DATA = opensc.conf
|
||||||
|
|
||||||
# Make sure we build this every time
|
# Make sure we build this every time
|
||||||
# as there is no dependency for this.
|
# as there is no dependency for this.
|
||||||
# Can be removed if MSVC is not requried.
|
# Can be removed if MSVC is not requried.
|
||||||
force:
|
force:
|
||||||
opensc.conf: opensc.conf.in force
|
opensc.conf.example: opensc.conf.example.in force
|
||||||
|
|
||||||
.in:
|
.in:
|
||||||
@sed \
|
@sed \
|
||||||
|
@ -30,16 +31,12 @@ opensc.conf: opensc.conf.in force
|
||||||
-e 's|@PROFILE_DIR_DEFAULT[@]|$(PROFILE_DIR_DEFAULT)|g' \
|
-e 's|@PROFILE_DIR_DEFAULT[@]|$(PROFILE_DIR_DEFAULT)|g' \
|
||||||
< $< > $@
|
< $< > $@
|
||||||
|
|
||||||
install-exec-hook: opensc.conf
|
install-exec-hook: opensc.conf.example
|
||||||
$(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
|
$(MKDIR_P) "$(DESTDIR)$(docdir)"
|
||||||
if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
|
$(INSTALL_DATA) opensc.conf.example "$(DESTDIR)$(docdir)/opensc.conf";
|
||||||
$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
|
|
||||||
else \
|
|
||||||
$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
uninstall-hook: opensc.conf
|
uninstall-hook: opensc.conf.example
|
||||||
rm -f "$(DESTDIR)$(sysconfdir)/opensc.conf.new" "$(DESTDIR)$(sysconfdir)/opensc.conf"
|
rm -f "$(DESTDIR)$(docdir)/opensc.conf"
|
||||||
|
|
||||||
if ENABLE_OPENPACE
|
if ENABLE_OPENPACE
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
app default {
|
||||||
|
# debug = 3;
|
||||||
|
# debug_file = opensc-debug.txt
|
||||||
|
framework pkcs15 {
|
||||||
|
# use_file_caching = true;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue