Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cscope: cscope-15.7a-r1.ebuild ChangeLog cscope-15.6-r3.ebuild cscope-15.7.ebuild cscope-15.6-r2.ebuild
Date: Mon, 11 May 2009 20:57:02
Message-Id: E1M3cYV-0007Et-EA@stork.gentoo.org
1 ulm 09/05/11 20:56:59
2
3 Modified: ChangeLog
4 Added: cscope-15.7a-r1.ebuild
5 Removed: cscope-15.6-r3.ebuild cscope-15.7.ebuild
6 cscope-15.6-r2.ebuild
7 Log:
8 Don't require that SYSDIR for ocs exists, and change its default location
9 to /var/lib/cs; bug 269305. Remove old versions wrt security bug 263023.
10 (Portage version: 2.2_rc31/cvs/Linux i686)
11
12 Revision Changes Path
13 1.118 dev-util/cscope/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?rev=1.118&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?rev=1.118&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?r1=1.117&r2=1.118
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v
22 retrieving revision 1.117
23 retrieving revision 1.118
24 diff -u -r1.117 -r1.118
25 --- ChangeLog 6 May 2009 15:22:25 -0000 1.117
26 +++ ChangeLog 11 May 2009 20:56:59 -0000 1.118
27 @@ -1,6 +1,16 @@
28 # ChangeLog for dev-util/cscope
29 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.117 2009/05/06 15:22:25 armin76 Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.118 2009/05/11 20:56:59 ulm Exp $
32 +
33 +*cscope-15.7a-r1 (11 May 2009)
34 +
35 + 11 May 2009; Ulrich Mueller <ulm@g.o> -cscope-15.6-r2.ebuild,
36 + -cscope-15.6-r3.ebuild, -files/cscope-15.6-sigwinch.patch,
37 + -cscope-15.7.ebuild, +cscope-15.7a-r1.ebuild,
38 + +files/cscope-15.7a-ocs-sysdir.patch,
39 + -files/cscope-158831-warning_webscope.patch:
40 + Don't require that SYSDIR for ocs exists, and change its default location
41 + to /var/lib/cs; bug 269305. Remove old versions wrt security bug 263023.
42
43 06 May 2009; Raúl Porcel <armin76@g.o> cscope-15.7a.ebuild:
44 arm/ia64/m68k/s390/sh stable wrt #263023
45
46
47
48 1.1 dev-util/cscope/cscope-15.7a-r1.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/cscope-15.7a-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/cscope-15.7a-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: cscope-15.7a-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/cscope-15.7a-r1.ebuild,v 1.1 2009/05/11 20:56:59 ulm Exp $
58
59 inherit elisp-common eutils
60
61 DESCRIPTION="Interactively examine a C program"
62 HOMEPAGE="http://cscope.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/cscope/${P}.tar.bz2"
64
65 LICENSE="BSD GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
68 IUSE="emacs"
69
70 RDEPEND=">=sys-libs/ncurses-5.2"
71 DEPEND="${RDEPEND}
72 sys-devel/flex
73 sys-devel/bison
74 >=sys-devel/autoconf-2.60
75 emacs? ( virtual/emacs )"
76
77 SITEFILE="50${PN}-gentoo.el"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 epatch "${FILESDIR}/${P}-ocs-sysdir.patch" #269305
83 }
84
85 src_compile() {
86 STRIP="no"
87
88 econf || die "econf failed"
89 make clean || die "make clean failed"
90 emake || die "emake failed"
91
92 if use emacs ; then
93 cd "${S}"/contrib/xcscope || die
94 elisp-compile *.el || die
95 fi
96 }
97
98 src_install() {
99 einstall || die "einstall failed"
100 dodoc AUTHORS ChangeLog NEWS README* TODO || die "dodoc failed"
101
102 if use emacs ; then
103 cd "${S}"/contrib/xcscope || die
104 elisp-install ${PN} *.el *.elc || die
105 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
106 dobin cscope-indexer || die "dobin failed"
107 fi
108
109 cd "${S}"/contrib/webcscope || die
110 docinto webcscope
111 dodoc INSTALL TODO cgi-lib.pl cscope hilite.c || die "dodoc failed"
112 insinto /usr/share/doc/${PF}/webcscope/icons; doins icons/*.gif
113 }
114
115 pkg_postinst() {
116 use emacs && elisp-site-regen
117 }
118
119 pkg_postrm() {
120 use emacs && elisp-site-regen
121 }