1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
Commit Graph

688 Commits

Author SHA1 Message Date
Karl Heyes
f2e1bc2419 handle error returned from listening sockets, can cause busy looping
svn path=/trunk/icecast/; revision=4986
2003-06-20 18:50:24 +00:00
brendan
784fe52e85 Whoops! make install could overwrite an existing icecast.xml.
Install icecast.xml.dist in doc
Install as $(sysconfdir)/icecast.xml only if that file doesn't already
exist.

svn path=/trunk/icecast/; revision=4983
2003-06-20 04:01:31 +00:00
Karl Heyes
ea2dc4a67f ermmm, let's use the right operator.
svn path=/trunk/httpp/; revision=4963
2003-06-18 15:52:25 +00:00
Karl Heyes
032ad5d9ff minor cleanup, removes compiler warning, makes it static, and doesn't
re-evaluate string length each time.

svn path=/trunk/httpp/; revision=4961
2003-06-18 11:13:11 +00:00
Karl Heyes
a4d20515f1 remove file descriptor leak when IPv6 is being used.
svn path=/trunk/net/; revision=4960
2003-06-18 11:05:49 +00:00
brendan
49c6946c07 Karl's simplified and cleaned up ogg/vorbis macros. This will push back
release a bit unfortunately.

svn path=/trunk/m4/; revision=4958
2003-06-18 03:55:41 +00:00
brendan
e19a7af1b1 Fix critical TODO item 1 (make install)
ATTN Mike!

make install now installs the xsl files in pkgdatadir ($prefix/share/icecast) web
and admin directories, and builds icecast.xml accordingly. icecast.xml is now
installed in $sysconfdir/etc, and IMHO icecast should attempt to find a config
file there, and only demand one on the command line if it can't.

svn path=/trunk/icecast/; revision=4956
2003-06-17 21:10:56 +00:00
brendan
816ca31be1 One half of rename to NEWS
svn path=/trunk/icecast/; revision=4955
2003-06-17 21:07:26 +00:00
brendan
693aca88d9 This critical item should be resolved.
svn path=/trunk/icecast/; revision=4954
2003-06-16 22:33:15 +00:00
brendan
4e4a6f9aef Copied back from ices/m4/shout.m4 1.2. There must be a better way of keeping
these m4 macros synchronised.

svn path=/trunk/m4/; revision=4944
2003-06-13 22:20:26 +00:00
brendan
055160b09a Move m4 macros from acinclude into m4 directory
Use new shout.m4 macro

svn path=/trunk/m4/; revision=4943
2003-06-13 19:22:16 +00:00
brendan
d1f807ace8 Make configure --help look pretty
svn path=/trunk/m4/; revision=4941
2003-06-13 19:08:32 +00:00
brendan
346845b22b shout.m4 has been completely rewritten for libshout 2.
It relies on pkg-config or shout-config (in that order) for compiler/linker
flags. --with-shout-prefix is gone. Also gone is --disable-shouttest. I don't
understand the advantages of that home built script over the standard header/
func checks, so I used those. I guess AC_TRY_RUN isn't invoked, but I feel
(mildly) that the business of autoconf is to ensure the program builds
correctly, not runs correctly. Run errors can usually be fixed after the build
(by tweaking LD_LIBRARY_PATH, ld.so.conf, crle etc) without rebuilding.

I've ported ices 0 to this macro in order to test it, but haven't put the various
fallbacks through the ringer yet. I will before release.

TODO: I don't think this file is being included with make dist. Should it be?
Probably. Should it be installed? Probably, but less so.

svn path=/trunk/m4/; revision=4939
2003-06-13 04:26:23 +00:00
brendan
aa9be37c26 compatibility with solaris 8 /bin/sh
svn path=/trunk/m4/; revision=4910
2003-06-10 01:42:08 +00:00
brendan
e49e587c01 gcc 3.3 warns: dereferencing type-punned pointer will break strict-aliasing rules
svn path=/trunk/httpp/; revision=4906
2003-06-09 22:30:09 +00:00
Karl Heyes
b41664426c Lets put this in the right place.
svn path=/trunk/net/; revision=4889
2003-06-06 11:19:50 +00:00
Karl Heyes
b4cdad000d Another net change, making it more bullet-proof, before could silently miss
data. so now we allocate enough space for the write to succeed fully.

svn path=/trunk/icecast/; revision=4888
2003-06-06 00:05:19 +00:00
brendan
57f344b1e3 whoops
svn path=/trunk/net/; revision=4887
2003-06-05 19:18:00 +00:00
brendan
7fce0b586b Karl's sys/select.h patch for fbsd. It must be under another std include on
OS X for some reason.

svn path=/trunk/net/; revision=4886
2003-06-05 19:02:36 +00:00
brendan
6b9457cae1 coordinate IPv6 change with net module
svn path=/trunk/icecast/; revision=4885
2003-06-05 17:55:40 +00:00
brendan
6431c0c6a9 Karl's patch for freebsd, minus the sys/select.h test which breaks on OS X.
Also enables IPV6 in libshout!

svn path=/trunk/httpp/; revision=4884
2003-06-05 17:09:12 +00:00
oddsock
a8d602fe33 fixed check for regular file type in win32-specific code
svn path=/trunk/icecast/; revision=4879
2003-06-05 04:15:58 +00:00
brendan
be325ccd24 spaces-only indentation for the love of $
svn path=/trunk/icecast/; revision=4872
2003-06-04 01:40:06 +00:00
brendan
47cef92fcc Karl's patch for a namespace collision he reports on some BSD systems.
svn path=/trunk/net/; revision=4861
2003-06-03 18:29:23 +00:00
Michael Smith
9e8e9a5024 Fix some function comments, sock_write_string() and sock_write may NOT be
called with a non-blocking socket

