Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current/.git;a=commitdiff;h=610be3f1d2d1bd165e14b40464c476e099193f61

commit 610be3f1d2d1bd165e14b40464c476e099193f61
Author: VMiklos <[EMAIL PROTECTED]>
Date:   Wed Aug 29 21:34:36 2007 +0200

linux32-1.0-2-x86_64
remove package, replaced by util-linux-ng

diff --git a/source/base/linux32/FrugalBuild b/source/base/linux32/FrugalBuild
deleted file mode 100644
index d4fea8b..0000000
--- a/source/base/linux32/FrugalBuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Compiling Time: 0.01 SBU
-# Maintainer: VMiklos <[EMAIL PROTECTED]>
-
-pkgname=linux32
-pkgver=1.0
-pkgrel=2
-pkgdesc="A small tool for the 32bit emulation in linux/x86-64."
-url="ftp://ftp.x86-64.org/pub/linux-x86_64/tools/linux32/";
-depends=('glibc')
-groups=('base')
-archs=('!i686' 'x86_64')
-up2date=$pkgver
-source=($url/{$pkgname.c,$pkgname.1,README})
-sha1sums=('83cc4f9150ddbfc57b3180d1f45547168d152316' \
-          '6813845a33846babfba0c18b91f1cd9a8954a4b9' \
-          'c6e120d0e508e7eb98e462be119332d085a793cb')
-
-build()
-{
-       make linux32 || return 1
-       Fexerel /usr/bin/linux32
-       Fln linux32 /usr/bin/linux64
-       Fman linux32.1
-       Fln linux32.1.gz /usr/man/man1/linux64.1.gz
-}
-
-# optimization OK
diff --git a/source/base/linux32/README b/source/base/linux32/README
deleted file mode 100644
index 6ddbe7e..0000000
--- a/source/base/linux32/README
+++ /dev/null
@@ -1,25 +0,0 @@
-
-This is a small tool for the 32bit emulation in linux/x86-64. It allows
-to execute programs that need an uname -m of i386 with uname emulation.
-
-Installation:
-
-gcc -o linux32 linux.c
-cp linux32 /usr/local/bin
-ln /usr/local/bin/linux32 /usr/local/bin/linux64
-
-Syntax:
-
-linux32 <program> [arguments...]
-
-Run program with uname -m = i386
-
-linux64 <program> [arguments...]
-
-Run program with uname -m = x86_64 (that's the default)
-
-The uname -m is inherited to all childs of programs, but doesn't affect
-the current shell or processes above it in the process hierarchy.
-Needs a fairly recent CVS kernel as of 2002-05-01.
-
--Andi Kleen
diff --git a/source/base/linux32/linux32.1 b/source/base/linux32/linux32.1
deleted file mode 100644
index 430edf6..0000000
--- a/source/base/linux32/linux32.1
+++ /dev/null
@@ -1,55 +0,0 @@
-.TH LINUX32 1 "May 2002" "SuSE Labs" "Linux User's Manual"
-.SH NAME
-linux32 \- Set i686 uname emulation processes.
-linux64 \- Reset uname emulation
-.SH SYNOPSIS
-.B linux32
-[
-.B \-\-3gb
-]
-[
-.B \-\-4gb
-]
-command arguments...
-.br
-.B linux64
-command arguments...
-.br
-.SH DESCRIPTION
-.I linux32
-changes the personality of command and all its children to
-return
-.I i686
-instead of
-.I x86_64
-in
-.I uname -a.
-This is useful to fool shell scripts or programs that check for the 
architecture
-explicitely into believing that they run on a true
-.I i686
-system.
-In addition it moves the top of stack of the 32bit child processes to
-.I 0xc0000000.
-This is useful to execute some broken applications that break when
-the stack top is at 4GB. On the other hand it limits the usable heap
-memory more than necessary.
-When
-.I --4gb
-is specified this is not done.
-
-.I linux64
-resets the uname personality to default.
-.SH SEE ALSO
-.I uname(1)
-
-.I uname(2)
-
-.I personality(2)
-
-
-
-
-
-
-
-
diff --git a/source/base/linux32/linux32.c b/source/base/linux32/linux32.c
deleted file mode 100644
index 03c665d..0000000
--- a/source/base/linux32/linux32.c
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * Copyright 2002 Andi Kleen, SuSE Labs.
- * This file is subject to the GNU General Public License v.2
- */
-#include <unistd.h>
-#include <sys/personality.h>
-#undef personality
-#include <string.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-
-/* Make --3gb the default for buggy Java */
-#define STUPID_DEFAULT 1
-
-#ifdef STUPID_DEFAULT
-#define DFL_PER PER_LINUX32_3GB
-#else
-#define DFL_PER PER_LINUX32
-#endif
-
-#define  ADDR_LIMIT_3GB        0x8000000
-#define  PER_LINUX32_3GB       (0x0008 | ADDR_LIMIT_3GB)
-
-int main(int ac, char **av)
-{
-       int pers = DFL_PER;
-       if (!av[1]) {
-               fprintf(stderr, "usage: %s [--3gb] [--4gb] program args ...\n", 
av[0]);
-#if DFL_PER == PER_LINUX32_3GB
-               fprintf(stderr, "Default is --3gb to limit the address space of 
the 32bit children to 3GB\n");
-#endif
-               exit(1);
-       }
-       if (!strcmp(av[0],"linux64")) pers= PER_LINUX;
-       else if (!strcmp(av[0],"linux32")) pers = DFL_PER;
-
-       if (!strcmp(av[1], "--3gb")) {
-               pers = PER_LINUX32_3GB;
-               av++;
-       }
-       if (!strcmp(av[1], "--4gb")) {
-               pers = PER_LINUX32;
-               av++;
-       }
-
-       if (personality(pers) < 0) {
-               fprintf(stderr, "Cannot set %x personality: %s\n", pers,
-                       strerror(errno));
-               exit(1);
-       }
-       execvp(av[1],av+1);
-       fprintf(stderr, "Cannot execute %s: %s\n", av[1], strerror(errno));
-       exit(1);
-}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to