ef756e22cf
security issues and to prepare for the outstanding upgrade of gitweb. Changes since git 1.6.0.2: - Fix output line format for zip archive generation. - Fix continuation of git rebase -i in case of modified files (conflict). - Honor the pre-rebase hook for git rebase -i. - Fix inconsistent behavior of git diff --quiet and diff --exit-code. - Use multiple element hunk headers from git diff correctly. - Portability fix for the git diff hunk header regexps. - Fix git index-pack inside .git/objects/pack directory. - Fix git index-pack in thin-pack mode. - Some git stash apply fixes. - Fixed format string vulnerabilities (e.g. in git remote). - Fix behavior of git checkout -b <existingbranch>. - Make git checkout -q actually quiet. - In quiet remote operation, we don't need the remote side to send along all the statistics we discard. - Don't do cross-directory renames when creating packs. - git prune now also removes stale temp files under .git/objects/pack. - Have git merge prune empty directories. - Have git merge allocate enough memory for the structure itself when enumerating the parents of the resulting commit. - Stop git blame -C -C from segfaulting if it encounters a submodule reference. - If only file times were changed, don't have git rm claim local modifications. - If set-tree fails, don't let git svn output Perl compile errors. - Fix various NULL pointer crashes (e.g. in apply, reset, update-index). - Remove bash completion support for various non-space tools. - Don't have git add -p claim no changes if binary files have been modified. - Fix git archive in bare repositories. - Have git diff display the number of new or deleted files for the case where there have been too many of them to allow rename detection. - Fix git push --mirror to not try to send the stash. - If the remote end is up to date, still update the tracking reference upon git push. - Make git pull $there $branch:$current_branch work on unborn branches. - Have git reset --hard remove new paths after giving up resolving a conflicting merge. - Fix git send-email fd leak in directory scanning. - Make submodule directories appear as tracked in git status. - Have git svn invoke "git command" rather than "git-command". - Have git update-ref -d honor --no-deref. - Fix various memory leaks. - Fix git checkout segfault when HEAD points to a deleted branch. - Allow switching out of the current branch with git checkout on an un-checked-out state. - Have git fast-export export all tags. - Make git ls-files --with-tree=<tree> work with options other than -c. - If the first object in git pack-objects exceeds --max-pack-size, don't stuff even more objects in. - Stop git-p4 from replacing multilike keywords. (They don't exist.) - Make git tag complain about mutually incompatible options. - Fix performance for git internal diff on large files with repeating chunks. - Don't let git repack grab objects out of packs marked with .keep into new packs. - Fix git fsck deep recursion. - Fix git fast-export and fast-import on old style annotated tags without tagger information. - Have git mergetool honor the "--". - Fix segfault of git show <tag> where <tag> points at a nonexistent object. - Fix handling of lists of mail addresses for git send-email. - Fix branch ancestry logic in git svn if the history fetching process was interrupted.
92 lines
2.7 KiB
Makefile
92 lines
2.7 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2009/01/09 13:42:15 tonnerre Exp $
|
|
#
|
|
|
|
.include "../../devel/scmgit/Makefile.common"
|
|
|
|
PKGNAME= scmgit-base-${GIT_VERSION}
|
|
COMMENT= GIT Tree History Storage Tool (base package)
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFLICTS+= git-[0-9]* # misc/git
|
|
|
|
DEPENDS+= p5-Error>=0.17015:../../devel/p5-Error
|
|
|
|
USE_LANGUAGES= c99
|
|
USE_TOOLS+= perl:run sh:run msgfmt
|
|
|
|
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
|
|
|
CONFIGURE_ARGS+= --with-curl=${BUILDLINK_PREFIX.curl:Q}
|
|
CONFIGURE_ARGS+= --with-expat=${BUILDLINK_PREFIX.expat:Q}
|
|
CONFIGURE_ARGS+= --with-iconv=${BUILDLINK_PREFIX.iconv:Q}
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib:Q}
|
|
|
|
BUILD_TARGET= all
|
|
INSTALL_TARGET= install
|
|
|
|
PERL5_CONFIGURE= no
|
|
PERL5_PACKLIST= auto/Git/.packlist
|
|
REPLACE_PERL+= *.perl */*.perl */*/*.perl
|
|
REPLACE_PERL+= contrib/hooks/update-paranoid
|
|
|
|
REPLACE_SH+= contrib/hooks/post-receive-email
|
|
REPLACE_SH+= contrib/hooks/pre-auto-gc-battery
|
|
|
|
EGDIR= ${PREFIX}/share/examples/scmgit
|
|
|
|
GIT_COREDIR= git-core
|
|
GIT_TEMPLATEDIR= templates
|
|
|
|
GIT_TEMPLATES= description info/exclude
|
|
GIT_TEMPLATES.samples= hooks/applypatch-msg hooks/commit-msg \
|
|
hooks/post-commit hooks/post-receive \
|
|
hooks/post-update hooks/pre-applypatch \
|
|
hooks/pre-commit hooks/pre-rebase \
|
|
hooks/prepare-commit-msg hooks/update
|
|
GIT_TEMPLATES+=
|
|
|
|
# XXX unused as of now
|
|
#GIT_CORE_EXECDIR= libexec/${GIT_COREDIR}
|
|
GIT_CORE_DATADIR= share/${GIT_COREDIR}
|
|
GIT_CORE_TEMPLATEDIR= ${GIT_CORE_DATADIR}/${GIT_TEMPLATEDIR}
|
|
|
|
MAKE_DIRS= ${GIT_CORE_TEMPLATEDIR}
|
|
MAKE_DIRS+= ${GIT_CORE_TEMPLATEDIR}/hooks
|
|
MAKE_DIRS+= ${GIT_CORE_TEMPLATEDIR}/info
|
|
|
|
REQD_FILES+= ${GIT_TEMPLATES.samples:@.t.@\
|
|
${EGDIR}/${GIT_TEMPLATEDIR}/${.t.:=.sample}\
|
|
${PREFIX}/${GIT_CORE_TEMPLATEDIR}/${.t.}\
|
|
@:M*}
|
|
REQD_FILES+= ${GIT_TEMPLATES:@.t.@\
|
|
${EGDIR}/${GIT_TEMPLATEDIR}/${.t.}\
|
|
${PREFIX}/${GIT_CORE_TEMPLATEDIR}/${.t.}\
|
|
@:M*}
|
|
|
|
|
|
CONFIGURE_ENV+= HOME=${PREFIX:Q}
|
|
CONFIGURE_ENV+= gitexecdir=${GITCOREDIR:Q}
|
|
|
|
GIT_TEMPLATE_INSTDIR= ${EGDIR}/${GIT_TEMPLATEDIR}
|
|
MAKE_ENV+= GIT_TEMPLATE_INSTDIR=${GIT_TEMPLATE_INSTDIR:Q}
|
|
MESSAGE_SUBST+= GIT_TEMPLATE_INSTDIR=${GIT_TEMPLATE_INSTDIR}
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_FILES.fix-paths= templates/hooks--post-receive.sample
|
|
SUBST_MESSAGE.fix-paths=Fixing hard-coded pathnames
|
|
SUBST_STAGE.fix-paths= pre-build
|
|
SUBST_VARS.fix-paths= PREFIX
|
|
|
|
#.include "../../editors/emacs/modules.mk" # XXX TODO (see patch-ad)
|
|
|
|
.include "options.mk"
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|