diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-apps/rename/files | |
download | gentoo-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 'sys-apps/rename/files')
-rw-r--r-- | sys-apps/rename/files/rename-1.3-build.patch | 11 | ||||
-rw-r--r-- | sys-apps/rename/files/rename-1.3-gcc44.patch | 16 | ||||
-rw-r--r-- | sys-apps/rename/files/rename-1.3-rename.patch | 95 |
3 files changed, 122 insertions, 0 deletions
diff --git a/sys-apps/rename/files/rename-1.3-build.patch b/sys-apps/rename/files/rename-1.3-build.patch new file mode 100644 index 000000000000..942a2c142159 --- /dev/null +++ b/sys-apps/rename/files/rename-1.3-build.patch @@ -0,0 +1,11 @@ +--- Makefile.in ++++ Makefile.in +@@ -16,7 +16,7 @@ + all: rename + + rename: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + + + static: $(OBJS) diff --git a/sys-apps/rename/files/rename-1.3-gcc44.patch b/sys-apps/rename/files/rename-1.3-gcc44.patch new file mode 100644 index 000000000000..0cbd3966748b --- /dev/null +++ b/sys-apps/rename/files/rename-1.3-gcc44.patch @@ -0,0 +1,16 @@ +diff -NrU5 rename-1.3.original/rename.c rename-1.3/rename.c +--- rename-1.3.original/rename.c 2009-06-14 00:21:43.000000000 -0600 ++++ rename-1.3/rename.c 2009-06-14 00:22:21.000000000 -0600 +@@ -63,11 +63,11 @@ + #endif + #endif + + #if HAVE_REGEX_H + #include <regex.h> +-#elif ++#else + #include "regex.h" + #endif + + #if HAVE_GETOPT_H + #include <getopt.h> diff --git a/sys-apps/rename/files/rename-1.3-rename.patch b/sys-apps/rename/files/rename-1.3-rename.patch new file mode 100644 index 000000000000..52a3d9acf6c8 --- /dev/null +++ b/sys-apps/rename/files/rename-1.3-rename.patch @@ -0,0 +1,95 @@ +--- rename/rename.c ++++ rename/rename.c +@@ -594,7 +594,7 @@ + } else { + rs = rename(oldp, new); + if (rs < 0) +- perror("rename"); ++ perror("renamexm"); + else if (attr & MOD_VERBO) + printf("ok\n"); + +@@ -628,8 +628,8 @@ + { + + char *help = "\ +-Usage: rename SOURCE DEST\n\ +- or: rename [OPTION] file ...\n\ ++Usage: renamexm SOURCE DEST\n\ ++ or: renamexm [OPTION] file ...\n\ + Rename SOURCE to DEST, or substitute characters match the specified pattern\n\ + in the filename.\n\ + \n\ +--- rename/rename.1 ++++ rename/rename.1 +@@ -1,16 +1,16 @@ + .TH NAME SECTION + .SH Name +-rename \- file rename tool ++renamexm \- file rename tool + + .SH SYNOPSIS +-.B rename ++.B renamexm + .I OldName NewName + .P +-.B rename ++.B renamexm + .I [options] files ... + + .SH DESCRIPTION + This +-.I rename ++.I renamexm + is a quick and powerful tool for + .I upcasing, +@@ -276,5 +276,5 @@ + .SH EXAMPLES + .TP +-.I rename foo food ++.I renamexm foo food + Change file 'foo' to 'food', just like + .I mv(1) +@@ -282,23 +282,23 @@ + + .TP +-.I rename -lR * ++.I renamexm -lR * + To lowcase all filenames, directories and filenames and directories under + subdirectories. + + .TP +-.I rename -s/abc/xyz/gi *.c ++.I renamexm -s/abc/xyz/gi *.c + Substitute all 'abc' substrings appeared in C sources files with 'xyz', + ignoring case. + + .TP +-.I rename -vs/.c/.cpp/s *.c ++.I renamexm -vs/.c/.cpp/s *.c + Change C sources suffix to C++ sources suffix, with verbose information. + + .TP +-.I rename -s/abc/12345/bi * ++.I renamexm -s/abc/12345/bi * + Find the last occurrence of 'abc' and replace it with '12345', ignoring case. + + .TP +-.I rename -o guest -R /home/custom ++.I renamexm -o guest -R /home/custom + change the owner of the file '/home/custom' to 'guest'. The 'guest' should + be an effective user in the current system. If '/home/custom' is a directory, +@@ -306,5 +306,5 @@ + + .TP +-.I rename -s/^[A-Z].*file/nofile/r * ++.I renamexm -s/^[A-Z].*file/nofile/r * + The target substring starts with a capital letter, and ends with string 'file'. + There are 0 or any numbers of characters between the capital letter and 'file'. +@@ -312,5 +312,5 @@ + + .TP +-.I rename -s/^[A-Z].+file/nofile/eg * ++.I renamexm -s/^[A-Z].+file/nofile/eg * + Similar to last example, except it uses extended regular expression, such as + the '+' metacharacter, and replaces all matching strings with 'nofile'. |