summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/ap-mp3/DESCR6
-rw-r--r--www/ap-mp3/MESSAGE13
-rw-r--r--www/ap-mp3/Makefile40
-rw-r--r--www/ap-mp3/PLIST4
-rw-r--r--www/ap-mp3/distinfo4
5 files changed, 67 insertions, 0 deletions
diff --git a/www/ap-mp3/DESCR b/www/ap-mp3/DESCR
new file mode 100644
index 00000000000..53ec791532c
--- /dev/null
+++ b/www/ap-mp3/DESCR
@@ -0,0 +1,6 @@
+mod_mp3 turns the Apache Web server into an MP3 or Ogg streaming
+server. It can play from a list of files, either in order or randomly.
+It can also be used to cache MP3s into memory and have the server
+operate entirely from memory. It has an XML-RPC interface for you to
+write interfaces around and supports retrieving information via
+XML/RSS.
diff --git a/www/ap-mp3/MESSAGE b/www/ap-mp3/MESSAGE
new file mode 100644
index 00000000000..9360189efe4
--- /dev/null
+++ b/www/ap-mp3/MESSAGE
@@ -0,0 +1,13 @@
+=============================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2002/02/25 03:00:49 grant Exp $
+
+You will need to edit ${PREFIX}/etc/httpd/httpd.conf and add the following
+lines in order to use this module.
+
+LoadModule mp3_module lib/httpd/mod_mp3.so
+AddModule mod_mp3.c
+
+Also see ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3/faq.html
+for more information.
+
+=============================================================================
diff --git a/www/ap-mp3/Makefile b/www/ap-mp3/Makefile
new file mode 100644
index 00000000000..037024eb3af
--- /dev/null
+++ b/www/ap-mp3/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/25 03:00:49 grant Exp $
+#
+
+DISTNAME= mod_mp3-0.35
+PKGNAME= ap-mp3-0.35
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.tangent.org/pub/apache/ \
+ http://software.tangent.org/download/
+
+MAINTAINER= grant@netbsd.org
+HOMEPAGE= http://software.tangent.org/media/
+COMMENT= apache module for streaming mp3 files
+
+DEPENDS+= apache{,6}-1.3.*:../../www/apache
+# For "apxs":
+BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+
+DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
+
+do-build:
+ @cd ${WRKSRC}/src && ${PREFIX}/sbin/apxs -c -o mod_mp3.so \
+ directives.c \
+ encode.c \
+ ice.c \
+ load.c \
+ mod_mp3.c \
+ shout.c \
+ utility.c \
+ ogg.c \
+ common.c \
+ id3.c \
+ log.c \
+ internal_dispatch.c
+
+do-install:
+ @cd ${WRKSRC}/src && ${PREFIX}/sbin/apxs -i mod_mp3.so
+ ${INSTALL_DATA_DIR} ${DOC_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/faq.html ${DOC_DIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ap-mp3/PLIST b/www/ap-mp3/PLIST
new file mode 100644
index 00000000000..db33f090776
--- /dev/null
+++ b/www/ap-mp3/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/25 03:00:49 grant Exp $
+lib/httpd/mod_mp3.so
+share/httpd/htdocs/manual/mod/mod_mp3/faq.html
+@dirrm share/httpd/htdocs/manual/mod/mod_mp3
diff --git a/www/ap-mp3/distinfo b/www/ap-mp3/distinfo
new file mode 100644
index 00000000000..81c70e7150f
--- /dev/null
+++ b/www/ap-mp3/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/25 03:00:49 grant Exp $
+
+SHA1 (mod_mp3-0.35.tar.gz) = 9de13d55b53f80225c5cee3692b06178d4a34ac4
+Size (mod_mp3-0.35.tar.gz) = 43694 bytes