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 - [email protected]
+
+- 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 <[email protected]>
-    Barath Raghavan <[email protected]>
-    Alexander Hav�ng <[email protected]>
-
 %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>
          <!--

++++++ icecast-fix-no-add-needed.patch ++++++
--- configure.in.orig
+++ configure.in
@@ -1,6 +1,7 @@
 AC_INIT([Icecast], [2.3.2], [[email protected]])
 
 AC_PREREQ(2.54)
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_SRCDIR(src/main.c)
 dnl Process this file with autoconf to produce a configure script.
 
@@ -8,7 +9,8 @@ AM_INIT_AUTOMAKE
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
 AC_CANONICAL_HOST
 AC_PROG_LIBTOOL
 AC_SYS_LARGEFILE
@@ -22,7 +24,6 @@ if test -z "$GCC"; then
 else
     XIPH_CPPFLAGS="-Wall -ffast-math -fsigned-char"
     PROFILE="-pg -g"
-    AC_DEFINE([_GNU_SOURCE], 1, [Define to include GNU extensions to POSIX])
 fi
 
 dnl Checks for programs.
@@ -49,10 +50,12 @@ AC_SEARCH_LIBS(nanosleep, rt posix4, AC_
 XIPH_NET
 
 dnl -- configure options --
-
+XIPH_PATH_XML
 XIPH_PATH_XSLT
 XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$XSLT_CFLAGS])
 XIPH_VAR_PREPEND([XIPH_LIBS],[$XSLT_LIBS])
+XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$XML_CFLAGS])
+XIPH_VAR_PREPEND([XIPH_LIBS],[$XML_LIBS])
 
 XIPH_PATH_VORBIS([
     XIPH_VAR_APPEND([XIPH_CPPFLAGS],[$VORBIS_CFLAGS])

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to