pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/git-fvcs import get-fvcs-1.5.0.3 from pkgsrc-wip...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d24a382b630
branches:  trunk
changeset: 528203:6d24a382b630
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Apr 24 16:34:01 2007 +0000

description:
import get-fvcs-1.5.0.3 from pkgsrc-wip with additions from me to get it
to build and run on NetBSD-2.0/alpha and SunOS-5.9/sparc.

Git is popular version control system designed to handle very large projects
with speed and efficiency; it is used mainly for various open source projects,
most notably the Linux kernel.

Git falls in the category of distributed source code management tools, similar
to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git
working directory is a full-fledged repository with full revision tracking
capabilities, not dependent on network access or a central server.

diffstat:

 devel/git-fvcs/DESCR            |    8 ++
 devel/git-fvcs/Makefile         |   44 +++++++++++
 devel/git-fvcs/PLIST            |  158 ++++++++++++++++++++++++++++++++++++++++
 devel/git-fvcs/distinfo         |    9 ++
 devel/git-fvcs/patches/patch-aa |   39 +++++++++
 devel/git-fvcs/patches/patch-ab |   25 ++++++
 devel/git-fvcs/patches/patch-ac |   14 +++
 devel/git-fvcs/patches/patch-ad |   21 +++++
 8 files changed, 318 insertions(+), 0 deletions(-)

diffs (truncated from 350 to 300 lines):

diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/DESCR      Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,8 @@
+Git is popular version control system designed to handle very large projects
+with speed and efficiency; it is used mainly for various open source projects,
+most notably the Linux kernel.
+
+Git falls in the category of distributed source code management tools, similar
+to e.g. GNU Arch or Monotone (or BitKeeper in the proprietary world). Every Git
+working directory is a full-fledged repository with full revision tracking
+capabilities, not dependent on network access or a central server.
diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/Makefile   Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/04/24 16:34:01 dmcmahill Exp $
+#
+
+PKGVER=                1.5.0.3
+DISTNAME=      git-${PKGVER}
+PKGNAME=       git-fvcs-${PKGVER}
+CATEGORIES=    devel
+MASTER_SITES=  http://kernel.org/pub/software/scm/git/
+
+MAINTAINER=    pkgsrc%blackmouse.biz@localhost
+HOMEPAGE=      http://git.or.cz/
+COMMENT=       Popular version control system designed to handle large projects
+
+EXTRACT_USING= gtar
+
+CONFLICTS+=    git-[0-9]*
+
+USE_TOOLS+=    gmake perl:run wish:run
+
+REPLACE_PERL+= git-add--interactive.perl git-archimport.perl \
+               git-cvsexportcommit.perl git-cvsimport.perl \
+               git-cvsserver.perl git-remote.perl \
+               git-send-email.perl git-svnimport.perl \
+               Documentation/build-docdep.perl Documentation/sort_glossary.pl \
+               gitweb/gitweb.perl \
+               contrib/blameview/blameview.perl contrib/fast-import/import-tars.perl
+
+PYTHON_PATCH_SCRIPTS+= git-p4import.py contrib/hg-to-git/hg-to-git.py
+
+PERL5_PACKLIST_DIR=    ${PREFIX}/lib/perl5/site_perl/5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi
+PERL5_PACKLIST=        auto/Git/.packlist
+
+do-build:
+       cd ${WRKSRC} && ${GMAKE} prefix=${PREFIX} PERL_PATH=${PREFIX}/bin/perl CC=${CC:Q}
+
+do-install:
+       cd ${WRKSRC} && ${GMAKE} prefix=${PREFIX} PERL_PATH=${PREFIX}/bin/perl INSTALL=${INSTALL:Q} install
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/PLIST      Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,158 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/24 16:34:02 dmcmahill Exp $
+bin/git
+bin/git-add
+bin/git-add--interactive
+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-checkout
+bin/git-checkout-index
+bin/git-check-ref-format
+bin/git-cherry
+bin/git-cherry-pick
+bin/git-citool
+bin/git-clean
+bin/git-clone
+bin/git-commit
+bin/git-commit-tree
+bin/git-config
+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-fast-import
+bin/git-fetch
+bin/git-fetch-pack
+bin/git-fmt-merge-msg
+bin/git-for-each-ref
+bin/git-format-patch
+bin/git-fsck
+bin/git-fsck-objects
+bin/git-gc
+bin/git-get-tar-commit-id
+bin/git-grep
+bin/git-gui
+bin/git-hash-object
+bin/git-http-fetch
+bin/git-http-push
+bin/git-imap-send
+bin/git-index-pack
+bin/git-init
+bin/git-init-db
+bin/git-instaweb
+bin/gitk
+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-file
+bin/git-merge-index
+bin/git-merge-octopus
+bin/git-merge-one-file
+bin/git-merge-ours
+bin/git-merge-recursive
+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-pack-refs
+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-reflog
+bin/git-relink
+bin/git-remote
+bin/git-repack
+bin/git-repo-config
+bin/git-request-pull
+bin/git-rerere
+bin/git-reset
+bin/git-resolve
+bin/git-revert
+bin/git-rev-list
+bin/git-rev-parse
+bin/git-rm
+bin/git-runstatus
+bin/git-send-email
+bin/git-send-pack
+bin/git-shell
+bin/git-shortlog
+bin/git-show
+bin/git-show-branch
+bin/git-show-index
+bin/git-show-ref
+bin/git-sh-setup
+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
+share/git-core/templates/description
+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/exclude
+@dirrm share/git-core/templates/info
+@dirrm share/git-core/templates/hooks
+@exec ${MKDIR} %D/share/git-core/templates/branches
+@dirrm share/git-core/templates/branches
+@dirrm share/git-core/templates
+@dirrm share/git-core
diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/distinfo   Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/04/24 16:34:02 dmcmahill Exp $
+
+SHA1 (git-1.5.0.3.tar.gz) = a5efd2cd36daad60718ed9b1f5a4f0de1eade25c
+RMD160 (git-1.5.0.3.tar.gz) = 2af313d5414770abad82babd0b4aee9b7e0bbc5b
+Size (git-1.5.0.3.tar.gz) = 1245187 bytes
+SHA1 (patch-aa) = 6997adce53e8a8fd6c1de6c0a661e7704607fac5
+SHA1 (patch-ab) = 88a1e6761dd36266066f5668a60329fa4188e143
+SHA1 (patch-ac) = a13174c8a865bcf4f4824a6ff6b8897de8f5bd07
+SHA1 (patch-ad) = 7b139b2a61bd196767dd3dfe43d329abbb5268e6
diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/patches/patch-aa   Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/04/24 16:34:02 dmcmahill Exp $
+
+--- Makefile.orig      2007-03-04 21:15:33.000000000 -0500
++++ Makefile
+@@ -351,6 +351,7 @@ ifeq ($(uname_S),Darwin)
+       NO_STRLCPY = YesPlease
+ endif
+ ifeq ($(uname_S),SunOS)
++      NEEDS_LIBICONV = YesPlease
+       NEEDS_SOCKET = YesPlease
+       NEEDS_NSL = YesPlease
+       SHELL_PATH = /bin/bash
+@@ -371,6 +372,9 @@ ifeq ($(uname_S),SunOS)
+       INSTALL = ginstall
+       TAR = gtar
+       BASIC_CFLAGS += -D__EXTENSIONS__
++      BASIC_CFLAGS += -I${prefix}/include
++      BASIC_LDFLAGS += -L${prefix}/lib
++      ALL_LDFLAGS += -Wl,-R${prefix}/lib
+ endif
+ ifeq ($(uname_O),Cygwin)
+       NO_D_TYPE_IN_DIRENT = YesPlease
+@@ -399,12 +403,10 @@ ifeq ($(uname_S),OpenBSD)
+       BASIC_LDFLAGS += -L/usr/local/lib
+ endif
+ ifeq ($(uname_S),NetBSD)
+-      ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
+-              NEEDS_LIBICONV = YesPlease
+-      endif
+-      BASIC_CFLAGS += -I/usr/pkg/include
+-      BASIC_LDFLAGS += -L/usr/pkg/lib
+-      ALL_LDFLAGS += -Wl,-rpath,/usr/pkg/lib
++      NEEDS_LIBICONV = YesPlease
++      BASIC_CFLAGS += -I${prefix}/include
++      BASIC_LDFLAGS += -L${prefix}/lib
++      ALL_LDFLAGS += -Wl,-rpath,${prefix}/lib
+ endif
+ ifeq ($(uname_S),AIX)
+       NO_STRCASESTR=YesPlease
diff -r 4fdbc3b2fa3b -r 6d24a382b630 devel/git-fvcs/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/git-fvcs/patches/patch-ab   Tue Apr 24 16:34:01 2007 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/04/24 16:34:02 dmcmahill Exp $
+
+Avoid conflicting with the wcwidth which exists in libc but
+with a different prototype.
+
+--- utf8.c.orig        2007-03-05 02:15:33.000000000 +0000
++++ utf8.c
+@@ -62,7 +62,7 @@ static int bisearch(ucs_char_t ucs, cons
+  * in ISO 10646.
+  */
+ 
+-static int wcwidth(ucs_char_t ch)
++static int git_wcwidth(ucs_char_t ch)
+ {
+       /*
+        * Sorted list of non-overlapping intervals of non-spacing characters,
+@@ -207,7 +207,7 @@ invalid:
+               return 0;



Home | Main Index | Thread Index | Old Index