mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
If the lifetime of an issuing or sub CA is twice the lifetime of the end entity certificates issued by it and the renewal cycle of the issuing CAs is a little shorter than the validity of the end entity certificates then three generations of CA certificates have to be handled by the cert-enroll scripts.
62 lines
1.6 KiB
Makefile
62 lines
1.6 KiB
Makefile
REPLACE_TARGETS = \
|
|
cert-enroll \
|
|
cert-install-swanctl \
|
|
cert-install-ipsec \
|
|
cert-enroll.service
|
|
|
|
$(REPLACE_TARGETS) : Makefile
|
|
$(AM_V_GEN) \
|
|
sed \
|
|
-e "s:@SYSCONFDIR@:$(sysconfdir):" \
|
|
-e "s:@SBINDIR@:$(sbindir):" \
|
|
-e "s:@BINDIR@:$(bindir):" \
|
|
-e "s:@IPSEC_SCRIPT@:$(ipsec_script):" \
|
|
$(srcdir)/$@.in > $@
|
|
|
|
sbin_SCRIPTS = cert-enroll
|
|
|
|
cert-enroll : cert-enroll.in
|
|
|
|
cert_enrolldir = $(sysconfdir)/cert-enroll.d
|
|
cert_enroll_DATA = cert-enroll.conf
|
|
|
|
install-data-local:
|
|
test -e "$(DESTDIR)$(cert_enrolldir)/cert-install.d" || \
|
|
$(INSTALL) -d "$(DESTDIR)$(cert_enrolldir)/cert-install.d" || true
|
|
|
|
cert_install_availabledir = $(sysconfdir)/cert-enroll.d/cert-install-available
|
|
cert_install_available_DATA = \
|
|
cert-install-ssl \
|
|
cert-install-sssd \
|
|
cert-install-ldaputils \
|
|
cert-install-cockpit \
|
|
cert-install-dirsrv \
|
|
cert-install-lighttpd \
|
|
cert-install-openxpki \
|
|
cert-install-gitea \
|
|
cert-install-ipsec \
|
|
cert-install-swanctl
|
|
|
|
cert-install-swanctl : cert-install-swanctl.in
|
|
|
|
cert-install-ipsec : cert-install-ipsec.in
|
|
|
|
EXTRA_DIST = \
|
|
cert-enroll.conf cert-enroll.in cert-enroll.service.in cert-enroll.timer \
|
|
cert-install-cockpit cert-install-dirsrv cert-install-gitea \
|
|
cert-install-ipsec.in cert-install-ldaputils cert-install-lighttpd \
|
|
cert-install-openxpki cert-install-ssl cert-install-sssd \
|
|
cert-install-swanctl.in
|
|
|
|
man8_MANS = cert-enroll.8
|
|
|
|
CLEANFILES = cert-enroll cert-install-swanctl cert-install-ipsec
|
|
|
|
if USE_CERT_ENROLL_TIMER
|
|
systemdsystemunit_DATA = cert-enroll.service cert-enroll.timer
|
|
|
|
cert-enroll.service : cert-enroll.service.in
|
|
|
|
CLEANFILES += cert-enroll.service
|
|
endif
|