Internet based broadcasting system.
This commit is contained in:
parent
462aa937f4
commit
29b2db1217
29
net/icecast/Makefile
Normal file
29
net/icecast/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/08/28 16:14:20 fgsch Exp $
|
||||
|
||||
DISTNAME= icecast-1.3.7
|
||||
CATEGORIES= audio net www
|
||||
NEED_VERSION= 1.310
|
||||
MASTER_SITES= http://www.icecast.org/releases/
|
||||
MAINTAINER= fgsch@openbsd.org
|
||||
|
||||
ONLY_FOR_ARCH= i386
|
||||
|
||||
HOMEPAGE= http://www.icecast.org/
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-crypt
|
||||
|
||||
DOCFILES= AUTHORS BUGS CHANGES COPYING FAQ README
|
||||
|
||||
post-install:
|
||||
@rm -f ${PREFIX}/share/icecast/templates/manual.html
|
||||
@rmdir ${PREFIX}/share/icecast/static
|
||||
cd ${WRKSRC} && $(INSTALL_DATA) $(DOCFILES) \
|
||||
${PREFIX}/share/doc/icecast
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/icecast/files/md5
Normal file
3
net/icecast/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (icecast-1.3.7.tar.gz) = 74f78ca33bea3cfd562530bc90d0d214
|
||||
RMD160 (icecast-1.3.7.tar.gz) = e71b88b8a717d5e1d9da40afa92142be5e7dff57
|
||||
SHA1 (icecast-1.3.7.tar.gz) = 4a11213d780a0e1a3eb73b76e32d2e4f49fa546d
|
31
net/icecast/patches/patch-configure
Normal file
31
net/icecast/patches/patch-configure
Normal file
@ -0,0 +1,31 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2000/08/28 16:14:21 fgsch Exp $
|
||||
|
||||
--- configure.orig Wed Jul 5 17:22:53 2000
|
||||
+++ configure Fri Aug 18 08:46:13 2000
|
||||
@@ -879,16 +879,16 @@
|
||||
else
|
||||
ICECAST_BINDIR=${prefix}/bin
|
||||
ICECAST_SBINDIR=${prefix}/bin
|
||||
- ICECAST_ETCDIR=conf
|
||||
- ICECAST_ETCDIR_INST=${prefix}/conf
|
||||
- ICECAST_SHAREDIR=${prefix}
|
||||
- ICECAST_LOGDIR=logs
|
||||
- ICECAST_LOGDIR_INST=${prefix}/logs
|
||||
- ICECAST_TEMPLATEDIR=templates
|
||||
- ICECAST_TEMPLATEDIR_INST=${prefix}/templates
|
||||
- ICECAST_STATICDIR=static
|
||||
- ICECAST_STATICDIR_INST=${prefix}/static
|
||||
- ICECAST_DOCDIR=${prefix}/doc
|
||||
+ ICECAST_ETCDIR=/etc/icecast
|
||||
+ ICECAST_ETCDIR_INST=${prefix}/share/examples/icecast
|
||||
+ ICECAST_SHAREDIR=${prefix}/share/icecast
|
||||
+ ICECAST_LOGDIR=/var/log/icecast
|
||||
+ ICECAST_LOGDIR_INST=/var/log/icecast
|
||||
+ ICECAST_TEMPLATEDIR=${prefix}/share/icecast/templates
|
||||
+ ICECAST_TEMPLATEDIR_INST=${prefix}/share/icecast/templates
|
||||
+ ICECAST_STATICDIR=${prefix}/share/icecast/static
|
||||
+ ICECAST_STATICDIR_INST=${prefix}/share/icecast/static
|
||||
+ ICECAST_DOCDIR=${prefix}/share/doc/icecast
|
||||
USE_FSSTD=no
|
||||
fi
|
||||
|
1
net/icecast/pkg/COMMENT
Normal file
1
net/icecast/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Internet based broadcasting system
|
27
net/icecast/pkg/DEINSTALL
Normal file
27
net/icecast/pkg/DEINSTALL
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2000/08/28 16:14:21 fgsch Exp $
|
||||
#
|
||||
# icecast de-installation
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=/etc/icecast
|
||||
LOG_DIR=/var/log/icecast
|
||||
|
||||
if [ -d ${CONFIG_DIR} ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| these steps as root:"
|
||||
echo "|"
|
||||
echo "| rm -rf ${CONFIG_DIR}"
|
||||
echo "| rm -rf ${LOG_DIR}"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
echo "+---------------"
|
||||
echo
|
||||
fi
|
||||
|
||||
exit 0
|
4
net/icecast/pkg/DESCR
Normal file
4
net/icecast/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Icecast is an Internet based broadcasting system based on the Mpeg Layer III
|
||||
streaming technology. It is, however, not limited to streaming mp3 files.
|
||||
|
||||
${HOMEPAGE}
|
74
net/icecast/pkg/INSTALL
Normal file
74
net/icecast/pkg/INSTALL
Normal file
@ -0,0 +1,74 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2000/08/28 16:14:21 fgsch Exp $
|
||||
#
|
||||
# Pre/post-installation setup of icecast
|
||||
|
||||
# exit on errors, use a sane path and install prefix
|
||||
#
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
CONFIG_DIR=/etc/icecast
|
||||
CONFIG_FILE=${CONFIG_DIR}/icecast.conf
|
||||
LOG_DIR=/var/log/icecast
|
||||
|
||||
install -d -o root -g wheel -m 755 ${LOG_DIR}
|
||||
|
||||
# Function: tell the user what s/he needs to do to use the port just installed
|
||||
#
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The existing $1 configuration files in ${CONFIG_DIR},"
|
||||
echo "| have NOT been changed. You may want to compare them to the"
|
||||
echo "| current sample files, ${PREFIX}/share/examples/icecast/icecast.conf.dist,"
|
||||
echo "| and update your configuration as needed."
|
||||
echo "+---------------"
|
||||
echo
|
||||
}
|
||||
|
||||
# Function: install the icecast configuration files from the samples
|
||||
#
|
||||
do_install()
|
||||
{
|
||||
install -d -o root -g wheel -m 755 ${CONFIG_DIR}
|
||||
install -o root -g wheel -m 644 \
|
||||
${PREFIX}/share/examples/icecast/icecast.conf.dist ${CONFIG_FILE}
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| The $1 configuration files in ${CONFIG_DIR},"
|
||||
echo "| have been installed. Please view these files and change"
|
||||
echo "| the configuration to meet your needs"
|
||||
echo "+---------------"
|
||||
echo
|
||||
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
: nothing to pre-install for this port
|
||||
;;
|
||||
POST-INSTALL)
|
||||
if [ -f $CONFIG_FILE ]; then
|
||||
do_notice $1
|
||||
else
|
||||
do_install $1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
34
net/icecast/pkg/PLIST
Normal file
34
net/icecast/pkg/PLIST
Normal file
@ -0,0 +1,34 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/08/28 16:14:21 fgsch Exp $
|
||||
bin/icecast
|
||||
share/doc/icecast/AUTHORS
|
||||
share/doc/icecast/BUGS
|
||||
share/doc/icecast/CHANGES
|
||||
share/doc/icecast/COPYING
|
||||
share/doc/icecast/FAQ
|
||||
share/doc/icecast/README
|
||||
share/doc/icecast/manual.html
|
||||
share/examples/icecast/groups.aut.dist
|
||||
share/examples/icecast/icecast.conf.dist
|
||||
share/examples/icecast/mounts.aut.dist
|
||||
share/examples/icecast/users.aut.dist
|
||||
share/icecast/templates/306.html
|
||||
share/icecast/templates/400.html
|
||||
share/icecast/templates/403.html
|
||||
share/icecast/templates/404.html
|
||||
share/icecast/templates/504.html
|
||||
share/icecast/templates/admin.html
|
||||
share/icecast/templates/admin_change.html
|
||||
share/icecast/templates/admin_describe.html
|
||||
share/icecast/templates/alias_add.html
|
||||
share/icecast/templates/alias_del.html
|
||||
share/icecast/templates/bodytag.html
|
||||
share/icecast/templates/footer.html
|
||||
share/icecast/templates/header.html
|
||||
share/icecast/templates/info.html
|
||||
share/icecast/templates/list_directory.html
|
||||
share/icecast/templates/mountlist.html
|
||||
share/icecast/templates/statistics.html
|
||||
@dirrm share/icecast/templates
|
||||
@dirrm share/icecast
|
||||
@dirrm share/examples/icecast
|
||||
@dirrm share/doc/icecast
|
Loading…
Reference in New Issue
Block a user