From baad4190fe23ddcd3aa38d9235439cee779979d0 Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Sun, 14 Mar 2021 14:49:46 +0100 Subject: [PATCH] created buildroot external package for door_admin web interface --- br_external/Config.in | 1 + br_external/package/door_admin/Config.in | 12 ++++++++++++ br_external/package/door_admin/door_admin.mk | 15 +++++++++++++++ buildroot | 2 +- door_admin | 2 +- 5 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 br_external/package/door_admin/Config.in create mode 100644 br_external/package/door_admin/door_admin.mk diff --git a/br_external/Config.in b/br_external/Config.in index 6cbca1d..9c74178 100644 --- a/br_external/Config.in +++ b/br_external/Config.in @@ -1,2 +1,3 @@ source "$BR2_EXTERNAL_DOOR_PI_PATH/package/poll_desfire/Config.in" source "$BR2_EXTERNAL_DOOR_PI_PATH/package/libfreefare_git/Config.in" +source "$BR2_EXTERNAL_DOOR_PI_PATH/package/door_admin/Config.in" diff --git a/br_external/package/door_admin/Config.in b/br_external/package/door_admin/Config.in new file mode 100644 index 0000000..4452789 --- /dev/null +++ b/br_external/package/door_admin/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_DOOR_ADMIN + bool "door_admin" + select BR2_PACKAGE_PYTHON_PAHO_MQTT + select BR2_PACKAGE_PYTHON_BLEACH + select BR2_PACKAGE_PYTHON_FLASK + select BR2_PACKAGE_PYTHON_FLASK_WTF + select BR2_PACKAGE_PYTHON_FLASK_SECURITY_TOO + select BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY + help + Simple web interface for door token adminstration + + https://git.imaginaerraum.de/Telos4/DoorAdmin diff --git a/br_external/package/door_admin/door_admin.mk b/br_external/package/door_admin/door_admin.mk new file mode 100644 index 0000000..85ab245 --- /dev/null +++ b/br_external/package/door_admin/door_admin.mk @@ -0,0 +1,15 @@ +DOOR_ADMIN_VERSION = 0.0.5 +DOOR_ADMIN_SOURCE = door_admin_v$(DOOR_ADMIN_VERSION).tar.gz +DOOR_ADMIN_SITE = https://git.imaginaerraum.de/Telos4/DoorAdmin/archive +DOOR_ADMIN_DEPENDENCIES = python-flask-security-too python-flask-wtf python-flask-sqlalchemy +DOOR_ADMIN_LICENSE = GPL-3.0 + +define DOOR_ADMIN_INSTALL_STAGING_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(STAGING_DIR) install +endef + +define DOOR_ADMIN_INSTALL_TARGET_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot b/buildroot index 1a18f2a..4b2a0a6 160000 --- a/buildroot +++ b/buildroot @@ -1 +1 @@ -Subproject commit 1a18f2a06f1780d522d03e068b8dc75a0169dc73 +Subproject commit 4b2a0a6e2b1373ae7f7eccb1e7ed05b442af22a0 diff --git a/door_admin b/door_admin index 55c4f6e..daed273 160000 --- a/door_admin +++ b/door_admin @@ -1 +1 @@ -Subproject commit 55c4f6ea7ffd0f0b8bf0c5afbb5f2cdb68722073 +Subproject commit daed27372bdbeb7d0fe5995b9c411b09a1e7b831