From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 7 00:50:20 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 E2C4916A4BF for ; Tue, 7 Oct 2003 00:50:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42C8043FF5 for ; Tue, 7 Oct 2003 00:50:17 -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 h977oHFY072063 for ; Tue, 7 Oct 2003 00:50:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h977oHAM072062; Tue, 7 Oct 2003 00:50:17 -0700 (PDT) (envelope-from gnats) Resent-Date: Tue, 7 Oct 2003 00:50:17 -0700 (PDT) Resent-Message-Id: <200310070750.h977oHAM072062@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, "Jose R.Rey" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAEB116A4B3 for ; Tue, 7 Oct 2003 00:43:03 -0700 (PDT) Received: from v2project.com (cliente-212079143235.cm256.senpc.supercable.es [212.79.143.235]) by mx1.FreeBSD.org (Postfix) with SMTP id 8ECEA43FBF for ; Tue, 7 Oct 2003 00:43:02 -0700 (PDT) (envelope-from king@v2project.com) Received: (qmail 69676 invoked by uid 1001); 7 Oct 2003 07:42:45 -0000 Message-Id: <20031007074245.69675.qmail@v2project.com> Date: 7 Oct 2003 07:42:45 -0000 From: "Jose R.Rey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/57693: Port Update net/xbms X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Jose R.Rey" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 07:50:21 -0000 >Number: 57693 >Category: ports >Synopsis: Port Update net/xbms >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Oct 07 00:50:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Jose R.Rey >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: Materia Gris >Environment: >Description: Port Update net/xbms add useful rc.d startup script >How-To-Repeat: >Fix: --- xbms-30.6.shar begins here --- # 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: # # xbms # xbms/files # xbms/files/xbms.sh.sample # xbms/files/patch-Makefile # xbms/files/patch-server # xbms/Makefile # xbms/distinfo # xbms/pkg-descr # xbms/pkg-plist # echo c - xbms mkdir -p xbms > /dev/null 2>&1 echo c - xbms/files mkdir -p xbms/files > /dev/null 2>&1 echo x - xbms/files/xbms.sh.sample sed 's/^X//' >xbms/files/xbms.sh.sample << 'END-of-xbms/files/xbms.sh.sample' X#!/bin/sh X# X# Start or stop the xbms server X# X Xpidfile="/var/run/xbms.pid" Xname="xbms" X Xcase "$1" in X start) X echo -n " xbms" X if [ -f /usr/local/etc/xbms.conf.sample ]; then X /usr/local/bin/xbms X fi X ;; X X stop) X if [ ! -f /var/run/xbms.pid ]; then X echo "XBMS not running" X exit 64 X fi X kill `cat /var/run/xbms.pid` X ;; Xstatus) X ps -auxww | egrep ${name} | egrep -v "($0|egrep)" X ;; X X *) X echo "" X echo "Usage: `basename $0` { start | stop | status}" X echo "" X exit 64 X ;; Xesac END-of-xbms/files/xbms.sh.sample echo x - xbms/files/patch-Makefile sed 's/^X//' >xbms/files/patch-Makefile << 'END-of-xbms/files/patch-Makefile' X--- Makefile.orig Thu Jan 16 16:27:25 2003 X+++ Makefile Thu Jan 16 16:27:36 2003 X@@ -1,5 +1,5 @@ X CC = gcc -Wall X-BINDIR = /usr/local/bin X+BINDIR = ${PREFIX}/bin X all: server X server: X $(CC) -O3 -pthread -o xbms server.c END-of-xbms/files/patch-Makefile echo x - xbms/files/patch-server sed 's/^X//' >xbms/files/patch-server << 'END-of-xbms/files/patch-server' X--- server.c.orig Fri Dec 20 00:00:41 2002 X+++ server.c Fri Dec 20 00:00:55 2002 X@@ -55,7 +55,7 @@ X X #define VERSION "0.30.5" X X-#define CONFIG "/etc/xbms.conf" X+#define CONFIG "@@PREFIX@@/etc/xbms.conf" X #define PIDFILE "/var/run/xbms.pid" X #define C_SERVER_PORT 1400 X #define MAX_MSG_LENGTH 4096 END-of-xbms/files/patch-server echo x - xbms/Makefile sed 's/^X//' >xbms/Makefile << 'END-of-xbms/Makefile' X# New ports collection makefile for: xbms X# Date created: Thu Dec 19 23:38:50 CET 2002 X# Whom: king@v2project.com X# X# $FreeBSD: ports/net/xbms/Makefile,v 1.3 2003/07/01 12:57:47 daichi Exp $ X# X XPORTNAME= xbms XPORTVERSION= 0.30.6 XCATEGORIES= net XMASTER_SITES= http://wipux2.wifo.uni-mannheim.de/~ck/ XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= king@v2project.com XCOMMENT= Xbms, the unix streaming server for xbox mediaplayer X XONLY_FOR_ARCHS= i386 alpha XUSE_REINPLACE= yes X Xpost-patch: X ${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' ${WRKSRC}/server.c X Xpost-install: X ${CP} ${WRKSRC}/xbms.conf ${PREFIX}/etc/xbms.conf.sample X ${CP} ${FILESDIR}/xbms.sh.sample ${PREFIX}/etc/rc.d/xbms.sh.sample X X.include END-of-xbms/Makefile echo x - xbms/distinfo sed 's/^X//' >xbms/distinfo << 'END-of-xbms/distinfo' XMD5 (xbms_0.30.6.tar.gz) = 891a95eced78a06c6ff9a3661b77af2b END-of-xbms/distinfo echo x - xbms/pkg-descr sed 's/^X//' >xbms/pkg-descr << 'END-of-xbms/pkg-descr' Xxbms, the unix streaming server for xbox mediaplayer. XWith xbms, it is possible to 'share' movies, pictures Xand audio on your unix box, so they are accessible from your xbox. X XWWW: http://www.xboxmediaplayer.de END-of-xbms/pkg-descr echo x - xbms/pkg-plist sed 's/^X//' >xbms/pkg-plist << 'END-of-xbms/pkg-plist' Xbin/xbms Xetc/xbms.conf.sample END-of-xbms/pkg-plist exit --- xbms-30.6.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: