1 |
polynomial-c 14/05/23 17:14:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: icecast-2.4.0.ebuild |
5 |
Removed: icecast-2.3.3-r1.ebuild |
6 |
Log: |
7 |
Version bump. Removed old. Added rewritten init script |
8 |
|
9 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.103 net-misc/icecast/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/ChangeLog?rev=1.103&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/ChangeLog?rev=1.103&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/ChangeLog?r1=1.102&r2=1.103 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v |
21 |
retrieving revision 1.102 |
22 |
retrieving revision 1.103 |
23 |
diff -u -r1.102 -r1.103 |
24 |
--- ChangeLog 26 Nov 2013 19:51:40 -0000 1.102 |
25 |
+++ ChangeLog 23 May 2014 17:14:14 -0000 1.103 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for net-misc/icecast |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.102 2013/11/26 19:51:40 hwoarang Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/ChangeLog,v 1.103 2014/05/23 17:14:14 polynomial-c Exp $ |
32 |
+ |
33 |
+*icecast-2.4.0 (23 May 2014) |
34 |
+ |
35 |
+ 23 May 2014; Lars Wendler <polynomial-c@g.o> -icecast-2.3.3-r1.ebuild, |
36 |
+ +icecast-2.4.0.ebuild, +files/init.d.icecast-2: |
37 |
+ Version bump. Removed old. Added rewritten init script. Permission kindly |
38 |
+ granted by hwoarang. |
39 |
|
40 |
*icecast-2.3.3-r3 (26 Nov 2013) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 net-misc/icecast/icecast-2.4.0.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/icecast-2.4.0.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icecast/icecast-2.4.0.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: icecast-2.4.0.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.4.0.ebuild,v 1.1 2014/05/23 17:14:14 polynomial-c Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
inherit eutils autotools systemd user |
58 |
|
59 |
DESCRIPTION="An opensource alternative to shoutcast that supports mp3, ogg (vorbis/theora) and aac streaming" |
60 |
HOMEPAGE="http://www.icecast.org/" |
61 |
SRC_URI="http://downloads.xiph.org/releases/icecast/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
66 |
IUSE="kate logrotate +speex +ssl +theora +yp" |
67 |
|
68 |
#Although there is a --with-ogg and --with-orbis configure option, they're |
69 |
#only useful for specifying paths, not for disabling. |
70 |
DEPEND="dev-libs/libxslt |
71 |
dev-libs/libxml2 |
72 |
media-libs/libogg |
73 |
media-libs/libvorbis |
74 |
kate? ( media-libs/libkate ) |
75 |
logrotate? ( app-admin/logrotate ) |
76 |
speex? ( media-libs/speex ) |
77 |
theora? ( media-libs/libtheora ) |
78 |
yp? ( net-misc/curl ) |
79 |
ssl? ( dev-libs/openssl )" |
80 |
RDEPEND="${DEPEND}" |
81 |
|
82 |
pkg_setup() { |
83 |
enewuser icecast -1 -1 -1 nogroup |
84 |
} |
85 |
|
86 |
src_prepare() { |
87 |
# bug #368539 |
88 |
epatch "${FILESDIR}"/${PN}-2.3.3-libkate.patch |
89 |
# bug #430434 |
90 |
epatch "${FILESDIR}"/${PN}-2.3.3-fix-xiph_openssl.patch |
91 |
eautoreconf |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
econf \ |
96 |
--disable-dependency-tracking \ |
97 |
--docdir=/usr/share/doc/${PF} \ |
98 |
--sysconfdir=/etc/icecast2 \ |
99 |
$(use_enable kate) \ |
100 |
$(use_with theora) \ |
101 |
$(use_with speex) \ |
102 |
$(use_with yp curl) \ |
103 |
$(use_with ssl openssl) \ |
104 |
$(use_enable yp) |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
emake DESTDIR="${D}" install |
109 |
dodoc AUTHORS README TODO HACKING NEWS conf/icecast.xml.dist |
110 |
dohtml -A chm,hhc,hhp doc/* |
111 |
|
112 |
newinitd "${FILESDIR}"/init.d.icecast-2 icecast |
113 |
systemd_dounit "${FILESDIR}"/${PN}.service |
114 |
|
115 |
insinto /etc/icecast2 |
116 |
doins "${FILESDIR}"/icecast.xml |
117 |
fperms 600 /etc/icecast2/icecast.xml |
118 |
|
119 |
if use logrotate; then |
120 |
dodir /etc/logrotate.d |
121 |
insopts -m0644 |
122 |
insinto /etc/logrotate.d |
123 |
newins "${FILESDIR}"/${PN}.logrotate ${PN} |
124 |
fi |
125 |
diropts -m0764 -o icecast -g nogroup |
126 |
dodir /var/log/icecast |
127 |
keepdir /var/log/icecast |
128 |
rm -rf "${D}"/usr/share/doc/icecast |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
touch "${ROOT}"var/log/icecast/{access,error}.log |
133 |
chown icecast:nogroup "${ROOT}"var/log/icecast/{access,error}.log |
134 |
} |