mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Update MASTER_SITES and fix WWW in pkg-descr
- Add an RC script PR: ports/137017 Submitted by: Antony Mawer <ports@mawer.org> (maintainer)
This commit is contained in:
parent
258e0fcbc9
commit
b7a95dea7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238246
@ -6,9 +6,9 @@
|
||||
|
||||
PORTNAME= xboxproxy
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.csh.rit.edu/~psionic/projects/xboxproxy/
|
||||
MASTER_SITES= http://www.semicomplete.com/files/xboxproxy/
|
||||
DISTNAME= proxy-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@mawer.org
|
||||
@ -16,6 +16,7 @@ COMMENT= A proxy for the XBox system link protocol
|
||||
|
||||
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
|
||||
|
||||
USE_RC_SUBR= xboxproxy
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-prefix=xbox
|
||||
|
||||
|
37
net/xboxproxy/files/xboxproxy.in
Normal file
37
net/xboxproxy/files/xboxproxy.in
Normal file
@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# PROVIDE: xboxproxy
|
||||
# REQUIRE: LOGIN
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable xboxproxy
|
||||
#
|
||||
# xboxproxy_enable (bool): Set to "NO" by default.
|
||||
# Set it to "YES" to enable xboxproxy.
|
||||
# xboxproxy_flags (str): Additional flags to pass to xboxproxy.
|
||||
# Defaults to -x -b -m.
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="xboxproxy"
|
||||
rcvar="${name}_enable"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${xboxproxy_enable="NO"}
|
||||
: ${xboxproxy_flags="-x -b -m"}
|
||||
|
||||
|
||||
start_cmd="${name}_start"
|
||||
pidfile="/var/run/xboxproxy.pid"
|
||||
command="%%PREFIX%%/bin/${name}"
|
||||
|
||||
|
||||
xboxproxy_start() {
|
||||
echo "Starting ${name}."
|
||||
/usr/sbin/daemon -p $pidfile ${command} ${xboxproxy_flags}
|
||||
}
|
||||
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -4,4 +4,4 @@ system link across multiple networks (eg. two people in different states).
|
||||
It also supports bridging of the Apple Rendezvous protocol for sharing of
|
||||
iTunes music shares across different Layer 3 networks..
|
||||
|
||||
WWW: http://www.csh.rit.edu/~psionic/projects/xboxproxy/
|
||||
WWW: http://www.semicomplete.com/projects/xboxproxy
|
||||
|
Loading…
Reference in New Issue
Block a user