diff --git a/icecast-curl.patch b/icecast-curl.patch new file mode 100644 index 0000000..20fb3fe --- /dev/null +++ b/icecast-curl.patch @@ -0,0 +1,10 @@ +--- icecast-2.3.1/src/auth_url.c.curl 2005-11-30 13:16:17.000000000 -0500 ++++ icecast-2.3.1/src/auth_url.c 2006-11-06 07:21:06.000000000 -0500 +@@ -518,7 +518,6 @@ + curl_easy_setopt (url_info->handle, CURLOPT_WRITEDATA, url_info->handle); + curl_easy_setopt (url_info->handle, CURLOPT_NOSIGNAL, 1L); + curl_easy_setopt (url_info->handle, CURLOPT_TIMEOUT, 15L); +- curl_easy_setopt (url_info->handle, CURLOPT_PASSWDFUNCTION, my_getpass); + curl_easy_setopt (url_info->handle, CURLOPT_ERRORBUFFER, &url_info->errormsg[0]); + + if (url_info->username && url_info->password) diff --git a/icecast.spec b/icecast.spec index 5c237e6..0c44cd5 100644 --- a/icecast.spec +++ b/icecast.spec @@ -1,7 +1,7 @@ Summary: ShoutCast compatible streaming media server Name: icecast Version: 2.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/Multimedia License: GPL URL: http://www.icecast.org/ @@ -10,6 +10,7 @@ Source1: status3.xsl Source2: icecast.init Source3: icecast.logrotate Source4: icecast.xml +Patch1: icecast-curl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Provides: streaming-server @@ -36,6 +37,7 @@ supports open standards for commuincation and interaction. %prep %setup -q +%patch1 -p1 -b .curl find -name "*.html" -or -name "*.jpg" -or -name "*.css" | xargs chmod 644 %{__sed} -i -e 's/icecast2/icecast/g' debian/icecast2.1 @@ -107,6 +109,9 @@ fi %dir %attr(-,icecast,icecast) %{_localstatedir}/run/icecast %changelog +* Mon Nov 06 2006 Jindrich Novy - 2.3.1-4 +- rebuild because of the new curl + * Fri Sep 08 2006 Andreas Thienemann - 2.3.1-3 - FE6 Rebuild