summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-07-27 22:32:04 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-07-27 22:32:04 +0000
commitf6291cc21ef6db416976c99cbd2f593770fa26db (patch)
treedd4e7517cd1285afab466bf32a91411d6b6c9992 /sys-apps/etckeeper
parentStable for x86, wrt bug #477566 (diff)
downloadgentoo-2-f6291cc21ef6db416976c99cbd2f593770fa26db.tar.gz
gentoo-2-f6291cc21ef6db416976c99cbd2f593770fa26db.tar.bz2
gentoo-2-f6291cc21ef6db416976c99cbd2f593770fa26db.zip
Cleanup
(Portage version: 2.1.13.1/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'sys-apps/etckeeper')
-rw-r--r--sys-apps/etckeeper/ChangeLog6
-rw-r--r--sys-apps/etckeeper/etckeeper-0.63-r1.ebuild76
-rw-r--r--sys-apps/etckeeper/etckeeper-0.63.ebuild76
-rw-r--r--sys-apps/etckeeper/files/etckeeper-0.63-gentoo.patch61
4 files changed, 5 insertions, 214 deletions
diff --git a/sys-apps/etckeeper/ChangeLog b/sys-apps/etckeeper/ChangeLog
index ad3d494f9084..8cce4f220562 100644
--- a/sys-apps/etckeeper/ChangeLog
+++ b/sys-apps/etckeeper/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/etckeeper
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.23 2013/07/27 22:23:08 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/ChangeLog,v 1.24 2013/07/27 22:32:03 mrueg Exp $
+
+ 27 Jul 2013; Manuel Rüger <mrueg@gentoo.org> -etckeeper-0.63-r1.ebuild,
+ -etckeeper-0.63.ebuild, -files/etckeeper-0.63-gentoo.patch:
+ Cleanup
27 Jul 2013; Agostino Sarubbo <ago@gentoo.org> etckeeper-1.4.ebuild:
Stable for x86, wrt bug #477420
diff --git a/sys-apps/etckeeper/etckeeper-0.63-r1.ebuild b/sys-apps/etckeeper/etckeeper-0.63-r1.ebuild
deleted file mode 100644
index c4118f4885e6..000000000000
--- a/sys-apps/etckeeper/etckeeper-0.63-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-0.63-r1.ebuild,v 1.8 2013/06/24 21:36:47 hasufell Exp $
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_6 python2_7 )
-
-inherit eutils bash-completion-r1 prefix python-r1
-
-DESCRIPTION="A collection of tools to let /etc be stored in a repository"
-HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/"
-SRC_URI="http://git.kitenet.net/?p=${PN}.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="bazaar cron"
-REQUIRED_USE="bazaar? ( ${PYTHON_REQUIRED_USE} )"
-
-VCS_DEPEND="
- dev-vcs/git
- dev-vcs/mercurial
- dev-vcs/darcs"
-DEPEND="bazaar? ( dev-vcs/bzr )"
-RDEPEND="${DEPEND}
- app-portage/portage-utils
- cron? ( virtual/cron )
- bazaar? ( ${PYTHON_DEPS} )
- !bazaar? ( || ( ${VCS_DEPEND} ) )"
-
-src_prepare(){
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-src_compile() {
- :
-}
-
-src_install(){
- emake DESTDIR="${ED}" install
-
- bzr_install() {
- ${PYTHON} ./${PN}-bzr/__init__.py install --root="${ED}" ||
- die "bzr support installation failed!"
- }
- use bazaar && python_foreach_impl bzr_install
-
- if use prefix; then
- doenvd "${FILESDIR}"/99${PN}
- eprefixify "${ED}"/etc/env.d/99${PN}
- fi
-
- newbashcomp bash_completion ${PN}
- dodoc README TODO
- docinto examples
- dodoc "${FILESDIR}"/bashrc
-
- if use cron ; then
- exeinto /etc/cron.daily
- newexe debian/cron.daily etckeeper
- fi
-}
-
-pkg_postinst(){
- elog "${PN} supports the following VCS: ${VCS_DEPEND}"
- elog " dev-vcs/bzr"
- elog "This ebuild just ensures at least one is installed!"
- elog "For dev-vcs/bzr you need to enable 'bazaar' useflag."
- elog
- elog "You may want to adjust your /etc/portage/bashrc"
- elog "see the example file in /usr/share/doc/${PF}/examples"
- elog
- elog "To initialise your etc-dir as a repository run:"
- elog "${PN} init -d /etc"
-}
diff --git a/sys-apps/etckeeper/etckeeper-0.63.ebuild b/sys-apps/etckeeper/etckeeper-0.63.ebuild
deleted file mode 100644
index c971f740404f..000000000000
--- a/sys-apps/etckeeper/etckeeper-0.63.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-0.63.ebuild,v 1.12 2013/01/14 22:58:43 hasufell Exp $
-
-EAPI=4
-
-PYTHON_DEPEND="bazaar? 2:2.6"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*"
-
-inherit eutils bash-completion-r1 prefix python
-
-DESCRIPTION="A collection of tools to let /etc be stored in a repository"
-HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/"
-SRC_URI="http://git.kitenet.net/?p=${PN}.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-IUSE="bazaar cron"
-KEYWORDS="amd64 ~x86"
-SLOT="0"
-
-VCS_DEPEND="
- dev-vcs/git
- dev-vcs/mercurial
- dev-vcs/darcs"
-DEPEND="bazaar? ( dev-vcs/bzr )"
-RDEPEND="${DEPEND}
- app-portage/portage-utils
- cron? ( virtual/cron )
- !bazaar? ( || ( ${VCS_DEPEND} ) )"
-
-src_prepare(){
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
-src_compile() {
- use bazaar && emake
-}
-
-src_install(){
- emake DESTDIR="${ED}" install
-
- bzr_install() {
- $(PYTHON) ./${PN}-bzr/__init__.py install --root="${ED}" ||
- die "bzr support installation failed!"
- }
- use bazaar && python_execute_function bzr_install
-
- if use prefix; then
- doenvd "${FILESDIR}"/99${PN}
- eprefixify "${ED}"/etc/env.d/99${PN}
- fi
-
- newbashcomp bash_completion ${PN}
- dodoc README TODO
- docinto examples
- dodoc "${FILESDIR}"/bashrc
-
- if use cron ; then
- exeinto /etc/cron.daily
- newexe debian/cron.daily etckeeper
- fi
-}
-
-pkg_postinst(){
- elog "${PN} supports the following VCS: ${VCS_DEPEND}"
- elog " dev-vcs/bzr"
- elog "This ebuild just ensures at least one is installed!"
- elog "For dev-vcs/bzr you need to enable 'bazaar' useflag."
- elog
- elog "You may want to adjust your /etc/portage/bashrc"
- elog "see the example file in /usr/share/doc/${PF}/examples"
- elog
- elog "To initialise your etc-dir as a repository run:"
- elog "${PN} init -d /etc"
-}
diff --git a/sys-apps/etckeeper/files/etckeeper-0.63-gentoo.patch b/sys-apps/etckeeper/files/etckeeper-0.63-gentoo.patch
deleted file mode 100644
index ae151377ec7e..000000000000
--- a/sys-apps/etckeeper/files/etckeeper-0.63-gentoo.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Original patch by Luke-Jr (luke-jr+gentoobugs@utopios.org)
-Minor fixes by Manuel Rueger (mrueg@rueg.eu)
-
-https://bugs.gentoo.org/show_bug.cgi?id=216114
-Gentoo specific additions
-
---- Makefile
-+++ Makefile
-@@ -23,7 +23,6 @@
- $(INSTALL_DATA) $(CONFFILE) $(DESTDIR)$(etcdir)/etckeeper/etckeeper.conf
- $(INSTALL_EXE) etckeeper $(DESTDIR)$(bindir)/etckeeper
- $(INSTALL_DATA) etckeeper.8 $(DESTDIR)$(mandir)/man8/etckeeper.8
-- $(INSTALL_DATA) bash_completion $(DESTDIR)$(etcdir)/bash_completion.d/etckeeper
- ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),apt)
- $(INSTALL_DATA) apt.conf $(DESTDIR)$(etcdir)/apt/apt.conf.d/05etckeeper
- mkdir -p $(DESTDIR)$(etcdir)/cruft/filters-unex
-@@ -36,7 +35,6 @@
- $(INSTALL_DATA) yum-etckeeper.py $(DESTDIR)$(prefix)/lib/yum-plugins/etckeeper.py
- $(INSTALL_DATA) yum-etckeeper.conf $(DESTDIR)$(etcdir)/yum/pluginconf.d/etckeeper.conf
- endif
-- -./etckeeper-bzr/__init__.py install --root=$(DESTDIR) ${PYTHON_INSTALL_OPTS} || echo "** bzr support not installed"
- echo "** installation successful"
-
- clean: etckeeper.spec
---- etckeeper.conf
-+++ etckeeper.conf
-@@ -31,8 +31,10 @@
-
- # The high-level package manager that's being used.
- # (apt, pacman-g2, yum etc)
--HIGHLEVEL_PACKAGE_MANAGER=apt
-+# For gentoo this is emerge
-+HIGHLEVEL_PACKAGE_MANAGER=emerge
-
- # The low-level package manager that's being used.
- # (dpkg, rpm, pacman-g2, etc)
--LOWLEVEL_PACKAGE_MANAGER=dpkg
-+# For gentoo this is qlist
-+LOWLEVEL_PACKAGE_MANAGER=qlist
---- list-installed.d/50list-installed
-+++ list-installed.d/50list-installed
-@@ -7,4 +7,6 @@
- egrep '(ok installed|ok config-files)' | cut -f2,3
- elif [ "$LOWLEVEL_PACKAGE_MANAGER" = rpm ]; then
- rpm -qa --qf "%|epoch?{%{epoch}}:{0}|:%{name}-%{version}-%{release}.%{arch}\n" | sort
-+elif [ "$LOWLEVEL_PACKAGE_MANAGER" = qlist ]; then
-+ qlist -ICv
- fi
---- update-ignore.d/01update-ignore
-+++ update-ignore.d/01update-ignore
-@@ -99,6 +99,10 @@
- ignore "*.pacorig"
- ignore "*.pacsave"
- nl
-+ elif [ "$LOWLEVEL_PACKAGE_MANAGER" = "qlist" ]; then
-+ comment "new and old versions of conffiles, stored by emerge"
-+ ignore "*.cfg_*"
-+ nl
- fi
-
- comment "old versions of files"