mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add httping 1.0.4, a ping-like tool for HTTP requests.
PR: ports/85317 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
This commit is contained in:
parent
8ef903640a
commit
a519deff6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141360
@ -234,6 +234,7 @@
|
||||
SUBDIR += howl
|
||||
SUBDIR += htpdate
|
||||
SUBDIR += http_ping
|
||||
SUBDIR += httping
|
||||
SUBDIR += hx
|
||||
SUBDIR += i2p
|
||||
SUBDIR += icb
|
||||
|
33
net/httping/Makefile
Normal file
33
net/httping/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: httping
|
||||
# Date created: 26 Aug 2005
|
||||
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= httping
|
||||
PORTVERSION= 1.0.4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.vanheusden.com/httping/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ehaupt@critical.ch
|
||||
COMMENT= A ping-like tool for HTTP requests
|
||||
|
||||
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
|
||||
LDFLAGS+= -lssl -lcrypto
|
||||
|
||||
SRC= http io str error utils main tcp mssl res
|
||||
PLIST_FILES= bin/httping
|
||||
|
||||
do-build:
|
||||
.for f in ${SRC}
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/${f}.c -o ${WRKSRC}/${f}.o
|
||||
.endfor
|
||||
${CC} ${CFLAGS} ${LDFLAGS} ${SRC:C/(.*)/${WRKSRC}\/\1.o/} \
|
||||
-o ${WRKSRC}/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/httping/distinfo
Normal file
2
net/httping/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (httping-1.0.4.tgz) = e685b5cd583ad0442e2f6c8a5bf5ceca
|
||||
SIZE (httping-1.0.4.tgz) = 8439
|
8
net/httping/pkg-descr
Normal file
8
net/httping/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
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).
|
||||
|
||||
WWW: http://www.vanheusden.com/httping/
|
||||
|
||||
- ehaupt
|
||||
ehaupt@critical.ch
|
Loading…
Reference in New Issue
Block a user