FreeBSD Bugzilla – Attachment 90802 Details for
Bug 128043
Udate net/ushare to 1.1a
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.50 KB, created by
Eric L. Chen
on 2008-10-13 07:50:05 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Eric L. Chen
Created:
2008-10-13 07:50:05 UTC
Size:
5.50 KB
patch
obsolete
># 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: ># ># net/ushare ># net/ushare/Makefile ># net/ushare/distinfo ># net/ushare/pkg-descr ># net/ushare/files ># net/ushare/files/patch-ushare ># >echo c - net/ushare >mkdir -p net/ushare > /dev/null 2>&1 >echo x - net/ushare/Makefile >sed 's/^X//' >net/ushare/Makefile << '8ddc23de379220077a8a9d61be566d37' >X# New ports collection makefile for: ushare >X# Date created: 11 December 2006 >X# Whom: Volker Theile <votdev@gmx.de> >X# >X# $FreeBSD: ports/net/ushare/Makefile,v 1.11 2008/03/08 18:35:55 rafan Exp $ >X# >X >XPORTNAME= ushare >XPORTVERSION= 1.1a >XCATEGORIES= net >XMASTER_SITES= http://ushare.geexbox.org/releases/ >X >XMAINTAINER= votdev@gmx.de >XCOMMENT= A lightweight UPnP (TM) A/V Media Server >X >XLIB_DEPENDS= upnp.3:${PORTSDIR}/devel/upnp >X >XPLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME} >XMAN1= ${PORTNAME}.1 >X >XHAS_CONFIGURE= yes >XUSE_BZIP2= yes >XUSE_GMAKE= yes >XUSE_GNOME= pkgconfig >XUSE_GETTEXT= yes >X >XOPTIONS= LIBDLNA "Enable DLNA (PS3) support" off >X >X.include <bsd.port.pre.mk> >X >XCONFIGURE_ENV+= CFLAGS="${PTHREAD_LIBS} -I${LOCALBASE}/include -I${WRKSRC}" \ >X LDFLAGS="-L${LOCALBASE}/lib -lintl" >X >X.if defined(WITH_LIBDLNA) >XLIB_DEPENDS+= dlna:${PORTSDIR}/devel/libdlna >XCONFIGURE_ARGS= --enable-dlna >X.endif >X >Xdo-install: >X ${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin >X ${CP} ${WRKSRC}/scripts/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample >X ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME} ${PREFIX}/etc/rc.d >X ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${PREFIX}/man/man1 >X >X.include <bsd.port.post.mk> >8ddc23de379220077a8a9d61be566d37 >echo x - net/ushare/distinfo >sed 's/^X//' >net/ushare/distinfo << '0f199cef189802c5a04507de4dd7631d' >XMD5 (ushare-1.1a.tar.bz2) = 5bbcdbf1ff85a9710fa3d4e82ccaa251 >XSHA256 (ushare-1.1a.tar.bz2) = 7b9b85c79968d4f4560f02a99e33c6a33ff58f9d41d8faea79e31cce2ee78665 >XSIZE (ushare-1.1a.tar.bz2) = 65864 >0f199cef189802c5a04507de4dd7631d >echo x - net/ushare/pkg-descr >sed 's/^X//' >net/ushare/pkg-descr << '7357da0d28713f5e6e7e80c5afad23ac' >XGeeXboX uShare is a UPnP (TM) A/V Media Server. It implements the server >Xcomponent that provides UPnP media devices with information on available >Xmultimedia files. uShare uses the built-in http server of libupnp to stream >Xthe files to clients. >X >XWWW: http://ushare.geexbox.org/ >7357da0d28713f5e6e7e80c5afad23ac >echo c - net/ushare/files >mkdir -p net/ushare/files > /dev/null 2>&1 >echo x - net/ushare/files/patch-ushare >sed 's/^X//' >net/ushare/files/patch-ushare << '886a42b441926f780b4df156af2069bc' >X--- scripts/ushare.orig 2008-10-13 13:23:21.000000000 +0800 >X+++ scripts/ushare 2008-10-13 13:24:47.000000000 +0800 >X@@ -1,82 +1,29 @@ >X-#!/bin/sh -e >X+#!/bin/sh >X # >X-# uShare init script >X+# ushare.sh for rc.d usage (c) 2007 Volker Theile <votdev@gmx.de>. >X # >X-### BEGIN INIT INFO >X-# Provides: ushare >X-# Required-Start: $local_fs $syslog $network >X-# Should-Start: >X-# Required-Stop: >X-# Should-Stop: >X-# Default-Start: 2 3 4 5 >X-# Default-Stop: 0 1 6 >X-# Short-Description: uShare >X-# Description: uShare UPnP (TM) A/V & DLNA Media Server >X-# You should edit configuration in /etc/ushare.conf file >X-# See http://ushare.geexbox.org for details >X-### END INIT INFO >X- >X-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin >X-DAEMON=/usr/bin/ushare >X-NAME=ushare >X-DESC="uShare UPnP A/V & DLNA Media Server" >X-PIDFILE=/var/run/ushare.pid >X-CONFIGFILE=/etc/ushare.conf >X- >X-# abort if no executable exists >X-[ -x $DAEMON ] || exit 0 >X- >X-# Get lsb functions >X-. /lib/lsb/init-functions >X-. /etc/default/rcS >X- >X-[ -f /etc/default/ushare ] && . /etc/default/ushare >X- >X-checkpid() { >X- [ -e $PIDFILE ] || touch $PIDFILE >X-} >X- >X-check_shares() { >X- if [ -r "$CONFIGFILE" ]; then >X- . $CONFIGFILE >X- [ -n "$USHARE_DIR" ] && return 0 >X- fi >X- return 1 >X-} >X- >X-case "$1" in >X- start) >X- log_daemon_msg "Starting $DESC: $NAME" >X- if ! $(check_shares); then >X- log_warning_msg "No shares avalaible ..." >X- log_end_msg 0 >X- else >X- checkpid >X- start-stop-daemon --start --quiet --background --oknodo \ >X- --make-pidfile --pidfile $PIDFILE \ >X- --exec $DAEMON -- $USHARE_OPTIONS >X- log_end_msg $? >X- fi >X- ;; >X- stop) >X- log_daemon_msg "Stopping $DESC: $NAME" >X- start-stop-daemon --stop --signal 2 --quiet --oknodo --pidfile $PIDFILE >X- log_end_msg $? >X- ;; >X- reload|force-reload) >X- log_daemon_msg "Reloading $DESC: $NAME" >X- start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON >X- log_end_msg $? >X- ;; >X- restart) >X- $0 stop >X- $0 start >X- ;; >X- *) >X- N=/etc/init.d/$NAME >X- log_success_msg "Usage: $N {start|stop|restart|reload|force-reload}" >X- exit 1 >X- ;; >X-esac >X >X-exit 0 >X+# PROVIDE: ushare >X+# REQUIRE: DAEMON >X+# BEFORE: LOGIN >X+# KEYWORD: shutdown >X+ >X+# Add the following line to /etc/rc.conf to enable `ushare': >X+# >X+#ushare_enable="YES" >X+ >X+. "/etc/rc.subr" >X+ >X+name=ushare >X+rcvar=`set_rcvar` >X+ >X+command="/usr/local/bin/$name" >X+command_args="--daemon" >X+required_files="/usr/local/etc/$name.conf" >X+ >X+# read configuration and set defaults >X+load_rc_config "$name" >X+: ${ushare_enable="NO"} >X+: ${ushare_flags=""} >X+ >X+run_rc_command "$1" >886a42b441926f780b4df156af2069bc >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 128043
: 90802