update buildroot to 2017.02.11

This commit is contained in:
jbnadal
2018-05-22 15:35:47 +02:00
parent 4bf1f5e091
commit a3c10bd762
9257 changed files with 433426 additions and 1701 deletions

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_SUPERVISOR
bool "supervisor"
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON_MELD3
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency
help
A client/server system that allows its users to control a
number of processes on UNIX-like operating systems.
http://supervisord.org/
comment "supervisor needs the python interpreter"
depends on !BR2_PACKAGE_PYTHON

View File

@@ -0,0 +1,29 @@
#!/bin/sh
mkdir -p /var/log/supervisor
case "$1" in
start)
printf "Starting supervisord: "
start-stop-daemon -S -q -p /var/run/supervisord.pid --exec /usr/bin/supervisord
echo "done"
;;
stop)
printf "Stopping supervisord: "
start-stop-daemon -K -q -p /var/run/supervisord.pid
echo "done"
;;
restart)
"$0" stop
sleep 5
"$0" start
;;
reload)
start-stop-daemon -K -q -p /var/run/supervisord.pid -s HUP
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac
exit $?

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 82f75089f719a7a3ca87f35c89a03c20fd3c0912552c96eb6fa40274ced6604e supervisor-3.1.4.tar.gz
sha256 a85a622378c6a892ead1ce5d0488e446e106bf014d3b763fdbc1ad1ae38ee491 COPYRIGHT.txt
sha256 27ba0b2357ed6974d755ed53232c5ab8595622b3111bb91682708ea188cc3696 LICENSES.txt

View File

@@ -0,0 +1,34 @@
################################################################################
#
# supervisor
#
################################################################################
SUPERVISOR_VERSION = 3.1.4
SUPERVISOR_SITE = https://pypi.python.org/packages/12/50/cd330d1a0daffbbe54803cb0c4c1ada892b5d66db08befac385122858eee
SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa), ZPL-2.1
SUPERVISOR_LICENSE_FILES = COPYRIGHT.txt LICENSES.txt
SUPERVISOR_SETUP_TYPE = setuptools
define SUPERVISOR_INSTALL_CONF_FILES
$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d
$(INSTALL) -D -m 644 package/supervisor/supervisord.conf \
$(TARGET_DIR)/etc/supervisord.conf
endef
SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES
define SUPERVISOR_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/supervisor/S99supervisord \
$(TARGET_DIR)/etc/init.d/S99supervisord
endef
define SUPERVISOR_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/supervisor/supervisord.service \
$(TARGET_DIR)/usr/lib/systemd/system/supervisord.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/supervisord.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/supervisord.service
endef
$(eval $(python-package))

View File

@@ -0,0 +1,18 @@
[unix_http_server]
file = /var/run/supervisor.sock
[supervisord]
logfile = /var/log/supervisor/supervisord.log
logfile_maxbytes = 200KB
logfile_backups = 1
pidfile = /var/run/supervisord.pid
childlogdir = /var/log/supervisor
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl = unix:///var/run/supervisor.sock
[include]
files = /etc/supervisor.d/*.conf

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Process Control System
After=syslog.target
[Service]
ExecStart=/usr/bin/supervisord -n
Restart=always
[Install]
WantedBy=multi-user.target