delete packages now in portage
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2274 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
96b3892343
commit
a3f2a5c44e
@ -1,49 +0,0 @@
|
||||
# ChangeLog for app-admin/chrpath
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
04 Apr 2010; Mario Fetka <mario.fetka@gmail.com> chrpath-0.13-r1.ebuild,
|
||||
+files/chrpath-0.13-testsuite-1.patch:
|
||||
add testsuite fix
|
||||
|
||||
13 Apr 2009; Mario Fetka <mario.fetka@gmail.com> chrpath-0.13.ebuild,
|
||||
+chrpath-0.13-r1.ebuild:
|
||||
bump revision
|
||||
|
||||
09 Apr 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
Add multilib patch
|
||||
|
||||
23 Nov 2008; Patrick Lauer <patrick@gentoo.org> chrpath-0.13.ebuild:
|
||||
Homepage fix
|
||||
|
||||
11 May 2008; <solar@gentoo.org> chrpath-0.13.ebuild:
|
||||
- keyworded for ~arm
|
||||
|
||||
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
|
||||
Removing taviso from metadata.xml as per #202471. Assigning to
|
||||
maintainer-needed.
|
||||
|
||||
03 Jul 2007; Roy Marples <uberlord@gentoo.org> chrpath-0.13.ebuild:
|
||||
Added ~x86-fbsd keyword.
|
||||
|
||||
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
|
||||
Regenerate digest in Manifest2 format.
|
||||
|
||||
08 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
|
||||
Regenerate digest in Manifest2 format.
|
||||
|
||||
01 May 2005; Michael Hanselmann <hansmi@gentoo.org> chrpath-0.13.ebuild:
|
||||
Stable on ppc.
|
||||
|
||||
23 Apr 2005; Stephanie Lockwood-Childs <wormo@gentoo.org>
|
||||
chrpath-0.13.ebuild:
|
||||
added ~ppc
|
||||
|
||||
*chrpath-0.13 (10 Feb 2005)
|
||||
|
||||
10 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org> chrpath-0.13.ebuild:
|
||||
Added amd64 to KEYWORDS.
|
||||
|
||||
05 Feb 2005; Tavis Ormandy <taviso@gentoo.org> +metadata.xml:
|
||||
initial import
|
||||
|
@ -1,8 +0,0 @@
|
||||
AUX chrpath-0.13-testsuite-1.patch 575 RMD160 0cf149b5798f3f0fd15ea98f89700feee2104cea SHA1 3683b4e6ef4219fd815367d2a638c4ab646a7188 SHA256 f780b05ce1bc8b77012bb81dabdbd9ef7487643e767c734275f5d8f915355dd4
|
||||
AUX chrpath-keepgoing.patch 1041 RMD160 9c454d96245d434b69db0b176a792f50eb882429 SHA1 a213403888ca21aa7730b4957b8f9f7e6c4b05b6 SHA256 6c45aa896835cea3df7b0edcadea2171e8e5833b4d40c99babab15b5648d219a
|
||||
AUX chrpath-multilib.patch 3549 RMD160 1ebe77532319fd4877fbea019b519b4b78cb1427 SHA1 2a1189a4e7743b3707de929bacc162c73ac0549d SHA256 36241db7e559ed8cfa0d239d63d17e4c33d63d58a10981f18dfa6e7c2004aac7
|
||||
DIST chrpath-0.13.tar.gz 125129 RMD160 89b91919e3f629173388f10469dc94fadd46aa56 SHA1 11ff3e3dda2acaf1e529475f394f74f2ef7a8204 SHA256 c1aa5342eac0daad81b8da05aa282ae1ccd6f68bc75ca94064304f541eed071b
|
||||
EBUILD chrpath-0.13-r1.ebuild 647 RMD160 c14a1187da59a7839088996f0eb45104e5489199 SHA1 f8c33716bb8c8b04f72ce406cf25cfa84d21123f SHA256 27748663781b91e69ec703c572ce4b11f1531a24faeb44c5d9dfb9f1c8df8bdb
|
||||
EBUILD chrpath-0.13.ebuild 595 RMD160 c029bf674920979c26ab311c1beea6037251a443 SHA1 a93326ef0f7fb19c7ace53d24fbac9534165a6e7 SHA256 3369fcdcde879d118f51b17f8a2e9365da7dd0d855381358134d5421d951c388
|
||||
MISC ChangeLog 1486 RMD160 62dbf22e800ca4b85d6513fffb439aa5628238c4 SHA1 d4fc9db56a975426366e18b20335fe0923f17c4e SHA256 3775d0bae7cc0ec7d495920c1fbd357c96e085faa85a9fb8b68fd1b319811280
|
||||
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="chrpath can modify the rpath and runpath of ELF executables"
|
||||
HOMEPAGE="http://directory.fsf.org/project/chrpath/"
|
||||
SRC_URI="ftp://ftp.hungry.com/pub/hungry/chrpath/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/chrpath-multilib.patch
|
||||
epatch "${FILESDIR}"/chrpath-keepgoing.patch
|
||||
epatch "${FILESDIR}"/chrpath-0.13-testsuite-1.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "install failed"
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13.ebuild,v 1.10 2008/11/23 18:05:16 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="chrpath can modify the rpath and runpath of ELF executables"
|
||||
HOMEPAGE="http://directory.fsf.org/project/chrpath/"
|
||||
SRC_URI="ftp://ftp.hungry.com/pub/hungry/chrpath/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
dobin chrpath || die
|
||||
doman chrpath.1
|
||||
dodoc ChangeLog AUTHORS NEWS README
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||
Date: 2010-04-04
|
||||
Initial Package Version: 0.13
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: make the testsuite run with the new mltilib design
|
||||
|
||||
diff -Naur chrpath-0.13.orig/testsuite/runtest.sh chrpath-0.13/testsuite/runtest.sh
|
||||
--- chrpath-0.13.orig/testsuite/runtest.sh 2010-04-04 09:02:21.859114159 +0000
|
||||
+++ chrpath-0.13/testsuite/runtest.sh 2010-04-04 09:42:08.762112560 +0000
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
set -x
|
||||
|
||||
+export LD_LIBRARY_PATH=$PWD/../.libs:$LD_LIBRARY_PATH
|
||||
+
|
||||
CHRPATH=../chrpath
|
||||
|
||||
retval=0
|
@ -1,20 +0,0 @@
|
||||
--- chrpath-0.13/main.c.orig 2006-02-27 20:21:06.000000000 +0100
|
||||
+++ chrpath-0.13/main.c 2006-02-27 21:07:16.027641500 +0100
|
||||
@@ -57,6 +57,7 @@
|
||||
printf(" -r <path>|--replace <path> Replace current rpath/runpath setting\n");
|
||||
printf(" with the path given\n");
|
||||
printf(" -l|--list List the current rpath/runpath (default)\n");
|
||||
+ printf(" -k|--keepgoing Continue as much as possible after an error.\n");
|
||||
printf(" -h|--help Show this usage information.\n");
|
||||
#ifndef HAVE_GETOPT_LONG
|
||||
printf("\n *** The long options are not available on this platform");
|
||||
--- chrpath-0.13/chrpath.1.orig 2004-09-19 10:35:44.000000000 +0200
|
||||
+++ chrpath-0.13/chrpath.1 2006-02-28 10:06:28.187060500 +0100
|
||||
@@ -22,6 +22,7 @@
|
||||
[ \fB-r\fP \fI<path>\fP |\ \fB--replace\fP \fI<path>\fP ]
|
||||
[ \fB-c\fP | \fB--convert\fP ]
|
||||
[ \fB-l\fP | \fB--list\fP ]
|
||||
+[ \fB-k\fP | \fB--keepgoing\fP ]
|
||||
[ \fB-h\fP | \fB--help\fP ]
|
||||
\fI<program>\fP [ \fI<program>\fP ... ]
|
||||
.SH DESCRIPTION
|
@ -1,141 +0,0 @@
|
||||
--- a/configure.ac 2004-09-19 10:28:33.000000000 +0200
|
||||
+++ b/configure.ac 2006-02-27 16:12:00.282066250 +0100
|
||||
@@ -16,6 +16,7 @@
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
+AC_PROG_LIBTOOL
|
||||
|
||||
dnl Checks for libraries.
|
||||
|
||||
@@ -26,7 +27,6 @@
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_C_BIGENDIAN
|
||||
-AC_CHECK_SIZEOF(void *)
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_CHECK_FUNCS(getopt_long)
|
||||
--- a/Makefile.am 2004-09-19 10:29:28.000000000 +0200
|
||||
+++ b/Makefile.am 2006-02-27 16:57:31.166290750 +0100
|
||||
@@ -12,12 +12,19 @@
|
||||
fakeroot debian/rules binary
|
||||
|
||||
chrpath_SOURCES = \
|
||||
- chrpath.c \
|
||||
- killrpath.c \
|
||||
main.c \
|
||||
- elf.c \
|
||||
protos.h
|
||||
|
||||
+chrpath_LDADD = -ldl
|
||||
+
|
||||
+lib_LTLIBRARIES = libchrpath32.la libchrpath64.la
|
||||
+libchrpath32_la_SOURCES = chrpath.c killrpath.c elf.c protos.h
|
||||
+libchrpath32_la_CFLAGS = -DSIZEOF_VOID_P=4
|
||||
+libchrpath32_la_LDFLAGS = -avoid-version
|
||||
+libchrpath64_la_SOURCES = chrpath.c killrpath.c elf.c protos.h
|
||||
+libchrpath64_la_CFLAGS = -DSIZEOF_VOID_P=8
|
||||
+libchrpath64_la_LDFLAGS = -avoid-version
|
||||
+
|
||||
EXTRA_DIST = ChangeLog.usermap $(man_MANS)
|
||||
|
||||
CLEANFILES = *.bb *.bbg *.da *.gcov testsuite/*.bb testsuite/*.bbg
|
||||
--- a/main.c 2004-09-19 10:33:37.000000000 +0200
|
||||
+++ b/main.c 2006-02-27 17:23:39.400267750 +0100
|
||||
@@ -12,13 +12,19 @@
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
+#include <dlfcn.h>
|
||||
+#include <elf.h>
|
||||
+#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_GETOPT_H
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
-#include "protos.h"
|
||||
+
|
||||
+typedef int (*killrpath_t)(const char *filename);
|
||||
+typedef int (*chrpath_t)(const char *filename, const char *newpath, int convert);
|
||||
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
# define GETOPT_LONG getopt_long
|
||||
@@ -61,6 +67,30 @@
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
+static unsigned
|
||||
+elf_class(const char *filename)
|
||||
+{
|
||||
+ Elf32_Ehdr ehdr;
|
||||
+ int fd;
|
||||
+
|
||||
+ fd = open(filename, O_RDONLY);
|
||||
+ if (fd == -1)
|
||||
+ return 0;
|
||||
+ if (read(fd, &ehdr, sizeof(ehdr)) != sizeof(ehdr))
|
||||
+ {
|
||||
+ close(fd);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ close(fd);
|
||||
+ if ((memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0)
|
||||
+ || (ehdr.e_ident[EI_VERSION] != EV_CURRENT))
|
||||
+ {
|
||||
+ fprintf(stderr, "`%s' probably isn't an ELF file.\n", filename);
|
||||
+ return 0;
|
||||
+ }
|
||||
+ return ehdr.e_ident[EI_CLASS];
|
||||
+}
|
||||
+
|
||||
int
|
||||
main(int argc, char * const argv[])
|
||||
{
|
||||
@@ -73,6 +103,9 @@
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
int option_index = 0;
|
||||
#endif /* HAVE_GETOPT_LONG */
|
||||
+ void* dll[2];
|
||||
+ killrpath_t killrpath[2];
|
||||
+ chrpath_t chrpath[2];
|
||||
|
||||
if (argc < 2)
|
||||
{
|
||||
@@ -116,14 +149,31 @@
|
||||
}
|
||||
} while (-1 != opt);
|
||||
|
||||
+ dll[0] = dlopen("libchrpath32.so", RTLD_LAZY);
|
||||
+ killrpath[0] = (killrpath_t)dlsym(dll[0], "killrpath");
|
||||
+ chrpath[0] = (chrpath_t)dlsym(dll[0], "chrpath");
|
||||
+
|
||||
+ dll[1] = dlopen("libchrpath64.so", RTLD_LAZY);
|
||||
+ killrpath[1] = (killrpath_t)dlsym(dll[1], "killrpath");
|
||||
+ chrpath[1] = (chrpath_t)dlsym(dll[1], "chrpath");
|
||||
+
|
||||
while (optind < argc && (!retval || keep_going))
|
||||
{
|
||||
+ const char* program = argv[optind++];
|
||||
+ unsigned eclass = elf_class(program);
|
||||
+ if (!eclass)
|
||||
+ {
|
||||
+ retval = 1;
|
||||
+ continue;
|
||||
+ }
|
||||
if (remove)
|
||||
- retval |= killrpath(argv[optind++]);
|
||||
+ retval |= killrpath[eclass - ELFCLASS32](program);
|
||||
else
|
||||
/* list by default, replace if path is set */
|
||||
- retval |= chrpath(argv[optind++], newpath, convert);
|
||||
+ retval |= chrpath[eclass - ELFCLASS32](program, newpath, convert);
|
||||
}
|
||||
|
||||
+ dlclose(dll[0]);
|
||||
+ dlclose(dll[1]);
|
||||
return retval;
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user