diff --git a/devel/got/Makefile b/devel/got/Makefile index cc9f2fcc79d8..3ea370244689 100644 --- a/devel/got/Makefile +++ b/devel/got/Makefile @@ -1,34 +1,45 @@ PORTNAME= got -DISTVERSION= 0.97 +DISTVERSION= 0.98 CATEGORIES= devel MASTER_SITES= https://gameoftrees.org/releases/ MAINTAINER= naddy@FreeBSD.org COMMENT= Game of Trees version control system WWW= https://gameoftrees.org LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENCE -USES= uidfix +USES= localbase:ldflags uidfix CONFLICTS_INSTALL= p5-App-GitGot # Insert #include "openbsd-compat.h" into each source file, # after the <...> includes and before the "..." ones. n= ${.newline} post-extract: @${FIND} ${WRKSRC} -name '*.[cy]' -exec \ ${REINPLACE_CMD} '1,/^#include "/{ \ /^#include "/i\$n#include "openbsd-compat.h"\$n$n}' \ {} + ${CP} -R ${FILESDIR}/openbsd-compat ${WRKSRC} # The regression test suite requires: # installed got # installed git +# installed perl and HTTP::Daemon # ssh to 127.0.0.1 regress: @(cd ${WRKSRC}/regress && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} regress) -.include +.include + +# When using LibreSSL use its own libtls, but when using OpenSSL +# use libtls from libretls. +.if ${SSL_DEFAULT:Mlibressl*} +# /* empty */ +.else +LIB_DEPENDS+= libtls.so:security/libretls +.endif # SSL_DEFAULT + +.include diff --git a/devel/got/distinfo b/devel/got/distinfo index 2c439e4c3f8b..b9e3f9a5be79 100644 --- a/devel/got/distinfo +++ b/devel/got/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710146453 -SHA256 (got-0.97.tar.gz) = 00b992ba66042514f36cb2b396c014ad3a6ef31e24a155ac628d86fde52a7e4e -SIZE (got-0.97.tar.gz) = 926936 +TIMESTAMP = 1713879270 +SHA256 (got-0.98.tar.gz) = 1ff7ec010b62413afb3e88d57ea52e67788b2ccbd2078ad0156df73c099759da +SIZE (got-0.98.tar.gz) = 971797 diff --git a/devel/got/pkg-plist b/devel/got/pkg-plist index 4614cdf0b9e1..5fd6c3f4a51f 100644 --- a/devel/got/pkg-plist +++ b/devel/got/pkg-plist @@ -1,21 +1,22 @@ bin/got bin/gotadmin bin/tog +libexec/got-fetch-http libexec/got-fetch-pack libexec/got-index-pack libexec/got-read-blob libexec/got-read-commit libexec/got-read-gitconfig libexec/got-read-gotconfig libexec/got-read-object libexec/got-read-pack libexec/got-read-patch libexec/got-read-tag libexec/got-read-tree libexec/got-send-pack share/man/man1/got.1.gz share/man/man1/gotadmin.1.gz share/man/man1/tog.1.gz share/man/man5/git-repository.5.gz share/man/man5/got-worktree.5.gz share/man/man5/got.conf.5.gz