diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2007-04-23 18:53:42 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2007-04-23 18:53:42 +0000 |
commit | 0920932e9f8567a93a828b29979b9340db370e69 (patch) | |
tree | 5b6ed9fc4839cedb16a6af98032ba2d8b377df3a /dev-util | |
parent | EAPI shouldn't have been set (diff) | |
download | gentoo-2-0920932e9f8567a93a828b29979b9340db370e69.tar.gz gentoo-2-0920932e9f8567a93a828b29979b9340db370e69.tar.bz2 gentoo-2-0920932e9f8567a93a828b29979b9340db370e69.zip |
New upstream version.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/git/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/git/files/digest-git-1.5.1.2 | 9 | ||||
-rw-r--r-- | dev-util/git/git-1.5.1.2.ebuild | 160 |
3 files changed, 175 insertions, 1 deletions
diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index e8fd3e5325f9..f907afa4962a 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.186 2007/04/12 10:51:49 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.187 2007/04/23 18:53:42 ferdy Exp $ + +*git-1.5.1.2 (23 Apr 2007) + + 23 Apr 2007; Fernando J. Pereda <ferdy@gentoo.org> +git-1.5.1.2.ebuild: + New upstream version. *git-1.5.1.1 (12 Apr 2007) diff --git a/dev-util/git/files/digest-git-1.5.1.2 b/dev-util/git/files/digest-git-1.5.1.2 new file mode 100644 index 000000000000..89b676fac021 --- /dev/null +++ b/dev-util/git/files/digest-git-1.5.1.2 @@ -0,0 +1,9 @@ +MD5 d017c48085e07f24b8459f6f5fbaf918 git-1.5.1.2.tar.bz2 1120779 +RMD160 91019f417972162b2e14d1ddb607522390f68d75 git-1.5.1.2.tar.bz2 1120779 +SHA256 629a6bd89b226f20cc21c954bd695c91e284b664c05b7d66b706866112b7f628 git-1.5.1.2.tar.bz2 1120779 +MD5 5455264cec20da5d556707a6b7ec9f0f git-htmldocs-1.5.1.2.tar.bz2 471266 +RMD160 9c739f6b4d7e1ba79148d610e3fa0accf14e08a7 git-htmldocs-1.5.1.2.tar.bz2 471266 +SHA256 6ec2942ab5dd90db19324d39a3307f67a471dd41af6bb9749555f3c21aefd94b git-htmldocs-1.5.1.2.tar.bz2 471266 +MD5 64cd60f6ea1344def2b7ea00aee6e170 git-manpages-1.5.1.2.tar.bz2 132716 +RMD160 f835da9dcf54860eaabc3c861c9013ee9f717f6d git-manpages-1.5.1.2.tar.bz2 132716 +SHA256 bc5b6514c0bedfecc81ec7221a1e4bece967e0bed33aeaaa90a7c6823b541dec git-manpages-1.5.1.2.tar.bz2 132716 diff --git a/dev-util/git/git-1.5.1.2.ebuild b/dev-util/git/git-1.5.1.2.ebuild new file mode 100644 index 000000000000..9bb9605339a2 --- /dev/null +++ b/dev-util/git/git-1.5.1.2.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.2.ebuild,v 1.1 2007/04/23 18:53:42 ferdy 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 +} |