ports/142223: [SHAR] New port net/udpxy
Alex Deiter
alex.deiter at gmail.com
Sat Jan 2 02:30:06 UTC 2010
>Number: 142223
>Category: ports
>Synopsis: [SHAR] New port net/udpxy
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 02 02:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alex Deiter
>Release: 9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD blackbox.deiter.net.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Dec 19 19:24:58 MSK 2009 root at blackbox.deiter.net.ru:/usr/obj/usr/src/sys/BLACKBOX i386
>Description:
[SHAR] New port net/udpxy
Summary
--------------
udpxy is a UDP-to-HTTP multicast traffic relay daemon:
it forwards UDP traffic from a given multicast subscription
to the requesting HTTP client.
udpxy is released under GPL v.3
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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/udpxy
# net/udpxy/files
# net/udpxy/files/udpxy.in
# net/udpxy/pkg-descr
# net/udpxy/distinfo
# net/udpxy/Makefile
#
echo c - net/udpxy
mkdir -p net/udpxy > /dev/null 2>&1
echo c - net/udpxy/files
mkdir -p net/udpxy/files > /dev/null 2>&1
echo x - net/udpxy/files/udpxy.in
sed 's/^X//' >net/udpxy/files/udpxy.in << 'fbfa2f558e3d0e5e843cb093c65f85d5'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
X# PROVIDE: udpxy
X# REQUIRE: NETWORKING
X
X# The following variables are provided to control startup of udpxy:
X# rc configuration file (eg /etc/rc.conf):
X# udpxy_enable (bool): Set to "NO" by default.
X# Set it to "YES" to enable udpxy.
X# udpxy_flags (str): Set to "" by default.
X# Extra flags passed to start command.
X
X. %%RC_SUBR%%
X
Xname="udpxy"
Xrcvar=`set_rcvar`
Xcommand="%%PREFIX%%/sbin/${name}"
Xcommand_args="${udpxy_flags}"
Xudpxy_enable=${udpxy_enable-"NO"}
X
Xload_rc_config $name
Xrun_rc_command "$1"
fbfa2f558e3d0e5e843cb093c65f85d5
echo x - net/udpxy/pkg-descr
sed 's/^X//' >net/udpxy/pkg-descr << 'fe54a64fe0c81980d95ab3f61fe2c22f'
Xudpxy is a UDP-to-HTTP multicast traffic relay daemon:
Xit forwards UDP traffic from a given multicast subscription
Xto the requesting HTTP client.
X
XWWW: http://udpxy.sourceforge.net/
fe54a64fe0c81980d95ab3f61fe2c22f
echo x - net/udpxy/distinfo
sed 's/^X//' >net/udpxy/distinfo << '991075653a40a293c630a42b91594e0e'
XMD5 (udpxy.1.0-Chipmunk-14.tgz) = 96c7a71bddd90c85721926af0435bab9
XSHA256 (udpxy.1.0-Chipmunk-14.tgz) = 11f0efa7726c6daeb6b7b40a06507d5818662f55548857786a90b8610cef8010
XSIZE (udpxy.1.0-Chipmunk-14.tgz) = 79232
991075653a40a293c630a42b91594e0e
echo x - net/udpxy/Makefile
sed 's/^X//' >net/udpxy/Makefile << 'aa60eab9e61c11aab9bea2bf62c461a6'
X# New ports collection makefile for: net/udpxy
X# Date create: 2 January 2009
X# Whom: Alex Deiter <Alex.Deiter at Gmail.COM>
X#
X# $FreeBSD$
X#
X
XPORTNAME= udpxy
XPORTVERSION= 1.0
XCATEGORIES= net
XDISTVERSION= Chipmunk
XDISTVERSIONSUFFIX= 14
XMASTER_SITES= SF
XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}-${PORTVERSION}
XDISTNAME= ${PORTNAME}.${PORTVERSION}-${DISTVERSION}-${DISTVERSIONSUFFIX}
XEXTRACT_SUFX= .tgz
X
XMAINTAINER= alex.deiter at gmail.com
XCOMMENT= UDP-to-HTTP multicast traffic relay daemon
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${DISTVERSION}-${DISTVERSIONSUFFIX}
XUSE_RC_SUBR= udpxy
XUSE_GMAKE= yes
X
XPLIST_FILES= sbin/udpxy \
X sbin/udpxrec
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${PREFIX}/sbin/
X @${LN} -s ${PREFIX}/sbin/udpxy ${PREFIX}/sbin/udpxrec
X
X.include <bsd.port.mk>
aa60eab9e61c11aab9bea2bf62c461a6
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list