svn path=/trunk/net/; revision=4845
2003-05-29 12:18:04 +00:00
brendan
e4fee57702 *** empty log message ***
svn path=/trunk/icecast/; revision=4832
2003-05-28 15:14:47 +00:00
brendan
494f8fc2b6 Fix curl version test.
YP is enabled by default but automatically turned off if the curl test fails
(unless --enable-yp is explicitly passed to configure, in which case configure
will fail if the curl test fails).

svn path=/trunk/icecast/; revision=4831
2003-05-28 15:04:53 +00:00
Michael Smith
018d0a2700 Fix lots of warnings in new admin stuff - primarily wrong types in printf
format strings.

svn path=/trunk/icecast/; revision=4830
2003-05-28 13:43:48 +00:00
brendan
60bce31e41 Check whether CURLOPT_NOSIGNAL is available, or disable YP (hopefully).
svn path=/trunk/icecast/; revision=4825
2003-05-28 03:45:57 +00:00
brendan
871f3cba1e More autoconf junk
svn path=/trunk/icecast/; revision=4824
2003-05-28 02:59:12 +00:00
oddsock
8f84c0188a some win32-isms
and a bad free that valgrind yelled at me about

svn path=/trunk/icecast/; revision=4711
2003-05-15 23:19:57 +00:00
oddsock
ddfae103f0 new config param <adminroot>
added yp.icecast.net as another possible yp directory

svn path=/trunk/icecast/; revision=4710
2003-05-15 21:05:15 +00:00
oddsock
0931b3d263 added new admin directory
svn path=/trunk/icecast/; revision=4709
2003-05-15 21:04:39 +00:00
oddsock
27c0af2b1d infrastructure for new web-based admin interface
new config option <adminroot>

restructured code a bit in admin.c for a bit better extendability

svn path=/trunk/icecast/; revision=4708
2003-05-15 21:03:32 +00:00
oddsock
6c05e292fc new admin XSL templates for web interface
svn path=/trunk/icecast/; revision=4707
2003-05-15 21:01:30 +00:00
Michael Smith
67f3334add Oops. Commit updated version of TODO
svn path=/trunk/icecast/; revision=4662
2003-05-04 01:32:53 +00:00
Michael Smith
4df7eefea7 Change the <mount> section slightly and add a comment to avoid confusing
users.

svn path=/trunk/icecast/; revision=4634
2003-04-25 08:38:47 +00:00
Michael Smith
8527ed7b43 Implementation of aliases contributed by Paul Donohue <icecast@TopQuark.net>
svn path=/trunk/icecast/; revision=4629
2003-04-23 12:44:29 +00:00
Michael Smith
776f759736 And another
svn path=/trunk/icecast/; revision=4628
2003-04-23 12:28:04 +00:00
Michael Smith
9b0be2e6c1 Add a short list of the critical things to do for 2.0 to be released.
svn path=/trunk/icecast/; revision=4627
2003-04-23 12:20:45 +00:00
Karl Heyes
37989f62b2 add missing check for inet_aton, sock.h wants this.
svn path=/trunk/icecast/; revision=4622
2003-04-22 02:35:05 +00:00
Karl Heyes
1de7583029 autoconf updates. Now builds on OpenBSD
svn path=/trunk/icecast/; revision=4620
2003-04-21 17:52:12 +00:00
Karl Heyes
1f0fb0cfa3 icecast.xml in this subdirectory is now removed. This should now make the
icecast tarball build again

svn path=/trunk/icecast/; revision=4619
2003-04-21 15:00:45 +00:00
Michael Smith
5c5155b8d9 Only consider a path a candidate for file-serving if it exists AND is a normal
file (not a directory, etc.)

svn path=/trunk/icecast/; revision=4616
2003-04-18 14:59:26 +00:00
oddsock
a971f994c1 removal of some errant newlines
update of icecast.dsp for console build
update of .iss setup build file
removed icecast.xml from this dir (should never have been here)

svn path=/trunk/icecast/; revision=4615
2003-04-17 03:37:16 +00:00
oddsock
3fb7eb75fb new win32 project files for iceast2 console mode
svn path=/trunk/icecast/; revision=4614
2003-04-17 03:29:57 +00:00
oddsock
0a1ba85795 printf to stdout not valid with our win32 binary, so lets now use something that will work on win32. note that these should only be used up to the point at which logging is started, then everything should go there.
also added a new stat to represent what is currently being sent to the yp server as "what's playing"

svn path=/trunk/icecast/; revision=4613
2003-04-17 03:23:18 +00:00
Karl Heyes
9431588c99 admin.h is needed for the tarball or else it will fail to compile icecast
svn path=/trunk/icecast/; revision=4612
2003-04-17 01:03:32 +00:00
oddsock
516cee73db new parameter for the icecast.xml config file (yp timeout interval)
svn path=/trunk/icecast/; revision=4604
2003-04-11 03:14:26 +00:00
oddsock
2c2576ed4e - fixed alot of yp logic. timeouts now work properly so the tolerance of
the unavailability of yp servers is much much better now.

- new icecast config option <yp-url-timeout> to specify the timeout

- url encoding is now fixed so that the yp data is formatted much nicer (and is correct :))

- added url encoding for some fields that were not url-encoded

- modified util_dict_urlencode() to not url-encode the key (still does the value)

- new curl option (CURLOPT_NOSIGNAL) which prevents curl from using signals when
  timeouts are hit.  This new option needs curl 7.10 at least.

svn path=/trunk/icecast/; revision=4603
2003-04-11 03:00:24 +00:00