diff options
Diffstat (limited to 'main/freeradius/disable-cert-generation.patch')
-rw-r--r-- | main/freeradius/disable-cert-generation.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/freeradius/disable-cert-generation.patch b/main/freeradius/disable-cert-generation.patch new file mode 100644 index 0000000000..69cc13b5c4 --- /dev/null +++ b/main/freeradius/disable-cert-generation.patch @@ -0,0 +1,27 @@ +--- a/raddb/all.mk ++++ b/raddb/all.mk +@@ -18,9 +18,6 @@ + LOCAL_CERT_FILES := Makefile README xpextensions \ + ca.cnf server.cnf client.cnf bootstrap + +-LOCAL_CERT_PRODUCTS := $(addprefix $(R)$(raddbdir)/certs/,ca.key ca.pem \ +- client.key client.pem server.key server.pem) +- + LEGACY_LINKS := $(addprefix $(R)$(raddbdir)/,users huntgroups hints) + + RADDB_DIRS := certs mods-available mods-enabled policy.d \ +@@ -113,14 +110,7 @@ + @[ -e $@ ] || ln -s $(patsubst $(R)$(raddbdir)/%,./%,$<) $@ + + ifeq ("$(PACKAGE)","") +-$(LOCAL_CERT_PRODUCTS): +- @echo BOOTSTRAP raddb/certs/ +- @$(MAKE) -C $(R)$(raddbdir)/certs/ + +-# Bootstrap is special +-$(R)$(raddbdir)/certs/bootstrap: | raddb/certs/bootstrap $(LOCAL_CERT_PRODUCTS) +- @echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) +- @$(INSTALL) -m 750 $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) $@ + else + $(R)$(raddbdir)/certs/bootstrap: + @echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) |