diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2006-12-20 21:46:04 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2006-12-20 21:46:04 +0000 |
commit | 6a253b9415c5d229caed7d5a6a20ef97977d56fc (patch) | |
tree | 4bb657e907cc55f11f6de6a9de10823572b9bfa3 /dev-util | |
parent | Manifest recommit (diff) | |
download | gentoo-2-6a253b9415c5d229caed7d5a6a20ef97977d56fc.tar.gz gentoo-2-6a253b9415c5d229caed7d5a6a20ef97977d56fc.tar.bz2 gentoo-2-6a253b9415c5d229caed7d5a6a20ef97977d56fc.zip |
New upstream version.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/git/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/git/files/digest-git-1.4.4.3 | 9 | ||||
-rw-r--r-- | dev-util/git/git-1.4.4.3.ebuild | 155 |
3 files changed, 170 insertions, 1 deletions
diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index 18427da31d1c..60ae22aa16cd 100644 --- a/dev-util/git/ChangeLog +++ b/dev-util/git/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/git # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.148 2006/12/07 15:36:19 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.149 2006/12/20 21:46:04 ferdy Exp $ + +*git-1.4.4.3 (20 Dec 2006) + + 20 Dec 2006; Fernando J. Pereda <ferdy@gentoo.org> +git-1.4.4.3.ebuild: + New upstream version. *git-1.4.4.2 (07 Dec 2006) diff --git a/dev-util/git/files/digest-git-1.4.4.3 b/dev-util/git/files/digest-git-1.4.4.3 new file mode 100644 index 000000000000..407c2b0b36ac --- /dev/null +++ b/dev-util/git/files/digest-git-1.4.4.3 @@ -0,0 +1,9 @@ +MD5 a4c2c27f7ea3137a5be7edaecfb9db21 git-1.4.4.3.tar.bz2 888091 +RMD160 06184ee7e16c12687b4a644c38d23ff7732e4c54 git-1.4.4.3.tar.bz2 888091 +SHA256 5485e66a811f8a047124f1358ded268916fcf07ecccb9345f429b4ea8b76603e git-1.4.4.3.tar.bz2 888091 +MD5 e59ee4eb1c66857c480749e9aba4f8a5 git-htmldocs-1.4.4.3.tar.bz2 325744 +RMD160 52c8f9088ca969255ff93f719563b65f43a59a9f git-htmldocs-1.4.4.3.tar.bz2 325744 +SHA256 cca1f7dec9dd063d78920e4d2f7a9a47fa57cfd883b872883b60795541c2c585 git-htmldocs-1.4.4.3.tar.bz2 325744 +MD5 007a5d3a5d3787b2538c03b14b4466bb git-manpages-1.4.4.3.tar.bz2 104756 +RMD160 b10969ec6702606ea348d9a6fe05831e28fbcc00 git-manpages-1.4.4.3.tar.bz2 104756 +SHA256 7f11c3f55a86fc7e445e6bf97d049564e586902bb53e48c6048b7ce0ad90675e git-manpages-1.4.4.3.tar.bz2 104756 diff --git a/dev-util/git/git-1.4.4.3.ebuild b/dev-util/git/git-1.4.4.3.ebuild new file mode 100644 index 000000000000..7f0d20564438 --- /dev/null +++ b/dev-util/git/git-1.4.4.3.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.4.4.3.ebuild,v 1.1 2006/12/20 21:46:04 ferdy Exp $ + +inherit python toolchain-funcs eutils elisp-common perl-module bash-completion + +DOC_VER=${PV} + +DESCRIPTION="GIT - the stupid content tracker" +HOMEPAGE="http://kernel.org/pub/software/scm/git/" +SRC_URI="mirror://kernel/software/scm/git/${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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="curl doc elibc_uclibc emacs gtk mozsha1 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 + >=dev-lang/python-2.3 + app-text/rcs + tk? ( dev-lang/tk ) + gtk? ( >=dev-python/pygtk-2.6 )" + +# 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" + + # Older python versions need own subproccess.py + python_version + [[ ${PYVER} < 2.4 ]] && myopts="${myopts} WITH_OWN_SUBPROCESS_PY=YesPlease" + + use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" + + export MY_MAKEOPTS=${myopts} +} + +showpkgdeps() { + local pkg=$1 + shift + einfo " $(printf "%-17s:" ${pkg}) ${@}" +} + +src_unpack() { + unpack ${A} + cd ${S} + + 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):" \ + 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 + use amd64 && \ + 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 + einfo "These additional scripts need some dependencies:" + einfo + 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" "dep-perl/DBD-SQLite" + einfo +} + +pkg_postrm() { + # regenerate site-gentoo if we are merged USE=emacs and unmerged + # USE=-emacs + has_version virtual/emacs && elisp-site-regen +} |