Fixing erlang.mk for cowlib for linux

This commit is contained in:
Stephane Bourque
2020-11-20 10:31:14 -08:00
parent 96ae6a785d
commit cbc108eaf2
3 changed files with 20 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ PROJECT = owls
PROJECT_DESCRIPTION = OpenWiFi Load Simulator (OWLS) PROJECT_DESCRIPTION = OpenWiFi Load Simulator (OWLS)
PROJECT_VERSION = 0.1.0 PROJECT_VERSION = 0.1.0
DEPS = lager gpb jiffy ranch gun cowlib cowboy rec2json uuid DEPS = lager gpb jiffy cowlib ranch gun cowboy rec2json uuid
ERLC_OPTS += -I deps/gpb/include ERLC_OPTS += -I deps/gpb/include
ERLC_OPTS += +'{parse_transform, lager_transform}' ERLC_OPTS += +'{parse_transform, lager_transform}'
@@ -15,11 +15,15 @@ ERLC_OPTS += -Ddebug
# Apps necessary for dialyzer # Apps necessary for dialyzer
PLT_APPS += ssl os_mon sasl crypto inets eunit syntax_tools public_key mnesia tftp PLT_APPS += ssl os_mon sasl crypto inets eunit syntax_tools public_key mnesia tftp
dep_cowlib_commit = master
dep_cowboy_commit = master dep_cowboy_commit = master
dep_ranch_commit = master dep_ranch_commit = master
dep_gun_commit = master
include erlang.mk include erlang.mk
dep_cowlib_commit = master
# Code necessary to generate the protobufs for mqtt payload # Code necessary to generate the protobufs for mqtt payload
$(PROJECT).d:: src/opensync_stats.erl $(PROJECT).d:: src/opensync_stats.erl

View File

@@ -593,6 +593,10 @@ components:
description: The certificate for the CA description: The certificate for the CA
type: string type: string
format: byte format: byte
Decrypt:
description: The certificate decryption key
type: string
format: byte
Password: Password:
description: The password for the CA information description: The password for the CA information
type: string type: string
@@ -621,6 +625,12 @@ components:
Name: Name:
description: Device identifier description: Device identifier
type: string type: string
MAC:
description: MAC Address
type: string
Serial:
description: Device serial identifier
type: string
Description: Description:
description: Device description if available description: Device description if available
type: string type: string
@@ -648,6 +658,10 @@ components:
description: Decrypt key description: Decrypt key
type: string type: string
format: byte format: byte
CSR:
description: Decrypt key
type: string
format: byte
Info: Info:
$ref: '#/components/schemas/GenericProperties' $ref: '#/components/schemas/GenericProperties'

2
erlang.mk vendored
View File

@@ -927,7 +927,7 @@ pkg_cowlib_description = Support library for manipulating Web protocols.
pkg_cowlib_homepage = http://ninenines.eu pkg_cowlib_homepage = http://ninenines.eu
pkg_cowlib_fetch = git pkg_cowlib_fetch = git
pkg_cowlib_repo = https://github.com/ninenines/cowlib pkg_cowlib_repo = https://github.com/ninenines/cowlib
pkg_cowlib_commit = 1.0.2 pkg_cowlib_commit = master
PACKAGES += cpg PACKAGES += cpg
pkg_cpg_name = cpg pkg_cpg_name = cpg