Skip site navigation (1)Skip section navigation (2)
Date:      26 Aug 2005 12:55:13 -0000
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85317: new port: net/httping - A ping-like tool for HTTP requests
Message-ID:  <20050826125513.42944.qmail@mx.critical.ch>
Resent-Message-ID: <200508261300.j7QD0ebh085155@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85317
>Category:       ports
>Synopsis:       new port: net/httping - A ping-like tool for HTTP requests
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 26 13:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386


	
>Description:
new port: net/httping - A ping-like tool for HTTP requests

Httping is like ping but for http-requests. Give it an url, and it will show
you how long it takes to connect, send a request and retrieve the reply (only
the headers).


>How-To-Repeat:
	
>Fix:

	



--- httping.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:
#
#	httping
#	httping/Makefile
#	httping/pkg-descr
#	httping/distinfo
#
echo c - httping
mkdir -p httping > /dev/null 2>&1
echo x - httping/Makefile
sed 's/^X//' >httping/Makefile << 'END-of-httping/Makefile'
X# New ports collection makefile for:	httping
X# Date created:				26 Aug 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	httping
XPORTVERSION=	1.0.4
XCATEGORIES=	net
XMASTER_SITES=	http://www.vanheusden.com/httping/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A ping-like tool for HTTP requests
X
XCFLAGS+=	-DVERSION=\"${PORTVERSION}\"
XLDFLAGS+=	-lssl -lcrypto
X
XSRC=		http io str error utils main tcp mssl res
XPLIST_FILES=	bin/httping
X
Xdo-build:
X.for f in ${SRC}
X	${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o
X.endfor
X	${CC} ${CFLAGS} ${LDFLAGS} ${SRC:C/(.*)/${WRKSRC}\/\1.o/} \
X		-o ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-httping/Makefile
echo x - httping/pkg-descr
sed 's/^X//' >httping/pkg-descr << 'END-of-httping/pkg-descr'
XHttping is like ping but for http-requests. Give it an url, and it will show
Xyou how long it takes to connect, send a request and retrieve the reply (only
Xthe headers).
X
XWWW: http://www.vanheusden.com/httping/
X
X- ehaupt
Xehaupt@critical.ch
END-of-httping/pkg-descr
echo x - httping/distinfo
sed 's/^X//' >httping/distinfo << 'END-of-httping/distinfo'
XMD5 (httping-1.0.4.tgz) = e685b5cd583ad0442e2f6c8a5bf5ceca
XSIZE (httping-1.0.4.tgz) = 8439
END-of-httping/distinfo
exit
--- httping.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050826125513.42944.qmail>