Fri, 03 Mar 2023 12:10:54 +0000
sasl: Include offered mechanisms in event when no supported mechanisms found
This allows consumers of the event to determine what may be required in order
to successfully authenticate.
371
88bcf9fbdd07
configure, Makefile: Add configure script to set build-time variables
Matthew Wild <mwild1@gmail.com>
parents:
370
diff
changeset
|
1 | include config.unix |
88bcf9fbdd07
configure, Makefile: Add configure script to set build-time variables
Matthew Wild <mwild1@gmail.com>
parents:
370
diff
changeset
|
2 | |
373
39090da18b83
Makefile: Error if config.unix is missing
Matthew Wild <mwild1@gmail.com>
parents:
372
diff
changeset
|
3 | ifndef SQUISH |
39090da18b83
Makefile: Error if config.unix is missing
Matthew Wild <mwild1@gmail.com>
parents:
372
diff
changeset
|
4 | $(error Please run ./configure first) |
39090da18b83
Makefile: Error if config.unix is missing
Matthew Wild <mwild1@gmail.com>
parents:
372
diff
changeset
|
5 | endif |
39090da18b83
Makefile: Error if config.unix is missing
Matthew Wild <mwild1@gmail.com>
parents:
372
diff
changeset
|
6 | |
370
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 | SOURCE_FILES=$(shell $(SQUISH) --list-files) |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 | MISSING_FILES=$(shell $(SQUISH) --list-missing-files) |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 | |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
10 | all: verse.lua |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
11 | |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
12 | verse.lua: $(SOURCE_FILES) |
419
bf2fe3fc2f73
Makefile: Use configured squish path
Matthew Wild <mwild1@gmail.com>
parents:
416
diff
changeset
|
13 | $(SQUISH) |
370
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
14 | |
372
0ce6d4a1e2fd
Makefile: Add 'install' target
Matthew Wild <mwild1@gmail.com>
parents:
371
diff
changeset
|
15 | install: verse.lua |
0ce6d4a1e2fd
Makefile: Add 'install' target
Matthew Wild <mwild1@gmail.com>
parents:
371
diff
changeset
|
16 | install -t $(LUA_DIR) -m 644 $^ |
0ce6d4a1e2fd
Makefile: Add 'install' target
Matthew Wild <mwild1@gmail.com>
parents:
371
diff
changeset
|
17 | |
370
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
18 | clean: |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
19 | rm verse.lua |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
20 | |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
21 | $(MISSING_FILES): |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
22 | mkdir -p "$(@D)" |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
23 | wget "$(PROSODY_URL)$@" -O "$@" |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
24 | |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
25 | rsm.lib.lua: |
416
92ce569b9b73
buildsys: Update to fetch from Prosody 0.10 branch
Kim Alvefur <zash@zash.se>
parents:
376
diff
changeset
|
26 | wget https://hg.prosody.im/prosody-0.10/raw-file/0.10.1/util/rsm.lua -O rsm.lib.lua |
370
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
27 | |
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
28 | release: $(MISSING_FILES) |
376
c61f8aaf772c
Makefile: Remove config.unix when making a release
Matthew Wild <mwild1@gmail.com>
parents:
373
diff
changeset
|
29 | rm config.unix |
370
75e7917761c0
Makefile, buildscripts/squish: Add Makefile and squish to the repo
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
30 | |
372
0ce6d4a1e2fd
Makefile: Add 'install' target
Matthew Wild <mwild1@gmail.com>
parents:
371
diff
changeset
|
31 | .PHONY: all release clean install |