diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-09 08:40:02 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-05-09 08:40:02 +0000 |
commit | 4e6c4e6383916ad49229e0c011852a6f07919404 (patch) | |
tree | 389380d855243f6ce7d7a2812281708b22e15b3d /dev-util/git | |
parent | Version bump. (diff) | |
download | gentoo-2-4e6c4e6383916ad49229e0c011852a6f07919404.tar.gz gentoo-2-4e6c4e6383916ad49229e0c011852a6f07919404.tar.bz2 gentoo-2-4e6c4e6383916ad49229e0c011852a6f07919404.zip |
Version bump.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-util/git')
-rw-r--r-- | dev-util/git/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/git/files/digest-git-1.5.1.4 | 9 | ||||
-rw-r--r-- | dev-util/git/git-1.5.1.4.ebuild | 160 | ||||
-rw-r--r-- | dev-util/git/metadata.xml | 5 |
4 files changed, 180 insertions, 1 deletions
diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index 5aa4417c5ce6..27c4cee8b429 100644 --- a/dev-util/git/ChangeLog +++ b/dev-util/git/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/git # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.190 2007/05/01 03:17:06 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.191 2007/05/09 08:40:02 robbat2 Exp $ + +*git-1.5.1.4 (09 May 2007) + + 09 May 2007; Robin H. Johnson <robbat2@gentoo.org> +git-1.5.1.4.ebuild: + Version bump. *git-1.5.1.3 (01 May 2007) diff --git a/dev-util/git/files/digest-git-1.5.1.4 b/dev-util/git/files/digest-git-1.5.1.4 new file mode 100644 index 000000000000..614feae2734d --- /dev/null +++ b/dev-util/git/files/digest-git-1.5.1.4 @@ -0,0 +1,9 @@ +MD5 ed4c3b6678bde5a4e09c2206430242df git-1.5.1.4.tar.bz2 1126258 +RMD160 dd8af6da7e8e99e229cf9798a71543136e0f1b35 git-1.5.1.4.tar.bz2 1126258 +SHA256 3d65197647592779c8932a44f6e390412492d350aa637af5d097ab46e429bbf0 git-1.5.1.4.tar.bz2 1126258 +MD5 c21bd3b274ba44864d10cf792a0dd6e5 git-htmldocs-1.5.1.4.tar.bz2 477746 +RMD160 d61eb662d07c0c9eab33f9502c4a29ccb9ee9cd2 git-htmldocs-1.5.1.4.tar.bz2 477746 +SHA256 27949fc878330bb29458ee56b7ac15efb0dbe64543a41b6010a528bac45cf596 git-htmldocs-1.5.1.4.tar.bz2 477746 +MD5 bba3d2716555307e8773a00ab2d16a56 git-manpages-1.5.1.4.tar.bz2 133741 +RMD160 cadc6c3be2e9878d91cd885303b900ac8433aaf5 git-manpages-1.5.1.4.tar.bz2 133741 +SHA256 51caf75f8d31c478f88801caa3094876f4f3cd663d24f99a5b91e7d1fe6088c7 git-manpages-1.5.1.4.tar.bz2 133741 diff --git a/dev-util/git/git-1.5.1.4.ebuild b/dev-util/git/git-1.5.1.4.ebuild new file mode 100644 index 000000000000..0e6ea2014886 --- /dev/null +++ b/dev-util/git/git-1.5.1.4.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.1.4.ebuild,v 1.1 2007/05/09 08:40:02 robbat2 Exp $ + +inherit toolchain-funcs eutils elisp-common perl-module bash-completion + +MY_PV="${PV/_rc/.rc}" +MY_P="${PN}-${MY_PV}" + +DOC_VER=${MY_PV} + +DESCRIPTION="GIT - the stupid content tracker" +HOMEPAGE="http://git.or.cz/" +SRC_URI="mirror://kernel/software/scm/git/${MY_P}.tar.bz2 + mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2 + doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="curl doc elibc_uclibc emacs gtk mozsha1 perl ppcsha1 tk webdav" + +DEPEND="dev-libs/openssl + sys-libs/zlib + !app-misc/git + curl? ( net-misc/curl ) + webdav? ( dev-libs/expat ) + emacs? ( virtual/emacs )" +RDEPEND="${DEPEND} + dev-lang/perl + perl? ( dev-perl/Error ) + tk? ( dev-lang/tk ) + gtk? ( >=dev-python/pygtk-2.6 )" + +S="${WORKDIR}/${MY_P}" + +# This is needed because for some obscure reasons future calls to make don't +# pick up these exports if we export them in src_unpack() +exportmakeopts() { + local myopts + + if use mozsha1 ; then + myopts="${myopts} MOZILLA_SHA1=YesPlease" + elif use ppcsha1 ; then + myopts="${myopts} PPC_SHA1=YesPlease" + fi + + if use curl ; then + use webdav || myopts="${myopts} NO_EXPAT=YesPlease" + else + myopts="${myopts} NO_CURL=YesPlease" + use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring." + fi + + myopts="${myopts} WITH_SEND_EMAIL=YesPlease" + + use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" + + export MY_MAKEOPTS=${myopts} +} + +showpkgdeps() { + local pkg=$1 + shift + elog " $(printf "%-17s:" ${pkg}) ${@}" +} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}"/${PN}-1.5.0-symlinks.patch + + sed -i \ + -e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \ + -e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \ + -e "s:^\(CC = \).*$:\1$(tc-getCC):" \ + -e "s:^\(AR = \).*$:\1$(tc-getAR):" \ + -e 's:ln :ln -s :g' \ + Makefile || die "sed failed" + + exportmakeopts +} + +src_compile() { + emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" + + if use emacs ; then + elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed" + fi +} + +src_install() { + emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make install failed" + + use tk || rm "${D}"/usr/bin/gitk + + doman "${WORKDIR}"/man?/* + + dodoc README COPYING Documentation/SubmittingPatches + if use doc ; then + dodoc Documentation/technical/* + dodir /usr/share/doc/${PF}/html + cp -r "${WORKDIR}"/{*.html,howto} "${D}"/usr/share/doc/${PF}/html + fi + + dobashcompletion contrib/completion/git-completion.bash ${PN} + + if use emacs ; then + insinto "${SITELISP}" + doins contrib/emacs/{,vc-}git.el* + elisp-site-file-install "${FILESDIR}"/70git-gentoo.el + fi + + if use gtk ; then + dobin contrib/gitview/gitview + use doc && dodoc contrib/gitview/gitview.txt + fi + + insinto /etc/xinetd.d + newins "${FILESDIR}"/git-daemon.xinetd git-daemon + + newinitd "${FILESDIR}"/git-daemon.initd git-daemon + newconfd "${FILESDIR}"/git-daemon.confd git-daemon + + fixlocalpod +} + +src_test() { + cd "${S}" + has_version dev-util/subversion || \ + MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease" + has_version app-arch/unzip || \ + rm "${S}"/t/t5000-tar-tree.sh + # Stupid CVS won't let some people commit as root + rm "${S}"/t/t9200-git-cvsexportcommit.sh + emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" +} + +pkg_postinst() { + use emacs && elisp-site-regen + elog "These additional scripts need some dependencies:" + echo + showpkgdeps git-archimport "dev-util/tla" + showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1" + showpkgdeps git-svnimport "dev-util/subversion(USE=perl)" + showpkgdeps git-svn "dev-util/subversion(USE=perl)" "dev-perl/libwww-perl" + showpkgdeps git-quiltimport "dev-util/quilt" + showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite" + showpkgdeps git-instaweb "|| ( www-servers/lighttpd net-www/apache(SLOT=2) )" + showpkgdeps git-send-email "USE=perl" + showpkgdeps git-remote "USE=perl" + echo +} + +pkg_postrm() { + # regenerate site-gentoo if we are merged USE=emacs and unmerged + # USE=-emacs + has_version virtual/emacs && elisp-site-regen +} diff --git a/dev-util/git/metadata.xml b/dev-util/git/metadata.xml index bb5c34889c7b..04ebaf5fce65 100644 --- a/dev-util/git/metadata.xml +++ b/dev-util/git/metadata.xml @@ -6,4 +6,9 @@ <email>ferdy@gentoo.org</email> <name>Fernando J. Pereda</name> </maintainer> +<maintainer> + <email>robbat2@gentoo.org</email> + <name>Robin H. Johnson</name> + <description>Backup maintainer</description> +</maintainer> </pkgmetadata> |