Added a git package for building on ipfire.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Mar 2008 19:43:08 +0000 (21:43 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 Mar 2008 19:43:08 +0000 (21:43 +0200)
config/rootfiles/packages/git [new file with mode: 0644]
lfs/git [new file with mode: 0644]
make.sh

diff --git a/config/rootfiles/packages/git b/config/rootfiles/packages/git
new file mode 100644 (file)
index 0000000..205e68c
--- /dev/null
@@ -0,0 +1,210 @@
+usr/bin/git
+usr/bin/git-add
+usr/bin/git-add--interactive
+usr/bin/git-am
+usr/bin/git-annotate
+usr/bin/git-apply
+usr/bin/git-archimport
+usr/bin/git-archive
+usr/bin/git-bisect
+usr/bin/git-blame
+usr/bin/git-branch
+usr/bin/git-bundle
+usr/bin/git-cat-file
+usr/bin/git-check-attr
+usr/bin/git-check-ref-format
+usr/bin/git-checkout
+usr/bin/git-checkout-index
+usr/bin/git-cherry
+usr/bin/git-cherry-pick
+usr/bin/git-citool
+usr/bin/git-clean
+usr/bin/git-clone
+usr/bin/git-commit
+usr/bin/git-commit-tree
+usr/bin/git-config
+usr/bin/git-count-objects
+usr/bin/git-cvsexportcommit
+usr/bin/git-cvsimport
+usr/bin/git-cvsserver
+usr/bin/git-daemon
+usr/bin/git-describe
+usr/bin/git-diff
+usr/bin/git-diff-files
+usr/bin/git-diff-index
+usr/bin/git-diff-tree
+usr/bin/git-fast-export
+usr/bin/git-fast-import
+usr/bin/git-fetch
+usr/bin/git-fetch--tool
+usr/bin/git-fetch-pack
+usr/bin/git-filter-branch
+usr/bin/git-fmt-merge-msg
+usr/bin/git-for-each-ref
+usr/bin/git-format-patch
+usr/bin/git-fsck
+usr/bin/git-fsck-objects
+usr/bin/git-gc
+usr/bin/git-get-tar-commit-id
+usr/bin/git-grep
+usr/bin/git-gui
+usr/bin/git-hash-object
+usr/bin/git-help--browse
+usr/bin/git-http-fetch
+usr/bin/git-http-push
+usr/bin/git-imap-send
+usr/bin/git-index-pack
+usr/bin/git-init
+usr/bin/git-init-db
+usr/bin/git-instaweb
+usr/bin/git-log
+usr/bin/git-lost-found
+usr/bin/git-ls-files
+usr/bin/git-ls-remote
+usr/bin/git-ls-tree
+usr/bin/git-mailinfo
+usr/bin/git-mailsplit
+usr/bin/git-merge
+usr/bin/git-merge-base
+usr/bin/git-merge-file
+usr/bin/git-merge-index
+usr/bin/git-merge-octopus
+usr/bin/git-merge-one-file
+usr/bin/git-merge-ours
+usr/bin/git-merge-recursive
+usr/bin/git-merge-resolve
+usr/bin/git-merge-stupid
+usr/bin/git-merge-subtree
+usr/bin/git-merge-tree
+usr/bin/git-mergetool
+usr/bin/git-mktag
+usr/bin/git-mktree
+usr/bin/git-mv
+usr/bin/git-name-rev
+usr/bin/git-pack-objects
+usr/bin/git-pack-redundant
+usr/bin/git-pack-refs
+usr/bin/git-parse-remote
+usr/bin/git-patch-id
+usr/bin/git-peek-remote
+usr/bin/git-prune
+usr/bin/git-prune-packed
+usr/bin/git-pull
+usr/bin/git-push
+usr/bin/git-quiltimport
+usr/bin/git-read-tree
+usr/bin/git-rebase
+usr/bin/git-rebase--interactive
+usr/bin/git-receive-pack
+usr/bin/git-reflog
+usr/bin/git-relink
+usr/bin/git-remote
+usr/bin/git-repack
+usr/bin/git-repo-config
+usr/bin/git-request-pull
+usr/bin/git-rerere
+usr/bin/git-reset
+usr/bin/git-rev-list
+usr/bin/git-rev-parse
+usr/bin/git-revert
+usr/bin/git-rm
+usr/bin/git-send-email
+usr/bin/git-send-pack
+usr/bin/git-sh-setup
+usr/bin/git-shell
+usr/bin/git-shortlog
+usr/bin/git-show
+usr/bin/git-show-branch
+usr/bin/git-show-index
+usr/bin/git-show-ref
+usr/bin/git-stash
+usr/bin/git-status
+usr/bin/git-stripspace
+usr/bin/git-submodule
+usr/bin/git-svn
+usr/bin/git-symbolic-ref
+usr/bin/git-tag
+usr/bin/git-tar-tree
+usr/bin/git-unpack-file
+usr/bin/git-unpack-objects
+usr/bin/git-update-index
+usr/bin/git-update-ref
+usr/bin/git-update-server-info
+usr/bin/git-upload-archive
+usr/bin/git-upload-pack
+usr/bin/git-var
+usr/bin/git-verify-pack
+usr/bin/git-verify-tag
+usr/bin/git-whatchanged
+usr/bin/git-write-tree
+#usr/bin/gitk
+usr/lib/perl5/site_perl/5.8.8/Error.pm
+usr/lib/perl5/site_perl/5.8.8/Git.pm
+#usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Git
+#usr/lib/perl5/site_perl/5.8.8/i586-linux/auto/Git/.packlist
+usr/share/git-core
+usr/share/git-core/templates
+usr/share/git-core/templates/branches
+usr/share/git-core/templates/description
+usr/share/git-core/templates/hooks
+usr/share/git-core/templates/hooks/applypatch-msg
+usr/share/git-core/templates/hooks/commit-msg
+usr/share/git-core/templates/hooks/post-commit
+usr/share/git-core/templates/hooks/post-receive
+usr/share/git-core/templates/hooks/post-update
+usr/share/git-core/templates/hooks/pre-applypatch
+usr/share/git-core/templates/hooks/pre-commit
+usr/share/git-core/templates/hooks/pre-rebase
+usr/share/git-core/templates/hooks/update
+usr/share/git-core/templates/info
+usr/share/git-core/templates/info/exclude
+#usr/share/git-gui
+#usr/share/git-gui/lib
+#usr/share/git-gui/lib/about.tcl
+#usr/share/git-gui/lib/blame.tcl
+#usr/share/git-gui/lib/branch.tcl
+#usr/share/git-gui/lib/branch_checkout.tcl
+#usr/share/git-gui/lib/branch_create.tcl
+#usr/share/git-gui/lib/branch_delete.tcl
+#usr/share/git-gui/lib/branch_rename.tcl
+#usr/share/git-gui/lib/browser.tcl
+#usr/share/git-gui/lib/checkout_op.tcl
+#usr/share/git-gui/lib/choose_font.tcl
+#usr/share/git-gui/lib/choose_repository.tcl
+#usr/share/git-gui/lib/choose_rev.tcl
+#usr/share/git-gui/lib/class.tcl
+#usr/share/git-gui/lib/commit.tcl
+#usr/share/git-gui/lib/console.tcl
+#usr/share/git-gui/lib/database.tcl
+#usr/share/git-gui/lib/date.tcl
+#usr/share/git-gui/lib/diff.tcl
+#usr/share/git-gui/lib/encoding.tcl
+#usr/share/git-gui/lib/error.tcl
+#usr/share/git-gui/lib/git-gui.ico
+#usr/share/git-gui/lib/index.tcl
+#usr/share/git-gui/lib/logo.tcl
+#usr/share/git-gui/lib/merge.tcl
+#usr/share/git-gui/lib/msgs
+#usr/share/git-gui/lib/msgs/de.msg
+#usr/share/git-gui/lib/msgs/fr.msg
+#usr/share/git-gui/lib/msgs/hu.msg
+#usr/share/git-gui/lib/msgs/it.msg
+#usr/share/git-gui/lib/msgs/ja.msg
+#usr/share/git-gui/lib/msgs/ru.msg
+#usr/share/git-gui/lib/msgs/sv.msg
+#usr/share/git-gui/lib/msgs/zh_cn.msg
+#usr/share/git-gui/lib/option.tcl
+#usr/share/git-gui/lib/remote.tcl
+#usr/share/git-gui/lib/remote_branch_delete.tcl
+#usr/share/git-gui/lib/shortcut.tcl
+#usr/share/git-gui/lib/status_bar.tcl
+#usr/share/git-gui/lib/tclIndex
+#usr/share/git-gui/lib/transport.tcl
+#usr/share/git-gui/lib/win32.tcl
+#usr/share/git-gui/lib/win32_shortcut.js
+#usr/share/gitk
+#usr/share/gitk/lib
+#usr/share/gitk/lib/msgs
+#usr/share/gitk/lib/msgs/de.msg
+#usr/share/man/man3/Git.3
+#usr/share/man/man3/private-Error.3
diff --git a/lfs/git b/lfs/git
new file mode 100644 (file)
index 0000000..4795459
--- /dev/null
+++ b/lfs/git
@@ -0,0 +1,84 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+VER        = 1.5.4.5
+
+THISAPP    = git-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = git
+PAK_VER    = 1
+
+DEPS       = ""
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_MD5 = ed28e30c5e9d2a7ffe5b2268eaf8a29a
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+md5 : $(subst %,%_MD5,$(objects))
+
+dist: 
+       @$(PAK)
+
+###############################################################################
+# Downloading, checking, md5sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+       @$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+       @$(LOAD)
+
+$(subst %,%_MD5,$(objects)) :
+       @$(MD5)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+       @$(PREBUILD)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make install
+       @rm -rf $(DIR_APP)
+       @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index abb99ec..052c7f8 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -553,6 +553,7 @@ buildipfire() {
   ipfiremake fontconfig
   ipfiremake freefont
   ipfiremake vdr
+  ipfiremake git
 }
 
 buildinstaller() {