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/splat
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/splat')
-rw-r--r--app-portage/splat/Manifest1
-rw-r--r--app-portage/splat/files/splat-0.08-prefix.patch33
-rw-r--r--app-portage/splat/metadata.xml7
-rw-r--r--app-portage/splat/splat-0.08-r1.ebuild28
4 files changed, 69 insertions, 0 deletions
diff --git a/app-portage/splat/Manifest b/app-portage/splat/Manifest
new file mode 100644
index 00000000000..9e79c638361
--- /dev/null
+++ b/app-portage/splat/Manifest
@@ -0,0 +1 @@
+DIST splat-0.08.tar.bz2 12180 SHA256 cdadf79909308d830d68e9b2583f91f081291ee9db2dbadd05c291b6566241e3 SHA512 18be949f601cd7ba61babc667a26df9bc5ba7ece33c9b680be7c3541418ea65f3ecf1ae402a70fa3499b79ca2b000c36a58e202d06456cbb7745bec749b1374f WHIRLPOOL a80900d2d831ad9a9a9db65ac644269de60a3f3ca7ad614ff64d0a416c2ce39638520fca7abb58721ea05c58bded3e0d3a8779f92bd6875f956718dcc580862b
diff --git a/app-portage/splat/files/splat-0.08-prefix.patch b/app-portage/splat/files/splat-0.08-prefix.patch
new file mode 100644
index 00000000000..e2599deb8bf
--- /dev/null
+++ b/app-portage/splat/files/splat-0.08-prefix.patch
@@ -0,0 +1,33 @@
+--- splat.pl
++++ splat.pl
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!@GENTOO_PORTAGE_EPREFIX@/usr/bin/perl -w
+
+ # Copyright 2003; Shaun Guth <l8nite@l8nite.net>
+ #
+@@ -65,13 +65,13 @@
+ return unless /\.ebuild$/;
+
+ my $basedir = dirname($File::Find::name);
+- $basedir =~ s/^\/var\/db\/pkg//;
++ $basedir =~ s|^@GENTOO_PORTAGE_EPREFIX@/var/db/pkg||;
+ my $package = join('/',(splitdir($basedir))[1,2]);
+
+ $INSTALLED{$package} = 1;
+
+ }, 'no_chdir' => 1, },
+- '/var/db/pkg',
++ '@GENTOO_PORTAGE_EPREFIX@/var/db/pkg',
+ );
+
+ &parse_command_line();
+@@ -320,7 +320,7 @@
+ # no logfile defined? Let's check make.conf
+ if( !defined($logfile) || $logfile eq "" )
+ {
+- $logfile = '/var/log/emerge.log';
++ $logfile = '@GENTOO_PORTAGE_EPREFIX@/var/log/emerge.log';
+
+ if( $OPT->{'verbose'} ) {
+ warn "*** No log file specified.\n";
diff --git a/app-portage/splat/metadata.xml b/app-portage/splat/metadata.xml
new file mode 100644
index 00000000000..d9cd2cad66c
--- /dev/null
+++ b/app-portage/splat/metadata.xml
@@ -0,0 +1,7 @@
+<?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>
+</pkgmetadata>
diff --git a/app-portage/splat/splat-0.08-r1.ebuild b/app-portage/splat/splat-0.08-r1.ebuild
new file mode 100644
index 00000000000..1aef171bc0c
--- /dev/null
+++ b/app-portage/splat/splat-0.08-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils prefix
+
+DESCRIPTION="Simple Portage Log Analyzer Tool"
+HOMEPAGE="http://www.l8nite.net/projects/splat/"
+SRC_URI="http://www.l8nite.net/projects/splat/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 ~sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-prefix.patch
+ eprefixify splat.pl
+}
+
+src_install() {
+ newbin splat.pl splat
+ dodoc ChangeLog
+}