First maintenance release of a recent feature update. Makes most sense
with an update to net/libshout (see separate update submission).
* Supports all the new features of the latest libshout:
* WebM and Matroska formats
* ICY and RoarAudio protocols
* TLS
* Major refactoring with many bug fixes and a regression test suite
* New configuration file format (comes with configuration migration tool)
diff --git a/Makefile b/Makefile
index 5b0f972..c168299 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,7 @@
COMMENT= streaming source client that uses external en-/decoders
-DISTNAME= ezstream-0.6.0
-REVISION= 0
+DISTNAME= ezstream-1.0.1
CATEGORIES= net multimedia
HOMEPAGE= https://icecast.org/ezstream/
@@ -11,11 +10,12 @@ HOMEPAGE= https://icecast.org/ezstream/
# GPLv2
PERMIT_PACKAGE= Yes
-WANTLIB= c iconv m ogg pthread theora vorbis \
- shout>=3 speex>=4 xml2>=9 tag_c>=1
+WANTLIB+= ${COMPILER_LIBCXX} c crypto iconv lzma m ogg shout \
+ speex ssl tag tag_c theora vorbis xml2 z
MASTER_SITES= https://downloads.xiph.org/releases/ezstream/
+BUILD_DEPENDS= devel/check
LIB_DEPENDS= converters/libiconv \
net/libshout \
audio/speex \
@@ -26,5 +26,7 @@ SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-taglib="${LOCALBASE}"
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/distinfo b/distinfo
index 91dcc23..f0d2ff7 100644
--- a/distinfo
+++ b/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ezstream-0.6.0.tar.gz) = +G64FjtHDDrLwYK0JAbwgxP4UYe9kBevuLebAvA2Nck=
-SIZE (ezstream-0.6.0.tar.gz) = 250448
+SHA256 (ezstream-1.0.1.tar.gz) = /Ev0lIl6ixz3Xc7vsesi69NpZ+XDtc4q+YWNu5TPEVc=
+SIZE (ezstream-1.0.1.tar.gz) = 512284
diff --git a/patches/patch-examples_ezstream-full_xml b/patches/patch-examples_ezstream-full_xml
new file mode 100644
index 0000000..5d214c5
--- /dev/null
+++ b/patches/patch-examples_ezstream-full_xml
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+* Use the OpenBSD CA bundle to verify server identities
+
+Index: examples/ezstream-full.xml
+--- examples/ezstream-full.xml.orig
++++ examples/ezstream-full.xml
+@@ -67,7 +67,7 @@
+ One of the <ca_dir /> or <ca_file /> settings must be enabled for
+ certificate verification to succeed.
+ -->
+- <!-- <ca_file>/etc/ssl/certs/ca-certificates.crt</ca_file> -->
++ <ca_file>/etc/ssl/cert.pem</ca_file>
+
+ <!--
+ X.503 client certificate, in PEM format, containing both certificate
diff --git a/pkg/PLIST b/pkg/PLIST
index 665efec..894e35d 100644
--- a/pkg/PLIST
+++ b/pkg/PLIST
@@ -1,21 +1,24 @@
@comment $OpenBSD: PLIST,v 1.3 2011/01/16 20:01:22 naddy Exp $
@bin bin/ezstream
+@bin bin/ezstream-cfgmigrate
bin/ezstream-file.sh
+@man man/man1/ezstream-cfgmigrate.1
@man man/man1/ezstream-file.sh.1
@man man/man1/ezstream.1
share/doc/ezstream/
@comment share/doc/ezstream/COPYING
share/doc/ezstream/NEWS
-share/doc/ezstream/README
+share/doc/ezstream/README.md
share/examples/ezstream/
+share/examples/ezstream/artist.txt
share/examples/ezstream/ezstream-file_template.xml
-share/examples/ezstream/ezstream_metadata.xml
-share/examples/ezstream/ezstream_mp3.xml
-share/examples/ezstream/ezstream_reencode_mp3.xml
-share/examples/ezstream/ezstream_reencode_theora.xml
-share/examples/ezstream/ezstream_reencode_vorbis.xml
-share/examples/ezstream/ezstream_stdin_vorbis.xml
-share/examples/ezstream/ezstream_vorbis.xml
+share/examples/ezstream/ezstream-full.xml
+share/examples/ezstream/ezstream-metadata.xml
+share/examples/ezstream/ezstream-minimal.xml
+share/examples/ezstream/ezstream-stdin.xml
+share/examples/ezstream/ezstream-video.xml
share/examples/ezstream/meta.sh
+share/examples/ezstream/metadata.txt
share/examples/ezstream/play.sh
share/examples/ezstream/playlist-logger.sh
+share/examples/ezstream/title.txt