git 1.4.3.4 - Tree History Storage Tool, the SCM used by the Linux

kernel and X.Org (among others).
Joint work with aanriot@. Ok mbalmer@.
This commit is contained in:
matthieu 2006-11-12 15:59:05 +00:00
parent 62101373ef
commit 70ed5e1e8b
6 changed files with 269 additions and 0 deletions

45
devel/git/Makefile Normal file
View File

@ -0,0 +1,45 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/12 15:59:05 matthieu Exp $
COMMENT= "GIT - Tree History Storage Tool"
DISTNAME= git-1.4.3.4
CATEGORIES= devel
HOMEPAGE= http://git.or.cz/
MAINTAINER= matthieu@openbsd.org
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto iconv z
MASTER_SITES= http://www.kernel.org/pub/software/scm/git/
TAR= ${LOCALBASE}/bin/gtar
PYTHON_VER= 2.4
MODULES= converters/libiconv
BUILD_DEPENDS= ::archivers/gtar \
::devel/p5-Error
RUN_DEPENDS= ::lang/python/${PYTHON_VER} \
::x11/tk/8.4 \
::net/rsync
LIB_DEPENDS= curl.>=3::net/curl \
expat.>=4::textproc/expat
MAKE_ENV= prefix=${PREFIX} \
PYTHON_PATH=${LOCALBASE}/bin/python${PYTHON_VER} \
CC="${CC}" \
CFLAGS="${CFLAGS}"
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
.include <bsd.port.mk>

4
devel/git/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (git-1.4.3.4.tar.gz) = 8e69df0e540a68ccb2676895627bff32
RMD160 (git-1.4.3.4.tar.gz) = 4964993cc2c235eafc9e88557a21008cb9a2a4ec
SHA1 (git-1.4.3.4.tar.gz) = c7e30672bb0d00b7de71cd674070d82ecfe6e51a
SIZE (git-1.4.3.4.tar.gz) = 1014501

View File

@ -0,0 +1,45 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2006/11/12 15:59:05 matthieu Exp $
--- Makefile.orig Thu Oct 19 01:32:58 2006
+++ Makefile Tue Oct 31 23:44:35 2006
@@ -106,13 +106,13 @@ uname_P := $(shell sh -c 'uname -p 2>/de
# CFLAGS and LDFLAGS are for the users to override from the command line.
-CFLAGS = -g -O2 -Wall
+CFLAGS ?= -g -O2 -Wall
LDFLAGS =
ALL_CFLAGS = $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
STRIP ?= strip
-prefix = $(HOME)
+#prefix = $(HOME)
bindir = $(prefix)/bin
gitexecdir = $(bindir)
template_dir = $(prefix)/share/git-core/templates/
@@ -135,7 +135,7 @@ GITWEB_FAVICON = git-favicon.png
export prefix bindir gitexecdir template_dir GIT_PYTHON_DIR
-CC = gcc
+CC ?= gcc
AR = ar
TAR = tar
INSTALL = install
@@ -382,7 +382,6 @@ ifeq ($(uname_S),FreeBSD)
BASIC_LDFLAGS += -L/usr/local/lib
endif
ifeq ($(uname_S),OpenBSD)
- NO_STRCASESTR = YesPlease
NEEDS_LIBICONV = YesPlease
BASIC_CFLAGS += -I/usr/local/include
BASIC_LDFLAGS += -L/usr/local/lib
@@ -449,7 +448,7 @@ ifndef NO_CURL
endif
ifndef NO_OPENSSL
- OPENSSL_LIBSSL = -lssl
+ OPENSSL_LIBSSL = -lssl -lcrypto
ifdef OPENSSLDIR
# Again this may be problematic -- gcc does not always want -R.
BASIC_CFLAGS += -I$(OPENSSLDIR)/include

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-gitk,v 1.1.1.1 2006/11/12 15:59:05 matthieu Exp $
--- gitk.orig Thu Oct 19 01:32:58 2006
+++ gitk Tue Oct 31 21:54:50 2006
@@ -1,6 +1,6 @@
#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
-exec wish "$0" -- "$@"
+exec wish8.4 "$0" -- "$@"
# Copyright (C) 2005-2006 Paul Mackerras. All rights reserved.
# This program is free software; it may be used, copied, modified

11
devel/git/pkg/DESCR Normal file
View File

@ -0,0 +1,11 @@
GIT is a "directory content manager" designed to handle absolutely
massive projects with speed and efficiency, and the release of the
2.6.12 (and later) versions of the Linux kernel as well as more and
more other projects switching to it would indicate that it does this
task well.
GIT falls in the category of distributed source code management tools,
similar to e.g. GNU Arch or Monotone (or, in the commercial world,
BitKeeper). Every GIT working directory is a full-fledged repository
with full revision tracking capabilities, not dependent on network
access to a central server.

153
devel/git/pkg/PLIST Normal file
View File

@ -0,0 +1,153 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/12 15:59:05 matthieu Exp $
bin/git
bin/git-add
bin/git-am
bin/git-annotate
bin/git-apply
bin/git-applymbox
bin/git-applypatch
bin/git-archimport
bin/git-archive
bin/git-bisect
bin/git-blame
bin/git-branch
bin/git-cat-file
bin/git-check-ref-format
bin/git-checkout
bin/git-checkout-index
bin/git-cherry
bin/git-cherry-pick
bin/git-clean
bin/git-clone
bin/git-commit
bin/git-commit-tree
bin/git-convert-objects
bin/git-count-objects
bin/git-cvsexportcommit
bin/git-cvsimport
bin/git-cvsserver
bin/git-daemon
bin/git-describe
bin/git-diff
bin/git-diff-files
bin/git-diff-index
bin/git-diff-stages
bin/git-diff-tree
bin/git-fetch
bin/git-fetch-pack
bin/git-fmt-merge-msg
bin/git-format-patch
bin/git-fsck-objects
bin/git-get-tar-commit-id
bin/git-grep
bin/git-hash-object
bin/git-http-fetch
bin/git-http-push
bin/git-imap-send
bin/git-index-pack
bin/git-init-db
bin/git-instaweb
bin/git-local-fetch
bin/git-log
bin/git-lost-found
bin/git-ls-files
bin/git-ls-remote
bin/git-ls-tree
bin/git-mailinfo
bin/git-mailsplit
bin/git-merge
bin/git-merge-base
bin/git-merge-index
bin/git-merge-octopus
bin/git-merge-one-file
bin/git-merge-ours
bin/git-merge-recur
bin/git-merge-recursive
bin/git-merge-recursive-old
bin/git-merge-resolve
bin/git-merge-stupid
bin/git-merge-tree
bin/git-mktag
bin/git-mktree
bin/git-mv
bin/git-name-rev
bin/git-pack-objects
bin/git-pack-redundant
bin/git-parse-remote
bin/git-patch-id
bin/git-peek-remote
bin/git-prune
bin/git-prune-packed
bin/git-pull
bin/git-push
bin/git-quiltimport
bin/git-read-tree
bin/git-rebase
bin/git-receive-pack
bin/git-relink
bin/git-repack
bin/git-repo-config
bin/git-request-pull
bin/git-rerere
bin/git-reset
bin/git-resolve
bin/git-rev-list
bin/git-rev-parse
bin/git-revert
bin/git-rm
bin/git-runstatus
bin/git-send-email
bin/git-send-pack
bin/git-sh-setup
bin/git-shell
bin/git-shortlog
bin/git-show
bin/git-show-branch
bin/git-show-index
bin/git-ssh-fetch
bin/git-ssh-pull
bin/git-ssh-push
bin/git-ssh-upload
bin/git-status
bin/git-stripspace
bin/git-svn
bin/git-svnimport
bin/git-symbolic-ref
bin/git-tag
bin/git-tar-tree
bin/git-unpack-file
bin/git-unpack-objects
bin/git-update-index
bin/git-update-ref
bin/git-update-server-info
bin/git-upload-archive
bin/git-upload-pack
bin/git-var
bin/git-verify-pack
bin/git-verify-tag
bin/git-whatchanged
bin/git-write-tree
bin/gitk
libdata/perl5/${MACHINE_ARCH}-openbsd/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/
libdata/perl5/${MACHINE_ARCH}-openbsd/5.8.8/perllocal.pod
libdata/perl5/site_perl/Git.pm
@man man/man3p/Git.3p
share/git-core/
share/git-core/python/
share/git-core/python/gitMergeCommon.py
share/git-core/templates/
share/git-core/templates/branches/
share/git-core/templates/description
share/git-core/templates/hooks/
share/git-core/templates/hooks/applypatch-msg
share/git-core/templates/hooks/commit-msg
share/git-core/templates/hooks/post-commit
share/git-core/templates/hooks/post-update
share/git-core/templates/hooks/pre-applypatch
share/git-core/templates/hooks/pre-commit
share/git-core/templates/hooks/pre-rebase
share/git-core/templates/hooks/update
share/git-core/templates/info/
share/git-core/templates/info/exclude
share/git-core/templates/remotes/