summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-03-05 22:33:35 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-03-05 22:33:35 +0000
commitddfada01a9b129240cf1b59134cb465e65d1cbcc (patch)
tree1f4fb8983c4e8e79f8c2e89da06abdc5ac358314 /app-admin
parentClean up old revision. (diff)
downloadgentoo-2-ddfada01a9b129240cf1b59134cb465e65d1cbcc.tar.gz
gentoo-2-ddfada01a9b129240cf1b59134cb465e65d1cbcc.tar.bz2
gentoo-2-ddfada01a9b129240cf1b59134cb465e65d1cbcc.zip
Clean up old revision.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/abrt/ChangeLog7
-rw-r--r--app-admin/abrt/abrt-2.0.6.ebuild117
2 files changed, 5 insertions, 119 deletions
diff --git a/app-admin/abrt/ChangeLog b/app-admin/abrt/ChangeLog
index 9af3fe008c0c..325a608dd0aa 100644
--- a/app-admin/abrt/ChangeLog
+++ b/app-admin/abrt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/abrt
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/abrt/ChangeLog,v 1.15 2012/10/25 07:30:12 tetromino Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/abrt/ChangeLog,v 1.16 2013/03/05 22:33:35 eva Exp $
+
+ 05 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> -abrt-2.0.6.ebuild:
+ Clean up old revision.
*abrt-2.0.12-r1 (25 Oct 2012)
diff --git a/app-admin/abrt/abrt-2.0.6.ebuild b/app-admin/abrt/abrt-2.0.6.ebuild
deleted file mode 100644
index e44d505b5e03..000000000000
--- a/app-admin/abrt/abrt-2.0.6.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/abrt/abrt-2.0.6.ebuild,v 1.8 2012/05/31 02:21:27 zmedico Exp $
-
-EAPI="4"
-PYTHON_DEPEND="2:2.6"
-
-# Need gnome2-utils for gnome2_icon_cache_update
-inherit autotools eutils gnome2-utils python systemd user
-
-DESCRIPTION="Automatic bug detection and reporting tool"
-HOMEPAGE="https://fedorahosted.org/abrt/"
-SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug"
-
-COMMON_DEPEND="dev-libs/btparser
- >=dev-libs/glib-2.21:2
- dev-libs/libreport
- dev-libs/libxml2
- dev-libs/nss
- sys-apps/dbus
- sys-fs/inotify-tools
- x11-libs/gtk+:2
- x11-libs/libnotify"
-RDEPEND="${COMMON_DEPEND}
- app-arch/cpio
- dev-libs/elfutils
- sys-devel/gdb"
-DEPEND="${COMMON_DEPEND}
- app-text/asciidoc
- app-text/xmlto
- >=dev-util/intltool-0.35.0
- virtual/pkgconfig
- >=sys-devel/gettext-0.17"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-
- enewgroup abrt
- enewuser abrt -1 -1 -1 abrt
-}
-
-src_prepare() {
- # Disable redhat-specific code not usable in gentoo, or that requires
- # bugs.gentoo.org infra support.
- epatch "${FILESDIR}/${PN}-2.0.6-gentoo.patch"
-
- # Using a server response as a format string is a bad idea
- epatch "${FILESDIR}/${PN}-2.0.6-format-security.patch"
-
- # Fixes building with glib-2.31, will be in next release
- epatch "${FILESDIR}/${P}-glib-2.31.patch"
-
- # -Werror should not be used by default
- sed -e 's/-Werror\( \|$\)//g' \
- -i src/applet/Makefile.* src/cli/Makefile.* src/daemon/Makefile.* \
- src/gui-gtk/Makefile.* src/hooks/Makefile.* src/lib/Makefile.* \
- src/plugins/Makefile.* || die "sed failed"
-
- mkdir m4
- eautoreconf
-
- echo '#!/bin/sh' > py-compile
- python_convert_shebangs -r 2 src
-}
-
-src_configure() {
- # Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
- # while python-2.6 does not install any pkgconfig file.
- export PYTHON_CFLAGS=$(python-config --includes)
- export PYTHON_LIBS=$(python-config --libs)
-
- myeconfargs=( "--localstatedir=${EPREFIX}/var" )
- # --disable-debug enables debug!
- use debug && myeconfargs=( "${myeconfargs[@]}" --enable-debug )
- systemd_to_myeconfargs
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
-
- keepdir /var/run/abrt
- # /var/spool/abrt is created by dev-libs/libreport
-
- diropts -m 700 -o abrt -g abrt
- keepdir /var/spool/abrt-upload
-
- diropts -m 775 -o abrt -g abrt
- keepdir /var/cache/abrt-di
-
- find "${D}" -name '*.la' -exec rm -f {} + || die
-
- newinitd "${FILESDIR}/${PN}-2.0.5-init" abrt
- newconfd "${FILESDIR}/${PN}-2.0.5-conf" abrt
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- python_mod_optimize abrt_exception_handler.py
- elog "To start the bug detection service on an openrc-based system, do"
- elog "# /etc/init.d/abrt start"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- python_mod_cleanup abrt_exception_handler.py
-}