summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-portage/demerge
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-portage/demerge')
-rw-r--r--app-portage/demerge/Manifest1
-rw-r--r--app-portage/demerge/demerge-0.047-r1.ebuild44
-rw-r--r--app-portage/demerge/metadata.xml11
3 files changed, 56 insertions, 0 deletions
diff --git a/app-portage/demerge/Manifest b/app-portage/demerge/Manifest
new file mode 100644
index 00000000000..76f37336184
--- /dev/null
+++ b/app-portage/demerge/Manifest
@@ -0,0 +1 @@
+DIST demerge-0.047.tar.gz 11142 SHA256 b582ca4b422b08745ef0c500d382ffc60b4c2dba5cbcfa8a453c3124f49ea7d2 SHA512 6c2d172694516c030c358c9668ff4a1fe54d910583de6829bec0de6e67d428b1853b23f6ccd18fc9286932cb9a2bc5a37bab4b5ce43ddf2dd031c64c2ee6b1ce WHIRLPOOL 2ce52af1c3561050bed7638aaddf1fb38e2c6d44711b15f55a191ebfff57773f9ed798e584c6b2ff2505f6cc996a0d28cb1deccd47fb1b6fb32bb97c3e7da576
diff --git a/app-portage/demerge/demerge-0.047-r1.ebuild b/app-portage/demerge/demerge-0.047-r1.ebuild
new file mode 100644
index 00000000000..e5338dce9f1
--- /dev/null
+++ b/app-portage/demerge/demerge-0.047-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="demerge - revert to previous installation states"
+HOMEPAGE="http://download.mpsna.de/opensource/demerge/"
+SRC_URI="http://download.mpsna.de/opensource/demerge/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ia64 ppc ~ppc64 sh sparc x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=dev-perl/PortageXS-0.02.10-r3
+ virtual/perl-Term-ANSIColor
+ dev-perl/TermReadKey
+ dev-perl/Shell-EnvImporter"
+RDEPEND="${DEPEND}
+ sys-apps/portage"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Fix path for new make.conf location
+ sed -i -e 's:/etc/make.conf:/etc/portage/make.conf:g' demerge
+}
+
+src_install() {
+ dobin demerge || die
+ dodoc Changelog
+ doman demerge.3
+}
+
+pkg_postinst() {
+ if [ ! -e /etc/portage/postsync.d/demerge-record ]; then
+ mkdir -p /etc/portage/postsync.d/
+ echo '[ -x /usr/bin/demerge ] && /usr/bin/demerge --postsync' > /etc/portage/postsync.d/demerge-record
+ elog "/etc/portage/postsync.d/demerge-record has been installed for convenience"
+ elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x /etc/portage/postsync.d/demerge-record"
+ elog "If ever you find this to be an inconvenience simply chmod -x /etc/portage/postsync.d/demerge-record"
+ fi
+}
diff --git a/app-portage/demerge/metadata.xml b/app-portage/demerge/metadata.xml
new file mode 100644
index 00000000000..b03def19b80
--- /dev/null
+++ b/app-portage/demerge/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+demerge makes it easy to revert to previous installation states.
+</longdescription>
+</pkgmetadata>
+