SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
50
devel/got/Makefile
Normal file
50
devel/got/Makefile
Normal file
|
@ -0,0 +1,50 @@
|
|||
COMMENT-main = game of trees version control system
|
||||
COMMENT-server = game of trees repository server
|
||||
COMMENT-webd = game of trees repository fast-cgi server
|
||||
COMMENT-gitwrapper = invoke an appropriate Git repository server
|
||||
|
||||
V = 0.91
|
||||
DISTNAME = got-${V}
|
||||
PKGNAME-server = gotd-${V}
|
||||
PKGNAME-webd = gotwebd-${V}
|
||||
PKGNAME-gitwrapper = gitwrapper-${V}
|
||||
CATEGORIES = devel
|
||||
HOMEPAGE = https://gameoftrees.org
|
||||
MAINTAINER = Stefan Sperling <stsp@openbsd.org>
|
||||
|
||||
# ISC
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
RUN_DEPENDS-server = devel/got,-gitwrapper
|
||||
|
||||
MULTI_PACKAGES = -main -server -webd -gitwrapper
|
||||
|
||||
# uses pledge()
|
||||
WANTLIB-main = c curses m panel pthread util z
|
||||
WANTLIB-server = c event m util z
|
||||
WANTLIB-webd = c event m util z
|
||||
WANTLIB-gitwrapper = c
|
||||
|
||||
MAKE_FLAGS = CC="${CC}"
|
||||
ALL_TARGET = all server webd
|
||||
INSTALL_TARGET = install server-install webd-install
|
||||
|
||||
MASTER_SITES = https://gameoftrees.org/releases/
|
||||
|
||||
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
||||
|
||||
# some tests will fail without working non-interactive 'ssh 127.0.0.1'
|
||||
TEST_IS_INTERACTIVE = Yes
|
||||
TEST_ENV = $${SSH_AUTH_SOCK:+SSH_AUTH_SOCK="$$SSH_AUTH_SOCK"}
|
||||
TEST_DEPENDS = devel/git \
|
||||
${PKGPATH}=${V}
|
||||
|
||||
PREFIX-webd = ${VARBASE}/www
|
||||
TEST_TARGET = regress
|
||||
FAKE_FLAGS = MANDIR=${PREFIX}/man/man CHROOT_DIR=${VARBASE}/www
|
||||
|
||||
post-install:
|
||||
@ln -s gitwrapper ${PREFIX}/bin/git-upload-pack
|
||||
@ln -s gitwrapper ${PREFIX}/bin/git-receive-pack
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/got/distinfo
Normal file
2
devel/got/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (got-0.91.tar.gz) = Esk5dYR+D4X0yhkvuVdw8T5zZ37r24xpKpimspTEi5s=
|
||||
SIZE (got-0.91.tar.gz) = 923998
|
8
devel/got/pkg/DESCR-gitwrapper
Normal file
8
devel/got/pkg/DESCR-gitwrapper
Normal file
|
@ -0,0 +1,8 @@
|
|||
The gitwrapper program is designed to replace git-upload-pack(1) and
|
||||
git-receive-pack(1) and to invoke an appropriate Git server based on
|
||||
configuration information placed in gotd.conf(5). This permits the
|
||||
administrator to configure which Git server is to be invoked on the
|
||||
system at run-time. Git repositories which are listed in gotd.conf(5)
|
||||
and exist on the filesystem will be served by gotsh(1). Any other Git
|
||||
repositories will be served by git-upload-pack(1) and
|
||||
git-receive-pack(1).
|
16
devel/got/pkg/DESCR-main
Normal file
16
devel/got/pkg/DESCR-main
Normal file
|
@ -0,0 +1,16 @@
|
|||
Game of Trees (Got) is a version control system which prioritizes
|
||||
ease of use and simplicity over flexibility.
|
||||
|
||||
Got is still under development; it is being developed exclusively
|
||||
on OpenBSD and its target audience are OpenBSD developers. Got is
|
||||
ISC-licensed and was designed with pledge(2) and unveil(2) in mind.
|
||||
|
||||
Got uses Git repositories to store versioned data. At present, Got
|
||||
supports local version control operations only. Git can be used
|
||||
for any functionality which has not yet been implemented in Got.
|
||||
It will always remain possible to work with both Got and Git on
|
||||
the same repository.
|
||||
|
||||
This package includes the got(1) command-line interface and the
|
||||
tog(1) read-only repository browser. EXAMPLES in the got(1) man
|
||||
page contains a quick-start guide for OpenBSD developers.
|
8
devel/got/pkg/DESCR-server
Normal file
8
devel/got/pkg/DESCR-server
Normal file
|
@ -0,0 +1,8 @@
|
|||
gotd(8) is the Game of Trees Git repository server.
|
||||
|
||||
gotd(8) makes Git repositories reachable over the network via ssh(1).
|
||||
The plaintext git:// and HTTP/HTTPS protocols are intentionally not
|
||||
supported.
|
||||
|
||||
Documentation is provided in manual pages installed by this package:
|
||||
gotsh(1), gotd.conf(5), gotd(8), gotctl(8)
|
2
devel/got/pkg/DESCR-webd
Normal file
2
devel/got/pkg/DESCR-webd
Normal file
|
@ -0,0 +1,2 @@
|
|||
Game of Trees Web Daemon (gotwebd) is a Fast-CGI server which displays
|
||||
Git repository data and is designed to work with httpd(8).
|
5
devel/got/pkg/PLIST-gitwrapper
Normal file
5
devel/got/pkg/PLIST-gitwrapper
Normal file
|
@ -0,0 +1,5 @@
|
|||
@conflict git-<2.40.0p0
|
||||
bin/git-receive-pack
|
||||
bin/git-upload-pack
|
||||
@bin bin/gitwrapper
|
||||
@man man/man1/gitwrapper.1
|
22
devel/got/pkg/PLIST-main
Normal file
22
devel/got/pkg/PLIST-main
Normal file
|
@ -0,0 +1,22 @@
|
|||
@pkgpath devel/got
|
||||
@bin bin/got
|
||||
@bin bin/gotadmin
|
||||
@bin bin/tog
|
||||
@bin libexec/got-fetch-pack
|
||||
@bin libexec/got-index-pack
|
||||
@bin libexec/got-read-blob
|
||||
@bin libexec/got-read-commit
|
||||
@bin libexec/got-read-gitconfig
|
||||
@bin libexec/got-read-gotconfig
|
||||
@bin libexec/got-read-object
|
||||
@bin libexec/got-read-pack
|
||||
@bin libexec/got-read-patch
|
||||
@bin libexec/got-read-tag
|
||||
@bin libexec/got-read-tree
|
||||
@bin libexec/got-send-pack
|
||||
@man man/man1/got.1
|
||||
@man man/man1/gotadmin.1
|
||||
@man man/man1/tog.1
|
||||
@man man/man5/git-repository.5
|
||||
@man man/man5/got-worktree.5
|
||||
@man man/man5/got.conf.5
|
10
devel/got/pkg/PLIST-server
Normal file
10
devel/got/pkg/PLIST-server
Normal file
|
@ -0,0 +1,10 @@
|
|||
@newgroup _gotd:501
|
||||
@newuser _gotd:501:_gotd::Game of Trees Daemon:/nonexistent:/sbin/nologin
|
||||
@rcscript ${RCDIR}/gotd
|
||||
@shell bin/gotsh
|
||||
@man man/man1/gotsh.1
|
||||
@man man/man5/gotd.conf.5
|
||||
@man man/man8/gotctl.8
|
||||
@man man/man8/gotd.8
|
||||
@bin sbin/gotctl
|
||||
@bin sbin/gotd
|
29
devel/got/pkg/PLIST-webd
Normal file
29
devel/got/pkg/PLIST-webd
Normal file
|
@ -0,0 +1,29 @@
|
|||
@rcscript ${RCDIR}/gotwebd
|
||||
bin/gotwebd/
|
||||
bin/gotwebd/libexec/
|
||||
@bin bin/gotwebd/libexec/got-read-blob
|
||||
@bin bin/gotwebd/libexec/got-read-commit
|
||||
@bin bin/gotwebd/libexec/got-read-gitconfig
|
||||
@bin bin/gotwebd/libexec/got-read-gotconfig
|
||||
@bin bin/gotwebd/libexec/got-read-object
|
||||
@bin bin/gotwebd/libexec/got-read-pack
|
||||
@bin bin/gotwebd/libexec/got-read-tag
|
||||
@bin bin/gotwebd/libexec/got-read-tree
|
||||
htdocs/gotwebd/
|
||||
htdocs/gotwebd/android-chrome-192x192.png
|
||||
htdocs/gotwebd/android-chrome-384x384.png
|
||||
htdocs/gotwebd/apple-touch-icon.png
|
||||
htdocs/gotwebd/browserconfig.xml
|
||||
htdocs/gotwebd/favicon-16x16.png
|
||||
htdocs/gotwebd/favicon-32x32.png
|
||||
htdocs/gotwebd/favicon.ico
|
||||
htdocs/gotwebd/got.png
|
||||
htdocs/gotwebd/got_large.png
|
||||
htdocs/gotwebd/gotweb.css
|
||||
htdocs/gotwebd/mstile-150x150.png
|
||||
htdocs/gotwebd/safari-pinned-tab.svg
|
||||
htdocs/gotwebd/site.webmanifest
|
||||
@cwd ${LOCALBASE}
|
||||
@man man/man5/gotwebd.conf.5
|
||||
@man man/man8/gotwebd.8
|
||||
@bin sbin/gotwebd
|
15
devel/got/pkg/gotd.rc
Normal file
15
devel/got/pkg/gotd.rc
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/gotd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="gotd: parent"
|
||||
|
||||
rc_configtest() {
|
||||
${daemon} -n ${daemon_flags}
|
||||
}
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
13
devel/got/pkg/gotwebd.rc
Normal file
13
devel/got/pkg/gotwebd.rc
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/gotwebd"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_configtest() {
|
||||
${daemon} -n ${daemon_flags}
|
||||
}
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
Add table
Add a link
Reference in a new issue