pkgsrc-wip/icecast/patches/patch-ab
pancake ;) 3aa539cdd5 Initial import of icecast
*************
This package must replace the original audio/icecast, because, the other
one doesn't works. I add some patches to make it more secure and allow
new features.
*************


Icecast is an Internet based broadcasting system based on the Mpeg
Layer III streaming technology. It is, however, not limited to
streaming mp3 files.  It was originally inspired by Nullsoft's
Shoutcast and also mp3serv by Scott Man ley.

This version implements two security fixes ( >= patches/patch-af )
written by <pancake AT phreaker DOT net>. For more information
please visit: http://pancake.host.sk/altres/src/
2004-01-02 19:38:06 +00:00

36 lines
1 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/01/02 19:38:06 poppnk Exp $
--- configure.orig 2002-04-11 00:50:20.000000000 +0200
+++ configure
@@ -876,16 +876,16 @@ if test "x$enable_fsstd" = "xyes"; then
else
ICECAST_BINDIR=${prefix}/bin
ICECAST_SBINDIR=${prefix}/bin
- ICECAST_ETCDIR=conf
- ICECAST_ETCDIR_INST=${prefix}/conf
+ ICECAST_ETCDIR=${sysconfdir}
+ ICECAST_ETCDIR_INST=${prefix}/share/examples/icecast
ICECAST_SHAREDIR=${prefix}
ICECAST_LOGDIR=logs
- ICECAST_LOGDIR_INST=${prefix}/logs
+ ICECAST_LOGDIR_INST=/var/log/icecast
ICECAST_TEMPLATEDIR=templates
- ICECAST_TEMPLATEDIR_INST=${prefix}/templates
+ ICECAST_TEMPLATEDIR_INST=${prefix}/share/icecast/templates
ICECAST_STATICDIR=static
- ICECAST_STATICDIR_INST=${prefix}/static
- ICECAST_DOCDIR=${prefix}/doc
+ ICECAST_STATICDIR_INST=${prefix}/share/icecast/static
+ ICECAST_DOCDIR=${prefix}/share/doc/icecast
USE_FSSTD=no
fi
@@ -1540,7 +1540,7 @@ EOF
echo "$ac_t""BSD/OS" 1>&6
;;
- *BSD*)
+ unused)
__SOMEBSD__=yes
cat >> confdefs.h <<\EOF
#define __SOMEBSD__ 1