Prepared new package
Romain Beauxis
14 years ago
0 | icecast2 (2.3.2-3) UNRELEASED; urgency=low | |
1 | ||
0 | icecast2 (2.3.2-3) unstable; urgency=low | |
1 | ||
2 | [ Jonas Smedegaard ] | |
2 | 3 | * Cosmetic changes to debian/rules. |
3 | 4 | |
4 | -- Jonas Smedegaard <dr@jones.dk> Tue, 24 Jun 2008 01:17:23 +0200 | |
5 | [ Romain Beauxis ] | |
6 | * Bumped standards version to 3.8.2 | |
7 | * Bumped compat to 7 | |
8 | * Removed inactive uploader. | |
9 | * Added missing xspf.xsl. This file is missing | |
10 | from upstream's 2.3.2 tarball. | |
11 | Closes: #513398 | |
12 | * Added test for icecast2 running process in | |
13 | logrotate's postrotate script. | |
14 | Closes: #522703 | |
15 | * Relaxed non-config file permissions in /etc/icecast2 | |
16 | Closes: #519486 | |
17 | * Added retry option for icecast2's init.d restart action. | |
18 | Closes: #533182 | |
19 | * Changed recommends on ices2 to suggests now that | |
20 | recommended packages are installed by default. | |
21 | * Removed path in postrm script commands, see lintian | |
22 | warning 'command-with-path-in-maintainer-script'. | |
23 | ||
24 | -- Romain Beauxis <toots@rastageeks.org> Fri, 31 Jul 2009 02:50:37 +0200 | |
5 | 25 | |
6 | 26 | icecast2 (2.3.2-2) unstable; urgency=low |
7 | 27 |
1 | 1 | Section: sound |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Debian Icecast team <pkg-icecast-devel@lists.alioth.debian.org> |
4 | Uploaders: Guillaume Pellerin <yomguy@altern.org>, Romain Beauxis <toots@rastageeks.org>, Ying-Chun Liu <grandpaul@gmail.com>, Jonas Smedegaard <dr@jones.dk> | |
5 | Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), libtool, automake1.10, autoconf, dh-buildinfo, debhelper (>= 5.0.44), libogg-dev (>> 1.0.0), libvorbis-dev (>> 1.0.0), libxslt1-dev | libxslt-dev, libxml2-dev, libcurl4-gnutls-dev, libtheora-dev (>= 0.0.0.alpha7), libspeex-dev | |
4 | Uploaders: Guillaume Pellerin <yomguy@altern.org>, Romain Beauxis <toots@rastageeks.org>, Jonas Smedegaard <dr@jones.dk> | |
5 | Build-Depends: cdbs, cdbs (>= 0.4.39), devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), libtool, automake1.10, autoconf, dh-buildinfo, cdbs (>= 0.4.53), debhelper (>= 7.0.1), libogg-dev (>> 1.0.0), libvorbis-dev (>> 1.0.0), libxslt1-dev | libxslt-dev, libxml2-dev, libcurl4-gnutls-dev, libtheora-dev (>= 0.0.0.alpha7), libspeex-dev | |
6 | 6 | Vcs-Svn: svn://svn.debian.org/svn/pkg-icecast/icecast2/trunk |
7 | 7 | Vcs-Browser: http://svn.debian.org/wsvn/pkg-icecast/icecast2/trunk |
8 | Standards-Version: 3.7.3 | |
8 | Standards-Version: 3.8.2 | |
9 | 9 | Homepage: http://www.icecast.org/ |
10 | 10 | |
11 | 11 | Package: icecast2 |
12 | 12 | Architecture: any |
13 | Depends: adduser, ${shlibs:Depends} | |
14 | Recommends: ices2 | |
13 | Depends: adduser, ${shlibs:Depends}, ${misc:Depends} | |
14 | Suggests: ices2 | |
15 | 15 | Description: Ogg Vorbis and MP3 streaming media server |
16 | 16 | Icecast is a streaming media server which currently supports Ogg |
17 | 17 | Vorbis and MP3 audio streams. It can be used to create an Internet |
1 | 1 | Section: sound |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Debian Icecast team <pkg-icecast-devel@lists.alioth.debian.org> |
4 | Uploaders: Guillaume Pellerin <yomguy@altern.org>, Romain Beauxis <toots@rastageeks.org>, Ying-Chun Liu <grandpaul@gmail.com>, Jonas Smedegaard <dr@jones.dk> | |
4 | Uploaders: Guillaume Pellerin <yomguy@altern.org>, Romain Beauxis <toots@rastageeks.org>, Jonas Smedegaard <dr@jones.dk> | |
5 | 5 | Build-Depends: @cdbs@ |
6 | 6 | Vcs-Svn: svn://svn.debian.org/svn/pkg-icecast/icecast2/trunk |
7 | 7 | Vcs-Browser: http://svn.debian.org/wsvn/pkg-icecast/icecast2/trunk |
8 | Standards-Version: 3.7.3 | |
8 | Standards-Version: 3.8.2 | |
9 | 9 | Homepage: http://www.icecast.org/ |
10 | 10 | |
11 | 11 | Package: icecast2 |
12 | 12 | Architecture: any |
13 | Depends: adduser, ${shlibs:Depends} | |
14 | Recommends: ices2 | |
13 | Depends: adduser, ${shlibs:Depends}, ${misc:Depends} | |
14 | Suggests: ices2 | |
15 | 15 | Description: Ogg Vorbis and MP3 streaming media server |
16 | 16 | Icecast is a streaming media server which currently supports Ogg |
17 | 17 | Vorbis and MP3 audio streams. It can be used to create an Internet |
59 | 59 | ;; |
60 | 60 | restart) |
61 | 61 | echo -n "Restarting $DESC: " |
62 | start-stop-daemon --stop --oknodo --quiet --exec $DAEMON | |
63 | sleep 1 | |
62 | # Send TERM after 5 seconds, wait at most 30 seconds. | |
63 | start-stop-daemon --stop --oknodo --retry TERM/5/0/30 --quiet --exec $DAEMON | |
64 | 64 | start-stop-daemon --start --quiet --chuid $USERID:$GROUPID \ |
65 | 65 | --exec $DAEMON -- -b -c $CONFIGFILE |
66 | 66 | echo "$NAME." |
2 | 2 | missingok |
3 | 3 | rotate 7 |
4 | 4 | postrotate |
5 | invoke-rc.d --quiet icecast2 reload > /dev/null | |
5 | if pgrep icecast2 >/dev/null; then | |
6 | invoke-rc.d --quiet icecast2 reload > /dev/null | |
7 | fi | |
6 | 8 | endscript |
7 | 9 | compress |
8 | 10 | notifempty |
39 | 39 | fi |
40 | 40 | |
41 | 41 | chown -R icecast2: /var/log/icecast2 /etc/icecast2 |
42 | chmod -R ug=rw,o=,ug+X /etc/icecast2 | |
42 | # Set all file readable by default | |
43 | chmod -R ug=rw,o=r,ugo+X /etc/icecast2 | |
44 | # Tightened permissions for the config file | |
45 | chmod -R ug=rw,o=,ug+X /etc/icecast2/icecast.xml | |
43 | 46 | |
44 | 47 | #DEBHELPER# |
45 | 48 |
7 | 7 | rm -rf /var/log/icecast2 |
8 | 8 | |
9 | 9 | if id icecast2 >/dev/null 2>&1; then |
10 | if [ -x /usr/sbin/deluser ]; then | |
11 | /usr/sbin/deluser icecast2 | |
10 | if which deluser > /dev/null; then | |
11 | deluser icecast2 | |
12 | 12 | fi |
13 | 13 | fi |
14 | 14 | |
15 | 15 | # Remove group only if empty |
16 | 16 | if getent group icecast | awk -F: ' { print $4 } ' | egrep -cq '^$'; then |
17 | if [ -x /usr/sbin/groupdel ]; then | |
18 | /usr/sbin/groupdel icecast || echo "Error occured removing group icecast, please do it manually." | |
17 | if which groupdel > /dev/null; then | |
18 | groupdel icecast || echo "Error occured removing group icecast, please do it manually." | |
19 | 19 | fi |
20 | 20 | fi |
21 | 21 | ;; |
0 | diff -ruN icecast2-2.3.1.orig/Makefile.am icecast2-2.3.1/Makefile.am | |
1 | --- icecast2-2.3.1.orig/Makefile.am 2005-09-23 23:17:44.000000000 +0200 | |
2 | +++ icecast2-2.3.1/Makefile.am 2006-08-19 21:29:12.000000000 +0200 | |
0 | Index: icecast2-2.3.2/Makefile.am | |
1 | =================================================================== | |
2 | --- icecast2-2.3.2.orig/Makefile.am 2007-11-20 03:38:17.000000000 +0100 | |
3 | +++ icecast2-2.3.2/Makefile.am 2009-07-31 03:01:27.000000000 +0200 | |
3 | 4 | @@ -3,7 +3,7 @@ |
4 | AUTOMAKE_OPTIONS = 1.6 foreign dist-zip | |
5 | AUTOMAKE_OPTIONS = foreign dist-zip | |
5 | 6 | ACLOCAL_AMFLAGS = -I m4 |
6 | 7 | |
7 | 8 | -SUBDIRS = src conf debian doc web admin win32 examples |
9 | 10 | |
10 | 11 | EXTRA_DIST = HACKING m4/acx_pthread.m4 m4/ogg.m4 \ |
11 | 12 | m4/theora.m4 m4/vorbis.m4 m4/speex.m4 \ |
12 | diff -ruN icecast2-2.3.1.orig/configure.in icecast2-2.3.1/configure.in | |
13 | --- icecast2-2.3.1.orig/configure.in.orig 2005-11-30 19:16:36.000000000 +0100 | |
14 | +++ icecast2-2.3.1/configure.in 2006-08-19 21:50:34.000000000 +0200 | |
15 | @@ -146,7 +146,7 @@ | |
16 | AC_SUBST(PROFILE) | |
17 | AC_SUBST(ICECAST_OPTIONAL) | |
13 | Index: icecast2-2.3.2/configure.in | |
14 | =================================================================== | |
15 | --- icecast2-2.3.2.orig/configure.in 2008-05-27 02:21:38.000000000 +0200 | |
16 | +++ icecast2-2.3.2/configure.in 2009-07-31 03:01:27.000000000 +0200 | |
17 | @@ -150,7 +150,7 @@ | |
18 | AC_SUBST(HAVE_KATE) | |
19 | AC_SUBST(KATE_LIBS) | |
18 | 20 | |
19 | 21 | -AC_OUTPUT([Makefile conf/Makefile debian/Makefile src/Makefile src/avl/Makefile |
20 | 22 | +AC_OUTPUT([Makefile conf/Makefile src/Makefile src/avl/Makefile |
0 | Index: icecast2-2.3.2/admin/Makefile.am | |
1 | =================================================================== | |
2 | --- icecast2-2.3.2.orig/admin/Makefile.am 2005-07-04 00:11:55.000000000 +0200 | |
3 | +++ icecast2-2.3.2/admin/Makefile.am 2009-07-31 03:02:07.000000000 +0200 | |
4 | @@ -4,5 +4,5 @@ | |
5 | ||
6 | admindir = $(pkgdatadir)/admin | |
7 | dist_admin_DATA = listclients.xsl listmounts.xsl moveclients.xsl response.xsl \ | |
8 | - stats.xsl manageauth.xsl updatemetadata.xsl | |
9 | + stats.xsl manageauth.xsl updatemetadata.xsl xspf.xsl | |
10 | ||
11 | Index: icecast2-2.3.2/admin/xspf.xsl | |
12 | =================================================================== | |
13 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | |
14 | +++ icecast2-2.3.2/admin/xspf.xsl 2009-07-31 03:02:07.000000000 +0200 | |
15 | @@ -0,0 +1,74 @@ | |
16 | +<!-- | |
17 | + XSPF xslt stylesheet for Icecast 2.3.2 and above | |
18 | + Copyright (C) 2007 Thomas B. Ruecker, tbr@ruecker-itk.de | |
19 | + | |
20 | + This program is free software; you can redistribute it and/or | |
21 | + modify it under the terms of the GNU General Public License | |
22 | + as published by the Free Software Foundation; either version 2 | |
23 | + of the License, or (at your option) any later version. | |
24 | + | |
25 | + This program is distributed in the hope that it will be useful, | |
26 | + but WITHOUT ANY WARRANTY; without even the implied warranty of | |
27 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
28 | + GNU General Public License for more details. | |
29 | + | |
30 | + You should have received a copy of the GNU General Public License | |
31 | + along with this program; if not, write to the | |
32 | + Free Software Foundation, Inc., | |
33 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA | |
34 | +--> | |
35 | + | |
36 | +<xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" > | |
37 | +<xsl:output omit-xml-declaration="no" media-type="application/xspf+xml" | |
38 | + method="xml" indent="yes" encoding="UTF-8" /> | |
39 | +<xsl:template match = "/icestats" > | |
40 | +<playlist version="1" xmlns="http://xspf.org/ns/0/"> | |
41 | + <title><xsl:value-of select="server" /></title> | |
42 | + <creator><xsl:value-of select="server" /></creator> | |
43 | + <trackList > | |
44 | +<!-- end of "header" --> | |
45 | + | |
46 | +<xsl:for-each select="source"> | |
47 | + | |
48 | +<track> | |
49 | + <location><xsl:value-of select="listenurl" /></location> | |
50 | + | |
51 | + | |
52 | +<xsl:if test="artist"><creator><xsl:value-of select="artist" /></creator></xsl:if> | |
53 | +<title><xsl:value-of select="title" /></title> | |
54 | +<!-- The <xsl:text>\n</xsl:text> elements in the following part are used | |
55 | +to enforce linebreaks this format seems to be expected by clients --> | |
56 | +<annotation> | |
57 | +<xsl:if test="server_name">Stream Title: <xsl:value-of select="server_name" /><xsl:text> | |
58 | +</xsl:text></xsl:if> | |
59 | +<xsl:if test="server_description">Stream Description: <xsl:value-of select="server_description" /></xsl:if> | |
60 | +Content Type:<xsl:value-of select="server_type" /><xsl:text> | |
61 | +</xsl:text> | |
62 | +<xsl:if test="bitrate">Bitrate: <xsl:value-of select="bitrate" /><xsl:text> | |
63 | +</xsl:text></xsl:if> | |
64 | +<xsl:if test="quality">Quality: <xsl:value-of select="quality" /><xsl:text> | |
65 | +</xsl:text></xsl:if> | |
66 | +<xsl:if test="video_quality">Video Quality: <xsl:value-of select="video_quality" /><xsl:text> | |
67 | +</xsl:text></xsl:if> | |
68 | +<xsl:if test="frame_size">Framesize: <xsl:value-of select="frame_size" /><xsl:text> | |
69 | +</xsl:text></xsl:if> | |
70 | +<xsl:if test="frame_rate">Framerate: <xsl:value-of select="frame_rate" /><xsl:text> | |
71 | +</xsl:text></xsl:if> | |
72 | +<xsl:if test="listeners">Current Listeners: <xsl:value-of select="listeners" /><xsl:text> | |
73 | +</xsl:text></xsl:if> | |
74 | +<xsl:if test="listener_peak">Peak Listeners: <xsl:value-of select="listener_peak" /><xsl:text> | |
75 | +</xsl:text></xsl:if> | |
76 | +<xsl:if test="genre">Stream Genre: <xsl:value-of select="genre" /></xsl:if> | |
77 | +</annotation> | |
78 | + | |
79 | +<xsl:if test="server_url"><info><xsl:value-of select="server_url" /></info></xsl:if> | |
80 | + | |
81 | +</track> | |
82 | + | |
83 | +</xsl:for-each> | |
84 | +</trackList> | |
85 | +</playlist> | |
86 | + | |
87 | +</xsl:template> | |
88 | +</xsl:stylesheet> | |
89 | + |