- detect unknown repository format extensions such as Git's sha256 extension - prevent a NULL dereference if 'got log -p' runs against a root commit - fix permissions mode bits for fetched pack files; patch by Alisdair MacLeod - use fchmod(2) instead of chmod(2) (semarie, naddy) - initialize sb.st_mode after stat(2) failure in got_worktree_resolve_path() - clear staged file type in file index entries whenever staged status is cleared - unlink temporary files in error cases of install_blob() - fix replacing a file with a symlink during merges; problem found by jrick - fix parsing of 'ON' keyword in gotweb parse.yl patch by Martin Vahlensieck - remove unused variable in gotweb.c; patch by Martin Vahlensieck
43 lines
1008 B
Makefile
43 lines
1008 B
Makefile
# $OpenBSD: Makefile,v 1.50 2020/11/10 22:30:18 stsp Exp $
|
|
|
|
COMMENT-main = game of trees version control system
|
|
COMMENT-web = game of trees repository server for web browsers
|
|
|
|
V = 0.44
|
|
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>
|