diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-14 09:54:19 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-05-14 09:54:19 +0000 |
commit | 3a4970a7977f234a3cd37b7fe926735f09d546d1 (patch) | |
tree | d7e7333fd49839edc972d10fdcb35e6cc7def409 /main/freeradius/disable-cert-generation.patch | |
parent | b2944c548dfed2a611d26e4c45b5454efc413854 (diff) | |
download | aports-3a4970a7977f234a3cd37b7fe926735f09d546d1.tar.bz2 aports-3a4970a7977f234a3cd37b7fe926735f09d546d1.tar.xz |
main/freeradius: nuke freeradius2 and replace it with new stable branch freeradius 3.0.x
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/%,$@) |