pkgsrc/audio/icecast/Makefile
wiz fdf63bbba1 Update to 2.3.0. Slightly based on PR 31558 by Eric Schnoebelen.
**** New features for 2.3.0 ****

- Streaming support for ogg speex, ogg flac, ogg midi

- intro file support - per mount settable
   Intro files will play when a listener first connects to a stream.  This
   is designed for station jingles and the like.  If you don't broadcast
   in ogg vorbis, you must make sure the bitrate/samplerate/number of
   channels match up to your stream.

- on-demand relays, global and per-relay settable
   On demand relays only connect to the relayed content when there are
   listeners attached to the relay.  This can save bandwidth in certain cases.

- fallback to file, extends on the intro file handling.
   With this feature, you can specify a "fallback file" which will be played
   in a loop and sent your currently connected listeners in the event of a
   source client disconnect.  This means your listeners stay connected while
   you fix your disconnect problem.  Same rules regarding bitrate/samplerate/
   number of channels apply as with intro files.

- new mount-level settings
   1. public, type/subtype, genre settings, stream description,
      stream url, stream name, bitrate (override what is sent from the source
      client)
   2. mp3 metadata interval
   3. on-[dis]connect scripts can be stated per-mount, invoked at source
      start/stop and take 1 arg which is the mountpoint.

- New URL listener authenticator.
   This delegates your listener authorization to an external application.
   URL calls are made on listener connect/disconnect as well as source
   connect/disconnect.  It is meant for large broadcasters who have existing
   authentication systems that need to be integrated into.  Included is
   an example php-based application that can be used in conjunction with
   the url authenticator to manage a simple subscription-based broadcast.

- HTPasswd authenticator uses in-memory structures now.

- On demand files now can be fed through an authenticator

- Update to admin/web xslt interface

- Icecast can now be installed as a win32 service

**** Fixes for 2.3.0 ****
- real/helix works
- win32 access log correct
- stats client is stable now (curl -X STATS http://admin@host:port/)
- show mountpoints on stats that are inactive but have an active fallback
- more updates over HUP possible
- improved stability under heavy load
- moving clients will no longer sometimes deadlock the server
- avoid small writes to reduce TCP overhead.

pkg changes:
Enable theora, speex. make libxml2 dependency explicit.
2005-10-12 22:26:59 +00:00

64 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.35 2005/10/12 22:26:59 wiz Exp $
#
DISTNAME= icecast-2.3.0
CATEGORIES= audio
MASTER_SITES= http://svn.xiph.org/releases/icecast/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.icecast.org/
COMMENT= Live streaming audio server
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
BUILD_DEFS+= ICECAST_CHROOTDIR
PKG_SYSCONFSUBDIR= icecast
RCD_SCRIPTS= icecast
ICECAST_LOGDIR?= ${ICECAST_CHROOTDIR}/log
ICECAST_USER?= icecast
ICECAST_GROUP?= icecast
PKG_GROUPS= ${ICECAST_GROUP}
PKG_USERS= ${ICECAST_USER}:${ICECAST_GROUP}::Icecast2\ user
EGDIR= ${PREFIX}/share/examples/icecast
CONF_FILES= ${EGDIR}/icecast.xml ${PKG_SYSCONFDIR}/icecast.xml
OWN_DIRS_PERMS= ${ICECAST_CHROOTDIR} ${ICECAST_USER} ${ICECAST_GROUP} 770
OWN_DIRS_PERMS+= ${ICECAST_LOGDIR} ${ICECAST_USER} ${ICECAST_GROUP} 770
post-extract:
@${MV} ${WRKSRC}/conf/icecast.xml.in ${WRKSRC}/conf/icecast.fixme
post-install:
@( \
${SED} \
-e "s,@BASEDIR@,${ICECAST_CHROOTDIR},g" \
-e "s,@LOGDIR@,log/,g" \
-e "s,@WEBROOT@,${PREFIX}/share/icecast/web,g" \
-e "s,@ADMINROOT@,${PREFIX}/share/icecast/admin,g" \
-e "s,@PIDDIR@,${ICECAST_CHROOTDIR},g" \
-e "s,@ICECAST_USER@,${ICECAST_USER},g" \
-e "s,@ICECAST_GROUP@,${ICECAST_GROUP},g" \
${WRKSRC}/conf/icecast.fixme > ${WRKSRC}/conf/icecast.xml; \
${INSTALL_DATA_DIR} ${EGDIR}; \
${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${EGDIR} \
)
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/speex/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"