stsp 550ea62020 update to got 0.48
- use POSIX [s1 = s2] syntax instead of [s1 == s2] (patch by Ryo ONODERA)
- tog log: terminate author field at '>' in case there is no '@' (naddy)
- replace fparseln(3) with getline(3), for better portability (naddy)
- make 'got clone' pin the fetched branch in got.conf(5)
- allow the 'got fetch' -l option together with the -q option
- store branches passed via 'got clone -b' in got.conf(5) and git-config(1)
- work around spurious ACK responses from git servers in got-fetch-pack
- add a 'fetch-all-branches' configuration setting to got.conf(5)
- add a 'reference' directive to remote repositories in got.conf(5)
- fix 'got up -c commit path' deleting unrelated files (found by Timo Myyrä)
- fix 'tog blame' segfault upon empty input file (found by naddy)
- let 'got clone' write gitconfig directives that match the generated got.conf
- fix a use after free in got_worktree_close() (naddy)
- make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
- make close(2) failure checks consistent; check 'close() == -1' everywhere
- fix missing close(2) error check in got_worktree_close()
2021-01-22 22:10:07 +00:00

43 lines
1008 B
Makefile

# $OpenBSD: Makefile,v 1.54 2021/01/22 22:10:07 stsp Exp $
COMMENT-main = game of trees version control system
COMMENT-web = game of trees repository server for web browsers
V = 0.48
DISTNAME = got-${V}
PKGNAME-main = ${DISTNAME}
PKGNAME-web = gotweb-${V}
CATEGORIES = devel
HOMEPAGE = https://gameoftrees.org
MAINTAINER = Stefan Sperling <stsp@openbsd.org>
# ISC
PERMIT_PACKAGE = Yes
MULTI_PACKAGES = -main -web
# uses pledge()
WANTLIB-main = c curses panel pthread util z
WANTLIB-web = c util z
MAKE_FLAGS = CC="${CC}"
ALL_TARGET = all web
INSTALL_TARGET = install web-install
MASTER_SITES = https://gameoftrees.org/releases/
DEBUG_PACKAGES = ${BUILD_PACKAGES}
BUILD_DEPENDS = www/kcgi>=0.12.0
# some tests will fail without working non-interactive 'ssh 127.0.0.1'
TEST_IS_INTERACTIVE = Yes
TEST_DEPENDS = devel/git \
${PKGPATH}=${V}
PREFIX-web = ${VARBASE}/www
TEST_TARGET = regress
FAKE_FLAGS = MANDIR=${PREFIX}/man/man CHROOT_DIR=${VARBASE}/www
.include <bsd.port.mk>