ports/82067: New port: net/htpdate
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Jun 9 13:40:09 UTC 2005
>Number: 82067
>Category: ports
>Synopsis: New port: net/htpdate
>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: Thu Jun 09 13:40:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vsevolod Stakhov
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
Htpdate is an utility to synchronize time using http headers. It can be very
useful in corporate networks, where there is only http proxy, so ntp don't
work.
>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:
#
# htpdate
# htpdate/Makefile
# htpdate/distinfo
# htpdate/pkg-descr
#
echo c - htpdate
mkdir -p htpdate > /dev/null 2>&1
echo x - htpdate/Makefile
sed 's/^X//' >htpdate/Makefile << 'END-of-htpdate/Makefile'
X# New ports collection makefile for: htpdate
X# Date created: 9 Jun 2005
X# Whom: Vsevolod Stakhov <vsevolod at highsecure.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= htpdate
XPORTVERSION= 0.8.1
XCATEGORIES= net
XMASTER_SITES= http://www.clevervest.com/htp/archive/c/
X
XMAINTAINER= vsevolod at highsecure.ru
XCOMMENT= Time synchronization over http utility
X
XUSE_BZIP2= yes
X
XMAN8= htpdate.8
X
XPLIST_FILES= bin/htpdate
X
Xpost-extract:
X @${GZIP_CMD} -d ${WRKSRC}/${MAN8}.gz
X
Xdo-install:
X @${INSTALL_PROGRAM} ${WRKSRC}/htpdate ${PREFIX}/bin
X @${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MAN8PREFIX}/man/man8
X
X.include <bsd.port.mk>
END-of-htpdate/Makefile
echo x - htpdate/distinfo
sed 's/^X//' >htpdate/distinfo << 'END-of-htpdate/distinfo'
XMD5 (htpdate-0.8.1.tar.bz2) = 17e9d66a9eaa4b9bceb5badfed19ce12
XSize (htpdate-0.8.1.tar.bz2) = 10416
END-of-htpdate/distinfo
echo x - htpdate/pkg-descr
sed 's/^X//' >htpdate/pkg-descr << 'END-of-htpdate/pkg-descr'
XThe HTTP Time Protocol (HTP) is used to synchronize a computer's time
Xwith web servers as reference time source. Htpdate will synchronize your
Xcomputer's time by extracting timestamps from HTTP headers found
Xin web servers responses. Htpdate can be used as a daemon, to keep your
Xcomputer synchronized.
XAccuracy of htpdate is usually better than 0.5 seconds (even better with
Xmultiple servers). Htpdate can also work through http proxy.
X
XWWW: http://www.clevervest.com/htp/
END-of-htpdate/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list