summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-07-02 13:38:54 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-07-02 13:38:54 +0000
commit390ee6adb76ab447b363eab54466838b9f4ecf82 (patch)
tree3aa9d999a3f1ed6201fd93fdd94ccc6fa5aaaf6a /app-arch/sharutils
parent(QA) RESTRICT clean up. (diff)
downloadgentoo-2-390ee6adb76ab447b363eab54466838b9f4ecf82.tar.gz
gentoo-2-390ee6adb76ab447b363eab54466838b9f4ecf82.tar.bz2
gentoo-2-390ee6adb76ab447b363eab54466838b9f4ecf82.zip
bit of cleaning. pruning dedicated to armin76
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-arch/sharutils')
-rw-r--r--app-arch/sharutils/ChangeLog11
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.2.1-r113
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.53
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.66
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.6.16
-rw-r--r--app-arch/sharutils/files/digest-sharutils-4.6.26
-rw-r--r--app-arch/sharutils/files/sharutils-4.2.1-buffer-check.patch98
-rw-r--r--app-arch/sharutils/files/sharutils-4.2.1-buffer-limits.patch60
-rw-r--r--app-arch/sharutils/files/sharutils-4.2.1-gentoo.patch88
-rw-r--r--app-arch/sharutils/files/sharutils-4.2.1-tempfile.patch126
-rw-r--r--app-arch/sharutils/sharutils-4.2.1-r11.ebuild63
-rw-r--r--app-arch/sharutils/sharutils-4.5.ebuild29
-rw-r--r--app-arch/sharutils/sharutils-4.6.1.ebuild38
-rw-r--r--app-arch/sharutils/sharutils-4.6.2.ebuild38
-rw-r--r--app-arch/sharutils/sharutils-4.6.ebuild34
15 files changed, 10 insertions, 599 deletions
diff --git a/app-arch/sharutils/ChangeLog b/app-arch/sharutils/ChangeLog
index acd0a92a93b1..ad3014c107e6 100644
--- a/app-arch/sharutils/ChangeLog
+++ b/app-arch/sharutils/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-arch/sharutils
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.52 2007/07/02 12:59:50 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/ChangeLog,v 1.53 2007/07/02 13:38:54 dragonheart Exp $
+
+ 02 Jul 2007; Daniel Black <dragonheart@gentoo.org>
+ -files/sharutils-4.2.1-buffer-check.patch,
+ -files/sharutils-4.2.1-buffer-limits.patch,
+ -files/sharutils-4.2.1-gentoo.patch,
+ -files/sharutils-4.2.1-tempfile.patch, -sharutils-4.2.1-r11.ebuild,
+ -sharutils-4.5.ebuild, -sharutils-4.6.ebuild, -sharutils-4.6.1.ebuild,
+ -sharutils-4.6.2.ebuild:
+ bit of cleaning
02 Jul 2007; Christoph Mende <angelos@gentoo.org> sharutils-4.6.3.ebuild:
Stable on amd64
diff --git a/app-arch/sharutils/files/digest-sharutils-4.2.1-r11 b/app-arch/sharutils/files/digest-sharutils-4.2.1-r11
deleted file mode 100644
index 734c84616773..000000000000
--- a/app-arch/sharutils/files/digest-sharutils-4.2.1-r11
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b8ba1d409f07edcb335ff72a27bd9828 sharutils-4.2.1.tar.gz 306022
-RMD160 06e1629aa8a1c982e6032f194df6f5fe85f85b43 sharutils-4.2.1.tar.gz 306022
-SHA256 0c41b60248c1895446d756a1f677521d24c39ade6d5313f72cc106fe48e61748 sharutils-4.2.1.tar.gz 306022
diff --git a/app-arch/sharutils/files/digest-sharutils-4.5 b/app-arch/sharutils/files/digest-sharutils-4.5
deleted file mode 100644
index 29afc6bc97f2..000000000000
--- a/app-arch/sharutils/files/digest-sharutils-4.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 72d6072152c67af299e7a193bb78f258 sharutils-4.5.tar.bz2 634934
-RMD160 15776eceb84595c814bcfc321ab1673e75f33001 sharutils-4.5.tar.bz2 634934
-SHA256 e2d2e3954306b288920a55a129e537e74bed8c38d138a95ad8acfaf0b4b723dd sharutils-4.5.tar.bz2 634934
diff --git a/app-arch/sharutils/files/digest-sharutils-4.6 b/app-arch/sharutils/files/digest-sharutils-4.6
deleted file mode 100644
index b4ef6fd39a7d..000000000000
--- a/app-arch/sharutils/files/digest-sharutils-4.6
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 8e45ffe03c6212bd284213183197ccab sharutils-4.6-doc.tar.gz 659336
-RMD160 0ad2ae58694f6e0de62dcba792004d143c8253a7 sharutils-4.6-doc.tar.gz 659336
-SHA256 7b12c238ea99793670a4eb86ffc8780b2253236ab900edb7eaf54ee14cc70cd1 sharutils-4.6-doc.tar.gz 659336
-MD5 c081e3acfeab71cf76dca79f8f76c62d sharutils-4.6.tar.bz2 633912
-RMD160 6e64dff6ff7ab3fc4761cbb699af1facf5e8c0dc sharutils-4.6.tar.bz2 633912
-SHA256 4ee84bb2997cc318d8f35e0cee544becb1fa676bc45431f5be826a861d6fa0e8 sharutils-4.6.tar.bz2 633912
diff --git a/app-arch/sharutils/files/digest-sharutils-4.6.1 b/app-arch/sharutils/files/digest-sharutils-4.6.1
deleted file mode 100644
index 8b5da50dc6e1..000000000000
--- a/app-arch/sharutils/files/digest-sharutils-4.6.1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 ddff73a8027b541cd9b91e48627fa2da sharutils-4.6.1-doc.tar.gz 661032
-RMD160 adfea44fc445505a2f40182fca719c385ff51059 sharutils-4.6.1-doc.tar.gz 661032
-SHA256 b7b537a691217417264b55fdbd351d18a3adf0fe4611eeafa09a363f72a1e107 sharutils-4.6.1-doc.tar.gz 661032
-MD5 947eb4b05e004013dce84d5422be7fef sharutils-4.6.1.tar.bz2 636582
-RMD160 c7b7d2bb802fc61033ebe810bbad0f6bd31e53aa sharutils-4.6.1.tar.bz2 636582
-SHA256 5b53d88a12b44d83aa37a263680da13e499475bc8363351b9c3b9b2b92b9f0af sharutils-4.6.1.tar.bz2 636582
diff --git a/app-arch/sharutils/files/digest-sharutils-4.6.2 b/app-arch/sharutils/files/digest-sharutils-4.6.2
deleted file mode 100644
index 8d07857ee6e1..000000000000
--- a/app-arch/sharutils/files/digest-sharutils-4.6.2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 334c4c412beb9ebff142230ff8cbc6ef sharutils-4.6.2-doc.tar.gz 661054
-RMD160 1ae0d247505f799e05341aae9b10e6e1d5633fa8 sharutils-4.6.2-doc.tar.gz 661054
-SHA256 50168b165fc1188e122196ba8ee5e87f9d9aedea6457906fcd15e1328401b321 sharutils-4.6.2-doc.tar.gz 661054
-MD5 8714665f1499efd06330fd69164ca80d sharutils-4.6.2.tar.bz2 628814
-RMD160 244c114c67cef432ba5e14b64103fb636adada59 sharutils-4.6.2.tar.bz2 628814
-SHA256 bbd3033dda0f5362ec68229ee4c12b2d1bd33f857045547e28c38def000026ec sharutils-4.6.2.tar.bz2 628814
diff --git a/app-arch/sharutils/files/sharutils-4.2.1-buffer-check.patch b/app-arch/sharutils/files/sharutils-4.2.1-buffer-check.patch
deleted file mode 100644
index 46cf35e8a7f4..000000000000
--- a/app-arch/sharutils/files/sharutils-4.2.1-buffer-check.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-Index: src/shar.c
-===================================================================
-RCS file: /home/ke/cvsroot/sharutils/src/shar.c,v
-retrieving revision 1.22
-diff -u -r1.22 shar.c
---- src/shar.c 2 Dec 2002 20:52:10 -0000 1.22
-+++ src/shar.c 15 May 2004 09:13:16 -0000
-@@ -255,11 +255,11 @@
- /* Position for first file in the shar file. */
- static off_t first_file_position;
-
--/* Base for output filename. FIXME: No fix limit in GNU... */
--static char output_base_name[50];
-+/* Base for output filename. */
-+static char *output_base_name;
-
--/* Actual output filename. FIXME: No fix limit in GNU... */
--static char output_filename[50];
-+/* Actual output filename. */
-+static char *output_filename;
-
- static char *submitter_address = NULL;
-
-@@ -1727,7 +1727,12 @@
- static void
- open_output ()
- {
-- sprintf (output_filename, output_base_name, ++part_number);
-+ size_t l;
-+ l = strlen(output_base_name) + 128;
-+ if (output_filename)
-+ free(output_filename);
-+ output_filename = xmalloc(l);
-+ snprintf(output_filename, l, output_base_name, ++part_number);
- output = fopen (output_filename, "w");
- if (!output)
- error (EXIT_FAILURE, errno, _("Opening `%s'"), output_filename);
-@@ -1907,6 +1912,42 @@
- file_size_limit = lim;
- }
-
-+
-+char *parse_output_base_name(char *arg)
-+{
-+ int c;
-+ int hadarg = 0;
-+ char *fmt, *p;
-+
-+ for (p = arg ; (c = *p++) != 0; )
-+ {
-+ if (c != '%')
-+ continue;
-+ c = *p++;
-+ if (c == '%')
-+ continue;
-+ if (hadarg)
-+ return 0;
-+ while (c != 0 && strchr("#0+- 'I", c) != 0)
-+ c = *p++;
-+ while (c != 0 && c >= '0' && c <= '9')
-+ c = *p++;
-+ if (c == '.')
-+ c = *p++;
-+ while (c != 0 && c >= '0' && c <= '9')
-+ c = *p++;
-+ if (c == 0 || strchr("diouxX", c) == 0)
-+ return 0;
-+ hadarg = 1;
-+ }
-+ fmt = xmalloc(strlen(arg) + (hadarg ? 1 : 6));
-+ strcpy(fmt, arg);
-+ if (!hadarg)
-+ strcat(fmt, ".%02d");
-+ return fmt;
-+}
-+
-+
- /*---.
- | ? |
- `---*/
-@@ -2047,9 +2088,14 @@
- break;
-
- case 'o':
-- strcpy (output_base_name, optarg);
-- if (!strchr (output_base_name, '%'))
-- strcat (output_base_name, ".%02d");
-+ if (output_base_name)
-+ free (output_base_name);
-+ output_base_name = parse_output_base_name(optarg);
-+ if (!output_base_name)
-+ {
-+ fprintf (stderr, _("illegal output prefix\n"));
-+ exit (EXIT_FAILURE);
-+ }
- part_number = 0;
- open_output ();
- break;
diff --git a/app-arch/sharutils/files/sharutils-4.2.1-buffer-limits.patch b/app-arch/sharutils/files/sharutils-4.2.1-buffer-limits.patch
deleted file mode 100644
index 974677156496..000000000000
--- a/app-arch/sharutils/files/sharutils-4.2.1-buffer-limits.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -Naur ./sharutils-4.2.1/src/shar.c ./sharutils-4.2.1_new/src/shar.c
---- ./sharutils-4.2.1/src/shar.c 1999-09-10 21:20:41.000000000 +0200
-+++ ./sharutils-4.2.1_new/src/shar.c 2004-09-29 15:09:40.790061000 +0200
-@@ -1571,7 +1571,7 @@
- sprintf (command, "%s '%s'", CHARACTER_COUNT_COMMAND, local_name);
- if (pfp = popen (command, "r"), pfp)
- {
-- char wc[BUFSIZ];
-+ char wc[BUFSIZ], tempform[50];
- const char *prefix = "";
-
- if (did_md5)
-@@ -1579,8 +1579,8 @@
- fputs (" else\n", output);
- prefix = " ";
- }
--
-- fscanf (pfp, "%s", wc);
-+ sprintf (tempform, "%%%ds", BUFSIZ - 1);
-+ fscanf (pfp, tempform, wc);
- fprintf (output, "\
- %s shar_count=\"`%s '%s'`\"\n\
- %s test %s -eq \"$shar_count\" ||\n\
-diff -Naur ./sharutils-4.2.1/src/unshar.c ./sharutils-4.2.1_new/src/unshar.c
---- ./sharutils-4.2.1/src/unshar.c 1995-11-21 17:22:14.000000000 +0100
-+++ ./sharutils-4.2.1_new/src/unshar.c 2004-09-29 15:09:44.682469264 +0200
-@@ -346,8 +346,8 @@
- {
- size_t size_read;
- FILE *file;
-- char name_buffer[NAME_BUFFER_SIZE];
-- char copy_buffer[NAME_BUFFER_SIZE];
-+ char name_buffer[NAME_BUFFER_SIZE] = {'\0'};
-+ char copy_buffer[NAME_BUFFER_SIZE] = {'\0'};
- int optchar;
-
- program_name = argv[0];
-@@ -409,14 +409,14 @@
- if (optind < argc)
- for (; optind < argc; optind++)
- {
-- if (argv[optind][0] == '/')
-- stpcpy (name_buffer, argv[optind]);
-- else
-- {
-- char *cp = stpcpy (name_buffer, current_directory);
-- *cp++ = '/';
-- stpcpy (cp, argv[optind]);
-- }
-+ if (argv[optind][0] == '/') {
-+ strncpy (name_buffer, argv[optind], sizeof(name_buffer));
-+ name_buffer[sizeof(name_buffer)-1] = '\0';
-+ }
-+ else {
-+ snprintf(name_buffer, sizeof(name_buffer),"%s/%s", current_directory, argv[optind]);
-+ name_buffer[sizeof(name_buffer)-1] = '\0';
-+ }
- if (file = fopen (name_buffer, "r"), !file)
- error (EXIT_FAILURE, errno, name_buffer);
- unarchive_shar_file (name_buffer, file);
diff --git a/app-arch/sharutils/files/sharutils-4.2.1-gentoo.patch b/app-arch/sharutils/files/sharutils-4.2.1-gentoo.patch
deleted file mode 100644
index a183c79bc93e..000000000000
--- a/app-arch/sharutils/files/sharutils-4.2.1-gentoo.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-*** sharutils-4.2.1/doc/remsync.texi
---- sharutils-4.2.1/doc/remsync.texi
-***************
-*** 8,11 ****
---- 8,15 ----
-
- @ifinfo
-+
-+ @direntry
-+ * remsync: (remsync). Synchronize remote files (sharutils).
-+ @end direntry
- This file documents the @code{remsync} command and friends, which have
- the purpose of synchronizing remote directory trees using email.
-*** sharutils-4.2.1/doc/sharutils.texi
---- sharutils-4.2.1/doc/sharutils.texi
-***************
-*** 16,31 ****
-
- @ifinfo
-! @format
-! START-INFO-DIR-ENTRY
- * Shar utilities: (sharutils). GNU shar utilities.
-! * mail-files: (sharutils)mail-files invocation. Send files to remote site.
-! * mailshar: (sharutils)mailshar invocation. Make and send a shell archive.
-! * remsync: (sharutils)remsync invocation. Synchronize remote files.
-! * shar: (sharutils)shar invocation. Make a shell archive.
-! * unshar: (sharutils)unshar invocation. Explode a shell archive.
-! * uudecode: (sharutils)uudecode invocation. Restore file from 7-bits.
-! * uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits.
-! END-INFO-DIR-ENTRY
-! @end format
- @end ifinfo
-
---- 16,22 ----
-
- @ifinfo
-! @direntry
- * Shar utilities: (sharutils). GNU shar utilities.
-! @end direntry
- @end ifinfo
-
---- sharutils-4.2.1/src/uudecode.c
-+++ sharutils-4.2.1/src/uudecode.c
-@@ -81,6 +81,9 @@
- /* Single character decode. */
- #define DEC(Char) (((Char) - ' ') & 077)
-
-+#if !defined S_ISLNK && defined S_IFLNK
-+# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
-+#endif
-
- static int
- read_stduu (inname)
-@@ -279,6 +282,7 @@
- char buf[2 * BUFSIZ];
- char *outname;
- int do_base64 = 0;
-+ struct stat attr;
-
- /* Search for header line. */
-
-@@ -337,6 +341,23 @@
- }
- }
-
-+ /* Check out file if it exists */
-+ if (strcmp (outname, "/dev/stdout") != 0 && strcmp (outname, "-") != 0
-+ && !access(outname, F_OK)) {
-+ if (lstat(outname, &attr) == -1) {
-+ error (0, errno, _("cannot access %s"), outname);
-+ return 1;
-+ }
-+ if (S_ISFIFO(attr.st_mode)){
-+ error (0, errno, _("denied writing FIFO (%s)"), outname);
-+ return 1;
-+ }
-+ if (S_ISLNK(attr.st_mode)) {
-+ error (0, errno, _("not following symlink (%s)"), outname);
-+ return 1;
-+ }
-+ }
-+
- /* Create output file and set mode. */
-
- if (strcmp (outname, "/dev/stdout") != 0 && strcmp (outname, "-") != 0
-
-
-
diff --git a/app-arch/sharutils/files/sharutils-4.2.1-tempfile.patch b/app-arch/sharutils/files/sharutils-4.2.1-tempfile.patch
deleted file mode 100644
index 1b49c7fa40aa..000000000000
--- a/app-arch/sharutils/files/sharutils-4.2.1-tempfile.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-Ripped from Ubuntu's patch:
-http://security.ubuntu.com/ubuntu/pool/main/s/sharutils/sharutils_4.2.1-10ubuntu0.2.diff.gz
-
-To fix bug:
-http://bugs.gentoo.org/show_bug.cgi?id=87939
-
---- sharutils-4.2.1/doc/shar.1
-+++ sharutils-4.2.1/doc/shar.1
-@@ -48,7 +48,7 @@
- the list of files to be packed. For example:
- .nf
-
--find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /tmp/big
-+find . \-type f \-print | sort | shar \-S \-Z \-L50 \-o /somewhere/big
-
- .fi
- If \f2\-p\f1 is specified on the command line, then the options
---- sharutils-4.2.1/doc/sharutils.texi
-+++ sharutils-4.2.1/doc/sharutils.texi
-@@ -219,7 +214,7 @@
- the list of files to be packed. For example:
-
- @example
--find . -type f -print | shar -S -o /tmp/big.shar
-+find . -type f -print | shar -S -o /somewhere/big.shar
- @end example
-
- If @code{-p} is specified on the command line, then the options
---- sharutils-4.2.1/src/remsync.in
-+++ sharutils-4.2.1/src/remsync.in
-@@ -1657,7 +1657,10 @@
- }
- }
-
-- open (SCAN, ("find$list -type f -print 2> /tmp/$$.find"
-+ $findtempfile = `tempfile`;
-+ chop $findtempfile;
-+
-+ open (SCAN, ("find$list -type f -print 2> $findtempfile"
- . " | xargs $sum_command |"))
- || &interrupt ("Cannot launch program \`find\'");
-
-@@ -1689,7 +1692,7 @@
-
- # Clean out scanning for inexisting files.
-
-- open (SCAN, "/tmp/$$.find");
-+ open (SCAN, "$findtempfile");
- while (<SCAN>)
- {
- chop;
-@@ -1706,7 +1709,7 @@
- &query ("Should I delete this scan (y/n)? [y]");
- if (/^(y|yes)$/i)
- {
-- &delete_scan ($file);
-+ &command_delete_scan ($file);
- }
- else
- {
-@@ -1720,7 +1723,7 @@
- }
- }
- close SCAN;
-- unlink "/tmp/$$.find";
-+ unlink "$findtempfile";
-
- $study_files = 0;
- }
---- sharutils-4.2.1/src/unshar.c
-+++ sharutils-4.2.1/src/unshar.c
-@@ -424,13 +424,15 @@
- }
- else
- {
-+#ifdef __MSDOS__
- sprintf (name_buffer, "/tmp/unsh.%05d", (int) getpid ());
- unlink (name_buffer);
-
- if (file = fopen (name_buffer, "w+"), !file)
- error (EXIT_FAILURE, errno, name_buffer);
--#ifndef __MSDOS__
-- unlink (name_buffer); /* will be deleted on fclose */
-+#else
-+ if (file = tmpfile(), !file)
-+ error (EXIT_FAILURE, errno, "tmpfile");
- #endif
-
- while (size_read = fread (copy_buffer, 1, sizeof (copy_buffer), stdin),
---- sharutils-4.2.1/src/uudecode.c
-+++ sharutils-4.2.1/src/uudecode.c
-@@ -292,12 +292,12 @@
-
- if (strncmp (buf, "begin", 5) == 0)
- {
-- if (sscanf (buf, "begin-base64 %o %s", &mode, buf) == 2)
-+ if (sscanf (buf, "begin-base64 %o %[^\n]", &mode, buf) == 2)
- {
- do_base64 = 1;
- break;
- }
-- else if (sscanf (buf, "begin %o %s", &mode, buf) == 2)
-+ else if (sscanf (buf, "begin %o %[^\n]", &mode, buf) == 2)
- break;
- }
- }
-@@ -348,7 +348,7 @@
- #endif
- ))
- {
-- error (0, errno, "%s: %s", outname, inname);
-+ error (0, errno, "%s", outname);
- return 1;
- }
-
---- sharutils-4.2.1/src/mailshar.in
-+++ sharutils-4.2.1/src/mailshar.in
-@@ -33,7 +33,7 @@
- If none of -MTBzZ are given, -z is automatically selected if *none*
- of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix."
-
--temp=/usr/tmp/$$.shar
-+temp=`tempfile`
-
- ### Decode the options.
-
diff --git a/app-arch/sharutils/sharutils-4.2.1-r11.ebuild b/app-arch/sharutils/sharutils-4.2.1-r11.ebuild
deleted file mode 100644
index 64ac21124c94..000000000000
--- a/app-arch/sharutils/sharutils-4.2.1-r11.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.2.1-r11.ebuild,v 1.12 2006/03/19 06:41:15 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="http://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gentoo/${P}.tar.gz
- mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
-IUSE="nls"
-
-DEPEND="sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gentoo.patch
- epatch "${FILESDIR}"/${P}-buffer-check.patch #46998
- epatch "${FILESDIR}"/${P}-buffer-limits.patch #65773
- epatch "${FILESDIR}"/${P}-tempfile.patch #87939
-
- cd "${S}"/po
- cp ja_JP.EUC.po ja.po
- cp ja_JP.EUC.gmo ja.gmo
- sed -i \
- -e 's/aangemaakt/aangemaakt\\n/' \
- nl.po || die "sed nl.po failed"
- sed -i \
- -e 's/de %dk/de %dk\\n/' \
- pt.po || die "sed pt.po failed"
-}
-
-src_compile() {
- econf $(use_enable nls) || die
- emake || die "emake failed"
-}
-
-src_install() {
- local x=
-
- einstall \
- localedir=${D}/usr/share/locale \
- || die
-
- doman doc/*.[15]
- # Remove some strange locales
- cd ${D}/usr/share/locale
- for x in *.
- do
- rm -rf ${x}
- done
- rm -rf ${D}/usr/lib
-
- cd ${S}
- dodoc AUTHORS BACKLOG ChangeLog ChangeLog.OLD \
- NEWS README README.OLD THANKS TODO
-}
diff --git a/app-arch/sharutils/sharutils-4.5.ebuild b/app-arch/sharutils/sharutils-4.5.ebuild
deleted file mode 100644
index 876710dfc874..000000000000
--- a/app-arch/sharutils/sharutils-4.5.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.5.ebuild,v 1.1 2005/08/10 22:05:59 dragonheart Exp $
-
-inherit eutils
-
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="http://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gnu/${PN}/REL-${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="nls"
-
-DEPEND="sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-src_compile() {
- econf $(use_enable nls) || die
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- cd ${S}
- dodoc AUTHORS BACKLOG ChangeLog \
- NEWS README THANKS TODO
-}
diff --git a/app-arch/sharutils/sharutils-4.6.1.ebuild b/app-arch/sharutils/sharutils-4.6.1.ebuild
deleted file mode 100644
index 4fd004710f42..000000000000
--- a/app-arch/sharutils/sharutils-4.6.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.6.1.ebuild,v 1.3 2006/04/11 21:12:43 dragonheart Exp $
-
-inherit autotools
-
-MY_P="${P/_/-}"
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="http://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gnu/${PN}/REL-${PV}/${P}.tar.bz2
- doc? ( mirror://gnu/${PN}/REL-${PV}/${P}-doc.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="nls doc"
-
-DEPEND="sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_compile() {
- strip-linguas -u po/
- econf $(use_enable nls) || die
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
- if use doc ; then
- mv html_chapter/ html_node sharutils.html html_mono/ \
- pdf/sharutils.pdf.gz "${D}/usr/share/doc/${PF}" \
- || die 'documentation installation failed'
- rm "${D}/usr/share/doc/${PF}"/*/*.gz
- fi
-}
diff --git a/app-arch/sharutils/sharutils-4.6.2.ebuild b/app-arch/sharutils/sharutils-4.6.2.ebuild
deleted file mode 100644
index 63f4ee34b8a2..000000000000
--- a/app-arch/sharutils/sharutils-4.6.2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.6.2.ebuild,v 1.1 2006/04/11 21:12:43 dragonheart Exp $
-
-inherit autotools
-
-MY_P="${P/_/-}"
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="http://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gnu/${PN}/REL-${PV}/${P}.tar.bz2
- doc? ( mirror://gnu/${PN}/REL-${PV}/${P}-doc.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="nls doc"
-
-DEPEND="sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-S=${WORKDIR}/${MY_P}
-
-src_compile() {
- strip-linguas -u po/
- econf $(use_enable nls) || die
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
- if use doc ; then
- mv html_chapter/ html_node sharutils.html html_mono/ \
- pdf/sharutils.pdf.gz "${D}/usr/share/doc/${PF}" \
- || die 'documentation installation failed'
- rm "${D}/usr/share/doc/${PF}"/*/*.gz
- fi
-}
diff --git a/app-arch/sharutils/sharutils-4.6.ebuild b/app-arch/sharutils/sharutils-4.6.ebuild
deleted file mode 100644
index d1bf9d52d539..000000000000
--- a/app-arch/sharutils/sharutils-4.6.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/sharutils/sharutils-4.6.ebuild,v 1.1 2005/10/08 23:14:52 dragonheart Exp $
-
-DESCRIPTION="Tools to deal with shar archives"
-HOMEPAGE="http://www.gnu.org/software/sharutils/"
-SRC_URI="mirror://gnu/${PN}/REL-${PV}/${P}.tar.bz2
- mirror://gnu/${PN}/REL-${PV}/${P}-doc.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="nls doc"
-
-DEPEND="sys-apps/texinfo
- nls? ( >=sys-devel/gettext-0.10.35 )"
-
-src_unpack() {
- unpack ${P}.tar.bz2
-}
-
-src_compile() {
- econf $(use_enable nls) || die
- emake || die "emake failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README THANKS TODO
- if use doc; then
- tar -zxf ${DISTDIR}/${P}-doc.tar.gz -C ${D}/usr/share/doc \
- || die 'documentation installation failed'
- fi
-}