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-text/rpl
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-text/rpl')
-rw-r--r--app-text/rpl/Manifest1
-rw-r--r--app-text/rpl/files/rpl-1.4.0-gcc4.patch19
-rw-r--r--app-text/rpl/metadata.xml8
-rw-r--r--app-text/rpl/rpl-1.5.5.ebuild25
4 files changed, 53 insertions, 0 deletions
diff --git a/app-text/rpl/Manifest b/app-text/rpl/Manifest
new file mode 100644
index 00000000000..5b6638d9572
--- /dev/null
+++ b/app-text/rpl/Manifest
@@ -0,0 +1 @@
+DIST rpl-1.5.5.tar.gz 11397 SHA256 4ebb876f1ff4673f34a51caf7f4b722c564dcff8473352174a478418c89c02ac SHA512 f43af366b8fc34b6c4578841f50046170810187119eb0730405a082f64d5c095fd9d28fabf1f0fda1dad85f24e98047df4d695b39b7ea5b99d32efc18634000f WHIRLPOOL 5e5d168a2dff871e1b3464365bbd1d8b74715ed79a32163c009ce5b2898de1e47656b6f7338f5765b794691fe248bf32495c3b0111f4dd30b00584434ecaad7a
diff --git a/app-text/rpl/files/rpl-1.4.0-gcc4.patch b/app-text/rpl/files/rpl-1.4.0-gcc4.patch
new file mode 100644
index 00000000000..6cfb8c62627
--- /dev/null
+++ b/app-text/rpl/files/rpl-1.4.0-gcc4.patch
@@ -0,0 +1,19 @@
+diff -Naur rpl-1.4.0-clean/src/replace.h rpl-1.4.0/src/replace.h
+--- rpl-1.4.0-clean/src/replace.h 2002-07-24 10:41:45.000000000 -0500
++++ rpl-1.4.0/src/replace.h 2006-02-19 16:38:32.000000000 -0500
+@@ -77,7 +77,7 @@
+
+ /* This is a simple macro to call malloc() and die if it returns null */
+ #define MALLOC_FAIL_STRING ("\n" PACKAGE " Unable to allocate memory!")
+-#define MALLOC_AND_CHECK( x, y ) (void*)(x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
++#define MALLOC_AND_CHECK( x, y ) (x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
+
+
+ /* Function Prototypes */
+@@ -90,4 +90,4 @@
+
+ static void EchoFeedback(int, int, int, char*);
+
+-static void SetPerms(struct stat, int, int, char*, int* );
+\ No newline at end of file
++static void SetPerms(struct stat, int, int, char*, int* );
diff --git a/app-text/rpl/metadata.xml b/app-text/rpl/metadata.xml
new file mode 100644
index 00000000000..6a90974eb08
--- /dev/null
+++ b/app-text/rpl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>shell-tools</herd>
+ <upstream>
+ <remote-id type="sourceforge">rpl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/rpl/rpl-1.5.5.ebuild b/app-text/rpl/rpl-1.5.5.ebuild
new file mode 100644
index 00000000000..25d42834e2f
--- /dev/null
+++ b/app-text/rpl/rpl-1.5.5.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="Intelligent recursive search/replace utility"
+HOMEPAGE="http://rpl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+src_install() {
+ distutils_src_install
+ doman ${PN}.1 || die
+}