Philipp Schafft
23cc8a9646
Cleanup: Mark local functions static
2018-06-16 17:51:16 +00:00
Philipp Schafft
6bc631c270
Merge branch 'ph3-initd'
2018-06-16 17:39:02 +00:00
Philipp Schafft
be0bf035c7
Update: Added comments to make code easier to understand
2018-06-16 17:38:35 +00:00
Philipp Schafft
2b3f07e9b0
Feature: Allow using default config filename.
...
This uses the new configure option --with-default-config=PATH.
2018-06-16 17:33:14 +00:00
Philipp Schafft
452c2b17d3
Fix: Use size_t not int
2018-06-16 17:30:42 +00:00
Philipp Schafft
beb4523b84
Cleanup: Replaced magic number with sizeof()
2018-06-16 17:29:51 +00:00
Philipp Schafft
8a69db3ab7
Update: Allow running as root IF Icecast has PID=1
2018-06-16 17:28:42 +00:00
Philipp Schafft
cc0f62df89
Update: Log PID on process startup.
2018-06-16 17:27:59 +00:00
Philipp Schafft
425ad9d3dd
Updated submodules
2018-06-16 17:22:04 +00:00
Philipp Schafft
194aa161e9
Merge branch 'autotools-cleanup'
2018-06-16 17:07:58 +00:00
Marvin Scholz
e0c227d4d9
Only set ICECAST_DEFAULT_CONFIG if supplied
2018-06-16 18:51:25 +02:00
Marvin Scholz
a1ccd0adec
Add --with-default-config=PATH option
2018-06-16 18:42:03 +02:00
Marvin Scholz
645ab42896
Update m4 to include needed macros
2018-06-16 17:13:02 +02:00
Marvin Scholz
60ec2d4878
Add -std=c99 arg to compiler if possible
2018-06-16 17:12:34 +02:00
Philipp Schafft
55e34b3b52
Fix: Removed erroneously defined types
2018-06-16 14:30:46 +00:00
Marvin Scholz
772ce30609
Add missing _GNU_SOURCE define
2018-06-16 15:34:56 +02:00
Philipp Schafft
02fb2aa97b
Fix: Corrected the include of <stdint.h> and <inttypes.h> to match IEEE Std 1003.1-2017 ("POSIX 7")
2018-06-16 15:34:56 +02:00
Marvin Scholz
d1142e2c4d
Backwards-compatible usage of AM_SILENT_RULES for ancient automake versions
2018-06-16 15:34:56 +02:00
Philipp Schafft
fd1f34c1e2
Cleanup: HAVE_AUTH_URL -> HAVE_CURL
2018-06-16 15:34:56 +02:00
Philipp Schafft
8b3372e085
Cleanup: Removed unused (and broken?) libkate support from format_kate.c
2018-06-16 15:34:56 +02:00
Marvin Scholz
c89eec920f
Simplify admin Makefiles
2018-06-16 15:34:56 +02:00
Marvin Scholz
0499efe9a7
Remove more unnecessary AUTOMAKE_OPTIONS
...
The foreign option is set in AM_INIT_AUTOMAKE already
2018-06-16 15:34:56 +02:00
Marvin Scholz
1c901869e6
Remove libkate support
...
Basic kate support is possible without needing libkate
2018-06-16 15:34:56 +02:00
Marvin Scholz
5b59406718
Move AC_CONFIG_HEADERS to the bottom
2018-06-16 15:34:56 +02:00
Marvin Scholz
e7599f6fe5
Simplify web makefiles
2018-06-16 15:34:56 +02:00
Marvin Scholz
39a0ca8491
Makefiles cleanup
2018-06-16 15:34:56 +02:00
Marvin Scholz
7f13d02184
Add makefile conditionals for features
2018-06-16 15:34:56 +02:00
Marvin Scholz
22a1887afb
Remove unnecessary substitutions
2018-06-16 15:34:56 +02:00
Marvin Scholz
3b5d5b7b93
Makefile formatting improvements
2018-06-16 15:34:56 +02:00
Marvin Scholz
af608dd120
Remove debug and profile targets
2018-06-16 15:34:56 +02:00
Marvin Scholz
25f62e8a00
Do not include m4 files in dist
2018-06-16 15:34:56 +02:00
Marvin Scholz
3f7d218576
Remove automake options from makefiles
2018-06-16 15:34:56 +02:00
Marvin Scholz
81f64401d6
Add dist-zip to automake options
2018-06-16 15:34:56 +02:00
Marvin Scholz
623c0d6bd6
Add options for cURL and future client tests
2018-06-16 15:34:56 +02:00
Marvin Scholz
e9f0331b23
doc: Remove unnecessary Makefiles
2018-06-16 15:34:56 +02:00
Marvin Scholz
d915e0a9dd
Remove no longer required foreign option, it's in the configure.ac now
2018-06-16 15:34:56 +02:00
Marvin Scholz
66af62bc25
Print configuration at the end of configure
...
This makes it easy to know which things will be enabled or
disabled, depending which deps were found or not found.
2018-06-16 15:34:56 +02:00
Marvin Scholz
61ac5f9b9c
Rewrite configure.ac
...
This rewritten configure.ac is nearly independent of any of the xiph m4
macros, most of which are ancient and can nowadays easily replaced
with pkg-config.
2018-06-16 15:34:56 +02:00
Marvin Scholz
6569d83f23
Update m4
2018-06-16 15:34:56 +02:00
Philipp Schafft
f89e85c797
Merge branch 'ph3-multi-admin'
2018-06-09 12:45:47 +00:00
Philipp Schafft
822057ca57
Feature: Allow registering new admin commands on the fly
2018-06-09 12:43:09 +00:00
Philipp Schafft
bc38c93545
Update: Check admin command table before use
2018-06-09 12:43:09 +00:00
Philipp Schafft
86154bc6d9
Feature: Set foundation for having multiple admin/ sub-directories
2018-06-09 12:43:09 +00:00
Philipp Schafft
9fb26c4607
Fix: Allow non-1-byte PATH_SEPARATOR in admin_send_response()
2018-06-09 11:11:29 +00:00
Philipp Schafft
442960ac4a
Feature: Added admin format ADMIN_FORMAT_AUTO
2018-06-09 10:43:57 +00:00
Philipp Schafft
88ca36545e
Update: Converted the response format for admin requests into a enum
2018-06-09 10:34:34 +00:00
Philipp Schafft
91134b75c0
Fix: Fixed memory leak with new prefixmatch="" attribute of <resource>
2018-06-06 10:50:56 +00:00
Philipp Schafft
819dc9c72e
Fix: Fixed memory leak with new way of sending requests to corresponding endpoints
2018-05-28 14:59:47 +00:00
Philipp Schafft
9b8ca49f99
Cleanup: Dispatch admin requests not as part of GET request handling but more general
2018-05-28 14:59:43 +00:00
Philipp Schafft
728ed8575d
Cleanup: Massive cleanup of the <resource>-tag handling
2018-05-28 14:45:54 +00:00