Minto van der Sluis
18 years ago
114 changed files with 1363 additions and 1164 deletions
@ -0,0 +1,39 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../busybox/dietlibc.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./shell/ash.c.orig 2007-07-17 11:01:59.000000000 -0400
|
||||
+++ ./shell/ash.c 2007-07-17 11:02:57.000000000 -0400
|
||||
@@ -66,6 +66,9 @@
|
||||
#error "Do not even bother, ash will not run on uClinux"
|
||||
#endif
|
||||
|
||||
+#ifdef __dietlibc__
|
||||
+#define dprintf fdprintf
|
||||
+#endif
|
||||
|
||||
/* ============ Misc helpers */
|
||||
|
||||
--- ./libbb/pw_encrypt.c.orig 2007-07-21 19:35:23.000000000 -0400
|
||||
+++ ./libbb/pw_encrypt.c 2007-07-21 19:35:36.000000000 -0400
|
||||
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "libbb.h"
|
||||
-#include <crypt.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
char *pw_encrypt(const char *clear, const char *salt)
|
||||
{
|
@ -0,0 +1,21 @@
|
||||
|
||||
[TIMESTAMP] 1187216752 Wed Aug 15 18:25:52 2007 |
||||
[BUILDTIME] 100 (9) |
||||
[SIZE] 0.04 MB, 7 files |
||||
|
||||
[DEP] 00-dirtree |
||||
[DEP] bash |
||||
[DEP] binutils |
||||
[DEP] bzip2 |
||||
[DEP] coreutils |
||||
[DEP] diffutils |
||||
[DEP] findutils |
||||
[DEP] gawk |
||||
[DEP] gcc |
||||
[DEP] glibc |
||||
[DEP] grep |
||||
[DEP] linux-header |
||||
[DEP] make |
||||
[DEP] sed |
||||
[DEP] sysfiles |
||||
[DEP] tar |
@ -0,0 +1,35 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../ddrescue/ddrescue.desc |
||||
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
[COPY] |
||||
[COPY] More information can be found in the files COPYING and README. |
||||
[COPY] |
||||
[COPY] This program is free software; you can redistribute it and/or modify |
||||
[COPY] it under the terms of the GNU General Public License as published by |
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
[COPY] GNU General Public License can be found in the file COPYING. |
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
[I] A block copier, which ignores errors |
||||
|
||||
[T] Dd_rescue copies data from one file or block device to another. It is |
||||
[T] intended for error recovery, so, by default, it doesn't abort on errors, |
||||
[T] and doesn't truncate the output file. It uses large block sizes to |
||||
[T] quicken the copying, but falls back to small blocks upon encountering |
||||
[T] errors. It produces reports that allow you to keep track of bad blocks. |
||||
|
||||
[U] http://www.garloff.de/kurt/linux/ddrescue/ |
||||
|
||||
[A] Kurt Garloff <kurt@garloff.de> |
||||
[M] Alejandro Mery <amery@opensde.org> |
||||
|
||||
[C] extra/tool |
||||
|
||||
[L] GPL |
||||
[S] Stable |
||||
[V] 1.13 |
||||
[P] X -----5---9 800.000 |
||||
|
||||
[D] 1485625184 dd_rescue-1.13.tar.gz http://www.garloff.de/kurt/linux/ddrescue/ |
@ -0,0 +1,18 @@
|
||||
|
||||
[TIMESTAMP] 1187218415 Wed Aug 15 18:53:35 2007 |
||||
[BUILDTIME] 100 (9) |
||||
[SIZE] 0.05 MB, 8 files |
||||
|
||||
[DEP] 00-dirtree |
||||
[DEP] bash |
||||
[DEP] bzip2 |
||||
[DEP] coreutils |
||||
[DEP] diffutils |
||||
[DEP] findutils |
||||
[DEP] gawk |
||||
[DEP] gcc |
||||
[DEP] glibc |
||||
[DEP] grep |
||||
[DEP] sed |
||||
[DEP] sysfiles |
||||
[DEP] tar |
@ -0,0 +1,18 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../dd_rhelp/dd_rhelp.conf |
||||
# Copyright (C) 2007 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This program is free software; you can redistribute it and/or modify |
||||
# it under the terms of the GNU General Public License as published by |
||||
# the Free Software Foundation; version 2 of the License. A copy of the |
||||
# GNU General Public License can be found in the file COPYING. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
makeopt= |
||||
makeinstopt= |
||||
|
||||
hook_add postmake 5 'cp -vf dd_rhelp $root$bindir/' |
@ -0,0 +1,38 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../dd_rhelp/dd_rhelp.desc |
||||
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
[COPY] |
||||
[COPY] More information can be found in the files COPYING and README. |
||||
[COPY] |
||||
[COPY] This program is free software; you can redistribute it and/or modify |
||||
[COPY] it under the terms of the GNU General Public License as published by |
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
[COPY] GNU General Public License can be found in the file COPYING. |
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
[I] A quick and easy data recovery manager |
||||
|
||||
[T] Dd_rhelp allows users to retrieve, quickly and easily, recoverable data |
||||
[T] from any device with bad sectors. It will copy it using dd_rescue in |
||||
[T] all the appropriate ways (reverse copy, setting start and stop offset |
||||
[T] accordingly to previously rescued data) to recover the maximum data |
||||
[T] possible before spending time on bad sectors. It is straightforward |
||||
[T] to use, supports ctrl-c at anytime, can resume a job (or standalone |
||||
[T] dd_rescue job) by parsing the dd_rescue logs, and displays a nice ASCII |
||||
[T] bar showing rescue progress. |
||||
|
||||
[U] http://www.kalysto.org/utilities/dd_rhelp/ |
||||
|
||||
[A] LAB Valentin <vaab@chez.com> |
||||
[M] Alejandro Mery <amery@opensde.org> |
||||
|
||||
[C] extra/tool |
||||
|
||||
[L] GPL |
||||
[S] Stable |
||||
[V] 0.1.1 |
||||
[P] X -----5---9 800.000 |
||||
|
||||
[D] 2730682768 dd_rhelp-0.1.1.tar.gz http://www.kalysto.org/pkg/ |
@ -0,0 +1,22 @@
|
||||
|
||||
[TIMESTAMP] 1187219923 Wed Aug 15 19:18:43 2007 |
||||
[BUILDTIME] 100 (9) |
||||
[SIZE] 0.08 MB, 9 files |
||||
|
||||
[DEP] 00-dirtree |
||||
[DEP] bash |
||||
[DEP] binutils |
||||
[DEP] bzip2 |
||||
[DEP] coreutils |
||||
[DEP] diffutils |
||||
[DEP] findutils |
||||
[DEP] gawk |
||||
[DEP] gcc |
||||
[DEP] glibc |
||||
[DEP] grep |
||||
[DEP] linux-header |
||||
[DEP] make |
||||
[DEP] sed |
||||
[DEP] sysfiles |
||||
[DEP] tar |
||||
[DEP] texinfo |
@ -0,0 +1,15 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../ddrescue/ddrescue.conf |
||||
# Copyright (C) 2007 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This program is free software; you can redistribute it and/or modify |
||||
# it under the terms of the GNU General Public License as published by |
||||
# the Free Software Foundation; version 2 of the License. A copy of the |
||||
# GNU General Public License can be found in the file COPYING. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
var_remove confopt ' ' '--disable-debug' |
@ -0,0 +1,40 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../ddrescue/ddrescue.desc |
||||
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
[COPY] |
||||
[COPY] More information can be found in the files COPYING and README. |
||||
[COPY] |
||||
[COPY] This program is free software; you can redistribute it and/or modify |
||||
[COPY] it under the terms of the GNU General Public License as published by |
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
[COPY] GNU General Public License can be found in the file COPYING. |
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
[I] A data recovery tool |
||||
|
||||
[T] GNU ddrescue is a data recovery tool. It copies data from one file or |
||||
[T] block device (hard disc, cdrom, etc) to another, trying hard to rescue |
||||
[T] data in case of read errors. GNU ddrescue does not truncate the output |
||||
[T] file if not asked to. So, every time you run it on the same output file, |
||||
[T] it tries to fill in the gaps. The basic operation of GNU ddrescue is |
||||
[T] fully automatic. That is, you don't have to wait for an error, stop |
||||
[T] the program, read the log, run it in reverse mode, etc. If you use the |
||||
[T] logfile feature of GNU ddrescue, the data is rescued very efficiently |
||||
[T] (only the needed blocks are read). Also you can interrupt the rescue at |
||||
[T] any time and resume it later at the same point. |
||||
|
||||
[U] http://www.gnu.org/software/ddrescue/ddrescue.html |
||||
|
||||
[A] Antonio Diaz Diaz <ant_diaz@teleline.es> |
||||
[M] Alejandro Mery <amery@opensde.org> |
||||
|
||||
[C] extra/tool |
||||
|
||||
[L] GPL |
||||
[S] Stable |
||||
[V] 1.5 |
||||
[P] X -----5---9 800.000 |
||||
|
||||
[D] 2141959318 ddrescue-1.5.tar.bz2 http://ftp.gnu.org/gnu/ddrescue/ |
@ -0,0 +1,26 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../device-mapper/dietlibc.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./dmsetup/dmsetup.c.orig 2007-08-15 16:01:23.000000000 -0400
|
||||
+++ ./dmsetup/dmsetup.c 2007-08-15 16:01:45.000000000 -0400
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <locale.h>
|
||||
#include <langinfo.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
@ -1,531 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/libm-i386.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
diff -ur dietlibc-0.30/libm/fpmacros.c dietlibc-0.30-libm-i386/libm/fpmacros.c
|
||||
--- dietlibc-0.30/libm/fpmacros.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/fpmacros.c 2006-06-28 19:51:31.000000000 +0200
|
||||
@@ -20,6 +20,8 @@
|
||||
**
|
||||
***********************************************************************/
|
||||
|
||||
+#if ! defined (__i386__) && ! defined (__x86_64__)
|
||||
+
|
||||
#include <features.h>
|
||||
#define _GNU_SOURCE
|
||||
#include <sys/types.h>
|
||||
@@ -289,3 +291,4 @@
|
||||
weak_alias (__isnanl, isnanl);
|
||||
#endif
|
||||
|
||||
+#endif
|
||||
diff -ur dietlibc-0.30/libm/s_asinh.c dietlibc-0.30-libm-i386/libm/s_asinh.c
|
||||
--- dietlibc-0.30/libm/s_asinh.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_asinh.c 2006-06-28 20:03:38.000000000 +0200
|
||||
@@ -38,9 +38,9 @@
|
||||
huge= 1.00000000000000000000e+300;
|
||||
|
||||
#ifdef __STDC__
|
||||
- double asinh(double x)
|
||||
+ double __asinh(double x)
|
||||
#else
|
||||
- double asinh(x)
|
||||
+ double __asinh(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -63,3 +63,4 @@
|
||||
}
|
||||
if(hx>0) return w; else return -w;
|
||||
}
|
||||
+weak_alias (__asinh, asinh)
|
||||
diff -ur dietlibc-0.30/libm/s_atan.c dietlibc-0.30-libm-i386/libm/s_atan.c
|
||||
--- dietlibc-0.30/libm/s_atan.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_atan.c 2006-06-28 20:10:26.000000000 +0200
|
||||
@@ -86,9 +86,9 @@
|
||||
huge = 1.0e300;
|
||||
|
||||
#ifdef __STDC__
|
||||
- double atan(double x)
|
||||
+ double __atan(double x)
|
||||
#else
|
||||
- double atan(x)
|
||||
+ double __atan(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -137,3 +137,4 @@
|
||||
return (hx<0)? -z:z;
|
||||
}
|
||||
}
|
||||
+weak_alias (__atan, atan)
|
||||
diff -ur dietlibc-0.30/libm/s_cbrt.c dietlibc-0.30-libm-i386/libm/s_cbrt.c
|
||||
--- dietlibc-0.30/libm/s_cbrt.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_cbrt.c 2006-06-28 20:05:18.000000000 +0200
|
||||
@@ -40,9 +40,9 @@
|
||||
G = 3.57142857142857150787e-01; /* 5/14 = 0x3FD6DB6D, 0xB6DB6DB7 */
|
||||
|
||||
#ifdef __STDC__
|
||||
- double cbrt(double x)
|
||||
+ double __cbrt(double x)
|
||||
#else
|
||||
- double cbrt(x)
|
||||
+ double __cbrt(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -91,3 +91,4 @@
|
||||
SET_HIGH_WORD(t,high|sign);
|
||||
return(t);
|
||||
}
|
||||
+weak_alias (__cbrt, cbrt)
|
||||
diff -ur dietlibc-0.30/libm/s_copysign.c dietlibc-0.30-libm-i386/libm/s_copysign.c
|
||||
--- dietlibc-0.30/libm/s_copysign.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_copysign.c 2006-06-28 20:01:55.000000000 +0200
|
||||
@@ -24,9 +24,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double copysign(double x, double y)
|
||||
+ double __copysign(double x, double y)
|
||||
#else
|
||||
- double copysign(x,y)
|
||||
+ double __copysign(x,y)
|
||||
double x,y;
|
||||
#endif
|
||||
{
|
||||
@@ -36,4 +36,4 @@
|
||||
SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
|
||||
return x;
|
||||
}
|
||||
-
|
||||
+weak_alias(__copysign, copysign)
|
||||
diff -ur dietlibc-0.30/libm/s_cos.c dietlibc-0.30-libm-i386/libm/s_cos.c
|
||||
--- dietlibc-0.30/libm/s_cos.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_cos.c 2006-06-28 20:10:03.000000000 +0200
|
||||
@@ -49,9 +49,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double cos(double x)
|
||||
+ double __cos(double x)
|
||||
#else
|
||||
- double cos(x)
|
||||
+ double __cos(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -80,3 +80,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+weak_alias (__cos, cos)
|
||||
diff -ur dietlibc-0.30/libm/s_expm1.c dietlibc-0.30-libm-i386/libm/s_expm1.c
|
||||
--- dietlibc-0.30/libm/s_expm1.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_expm1.c 2006-06-28 20:04:13.000000000 +0200
|
||||
@@ -132,9 +132,9 @@
|
||||
Q5 = -2.01099218183624371326e-07; /* BE8AFDB7 6E09C32D */
|
||||
|
||||
#ifdef __STDC__
|
||||
- double expm1(double x)
|
||||
+ double __expm1(double x)
|
||||
#else
|
||||
- double expm1(x)
|
||||
+ double __expm1(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -227,3 +227,4 @@
|
||||
}
|
||||
return y;
|
||||
}
|
||||
+weak_alias (__expm1, expm1)
|
||||
diff -ur dietlibc-0.30/libm/s_fabs.c dietlibc-0.30-libm-i386/libm/s_fabs.c
|
||||
--- dietlibc-0.30/libm/s_fabs.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_fabs.c 2006-06-28 20:09:37.000000000 +0200
|
||||
@@ -22,9 +22,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double fabs(double x)
|
||||
+ double __fabs(double x)
|
||||
#else
|
||||
- double fabs(x)
|
||||
+ double __fabs(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -33,3 +33,4 @@
|
||||
SET_HIGH_WORD(x,high&0x7fffffff);
|
||||
return x;
|
||||
}
|
||||
+weak_alias (__fabs, fabs)
|
||||
diff -ur dietlibc-0.30/libm/s_floor.c dietlibc-0.30-libm-i386/libm/s_floor.c
|
||||
--- dietlibc-0.30/libm/s_floor.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_floor.c 2006-06-28 20:09:19.000000000 +0200
|
||||
@@ -33,9 +33,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
- double floor(double x)
|
||||
+ double __floor(double x)
|
||||
#else
|
||||
- double floor(x)
|
||||
+ double __floor(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -79,3 +79,4 @@
|
||||
INSERT_WORDS(x,i0,i1);
|
||||
return x;
|
||||
}
|
||||
+weak_alias (__floor, floor)
|
||||
diff -ur dietlibc-0.30/libm/s_ilogb.c dietlibc-0.30-libm-i386/libm/s_ilogb.c
|
||||
--- dietlibc-0.30/libm/s_ilogb.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_ilogb.c 2006-06-28 19:58:36.000000000 +0200
|
||||
@@ -24,9 +24,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- int ilogb(double x)
|
||||
+ int __ilogb(double x)
|
||||
#else
|
||||
- int ilogb(x)
|
||||
+ int __ilogb(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -49,3 +49,4 @@
|
||||
else if (hx<0x7ff00000) return (hx>>20)-1023;
|
||||
else return 0x7fffffff;
|
||||
}
|
||||
+weak_alias (__ilogb, ilogb)
|
||||
diff -ur dietlibc-0.30/libm/s_ldexp.c dietlibc-0.30-libm-i386/libm/s_ldexp.c
|
||||
--- dietlibc-0.30/libm/s_ldexp.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_ldexp.c 2006-06-28 20:06:45.000000000 +0200
|
||||
@@ -19,9 +19,9 @@
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __STDC__
|
||||
- double ldexp(double value, int exp)
|
||||
+ double __ldexp(double value, int exp)
|
||||
#else
|
||||
- double ldexp(value, exp)
|
||||
+ double __ldexp(value, exp)
|
||||
double value; int exp;
|
||||
#endif
|
||||
{
|
||||
@@ -30,3 +30,4 @@
|
||||
if(!finite(value)||value==0.0) errno = ERANGE;
|
||||
return value;
|
||||
}
|
||||
+weak_alias (__ldexp, ldexp)
|
||||
diff -ur dietlibc-0.30/libm/s_log1p.c dietlibc-0.30-libm-i386/libm/s_log1p.c
|
||||
--- dietlibc-0.30/libm/s_log1p.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_log1p.c 2006-06-28 20:06:16.000000000 +0200
|
||||
@@ -105,9 +105,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef __STDC__
|
||||
- double log1p(double x)
|
||||
+ double __log1p(double x)
|
||||
#else
|
||||
- double log1p(x)
|
||||
+ double __log1p(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -172,3 +172,4 @@
|
||||
if(k==0) return f-(hfsq-s*(hfsq+R)); else
|
||||
return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
|
||||
}
|
||||
+weak_alias (__log1p, log1p)
|
||||
diff -ur dietlibc-0.30/libm/s_logb.c dietlibc-0.30-libm-i386/libm/s_logb.c
|
||||
--- dietlibc-0.30/libm/s_logb.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_logb.c 2006-06-28 19:59:16.000000000 +0200
|
||||
@@ -24,9 +24,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double logb(double x)
|
||||
+ double __logb(double x)
|
||||
#else
|
||||
- double logb(x)
|
||||
+ double __logb(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -40,3 +40,4 @@
|
||||
else
|
||||
return (double) (ix-1023);
|
||||
}
|
||||
+weak_alias (__logb, logb)
|
||||
diff -ur dietlibc-0.30/libm/s_sin.c dietlibc-0.30-libm-i386/libm/s_sin.c
|
||||
--- dietlibc-0.30/libm/s_sin.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_sin.c 2006-06-28 20:07:36.000000000 +0200
|
||||
@@ -49,9 +49,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double sin(double x)
|
||||
+ double __sin(double x)
|
||||
#else
|
||||
- double sin(x)
|
||||
+ double __sin(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -80,3 +80,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+weak_alias (__sin, sin)
|
||||
diff -ur dietlibc-0.30/libm/s_tan.c dietlibc-0.30-libm-i386/libm/s_tan.c
|
||||
--- dietlibc-0.30/libm/s_tan.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/s_tan.c 2006-06-28 19:57:55.000000000 +0200
|
||||
@@ -48,9 +48,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double tan(double x)
|
||||
+ double __tan(double x)
|
||||
#else
|
||||
- double tan(x)
|
||||
+ double __tan(x)
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -74,3 +74,4 @@
|
||||
-1 -- n odd */
|
||||
}
|
||||
}
|
||||
+weak_alias (__tan, tan)
|
||||
diff -ur dietlibc-0.30/libm/w_acos.c dietlibc-0.30-libm-i386/libm/w_acos.c
|
||||
--- dietlibc-0.30/libm/w_acos.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_acos.c 2006-06-28 20:10:58.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double acos(double x) /* wrapper acos */
|
||||
+ double __acos(double x) /* wrapper acos */
|
||||
#else
|
||||
- double acos(x) /* wrapper acos */
|
||||
+ double __acos(x) /* wrapper acos */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -41,3 +41,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__acos, acos)
|
||||
diff -ur dietlibc-0.30/libm/w_acosh.c dietlibc-0.30-libm-i386/libm/w_acosh.c
|
||||
--- dietlibc-0.30/libm/w_acosh.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_acosh.c 2006-06-28 20:02:44.000000000 +0200
|
||||
@@ -22,9 +22,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double acosh(double x) /* wrapper acosh */
|
||||
+ double __acosh(double x) /* wrapper acosh */
|
||||
#else
|
||||
- double acosh(x) /* wrapper acosh */
|
||||
+ double __acosh(x) /* wrapper acosh */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -40,3 +40,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__acosh, acosh)
|
||||
diff -ur dietlibc-0.30/libm/w_asin.c dietlibc-0.30-libm-i386/libm/w_asin.c
|
||||
--- dietlibc-0.30/libm/w_asin.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_asin.c 2006-06-28 20:03:08.000000000 +0200
|
||||
@@ -24,9 +24,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double asin(double x) /* wrapper asin */
|
||||
+ double __asin(double x) /* wrapper asin */
|
||||
#else
|
||||
- double asin(x) /* wrapper asin */
|
||||
+ double __asin(x) /* wrapper asin */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -42,3 +42,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__asin, asin)
|
||||
diff -ur dietlibc-0.30/libm/w_atan2.c dietlibc-0.30-libm-i386/libm/w_atan2.c
|
||||
--- dietlibc-0.30/libm/w_atan2.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_atan2.c 2006-06-28 19:57:11.000000000 +0200
|
||||
@@ -22,9 +22,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double atan2(double y, double x) /* wrapper atan2 */
|
||||
+ double __atan2(double y, double x) /* wrapper atan2 */
|
||||
#else
|
||||
- double atan2(y,x) /* wrapper atan2 */
|
||||
+ double __atan2(y,x) /* wrapper atan2 */
|
||||
double y,x;
|
||||
#endif
|
||||
{
|
||||
@@ -40,3 +40,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__atan2, atan2)
|
||||
diff -ur dietlibc-0.30/libm/w_atanh.c dietlibc-0.30-libm-i386/libm/w_atanh.c
|
||||
--- dietlibc-0.30/libm/w_atanh.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_atanh.c 2006-06-28 20:02:23.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double atanh(double x) /* wrapper atanh */
|
||||
+ double __atanh(double x) /* wrapper atanh */
|
||||
#else
|
||||
- double atanh(x) /* wrapper atanh */
|
||||
+ double __atanh(x) /* wrapper atanh */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -45,3 +45,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__atanh, atanh)
|
||||
diff -ur dietlibc-0.30/libm/w_drem.c dietlibc-0.30-libm-i386/libm/w_drem.c
|
||||
--- dietlibc-0.30/libm/w_drem.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_drem.c 2006-06-28 20:01:26.000000000 +0200
|
||||
@@ -6,10 +6,10 @@
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
+#include "math_private.h"
|
||||
|
||||
-double
|
||||
-drem(x, y)
|
||||
- double x, y;
|
||||
+double __drem(double x, double y)
|
||||
{
|
||||
return remainder(x, y);
|
||||
}
|
||||
+weak_alias (__drem, drem)
|
||||
diff -ur dietlibc-0.30/libm/w_fmod.c dietlibc-0.30-libm-i386/libm/w_fmod.c
|
||||
--- dietlibc-0.30/libm/w_fmod.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_fmod.c 2006-06-28 20:05:43.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double fmod(double x, double y) /* wrapper fmod */
|
||||
+ double __fmod(double x, double y) /* wrapper fmod */
|
||||
#else
|
||||
- double fmod(x,y) /* wrapper fmod */
|
||||
+ double __fmod(x,y) /* wrapper fmod */
|
||||
double x,y;
|
||||
#endif
|
||||
{
|
||||
@@ -41,3 +41,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__fmod, fmod)
|
||||
diff -ur dietlibc-0.30/libm/w_hypot.c dietlibc-0.30-libm-i386/libm/w_hypot.c
|
||||
--- dietlibc-0.30/libm/w_hypot.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_hypot.c 2006-06-28 20:08:54.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double hypot(double x, double y)/* wrapper hypot */
|
||||
+ double __hypot(double x, double y)/* wrapper hypot */
|
||||
#else
|
||||
- double hypot(x,y) /* wrapper hypot */
|
||||
+ double __hypot(x,y) /* wrapper hypot */
|
||||
double x,y;
|
||||
#endif
|
||||
{
|
||||
@@ -41,3 +41,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__hypot, hypot)
|
||||
diff -ur dietlibc-0.30/libm/w_log.c dietlibc-0.30-libm-i386/libm/w_log.c
|
||||
--- dietlibc-0.30/libm/w_log.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_log.c 2006-06-28 20:08:32.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double log(double x) /* wrapper log */
|
||||
+ double __log(double x) /* wrapper log */
|
||||
#else
|
||||
- double log(x) /* wrapper log */
|
||||
+ double __log(x) /* wrapper log */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -41,3 +41,4 @@
|
||||
return __kernel_standard(x,x,17); /* log(x<0) */
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__log, log)
|
||||
diff -ur dietlibc-0.30/libm/w_log10.c dietlibc-0.30-libm-i386/libm/w_log10.c
|
||||
--- dietlibc-0.30/libm/w_log10.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_log10.c 2006-06-28 20:08:11.000000000 +0200
|
||||
@@ -23,9 +23,9 @@
|
||||
|
||||
|
||||
#ifdef __STDC__
|
||||
- double log10(double x) /* wrapper log10 */
|
||||
+ double __log10(double x) /* wrapper log10 */
|
||||
#else
|
||||
- double log10(x) /* wrapper log10 */
|
||||
+ double __log10(x) /* wrapper log10 */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -44,3 +44,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__log10, log10)
|
||||
diff -ur dietlibc-0.30/libm/w_sqrt.c dietlibc-0.30-libm-i386/libm/w_sqrt.c
|
||||
--- dietlibc-0.30/libm/w_sqrt.c 2006-06-28 20:15:02.000000000 +0200
|
||||
+++ dietlibc-0.30-libm-i386/libm/w_sqrt.c 2006-06-28 20:07:09.000000000 +0200
|
||||
@@ -22,9 +22,9 @@
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __STDC__
|
||||
- double sqrt(double x) /* wrapper sqrt */
|
||||
+ double __sqrt(double x) /* wrapper sqrt */
|
||||
#else
|
||||
- double sqrt(x) /* wrapper sqrt */
|
||||
+ double __sqrt(x) /* wrapper sqrt */
|
||||
double x;
|
||||
#endif
|
||||
{
|
||||
@@ -40,3 +40,4 @@
|
||||
return z;
|
||||
#endif
|
||||
}
|
||||
+weak_alias (__sqrt, sqrt)
|
@ -1,33 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/no-spp.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
The dynamic flavour does not built for us due undefined __guard, but since
|
||||
we do not care for the size optimized binaries we do just do not enable it
|
||||
automatically for now.
|
||||
|
||||
- Rene Rebe <rene@exactcode.de>
|
||||
|
||||
--- dietlibc-0.30/dietfeatures.h 2006-04-04 07:35:14.000000000 +0200
|
||||
+++ dietlibc-0.30-fixed/dietfeatures.h 2006-06-30 15:38:05.000000000 +0200
|
||||
@@ -108,7 +107,7 @@
|
||||
* WANT_SSP_URANDOM and then not using -fstack-protector enlarges a
|
||||
* binary by 152 bytes. */
|
||||
#if (__GNUC__>4) || ((__GNUC__==4) && (__GNUC_MINOR__>=1))
|
||||
-#define WANT_SSP
|
||||
+//#define WANT_SSP
|
||||
#endif
|
||||
/* Choose which canary seeder you want you can choose
|
||||
* both but it will check urandom first and use xor as
|
@ -1,86 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/patches/pkg_e2fsprogs.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./lib/ss/pager.c.orig 2006-06-21 15:44:59.000000000 +0200
|
||||
+++ ./lib/ss/pager.c 2006-06-21 15:45:54.000000000 +0200
|
||||
@@ -36,6 +36,9 @@
|
||||
#if (!defined(HAVE_PRCTL) && defined(linux))
|
||||
#include <sys/syscall.h>
|
||||
#endif
|
||||
+#ifndef PR_GET_DUMPABLE
|
||||
+#define PR_GET_DUMPABLE 3
|
||||
+#endif
|
||||
|
||||
static char MORE[] = "more";
|
||||
extern char *_ss_pager_name;
|
||||
--- ./lib/ext2fs/test_io.c.orig 2006-06-21 15:51:20.000000000 +0200
|
||||
+++ ./lib/ext2fs/test_io.c 2006-06-21 15:51:47.000000000 +0200
|
||||
@@ -34,6 +34,10 @@
|
||||
#include "ext2_fs.h"
|
||||
#include "ext2fs.h"
|
||||
|
||||
+#ifndef PR_GET_DUMPABLE
|
||||
+#define PR_GET_DUMPABLE 3
|
||||
+#endif
|
||||
+
|
||||
/*
|
||||
* For checking structure magic numbers...
|
||||
*/
|
||||
--- ./lib/blkid/cache.c.orig 2006-06-21 15:57:47.000000000 +0200
|
||||
+++ ./lib/blkid/cache.c 2006-06-21 15:58:16.000000000 +0200
|
||||
@@ -28,6 +28,10 @@
|
||||
#endif
|
||||
#include "blkidP.h"
|
||||
|
||||
+#ifndef PR_GET_DUMPABLE
|
||||
+#define PR_GET_DUMPABLE 3
|
||||
+#endif
|
||||
+
|
||||
int blkid_debug_mask = 0;
|
||||
|
||||
|
||||
--- ./lib/ext2fs/ext2_types.h.in.orig 2006-07-08 00:36:04.000000000 +0000
|
||||
+++ ./lib/ext2fs/ext2_types.h.in 2006-07-08 00:37:06.000000000 +0000
|
||||
@@ -3,6 +3,8 @@
|
||||
* everything we need. (cross fingers) Other header files may have
|
||||
* also defined the types that we need.
|
||||
*/
|
||||
+#include <linux/types.h>
|
||||
+
|
||||
#if (!defined(_LINUX_TYPES_H) && !defined(_BLKID_TYPES_H) && !defined(_PPC64_TYPES_H) && \
|
||||
!defined(_EXT2_TYPES_H))
|
||||
#define _EXT2_TYPES_H
|
||||
--- ./lib/blkid/blkid.h.orig 2006-07-08 00:41:20.000000000 +0000
|
||||
+++ ./lib/blkid/blkid.h 2006-07-08 00:41:38.000000000 +0000
|
||||
@@ -14,6 +14,7 @@
|
||||
#define _BLKID_BLKID_H
|
||||
|
||||
#include <sys/types.h>
|
||||
+#include <linux/types.h>
|
||||
#include <blkid/blkid_types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
--- ./misc/util.c.orig 2006-07-08 00:58:39.000000000 +0000
|
||||
+++ ./misc/util.c 2006-07-08 00:59:42.000000000 +0000
|
||||
@@ -79,7 +79,7 @@
|
||||
void check_plausibility(const char *device)
|
||||
{
|
||||
int val;
|
||||
-#ifdef HAVE_OPEN64
|
||||
+#ifndef __NO_STAT64
|
||||
struct stat64 s;
|
||||
|
||||
val = stat64(device, &s);
|
@ -1,37 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/patches/pkg_lvm2.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./lib/metadata/metadata.c.orig 2006-06-21 18:03:02.000000000 +0200
|
||||
+++ ./lib/metadata/metadata.c 2006-06-21 18:10:12.000000000 +0200
|
||||
@@ -24,6 +24,9 @@
|
||||
#include "pv_alloc.h"
|
||||
#include "activate.h"
|
||||
|
||||
+#include <stdint.h>
|
||||
+#define UINT32_MAX (4294967295U)
|
||||
+
|
||||
static int _add_pv_to_vg(struct format_instance *fid, struct volume_group *vg,
|
||||
const char *pv_name)
|
||||
{
|
||||
--- ./lib/misc/lib.h.orig 2006-07-07 20:17:21.000000000 +0000
|
||||
+++ ./lib/misc/lib.h 2006-07-07 20:17:48.000000000 +0000
|
||||
@@ -28,5 +28,6 @@
|
||||
#include "lvm-types.h"
|
||||
|
||||
#include <libdevmapper.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#endif
|
@ -1,75 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/patches/pkg_util-linux.patch
|
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
Some hackery, mostly even semi-valid fixes.
|
||||
|
||||
- Rene Rebe <rene@exactcode.de>
|
||||
|
||||
--- util-linux-2.12q/mount/mount_by_label.c.vanilla 2005-06-16 01:20:52.000000000 +0200
|
||||
+++ util-linux-2.12q/mount/mount_by_label.c 2005-06-16 01:21:59.000000000 +0200
|
||||
@@ -189,7 +189,7 @@
|
||||
if (!procpt) {
|
||||
static int warn = 0;
|
||||
if (!warn++)
|
||||
- error (_("%s: could not open %s, so UUID and LABEL "
|
||||
+ fprintf (stderr, _("%s: could not open %s, so UUID and LABEL "
|
||||
"conversion cannot be done.\n"),
|
||||
progname, PROC_PARTITIONS);
|
||||
return;
|
||||
--- util-linux-2.12q/mount/fstab.c.vanilla 2005-06-16 01:19:50.000000000 +0200
|
||||
+++ util-linux-2.12q/mount/fstab.c 2005-06-16 01:20:00.000000000 +0200
|
||||
@@ -400,7 +400,7 @@
|
||||
static int signals_have_been_setup = 0;
|
||||
|
||||
/* Ensure that the lock is released if we are interrupted. */
|
||||
-extern char *strsignal(int sig); /* not always in <string.h> */
|
||||
+//extern char *strsignal(int sig); /* not always in <string.h> */
|
||||
|
||||
static void
|
||||
handler (int sig) {
|
||||
--- util-linux-2.12q/text-utils/column.c.vanilla 2005-06-16 01:23:44.000000000 +0200
|
||||
+++ util-linux-2.12q/text-utils/column.c 2005-06-16 01:24:00.000000000 +0200
|
||||
@@ -41,6 +41,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
+#include <termios.h>
|
||||
+
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
--- util-linux-2.12q/partx/solaris.c.vanilla 2005-06-16 01:34:09.000000000 +0200
|
||||
+++ util-linux-2.12q/partx/solaris.c 2005-06-16 01:34:15.000000000 +0200
|
||||
@@ -5,8 +5,6 @@
|
||||
#define SOLARIS_X86_NUMSLICE 8
|
||||
#define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL)
|
||||
|
||||
-typedef int daddr_t; /* or long - check */
|
||||
-
|
||||
struct solaris_x86_slice {
|
||||
unsigned short s_tag; /* ID tag of partition */
|
||||
unsigned short s_flag; /* permision flags */
|
||||
--- util-linux-2.12q/text-utils/pg.c.vanilla 2006-01-01 10:40:13.000000000 +0000
|
||||
+++ util-linux-2.12q/text-utils/pg.c 2006-01-01 10:40:20.000000000 +0000
|
||||
@@ -46,7 +46,7 @@
|
||||
#ifndef TIOCGWINSZ
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
-#include <sys/termios.h>
|
||||
+#include <termios.h>
|
||||
#include <fcntl.h>
|
||||
#include <regex.h>
|
||||
#include <stdio.h>
|
@ -1,33 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/ppc-select.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
|
||||
We must not use the old select syscall ...
|
||||
|
||||
- Rene Rebe <rene@exactcode.de>
|
||||
|
||||
--- /dev/null 2006-01-03 10:10:10.127999000 +0100
|
||||
+++ dietlibc-0.29/ppc/select.S 2006-01-03 11:20:43.000000000 +0100
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "syscalls.h"
|
||||
+
|
||||
+syscall(_newselect,select)
|
||||
--- /dev/null 2006-01-03 10:10:10.127999000 +0100
|
||||
+++ dietlibc-0.29/ppc64/select.S 2006-01-03 11:16:50.000000000 +0100
|
||||
@@ -0,0 +1,3 @@
|
||||
+#include "syscalls.h"
|
||||
+
|
||||
+syscall(_newselect,select)
|
@ -1,90 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/sane-defaults.patch
|
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
For certain architectures we need to mangle the opts to get working binaries.
|
||||
This is for example the case on mips, where we need -mnoabi-calls if we
|
||||
do not want get segfaults ... Alternatively instead of injecting the generic
|
||||
-Os battery of options we could define fine-grained injections in our build
|
||||
system but I find working with up-stream people and those defaults might be
|
||||
the better choice.
|
||||
|
||||
- Rene Rebe <rene@exactcode.de>
|
||||
|
||||
--- dietlibc-0.29/diet.c 2005-05-18 14:38:55.000000000 +0000
|
||||
+++ dietlibc-0.29-improved/diet.c 2005-11-27 15:11:24.000000000 +0000
|
||||
@@ -33,8 +33,8 @@
|
||||
"sparc64","-Os","-m64","-mhard-quad-float",0,
|
||||
"alpha","-Os","-fomit-frame-pointer",0,
|
||||
"arm","-Os","-fomit-frame-pointer",0,
|
||||
- "mips","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
|
||||
- "mipsel","-Os","-fomit-frame-pointer","-mno-abicalls","-fno-pic","-G","0",0,
|
||||
+ "mips","-Os","-fomit-frame-pointer","-G","0",0,
|
||||
+ "mipsel","-Os","-fomit-frame-pointer","-G","0",0,
|
||||
"ppc","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0,
|
||||
"ppc64","-Os","-fomit-frame-pointer","-mpowerpc-gpopt","-mpowerpc-gfxopt",0,
|
||||
"s390","-Os","-fomit-frame-pointer",0,
|
||||
@@ -44,6 +44,13 @@
|
||||
"x86_64","-Os","-fstrict-aliasing","-momit-leaf-frame-pointer","-mfancy-math-387",0,
|
||||
0};
|
||||
|
||||
+static const char* Opts[] = {
|
||||
+ "mips", "-mno-abicalls","-fno-pic",0,
|
||||
+ "mipsel", "-mno-abicalls","-fno-pic",0,
|
||||
+ "sparc64", "-m64","-mhard-quad-float",0,
|
||||
+ 0
|
||||
+};
|
||||
+
|
||||
static void usage(void) {
|
||||
__write2(
|
||||
#ifdef __DYN_LIB
|
||||
@@ -77,6 +83,7 @@
|
||||
#endif
|
||||
const char *nostdlib="-nostdlib";
|
||||
const char *libgcc="-lgcc";
|
||||
+ const char **o;
|
||||
char dashL[1000];
|
||||
char dashstatic[]="-static";
|
||||
int i;
|
||||
@@ -333,8 +340,21 @@
|
||||
}
|
||||
#endif
|
||||
*dest++="-D__dietlibc__";
|
||||
+ /* strictly needed opts */
|
||||
+ for (o=Opts;*o;++o) {
|
||||
+ if (!strcmp(*o,shortplatform)) {
|
||||
+ ++o;
|
||||
+ while (*o) {
|
||||
+ *dest++=(char*)*o;
|
||||
+ ++o;
|
||||
+ }
|
||||
+ break;
|
||||
+ } else
|
||||
+ while (*o) ++o;
|
||||
+ }
|
||||
+
|
||||
if (mangleopts) {
|
||||
- const char **o=Os;
|
||||
+ o=Os;
|
||||
|
||||
{
|
||||
int fd;
|
||||
--- dietlibc-0.30/sparc64/Makefile.add 2004-03-25 21:11:00.000000000 +0000
|
||||
+++ dietlibc-0.30-patch/sparc64/Makefile.add 2006-07-31 10:12:05.000000000 +0000
|
||||
@@ -1,3 +1,3 @@
|
||||
-CFLAGS+=-m64 -Os
|
||||
+CFLAGS+=-m64 -Os -mhard-quad-float
|
||||
VPATH:=sparc64:syscalls.s:$(VPATH)
|
||||
LIBOBJ+=$(patsubst %,$(OBJDIR)/%,__time.o)
|
@ -1,34 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/sparc64-longjmp.patch
|
||||
# Copyright (C) 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
|
||||
This fixes the sparc64 longjmp to inject the return value at the correct
|
||||
memory location (and not SIGBUS). MC_G1 is just the index in the register
|
||||
array, and before that array there are 4 more words placed, thus the offset
|
||||
4 and multiple with the word-size ...
|
||||
|
||||
- Rene Rebe <rene@exactcode.de>
|
||||
|
||||
--- dietlibc-0.29/sparc64/longjmp.S 2002-09-16 11:17:02.000000000 +0000
|
||||
+++ dietlibc-0.29-fixed/sparc64/longjmp.S 2006-06-21 15:00:15.000000000 +0000
|
||||
@@ -11,7 +11,7 @@
|
||||
.type __libc_longjmp,function
|
||||
__libc_longjmp:
|
||||
movrz %o1, 1, %o1 /* never return 0 in setjmp */
|
||||
- stx %o1, [ %o0+MC_G1 ] /* save return value in context */
|
||||
+ stx %o1, [%o0 + (4+MC_G1) * 8] /* save return value in context */
|
||||
ld [ %o0+FLAG_SAVEMASK ], %o1 /* has setjmp saved the signalmask ? */
|
||||
ta 0x6f /* setcontext / restore context */
|
||||
.size __libc_longjmp,.-__libc_longjmp
|
@ -0,0 +1,89 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../dietlibc/stdint.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./include/stdint.h.orig 2007-07-18 19:35:47.000000000 -0400
|
||||
+++ ./include/stdint.h 2007-07-18 19:51:06.000000000 -0400
|
||||
@@ -26,28 +26,6 @@
|
||||
typedef uint64_t uint_fast64_t;
|
||||
|
||||
|
||||
-
|
||||
-/* The ISO C99 standard specifies that in C++ implementations these
|
||||
- should only be defined if explicitly requested. */
|
||||
-#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
|
||||
-
|
||||
-/* FIXME: missing are
|
||||
- INTx_MIN, INTx_MAX, UINTx_MAX
|
||||
- INT_LEASTx_MIN, INT_LEASTx_MAX, UINT_LEASTx_MAX
|
||||
- INT_FASTx_MIN, INT_FASTx_MAX, UINT_FASTx_MAX
|
||||
- INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX
|
||||
- INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX
|
||||
- PTRDIFF_MIN, PTRDIFF_MAX
|
||||
- SIG_ATOMIC_MIN, SIG_ATOMIC_MAX
|
||||
- SIZE_MAX
|
||||
- WCHAR_MIN, WCHAR_MAX
|
||||
- WINT_MIN, WINT_MAX
|
||||
-*/
|
||||
-
|
||||
-#endif /* C++ && limit macros */
|
||||
-
|
||||
-
|
||||
-
|
||||
/* The ISO C99 standard specifies that in C++ implementations these
|
||||
should only be defined if explicitly requested. */
|
||||
#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
|
||||
@@ -83,6 +61,41 @@
|
||||
|
||||
#endif /* C++ && constant macros */
|
||||
|
||||
+/* The ISO C99 standard specifies that in C++ implementations these
|
||||
+ should only be defined if explicitly requested. */
|
||||
+#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
|
||||
+
|
||||
+/* Minimum of signed integral types. */
|
||||
+# define INT8_MIN (-128)
|
||||
+# define INT16_MIN (-32767-1)
|
||||
+# define INT32_MIN (-2147483647-1)
|
||||
+# define INT64_MIN (-INT64_C(9223372036854775807)-1)
|
||||
+/* Maximum of signed integral types. */
|
||||
+# define INT8_MAX (127)
|
||||
+# define INT16_MAX (32767)
|
||||
+# define INT32_MAX (2147483647)
|
||||
+# define INT64_MAX (INT64_C(9223372036854775807))
|
||||
+
|
||||
+/* Maximum of unsigned integral types. */
|
||||
+# define UINT8_MAX (255)
|
||||
+# define UINT16_MAX (65535)
|
||||
+# define UINT32_MAX (4294967295U)
|
||||
+# define UINT64_MAX (UINT64_C(18446744073709551615))
|
||||
+
|
||||
+/* FIXME: missing are
|
||||
+ INT_LEASTx_MIN, INT_LEASTx_MAX, UINT_LEASTx_MAX
|
||||
+ INT_FASTx_MIN, INT_FASTx_MAX, UINT_FASTx_MAX
|
||||
+ INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX
|
||||
+ INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX
|
||||
+ PTRDIFF_MIN, PTRDIFF_MAX
|
||||
+ SIG_ATOMIC_MIN, SIG_ATOMIC_MAX
|
||||
+ SIZE_MAX
|
||||
+ WCHAR_MIN, WCHAR_MAX
|
||||
+ WINT_MIN, WINT_MAX
|
||||
+*/
|
||||
+
|
||||
+#endif /* C++ && limit macros */
|
||||
+
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
@ -1,33 +0,0 @@
|
||||
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# T2 SDE: package/.../dietlibc/x86_64-stat-fix.patch
|
||||
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- T2-COPYRIGHT-NOTE-END ---
|
||||
diff -Naur dietlibc_cvs-orig/include/sys/stat.h dietlibc_cvs/include/sys/stat.h
|
||||
--- dietlibc_cvs-orig/include/sys/stat.h 2005-03-15 10:51:22.000000000 +0200
|
||||
+++ dietlibc_cvs/include/sys/stat.h 2005-04-30 18:50:40.000000000 +0300
|
||||
@@ -520,11 +520,11 @@
|
||||
unsigned long st_size;
|
||||
unsigned long st_blksize;
|
||||
unsigned long st_blocks;
|
||||
- unsigned long st_atime;
|
||||
+ signed long st_atime;
|
||||
unsigned long __reserved0;
|
||||
- unsigned long st_mtime;
|
||||
+ signed long st_mtime;
|
||||
unsigned long __reserved1;
|
||||
- unsigned long st_ctime;
|
||||
+ signed long st_ctime;
|
||||
unsigned long __reserved2;
|
||||
long __unused[3];
|
||||
};
|
@ -0,0 +1,35 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../dmraid/destdir.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./make.tmpl.in.orig 2007-06-12 20:01:27.000000000 -0400
|
||||
+++ ./make.tmpl.in 2007-06-12 20:02:03.000000000 -0400
|
||||
@@ -25,11 +25,11 @@
|
||||
exec_prefix = $(DESTDIR)@exec_prefix@
|
||||
bindir = @bindir@
|
||||
ifeq ("@KLIBC@", "no")
|
||||
- libdir = @libdir@
|
||||
- sbindir = @sbindir@
|
||||
- includedir = @includedir@
|
||||
- infodir = @infodir@
|
||||
- mandir = @mandir@
|
||||
+ libdir = $(DESTDIR)@libdir@
|
||||
+ sbindir = $(DESTDIR)@sbindir@
|
||||
+ includedir = $(DESTDIR)@includedir@
|
||||
+ infodir = $(DESTDIR)@infodir@
|
||||
+ mandir = $(DESTDIR)@mandir@
|
||||
else
|
||||
libdir = $(DESTDIR)@KLIBC_LIB_DIR@
|
||||
sbindir = $(DESTDIR)@KLIBC_SBIN_DIR@
|
@ -0,0 +1,95 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../hotplug2/destdir.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./docs/Makefile.orig 2007-06-10 12:42:15.000000000 -0400
|
||||
+++ ./docs/Makefile 2007-06-10 12:43:57.000000000 -0400
|
||||
@@ -2,12 +2,13 @@
|
||||
|
||||
BINS=
|
||||
SUBDIRS=
|
||||
-
|
||||
+DESTDIR=
|
||||
+MANDIR=/usr/share/man
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
- $(INSTALL) $(wildcard *.8) /usr/share/man/man8/
|
||||
+ $(INSTALL) $(wildcard *.8) $(DESTDIR)$(MANDIR)/man8/
|
||||
|
||||
|
||||
include ../common.mak
|
||||
--- ./Makefile.orig 2007-06-10 12:41:27.000000000 -0400
|
||||
+++ ./Makefile 2007-06-10 12:41:57.000000000 -0400
|
||||
@@ -2,12 +2,13 @@
|
||||
|
||||
BINS=hotplug2 hotplug2-dnode
|
||||
SUBDIRS=linux24_compat docs examples
|
||||
+DESTDIR=
|
||||
|
||||
|
||||
all: $(BINS)
|
||||
|
||||
install:
|
||||
- $(INSTALL_BIN) $(BINS) /sbin/
|
||||
+ $(INSTALL_BIN) $(BINS) $(DESTDIR)/sbin/
|
||||
|
||||
|
||||
hotplug2: hotplug2.o childlist.o mem_utils.o rules.o
|
||||
--- ./linux24_compat/Makefile.orig 2007-06-10 12:45:14.000000000 -0400
|
||||
+++ ./linux24_compat/Makefile 2007-06-10 12:45:38.000000000 -0400
|
||||
@@ -2,13 +2,14 @@
|
||||
|
||||
BINS=generate_alias hotplug2-coldplug-2.4 hotplug2-modwrap
|
||||
SUBDIRS=
|
||||
+DESTDIR=
|
||||
|
||||
|
||||
all: $(BINS)
|
||||
|
||||
install:
|
||||
- $(INSTALL_BIN) hotplug2-coldplug-2.4 hotplug2-modwrap /sbin/
|
||||
- $(INSTALL_BIN) generate_alias /usr/sbin/
|
||||
+ $(INSTALL_BIN) hotplug2-coldplug-2.4 hotplug2-modwrap $(DESTDIR)/sbin/
|
||||
+ $(INSTALL_BIN) generate_alias $(DESTDIR)/usr/sbin/
|
||||
|
||||
|
||||
hotplug2-coldplug-2.4: hotplug2-coldplug-2.4.o ../parser_utils.o ../filemap_utils.o ../mem_utils.o
|
||||
--- ./examples/Makefile.orig 2007-06-10 12:44:09.000000000 -0400
|
||||
+++ ./examples/Makefile 2007-06-10 12:47:48.000000000 -0400
|
||||
@@ -2,17 +2,19 @@
|
||||
|
||||
BINS=
|
||||
SUBDIRS=
|
||||
+DESTDIR=
|
||||
+KERNELVER=`uname -r`
|
||||
|
||||
|
||||
all:
|
||||
|
||||
install:
|
||||
- case "`uname -r`" in \
|
||||
+ case "$(KERNELVER)" in \
|
||||
2.6.*) \
|
||||
- $(INSTALL) hotplug2.rules-2.6kernel /etc/hotplug2.rules \
|
||||
+ $(INSTALL) hotplug2.rules-2.6kernel $(DESTDIR)/etc/hotplug2.rules \
|
||||
;; \
|
||||
*) \
|
||||
- $(INSTALL) hotplug2.rules-2.4kernel /etc/hotplug2.rules \
|
||||
+ $(INSTALL) hotplug2.rules-2.4kernel $(DESTDIR)/etc/hotplug2.rules \
|
||||
;; \
|
||||
esac
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- ./hotplug2.c.orig 2007-08-15 16:36:03.000000000 -0400
|
||||
+++ ./hotplug2.c 2007-08-15 16:39:05.000000000 -0400
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
+#include <libgen.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
@@ -27,6 +28,9 @@
|
||||
#include "rules.h"
|
||||
#include "childlist.h"
|
||||
|
||||
+#ifndef WAIT_ANY
|
||||
+#define WAIT_ANY (pid_t)-1
|
||||
+#endif
|
||||
#define TERMCONDITION (persistent == 0 && \
|
||||
coldplug_p == FORK_FINISHED && \
|
||||
child == NULL && \
|
@ -0,0 +1,17 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../hotplug2/hotplug2.conf |
||||
# Copyright (C) 2007 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This program is free software; you can redistribute it and/or modify |
||||
# it under the terms of the GNU General Public License as published by |
||||
# the Free Software Foundation; version 2 of the License. A copy of the |
||||
# GNU General Public License can be found in the file COPYING. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
pkgprefix -t linux-header |
||||
|
||||
var_append makeinstopt ' ' "KERNELVER=$( pkgprefix ver linux-header )" |
@ -0,0 +1,35 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../hotplug2/hotplug2.desc |
||||
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
[COPY] |
||||
[COPY] More information can be found in the files COPYING and README. |
||||
[COPY] |
||||
[COPY] This program is free software; you can redistribute it and/or modify |
||||
[COPY] it under the terms of the GNU General Public License as published by |
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
[COPY] GNU General Public License can be found in the file COPYING. |
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
[I] A tiny udev/hotplug replacement for early userspace and weak boxes |
||||
|
||||
[T] Hotplug2 is aimed at early Linux user space, i. E. Initramfs or initrd, |
||||
[T] and possibly also at embedded devices (such as WRT-like routers) or |
||||
[T] very weak machines, such as 386/486. It connects to the uevent netlink |
||||
[T] socket and reads events. The application generally operates in two modes: |
||||
[T] dumb and smart. |
||||
|
||||
[U] http://isteve.bofh.cz/~isteve/hotplug2/ |
||||
|
||||
[A] iSteve <deadcd@bofh.cz> |
||||
[M] Alejandro Mery <amery@opensde.org> |
||||
|
||||
[C] extra/tool |
||||
|
||||
[L] GPL |
||||
[S] Beta |
||||
[V] 0.9 |
||||
[P] X -?---5---9 800.000 |
||||
|
||||
[D] 2614571654 hotplug2-0.9.tar.gz http://isteve.bofh.cz/~isteve/hotplug2/ |
@ -0,0 +1,31 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../hotplug2/modwrap-fallback.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./linux24_compat/hotplug2-modwrap.c (revision 100)
|
||||
+++ ./linux24_compat/hotplug2-modwrap.c (working copy)
|
||||
@@ -122,6 +122,12 @@
|
||||
free(module);
|
||||
free(line);
|
||||
}
|
||||
+
|
||||
+ if (strcmp(argv[argc - 1], match_alias) == 0) {
|
||||
+ if (execute(argv)) {
|
||||
+ ERROR("execute", "Unable to execute: `%s'.", argv[0]);
|
||||
+ }
|
||||
+ }
|
||||
|
||||
free(filename);
|
||||
free(match_alias);
|
@ -0,0 +1,25 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../lvm2/dietlibc.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./lib/misc/lib.h.orig 2007-07-18 21:00:06.000000000 -0400
|
||||
+++ ./lib/misc/lib.h 2007-07-18 21:00:36.000000000 -0400
|
||||
@@ -31,5 +31,6 @@
|
||||
#include "lvm-wrappers.h"
|
||||
|
||||
#include <libdevmapper.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#endif
|
@ -0,0 +1,37 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../mdadm/dietlibc.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./config.c.orig 2007-07-18 21:10:32.000000000 -0400
|
||||
+++ ./config.c 2007-07-18 21:10:45.000000000 -0400
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "mdadm.h"
|
||||
#include "dlink.h"
|
||||
-#include <sys/dir.h>
|
||||
+#include <dirent.h>
|
||||
#include <glob.h>
|
||||
#include <fnmatch.h>
|
||||
#include <ctype.h>
|
||||
--- ./Monitor.c.orig 2007-07-18 21:17:39.000000000 -0400
|
||||
+++ ./Monitor.c 2007-07-18 21:17:57.000000000 -0400
|
||||
@@ -34,6 +34,7 @@
|
||||
#include <sys/signal.h>
|
||||
#include <values.h>
|
||||
#include <syslog.h>
|
||||
+#include <limits.h>
|
||||
|
||||
static void alert(char *event, char *dev, char *disc, char *mailaddr, char *mailfrom,
|
||||
char *cmd, int dosyslog);
|
@ -0,0 +1,27 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../mdadm/gcc-4.1.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./Detail.c.orig 2007-06-14 15:12:07.000000000 -0400
|
||||
+++ ./Detail.c 2007-06-14 15:12:19.000000000 -0400
|
||||
@@ -59,7 +59,7 @@
|
||||
void *super = NULL;
|
||||
int rv = test ? 4 : 1;
|
||||
int avail_disks = 0;
|
||||
- char *avail;
|
||||
+ char *avail = NULL;
|
||||
|
||||
if (fd < 0) {
|
||||
fprintf(stderr, Name ": cannot open %s: %s\n",
|
@ -0,0 +1,89 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||||
#
|
||||
# Filename: package/.../util-linux/dietlibc.patch
|
||||
# Copyright (C) 2007 The OpenSDE Project
|
||||
#
|
||||
# More information can be found in the files COPYING and README.
|
||||
#
|
||||
# This patch file is dual-licensed. It is available under the license the
|
||||
# patched project is licensed under, as long as it is an OpenSource license
|
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||||
# of the GNU General Public License as published by the Free Software
|
||||
# Foundation; either version 2 of the License, or (at your option) any later
|
||||
# version.
|
||||
# --- SDE-COPYRIGHT-NOTE-END ---
|
||||
|
||||
--- ./login-utils/vipw.c.orig 2007-07-17 13:07:32.000000000 -0400
|
||||
+++ ./login-utils/vipw.c 2007-07-17 13:08:35.000000000 -0400
|
||||
@@ -73,6 +73,10 @@
|
||||
|
||||
#define FILENAMELEN 67
|
||||
|
||||
+#ifndef _PATH_VI
|
||||
+#define _PATH_VI "/usr/bin/vi"
|
||||
+#endif
|
||||
+
|
||||
char *progname;
|
||||
enum { VIPW, VIGR };
|
||||
int program;
|
||||
--- ./login-utils/login.c.orig 2007-07-17 12:53:12.000000000 -0400
|
||||
+++ ./login-utils/login.c 2007-07-17 12:53:35.000000000 -0400
|
||||
@@ -152,7 +152,7 @@
|
||||
#ifndef __linux__
|
||||
# include <tzfile.h>
|
||||
#endif
|
||||
-#include <lastlog.h>
|
||||
+#include <utmp.h>
|
||||
|
||||
#define SLEEP_EXIT_TIMEOUT 5
|
||||
|
||||
--- ./mount/fstab.c.orig 2007-07-17 13:17:38.000000000 -0400
|
||||
+++ ./mount/fstab.c 2007-07-17 13:17:59.000000000 -0400
|
||||
@@ -399,9 +399,6 @@
|
||||
/* Flag to indicate that signals have been set up. */
|
||||
static int signals_have_been_setup = 0;
|
||||
|
||||
-/* Ensure that the lock is released if we are interrupted. */
|
||||
-extern char *strsignal(int sig); /* not always in <string.h> */
|
||||
-
|
||||
static void
|
||||
handler (int sig) {
|
||||
die(EX_USER, "%s", strsignal(sig));
|
||||
--- ./sys-utils/dmesg.c.orig 2007-07-18 16:09:10.000000000 -0400
|
||||
+++ ./sys-utils/dmesg.c 2007-07-18 16:10:01.000000000 -0400
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <stdlib.h>
|
||||
#include "nls.h"
|
||||
|
||||
-#if __GNU_LIBRARY__ < 5
|
||||
+#if (__GNU_LIBRARY__ < 5) && (! defined(__dietlibc__))
|
||||
|
||||
#ifndef __alpha__
|
||||
# define __NR_klogctl __NR_syslog
|
||||
--- ./text-utils/column.c.orig 2007-07-18 16:24:58.000000000 -0400
|
||||
+++ ./text-utils/column.c 2007-07-18 16:25:19.000000000 -0400
|
||||
@@ -50,6 +50,7 @@
|
||||
#include "errs.h"
|
||||
#include "nls.h"
|
||||
|
||||
+#include <termios.h>
|
||||
#include "widechar.h"
|
||||
|
||||
#ifdef ENABLE_WIDECHAR
|
||||
--- ./partx/solaris.c.orig 2007-07-18 16:31:07.000000000 -0400
|
||||
+++ ./partx/solaris.c 2007-07-18 16:31:37.000000000 -0400
|
||||
@@ -1,12 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h> /* time_t */
|
||||
+#include <sys/types.h> /* daddr_t */
|
||||
#include "partx.h"
|
||||
|
||||
#define SOLARIS_X86_NUMSLICE 8
|
||||
#define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL)
|
||||
|
||||
-typedef int daddr_t; /* or long - check */
|
||||
-
|
||||
struct solaris_x86_slice {
|
||||
unsigned short s_tag; /* ID tag of partition */
|
||||
unsigned short s_flag; /* permision flags */
|
@ -0,0 +1,25 @@
|
||||
|
||||
[TIMESTAMP] 1187021451 Mon Aug 13 18:10:51 2007 |
||||
[BUILDTIME] 100 (9) |
||||
[SIZE] 0.37 MB, 16 files |
||||
|
||||
[DEP] 00-dirtree |
||||
[DEP] bash |
||||
[DEP] binutils |
||||
[DEP] bzip2 |
||||
[DEP] coreutils |
||||
[DEP] diffutils |
||||
[DEP] findutils |
||||
[DEP] gawk |
||||
[DEP] gcc |
||||
[DEP] glibc |
||||
[DEP] grep |
||||
[DEP] libnet |
||||
[DEP] libpcap |
||||
[DEP] linux-header |
||||
[DEP] make |
||||
[DEP] mktemp |
||||
[DEP] sed |
||||
[DEP] sysfiles |
||||
[DEP] tar |
||||
[DEP] util-linux |
@ -0,0 +1,34 @@
|
||||
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
[COPY] |
||||
[COPY] Filename: package/.../netdiscover/netdiscover.desc |
||||
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
[COPY] |
||||
[COPY] More information can be found in the files COPYING and README. |
||||
[COPY] |
||||
[COPY] This program is free software; you can redistribute it and/or modify |
||||
[COPY] it under the terms of the GNU General Public License as published by |
||||
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
[COPY] GNU General Public License can be found in the file COPYING. |
||||
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
[I] An ARP network scanner |
||||
|
||||
[T] Netdiscover is a network address discovering tool that was developed |
||||
[T] mainly for those wireless networks without DHCP servers, though it also |
||||
[T] works on wired networks. It sends ARP requests and sniffs for replies. |
||||
|
||||
[U] http://sourceforge.net/projects/netdiscover/ |
||||
[U] http://nixgeneration.com/~jaime/netdiscover/ |
||||
|
||||
[A] Jamie Penalba <jpenalbae@gmail.com> |
||||
[M] Christian Wiese <morfoh@opensde.org> |
||||
|
||||
[C] extra/network |
||||
|
||||
[L] GPL |
||||
[S] Beta |
||||
[V] 0.3-beta6 |
||||
[P] X -----5---9 800.000 |
||||
|
||||
[D] 3351960646 netdiscover-0.3-beta6.tar.gz http://dl.sourceforge.net/sourceforge/netdiscover/ |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue