Nicolas Thill
81ff0511df
packages: more (e)glibc fixes after r44701
...
_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44843
10 years ago
Felix Fietkau
83cdd1623c
uhttpd: make generating SSL keys more reliable against interrupted boots
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44772
10 years ago
John Crispin
e69626901e
uhttp: update to latest git HEAD
...
this add json-c 0.12, sorry forgot to push this earlier today
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44682
10 years ago
Jo-Philipp Wich
b977134dc7
uhttpd: relay stderr to syslog
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44548
10 years ago
Jo-Philipp Wich
a7c27877e2
uhttpd: fix another remaining relro issue in the Lua plugin
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44143
10 years ago
Jo-Philipp Wich
634c8c215c
uhttpd: fix time_t type mismatch on 32bit systems
...
The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.
Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44138
10 years ago
Jo-Philipp Wich
b82bd94b62
uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
...
* Fix the ubus plugin to not make its uhttpd_plugin entry symbol
constant as uhttpd needs to modify its list_head member
* Make sure that uhttpd supports large files by using 64bit ints
where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
* Plug a possible memleak in the directory listing code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44135
10 years ago
Jo-Philipp Wich
8f5c0708ed
uhttpd: fix exit code of mod-ubus postinstall script
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44132
10 years ago
John Crispin
74a3a77bcd
license info - revert r43155
...
turns out that r43155 adds duplicate info.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43167
10 years ago
John Crispin
c10d97484a
Add more license tags with SPDX identifiers
...
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.
I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.
However, I can not garantee that I always picked the correct information
and/or did not miss license information.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 43155
10 years ago
Steven Barth
bec9d38fa4
Add a few SPDX tags
...
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43151
10 years ago
Jo-Philipp Wich
ba48074622
uhttpd: fix HTTP incompatibilities in file handler
...
* Fixes sending an extraneous message body for 204 and 304 resoponses which
breaks Chrome in keep-alive mode.
* Adds mimetypes for JSON and JSONP.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43078
10 years ago
Jo-Philipp Wich
730589281e
uhttpd: do not configure TLS parameters if libustream-ssl is not present
...
A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.
Skip key/cert and ssl listen options when libustream-ssl.so is not present.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42284
10 years ago
Steven Barth
e50f3b4fc7
uhttpd: also bind to IPv6 by default
...
SVN-Revision: 41114
11 years ago
Felix Fietkau
6de020d241
uhttpd: update to the latest version, fixes musl compile issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41057
11 years ago
Felix Fietkau
bddbcdfc1a
uhttpd: update to the latest version, fixes cgi path handling issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40743
11 years ago
Jo-Philipp Wich
e0a3e3d1b6
uhttpd: do not attempt to configure Lua handler if referenced file does not exist
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40457
11 years ago
Felix Fietkau
abd13cd85b
uhttpd: update to latest version, improves cgi path handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40005
11 years ago
Felix Fietkau
9138e8015e
uhttpd: update to latest version, fixes HEAD requests to CGI scripts
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40003
11 years ago
Jo-Philipp Wich
e444eb0bbd
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed ( #14618 )
...
SVN-Revision: 39057
11 years ago
Felix Fietkau
5143157af8
uhttpd: update to the latest version, fixes crashes in the ubus plugin
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38888
11 years ago
Jo-Philipp Wich
8a1d77efed
uhttpd: return after processing -d switch, only set ubus prefix if not already defined
...
SVN-Revision: 38743
11 years ago
John Crispin
989783255e
uhttp: add ubus.default
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38741
11 years ago
John Crispin
3cc0f479dc
uhttp: make the service auto respawn if it crashes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38724
11 years ago
John Crispin
9f3b161a57
uhttp: make sure that the ubus module is loaded when when installed
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38723
11 years ago
Felix Fietkau
f8ee248701
uhttpd: add a config option for using ustream-polarssl, and use it by default
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38250
11 years ago
Felix Fietkau
59c05778f0
uhttpd: fix appending https ports to cmdline
...
Otherwise it is started only on non-secure ports.
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 38171
11 years ago
John Crispin
f874094402
procd: convert various packages to procd style init.d scripts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38023
11 years ago
Jo-Philipp Wich
c3cc912ed9
uhttpd: udpat to git head
...
- fixes buffer corruption with JSON-RPC list calls
- change JSON-RPC protocol to include the session ID into the call
attributes instead of passing it via the URL
- forcibly pass effective session ID as "ubus_rpc_session" attribute
to called procedures
- change ubus acl checking to conform with new ubus session namespace
SVN-Revision: 37962
11 years ago
Felix Fietkau
719adb6471
uhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37628
12 years ago
Felix Fietkau
8faa8a6420
uhttpd: update to latest version, fixes issues with POST and keep-alive ( #13940 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37556
12 years ago
Jo-Philipp Wich
1150e299bb
uhttpd: expose missing options to uci
...
SVN-Revision: 36932
12 years ago
Felix Fietkau
8c69057980
uhttpd: update to latest version, fixes CGI related crashes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36817
12 years ago
Felix Fietkau
02fe12c00d
uhttpd: update again to fix a ubus plugin crash bug
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36770
12 years ago
Felix Fietkau
eeb7fdc13e
uhttpd: update to latest version, fixes script timeout for ubus requests
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36767
12 years ago
Felix Fietkau
75bb3138aa
uhttpd: update to latest version, fixes #13564 , #13560 , improves error handling as pointed out in #13537
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36696
12 years ago
Felix Fietkau
7365e647f6
uhttpd: update to latest version, fixes index page processing order
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36644
12 years ago
Felix Fietkau
d090eea125
uhttpd: update to latest version, fixes a SSL connection memory leak
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36636
12 years ago
Jo-Philipp Wich
e66a4af8c3
uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
...
SVN-Revision: 36348
12 years ago
Felix Fietkau
eb10581ce3
uhttpd: update to latest version, fixes compile error with latest libubox
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36338
12 years ago
Felix Fietkau
84069f8534
uhttpd: update to latest version, fixes an occasional crash on CGI scripts
...
SVN-Revision: 36034
12 years ago
Felix Fietkau
a4c7a953e5
uhttpd: always turn on TLS support, include ustream-ssl as a build dependency
...
SVN-Revision: 35295
12 years ago
Felix Fietkau
bab482b93f
uhttpd: fix another small hang issue with the same symptoms
...
SVN-Revision: 35291
12 years ago
Felix Fietkau
166ea3832b
uhttpd: fix connection hangs
...
SVN-Revision: 35290
12 years ago
Felix Fietkau
c725669079
uhttpd: fix unencrypted passwords in httpd.conf
...
SVN-Revision: 35265
12 years ago
Felix Fietkau
4a86973285
uhttpd: fix selecting the right ustream implementation when openssl is to be used ( #12857 )
...
SVN-Revision: 35257
12 years ago
Felix Fietkau
e55ee0817f
uhttpd: update to a newer version, fixes chunked transfer on some POST requests
...
SVN-Revision: 35249
12 years ago
Felix Fietkau
6f0ecf0541
uhttpd: switch to uhttpd2, it is now feature complete
...
SVN-Revision: 35247
12 years ago
Jo-Philipp Wich
73c75e0dd8
uhttpd: update to latest git head, improves handling of invalid requests
...
SVN-Revision: 34010
12 years ago
Jo-Philipp Wich
5fb6cf9a11
uhttpd: fix compilation with eglibc
...
SVN-Revision: 33860
12 years ago