klibc: remove, it's unmaintained and I don't care about it.
--HG-- extra : convert_revision : 71536e891a71e4c3a4415c2fe16aac16e98b8a80
This commit is contained in:
parent
c4d0599f30
commit
88f7fbdd37
10 changed files with 0 additions and 118 deletions
|
@ -1 +0,0 @@
|
||||||
klibc
|
|
|
@ -1 +0,0 @@
|
||||||
klibc
|
|
|
@ -1,2 +0,0 @@
|
||||||
abi_depends=">=1.5.14"
|
|
||||||
api_depends="${abi_depends}"
|
|
|
@ -1,21 +0,0 @@
|
||||||
# Template file for 'klibc-devel'.
|
|
||||||
#
|
|
||||||
short_desc="${short_desc} (development files)"
|
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
Add_dependency run klibc
|
|
||||||
Add_dependency run perl
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/usr/lib/klibc
|
|
||||||
mkdir -p ${DESTDIR}/usr/share/man/man1
|
|
||||||
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/klibc/include ${DESTDIR}/usr/lib/klibc
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/klibc/lib ${DESTDIR}/usr/lib/klibc
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/man/man1/klcc.1 ${DESTDIR}/usr/share/man/man1
|
|
||||||
rm -rf ${SRCPKGDESTDIR}/usr/man
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
# Template file for 'klibc-utils'.
|
|
||||||
#
|
|
||||||
short_desc="${short_desc} (binary utilities)"
|
|
||||||
long_desc="${long_desc}
|
|
||||||
|
|
||||||
This package contains the binary programs built with klibc
|
|
||||||
for use on the initramfs."
|
|
||||||
|
|
||||||
Add_dependency run klibc
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/usr/lib/klibc
|
|
||||||
rm -f ${SRCPKGDESTDIR}/usr/lib/klibc/bin/kinit
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/klibc/bin/kinit.shared \
|
|
||||||
${SRCPKGDESTDIR}/usr/lib/klibc/bin/kinit
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/klibc/bin/sh.shared \
|
|
||||||
${SRCPKGDESTDIR}/usr/lib/klibc/bin/sh
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/klibc/bin ${DESTDIR}/usr/lib/klibc
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- scripts/Kbuild.klibc.orig 2009-10-16 02:56:59.000000000 +0200
|
|
||||||
+++ scripts/Kbuild.klibc 2009-10-16 02:57:45.000000000 +0200
|
|
||||||
@@ -104,6 +104,7 @@ KLIBCCPPFLAGS := -nostdinc -iwithpref
|
|
||||||
# kernel include paths
|
|
||||||
KLIBCKERNELSRC ?= $(srctree)/
|
|
||||||
KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)include \
|
|
||||||
+ -I$(KLIBCKERNELSRC)arch/x86/include \
|
|
||||||
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)include2 -I$(KLIBCKERNELOBJ)include -I$(srctree)/include) \
|
|
||||||
$(KLIBCARCHINCFLAGS)
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- usr/include/arch/i386/klibc/archsignal.h.orig 2009-10-16 02:58:39.000000000 +0200
|
|
||||||
+++ usr/include/arch/i386/klibc/archsignal.h 2009-10-16 02:58:52.000000000 +0200
|
|
||||||
@@ -96,7 +96,7 @@ typedef struct {
|
|
||||||
#define MINSIGSTKSZ 2048
|
|
||||||
#define SIGSTKSZ 8192
|
|
||||||
|
|
||||||
-#include <asm-generic/signal.h>
|
|
||||||
+#include <asm-generic/signal-defs.h>
|
|
||||||
|
|
||||||
/* This uses gcc anonymous union support... */
|
|
||||||
struct siginfo;
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- usr/kinit/nfsmount/mount.c.orig 2009-10-16 02:59:38.000000000 +0200
|
|
||||||
+++ usr/kinit/nfsmount/mount.c 2009-10-16 03:00:08.000000000 +0200
|
|
||||||
@@ -44,6 +44,11 @@ struct mount_reply {
|
|
||||||
|
|
||||||
#define MNT_REPLY_MINSIZE (sizeof(struct rpc_reply) + sizeof(uint32_t))
|
|
||||||
|
|
||||||
+#ifndef MNTPROC_MNT
|
|
||||||
+# define MNTPROC_MNT 1
|
|
||||||
+# define MNTPROC_UMNT 3
|
|
||||||
+#endif /* MNTPROC_MNT */
|
|
||||||
+
|
|
||||||
static int get_ports(uint32_t server, const struct nfs_mount_data *data)
|
|
||||||
{
|
|
||||||
uint32_t nfs_ver, mount_ver;
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- klcc/klcc.in.orig 2009-03-04 17:26:30.843743825 +0100
|
|
||||||
+++ klcc/klcc.in 2009-03-04 17:26:54.649413394 +0100
|
|
||||||
@@ -113,7 +113,7 @@ undef $lang;
|
|
||||||
|
|
||||||
$save_temps = 0; # The -save-temps option
|
|
||||||
$verbose = 0; # The -v option
|
|
||||||
-$shared = 0; # Are we compiling shared?
|
|
||||||
+$shared = 1; # Are we compiling shared?
|
|
||||||
$debugging = 0; # -g or -p option present?
|
|
||||||
$strip = 0; # -s option present?
|
|
||||||
undef $output; # -o option present?
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Template file for 'klibc'
|
|
||||||
pkgname=klibc
|
|
||||||
version=1.5.15
|
|
||||||
distfiles="${KERNEL_SITE}/libs/klibc/Testing/klibc-$version.tar.bz2"
|
|
||||||
build_style=gnu_makefile
|
|
||||||
make_install_target="INSTALLROOT=$XBPS_DESTDIR/$pkgname-$version install"
|
|
||||||
short_desc="Minimal libc subset for use with initramfs"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
||||||
checksum=8b5334ef88b075f374b031695181b4302c3e5621bf2737a39fdf28262b0f80f4
|
|
||||||
long_desc="
|
|
||||||
klibc is intended to be a minimalistic libc subset for use with initramfs.
|
|
||||||
It is deliberately written for small size, minimal entanglement, and
|
|
||||||
portability, not speed. It is definitely a work in progress and a lot of
|
|
||||||
things are still missing."
|
|
||||||
|
|
||||||
subpackages="$pkgname-devel $pkgname-utils"
|
|
||||||
Add_dependency build kernel
|
|
||||||
Add_dependency build bison
|
|
||||||
Add_dependency build perl
|
|
||||||
|
|
||||||
pre_build()
|
|
||||||
{
|
|
||||||
local kver="$(${XBPS_PKGDB_CMD} version kernel-headers)"
|
|
||||||
|
|
||||||
cd $wrksrc || return 1
|
|
||||||
ln -s /usr/src/kernel-headers-$kver linux
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue