Skip to content

Commit

Permalink
net/htpdate: update to v1.3.7, support ssl (default), shift to github
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjgh committed Feb 21, 2023
1 parent 1b4f77b commit 687a1b3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
19 changes: 13 additions & 6 deletions net/htpdate/Makefile
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions net/htpdate/distinfo
@@ -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

0 comments on commit 687a1b3

Please sign in to comment.