diff options
Diffstat (limited to 'testing/freeradius3/disable-cert-generation.patch')
-rw-r--r-- | testing/freeradius3/disable-cert-generation.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/freeradius3/disable-cert-generation.patch b/testing/freeradius3/disable-cert-generation.patch index 900c446221..8c739ec36f 100644 --- a/testing/freeradius3/disable-cert-generation.patch +++ b/testing/freeradius3/disable-cert-generation.patch @@ -22,3 +22,46 @@ ###################################################################### # +--- a/raddb/all.mk ++++ b/raddb/all.mk +@@ -15,15 +15,9 @@ + + LOCAL_MODULES := $(addprefix raddb/mods-enabled/,$(DEFAULT_MODULES)) + +-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 \ ++RADDB_DIRS := mods-available mods-enabled policy.d \ + sites-available sites-enabled \ + $(patsubst raddb/%,%,$(shell find raddb/mods-config -type d -print)) + +@@ -33,7 +27,6 @@ + # Grab files from the various subdirectories + INSTALL_FILES := $(wildcard raddb/sites-available/* raddb/mods-available/*) \ + $(addprefix raddb/,$(LOCAL_FILES)) \ +- $(addprefix raddb/certs/,$(LOCAL_CERT_FILES)) \ + $(shell find raddb/mods-config -type f -print) \ + $(shell find raddb/policy.d -type f -print) + +@@ -111,15 +104,6 @@ + $(R)$(raddbdir)/users: $(R)$(modconfdir)/files/authorize + @[ -e $@ ] || echo LN-S $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) + @[ -e $@ ] || ln -s $(patsubst $(R)$(raddbdir)/%,./%,$<) $@ +- +-$(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/%,$@) $@ + + # List directories before the file targets. + # It's not clear why GNU Make doesn't deal well with this. |