create rootf's & SDK from 2018.02.9 buildroot (#10)

---------

Co-authored-by: tiopex <tiopxyz@gmail.com>
Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
This commit is contained in:
Apaczer
2023-03-11 21:06:02 +01:00
committed by GitHub
parent 534f7aea40
commit dcf31c6a1e
12528 changed files with 149032 additions and 303063 deletions
+8 -7
View File
@@ -4,14 +4,12 @@
#
################################################################################
PYTHON_WEB2PY_VERSION = 2.21.1
PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,v$(PYTHON_WEB2PY_VERSION))
PYTHON_WEB2PY_VERSION = R-2.15.4
PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,$(PYTHON_WEB2PY_VERSION))
PYTHON_WEB2PY_LICENSE = LGPL-3.0
PYTHON_WEB2PY_LICENSE_FILES = LICENSE
PYTHON_WEB2PY_CPE_ID_VENDOR = web2py
PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py
PYTHON_WEB2PY_DEPENDENCIES = host-python3 python3 \
host-python-pydal host-python-yatl
PYTHON_WEB2PY_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) \
python-pydal host-python-pydal
PYTHON_WEB2PY_EXCLUSIONS = \
welcome.w2p \
@@ -59,6 +57,9 @@ endef
define PYTHON_WEB2PY_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/python-web2py/web2py.service \
$(TARGET_DIR)/usr/lib/systemd/system/web2py.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../../../../usr/lib//systemd/system/web2py.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/web2py.service
endef
# www-data user and group are used for web2py. Because these user and group
@@ -70,7 +71,7 @@ endef
# So, we just need to create the directories used by web2py with the right
# ownership.
define PYTHON_WEB2PY_PERMISSIONS
/var/www/web2py r 750 33 33 - - - - -
/var/www/web2py r 750 33 33 - - - - -
endef
$(eval $(generic-package))