summaryrefslogtreecommitdiff
path: root/net-misc/ices
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/ices
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/ices')
-rw-r--r--net-misc/ices/Manifest9
-rw-r--r--net-misc/ices/files/ices.initd17
-rw-r--r--net-misc/ices/files/ices.initd-r113
-rw-r--r--net-misc/ices/ices-2.0.1-r1.ebuild43
-rw-r--r--net-misc/ices/ices-2.0.2.ebuild42
-rw-r--r--net-misc/ices/metadata.xml8
6 files changed, 132 insertions, 0 deletions
diff --git a/net-misc/ices/Manifest b/net-misc/ices/Manifest
new file mode 100644
index 000000000000..e648d7442062
--- /dev/null
+++ b/net-misc/ices/Manifest
@@ -0,0 +1,9 @@
+AUX ices.initd 328 SHA256 5055ffd478b7f0ebb0dd9e387b486f98dbee59ed39d2c7b23b6349b5eae8a48e SHA512 55ad0dbde053d3d2b666e597b4720511c67adbd445b0c98fa1d096c400b77e1ed181b62859cdc97a071097b9abc194fea315052b35316537dac2f2d1cbf1b282 WHIRLPOOL 3b3efb7c67dc0cb2c946e373958826a323e2bd03ed192894b3de19730798f046abcd5811851f00645882dc697b72be4a718f3b0e7b65aa7e3056941ad0d7e4c1
+AUX ices.initd-r1 307 SHA256 4b288cd43a19e2f467fff31f66bdd30d5c54241b9edc61bf03bda804dee19359 SHA512 de3aa2919cb715c6036d1b993275560819528e8c6d616362e414e9bc6cf77a67393f68c1643ebfac1b43e8d3bf2ce3bde004894921d8bfdf66eb667fbaa7bae9 WHIRLPOOL 8abb1d822f4f28d84b62c6367ce7130b6697804589ac01b630a551669b90396a2f2fc9b0d0203db1d98a688b2e7fe9160e583e816aaaceb776ca204ca5e9bb9a
+DIST ices-2.0.1.tar.bz2 273805 SHA256 04ec784b5ca6f5a2951631252d61e01c6d16c6fcf17cbe32d702dbe761fc238d SHA512 324a50c01513221617921805e0d2d37170751a7bbfc331c988eeedbddebc2dcc62aaa1ac75c3ebec253589ba7be7dc6580c0c57689450730a68f99e6bc1abcf8 WHIRLPOOL 6aa17edfdcfcf576ddb2d268e4a62512d1ce6541552c6b0df5886e094db5733d7dd1da8fe739b54f98cb01582fa6708914f8d6cb347a70f3b1b19c32ea843339
+DIST ices-2.0.2.tar.bz2 293818 SHA256 96458df835033c39236ad3bb099286c033241f8ea7c138e7ccf714e7ade75900 SHA512 ff257b478a7237886ba59bf7d1a494ebd4c7c12fd74e8e10c00ea65710249ead1b5b1ae8d9540fab05f2e4486949c6e350f3da59a1d1bf261397ca257806b2c7 WHIRLPOOL a0523f412aae8cb967de4614fb549e7dfc31aef3980639bce13cfd5d8bec118a2ffa7962d3d59b3fc01ddd105c98554e2b1528ae93b5b41fc3244721abecdd0d
+EBUILD ices-2.0.1-r1.ebuild 1003 SHA256 410a324dc68278c5f458ad8f18513898075f5480ea2445ea31d6d139178c84ae SHA512 8133a91f44271c70205147e4b5e667fde88b037aee34946f4b1baacf43b21f3bab3dd8cc15dd1bba0cc0d8d50ba1395fd703aa81f5ab700e1a120d1d26ed8b77 WHIRLPOOL 6e646fa707bf1efc238f7dccd8bc8f50ac462257ad9105c2fac52517089dd03085234eb57d770d5c321e7adfbf1bdaa3c43b4d654da6e4be328b63ff775a46b5
+EBUILD ices-2.0.2.ebuild 881 SHA256 53dc260d49894e0bc9bcb0087579fee85d88eb1b39df5f810f1e9292c9157195 SHA512 008621d193fbaaa968053da1f86d9d60438d52222841b28d7614d900a20b1b620ef3eaf7a36ef2d66eb80107399591aa36487bfa6fe8b5f0e8f716320d0d8bda WHIRLPOOL 75977113f2ea4a03ba01ffd6637ec43367afd60fa194a04e285044d44f9412333d7bdfa33d6b6b9f4976fbeae8a94101ee85e5bd0b84aef9b5b974b88a29a647
+MISC ChangeLog 2663 SHA256 78539bb19d123d7b6deed7e030cdb8e55d53724dc2a3dd6d6bac9a92b58ce28b SHA512 ef4b14e1d8c095fa4e428b074e9ec97181f778a5c5b84da1d0419f1efb250f25baee821e444181393864592c30ac589e88223c58c7716f10ac83df20952f9641 WHIRLPOOL 35ac2f0e3c41f41a33b4832d7eed82c85554bd95292bf409056be40e5ed66a8951131fe1015a102e13038847dbb31a0699194f653afd28b800ce30f7e40ef5f5
+MISC ChangeLog-2015 3722 SHA256 03a1734758c4936cf58a19e27d9142cdacd01f12dbf21454386087ed0b49163d SHA512 4c7b8f6429de7b7335ccf12488af53b877d1c38add8266e3df5ad6c166db7c254619fe5294f5d87df41b53865d73bc04440295d07feb3c4a7518afe0f0c6b9ae WHIRLPOOL 0acee4e3b62be0246c2c37f25aafc02a990f7c23142fc98af3c0556850c36733954416a974fa3d88393b58454bb3d3067d9af5af350db044dc17fb83b9dbf85b
+MISC metadata.xml 259 SHA256 1321ae0a7e2232e5201f0537a1a6a49bd4fa5f03c1224a00e3edfb71d02bd29a SHA512 7315c86cee93f8109e30dd379dde35c51ad60e759a037cc8ee3feeec369434d65fecf785480861e7fc6a17baaf81517083284783b4b35143c911da98846d0360 WHIRLPOOL a2363e099d54512fba9b48dab9ebf3cb1346857aff3fedb1b318c5942093ee1fc6a5492f11faf5713e934dfa0fbbc70eab52e5319b5afc3d0e17ff56caa7c3fa
diff --git a/net-misc/ices/files/ices.initd b/net-misc/ices/files/ices.initd
new file mode 100644
index 000000000000..ada3b4943e28
--- /dev/null
+++ b/net-misc/ices/files/ices.initd
@@ -0,0 +1,17 @@
+#!/sbin/openrc-run
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting IceS 2"
+ start-stop-daemon --background --start --pidfile /var/run/ices.pid --make-pidfile --exec /usr/bin/ices /etc/ices2/ices.xml
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping IceS 2"
+ start-stop-daemon --stop --pidfile /var/run/ices.pid --name ices
+ eend $?
+}
diff --git a/net-misc/ices/files/ices.initd-r1 b/net-misc/ices/files/ices.initd-r1
new file mode 100644
index 000000000000..dbc76374c359
--- /dev/null
+++ b/net-misc/ices/files/ices.initd-r1
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Icecast OGG streaming client"
+pidfile="/var/run/ices.pid"
+command="/usr/bin/ices"
+command_args="/etc/ices2/ices.xml"
+command_background="true"
+
+depend() {
+ need net
+}
diff --git a/net-misc/ices/ices-2.0.1-r1.ebuild b/net-misc/ices/ices-2.0.1-r1.ebuild
new file mode 100644
index 000000000000..21cfe4fe3058
--- /dev/null
+++ b/net-misc/ices/ices-2.0.1-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils user
+
+DESCRIPTION="Icecast OGG streaming client, supports on the fly re-encoding"
+HOMEPAGE="http://www.icecast.org/ices.php"
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ppc64 sparc x86"
+IUSE=""
+
+RDEPEND="dev-libs/libxml2
+ >=media-libs/libshout-2
+ >=media-libs/libvorbis-1"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ enewgroup ices
+ enewuser ices -1 -1 -1 ices
+}
+
+src_compile() {
+ econf --sysconfdir=/etc/ices2
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS README TODO
+ insinto /etc/ices2
+ doins conf/*.xml
+ dohtml doc/*.{html,css}
+ newman debian/ices2.1 ices.1
+ newinitd "${FILESDIR}"/ices.initd ices
+ keepdir /var/log/ices
+ fperms 660 /var/log/ices
+ fowners ices:ices /var/log/ices
+ rm -rf "${D}"/usr/share/ices
+}
diff --git a/net-misc/ices/ices-2.0.2.ebuild b/net-misc/ices/ices-2.0.2.ebuild
new file mode 100644
index 000000000000..48cd3cf6e018
--- /dev/null
+++ b/net-misc/ices/ices-2.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils user
+
+DESCRIPTION="Icecast OGG streaming client, supports on the fly re-encoding"
+HOMEPAGE="http://www.icecast.org/ices.php"
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/libxml2
+ >=media-libs/libshout-2
+ >=media-libs/libvorbis-1"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ enewgroup ices
+ enewuser ices -1 -1 -1 ices
+}
+
+src_configure() {
+ econf --sysconfdir=/etc/ices2
+}
+
+src_install() {
+ default
+ insinto /etc/ices2
+ doins conf/*.xml
+ dohtml doc/*.{html,css}
+ newinitd "${FILESDIR}"/ices.initd-r1 ices
+ keepdir /var/log/ices
+ fperms 660 /var/log/ices
+ fowners ices:ices /var/log/ices
+ rm -rf "${D}"/usr/share/ices
+}
diff --git a/net-misc/ices/metadata.xml b/net-misc/ices/metadata.xml
new file mode 100644
index 000000000000..39626a990be5
--- /dev/null
+++ b/net-misc/ices/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+</pkgmetadata>