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