diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-15 19:42:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-15 19:42:10 +0700 |
commit | d75c30c285d49e9a69cb3bb4afebe5433b6f12b7 (patch) | |
tree | fd369a88836429a32c2429d00e6f79ea6ac7cffb /audio | |
parent | 8e5cbf1387ad9b91934f49bd829d5439329b4916 (diff) |
audio/ices-cc: Removed (Upstream removed source and no maintainer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/ices-cc/README | 7 | ||||
-rw-r--r-- | audio/ices-cc/README.init | 30 | ||||
-rw-r--r-- | audio/ices-cc/doinst.sh | 28 | ||||
-rw-r--r-- | audio/ices-cc/ices-cc.SlackBuild | 118 | ||||
-rw-r--r-- | audio/ices-cc/ices-cc.info | 10 | ||||
-rw-r--r-- | audio/ices-cc/rc.ices-cc | 80 | ||||
-rw-r--r-- | audio/ices-cc/slack-desc | 19 |
7 files changed, 0 insertions, 292 deletions
diff --git a/audio/ices-cc/README b/audio/ices-cc/README deleted file mode 100644 index 844ecf120621..000000000000 --- a/audio/ices-cc/README +++ /dev/null @@ -1,7 +0,0 @@ -ices-cc is a Source client for broadcasting in MP3 format to an icecast -server. - -Optional dependencies libmp4v2 and faad2 (for mp4 support, -*broken ATM*). - -See README.init if you plan to use /etc/rc.d/rc.ices-cc diff --git a/audio/ices-cc/README.init b/audio/ices-cc/README.init deleted file mode 100644 index 3d290af0893b..000000000000 --- a/audio/ices-cc/README.init +++ /dev/null @@ -1,30 +0,0 @@ -README.init for ices-cc - -These steps are only needed if you plan to use /etc/rc.d/rc.ices-cc - -The user/group 'ices-cc' is required to exist in your system. You -can add it with: - - # groupadd -g 255 ices-cc - # useradd -u 255 -g 255 -c "User for ices-cc" -d / -s /bin/sh ices-cc - # passwd -l ices-cc - -See http://slackbuilds.org/uid_gid.txt for info re uid/gid selection. - - -You should edit /etc/ices-cc.conf and pay attention to playlist.txt -because the "ices-cc" user should have read access to t$playlist.txt file. -For example, if $playlist is /var/cache/ices-cc-playlist.txt: - - # touch /var/cache/ices-playlist.txt - # chown ices-cc:ices-cc /var/cache/ices-playlist.txt - -Then add your files to the playlist: - - # find /music -iname "*.mp3" > /var/cache/ices-playlist.txt - # chown -R ices-cc:ices-cc /music - -Also, the ices user should have full access to /var/log/ices - - # chown -R ices-cc:ices-cc /var/log/ices - diff --git a/audio/ices-cc/doinst.sh b/audio/ices-cc/doinst.sh deleted file mode 100644 index e159d03a8946..000000000000 --- a/audio/ices-cc/doinst.sh +++ /dev/null @@ -1,28 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.ices-cc.new -config etc/ices-cc.conf.new -config etc/modules/ices.py.new -config etc/modules/ices.pm.new -config etc/modules/ices.sh.new diff --git a/audio/ices-cc/ices-cc.SlackBuild b/audio/ices-cc/ices-cc.SlackBuild deleted file mode 100644 index 94e5d898b703..000000000000 --- a/audio/ices-cc/ices-cc.SlackBuild +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -# Slackware build script for ices-cc - -# Written by Rodney Cobb (rdc@ktabic.co.uk) -# Modified by Antonio Hernández Blas <hba.nihilismus@gmail.com> for ices-cc - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=ices-cc -VERSION=${VERSION:-0.4.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Disable flac support with "with_flac" enviroment variable, please read: -# http://www.linuxquestions.org/questions/slackware-14/ices0-for-slackware-767465/ -# Also the new libmp4v2/faad2 don't seem compatible, so it has to go too - -# ices-cc (0.4.1) has various file conflicts with ices (0.4, for mp3) ices (2.0.1, for Ogg) -# so the suffix "-cc" will be added except for ices modules (/etc/modules/ices.* which -# dont conflict. - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -with_faad="no" \ -with_flac="no" \ -./configure \ - --program-suffix="-cc" \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ - grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; - -mv $PKG/etc/ices.conf.dist $PKG/etc/$PRGNAM.conf.new -mv $PKG/etc/modules/ices.sh.dist $PKG/etc/modules/ices.sh.new -mv $PKG/etc/modules/ices.pm.dist $PKG/etc/modules/ices.pm.new -mv $PKG/etc/modules/ices.py.dist $PKG/etc/modules/ices.py.new - -# Create log directory -mkdir -p $PKG/var/log/$PRGNAM - -# Install an init script -mkdir -p $PKG/etc/rc.d -install -m 644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new - -rm -rf $PKG/usr/doc/ices -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING AUTHORS BUGS INSTALL NEWS README* TODO doc/*.html \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/audio/ices-cc/ices-cc.info b/audio/ices-cc/ices-cc.info deleted file mode 100644 index 90b38b3dc308..000000000000 --- a/audio/ices-cc/ices-cc.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ices-cc" -VERSION="0.4.3" -HOMEPAGE="http://www.centova.com/pages/icescc" -DOWNLOAD="http://www.centova.com/clientdist/ices/ices-cc-0.4.3.tar.gz" -MD5SUM="4968aad6e9921faef76d3782744d7686" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="libshout" -MAINTAINER="Antonio Hernández Blas" -EMAIL="hba.nihilismus@gmail.com" diff --git a/audio/ices-cc/rc.ices-cc b/audio/ices-cc/rc.ices-cc deleted file mode 100644 index 002f6254bf2c..000000000000 --- a/audio/ices-cc/rc.ices-cc +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh - -# Start/stop/restart ices-cc as a daemon -# Copyright (c) 2011 Antonio Hernández Blas <hba.nihilismus@gmail.com> - -# -# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE -# Version 2, December 2004 -# -# Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> -# -# Everyone is permitted to copy and distribute verbatim or modified -# copies of this license document, and changing it is allowed as long -# as the name is changed. -# -# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE -# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -# -# 0. You just DO WHAT THE FUCK YOU WANT TO. -# - -CONF='/etc/ices-cc.conf' -BASEDIR='/var/log/ices-cc' -CMMD="/usr/bin/ices-cc -B -c $CONF -D $BASEDIR" - -ices_start() { - if [ -x /usr/bin/ices-cc ]; then - if [ -f $CONF ]; then - PIDOF=$(pgrep -f "$CMMD") - if [ ! -z "$PIDOF" ]; then - echo "Error, ices is already running as daemon." - else - echo "Starting ices as daemon: $CMMD" - /bin/su - ices -c "$CMMD" - fi - else - echo "Error, file $CONF does not exist." - fi - fi -} - -ices_stop() { - PIDOF=$(pgrep -f "$CMMD") - if [ -z $PIDOF ]; then - echo "Error, ices-cc is not running as daemon." - else - echo "Stoping ices-cc as daemon: kill -s SIGINT $PIDOF" - /bin/kill -s SIGINT $PIDOF - fi -} - -ices_status() { - PIDOF=$(pgrep -f "$CMMD") - if [ ! -z "$PIDOF" ]; then - echo "ices-cc is running as daemon." - else - echo "ices-cc is not running as daemon." - fi -} - -case $1 in - start) - ices_start - ;; - stop) - ices_stop - ;; - restart) - ices_stop - sleep 3 - ices_start - ;; - status) - ices_status - ;; - *) - echo "Usage $0 {start|stop|restart|status}" - exit 1 - ;; -esac diff --git a/audio/ices-cc/slack-desc b/audio/ices-cc/slack-desc deleted file mode 100644 index 5b46984b0a61..000000000000 --- a/audio/ices-cc/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -ices-cc: ices-cc (primary source client for icecast) -ices-cc: -ices-cc: Source client for broadcasting in MP3 format to an icecast server. -ices-cc: Based in ices (0.4). -ices-cc: -ices-cc: Homepage: http://www.centova.com/pages/icescc -ices-cc: -ices-cc: -ices-cc: -ices-cc: -ices-cc: |