aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius3/disable-cert-generation.patch
blob: 69cc13b5c4b962f5ac8d9b3701127e669fd9457d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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/%,$@)