pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/icecast1 Bring back Icecast v1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f5fefde1bb9e
branches:  trunk
changeset: 466099:f5fefde1bb9e
user:      kim <kim%pkgsrc.org@localhost>
date:      Sun Jan 11 16:59:34 2004 +0000

description:
Bring back Icecast v1.

diffstat:

 audio/icecast1/Makefile         |  19 ++++++++++++++++++-
 audio/icecast1/distinfo         |   3 ++-
 audio/icecast1/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 36 insertions(+), 2 deletions(-)

diffs (65 lines):

diff -r c8ecf5ac8ae9 -r f5fefde1bb9e audio/icecast1/Makefile
--- a/audio/icecast1/Makefile   Sun Jan 11 16:55:49 2004 +0000
+++ b/audio/icecast1/Makefile   Sun Jan 11 16:59:34 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/08 20:48:45 xtraeme Exp $
+# $NetBSD: Makefile,v 1.1.1.2 2004/01/11 16:59:34 kim Exp $
 #
 
 DISTNAME=      icecast-1.3.12
@@ -37,6 +37,23 @@
 .endfor
 .undef f
 
+.include "../../mk/bsd.prefs.mk"
+
+ICECAST_SOURCE_BUFFSIZE?=      8192
+ICECAST_CHUNKLEN?=             64
+
+pre-configure:
+       @${MV} ${WRKSRC}/src/icetypes.h ${WRKSRC}/src/icetypes.h.bak
+       @${SED} \
+               -e 's/@SOURCE_BUFFSIZE@/${ICECAST_SOURCE_BUFFSIZE}/' \
+               -e 's/@CHUNKLEN@/${ICECAST_CHUNKLEN}/' \
+               ${WRKSRC}/src/icetypes.h.bak > ${WRKSRC}/src/icetypes.h
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../lang/python/application.mk"
+.include "../../security/tcp_wrappers/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+
 .include "../../devel/readline/buildlink2.mk"
 .include "../../lang/python/application.mk"
 .include "../../security/tcp_wrappers/buildlink2.mk"
diff -r c8ecf5ac8ae9 -r f5fefde1bb9e audio/icecast1/distinfo
--- a/audio/icecast1/distinfo   Sun Jan 11 16:55:49 2004 +0000
+++ b/audio/icecast1/distinfo   Sun Jan 11 16:59:34 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/01/08 20:48:45 xtraeme Exp $
+$NetBSD: distinfo,v 1.1.1.2 2004/01/11 16:59:34 kim Exp $
 
 SHA1 (icecast-1.3.12.tar.gz) = bacb760390453718de536b85979ff3a9a73c7710
 Size (icecast-1.3.12.tar.gz) = 269822 bytes
 SHA1 (patch-aa) = 169202f563e4e2812d8d532264dcdb4f9ffc8df2
 SHA1 (patch-ab) = de33a89e6078721a7e9c3a09515846752e76680e
+SHA1 (patch-ac) = 4775c84b910f9b19134f66a57f5196b572daf3cc
diff -r c8ecf5ac8ae9 -r f5fefde1bb9e audio/icecast1/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/patches/patch-ac   Sun Jan 11 16:59:34 2004 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/01/11 16:59:34 kim Exp $
+
+--- src/icetypes.h.orig        Wed Jul  5 15:51:14 2000
++++ src/icetypes.h     Fri Oct 17 21:49:19 2003
+@@ -41,9 +41,9 @@
+ typedef enum type_e {integer_e, real_e, string_e, function_e} type_t;
+ 
+ #define BUFSIZE 8192
+-#define CHUNKLEN 64
++#define CHUNKLEN @CHUNKLEN@
+ #define MAXMETADATALENGTH (16 * 256)
+-#define SOURCE_BUFFSIZE 8192
++#define SOURCE_BUFFSIZE @SOURCE_BUFFSIZE@
+ #define SOURCE_READSIZE (SOURCE_BUFFSIZE - MAXMETADATALENGTH) /* Please be careful here... */
+ #define MAXLISTEN 5           /* max number of listening ports */
+ 



Home | Main Index | Thread Index | Old Index