From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 20 01:10:12 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B23D437B404 for ; Fri, 20 Jun 2003 01:10:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95EEB43FB1 for ; Fri, 20 Jun 2003 01:10:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5K8ABUp089929 for ; Fri, 20 Jun 2003 01:10:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5K8ABEX089928; Fri, 20 Jun 2003 01:10:11 -0700 (PDT) Resent-Date: Fri, 20 Jun 2003 01:10:11 -0700 (PDT) Resent-Message-Id: <200306200810.h5K8ABEX089928@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergey Akifyev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6973F37B401 for ; Fri, 20 Jun 2003 01:09:48 -0700 (PDT) Received: from asa.gascom.net.ru (gsn.gascom.ru [217.17.160.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id E048143F85 for ; Fri, 20 Jun 2003 01:09:46 -0700 (PDT) (envelope-from asa@asa.gascom.net.ru) Received: from asa.gascom.net.ru (localhost [127.0.0.1]) by asa.gascom.net.ru (8.12.8p1/8.12.6) with ESMTP id h5K89iVt022335 for ; Fri, 20 Jun 2003 12:09:44 +0400 (MSD) (envelope-from asa@asa.gascom.net.ru) Received: (from asa@localhost) by asa.gascom.net.ru (8.12.8p1/8.12.6/Submit) id h5K89es7022334; Fri, 20 Jun 2003 12:09:40 +0400 (MSD) Message-Id: <200306200809.h5K89es7022334@asa.gascom.net.ru> Date: Fri, 20 Jun 2003 12:09:40 +0400 (MSD) From: Sergey Akifyev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53540: New port: audio/mpio-driver Digit@lway MPIO MP3 player device driver KMOD X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergey Akifyev List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 08:10:13 -0000 >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 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 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 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 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 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: