pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

got-portable: update to got-portable-0.79



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Thu Dec 1 11:07:42 2022 +0100
Changeset:	07568843075b7c394d34f40c57fba773ada8b2be

Modified Files:
	got-portable/Makefile
	got-portable/distinfo

Log Message:
got-portable: update to got-portable-0.79

* Switch to github mirror to simplify distfile handling.
* Makefile revision

CHANGES since version 0.77:

* got 0.79; 2022-11-08
- repair build on OpenBSD/sparc64 (patch by Ted Bullock)
- fix crash in gotd if client gets disconnected on error (reported by Mikhail)
- fix crash in got-send-pack when server does not announce any capabilities
- make gotd work as intended on an empty repository
- prevent freeing of bogus pointers in got_inflate_end() and got_deflate_end()
- reduce delta cache size to avoid running out of memory on large pack files
- add missing free of delta buffers in several error paths
- make 'got clone -b' work for repositories which lack a valid HEAD reference
- use sub-second precision when checking for objects/pack/ modification
- fix capabilities announced by gotsh when no references exist in repository

* got 0.78; 2022-11-03
- gotsh.1: Use Sx for referencing EXAMPLES (patch by Josiah Frentsos)
- change got_pack_parse_offset_delta tslen argument to size_t (op)
- fix regression test failures with Git 2.30.5 / 2.38.1 or later installed
- fix gotd(8) usage() string (patch by Josiah Frentsos)
- regress/rebase.sh: remove accidentally included absolute path to "got" (naddy)
- fix off_t type mismatches in printf format string arguments (naddy, op)
- fix spelling of "FastCGI" (patch by Josiah Frentsos)
- add missing `goto done;' on error path of read_raw_delta_data() (op)
- add bounds check when reading a delta offset from a packed object (op)
- check size before calling mmap(2) (op)
- sort getopt() option lists and switch statements (patch by Josiah Frentsos)
- make got.conf(5) warn about remotes configured in locally-shared repositories
- add missing check for errors from got_gotconfig_read() in open_worktree()
- plug a memory leak on error in got_gotconfig_read()
- convert pack filesize variables to off_t for large packs on 32-bit arch (op)
- remove sendfd pledge promise from gotd repo_read and repo_write processes
- add gotctl(8); initially supported commands are 'info' and 'stop'
- respect umask when creating or changing files and directories (op)
- fix typo which caused a double-free in gotd repo_write_shutdown()
- got-fetch-pack: fix wrong memmove length leading to dubious checksum failures
- avoid incomplete writes of pack file data in gotsh and got-send-pack
- add a test suite for gotd(8); check basic clone and send functionality
- require space between commit author name and email, for Git compatibility
- gotwebd: avoid 500 error code if erroring out in plaintext mode (landry)
- gotwebd: add respect_exportok flag, defaulting to off (landry)
- respect open files resource limit when sizing pack cache; regression from 0.71
- provide a diff of changes in a temp file while editing a commit log message
- fix memory and file descriptor leak for raw objects; regression from 0.77
- remove casts which made older gcc versions unhappy
- fix free of wrong address on error in gotweb's parse.y

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=07568843075b7c394d34f40c57fba773ada8b2be

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 got-portable/Makefile | 18 ++++++++----------
 got-portable/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 13 deletions(-)

diffs:
diff --git a/got-portable/Makefile b/got-portable/Makefile
index f1dfa06dc5..bdc84f4c7d 100644
--- a/got-portable/Makefile
+++ b/got-portable/Makefile
@@ -1,10 +1,10 @@
 # $NetBSD$
 
-DISTNAME=	e6ef48a9d4e506755058cf8aadafaf6820228e17
-PKGNAME=	got-portable-${PKGVER}
-PKGVER=		0.77
+DISTNAME=	got-portable-${PKGVER}
+PKGVER=		0.79
 CATEGORIES=	devel
-MASTER_SITES=	https://repo.or.cz/got-portable.git/snapshot/
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ThomasAdam/}
+GITHUB_TAG=	ba229487d6a55dee6ba3c2cc596cf0e589491ce9
 
 MAINTAINER=	vms%retrobsd.ddns.net@localhost
 HOMEPAGE=	https://gameoftrees.org/
@@ -19,14 +19,12 @@ ONLY_FOR_PLATFORM+=	Linux-*-*
 ONLY_FOR_PLATFORM+=	FreeBSD-*-*
 ONLY_FOR_PLATFORM+=	DragonFly-*-*
 
-USE_TOOLS+=		pkg-config autoconf automake autoreconf
-GNU_CONFIGURE=		yes
+USE_TOOLS+=	yacc pkg-config autoconf
+USE_TOOLS+=	automake autoreconf
+GNU_CONFIGURE=	yes
 
 INSTALLATION_DIRS=	bin libexec ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
 
-shortdist=	"`${ECHO} ${DISTNAME} | ${CUT} -c 1-7`"
-WRKSRC=		${WRKDIR}/got-portable-${shortdist}
-
 .include "../../mk/bsd.prefs.mk"
 
 pre-configure:
@@ -35,10 +33,10 @@ pre-configure:
 .if ${OPSYS} == "Linux"
 # compatibility macros and functions for Linux.
 .include "../../devel/libbsd/buildlink3.mk"
-.include "../../devel/libmd/buildlink3.mk"
 .endif
 
 .if ${OPSYS} == "Darwin"
+CONFIGURE_ENV+=	HB_PREFIX=${PREFIX}
 # define uuid library to use
 .include "../../devel/ossp-uuid/buildlink3.mk"
 .else
diff --git a/got-portable/distinfo b/got-portable/distinfo
index ab24b4d486..69c42b132b 100644
--- a/got-portable/distinfo
+++ b/got-portable/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (e6ef48a9d4e506755058cf8aadafaf6820228e17.tar.gz) = 517b3abd499b52836de36d272617680598351685dc84ab3c13a0b29499cfc953
-SHA512 (e6ef48a9d4e506755058cf8aadafaf6820228e17.tar.gz) = e37816217ac3262d6dd2e5f501d0e945bd4bd7651bc137a2daac9edfef1680ce5b65fd4a2adad912a2f38fbd9a7aace62cd4f76d74f2e0755002074de3c4f0b7
-Size (e6ef48a9d4e506755058cf8aadafaf6820228e17.tar.gz) = 876937 bytes
+BLAKE2s (got-portable-0.79-ba229487d6a55dee6ba3c2cc596cf0e589491ce9.tar.gz) = 408f63d2fcb506f0b89574afc7f41dc6290c073b7d8c54c6e02f0690d2f16c85
+SHA512 (got-portable-0.79-ba229487d6a55dee6ba3c2cc596cf0e589491ce9.tar.gz) = 733c76425b575e14b52058d85ce18f6edea5394b12defda6e7dbc813326b6b234214a882ab0a5e6722be535b6892afaaee3899771aee459eee23305cf0810642
+Size (got-portable-0.79-ba229487d6a55dee6ba3c2cc596cf0e589491ce9.tar.gz) = 892666 bytes


Home | Main Index | Thread Index | Old Index