diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-03-29 07:59:42 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-03-29 07:59:42 +0000 |
commit | 09d7a4d907809d468763e20e9eaf9c6af2eb2a47 (patch) | |
tree | 64defa8cdf09afce37647345d42c7d1c7152a96f /dev-util | |
parent | Fix seamonkey support in 0.16.0 (diff) | |
download | historical-09d7a4d907809d468763e20e9eaf9c6af2eb2a47.tar.gz historical-09d7a4d907809d468763e20e9eaf9c6af2eb2a47.tar.bz2 historical-09d7a4d907809d468763e20e9eaf9c6af2eb2a47.zip |
Version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/git/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/git/Manifest | 6 | ||||
-rw-r--r-- | dev-util/git/git-1.5.4.5.ebuild | 270 |
3 files changed, 281 insertions, 2 deletions
diff --git a/dev-util/git/ChangeLog b/dev-util/git/ChangeLog index eee81a02467d..679456fb6657 100644 --- a/dev-util/git/ChangeLog +++ b/dev-util/git/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/git # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.264 2008/03/24 15:48:19 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.265 2008/03/29 07:59:42 robbat2 Exp $ + +*git-1.5.4.5 (29 Mar 2008) + + 29 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> +git-1.5.4.5.ebuild: + Version bump. 24 Mar 2008; Raúl Porcel <armin76@gentoo.org> git-1.5.4.4-r1.ebuild: Re-add ~ia64 wrt #214464 diff --git a/dev-util/git/Manifest b/dev-util/git/Manifest index 0948a47def4f..d73ab08d28cd 100644 --- a/dev-util/git/Manifest +++ b/dev-util/git/Manifest @@ -16,6 +16,7 @@ DIST git-1.5.3.8.tar.bz2 1363259 RMD160 8e35e67cc94152c681849e14cb4aec86f1b316cf DIST git-1.5.4.2.tar.bz2 1586823 RMD160 0cacc873033c953659b9971ec8b2dfbe11b040e3 SHA1 40e9ef9a4b6d144e41b2e01e03ae8a3c6bbe98e7 SHA256 56a3232b21fc206d845164890c4a2e1e96feaa520f6ba6e07f294c03541b3621 DIST git-1.5.4.3.tar.bz2 1589678 RMD160 3b9660976dec3e355f0a93cd894d91f488771b63 SHA1 200597bf2e5bbdfa5d67ff04a0aa8ff0292ea210 SHA256 7c559e78642254aba821a18fec1c74088285f9e86fd06570f4c0e9a2cfcb3718 DIST git-1.5.4.4.tar.bz2 1591657 RMD160 61954a5c26a0c79a303e476aa46263e2089f3584 SHA1 fdf2dbf3a01a71deb329cac63f23163114bc40c3 SHA256 69b3269a6b1ca26357e1e72c6be7f0ed742cd88d2042243c0bb9ba76e4acac99 +DIST git-1.5.4.5.tar.bz2 1597118 RMD160 7aef5f5284bf04efb5f03a8525f39b2498a0a1ef SHA1 69c4b904f13b72f57405393d54f33831c9cfad8f SHA256 fb6c8745eb5f379ed36bcd7f216bb5294996a93801d30ec69521f2bdd51ead38 DIST git-1.5.4.tar.bz2 1583166 RMD160 7d49a13b19a15f6acd57aa3e8d9e7ac82b105ffd SHA1 0bde73f3093fcd54ff62f34be9c59a48ceee01af SHA256 c6f1cc44a3960ffa787d1e5902be0f1f928e7ff882f206d9ba554753d1bd8e5c DIST git-htmldocs-1.5.1.6.tar.bz2 489138 RMD160 eda63828bbb928699c9b3bb52876d7b7dc489ba7 SHA1 907749b4eba99c696589be750bc9432b9818954b SHA256 566928345f80850bdebb278d52591f017041d9de67b2cd561963065c847c6685 DIST git-htmldocs-1.5.2.5.tar.bz2 505906 RMD160 000a0c5226866812766fc3c45bcafbc5fe35fb9a SHA1 974a1317078dc5159ef1eafb3937d3c651b4efbc SHA256 74f154b3d8f6dfc6582702f37197a37fd0f498f1ea7ef030d5ea0c999e8f9532 @@ -24,6 +25,7 @@ DIST git-htmldocs-1.5.3.8.tar.bz2 549444 RMD160 f4df777094158beea16bd2f0783ef846 DIST git-htmldocs-1.5.4.2.tar.bz2 610611 RMD160 ca52d3a5334cadd2a95c38306a284d4cf2ab292c SHA1 72851e2c342ec3c37d5660abf75fa6b800445990 SHA256 651482067d6424b8d5c40978897d965ddc95e4dcaa95940ef0a062291745ef28 DIST git-htmldocs-1.5.4.3.tar.bz2 611814 RMD160 06261d4304a13debd3727e5233538148543aa5f7 SHA1 aad6c2b3d69f18f59f1dbdd2cc8baf7ea4a87002 SHA256 95ac1c91e484bf54c8f3ae52796f3fd0cd624c82eac844ce5198551f8431cfb8 DIST git-htmldocs-1.5.4.4.tar.bz2 613201 RMD160 b3741aa29e2a8023b728c85ab3c806e90a206e5f SHA1 812850b20b67a2d8bf7aac8c3668b6086e9e1972 SHA256 3beea407b822d402e023d1f300ed9598b181ad4faa923926c163e32ab3436c48 +DIST git-htmldocs-1.5.4.5.tar.bz2 613736 RMD160 fe901c0a8da70e9066a944d36118b1ff21416284 SHA1 7087b54af84b8d91fec8d9a48c8f746047d3cd6a SHA256 13b1fd78a7b7205668acf0dd81f1b5df37bd19172a0cbb41efe9320f87985a22 DIST git-htmldocs-1.5.4.tar.bz2 609896 RMD160 f55380837e99cd70a5a266f9e44bc5cf62809129 SHA1 14943152482d5ed454002c879460cd9ccdcf258c SHA256 4d3b633aab0de30da6126537b84ab1bd06dd45e963aaeb5590cc6e6414ec4c96 DIST git-manpages-1.5.1.6.tar.bz2 133945 RMD160 ed047e78031882fb1d954ed9368127e4d0019da8 SHA1 f4eeb116aaeeabf329c9de8d49421af42e4a6f51 SHA256 22a06a220a915b3c1493462f0d902ea70d1dee25e0362984a1c896a73c721c4d DIST git-manpages-1.5.2.5.tar.bz2 139885 RMD160 6c5e3b1bdf22638adcd914349d307a1934ec8c22 SHA1 47a2f330581c9e4dcb5e8c25d7508c5e8d7d7997 SHA256 c793bc76451cee39b92d173d33e6e33f2b74c8b6b9ac74ecd23031d236722fc4 @@ -32,6 +34,7 @@ DIST git-manpages-1.5.3.8.tar.bz2 147875 RMD160 c2a15b7a0742f14a70d0bf06d4d14fe9 DIST git-manpages-1.5.4.2.tar.bz2 156266 RMD160 9f664f728333012fb92c41838c7538f1e81c7913 SHA1 ab9f6f08613e29f9fcbdd3faca7945795c9b1d47 SHA256 de402caac6fa798e2316b945338dfd3ed24a104e4b9dec9ef8813dcbde945503 DIST git-manpages-1.5.4.3.tar.bz2 156741 RMD160 d2a8be59bf0c9b1c2b6da102cb146e93595e0268 SHA1 70ceb0024361ab1e64822fb4e0cd12eddc02431a SHA256 0c1a7f0b40c996d3bc6f6c8c6aef938c619148856651afef8d1a1ab57494ac23 DIST git-manpages-1.5.4.4.tar.bz2 156980 RMD160 e423ce70b54767c804a473ada9d7fdbb546ba360 SHA1 6aeac3116d1dc4966fb469060331969eb24f3266 SHA256 709dad8f41e27bed1715ab162280aa49de126756bd15f3870558908baafde67a +DIST git-manpages-1.5.4.5.tar.bz2 157308 RMD160 75db043cca546bf73a1930816c6a13b08a44d713 SHA1 659b5217b342b757a01603f61bd90a4d60f7e681 SHA256 b694d8ccfc25c0da5ee2578491b17340539dd4ba273928e1aa65faefd5f339ce DIST git-manpages-1.5.4.tar.bz2 156304 RMD160 be7e3158924a254ebac7b161af7d27bacfe1079e SHA1 a34a846092ae9b3d23f0015ba86ecc4d52e096c8 SHA256 e86e4909b56cd56f79bb12c088c95f32df80e836c1fac7be800ddb6fbcb2aa8f EBUILD git-1.5.1.6.ebuild 4400 RMD160 c81b28b5efca8244c87cc5f0ac1923c03c9e5b1f SHA1 bb71d825a1c1eef4a5ba26958a7e4dd35b02d938 SHA256 8cbd6c76e3cc3a9e00a3accdb69dec8e134b99acf7cad1e39b243c6289559734 EBUILD git-1.5.2.5.ebuild 4438 RMD160 914a23cd6611788be58938a41c6dce4592667bb9 SHA1 3f2c69b60ebf05426660150a61773b2019af7989 SHA256 86867bf441ada7577c1d852a22ffe89f5d3f2969dc24bd9291ae0eac66acb09b @@ -41,6 +44,7 @@ EBUILD git-1.5.4.2.ebuild 6456 RMD160 67839a8bc0b973305569c4b2a14489ccf9171c43 S EBUILD git-1.5.4.3.ebuild 6458 RMD160 281145d4c0fac156ca62722b23ba602d1737955c SHA1 a8418ded18c3de325888fb42a3dcc2844a264f52 SHA256 e8d4a7cab34ff64b6d9995840e8ac278ba010d5c76d6cb409a4bc1920268856e EBUILD git-1.5.4.4-r1.ebuild 7852 RMD160 93d7f13a06385e2480969bfe761413a608fe05f7 SHA1 62e2cb33ba96c0f722db0f51124f8c23d0737b99 SHA256 daeaff63740dfef23e4577a5ef10bf125b3271a6ee0c25766e4e2bae9fcaea3d EBUILD git-1.5.4.4.ebuild 6565 RMD160 60bcf79bd993f95d038921fd8e83dc1289f5c958 SHA1 1197a2cbdce0658199407f07292c8b15689dbdb5 SHA256 b8d304b4c09311ea7fc2adc86fb352a69a7c37d83f98c573015fb8c979074817 +EBUILD git-1.5.4.5.ebuild 7849 RMD160 3bfae5d23c43cbd66221afbc5217c8a5babcd5ee SHA1 5bf00d81827a908d6349d4fdfba7bdb2926b191f SHA256 e4dbebf95303502da7fb800604a3f379afd06f873b1bf1d4123e6db0bd8c3a1c EBUILD git-1.5.4.ebuild 6565 RMD160 17d6172114dcbbc24d390b93fc9598318e0b4906 SHA1 3a7b86bacacb291fccdde45b7cd1832bc7cdda35 SHA256 8ba59eba4f2377e33302bf9830657c68f3c6fec3b600e234a5b1a4b36e0bee15 -MISC ChangeLog 39052 RMD160 cd7133f2c341007c3bd33c0999c34d1bd00cfa69 SHA1 63abd8262651ddd0f9d74b68dc7fa79e6aaddf71 SHA256 6a4a8caa1d0052469b8cc4949c9e9a1a7667c58e2fb678b3a26a26164ce43dcd +MISC ChangeLog 39171 RMD160 7ac391ec08a6e8bc6f0e1d529fa486d92edff543 SHA1 674816b556de2f2902ae50182307a28f4147621d SHA256 17b6a59a2206924426074acd1475af2f599fb2f71eb7a8828a5268b4503243f5 MISC metadata.xml 1029 RMD160 f44ab0f6f9566b2cdb37f6cdd094e163c94e7d11 SHA1 88453257ccbedf4166357c262f49b0731cc45448 SHA256 2aa15da3001de8d8182ee9c8289cdefae84652b78ccc4cf35b2394f07edc352f diff --git a/dev-util/git/git-1.5.4.5.ebuild b/dev-util/git/git-1.5.4.5.ebuild new file mode 100644 index 000000000000..9eb621d98eec --- /dev/null +++ b/dev-util/git/git-1.5.4.5.ebuild @@ -0,0 +1,270 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.4.5.ebuild,v 1.1 2008/03/29 07:59:42 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, the revision control system heavily used by the Linux kernel team" +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 ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="curl cgi doc emacs gtk iconv mozsha1 perl ppcsha1 tk threads webdav xinetd cvs subversion" + +DEPEND=" + !app-misc/git + dev-libs/openssl + sys-libs/zlib + app-arch/cpio + perl? ( dev-lang/perl ) + tk? ( dev-lang/tk ) + curl? ( net-misc/curl ) + webdav? ( dev-libs/expat ) + emacs? ( virtual/emacs )" +# dev-perl/{Authen-SASL,Net-SMTP-SSL} are used by git-send-email + +RDEPEND="${DEPEND} + perl? ( dev-perl/Error + dev-perl/Net-SMTP-SSL + dev-perl/Authen-SASL + cgi? ( virtual/perl-CGI ) + cvs? ( >=dev-util/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite ) + subversion? ( dev-util/subversion dev-perl/libwww-perl dev-perl/TermReadKey ) + ) + gtk? ( >=dev-python/pygtk-2.8 )" + +SITEFILE=72${PN}-gentoo.el +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if ! use perl ; then + if use cgi || use cvs || use subversion ; then + eerror "You must built dev-util/git with USE=perl and the" + eerror "applicable USE flag to use any of the following:" + eerror "gitweb, git-cvs*, git-svn, git-archimport, git-quiltimport" + die "You need USE=perl to satisfy your other USE= requests!" + fi + fi +} + +# 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 + + use iconv || myopts="${myopts} NO_ICONV=YesPlease" + use tk || myopts="${myopts} NO_TCLTK=YesPlease" + use perl || myopts="${myopts} NO_PERL=YesPlease" + use threads && myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" + use subversion || myopts="${myopts} NO_SVN_TESTS=YesPlease" + + export MY_MAKEOPTS="${myopts}" +} + +src_unpack() { + unpack ${MY_P}.tar.bz2 + cd "${S}" + unpack ${PN}-manpages-${DOC_VER}.tar.bz2 + use doc && cd "${S}"/Documentation && unpack ${PN}-htmldocs-${DOC_VER}.tar.bz2 + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.5.3-symlinks.patch + epatch "${FILESDIR}"/20080322-${PN}-1.5.5.4-noperl.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 + if use perl && use cgi ; then + emake ${MY_MAKEOPTS} \ + DESTDIR="${D}" \ + prefix=/usr \ + gitweb/gitweb.cgi || die "make gitweb/gitweb.cgi failed" + fi +} + +src_install() { + emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || \ + die "make install failed" + + doman man?/* + + dodoc README Documentation/{SubmittingPatches,CodingGuidelines} + use doc && dodir /usr/share/doc/${PF}/html + for d in / /howto/ /technical/ ; do + docinto ${d} + dodoc Documentation${d}*.txt + use doc && dohtml -p ${d} Documentation${d}*.html + done + docinto / + + dobashcompletion contrib/completion/git-completion.bash ${PN} + + if use emacs ; then + elisp-install ${PN} contrib/emacs/{,vc-}git.el* || \ + die "elisp-install failed" + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + # don't add automatically to the load-path, so the sitefile + # can do a conditional loading + touch "${D}"/"${SITELISP}"/${PN}/.nosearch + fi + + if use gtk ; then + dobin "${S}"/contrib/gitview/gitview + dodoc "${S}"/contrib/gitview/gitview.txt + fi + + dobin contrib/fast-import/git-p4 + dodoc contrib/fast-import/git-p4.txt + newbin contrib/fast-import/import-tars.perl import-tars + + dodir /usr/share/${PN}/contrib + # The following are excluded: + # svnimport - use git-svn + # p4import - excluded because fast-import has a better one + # examples - these are stuff that is not used in Git anymore actually + # patches - stuff the Git guys made to go upstream to other places + for i in continuous fast-import hg-to-git \ + hooks remotes2config.sh vim stats \ + workdir convert-objects blameview ; do + cp -rf \ + "${S}"/contrib/${i} \ + "${D}"/usr/share/${PN}/contrib \ + || die "Failed contrib ${i}" + done + + if use perl && use cgi ; then + dodir /usr/share/${PN}/gitweb + insinto /usr/share/${PN}/gitweb + doins "${S}"/gitweb/gitweb.{cgi,css} + doins "${S}"/gitweb/git-{favicon,logo}.png + docinto / + # INSTALL discusses configuration issues, not just installation + newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb + newdoc "${S}"/gitweb/README README.gitweb + fi + + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}"/git-daemon.xinetd git-daemon + fi + + newinitd "${FILESDIR}"/git-daemon.initd git-daemon + newconfd "${FILESDIR}"/git-daemon.confd git-daemon + + fixlocalpod +} + +src_test() { + local disabled="" + local tests_cvs="t9200-git-cvsexportcommit.sh \ + t9400-git-cvsserver-server.sh \ + t9600-cvsimport.sh" + local tests_perl="t5502-quickfetch.sh \ + t5512-ls-remote.sh \ + t5520-pull.sh" + + # Unzip is used only for the testcase code, not by any normal parts of Git. + has_version app-arch/unzip || \ + einfo "Disabling tar-tree tests" && \ + disabled="${disabled} \ + t5000-tar-tree.sh" + + if ! has userpriv "${FEATURES}"; then + ewarn "Skipping CVS tests because CVS does not work as root!" + ewarn "You should retest with FEATURES=userpriv!" + disabled="${disabled} \ + ${tests_cvs}" + fi + + use cvs && \ + has_version dev-util/cvs && \ + built_with_use dev-util/cvs server || \ + einfo "Disabling CVS tests (needs dev-util/cvs[USE=server])" && \ + disabled="${disabled} \ + ${tests_cvs}" + + use perl || \ + einfo "Disabling tests that need Perl" && \ + disabled="${disabled} \ + ${tests_perl}" + + # Reset all previously disabled tests + cd "${S}/t" + for i in *.sh.DISABLED ; do + [[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}" + done + einfo "Disabled tests:" + for i in ${disabled} ; do + [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" + done + cd "${S}" + # Now run the tests + einfo "Start test run" + emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" +} + +showpkgdeps() { + local pkg=$1 + shift + elog " $(printf "%-17s:" ${pkg}) ${@}" +} + +pkg_postinst() { + if use emacs ; then + elisp-site-regen + elog "GNU Emacs has built-in Git support in versions greater 22.1." + elog "You can disable the emacs USE flag for dev-util/git" + elog "if you are using such a version." + fi + if use subversion && ! built_with_use dev-util/subversion perl ; then + ewarn "You must build dev-util/subversion with USE=perl" + ewarn "to get the full functionality of git-svn!" + fi + elog "These additional scripts need some dependencies:" + echo + showpkgdeps git-archimport "dev-util/tla" + showpkgdeps git-quiltimport "dev-util/quilt" + showpkgdeps git-instaweb \ + "|| ( www-servers/lighttpd www-servers/apache )" + echo +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |