summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2006-11-28 17:50:49 +0000
committerChristian Faulhammer <opfer@gentoo.org>2006-11-28 17:50:49 +0000
commit7fef5a27a9e0f34c3659e7b9aa05065b9931b896 (patch)
tree4abc1941900670c21e17730f39cf9e5c50fa0fb9 /dev-util/cscope
parentSecurity cleanup, bug #140494. (diff)
downloadgentoo-2-7fef5a27a9e0f34c3659e7b9aa05065b9931b896.tar.gz
gentoo-2-7fef5a27a9e0f34c3659e7b9aa05065b9931b896.tar.bz2
gentoo-2-7fef5a27a9e0f34c3659e7b9aa05065b9931b896.zip
version bump: some security fixes (already in last stable); cleaned out the ebuild a little bit; fixed pre-stripped files
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util/cscope')
-rw-r--r--dev-util/cscope/ChangeLog8
-rw-r--r--dev-util/cscope/cscope-15.6.ebuild58
-rw-r--r--dev-util/cscope/files/digest-cscope-15.63
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-util/cscope/ChangeLog b/dev-util/cscope/ChangeLog
index 03e586f4de47..13bad411194b 100644
--- a/dev-util/cscope/ChangeLog
+++ b/dev-util/cscope/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/cscope
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.77 2006/11/25 09:06:24 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.78 2006/11/28 17:50:49 opfer Exp $
+
+*cscope-15.6 (28 Nov 2006)
+
+ 28 Nov 2006; Christian Faulhammer <opfer@gentoo.org> +cscope-15.6.ebuild:
+ version bump: some security fixes (already in last stable); cleaned out the
+ ebuild a little bit; fixed pre-stripped files
*cscope-15.5.20060927-r1 (25 Nov 2006)
diff --git a/dev-util/cscope/cscope-15.6.ebuild b/dev-util/cscope/cscope-15.6.ebuild
new file mode 100644
index 000000000000..a89f88ebba49
--- /dev/null
+++ b/dev-util/cscope/cscope-15.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/cscope-15.6.ebuild,v 1.1 2006/11/28 17:50:49 opfer Exp $
+
+inherit gnuconfig elisp-common eutils
+
+DESCRIPTION="Interactively examine a C program"
+HOMEPAGE="http://cscope.sourceforge.net/"
+SRC_URI="mirror://sourceforge/cscope/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="emacs"
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison
+ >=sys-devel/autoconf-2.60
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50xcscope-gentoo.el
+
+src_compile() {
+ STRIP="no"
+ gnuconfig_update
+
+ econf || die
+ make clean || die
+ emake || die
+
+ if use emacs ; then
+ cd ${S}/contrib/xcscope || die
+ elisp-compile *.el || die
+ fi
+}
+
+src_install() {
+ einstall || die
+ dodoc NEWS AUTHORS TODO ChangeLog INSTALL README* || die
+
+ if use emacs ; then
+ cd ${S}/contrib/xcscope || die
+ elisp-install xcscope *.el *.elc || die
+ elisp-site-file-install ${FILESDIR}/${SITEFILE} xcscope || die
+ dobin cscope-indexer || die
+ fi
+ cp -r ${S}/contrib/webcscope ${D}/usr/share/doc/${PF}/ || die
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-util/cscope/files/digest-cscope-15.6 b/dev-util/cscope/files/digest-cscope-15.6
new file mode 100644
index 000000000000..01c0b5205907
--- /dev/null
+++ b/dev-util/cscope/files/digest-cscope-15.6
@@ -0,0 +1,3 @@
+MD5 db87833f90d8267b1fc0c419cfc4d219 cscope-15.6.tar.gz 391223
+RMD160 b93238d3c91782d032e028abcfde3c2a7491a9c9 cscope-15.6.tar.gz 391223
+SHA256 6d6461ef402a1d6e42e1cd40e7524c4ed19e79eacef1d83ba4ed680f7bcac5ca cscope-15.6.tar.gz 391223