-
Notifications
You must be signed in to change notification settings - Fork 20
/
build_uwsgi.sh
66 lines (50 loc) · 2.36 KB
/
build_uwsgi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
set -u
set -e
rm -rf uwsgi
git clone --branch uwsgi-2.0 https://github.com/unbit/uwsgi
cd uwsgi
make uwsgi.it
cp -f uwsgi /opt/unbit/uwsgi/uwsgi
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/corerouter
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/http
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/fastrouter
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/rawrouter
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/sslrouter
/opt/unbit/uwsgi/uwsgi --build-plugin plugins/tuntap
cp corerouter_plugin.so http_plugin.so fastrouter_plugin.so rawrouter_plugin.so sslrouter_plugin.so tuntap_plugin.so /opt/unbit/uwsgi/plugins
/opt/unbit/uwsgi/uwsgi --build-plugin ../calc_ip.c
cp calc_ip_plugin.so /opt/unbit/uwsgi/plugins
/opt/unbit/uwsgi/uwsgi --build-plugin ../openat_alarm.c
cp openat_alarm_plugin.so /opt/unbit/uwsgi/plugins
/opt/unbit/uwsgi/uwsgi --build-plugin ../dgram_router.c
cp dgram_router_plugin.so /opt/unbit/uwsgi/plugins
/opt/unbit/uwsgi/uwsgi --build-plugin ../rand_pid.c
cp rand_pid_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-alarm-chain
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-alarm-chain
cp alarm_chain_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-console-broadcast
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-console-broadcast
cp console_broadcast_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-eventfd
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-eventfd
cp eventfd_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-hetzner
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-hetzner
cp hetzner_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-quota
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-quota
cp quota_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-pushover
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-pushover
cp pushover_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-pushbullet
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-pushbullet
cp pushbullet_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/aldur/uwsgi-slack
/opt/unbit/uwsgi/uwsgi --build-plugin uwsgi-slack
cp slack_plugin.so /opt/unbit/uwsgi/plugins
git clone https://github.com/unbit/uwsgi-strophe
cd uwsgi-strophe
/opt/unbit/uwsgi/uwsgi --build-plugin .
cp strophe_plugin.so /opt/unbit/uwsgi/plugins