Hello community,
here is the log from the commit of package icecast for openSUSE:Factory
checked in at Mon Sep 5 18:16:01 CEST 2011.
--------
--- icecast/icecast.changes 2008-06-18 17:18:15.000000000 +0200
+++ icecast/icecast.changes 2011-08-29 18:20:11.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 29 16:19:14 UTC 2011 - crrodriguez@opensuse.org
+
+- Fix build with --no-add-needed
+- Enable SSL support.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
icecast-fix-no-add-needed.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ icecast.spec ++++++
--- /var/tmp/diff_new_pack.LvUU4Y/_old 2011-09-05 18:14:58.000000000 +0200
+++ /var/tmp/diff_new_pack.LvUU4Y/_new 2011-09-05 18:14:58.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package icecast (Version 2.3.2)
+# spec file for package icecast
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,60 +15,63 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: icecast
-BuildRequires: curl-devel libtheora-devel libvorbis-devel libxslt-devel speex-devel
-PreReq: /usr/sbin/useradd /usr/sbin/groupadd %insserv_prereq %fillup_prereq
-Summary: Audio Streaming Server
Version: 2.3.2
-Release: 52
-Group: Productivity/Networking/Web/Servers
-AutoReqProv: on
-License: GPL v2 or later
+Release: 62
+License: GPLv2+
+Summary: Audio Streaming Server
Url: http://www.icecast.org/
+Group: Productivity/Networking/Web/Servers
Source: %{name}-%{version}.tar.bz2
Source1: icecast.init
-Patch: icecast-2.3.1_runas_icecast_user.patch
+# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
+Patch0: icecast-2.3.1_runas_icecast_user.patch
+# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
+Patch1: icecast-fix-no-add-needed.patch
+BuildRequires: curl-devel
+BuildRequires: libtheora-devel
+BuildRequires: libvorbis-devel
+BuildRequires: libxslt-devel
+BuildRequires: speex-devel
+BuildRequires: openssl-devel
+PreReq: %fillup_prereq
+PreReq: %insserv_prereq
+PreReq: /usr/sbin/groupadd
+PreReq: /usr/sbin/useradd
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Icecast is a MP3 and OGG streaming server able to serve many clients
with MP3 and OGG audio.
-
-
-Authors:
---------
- Jack Moffitt
- Barath Raghavan
- Alexander Hav�ng
-
%prep
-%setup
-%patch
+%setup -q
+%patch0
+%patch1
%build
+autoreconf -fiv
%configure
make
%install
-%makeinstall
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+%make_install
+rm -rf %{buildroot}%{_datadir}/doc/%{name}
# init script
-%{__install} -d -m 0755 %{buildroot}%{_sbindir}
-%{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name}
-%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
+install -d -m 0755 %{buildroot}%{_sbindir}
+install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/%{name}
+ln -s -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
# create missing dirs
-%{__install} -d -m 0755 %{buildroot}%{_var}/{lib,log}/%{name}
+install -d -m 0755 %{buildroot}%{_localstatedir}/{lib,log}/%{name}
%clean
-[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
+[ %{buildroot} != "/" -a -d %{buildroot} ] && rm -rf %{buildroot}
%pre
/usr/sbin/groupadd -r %{name} &>/dev/null || :
-/usr/sbin/useradd -o -g %{name} -s /bin/false -r -c "Icecast streaming server" -d %{_var}/lib/%{name} %{name} &>/dev/null || :
+/usr/sbin/useradd -o -g %{name} -s /bin/false -r -c "Icecast streaming server" -d %{_localstatedir}/lib/%{name} %{name} &>/dev/null || :
%post
%fillup_and_insserv %{name}
@@ -87,13 +90,13 @@
%doc doc/*.jpg
%doc doc/*.css
%doc conf/*.dist
-%config(noreplace) %attr(640,root,%{name}) /etc/%{name}.xml
+%config(noreplace) %attr(640,root,%{name}) %{_sysconfdir}/%{name}.xml
%{_bindir}/icecast
%{_datadir}/icecast
%{_sbindir}/rc%{name}
%{_sysconfdir}/init.d/%{name}
# TODO: enable chroot support in this dir
-%{_var}/lib/%{name}
-%attr(755,%{name},%{name}) %{_var}/log/%{name}
+%{_localstatedir}/lib/%{name}
+%attr(755,%{name},%{name}) %{_localstatedir}/log/%{name}
%changelog
++++++ icecast-2.3.1_runas_icecast_user.patch ++++++
--- /var/tmp/diff_new_pack.LvUU4Y/_old 2011-09-05 18:14:58.000000000 +0200
+++ /var/tmp/diff_new_pack.LvUU4Y/_new 2011-09-05 18:14:58.000000000 +0200
@@ -1,5 +1,3 @@
-Index: conf/icecast_minimal.xml.in
-===================================================================
--- conf/icecast_minimal.xml.in.orig
+++ conf/icecast_minimal.xml.in
@@ -32,4 +32,19 @@
@@ -22,11 +20,9 @@
+ </changeowner>
+ </security>
</icecast>
-Index: conf/icecast_shoutcast_compat.xml.in
-===================================================================
--- conf/icecast_shoutcast_compat.xml.in.orig
+++ conf/icecast_shoutcast_compat.xml.in
-@@ -56,5 +56,17 @@
+@@ -44,5 +44,17 @@
</logging>
<security>
<chroot>0</chroot>
@@ -44,11 +40,9 @@
+ </changeowner>
</security>
</icecast>
-Index: conf/icecast_urlauth.xml.in
-===================================================================
--- conf/icecast_urlauth.xml.in.orig
+++ conf/icecast_urlauth.xml.in
-@@ -45,5 +45,17 @@
+@@ -43,5 +43,17 @@
</logging>
<security>
<chroot>0</chroot>
@@ -66,11 +60,9 @@
+ </changeowner>
</security>
</icecast>
-Index: conf/icecast.xml.in
-===================================================================
--- conf/icecast.xml.in.orig
+++ conf/icecast.xml.in
-@@ -172,10 +172,16 @@
+@@ -165,10 +165,16 @@
<security>
<chroot>0</chroot>
Reply