Date: Fri, 20 Jun 2003 12:09:40 +0400 (MSD) From: Sergey Akifyev <asa@gascom.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53540: New port: audio/mpio-driver Digit@lway MPIO MP3 player device driver KMOD Message-ID: <200306200809.h5K89es7022334@asa.gascom.net.ru> Resent-Message-ID: <200306200810.h5K8ABEX089928@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53540 >Category: ports >Synopsis: New port: audio/mpio-driver Digit@lway MPIO MP3 player device driver KMOD >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 20 01:10:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergey Akifyev >Release: FreeBSD 4.8-RELEASE i386 >Organization: JSC Gascom >Environment: System: FreeBSD asa.gascom.net.ru 4.8-RELEASE FreeBSD 4.8-RELEASE #5: Fri May 16 11:18:03 MSD 2003 asa@boulder.gascom.ru:/usr/src/sys/compile/ASA i386 >Description: Digit@lway MPIO MP3 player device driver KMOD It is actually a patch to FreeBSD standard urio driver, which adds MPIO support to it, and fixes some issues This driver is designed to be used with MPIO for Linux software, ported to FreeBSD as audio/mpiosh >How-To-Repeat: N/A >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: # # mpio-driver # mpio-driver/files # mpio-driver/files/Makefile # mpio-driver/files/mpio-driver.sh.sample # mpio-driver/Makefile # mpio-driver/distinfo # mpio-driver/pkg-descr # mpio-driver/pkg-plist # echo c - mpio-driver mkdir -p mpio-driver > /dev/null 2>&1 echo c - mpio-driver/files mkdir -p mpio-driver/files > /dev/null 2>&1 echo x - mpio-driver/files/Makefile sed 's/^X//' >mpio-driver/files/Makefile << 'END-of-mpio-driver/files/Makefile' X# Makefile for MPIO device driver X# Created by Sergey Akifyev <asa@gascom.ru> X# X# $Id: Makefile,v 1.1 2003/06/19 15:36:18 asa Exp $ XKMOD= mpio XSRCS= urio.c usb_if.h device_if.h bus_if.h opt_usb.h vnode_if.h XCFLAGS= -DUSB_VENDOR_DIGITALWAY=0x2735 -DUSB_PRODUCT_DIGITALWAY_MPIO=0x0001 X X.include <bsd.kmod.mk> END-of-mpio-driver/files/Makefile echo x - mpio-driver/files/mpio-driver.sh.sample sed 's/^X//' >mpio-driver/files/mpio-driver.sh.sample << 'END-of-mpio-driver/files/mpio-driver.sh.sample' X#!/bin/sh X# MPIO-kmod sample startup script X# Created by Sergey Akifyev <asa@gascom.ru> X# X# $Id: mpio-driver.sh.sample,v 1.1 2003/06/19 15:36:18 asa Exp $ X Xcase "${1}" in X start) X echo -n "mpio-driver " X kldload mpio X ;; X stop) X kldunload mpio X ;; X *) X echo Usage: `basename ${0}` "{start|stop}" X ;; Xesac END-of-mpio-driver/files/mpio-driver.sh.sample echo x - mpio-driver/Makefile sed 's/^X//' >mpio-driver/Makefile << 'END-of-mpio-driver/Makefile' X# New ports collection makefile for: mpio-driver X# Date created: 19 Jun 2003 X# Whom: Sergey Akifyev <asa@gascom.ru> X# X# $FreeBSD$ X# X XPORTNAME= mpio-driver XPORTVERSION= 0.2 XCATEGORIES= audio XMASTER_SITES= ftp://ftp.gascom.ru/pub/patches/ XDISTFILES= urio.c.diff_1 XEXTRACT_ONLY= X XCOMMENT= Digit@lway MPIO MP3 player device driver KMOD XMAINTAINER= asa@gascom.ru XNO_PACKAGE= should be recompiled for a particular FreeBSD kernel X Xpost-extract: X @${MKDIR} ${WRKSRC} X @${CP} /usr/src/sys/dev/usb/urio.c ${WRKSRC} X Xpre-patch: X @${CP} ${MASTERDIR}/files/Makefile ${WRKSRC} X @cd ${WRKSRC} && ${PATCH} < ${DISTDIR}/urio.c.diff_1 X Xpost-install: X ${INSTALL_SCRIPT} ${MASTERDIR}/files/mpio-driver.sh.sample ${PREFIX}/etc/rc.d X @cd /dev && sh MAKEDEV urio0 X X.include <bsd.port.mk> END-of-mpio-driver/Makefile echo x - mpio-driver/distinfo sed 's/^X//' >mpio-driver/distinfo << 'END-of-mpio-driver/distinfo' XMD5 (urio.c.diff_1) = df344d5bde81ba5b813ba98649ab0c8f END-of-mpio-driver/distinfo echo x - mpio-driver/pkg-descr sed 's/^X//' >mpio-driver/pkg-descr << 'END-of-mpio-driver/pkg-descr' XDigit@lway MPIO MP3 player device driver KMOD X XIt is actually a patch to FreeBSD standard urio Xdriver, which adds MPIO support to it, and Xfixes some issues X XThis driver is designed to be used with MPIO Xfor Linux software, ported to FreeBSD as Xaudio/mpiosh END-of-mpio-driver/pkg-descr echo x - mpio-driver/pkg-plist sed 's/^X//' >mpio-driver/pkg-plist << 'END-of-mpio-driver/pkg-plist' Xetc/rc.d/mpio-driver.sh.sample X@unexec rm -f /modules/mpio.ko > /dev/null 2>&1 || true END-of-mpio-driver/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306200809.h5K89es7022334>