Date: Mon, 9 Apr 2001 23:22:11 +0200 (CEST) From: Anders Nordby <anders@fix.no> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/26467: New port: www/mod_mp3 Message-ID: <20010409212211.E90E53CCE@totem.fix.no>
next in thread | raw e-mail | index | archive | help
>Number: 26467 >Category: ports >Synopsis: New port: www/mod_mp3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 09 14:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: FreeBSD 4.2-STABLE i386 >Organization: Fluxpod Information eXchange >Environment: Tested in: 4.2-STABLE from January FreeBSD current.localnet 5.0-20010408-CURRENT FreeBSD 5.0-20010408-CURRENT #0: Sun Apr 8 16:12:07 GMT 2001 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC i386 >Description: Add mod_mp3, an Apache module that provides MP3 streaming services. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mod_mp3 # mod_mp3/Makefile # mod_mp3/distinfo # mod_mp3/pkg-comment # mod_mp3/pkg-descr # mod_mp3/pkg-message # mod_mp3/pkg-plist # echo c - mod_mp3 mkdir -p mod_mp3 > /dev/null 2>&1 echo x - mod_mp3/Makefile sed 's/^X//' >mod_mp3/Makefile << 'END-of-mod_mp3/Makefile' X# New ports collection makefile for: mod_mp3 X# Date created: 9 April 2001 X# Whom: Anders Nordby <anders@fix.no> X# X# $FreeBSD$ X# X XPORTNAME= mod_mp3 XPORTVERSION= 0.7 XCATEGORIES= www audio XMASTER_SITES= http://www.tangent.org/mod_mp3/ \ X ftp://ftp.tangent.org/pub/apache/ \ X http://www.freenix.no/~anders/ X XMAINTAINER= anders@fix.no X XBUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 X XAPXS?= ${LOCALBASE}/sbin/apxs X XDOCS= ChangeLog README TODO faq.html X Xdo-build: X @cd ${WRKSRC} && \ X ${APXS} -c mod_mp3.c X Xdo-install: X ${APXS} -i -A -n mp3 ${WRKSRC}/mod_mp3.so X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/mod_mp3 X.for f in ${DOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_mp3/ X.endfor X.endif X ${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-mod_mp3/Makefile echo x - mod_mp3/distinfo sed 's/^X//' >mod_mp3/distinfo << 'END-of-mod_mp3/distinfo' XMD5 (mod_mp3-0.7.tar.gz) = d81c828192841660d771f8d1635d161c END-of-mod_mp3/distinfo echo x - mod_mp3/pkg-comment sed 's/^X//' >mod_mp3/pkg-comment << 'END-of-mod_mp3/pkg-comment' XAn Apache module that provides MP3 streaming services END-of-mod_mp3/pkg-comment echo x - mod_mp3/pkg-descr sed 's/^X//' >mod_mp3/pkg-descr << 'END-of-mod_mp3/pkg-descr' XThis module turns apache into your basic RIAA hating, but every college student Xloving mp3 streaming server. It can play from a list of files, either straight Xthrough or randomly. It can also be used to cache mp3's into memory and have Xthe server operate entirely from memory. Enjoy, groove, mp3s not included. X XWWW: http://tangent.org/mod_mp3/ X X- Anders Nordby <anders@fix.no> END-of-mod_mp3/pkg-descr echo x - mod_mp3/pkg-message sed 's/^X//' >mod_mp3/pkg-message << 'END-of-mod_mp3/pkg-message' X************************************************************ XYou've installed mod_mp3, a MP3 streaming module for Apache. X XEdit your apache.conf or httpd.conf to enable and setup this Xmodule. Have a look at the files in X${PREFIX}/share/doc/mod_mp3 for information on how to Xconfigure it etc. X XThen do this to make it work effective: X X# apachectl configtest (see if there are any config errors) X# apachectl restart X X************************************************************ END-of-mod_mp3/pkg-message echo x - mod_mp3/pkg-plist sed 's/^X//' >mod_mp3/pkg-plist << 'END-of-mod_mp3/pkg-plist' Xlibexec/apache/mod_mp3.so X@exec %D/sbin/apxs -e -A -n mp3 %D/%F X@unexec %D/sbin/apxs -e -A -n mp3 %D/%F X%%PORTDOCS%%share/doc/mod_mp3/ChangeLog X%%PORTDOCS%%share/doc/mod_mp3/README X%%PORTDOCS%%share/doc/mod_mp3/TODO X%%PORTDOCS%%share/doc/mod_mp3/faq.html X%%PORTDOCS%%@dirrm share/doc/mod_mp3 END-of-mod_mp3/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010409212211.E90E53CCE>