forked from Lainports/freebsd-ports
net/htpdate: update to v1.3.7, support ssl (default), shift to github
This commit is contained in:
parent
1b4f77b589
commit
687a1b3d49
2 changed files with 16 additions and 9 deletions
|
|
@ -1,29 +1,36 @@
|
|||
PORTNAME= htpdate
|
||||
PORTVERSION= 1.2.3
|
||||
PORTVERSION= 1.3.7
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.vervest.org/htp/archive/c/ \
|
||||
http://twekkel.home.xs4all.nl/htp/
|
||||
|
||||
MAINTAINER= jgh@FreeBSD.org
|
||||
COMMENT= Time synchronization over http utility
|
||||
WWW= https://www.vervest.org/htp/
|
||||
WWW= https://github.com/twekkel/htpdate
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
||||
USES= tar:xz
|
||||
GH_ACCOUNT= twekkel
|
||||
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
|
||||
PORTDOCS= Changelog README
|
||||
PORTDOCS= Changelog README.md
|
||||
USE_RC_SUBR= ${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_DEFINE= DOCS SSL
|
||||
OPTIONS_DEFAULT= SSL
|
||||
|
||||
SSL_USES= ssl
|
||||
SSL_CFLAGS= -DENABLE_HTTPS
|
||||
SSL_LDFLAGS= -lssl
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1647023155
|
||||
SHA256 (htpdate-1.2.3.tar.xz) = 6b4e3fbf93d552a3a20f30a3906bf0caac05d9626bd508220744010fe9dd53f0
|
||||
SIZE (htpdate-1.2.3.tar.xz) = 12988
|
||||
TIMESTAMP = 1676573180
|
||||
SHA256 (htpdate-1.3.7.tar.gz) = 88c52fe475308ee95f560fd7cf68c75bc6e9a6abf56be7fed203a7f762fe7ab2
|
||||
SIZE (htpdate-1.3.7.tar.gz) = 16897
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue