ports/53373: New port: net/uplog
Kirill Ponomarew
ponomarew at oberon.net
Mon Jun 16 12:50:11 UTC 2003
>Number: 53373
>Category: ports
>Synopsis: New port: net/uplog
>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: Mon Jun 16 05:50:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Kirill Ponomarew
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Oberon.net
>Environment:
>Description:
New port: net/uplog
UDP-based ping programm
>How-To-Repeat:
>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:
#
# net/uplog
# net/uplog/Makefile
# net/uplog/distinfo
# net/uplog/pkg-plist
# net/uplog/pkg-descr
#
echo c - net/uplog
mkdir -p net/uplog > /dev/null 2>&1
echo x - net/uplog/Makefile
sed 's/^X//' >net/uplog/Makefile << 'END-of-net/uplog/Makefile'
X# New ports collection makefile for: uplog
X# Date created: 16.06.2003
X# Whom: Kirill Ponomarew <ponomarew at oberon.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= uplog
XPORTVERSION= 0.1
XCATEGORIES= net
XMASTER_SITES= http://www.nerdlabs.org/downloads/${PORTNAME}/
X
XMAINTAINER= ponomarew at oberon.net
XCOMMENT= UDP-based ping programm
X
XUSE_GETOPT_LONG= yes
XUSE_REINPLACE= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LIBS="-L${LOCALBASE}/lib"
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
Xpost-patch:
X ${REINPLACE_CMD} -e \
X 's|#include <malloc.h>||g' \
X ${WRKSRC}/${PORTNAME}.c
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X.for i in README
X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-net/uplog/Makefile
echo x - net/uplog/distinfo
sed 's/^X//' >net/uplog/distinfo << 'END-of-net/uplog/distinfo'
XMD5 (uplog-0.1.tar.gz) = 3b4e9e0bcc76ca9648ef4846577ff13d
END-of-net/uplog/distinfo
echo x - net/uplog/pkg-plist
sed 's/^X//' >net/uplog/pkg-plist << 'END-of-net/uplog/pkg-plist'
Xbin/uplog
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-net/uplog/pkg-plist
echo x - net/uplog/pkg-descr
sed 's/^X//' >net/uplog/pkg-descr << 'END-of-net/uplog/pkg-descr'
XUplog is an UDP-based ping program that gives an ASCII
Xgraphical log of packet loss. Once per second, it sends a UDP
Xpacket to the echo port of the target host and waits for a
Xreply. If it gets a reply an X is written, otherwise a dot is
Xwritten to the log file. If a packet with an incorrect sequence
Xnumber arrives, a colon is written to the log file. By
Xexamining the log file, one can easily see when and how the
Xpacket losses occur.
X
XWWW: http://www.nerdlabs.org/projects/uplog.php
END-of-net/uplog/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list