1 |
ferdy 07/09/30 12:01:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: git-1.5.3.3.ebuild |
5 |
Log: |
6 |
New upstream version |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.226 dev-util/git/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.226&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.226&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?r1=1.225&r2=1.226 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v |
19 |
retrieving revision 1.225 |
20 |
retrieving revision 1.226 |
21 |
diff -u -r1.225 -r1.226 |
22 |
--- ChangeLog 28 Sep 2007 12:31:22 -0000 1.225 |
23 |
+++ ChangeLog 30 Sep 2007 12:01:34 -0000 1.226 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/git |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.225 2007/09/28 12:31:22 ferdy Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.226 2007/09/30 12:01:34 ferdy Exp $ |
29 |
+ |
30 |
+*git-1.5.3.3 (30 Sep 2007) |
31 |
+ |
32 |
+ 30 Sep 2007; Fernando J. Pereda <ferdy@g.o> +git-1.5.3.3.ebuild: |
33 |
+ New upstream version |
34 |
|
35 |
28 Sep 2007; Fernando J. Pereda <ferdy@g.o> -git-1.5.3.ebuild: |
36 |
Remove 1.5.3 |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-util/git/git-1.5.3.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: git-1.5.3.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.3.3.ebuild,v 1.1 2007/09/30 12:01:34 ferdy Exp $ |
50 |
|
51 |
inherit toolchain-funcs eutils elisp-common perl-module bash-completion |
52 |
|
53 |
MY_PV="${PV/_rc/.rc}" |
54 |
MY_P="${PN}-${MY_PV}" |
55 |
|
56 |
DOC_VER=${MY_PV} |
57 |
|
58 |
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
59 |
HOMEPAGE="http://git.or.cz/" |
60 |
SRC_URI="mirror://kernel/software/scm/git/${MY_P}.tar.bz2 |
61 |
mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2 |
62 |
doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
67 |
IUSE="curl doc elibc_uclibc emacs gtk mozsha1 perl ppcsha1 tk webdav" |
68 |
|
69 |
DEPEND=" |
70 |
!app-misc/git |
71 |
dev-libs/openssl |
72 |
sys-libs/zlib |
73 |
dev-lang/perl |
74 |
tk? ( dev-lang/tk ) |
75 |
curl? ( net-misc/curl ) |
76 |
webdav? ( dev-libs/expat ) |
77 |
emacs? ( virtual/emacs )" |
78 |
RDEPEND="${DEPEND} |
79 |
perl? ( dev-perl/Error ) |
80 |
gtk? ( >=dev-python/pygtk-2.8 )" |
81 |
|
82 |
SITEFILE=71${PN}-gentoo.el |
83 |
S="${WORKDIR}/${MY_P}" |
84 |
|
85 |
# This is needed because for some obscure reasons future calls to make don't |
86 |
# pick up these exports if we export them in src_unpack() |
87 |
exportmakeopts() { |
88 |
local myopts |
89 |
|
90 |
if use mozsha1 ; then |
91 |
myopts="${myopts} MOZILLA_SHA1=YesPlease" |
92 |
elif use ppcsha1 ; then |
93 |
myopts="${myopts} PPC_SHA1=YesPlease" |
94 |
fi |
95 |
|
96 |
if use curl ; then |
97 |
use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
98 |
else |
99 |
myopts="${myopts} NO_CURL=YesPlease" |
100 |
use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring." |
101 |
fi |
102 |
|
103 |
myopts="${myopts} WITH_SEND_EMAIL=YesPlease" |
104 |
|
105 |
use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" |
106 |
|
107 |
export MY_MAKEOPTS=${myopts} |
108 |
} |
109 |
|
110 |
showpkgdeps() { |
111 |
local pkg=$1 |
112 |
shift |
113 |
elog " $(printf "%-17s:" ${pkg}) ${@}" |
114 |
} |
115 |
|
116 |
src_unpack() { |
117 |
unpack ${A} |
118 |
cd ${S} |
119 |
|
120 |
epatch "${FILESDIR}"/${PN}-1.5.3-symlinks.patch |
121 |
|
122 |
sed -i \ |
123 |
-e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \ |
124 |
-e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \ |
125 |
-e "s:^\(CC = \).*$:\1$(tc-getCC):" \ |
126 |
-e "s:^\(AR = \).*$:\1$(tc-getAR):" \ |
127 |
-e 's:ln :ln -s :g' \ |
128 |
Makefile || die "sed failed" |
129 |
|
130 |
exportmakeopts |
131 |
} |
132 |
|
133 |
src_compile() { |
134 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" |
135 |
|
136 |
if use emacs ; then |
137 |
elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed" |
138 |
fi |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || \ |
143 |
die "make install failed" |
144 |
|
145 |
use tk || rm "${D}"/usr/bin/git{k,-gui} |
146 |
|
147 |
doman "${WORKDIR}"/man?/* |
148 |
|
149 |
dodoc README COPYING Documentation/SubmittingPatches |
150 |
if use doc ; then |
151 |
dodoc Documentation/technical/* |
152 |
dodir /usr/share/doc/${PF}/html |
153 |
cp -r "${WORKDIR}"/{*.html,howto} "${D}"/usr/share/doc/${PF}/html |
154 |
fi |
155 |
|
156 |
dobashcompletion contrib/completion/git-completion.bash ${PN} |
157 |
|
158 |
if use emacs ; then |
159 |
elisp-install ${PN} contrib/emacs/{,vc-}git.el* || \ |
160 |
die "elisp-install failed" |
161 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
162 |
fi |
163 |
|
164 |
if use gtk ; then |
165 |
dobin contrib/gitview/gitview |
166 |
use doc && dodoc contrib/gitview/gitview.txt |
167 |
fi |
168 |
|
169 |
insinto /etc/xinetd.d |
170 |
newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
171 |
|
172 |
newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
173 |
newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
174 |
|
175 |
fixlocalpod |
176 |
} |
177 |
|
178 |
src_test() { |
179 |
cd "${S}" |
180 |
has_version dev-util/subversion || \ |
181 |
MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease" |
182 |
has_version app-arch/unzip || \ |
183 |
rm "${S}"/t/t5000-tar-tree.sh |
184 |
# Stupid CVS won't let some people commit as root |
185 |
rm "${S}"/t/t9200-git-cvsexportcommit.sh |
186 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" |
187 |
} |
188 |
|
189 |
pkg_postinst() { |
190 |
use emacs && elisp-site-regen |
191 |
elog "These additional scripts need some dependencies:" |
192 |
echo |
193 |
showpkgdeps git-archimport "dev-util/tla" |
194 |
showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1" |
195 |
showpkgdeps git-svnimport "dev-util/subversion(USE=perl)" |
196 |
showpkgdeps git-svn \ |
197 |
"dev-util/subversion(USE=perl)" \ |
198 |
"dev-perl/libwww-perl" \ |
199 |
"dev-perl/TermReadKey" |
200 |
showpkgdeps git-quiltimport "dev-util/quilt" |
201 |
showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite" |
202 |
showpkgdeps git-instaweb "|| ( www-servers/lighttpd www-servers/apache(SLOT=2) )" |
203 |
showpkgdeps git-send-email "USE=perl" |
204 |
showpkgdeps git-remote "USE=perl" |
205 |
echo |
206 |
} |
207 |
|
208 |
pkg_postrm() { |
209 |
use emacs && elisp-site-regen |
210 |
} |
211 |
|
212 |
|
213 |
|
214 |
-- |
215 |
gentoo-commits@g.o mailing list |