Icecast 2.4.4 ----------------------------------------------------------------------------- We are releasing Icecast 2.4.4, an important bugfix-only release. We recommend upgrading for increased stability and compatibility! ## Fixes - Fix: Fixed segfault in htpasswd auth if no filename is set - Fix: Do not report hashed user passworts in user list. - Fix two mistakes in the default config's comments - Add log message for succesful streamlist requests - Fix: update_from_master() for receiving HTTP/1.1 - Fix: Spelling, thanks to Ukikie - Fix: Fixed a segfault when xsltApplyStylesheet() returns error - Fix: Do not segfaul on bad Opus streams - Fix: Corrected response and fixed TLS for 416 Request Range Not Satisfiable responses - Fix: TLS for ICECAST_PROTOCOL_SHOUTCAST source clients and investigating the bug. - Fix: global listener count could be negative under certain circumstances Thanks a lot to Simeon Völkel (0xBD4E031CDB4043C9) for reporting and investigating the bug. - Fix: Send "Content-Length: 0" on 100-continue - Fix: Do not send 100-continue in plain text over TLS sockets - Fix: Added needed code to announce Opus streams as such to yp. - Fix: Avoid invalid locking in signal handlers. - Workaround: avoid libspeex printing warnings on Opus streams. - Fix: Fixed regression introduced by r19250. The fix checks if the source client is actually known before printing it's IP-Address. - Fix: do not allow unescaped strings in XML output. ## Known issues - HTTP PUT implementation currently doesn't support chunked encoding yet. - HTTP PUT with "Expect: 100-Continue" receives first a "100" and soon after a "200", instead of the "200" at the end of transmission. - Caution should be exercised when using `<on-connect>` or `<on-disconnect>`, as there is a small chance of stream file descriptors being mixed up with script file descriptors, if the FD numbers go above 1024. This will be further addressed in the next Icecast release. - Don't use comments inside `<http-headers>` as it will prevent processing of further `<header>` tags. - Webinterface shows Login when using just `stream_auth`.
63 lines
1.9 KiB
Makefile
63 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.71 2019/02/24 10:38:12 wiz Exp $
|
|
|
|
DISTNAME= icecast-2.4.4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://downloads.xiph.org/releases/icecast/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.icecast.org/
|
|
COMMENT= Live streaming audio server
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= 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_USERS_VARS= ICECAST_USER
|
|
PKG_GROUPS_VARS+= ICECAST_GROUP
|
|
|
|
PKG_GROUPS= ${ICECAST_GROUP}
|
|
PKG_USERS= ${ICECAST_USER}:${ICECAST_GROUP}
|
|
|
|
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
|
|
|
|
pre-configure:
|
|
${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} ${DESTDIR}${EGDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${DESTDIR}${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"
|