Skip to content

Commit 399e4f6

Browse files
terryburtonalandekok
authored andcommitted
Fix latent dpsk build issues
1 parent c358fc4 commit 399e4f6

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

raddb/all.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DEFAULT_MODULES := always attr_filter chap date \
1414
radutmp realm replicate soh sradutmp totp unix unpack utf8
1515

1616
ifneq "$(OPENSSL_LIBS)" ""
17-
DEFAULT_MODULE += dpsk
17+
DEFAULT_MODULES += dpsk
1818
endif
1919

2020
LOCAL_MODULES := $(addprefix raddb/mods-enabled/,$(DEFAULT_MODULES))

src/tests/auth/all.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#
1010
AUTH_FILES := $(filter-out %.conf %.md %.attrs %.mk %~ %.rej,$(subst $(DIR)/,,$(wildcard $(DIR)/*)))
1111

12+
ifeq "$(OPENSSL_LIBS)" ""
13+
AUTH_FILES := $(filter-out dpsk-%,$(AUTH_FILES))
14+
endif
15+
1216
#
1317
# Create the output directory
1418
#
@@ -63,6 +67,9 @@ $(BUILD_DIR)/tests/auth/%.attrs: $(DIR)/%.attrs | $(BUILD_DIR)/tests/auth
6367
.PRECIOUS: $(BUILD_DIR)/tests/auth/%.attrs raddb/mods-enabled/wimax
6468

6569
AUTH_MODULES := $(shell grep -- mods-enabled src/tests/auth/radiusd.conf | sed 's,.*/,,')
70+
ifeq "$(OPENSSL_LIBS)" ""
71+
AUTH_MODULES := $(filter-out dpsk,$(AUTH_MODULES))
72+
endif
6673
AUTH_RADDB := $(addprefix raddb/mods-enabled/,$(AUTH_MODULES))
6774
AUTH_LIBS := $(addsuffix .la,$(addprefix rlm_,$(AUTH_MODULES)))
6875

src/tests/auth/radiusd.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ modules {
2828

2929
$INCLUDE ${raddb}/mods-enabled/digest
3030

31-
$INCLUDE ${raddb}/mods-enabled/dpsk
31+
$-INCLUDE ${raddb}/mods-enabled/dpsk
3232
}
3333

3434
server default {
@@ -52,6 +52,6 @@ server default {
5252
digest
5353
pap
5454
chap
55-
dpsk
55+
-dpsk
5656
}
5757
}

0 commit comments

Comments
 (0)