ports/110338: Update port: audio/darkice 0.18

KATO Tsuguru tkato432 at yahoo.com
Thu Mar 15 16:10:05 UTC 2007


>Number:         110338
>Category:       ports
>Synopsis:       Update port: audio/darkice 0.18
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 16:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p26 i386
>Organization:
>Environment:
>Description:
- Update to version 0.18

Remove file:
files/patch-src_JackDspSource.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/darkice/Makefile audio/darkice/Makefile
--- /usr/ports/audio/darkice/Makefile	Sun May 28 22:05:52 2006
+++ audio/darkice/Makefile	Tue Mar  6 13:30:52 2007
@@ -7,10 +7,10 @@
 #
 
 PORTNAME=	darkice
-PORTVERSION=	0.17.1
+PORTVERSION=	0.18
 CATEGORIES=	audio net
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	http://darkice.tyrell.hu/dist/%SUBDIR%/
+MASTER_SITE_SUBDIR=	${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	An IceCast, IceCast2 and ShoutCast live audio streamer
@@ -24,8 +24,8 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
-CONFIGURE_ARGS=	--without-alsa \
-		--with-vorbis-prefix=${LOCALBASE}
+CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man \
+		--without-alsa
 
 MAN1=		darkice.1
 MAN5=		darkice.cfg.5
@@ -33,9 +33,14 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 500000
+BROKEN=		does not compile on 4.x
+.endif
+
 .if defined(WITHOUT_VORBIS)
 CONFIGURE_ARGS+=	--without-vorbis
 .else
+CONFIGURE_ARGS+=	--with-vorbis-prefix=${LOCALBASE}
 LIB_DEPENDS+=	vorbis.3:${PORTSDIR}/audio/libvorbis
 .endif
 
@@ -62,6 +67,7 @@
 
 .if defined(WITH_JACK)
 LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
+CONFIGURE_ARGS+=	--with-jack-prefix=${LOCALBASE}
 .else
 CONFIGURE_ARGS+=	--without-jack
 .endif
diff -urN /usr/ports/audio/darkice/distinfo audio/darkice/distinfo
--- /usr/ports/audio/darkice/distinfo	Sun May 28 22:05:52 2006
+++ audio/darkice/distinfo	Tue Mar  6 13:14:42 2007
@@ -1,3 +1,3 @@
-MD5 (darkice-0.17.1.tar.gz) = 91221134cec3d52af842a9d50c06ee7d
-SHA256 (darkice-0.17.1.tar.gz) = 905f0d928e8ef009c864f6ac89884bb1bf773e6a91e625b37888d444f5115c45
-SIZE (darkice-0.17.1.tar.gz) = 1407826
+MD5 (darkice-0.18.tar.gz) = 52ef0c181372e1cb4a1e42a3b65ebaab
+SHA256 (darkice-0.18.tar.gz) = e7228918de0b2092f633e01c5b9078c902ea4be95e31a5b102bfa02740c1e4d5
+SIZE (darkice-0.18.tar.gz) = 286159
diff -urN /usr/ports/audio/darkice/files/patch-src_JackDspSource.cpp audio/darkice/files/patch-src_JackDspSource.cpp
--- /usr/ports/audio/darkice/files/patch-src_JackDspSource.cpp	Sat Apr 16 02:49:42 2005
+++ audio/darkice/files/patch-src_JackDspSource.cpp	Thu Jan  1 09:00:00 1970
@@ -1,32 +0,0 @@
---- src/JackDspSource.cpp.orig Mon Apr  4 17:36:17 2005
-+++ src/JackDspSource.cpp      Fri Apr 15 04:15:23 2005
-@@ -38,6 +38,18 @@
- #include "config.h"
- #endif
- 
-+#ifdef HAVE_STDIO_H
-+#include <stdio.h>
-+#else
-+#error need stdio.h
-+#endif
-+
-+#ifdef HAVE_STDLIB_H
-+#include <stdlib.h>
-+#else
-+#error need stdlib.h
-+#endif
-+
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #else
-@@ -60,6 +72,10 @@
- #include <math.h>
- #else
- #error need math.h
-+#endif
-+
-+#ifdef __FreeBSD__
-+#define lrintf(x) rintf(x)
- #endif
- 
- #include "Util.h"
diff -urN /usr/ports/audio/darkice/pkg-descr audio/darkice/pkg-descr
--- /usr/ports/audio/darkice/pkg-descr	Mon Oct 31 10:51:50 2005
+++ audio/darkice/pkg-descr	Tue Mar  6 13:12:02 2007
@@ -14,4 +14,4 @@
  IceCast 1.3.x and 2.x
  Darwin Streaming Server
 
-WWW: http://darkice.sourceforge.net/
+WWW: http://darkice.tyrell.hu/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list