You can subscribe to this list here.
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(62) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
(99) |
Feb
(206) |
Mar
(129) |
Apr
(133) |
May
(188) |
Jun
(75) |
Jul
(52) |
Aug
(42) |
Sep
(30) |
Oct
(16) |
Nov
(13) |
Dec
(16) |
| 2011 |
Jan
(29) |
Feb
(8) |
Mar
(19) |
Apr
(6) |
May
(11) |
Jun
(30) |
Jul
(21) |
Aug
(1) |
Sep
(8) |
Oct
(1) |
Nov
(2) |
Dec
(2) |
| 2012 |
Jan
(3) |
Feb
|
Mar
(3) |
Apr
(12) |
May
(2) |
Jun
(4) |
Jul
(3) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(2) |
|
From: <aqu...@us...> - 2012-12-28 20:59:40
|
Revision: 1243
http://samygo.svn.sourceforge.net/samygo/?rev=1243&view=rev
Author: aquadran
Date: 2012-12-28 20:59:32 +0000 (Fri, 28 Dec 2012)
Log Message:
-----------
updates, fixes to builds
Modified Paths:
--------------
oe/branches/branch-b-series/README
oe/branches/branch-b-series/oe/classes/sanity.bbclass
oe/branches/branch-b-series/oe/recipes/glibc/glibc_2.5.90-9.0.9.bb
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr.inc
Added Paths:
-----------
oe/branches/branch-b-series/oe/recipes/glibc/glibc-2.5.90-9.0.9/fix-compile-fs-noncase.patch
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/p1.patch
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.1.bb
Removed Paths:
-------------
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.0/
oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.0.bb
Modified: oe/branches/branch-b-series/README
===================================================================
--- oe/branches/branch-b-series/README 2012-12-01 11:53:16 UTC (rev 1242)
+++ oe/branches/branch-b-series/README 2012-12-28 20:59:32 UTC (rev 1243)
@@ -42,9 +42,3 @@
Example: MACHINE=ssdtv;DISTRO=samygo;DL_DIR=~/sources
. setup.sh
-
-FAQ:
- Q: Why I get an error on Mac OS X when I try to compile glibc?
-
- A: OE directory need to be on case-sensitive filesystem.
-
Modified: oe/branches/branch-b-series/oe/classes/sanity.bbclass
===================================================================
--- oe/branches/branch-b-series/oe/classes/sanity.bbclass 2012-12-01 11:53:16 UTC (rev 1242)
+++ oe/branches/branch-b-series/oe/classes/sanity.bbclass 2012-12-28 20:59:32 UTC (rev 1243)
@@ -84,8 +84,8 @@
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- #LocalChange: added: wget, intltoolize, desktop-file-install; removed md5sum chrpath
- required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk wget intltoolize desktop-file-install"
+ #LocalChange: added: wget, intltoolize; removed md5sum chrpath
+ required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk wget intltoolize"
# If we'll be running qemu, perform some sanity checks
if data.getVar('ENABLE_BINARY_LOCALE_GENERATION', e.data, True):
Added: oe/branches/branch-b-series/oe/recipes/glibc/glibc-2.5.90-9.0.9/fix-compile-fs-noncase.patch
===================================================================
--- oe/branches/branch-b-series/oe/recipes/glibc/glibc-2.5.90-9.0.9/fix-compile-fs-noncase.patch (rev 0)
+++ oe/branches/branch-b-series/oe/recipes/glibc/glibc-2.5.90-9.0.9/fix-compile-fs-noncase.patch 2012-12-28 20:59:32 UTC (rev 1243)
@@ -0,0 +1,143 @@
+diff -ur old/Makeconfig new/Makeconfig
+--- old/Makeconfig 2010-11-30 03:24:32.000000000 +0100
++++ new/Makeconfig 2012-12-28 19:23:52.000000000 +0100
+@@ -484,7 +484,7 @@
+ # run the linked programs.
+ link-libc = -Wl,-rpath-link=$(rpath-link) \
+ $(common-objpfx)libc.so$(libc.so-version) \
+- $(common-objpfx)$(patsubst %,$(libtype.oS),c) $(gnulib)
++ $(common-objpfx)$(patsubst %,$(libtype.oF),c) $(gnulib)
+ # This is how to find at build-time things that will be installed there.
+ rpath-dirs = math elf dlfcn nss nis rt resolv crypt
+ endif
+@@ -707,7 +707,7 @@
+ # The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
+ # to pass different flags for each flavor.
+ libtypes = $(foreach o,$(object-suffixes-for-libc),$(libtype$o))
+-all-object-suffixes := .o .os .op .og .ob .oS
++all-object-suffixes := .o .os .op .og .ob .oF
+ object-suffixes :=
+ CPPFLAGS-.o = $(pic-default)
+ CFLAGS-.o = $(filter %frame-pointer,$(+cflags))
+@@ -767,14 +767,14 @@
+
+ ifeq (yes,$(build-shared))
+ # Build special library that contains the static-only routines for libc.
+-object-suffixes-for-libc += .oS
++object-suffixes-for-libc += .oF
+
+ # Must build the routines as PIC, though, because they can end up in (users')
+ # shared objects. We don't want to use CFLAGS-os because users may, for
+ # example, make that processor-specific.
+-CFLAGS-.oS = $(CFLAGS-.o) $(PIC-ccflag)
+-CPPFLAGS-.oS = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
+-libtype.oS = lib%_nonshared.a
++CFLAGS-.oF = $(CFLAGS-.o) $(PIC-ccflag)
++CPPFLAGS-.oF = $(CPPFLAGS-.o) -DPIC -DLIBC_NONSHARED=1
++libtype.oF = lib%_nonshared.a
+ endif
+
+ # The assembler can generate debug information too.
+diff -ur old/Makerules new/Makerules
+--- old/Makerules 2012-12-28 19:23:00.000000000 +0100
++++ new/Makerules 2012-12-28 19:18:39.000000000 +0100
+@@ -403,7 +403,7 @@
+ # Bounded pointer thunks are only built for *.ob
+ elide-bp-thunks = $(addprefix $(bppfx),$(bp-thunks))
+
+-elide-routines.oS += $(filter-out $(static-only-routines),\
++elide-routines.oF += $(filter-out $(static-only-routines),\
+ $(routines) $(aux) $(sysdep_routines)) \
+ $(elide-bp-thunks)
+ elide-routines.os += $(static-only-routines) $(elide-bp-thunks)
+@@ -970,7 +970,7 @@
+ install: $(inst_libdir)/libc.so
+ $(inst_libdir)/libc.so: $(common-objpfx)format.lds \
+ $(common-objpfx)libc.so$(libc.so-version) \
+- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
++ $(inst_libdir)/$(patsubst %,$(libtype.oF),\
+ $(libprefix)$(libc-name)) \
+ $(+force)
+ (echo '/* GNU ld script';\
+@@ -978,7 +978,7 @@
+ echo ' the static library, so try that secondarily. */';\
+ cat $<; \
+ echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
+- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
++ '$(libdir)/$(patsubst %,$(libtype.oF),$(libprefix)$(libc-name))'\
+ ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
+ ) > $@.new
+ mv -f $@.new $@
+diff -ur old/extra-lib.mk new/extra-lib.mk
+--- old/extra-lib.mk 2012-12-28 19:22:18.000000000 +0100
++++ new/extra-lib.mk 2012-12-28 19:19:28.000000000 +0100
+@@ -13,7 +13,7 @@
+
+ ifneq (,$($(lib)-static-only-routines))
+ ifneq (,$(filter yesyes%,$(build-shared)$(elf)$($(lib).so-version)))
+-object-suffixes-$(lib) += $(filter-out $($(lib)-inhibit-o),.oS)
++object-suffixes-$(lib) += $(filter-out $($(lib)-inhibit-o),.oF)
+ endif
+ endif
+
+@@ -29,7 +29,7 @@
+
+ # Add each flavor of library to the lists of things to build and install.
+ install-lib += $(foreach o,$(object-suffixes-$(lib)),$(lib:lib%=$(libtype$o)))
+-extra-objs += $(foreach o,$(filter-out .os .oS,$(object-suffixes-$(lib))),\
++extra-objs += $(foreach o,$(filter-out .os .oF,$(object-suffixes-$(lib))),\
+ $(patsubst %,%$o,$(filter-out \
+ $($(lib)-shared-only-routines),\
+ $(all-$(lib)-routines))))
+@@ -57,7 +57,7 @@
+
+
+ # Use o-iterator.mk to generate a rule for each flavor of library.
+-ifneq (,$(filter-out .os .oS,$(object-suffixes-$(lib))))
++ifneq (,$(filter-out .os .oF,$(object-suffixes-$(lib))))
+ define o-iterator-doit
+ $(objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \
+ $(patsubst %,$(objpfx)%$o,\
+@@ -65,7 +65,7 @@
+ $(all-$(lib)-routines))); \
+ $$(build-extra-lib)
+ endef
+-object-suffixes-left = $(filter-out .os .oS,$(object-suffixes-$(lib)))
++object-suffixes-left = $(filter-out .os .oF,$(object-suffixes-$(lib)))
+ include $(patsubst %,$(..)o-iterator.mk,$(object-suffixes-left))
+ endif
+
+@@ -77,9 +77,9 @@
+ $(build-extra-lib)
+ endif
+
+-ifneq (,$(filter .oS,$(object-suffixes-$(lib))))
+-$(objpfx)$(patsubst %,$(libtype.oS),$(lib:lib%=%)): \
+- $(patsubst %,$(objpfx)%.oS,\
++ifneq (,$(filter .oF,$(object-suffixes-$(lib))))
++$(objpfx)$(patsubst %,$(libtype.oF),$(lib:lib%=%)): \
++ $(patsubst %,$(objpfx)%.oF,\
+ $(filter $($(lib)-static-only-routines),\
+ $(all-$(lib)-routines)))
+ $(build-extra-lib)
+diff -ur old/nptl/Makefile new/nptl/Makefile
+--- old/nptl/Makefile 2012-12-28 19:22:48.000000000 +0100
++++ new/nptl/Makefile 2012-12-28 19:18:51.000000000 +0100
+@@ -374,7 +374,7 @@
+
+ $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
+ $(objpfx)libpthread.so$(libpthread.so-version) \
+- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
++ $(inst_libdir)/$(patsubst %,$(libtype.oF),\
+ $(libprefix)pthread) \
+ $(+force)
+ (echo '/* GNU ld script';\
+@@ -382,7 +382,7 @@
+ echo ' the static library, so try that secondarily. */';\
+ cat $<; \
+ echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \
+- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
++ '$(libdir)/$(patsubst %,$(libtype.oF),$(libprefix)pthread)'\
+ ')' \
+ ) > $@.new
+ mv -f $@.new $@
Property changes on: oe/branches/branch-b-series/oe/recipes/glibc/glibc-2.5.90-9.0.9/fix-compile-fs-noncase.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: oe/branches/branch-b-series/oe/recipes/glibc/glibc_2.5.90-9.0.9.bb
===================================================================
--- oe/branches/branch-b-series/oe/recipes/glibc/glibc_2.5.90-9.0.9.bb 2012-12-01 11:53:16 UTC (rev 1242)
+++ oe/branches/branch-b-series/oe/recipes/glibc/glibc_2.5.90-9.0.9.bb 2012-12-28 20:59:32 UTC (rev 1243)
@@ -59,6 +59,7 @@
file://glibc-use-isystem-include-fixed.patch \
file://glibc-arm-no-asm-page.patch \
file://march-i686.patch;striplevel=0 \
+ file://fix-compile-fs-noncase.patch \
file://stack_size.patch \
file://selp-priority.patch \
"
Added: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/p1.patch
===================================================================
--- oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/p1.patch (rev 0)
+++ oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/p1.patch 2012-12-28 20:59:32 UTC (rev 1243)
@@ -0,0 +1,350 @@
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/VERSION 2011-04-12 10:50:02.000000000 +0000
+@@ -1 +1 @@
+-3.0.1
++3.0.1-p1
+diff -Naurd mpfr-3.0.1-a/asin.c mpfr-3.0.1-b/asin.c
+--- mpfr-3.0.1-a/asin.c 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/asin.c 2011-04-12 10:50:02.000000000 +0000
+@@ -63,11 +63,14 @@
+
+ compared = mpfr_cmp_ui (xp, 1);
+
++ MPFR_SAVE_EXPO_MARK (expo);
++
+ if (MPFR_UNLIKELY (compared >= 0))
+ {
+ mpfr_clear (xp);
+ if (compared > 0) /* asin(x) = NaN for |x| > 1 */
+ {
++ MPFR_SAVE_EXPO_FREE (expo);
+ MPFR_SET_NAN (asin);
+ MPFR_RET_NAN;
+ }
+@@ -80,13 +83,11 @@
+ inexact = -mpfr_const_pi (asin, MPFR_INVERT_RND(rnd_mode));
+ MPFR_CHANGE_SIGN (asin);
+ }
+- mpfr_div_2ui (asin, asin, 1, rnd_mode); /* May underflow */
+- return inexact;
++ mpfr_div_2ui (asin, asin, 1, rnd_mode);
+ }
+ }
+-
+- MPFR_SAVE_EXPO_MARK (expo);
+-
++ else
++ {
+ /* Compute exponent of 1 - ABS(x) */
+ mpfr_ui_sub (xp, 1, xp, MPFR_RNDD);
+ MPFR_ASSERTD (MPFR_GET_EXP (xp) <= 0);
+@@ -115,6 +116,7 @@
+ inexact = mpfr_set (asin, xp, rnd_mode);
+
+ mpfr_clear (xp);
++ }
+
+ MPFR_SAVE_EXPO_FREE (expo);
+ return mpfr_check_range (asin, inexact, rnd_mode);
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h 2011-04-12 10:50:02.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1"
++#define MPFR_VERSION_STRING "3.0.1-p1"
+
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/tasin.c mpfr-3.0.1-b/tests/tasin.c
+--- mpfr-3.0.1-a/tests/tasin.c 2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/tasin.c 2011-04-12 10:50:02.000000000 +0000
+@@ -219,6 +219,49 @@
+ mpfr_clear (y);
+ }
+
++static void
++reduced_expo_range (void)
++{
++ mpfr_exp_t emin, emax;
++ mpfr_t x, y, ex_y;
++ int inex, ex_inex;
++ unsigned int flags, ex_flags;
++
++ emin = mpfr_get_emin ();
++ emax = mpfr_get_emax ();
++
++ mpfr_inits2 (4, x, y, ex_y, (mpfr_ptr) 0);
++ mpfr_set_str (x, "-0.1e1", 2, MPFR_RNDN);
++
++ mpfr_set_emin (1);
++ mpfr_set_emax (1);
++ mpfr_clear_flags ();
++ inex = mpfr_asin (y, x, MPFR_RNDA);
++ flags = __gmpfr_flags;
++ mpfr_set_emin (emin);
++ mpfr_set_emax (emax);
++
++ mpfr_set_str (ex_y, "-0.1101e1", 2, MPFR_RNDN);
++ ex_inex = -1;
++ ex_flags = MPFR_FLAGS_INEXACT;
++
++ if (SIGN (inex) != ex_inex || flags != ex_flags ||
++ ! mpfr_equal_p (y, ex_y))
++ {
++ printf ("Error in reduced_expo_range\non x = ");
++ mpfr_dump (x);
++ printf ("Expected y = ");
++ mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
++ printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags);
++ printf ("Got y = ");
++ mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
++ printf ("\n inex = %d, flags = %u\n", SIGN (inex), flags);
++ exit (1);
++ }
++
++ mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
++}
++
+ int
+ main (void)
+ {
+@@ -226,6 +269,7 @@
+
+ special ();
+ special_overflow ();
++ reduced_expo_range ();
+
+ test_generic (2, 100, 15);
+
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/version.c 2011-04-12 10:50:02.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+- return "3.0.1";
++ return "3.0.1-p1";
+ }
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION 2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/VERSION 2011-05-04 11:18:33.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p1
++3.0.1-p2
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h 2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h 2011-05-04 11:18:33.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p1"
++#define MPFR_VERSION_STRING "3.0.1-p2"
+
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/rec_sqrt.c mpfr-3.0.1-b/rec_sqrt.c
+--- mpfr-3.0.1-a/rec_sqrt.c 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/rec_sqrt.c 2011-05-04 11:18:33.000000000 +0000
+@@ -375,20 +375,37 @@
+ MPFR_ASSERTD(un == ln + 1 || un == ln + 2);
+ /* the high un-ln limbs of u will overlap the low part of {x+ln,xn},
+ we need to add or subtract the overlapping part {u + ln, un - ln} */
++ /* Warning! th may be 0, in which case the mpn_add_1 and mpn_sub_1
++ below (with size = th) mustn't be used. In such a case, the limb
++ (carry) will be 0, so that this is semantically a no-op, but if
++ mpn_add_1 and mpn_sub_1 are used, GMP (currently) still does a
++ non-atomic read/write in a place that is not always allocated,
++ with the possible consequences: a crash if the corresponding
++ address is not mapped, or (rather unlikely) memory corruption
++ if another process/thread writes at the same place; things may
++ be worse with future GMP versions. Hence the tests carry != 0. */
+ if (neg == 0)
+ {
+ if (ln > 0)
+ MPN_COPY (x, u, ln);
+ cy = mpn_add (x + ln, x + ln, xn, u + ln, un - ln);
+ /* add cu at x+un */
+- cy += mpn_add_1 (x + un, x + un, th, cu);
++ if (cu != 0)
++ {
++ MPFR_ASSERTD (th != 0);
++ cy += mpn_add_1 (x + un, x + un, th, cu);
++ }
+ }
+ else /* negative case */
+ {
+ /* subtract {u+ln, un-ln} from {x+ln,un} */
+ cy = mpn_sub (x + ln, x + ln, xn, u + ln, un - ln);
+ /* carry cy is at x+un, like cu */
+- cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
++ if (cy + cu != 0)
++ {
++ MPFR_ASSERTD (th != 0);
++ cy = mpn_sub_1 (x + un, x + un, th, cy + cu); /* n - un = th */
++ }
+ /* cy cannot be zero, since the most significant bit of Xh is 1,
+ and the correction is bounded by 2^{-h+3} */
+ MPFR_ASSERTD(cy == 0);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c 2011-04-12 10:50:02.000000000 +0000
++++ mpfr-3.0.1-b/version.c 2011-05-04 11:18:33.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+- return "3.0.1-p1";
++ return "3.0.1-p2";
+ }
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION 2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/VERSION 2011-05-05 00:00:35.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p2
++3.0.1-p3
+diff -Naurd mpfr-3.0.1-a/atan.c mpfr-3.0.1-b/atan.c
+--- mpfr-3.0.1-a/atan.c 2011-04-04 10:19:18.000000000 +0000
++++ mpfr-3.0.1-b/atan.c 2011-05-05 00:00:35.000000000 +0000
+@@ -431,5 +431,5 @@
+ MPFR_GROUP_CLEAR (group);
+
+ MPFR_SAVE_EXPO_FREE (expo);
+- return mpfr_check_range (arctgt, inexact, rnd_mode);
++ return mpfr_check_range (atan, inexact, rnd_mode);
+ }
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h 2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h 2011-05-05 00:00:35.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p2"
++#define MPFR_VERSION_STRING "3.0.1-p3"
+
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/tatan.c mpfr-3.0.1-b/tests/tatan.c
+--- mpfr-3.0.1-a/tests/tatan.c 2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/tatan.c 2011-05-05 00:00:35.000000000 +0000
+@@ -535,6 +535,52 @@
+ mpfr_clears (a, x, y, (mpfr_ptr) 0);
+ }
+
++/* http://websympa.loria.fr/wwsympa/arc/mpfr/2011-05/msg00008.html
++ * Incorrect flags (in debug mode on a 32-bit machine, assertion failure).
++ */
++static void
++reduced_expo_range (void)
++{
++ mpfr_exp_t emin, emax;
++ mpfr_t x, y, ex_y;
++ int inex, ex_inex;
++ unsigned int flags, ex_flags;
++
++ emin = mpfr_get_emin ();
++ emax = mpfr_get_emax ();
++
++ mpfr_inits2 (12, x, y, ex_y, (mpfr_ptr) 0);
++ mpfr_set_str (x, "0.1e-5", 2, MPFR_RNDN);
++
++ mpfr_set_emin (-5);
++ mpfr_set_emax (-5);
++ mpfr_clear_flags ();
++ inex = mpfr_atan (y, x, MPFR_RNDN);
++ flags = __gmpfr_flags;
++ mpfr_set_emin (emin);
++ mpfr_set_emax (emax);
++
++ mpfr_set_str (ex_y, "0.1e-5", 2, MPFR_RNDN);
++ ex_inex = 1;
++ ex_flags = MPFR_FLAGS_INEXACT;
++
++ if (SIGN (inex) != ex_inex || flags != ex_flags ||
++ ! mpfr_equal_p (y, ex_y))
++ {
++ printf ("Error in reduced_expo_range\non x = ");
++ mpfr_dump (x);
++ printf ("Expected y = ");
++ mpfr_out_str (stdout, 2, 0, ex_y, MPFR_RNDN);
++ printf ("\n inex = %d, flags = %u\n", ex_inex, ex_flags);
++ printf ("Got y = ");
++ mpfr_out_str (stdout, 2, 0, y, MPFR_RNDN);
++ printf ("\n inex = %d, flags = %u\n", SIGN (inex), flags);
++ exit (1);
++ }
++
++ mpfr_clears (x, y, ex_y, (mpfr_ptr) 0);
++}
++
+ int
+ main (int argc, char *argv[])
+ {
+@@ -546,6 +592,7 @@
+ smallvals_atan2 ();
+ atan2_bug_20071003 ();
+ atan2_different_prec ();
++ reduced_expo_range ();
+
+ test_generic_atan (2, 200, 17);
+ test_generic_atan2 (2, 200, 17);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c 2011-05-04 11:18:33.000000000 +0000
++++ mpfr-3.0.1-b/version.c 2011-05-05 00:00:35.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+- return "3.0.1-p2";
++ return "3.0.1-p3";
+ }
+diff -Naurd mpfr-3.0.1-a/PATCHES mpfr-3.0.1-b/PATCHES
+diff -Naurd mpfr-3.0.1-a/VERSION mpfr-3.0.1-b/VERSION
+--- mpfr-3.0.1-a/VERSION 2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/VERSION 2011-05-09 14:48:24.000000000 +0000
+@@ -1 +1 @@
+-3.0.1-p3
++3.0.1-p4
+diff -Naurd mpfr-3.0.1-a/mpfr.h mpfr-3.0.1-b/mpfr.h
+--- mpfr-3.0.1-a/mpfr.h 2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/mpfr.h 2011-05-09 14:48:24.000000000 +0000
+@@ -27,7 +27,7 @@
+ #define MPFR_VERSION_MAJOR 3
+ #define MPFR_VERSION_MINOR 0
+ #define MPFR_VERSION_PATCHLEVEL 1
+-#define MPFR_VERSION_STRING "3.0.1-p3"
++#define MPFR_VERSION_STRING "3.0.1-p4"
+
+ /* Macros dealing with MPFR VERSION */
+ #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
+diff -Naurd mpfr-3.0.1-a/tests/texp.c mpfr-3.0.1-b/tests/texp.c
+--- mpfr-3.0.1-a/tests/texp.c 2011-04-04 10:19:17.000000000 +0000
++++ mpfr-3.0.1-b/tests/texp.c 2011-05-09 14:48:24.000000000 +0000
+@@ -170,7 +170,9 @@
+ mpfr_set_prec (x, prec);
+ mpfr_set_prec (y, prec);
+ mpfr_set_prec (z, prec);
+- mpfr_urandomb (x, RANDS);
++ do
++ mpfr_urandomb (x, RANDS);
++ while (MPFR_IS_ZERO (x)); /* 0 is handled by mpfr_exp only */
+ rnd = RND_RAND ();
+ mpfr_exp_2 (y, x, rnd);
+ mpfr_exp_3 (z, x, rnd);
+diff -Naurd mpfr-3.0.1-a/version.c mpfr-3.0.1-b/version.c
+--- mpfr-3.0.1-a/version.c 2011-05-05 00:00:35.000000000 +0000
++++ mpfr-3.0.1-b/version.c 2011-05-09 14:48:24.000000000 +0000
+@@ -25,5 +25,5 @@
+ const char *
+ mpfr_get_version (void)
+ {
+- return "3.0.1-p3";
++ return "3.0.1-p4";
+ }
Property changes on: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr-3.0.1/p1.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr.inc
===================================================================
--- oe/branches/branch-b-series/oe/recipes/mpfr/mpfr.inc 2012-12-01 11:53:16 UTC (rev 1242)
+++ oe/branches/branch-b-series/oe/recipes/mpfr/mpfr.inc 2012-12-28 20:59:32 UTC (rev 1243)
@@ -2,5 +2,13 @@
HOMEPAGE = "http://www.mpfr.org/"
LICENSE = "GPL LGPL"
SECTION = "libs"
+BBCLASSEXTEND = "native nativesdk sdk"
+INC_PR = "r3"
inherit autotools
+
+do_fixup() {
+ rm ${S}/PATCHES || true
+}
+
+addtask fixup after do_unpack before do_patch
Deleted: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.0.bb
===================================================================
--- oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.0.bb 2012-12-01 11:53:16 UTC (rev 1242)
+++ oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.0.bb 2012-12-28 20:59:32 UTC (rev 1243)
@@ -1,16 +0,0 @@
-require mpfr.inc
-
-DEPENDS = "gmp"
-S = "${WORKDIR}/mpfr-${PV}"
-NATIVE_INSTALL_WORKS = "1"
-PR = "r2"
-BBCLASSEXTEND = "native"
-
-SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \
- file://p3.patch"
-
-# fix build in thumb mode for armv4t
-SRC_URI_append_thumb = " file://long-long-thumb.patch"
-
-SRC_URI[md5sum] = "f45bac3584922c8004a10060ab1a8f9f"
-SRC_URI[sha256sum] = "8f4e5f9c53536cb798a30455ac429b1f9fc75a0f8af32d6e0ac31ebf1024821f"
Added: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.1.bb
===================================================================
--- oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.1.bb (rev 0)
+++ oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.1.bb 2012-12-28 20:59:32 UTC (rev 1243)
@@ -0,0 +1,23 @@
+require mpfr.inc
+
+DEPENDS = "gmp"
+S = "${WORKDIR}/mpfr-${PV}"
+NATIVE_INSTALL_WORKS = "1"
+PR = "${INC_PR}.1"
+
+#MobiAqua: fixed p1.patch
+SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2 \
+ file://p1.patch"
+
+# fix build in thumb mode for armv4t
+SRC_URI_append_thumb = " file://long-long-thumb.patch"
+
+EXTRA_OECONF_append_virtclass-native = " --enable-static"
+
+#MobiAqua: added DYLD_LIBRARY_PATH path for conftest with gmp library
+do_configure_prepend_build-darwin () {
+ export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${STAGING_LIBDIR}"
+}
+
+SRC_URI[md5sum] = "bfbecb2eacb6d48432ead5cfc3f7390a"
+SRC_URI[sha256sum] = "e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f"
Property changes on: oe/branches/branch-b-series/oe/recipes/mpfr/mpfr_3.0.1.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <to...@us...> - 2012-12-01 11:53:24
|
Revision: 1242
http://samygo.svn.sourceforge.net/samygo/?rev=1242&view=rev
Author: tom_van
Date: 2012-12-01 11:53:16 +0000 (Sat, 01 Dec 2012)
Log Message:
-----------
slsnif and screen packages - working on A-series sh4
Added Paths:
-----------
oe/branches/branch-0-0-1/oe/packages/screen/
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/configure.patch
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/cross-compile.patch
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-stropts.patch
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-utempter.patch
oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/sched.patch
oe/branches/branch-0-0-1/oe/packages/screen/screen_4.0.3.bb
oe/branches/branch-0-0-1/oe/packages/slsnif/
oe/branches/branch-0-0-1/oe/packages/slsnif/slsnif_0.4.4.bb
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/configure.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/configure.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/configure.patch 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,664 @@
+Index: screen-4.0.3/configure.in
+===================================================================
+--- screen-4.0.3.orig/configure.in 2009-09-11 16:59:24.085222816 -0700
++++ screen-4.0.3/configure.in 2009-09-11 18:42:08.338231443 -0700
+@@ -12,7 +12,7 @@
+ dnl
+ dnl Define some useful macros
+ dnl
+-AC_DEFUN(AC_PROGRAM_SOURCE,
++AC_DEFUN([AC_PROGRAM_SOURCE],
+ [AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
+ #include "confdefs.h"
+ [$1]
+@@ -362,6 +362,7 @@
+ AC_PROG_GCC_TRADITIONAL
+ AC_ISC_POSIX
+
++AC_MSG_CHECKING([for compiler sanity])
+ AC_TRY_RUN(main(){exit(0);},,[
+ if test $CC != cc ; then
+ AC_NOTE(Your $CC failed - restarting with CC=cc)
+@@ -370,22 +371,17 @@
+ export CC
+ exec $0 $configure_args
+ fi
+-])
+-
+-AC_TRY_RUN(main(){exit(0);},,
+-exec 5>&2
+-eval $ac_link
+-AC_NOTE(CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;)
+-AC_NOTE($ac_compile)
+-AC_MSG_ERROR(Can't run the compiler - sorry))
++],AC_MSG_WARN([skipping test due to crosscompilation]))
+
++AC_MSG_CHECKING([if compiler sets exit status])
+ AC_TRY_RUN([
+ main()
+ {
+ int __something_strange_();
+ __something_strange_(0);
+ }
+-],AC_MSG_ERROR(Your compiler does not set the exit status - sorry))
++],AC_MSG_ERROR(Your compiler does not set the exit status - sorry),,
++AC_MSG_WARN(skipping test due to crosscompilation))
+
+ AC_PROG_AWK
+
+@@ -419,6 +415,7 @@
+ dnl
+ dnl **** special unix variants ****
+ dnl
++AH_TEMPLATE(ISC,[])
+ if test -n "$ISC"; then
+ AC_DEFINE(ISC) LIBS="$LIBS -linet"
+ fi
+@@ -430,11 +427,13 @@
+ dnl fi
+ dnl fi
+
++AH_TEMPLATE([sysV68],[])
+ if test -f /sysV68 ; then
+ AC_DEFINE(sysV68)
+ fi
+
+ AC_CHECKING(for MIPS)
++AH_TEMPLATE([MIPS],[])
+ if test -f /lib/libmld.a || test -f /usr/lib/libmld.a || test -f /usr/lib/cmplrs/cc/libmld.a; then
+ oldlibs="$LIBS"
+ test -f /bin/mx || LIBS="$LIBS -lmld" # for nlist. But not on alpha.
+@@ -448,6 +447,8 @@
+ AC_CHECKING(wait3)
+ AC_TRY_LINK(,[wait3();], ,
+ AC_CHECKING(wait2)
++AH_TEMPLATE([USE_WAIT2],[On RISCOS we prefer wait2() over wait3(). ro...@sn...])
++dnl TODO(Hannes) shipped config.h.in wraps the define in #ifdef BSDWAIT
+ AC_TRY_LINK(,[wait2();],
+ dnl John Rouillard (ro...@sn...):
+ dnl need -I/usr/include/bsd in RISCOS otherwise sockets are broken, no
+@@ -470,9 +471,11 @@
+ oldlibs="$LIBS"
+ LIBS="$LIBS -lpyr"
+ AC_CHECKING(Pyramid OSX)
++AH_TEMPLATE([OSX], [Pyramid OSX])
+ AC_TRY_LINK(,[open_controlling_pty("")], AC_DEFINE(OSX), LIBS="$oldlibs")
+ fi
+
++AH_TEMPLATE([POSIX],[Define POSIX if your system supports IEEE Std 1003.1-1988 (POSIX).])
+ dnl gh...@ca... (Kaveh R. Ghazi):
+ dnl BBN butterfly is not POSIX, but a MACH BSD system.
+ dnl Do not define POSIX and TERMIO.
+@@ -499,6 +502,7 @@
+ fi
+
+ AC_CHECKING(for System V)
++AH_TEMPLATE([SYSV], [Define SYSV if your machine is SYSV complient (Sys V, HPUX, A/UX)])
+ AC_TRY_COMPILE(
+ [#include <sys/types.h>
+ #include <signal.h>
+@@ -514,6 +518,8 @@
+ oldlibs="$LIBS"
+ LIBS="$LIBS -lelf"
+ AC_CHECKING(SVR4)
++AH_TEMPLATE([SVR4])
++AH_TEMPLATE([BUGGYGETLOGIN])
+ AC_TRY_LINK([#include <utmpx.h>
+ ],,
+ [AC_CHECK_HEADER(dwarf.h, AC_DEFINE(SVR4) AC_DEFINE(BUGGYGETLOGIN),
+@@ -551,6 +557,9 @@
+ dnl
+
+ AC_CHECKING(BSD job jontrol)
++AH_TEMPLATE([BSDJOBS],
++[Define BSDJOBS if you have BSD-style job control (both process
++ groups and a tty that deals correctly with them)])
+ AC_TRY_LINK(
+ [#include <sys/types.h>
+ #include <sys/ioctl.h>
+@@ -571,6 +580,10 @@
+ dnl **** setreuid(), seteuid() ****
+ dnl
+ AC_CHECKING(setreuid)
++AH_TEMPLATE([HAVE_SETREUID],
++[If your system has the calls setreuid() and setregid(),
++ define HAVE_SETREUID. Otherwise screen will use a forked process to
++ safely create output files without retaining any special privileges.])
+ AC_TRY_LINK(,[
+ #ifdef __hpux
+ setresuid(0, 0, 0);
+@@ -585,6 +598,9 @@
+ dnl Solaris seteuid doesn't change the saved uid, bad for
+ dnl multiuser screen sessions
+ AC_CHECKING(seteuid)
++AH_TEMPLATE([HAVE_SETEUID],
++[If your system supports BSD4.4's seteuid() and setegid(), define
++ HAVE_SETEUID.])
+ AC_TRY_LINK(,[
+ #if defined(linux) || defined(NeXT) || defined(_AUX_SOURCE) || defined(AUX) || defined(ultrix) || (defined(sun) && defined(SVR4)) || defined(ISC) || defined(sony_news)
+ seteuid_is_broken(0);
+@@ -609,6 +625,8 @@
+ dnl
+
+ AC_CHECKING(fifos)
++AC_CACHE_CHECK([usable fifos],
++ [screen_cv_sys_fifo_usable],
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -673,12 +691,15 @@
+ exit(1);
+ exit(0);
+ }
+-], AC_NOTE(- your fifos are usable) fifo=1,
+-AC_NOTE(- your fifos are not usable))
++], screen_cv_sys_fifo_usable=yes, screen_cv_sys_fifo_usable=no))
+ rm -f /tmp/conftest*
+
+-if test -n "$fifo"; then
+-AC_CHECKING(for broken fifo implementation)
++if test X"$screen_cv_sys_fifo_usable" = Xyes; then
++AH_TEMPLATE([BROKEN_PIPE],
++[Define this if your system exits select() immediatly if a pipe is
++ opened read-only and no writer has opened it.])
++AC_CACHE_CHECK([broken fifo implementation],
++ [screen_cv_sys_fifo_broken_impl],
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <fcntl.h>
+@@ -723,8 +744,11 @@
+ exit(1);
+ exit(0);
+ }
+-], AC_NOTE(- your implementation is ok),
+-AC_NOTE(- you have a broken implementation) AC_DEFINE(BROKEN_PIPE) fifobr=1)
++], screen_cv_sys_fifo_broken_impl=no,
++screen_cv_sys_fifo_broken_impl=yes))
++if test X"$screen_cv_sys_fifo_broken_impl" = Xyes; then
++ AC_DEFINE(BROKEN_PIPE)
++fi
+ rm -f /tmp/conftest*
+ fi
+
+@@ -735,6 +759,8 @@
+ dnl
+
+ AC_CHECKING(sockets)
++AC_CACHE_CHECK([sockets are usable],
++ [screen_cv_sys_sockets_usable],
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+@@ -785,12 +811,16 @@
+ exit(1);
+ exit(0);
+ }
+-], AC_NOTE(- your sockets are usable) sock=1,
+-AC_NOTE(- your sockets are not usable))
+-rm -f /tmp/conftest*
++], screen_cv_sys_sockets_usable=yes,
++screen_cv_sys_sockets_usable=no))
+
+-if test -n "$sock"; then
++if test X"$screen_cv_sys_sockets_usable" = Xyes; then
+ AC_CHECKING(socket implementation)
++AH_TEMPLATE([SOCK_NOT_IN_FS],
++[Define this if the unix-domain socket implementation doesn't
++ create a socket in the filesystem.])
++AC_CACHE_CHECK([if sockets are not stored in the filesystem],
++ [screen_cv_sys_sockets_nofs],
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -816,22 +846,25 @@
+ close(s);
+ exit(0);
+ }
+-],AC_NOTE(- you are normal),
+-AC_NOTE(- unix domain sockets are not kept in the filesystem)
+-AC_DEFINE(SOCK_NOT_IN_FS) socknofs=1)
+-rm -f /tmp/conftest*
++], screen_cv_sys_sockets_nofs=no,
++screen_cv_sys_sockets_nofs=yes))
++
++if test X"$screen_cv_sys_sockets_nofs" = Xyes; then
++ AC_DEFINE(SOCK_NOT_IN_FS)
++fi
+ fi
+
+
+ dnl
+ dnl **** choose sockets or fifos ****
+ dnl
+-if test -n "$fifo"; then
+- if test -n "$sock"; then
+- if test -n "$nore"; then
++AH_TEMPLATE([NAMEDPIPE], [Define this if your system supports named pipes.])
++if test X"$screen_cv_sys_fifo_usable" = Xyes; then
++ if test X"$screen_cv_sys_sockets_usable" = Xyes; then
++ if test X"$screen_cv_sys_sockets_nofs" = Xyes; then
+ AC_NOTE(- hmmm... better take the fifos)
+ AC_DEFINE(NAMEDPIPE)
+- elif test -n "$fifobr"; then
++ elif test X"$screen_cv_sys_fifo_broken_impl" = Xyes; then
+ AC_NOTE(- as your fifos are broken lets use the sockets.)
+ else
+ AC_NOTE(- both sockets and fifos usable. let's take fifos.)
+@@ -841,7 +874,7 @@
+ AC_NOTE(- using named pipes, of course)
+ AC_DEFINE(NAMEDPIPE)
+ fi
+-elif test -n "$sock"; then
++elif test X"$screen_cv_sys_sockets_usable" = Xyes; then
+ AC_NOTE(- using unix-domain sockets, of course)
+ else
+ AC_MSG_ERROR(you have neither usable sockets nor usable pipes -> no screen)
+@@ -851,7 +884,11 @@
+ dnl **** check the select implementation ****
+ dnl
+
+-AC_CHECKING(select return value)
++AH_TEMPLATE([SELECT_BROKEN],
++[If the select return value doesn't treat a descriptor that is
++ usable for reading and writing as two hits, define SELECT_BROKEN.])
++AC_CACHE_CHECK([for broken select return value],
++ [screen_cv_sys_select_broken_retval],
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -950,17 +987,26 @@
+ exit(1);
+ exit(0);
+ }
+-],AC_NOTE(- select is ok),
+-AC_NOTE(- select can't count) AC_DEFINE(SELECT_BROKEN))
++], screen_cv_sys_select_broken_retval=no,
++screen_cv_sys_select_broken_retval=yes))
++if test X"$screen_cv_sys_select_broken_retval" = Xyes; then
++ AC_DEFINE(SELECT_BROKEN)
++fi
+
+ dnl
+ dnl **** termcap or terminfo ****
+ dnl
++AH_TEMPLATE([TERMINFO],
++[Define TERMINFO if your machine emulates the termcap routines
++ with the terminfo database.
++ Thus the .screenrc file is parsed for
++ the command 'terminfo' and not 'termcap'])
++
+ AC_CHECKING(for tgetent)
+ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+ olibs="$LIBS"
+-LIBS="-lcurses $olibs"
+ AC_CHECKING(libcurses)
++AC_CHECK_LIB(ncursesw,tgetent)
+ AC_TRY_LINK(,[
+ #ifdef __hpux
+ __sorry_hpux_libcurses_is_totally_broken_in_10_10();
+@@ -979,24 +1025,39 @@
+ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+ AC_MSG_ERROR(!!! no tgetent - no screen))))))
+
+-AC_TRY_RUN([
++AC_CACHE_CHECK([using terminfo database],[screen_cv_sys_terminfo_used],
++ AC_TRY_RUN([
+ main()
+ {
+ exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
+-}], AC_NOTE(- you use the termcap database),
+-AC_NOTE(- you use the terminfo database) AC_DEFINE(TERMINFO))
++}
++ ], screen_cv_sys_terminfo_used=no,
++ screen_cv_sys_terminfo_used=yes)
++)
++
++if test X"$screen_cv_sys_terminfo_used" = Xyes; then
++ AC_DEFINE(TERMINFO)
++fi
++
+ AC_CHECKING(ospeed)
++AH_TEMPLATE([NEED_OSPEED],[If your library does not define ospeed, define this.])
+ AC_TRY_LINK(extern short ospeed;,ospeed=5;,,AC_DEFINE(NEED_OSPEED))
+
+ dnl
+ dnl **** PTY specific things ****
+ dnl
++AH_TEMPLATE([HAVE_DEV_PTC],
++[define HAVE_DEV_PTC if you have a /dev/ptc character special
++ device.])
+ AC_CHECKING(for /dev/ptc)
+ if test -r /dev/ptc; then
+ AC_DEFINE(HAVE_DEV_PTC)
+ fi
+
+ AC_CHECKING(for SVR4 ptys)
++AH_TEMPLATE([HAVE_SVR4_PTYS],
++[define HAVE_SVR4_PTYS if you have a /dev/ptmx character special
++ device and support the ptsname(), grantpt(), unlockpt() functions.])
+ sysvr4ptys=
+ if test -c /dev/ptmx ; then
+ AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
+@@ -1012,6 +1073,13 @@
+ fi
+
+ AC_CHECKING(for ptyranges)
++AH_TEMPLATE([PTYRANGE0],
++[define PTYRANGE0 and or PTYRANGE1 if you want to adapt screen
++ to unusual environments. E.g. For SunOs the defaults are "qpr" and
++ "0123456789abcdef". For SunOs 4.1.2
++ #define PTYRANGE0 "pqrstuvwxyzPQRST"
++ is recommended by Dan Jacobson.])
++AH_TEMPLATE([PTYRANGE1],[])
+ if test -d /dev/ptym ; then
+ pdir='/dev/ptym'
+ else
+@@ -1117,7 +1185,7 @@
+ AC_NOTE(- ptys are world accessable)
+ fi
+ else
+- AC_NOTE(- can't determine - assume ptys are world accessable)
++ AC_NOTE(- cannot determine - assume ptys are world accessable)
+ fi
+ ]
+ )
+@@ -1128,6 +1196,7 @@
+ dnl **** utmp handling ****
+ dnl
+ AC_CHECKING(getutent)
++AH_TEMPLATE([GETUTENT], [If your system has setutent() and getutent() define GETUTENT])
+ AC_TRY_LINK([
+ #include <time.h> /* to get time_t on SCO */
+ #include <sys/types.h>
+@@ -1141,7 +1210,8 @@
+ #define pututline _pututline
+ #endif
+ ],
+-[int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();], AC_DEFINE(GETUTENT),
++[int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();],
++[AC_MSG_RESULT(yes); AC_DEFINE(GETUTENT)],[AC_MSG_RESULT(no)])
+ olibs="$LIBS"
+ LIBS="$LIBS -lgen"
+ AC_CHECKING(getutent with -lgen)
+@@ -1158,9 +1228,11 @@
+ #define pututline _pututline
+ #endif
+ ],
+-[int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();], AC_DEFINE(GETUTENT), LIBS="$olibs")
+-)
++[int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();],
++[AC_MSG_RESULT(yes); AC_DEFINE(GETUTENT)], [AC_MSG_RESULT(no)])
++LIBS="$olibs"
+ AC_CHECKING(ut_host)
++AH_TEMPLATE([UTHOST])
+ AC_TRY_COMPILE([
+ #include <time.h>
+ #include <sys/types.h>
+@@ -1171,6 +1243,7 @@
+ #include <utmp.h>
+ #endif
+ ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST))
++AH_TEMPLATE([HAVE_UTEMPTER])
+ AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
+ if test "$have_utempter" = yes; then
+ AC_DEFINE(HAVE_UTEMPTER)
+@@ -1180,20 +1253,39 @@
+ dnl
+ dnl **** loadav ****
+ dnl
++
++AH_TEMPLATE([LOADAV],
++[If you want the "time" command to display the current load average
++ define LOADAV. Maybe you must install screen with the needed
++ privileges to read /dev/kmem.
++ Note that NLIST_ stuff is only checked, when getloadavg() is not available.
++])
++AH_TEMPLATE([LOADAV_NUM])
++AH_TEMPLATE([LOADAV_TYPE])
++AH_TEMPLATE([LOADAV_SCALE])
++AH_TEMPLATE([LOADAV_GETLOADAVG])
++AH_TEMPLATE([LOADAV_UNIX])
++AH_TEMPLATE([LOADAV_AVENRUN])
++AH_TEMPLATE([LOADAV_USE_NLIST64])
++
++AH_TEMPLATE([NLIST_DECLARED])
++AH_TEMPLATE([NLIST_STRUCT])
++AH_TEMPLATE([NLIST_NAME_UNION])
++
+ AC_CHECKING(for libutil(s))
+-test -f /usr/lib/libutils.a && LIBS="$LIBS -lutils"
+-test -f /usr/lib/libutil.a && LIBS="$LIBS -lutil"
++dnl I have no idea whether "login" is an appropriate symbol to check for here - Hannes
++AC_CHECK_LIB(utils,login)
++AC_CHECK_LIB(util,login)
+
+ AC_CHECKING(getloadavg)
+ AC_TRY_LINK(,[getloadavg((double *)0, 0);],
+ AC_DEFINE(LOADAV_GETLOADAVG) load=1,
+-if test -f /usr/lib/libkvm.a ; then
+ olibs="$LIBS"
+-LIBS="$LIBS -lkvm"
++AC_CHECK_LIB(kvm,kvm_open,
+ AC_CHECKING(getloadavg with -lkvm)
+ AC_TRY_LINK(,[getloadavg((double *)0, 0);],
+ AC_DEFINE(LOADAV_GETLOADAVG) load=1, LIBS="$olibs")
+-fi
++)
+ )
+
+ if test -z "$load" ; then
+@@ -1335,6 +1427,11 @@
+ dnl
+ dnl **** signal handling ****
+ dnl
++
++AH_TEMPLATE([SIGVOID],
++[Define SIGVOID if your signal handlers return void. On older
++ systems, signal returns int, but on newer ones, it returns void.])
++
+ if test -n "$posix" ; then
+
+ dnl POSIX has reliable signals with void return type.
+@@ -1344,6 +1441,7 @@
+ else
+
+ AC_CHECKING(return type of signal handlers)
++AH_TEMPLATE([USESIGSET], [Define USESIGSET if you have sigset for BSD 4.1 reliable signals.])
+ AC_TRY_COMPILE(
+ [#include <sys/types.h>
+ #include <signal.h>
+@@ -1363,6 +1461,9 @@
+ #endif
+ ], AC_DEFINE(USESIGSET))
+ AC_CHECKING(signal implementation)
++AH_TEMPLATE([SYSVSIGS],
++[Define SYSVSIGS if signal handlers must be reinstalled after
++ they have been called.])
+ AC_TRY_RUN([
+ #include <sys/types.h>
+ #include <signal.h>
+@@ -1405,13 +1506,14 @@
+ dnl
+
+ AC_CHECKING(for crypt and sec libraries)
+-test -f /lib/libcrypt_d.a || test -f /usr/lib/libcrypt_d.a && LIBS="$LIBS -lcrypt_d"
++dnl I have no idea whether "crypt" is an appropriate symbol to check for here - Hannes
++AC_CHECK_LIB(crypt_d,crypt)
+ oldlibs="$LIBS"
+-LIBS="$LIBS -lcrypt"
+ AC_CHECKING(crypt)
+ AC_TRY_LINK(,,,LIBS="$oldlibs")
+-test -f /lib/libsec.a || test -f /usr/lib/libsec.a && LIBS="$LIBS -lsec"
+-test -f /lib/libshadow.a || test -f /usr/lib/libshadow.a && LIBS="$LIBS -lshadow"
++AC_CHECK_LIB(crypt,crypt)
++AC_CHECK_LIB(sec,crypt)
++AC_CHECK_LIB(shadow,getspnam)
+ oldlibs="$LIBS"
+ LIBS="$LIBS -lsun"
+ AC_CHECKING(IRIX sun library)
+@@ -1434,6 +1536,13 @@
+ dnl **** misc things ****
+ dnl
+ AC_CHECKING(wait union)
++AH_TEMPLATE([BSDWAIT],
++[Define BSDWAIT if your system defines a 'union wait' in <sys/wait.h>
++
++ Only allow BSDWAIT i.e. wait3 on nonposix systems, since
++ posix implies wait(3) and waitpid(3). vdl...@fw...
++ TODO(Hannes) shipped config.h.in does that with a #ifdef
++])
+ AC_TRY_COMPILE([#include <sys/types.h>
+ #include <sys/wait.h>
+ ],[
+@@ -1444,6 +1553,13 @@
+ #endif
+ ],AC_DEFINE(BSDWAIT))
+
++AH_TEMPLATE([TERMIO],
++[Define TERMIO if you have struct termio instead of struct sgttyb.
++ This is usually the case for SVID systems, where BSD uses sgttyb.
++ POSIX systems should define this anyway, even though they use
++ struct termios.])
++
++
+ if test -z "$butterfly"; then
+ AC_CHECKING(for termio or termios)
+ AC_TRY_CPP([#include <termio.h>], AC_DEFINE(TERMIO),
+@@ -1453,17 +1569,35 @@
+ )
+ fi
+
++AH_TEMPLATE([CYTERMIO], [Define CYTERMIO if you have cyrillic termio modes.])
++
+ dnl AC_CHECK_HEADER(shadow.h, AC_DEFINE(SHADOWPW))
+ AC_CHECKING(getspnam)
++AH_TEMPLATE([SHADOWPW],
++[If the passwords are stored in a shadow file and you want the
++ builtin lock to work properly, define SHADOWPW.])
+ AC_TRY_LINK([#include <shadow.h>], [getspnam("x");],AC_DEFINE(SHADOWPW))
+
+ AC_CHECKING(getttyent)
++AH_TEMPLATE([GETTTYENT],
++[If your system has the new format /etc/ttys (like 4.3 BSD) and the
++ getttyent(3) library functions, define GETTTYENT.])
+ AC_TRY_LINK(,[getttyent();], AC_DEFINE(GETTTYENT))
+
+ AC_CHECKING(fdwalk)
++AH_TEMPLATE([HAVE_FDWALK],
++[Newer versions of Solaris include fdwalk, which can greatly improve
++ the startup time of screen; otherwise screen spends a lot of time
++ closing file descriptors.])
+ AC_TRY_LINK([#include <stdlib.h>], [fdwalk(NULL, NULL);],AC_DEFINE(HAVE_FDWALK))
+
+-AC_CHECKING(whether memcpy/memmove/bcopy handles overlapping arguments)
++AH_TEMPLATE([USEBCOPY],
++[Define USEBCOPY if the bcopy/memcpy from your system's C library
++ supports the overlapping of source and destination blocks. When
++ undefined, screen uses its own (probably slower) version of bcopy().])
++
++AC_CACHE_CHECK([if bcopy handles overlap],
++ [screen_cv_sys_bcopy_overlap],
+ AC_TRY_RUN([
+ main() {
+ char buf[10];
+@@ -1476,7 +1610,21 @@
+ if (strncmp(buf, "cdedef", 6))
+ exit(1);
+ exit(0); /* libc version works properly. */
+-}], AC_DEFINE(USEBCOPY))
++}], screen_cv_sys_bcopy_overlap=yes,
++screen_cv_sys_bcopy_overlap=no))
++if test X"$screen_cv_sys_bcopy_overlap" = Xyes; then
++ AC_DEFINE(USEBCOPY)
++fi
++
++AH_TEMPLATE([USEMEMMOVE],
++[SYSV machines may have a working memcpy() -- Oh, this is
++ quite unlikely. Tell me if you see one.
++ "But then, memmove() should work, if at all available" he thought...
++ Boing, never say "works everywhere" unless you checked SCO UNIX.
++ Their memove fails the test in the configure script. Sigh. (Juergen)
++])
++AC_CACHE_CHECK([if memmove handles overlap],
++ [screen_cv_sys_memmove_overlap],
+
+ AC_TRY_RUN([
+ #define bcopy(s,d,l) memmove(d,s,l)
+@@ -1491,9 +1639,15 @@
+ if (strncmp(buf, "cdedef", 6))
+ exit(1);
+ exit(0); /* libc version works properly. */
+-}], AC_DEFINE(USEMEMMOVE))
+-
++}], screen_cv_sys_memmove_overlap=yes,
++screen_cv_sys_memmove_overlap=no))
++if test X"$screen_cv_sys_memmove_overlap" = Xyes; then
++ AC_DEFINE(USEMEMMOVE)
++fi
+
++AH_TEMPLATE([USEMEMCPY],[])
++AC_CACHE_CHECK([if memcpy handles overlap],
++ [screen_cv_sys_memcpy_overlap],
+ AC_TRY_RUN([
+ #define bcopy(s,d,l) memcpy(d,s,l)
+ main() {
+@@ -1507,9 +1661,19 @@
+ if (strncmp(buf, "cdedef", 6))
+ exit(1);
+ exit(0); /* libc version works properly. */
+-}], AC_DEFINE(USEMEMCPY))
++}], screen_cv_sys_memcpy_overlap=yes,
++screen_cv_sys_memcpy_overlap=no))
++if test X"$screen_cv_sys_memcpy_overlap" = Xyes; then
++ AC_DEFINE(USEMEMCPY)
++fi
+
+ AC_MSG_CHECKING(long file names)
++AH_TEMPLATE([NAME_MAX],
++[If you are on a SYS V machine that restricts filename length to 14
++ characters, you may need to enforce that by setting NAME_MAX to 14])
++dnl TODO(Hannes) shipped config.h.in has
++dnl #undef NAME_MAX /* KEEP_UNDEF_HERE override system value */
++dnl ahead of this
+ (echo 1 > /tmp/conftest9012345) 2>/dev/null
+ (echo 2 > /tmp/conftest9012346) 2>/dev/null
+ val=`cat /tmp/conftest9012345 2>/dev/null`
+@@ -1522,17 +1686,28 @@
+ rm -f /tmp/conftest*
+
+ AC_MSG_CHECKING(for vsprintf)
++AH_TEMPLATE([USEVARARGS],
++[If your system has vsprintf() and requires the use of the macros in
++ "varargs.h" to use functions with variable arguments,
++ define USEVARARGS.])
+ AC_TRY_LINK(,[vsprintf(0,0,0);], AC_MSG_RESULT(yes);AC_DEFINE(USEVARARGS), AC_MSG_RESULT(no))
+
+ AC_HEADER_DIRENT
+
+ AC_MSG_CHECKING(for setenv)
++AH_TEMPLATE([USESETENV], [If your system has setenv() and unsetenv() define USESETENV])
+ AC_TRY_LINK(,[setenv((char *)0,(char *)0);unsetenv((char *)0);], AC_MSG_RESULT(yes);AC_DEFINE(USESETENV),
+ AC_MSG_RESULT(no)
+ AC_MSG_CHECKING(for putenv)
++AH_TEMPLATE([NEEDPUTENV],
++[If your system does not come with a setenv()/putenv()/getenv()
++ functions, you may bring in our own code by defining NEEDPUTENV.])
+ AC_TRY_LINK(,[putenv((char *)0);unsetenv((char *)0);], AC_MSG_RESULT(yes) , AC_MSG_RESULT(no);AC_DEFINE(NEEDPUTENV)
+ ))
+ AC_MSG_CHECKING([for nl_langinfo(CODESET)])
++AH_TEMPLATE([HAVE_NL_LANGINFO],
++[define HAVE_NL_LANGINFO if your system has the nl_langinfo() call
++ and <langinfo.h> defines CODESET.])
+ AC_TRY_LINK([
+ #include <langinfo.h>
+ ],[nl_langinfo(CODESET);], AC_MSG_RESULT(yes);AC_DEFINE(HAVE_NL_LANGINFO), AC_MSG_RESULT(no))
+@@ -1582,7 +1757,8 @@
+ dnl Ptx bug workaround -- insert -lc after -ltermcap
+ test -n "$seqptx" && LIBS="-ltermcap -lc -lsocket -linet -lnsl -lsec -lseq"
+
+-AC_TRY_RUN(main(){exit(0);},,AC_MSG_ERROR(Can't run the compiler - internal error. Sorry.))
++AC_MSG_CHECKING(compiler sanity)
++AC_TRY_RUN(main(){exit(0);},,AC_MSG_ERROR(Can't run the compiler - internal error. Sorry.), AC_MSG_WARN(Skipping test due to crosscompilation))
+
+ ETCSCREENRC="\"/usr/local/etc/screenrc\""
+ if test -n "$prefix"; then
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/configure.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/cross-compile.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/cross-compile.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/cross-compile.patch 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,331 @@
+
+Patch by Hannes Reich (ha...@sk...) 22-Jul-2005
+Resolves _some_ of the cross-compilation issues in screen's configure.in
+
+Index: screen-4.0.3/configure.in
+===================================================================
+--- screen-4.0.3.orig/configure.in 2003-06-03 04:58:24.000000000 -0700
++++ screen-4.0.3/configure.in 2009-09-11 16:15:04.533739171 -0700
+@@ -40,6 +40,322 @@
+ AC_PREFIX_PROGRAM(screen)
+ AC_PREFIX_PROGRAM(gzip)
+
++AH_TOP([
++/* Copyright (c) 1993-2000
++ * Juergen Weigert (jnw...@im...)
++ * Michael Schroeder (mls...@im...)
++ * Copyright (c) 1987 Oliver Laumann
++ *
++ * 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; either version 2, or (at your option)
++ * any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program (see the file COPYING); if not, write to the
++ * Free Software Foundation, Inc.,
++ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
++ *
++ */
++
++
++/**********************************************************************
++ *
++ * User Configuration Section
++ */
++
++/*
++ * Maximum of simultaneously allowed windows per screen session.
++ */
++#ifndef MAXWIN
++# define MAXWIN 40
++#endif
++
++/*
++ * Define SOCKDIR to be the directory to contain the named sockets
++ * screen creates. This should be in a common subdirectory, such as
++ * /usr/local or /tmp. It makes things a little more secure if you
++ * choose a directory which is not writable by everyone or where the
++ * "sticky" bit is on, but this isn't required.
++ * If SOCKDIR is not defined screen will put the named sockets in
++ * the user's home directory. Notice that this can cause you problems
++ * if some user's HOME directories are AFS- or NFS-mounted. Especially
++ * AFS is unlikely to support named sockets.
++ *
++ * Screen will name the subdirectories "S-$USER" (e.g /tmp/S-davison).
++ */
++#undef SOCKDIR
++
++/*
++ * Define this if the SOCKDIR is not shared between hosts.
++ */
++#define SOCKDIR_IS_LOCAL_TO_HOST
++
++/*
++ * Screen sources two startup files. First a global file with a path
++ * specified here, second your local $HOME/.screenrc
++ * Don't define this, if you don't want it.
++ */
++#ifndef ETCSCREENRC
++# define ETCSCREENRC "/usr/local/etc/screenrc"
++#endif
++
++/*
++ * Screen can look for the environment variable $SYSSCREENRC and -if it
++ * exists- load the file specified in that variable as global screenrc.
++ * If you want to enable this feature, define ALLOW_SYSSCREENRC to one (1).
++ * Otherwise ETCSCREENRC is always loaded.
++ */
++#define ALLOW_SYSSCREENRC 1
++
++/*
++ * Screen needs encoding files for the translation of utf8
++ * into some encodings, e.g. JIS, BIG5.
++ * Only needed if FONT, ENCODINGS and UTF8 are defined.
++ */
++#ifndef SCREENENCODINGS
++# define SCREENENCODINGS "/usr/local/lib/screen/encodings"
++#endif
++/*
++ * Define CHECKLOGIN to force Screen users to enter their Unix password
++ * in addition to the screen password.
++ *
++ * Define NOSYSLOG if yo do not have logging facilities. Currently
++ * syslog() will be used to trace ``su'' commands only.
++ */
++#define CHECKLOGIN 1
++#undef NOSYSLOG
++
++
++/*
++ * define PTYMODE if you do not like the default of 0622, which allows
++ * public write to your pty.
++ * define PTYGROUP to some numerical group-id if you do not want the
++ * tty to be in "your" group.
++ * Note, screen is unable to change mode or group of the pty if it
++ * is not installed with sufficient privilege. (e.g. set-uid-root)
++ * define PTYROFS if the /dev/pty devices are mounted on a read-only
++ * filesystem so screen should not even attempt to set mode or group
++ * even if running as root (e.g. on TiVo).
++ */
++#undef PTYMODE
++#undef PTYGROUP
++#undef PTYROFS
++
++/*
++ * If screen is NOT installed set-uid root, screen can provide tty
++ * security by exclusively locking the ptys. While this keeps other
++ * users from opening your ptys, it also keeps your own subprocesses
++ * from being able to open /dev/tty. Define LOCKPTY to add this
++ * exclusive locking.
++ */
++#undef LOCKPTY
++
++/*
++ * If you'd rather see the status line on the first line of your
++ * terminal rather than the last, define TOPSTAT.
++ */
++#undef TOPSTAT
++
++/*
++ * define DETACH can detach a session. An absolute 'must'.
++ */
++#define DETACH
++
++/*
++ * here come the erlangen extensions to screen:
++ * define LOCK if you want to use a lock program for a screenlock.
++ * define PASSWORD for secure reattach of your screen.
++ * define COPY_PASTE to use the famous hacker's treasure zoo.
++ * define POW_DETACH to have a detach_and_logout key (requires DETACH).
++ * define REMOTE_DETACH (-d option) to move screen between terminals.
++ * define AUTO_NUKE to enable Tim MacKenzies clear screen nuking
++ * define PSEUDOS to allow window input/output filtering
++ * define MULTI to allow multiple attaches.
++ * define MULTIUSER to allow other users attach to your session
++ * (if they are in the acl, of course)
++ * define MAPKEYS to include input keyboard translation.
++ * define FONT to support ISO2022/alternet charset support
++ * define COLOR to include ansi color support. This may expose
++ * a bug in x11r6-color-xterm.
++ * define DW_CHARS to include support for double-width character
++ * sets.
++ * define ENCODINGS to include support for encodings like euc or big5.
++ * Needs FONT to work.
++ * define UTF8 if you want support for UTF-8 encoding.
++ * Needs FONT and ENCODINGS to work.
++ * define COLORS16 if you want 16 colors.
++ * Needs COLOR to work.
++ * define BUILTIN_TELNET to add telnet support to screen.
++ * Syntax: screen //telnet host [port]
++ * define RXVT_OSC if you want support for rxvts special
++ * change fgcolor/bgcolor/bgpicture sequences
++ */
++#undef SIMPLESCREEN
++#ifndef SIMPLESCREEN
++# define LOCK
++# define PASSWORD
++# define COPY_PASTE
++# define REMOTE_DETACH
++# define POW_DETACH
++# define AUTO_NUKE
++# define PSEUDOS
++# define MULTI
++# define MULTIUSER
++# define MAPKEYS
++# define COLOR
++# define FONT
++# define DW_CHARS
++# define ENCODINGS
++# define UTF8
++# define COLORS16
++# define ZMODEM
++# define BLANKER_PRG
++#endif /* SIMPLESCREEN */
++
++#undef BUILTIN_TELNET
++#undef RXVT_OSC
++#undef COLORS256
++
++
++/*
++ * If you have a braille display you should define HAVE_BRAILLE.
++ * The code inside #ifdef HAVE_BRAILLE was contributed by Hadi Bargi
++ * Rangin (ba...@do...).
++ * WARNING: this is more or less unsupported code, it may be full of
++ * bugs leading to security holes, enable at your own risk!
++ */
++#undef HAVE_BRAILLE
++
++
++/*
++ * As error messages are mostly meaningless to the user, we
++ * try to throw out phrases that are somewhat more familiar
++ * to ...well, at least familiar to us NetHack players.
++ */
++#ifndef NONETHACK
++# define NETHACK
++#endif /* NONETHACK */
++
++/*
++ * If screen is installed with permissions to update /etc/utmp (such
++ * as if it is installed set-uid root), define UTMPOK.
++ */
++#define UTMPOK
++
++/* Set LOGINDEFAULT to one (1)
++ * if you want entries added to /etc/utmp by default, else set it to
++ * zero (0).
++ * LOGINDEFAULT will be one (1) whenever LOGOUTOK is undefined!
++ */
++#define LOGINDEFAULT 1
++
++/* Set LOGOUTOK to one (1)
++ * if you want the user to be able to log her/his windows out.
++ * (Meaning: They are there, but not visible in /etc/utmp).
++ * Disabling this feature only makes sense if you have a secure /etc/utmp
++ * database.
++ * Negative examples: suns usually have a world writable utmp file,
++ * xterm will run perfectly without s-bit.
++ *
++ * If LOGOUTOK is undefined and UTMPOK is defined, all windows are
++ * initially and permanently logged in.
++ *
++ * Set CAREFULUTMP to one (1) if you want that users have at least one
++ * window per screen session logged in.
++ */
++#define LOGOUTOK 1
++#undef CAREFULUTMP
++
++
++/*
++ * If UTMPOK is defined and your system (incorrectly) counts logins by
++ * counting non-null entries in /etc/utmp (instead of counting non-null
++ * entries with no hostname that are not on a pseudo tty), define USRLIMIT
++ * to have screen put an upper-limit on the number of entries to write
++ * into /etc/utmp. This helps to keep you from exceeding a limited-user
++ * license.
++ */
++#undef USRLIMIT
++
++/*
++ * both must be defined if you want to favor tcsendbreak over
++ * other calls to generate a break condition on serial lines.
++ * (Do not bother, if you are not using plain tty windows.)
++ */
++#define POSIX_HAS_A_GOOD_TCSENDBREAK
++#define SUNOS4_AND_WE_TRUST_TCSENDBREAK
++
++/*
++ * to lower the interrupt load on the host machine, you may want to
++ * adjust the VMIN and VTIME settings used for plain tty windows.
++ * See the termio(4) manual page (Non-Canonical Mode Input Processing)
++ * for details.
++ * if undefined, VMIN=1, VTIME=0 is used as a default - this gives you
++ * best user responsiveness, but highest interrupt frequency.
++ * (Do not bother, if you are not using plain tty windows.)
++ */
++#define TTYVMIN 100
++#define TTYVTIME 2
++
++/*
++ * looks like the above values are ignored by setting FNDELAY.
++ * This is default for all pty/ttys, you may disable it for
++ * ttys here. After playing with it for a while, one may find out
++ * that this feature may cause screen to lock up.
++ */
++#ifdef bsdi
++# define TTY_DISABLE_FNBLOCK /* select barfs without it ... */
++#endif
++
++
++/*
++ * Some terminals, e.g. Wyse 120, use a bitfield to select attributes.
++ * This doesn't work with the standard so/ul/m? terminal entries,
++ * because they will cancel each other out.
++ * On TERMINFO machines, "sa" (sgr) may work. If you want screen
++ * to switch attributes only with sgr, define USE_SGR.
++ * This is *not* recomended, do this only if you must.
++ */
++#undef USE_SGR
++
++
++/*
++ * Define USE_LOCALE if you want screen to use the locale names
++ * for the name of the month and day of the week.
++ */
++#define USE_LOCALE
++
++/*
++ * Define USE_PAM if your system supports PAM (Pluggable Authentication
++ * Modules) and you want screen to use it instead of calling crypt().
++ * (You may also need to add -lpam to LIBS in the Makefile.)
++ */
++#undef USE_PAM
++
++/*
++ * Define CHECK_SCREEN_W if you want screen to set TERM to screen-w
++ * if the terminal width is greater than 131 columns. No longer needed
++ * on modern systems which use $COLUMNS or the tty settings instead.
++ */
++#undef CHECK_SCREEN_W
++
++/**********************************************************************
++ *
++ * End of User Configuration Section
++ *
++ * Rest of this file is modified by 'configure'
++ * Change at your own risk!
++ *
++ */
++])
++# end of AH_TOP
++
+ old_CFLAGS="$CFLAGS"
+ AC_PROG_CC
+ AC_PROG_CPP
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/cross-compile.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-stropts.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-stropts.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-stropts.patch 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,13 @@
+Index: screen-4.0.3/pty.c
+===================================================================
+--- screen-4.0.3.orig/pty.c 2009-09-11 15:44:44.881250800 -0700
++++ screen-4.0.3/pty.c 2009-09-11 15:45:28.077862097 -0700
+@@ -34,7 +34,7 @@
+ #endif
+
+ /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
+-#ifdef HAVE_SVR4_PTYS
++#if defined HAVE_SVR4_PTYS && !defined __UCLIBC__
+ # include <sys/stropts.h>
+ #endif
+
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-stropts.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-utempter.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-utempter.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-utempter.patch 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,17 @@
+Index: screen-4.0.3/configure.in
+===================================================================
+--- screen-4.0.3.orig/configure.in 2009-09-11 18:42:08.338231443 -0700
++++ screen-4.0.3/configure.in 2009-09-11 18:43:39.378663533 -0700
+@@ -1243,12 +1243,6 @@
+ #include <utmp.h>
+ #endif
+ ],[struct utmp u; u.ut_host[0] = 0;], AC_DEFINE(UTHOST))
+-AH_TEMPLATE([HAVE_UTEMPTER])
+-AC_CHECK_HEADER(utempter.h, have_utempter=yes, have_utempter=no)
+-if test "$have_utempter" = yes; then
+- AC_DEFINE(HAVE_UTEMPTER)
+- LIBS="$LIBS -lutempter"
+-fi
+
+ dnl
+ dnl **** loadav ****
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/no-utempter.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/sched.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/sched.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/sched.patch 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,20 @@
+diff -urN screen-4.0.3-orig/sched.h screen-4.0.3/sched.h
+--- screen-4.0.3-orig/sched.h 2002-01-08 16:42:43.000000000 +0100
++++ screen-4.0.3/sched.h 2009-01-13 14:53:15.000000000 +0100
+@@ -22,6 +22,10 @@
+ * $Id: sched.h,v 1.1.1.1 1993/06/16 23:51:13 jnweiger Exp $ FAU
+ */
+
++#ifndef _SCHED_H_
++#define _SCHED_H_ 1
++#include <sys/types.h>
++
+ struct event
+ {
+ struct event *next;
+@@ -41,3 +45,4 @@
+ #define EV_READ 1
+ #define EV_WRITE 2
+ #define EV_ALWAYS 3
++#endif
+
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen-4.0.3/sched.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/screen/screen_4.0.3.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/screen/screen_4.0.3.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/screen/screen_4.0.3.bb 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,22 @@
+DESCRIPTION = "Screen is a full-screen window manager \
+that multiplexes a physical terminal between several \
+processes, typically interactive shells."
+LICENSE = "GPL"
+SECTION = "console/utils"
+DEPENDS = "ncurses"
+PR = "r2"
+
+SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \
+ file://cross-compile.patch;patch=1 \
+ file://configure.patch;patch=1 \
+ file://sched.patch;patch=1 \
+ file://no-stropts.patch;patch=1 \
+ file://no-utempter.patch;patch=1 \
+ "
+
+inherit autotools
+
+EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5"
+
+SRC_URI[md5sum] = "8506fd205028a96c741e4037de6e3c42"
+SRC_URI[sha256sum] = "78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77"
Property changes on: oe/branches/branch-0-0-1/oe/packages/screen/screen_4.0.3.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/slsnif/slsnif_0.4.4.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/slsnif/slsnif_0.4.4.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/slsnif/slsnif_0.4.4.bb 2012-12-01 11:53:16 UTC (rev 1242)
@@ -0,0 +1,16 @@
+DESCRIPTION = "slsnif is a serial line sniffer. \
+It listens to the specified serial port and logs all data coming through it. \
+slsnif works transparently for both the device connected to the serial port \
+and the controlling software for this device."
+LICENSE = "GPL"
+SECTION = "console"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/slsnif/${P}.tar.gz"
+
+inherit autotools
+
+
+
+SRC_URI[md5sum] = "78eeff8ba36ee0c3a954ec0878d2a997"
+SRC_URI[sha256sum] = "315eb08a14255c137b435cb4f3c1dbfa67427be1c6bec62ff77a54246161c83e"
Property changes on: oe/branches/branch-0-0-1/oe/packages/slsnif/slsnif_0.4.4.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-13 10:35:42
|
Revision: 1241
http://samygo.svn.sourceforge.net/samygo/?rev=1241&view=rev
Author: arris69
Date: 2012-10-13 10:35:36 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
e d series bdplayer fix
Modified Paths:
--------------
patcher/branches/pcre/SamyGO Firmware Patcher.py
Modified: patcher/branches/pcre/SamyGO Firmware Patcher.py
===================================================================
--- patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 10:17:39 UTC (rev 1240)
+++ patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 10:35:36 UTC (rev 1241)
@@ -902,10 +902,10 @@
elif firmware.startswith("T-MST5"):#T-MST5
secret = "SHWJUH:eceb2c14-db11-425e-9ebf-5f9607f0eb4b-3c38193e-751e-4719-8884-"
secret += "9e76322c0cec"
+ elif firmware.startswith("B-FIRU") or firmware.startswith("B-FIRH") or firmware.startswith("B-FIRBP7"):#bd-6* really ok for all FIR*???
+ secret = "SHWJUH:db48ad51-c784-4f06-af57-1070a910c536-6a028bb5-e83e-45da-b326-a3a39ccba26c"
elif firmware.startswith("B-FIRB"):#tested with B-FIRBPEWWC
secret = "d6442d-7b46b2f4-0f11-4623-af63-8bb0a0d54c80-a22fbe2c-1bb5-49cc-b194-25c0f2b870f4"
- elif firmware.startswith("B-FIRU") or firmware.startswith("B-FIRH"):#bd-6* really ok for all FIR*???
- secret = "SHWJUH:db48ad51-c784-4f06-af57-1070a910c536-6a028bb5-e83e-45da-b326-a3a39ccba26c"
elif firmware.startswith("T-MST4"):
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
sys.exit()
@@ -1000,7 +1000,7 @@
A=["T-RBYDEUC"]
B=["T-CHL7DEUC","T-CHL5DEUC","T-CHE7AUSC","T-CHL7DAUC","T-CHU7DAUC","T-CHU7DEUC"]
Bp=["T-CHLCIPDEUC","T-CHL5CIPDEUC","T-CHL6CIPDEUC","T-CHUCIPDEUC"]
- BDd=["B-FIRURDEUC","B-FIRHTBEUC","B-FIRHRDEUM","B-FIRHRDEUC"] #make also new type for BS...???
+ BDd=["B-FIRURDEUC","B-FIRHTBEUC","B-FIRHRDEUM","B-FIRHRDEUC","B-FIRBP7WWC"] #make also new type for BS...???
BDe=["B-FIRBPEWWC"] #e-series bd-player
C=["T-VALDEUC","T-VAL4DEUC","T-TDT5DAAC","T-MSX5DAAC","T-MSX5DEUC"]
D=["T-GASDEUC","T-GAS6DEUC","T-GAPDEUC","T-GAP8DEUC","T-MST4DEUC"]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-13 10:17:45
|
Revision: 1240
http://samygo.svn.sourceforge.net/samygo/?rev=1240&view=rev
Author: arris69
Date: 2012-10-13 10:17:39 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
extra check added for sec enc file names, parameter dropped
Modified Paths:
--------------
patcher/branches/pcre/SamyGO Firmware Patcher.py
Modified: patcher/branches/pcre/SamyGO Firmware Patcher.py
===================================================================
--- patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 10:12:33 UTC (rev 1239)
+++ patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 10:17:39 UTC (rev 1240)
@@ -1054,7 +1054,7 @@
print "Processing file", f
if f.endswith('enc'):#maybe already decrypted sec file...
encmode='CI'
- print "ups, file alredy decrypted??? pls. manually cleanup, delete *.enc and *.img files in firmware directory" , f
+ print "ups, file alredy decrypted??? pls. manually cleanup, delete *.enc and *.img files in firmware directory"
return
if( encmode == 'CI+'):
encfile = AESdec( fwdir + os.path.sep + f, firmware=key[0] )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-13 10:12:39
|
Revision: 1239
http://samygo.svn.sourceforge.net/samygo/?rev=1239&view=rev
Author: arris69
Date: 2012-10-13 10:12:33 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
extra check added for sec enc file names
Modified Paths:
--------------
patcher/branches/pcre/SamyGO Firmware Patcher.py
Modified: patcher/branches/pcre/SamyGO Firmware Patcher.py
===================================================================
--- patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 09:29:45 UTC (rev 1238)
+++ patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 10:12:33 UTC (rev 1239)
@@ -83,7 +83,7 @@
f.seek(-40, 2)
a = f.read()
f.seek(0)
- match = re.search(r'([TB]-\w{4,13})[TB]-', a)
+ match = re.search(r'.*([TB]-\w{4,13})[TB]-.*', a)
if match:
keyData = match.group(1)
print 'found', match.group(1)
@@ -1052,6 +1052,10 @@
print "AES Encrytped CI+ firmware detected."
for f in files:
print "Processing file", f
+ if f.endswith('enc'):#maybe already decrypted sec file...
+ encmode='CI'
+ print "ups, file alredy decrypted??? pls. manually cleanup, delete *.enc and *.img files in firmware directory" , f
+ return
if( encmode == 'CI+'):
encfile = AESdec( fwdir + os.path.sep + f, firmware=key[0] )
else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-13 09:29:51
|
Revision: 1238
http://samygo.svn.sourceforge.net/samygo/?rev=1238&view=rev
Author: arris69
Date: 2012-10-13 09:29:45 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
pcre branch first try...
Modified Paths:
--------------
patcher/branches/pcre/SamyGO Firmware Patcher.py
Modified: patcher/branches/pcre/SamyGO Firmware Patcher.py
===================================================================
--- patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 09:26:30 UTC (rev 1237)
+++ patcher/branches/pcre/SamyGO Firmware Patcher.py 2012-10-13 09:29:45 UTC (rev 1238)
@@ -60,6 +60,7 @@
import struct
import stat
import time
+import re
#XOR file with given key, (slow!)
def xor(fileTarget, key=''):
@@ -82,8 +83,13 @@
f.seek(-40, 2)
a = f.read()
f.seek(0)
- a = a[a.find( 'T-' ):]
- keyData = a[:a[1:].find( 'T-' )+1]
+ match = re.search(r'([TB]-\w{4,13})[TB]-', a)
+ if match:
+ keyData = match.group(1)
+ print 'found', match.group(1)
+ else:
+ print 'Fatal Error: no XOR key found.'
+ sys.exit()
print "XOR Key : ", keyData
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-13 09:26:36
|
Revision: 1237
http://samygo.svn.sourceforge.net/samygo/?rev=1237&view=rev
Author: arris69
Date: 2012-10-13 09:26:30 +0000 (Sat, 13 Oct 2012)
Log Message:
-----------
use python re module
Added Paths:
-----------
patcher/branches/pcre/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-10 22:56:31
|
Revision: 1236
http://samygo.svn.sourceforge.net/samygo/?rev=1236&view=rev
Author: arris69
Date: 2012-10-10 22:56:25 +0000 (Wed, 10 Oct 2012)
Log Message:
-----------
some e-series bd-player keys
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-10-06 08:11:03 UTC (rev 1235)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-10-10 22:56:25 UTC (rev 1236)
@@ -49,7 +49,8 @@
#version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
#version = '0.31BetaBlue' #Added support for B-FIR* not all tested!!!.
#version = '0.32' #cleanup on bd-players.
-version = '0.33' #Key for T-MST10P added.
+#version = '0.33' #Key for T-MST10P added.
+version = '0.34' #Key for ECBHRDEUC, FIRBPEWW (BD-E8???, BD-E6???).
import os
import sys
import binascii
@@ -895,10 +896,9 @@
elif firmware.startswith("T-MST5"):#T-MST5
secret = "SHWJUH:eceb2c14-db11-425e-9ebf-5f9607f0eb4b-3c38193e-751e-4719-8884-"
secret += "9e76322c0cec"
- elif firmware.startswith("B-FIRB"):
- print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
- sys.exit()
- elif firmware.startswith("B-FIR"):#bd-6* really ok for all FIR*???
+ elif firmware.startswith("B-FIRB"):#tested with B-FIRBPEWWC
+ secret = "d6442d-7b46b2f4-0f11-4623-af63-8bb0a0d54c80-a22fbe2c-1bb5-49cc-b194-25c0f2b870f4"
+ elif firmware.startswith("B-FIRU") or firmware.startswith("B-FIRH"):#bd-6* really ok for all FIR*???
secret = "SHWJUH:db48ad51-c784-4f06-af57-1070a910c536-6a028bb5-e83e-45da-b326-a3a39ccba26c"
elif firmware.startswith("T-MST4"):
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
@@ -906,13 +906,12 @@
elif firmware.startswith("T-ECP"):
secret = "3EF6067262CF0C678598BFF22169D1F1EA57C284"
elif firmware.startswith("T-MST10P"):
- secret = "64643832616639333062653862323030363630326137666362653132333762383532643463616431"
+ secret = "b4c136-fbc93576-b3e8-4035-bf4e-ba4cb4ada1ac-f0d81cc4-8301-4832-bd60-f331295743ba"
elif firmware.startswith("T-MST"):# 9P
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
sys.exit()
elif firmware.startswith("B-ECB"):
- print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
- sys.exit()
+ secret = "SHWJUH:8fb684a9-84c1-46cf-aa81-977bce241542-6db4c136-8540-4ee4-8704-d9cd18590d11"
elif firmware.startswith("T-VAL"):#C series AES key
secret += "00001abc2010"
elif firmware.startswith("T-TDT"):
@@ -930,7 +929,7 @@
key = hashlib.md5()
iv = hashlib.md5()
- if len( secret )==40 or firmware.startswith("T-MST10P"):#E-Series uses binary pass
+ if len( secret )==40:#E-Series binary pass
key.update( binascii.unhexlify(secret) + salt )
iv.update( key.digest() + binascii.unhexlify(secret) + salt )
else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-10-06 08:11:09
|
Revision: 1235
http://samygo.svn.sourceforge.net/samygo/?rev=1235&view=rev
Author: arris69
Date: 2012-10-06 08:11:03 +0000 (Sat, 06 Oct 2012)
Log Message:
-----------
s.... firenze modules
Modified Paths:
--------------
SamyGO-Extensions/CoreScript/trunk/rcSGO
Modified: SamyGO-Extensions/CoreScript/trunk/rcSGO
===================================================================
--- SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-09-27 16:54:33 UTC (rev 1234)
+++ SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-10-06 08:11:03 UTC (rev 1235)
@@ -116,9 +116,19 @@
mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
elif [ $(grep -c "0062" /.version) -eq 1 ] ; then
mv $SYSROOT/lib/modules/62/* $SYSROOT/lib/modules/ || echo "not first run..."
+ elif [ $(grep -c "0063" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/63/* $SYSROOT/lib/modules/ || echo "not first run..."
+ elif [ $(grep -c "1006" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/1006/* $SYSROOT/lib/modules/ || echo "not first run..."
+ elif [ $(grep -c "1008" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/1008/* $SYSROOT/lib/modules/ || echo "not first run..."
else
- echo "no e-series?"
+ echo "NOP"
fi
+#"Firenze 1008" KERNEL MODULE VERSION : "1007_275"
+#"Firenze 1006" KERNEL MODULE VERSION : "1006_274"
+
+
echo "export MOD_DIR=$SYSROOT/lib/modules/$KERN_VER" >> /dtv/SGO.env
echo "export TMPDIR=/dtv" >> /dtv/SGO.env
echo "export HOME=$NEW_HOME" >> /dtv/SGO.env
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-27 16:54:39
|
Revision: 1234
http://samygo.svn.sourceforge.net/samygo/?rev=1234&view=rev
Author: arris69
Date: 2012-09-27 16:54:33 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
T-MST10P key found...
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-09-24 21:02:05 UTC (rev 1233)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-09-27 16:54:33 UTC (rev 1234)
@@ -48,7 +48,8 @@
#version = '0.30' #Added C & D image decryption support. SamyGO function partitioned...
#version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
#version = '0.31BetaBlue' #Added support for B-FIR* not all tested!!!.
-version = '0.32' #cleanup on bd-players.
+#version = '0.32' #cleanup on bd-players.
+version = '0.33' #Key for T-MST10P added.
import os
import sys
import binascii
@@ -904,7 +905,9 @@
sys.exit()
elif firmware.startswith("T-ECP"):
secret = "3EF6067262CF0C678598BFF22169D1F1EA57C284"
- elif firmware.startswith("T-MST"):#10P & 9P
+ elif firmware.startswith("T-MST10P"):
+ secret = "64643832616639333062653862323030363630326137666362653132333762383532643463616431"
+ elif firmware.startswith("T-MST"):# 9P
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
sys.exit()
elif firmware.startswith("B-ECB"):
@@ -927,7 +930,7 @@
key = hashlib.md5()
iv = hashlib.md5()
- if len( secret )==40:#E-Series uses binary pass
+ if len( secret )==40 or firmware.startswith("T-MST10P"):#E-Series uses binary pass
key.update( binascii.unhexlify(secret) + salt )
iv.update( key.digest() + binascii.unhexlify(secret) + salt )
else:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-24 21:02:11
|
Revision: 1233
http://samygo.svn.sourceforge.net/samygo/?rev=1233&view=rev
Author: arris69
Date: 2012-09-24 21:02:05 +0000 (Mon, 24 Sep 2012)
Log Message:
-----------
BlueRay cleanups...
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-09-23 11:18:34 UTC (rev 1232)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-09-24 21:02:05 UTC (rev 1233)
@@ -47,7 +47,8 @@
#version = '0.26' #Upgrade arfix-sh4 for T-RBYDEUC 1013.1 to version 1.2 (tom_van)
#version = '0.30' #Added C & D image decryption support. SamyGO function partitioned...
#version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
-version = '0.31BetaBlue' #Added support for B-FIR* not all tested!!!.
+#version = '0.31BetaBlue' #Added support for B-FIR* not all tested!!!.
+version = '0.32' #cleanup on bd-players.
import os
import sys
import binascii
@@ -893,6 +894,9 @@
elif firmware.startswith("T-MST5"):#T-MST5
secret = "SHWJUH:eceb2c14-db11-425e-9ebf-5f9607f0eb4b-3c38193e-751e-4719-8884-"
secret += "9e76322c0cec"
+ elif firmware.startswith("B-FIRB"):
+ print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
+ sys.exit()
elif firmware.startswith("B-FIR"):#bd-6* really ok for all FIR*???
secret = "SHWJUH:db48ad51-c784-4f06-af57-1070a910c536-6a028bb5-e83e-45da-b326-a3a39ccba26c"
elif firmware.startswith("T-MST4"):
@@ -988,7 +992,7 @@
A=["T-RBYDEUC"]
B=["T-CHL7DEUC","T-CHL5DEUC","T-CHE7AUSC","T-CHL7DAUC","T-CHU7DAUC","T-CHU7DEUC"]
Bp=["T-CHLCIPDEUC","T-CHL5CIPDEUC","T-CHL6CIPDEUC","T-CHUCIPDEUC"]
- BDd=["B-FIRURDEUC","B-FIRHTBEUC","B-FIRHRDEUM"] #make also new type for BS...???
+ BDd=["B-FIRURDEUC","B-FIRHTBEUC","B-FIRHRDEUM","B-FIRHRDEUC"] #make also new type for BS...???
BDe=["B-FIRBPEWWC"] #e-series bd-player
C=["T-VALDEUC","T-VAL4DEUC","T-TDT5DAAC","T-MSX5DAAC","T-MSX5DEUC"]
D=["T-GASDEUC","T-GAS6DEUC","T-GAPDEUC","T-GAP8DEUC","T-MST4DEUC"]
@@ -1014,8 +1018,10 @@
return "Ex"
elif firmware.startswith("T-GA") or firmware.startswith("T-MST"):
return "D"
- elif firmware.startswith("B-FIR"):
+ elif firmware.startswith("B-FIRU") or firmware.startswith("B-FIRH"):
return "BDd"
+ elif firmware.startswith("B-FIRB"):
+ return "BDe"
def DecryptAll( in_dir ):
if not os.path.isdir( in_dir ):
@@ -1029,7 +1035,7 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = os.listdir( fwdir )
files = [i for i in files if i.endswith('sec') or i.endswith('enc')]
- if SamsungSerie(key[0]) in ('B+','C','D','BDd','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BDd','BDe','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
@@ -1129,12 +1135,12 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = ['Image','exe.img','appext.img','rootfs.img','appdata.img','boot.img','onboot.bin','u-boot.bin','uboot_env.bin','onw.bin','fnw.bin','tlib.img','cmm.img','rocommon.img','emanual.img','rwcommon.img']
files = [i for i in files if os.path.isfile(fwdir+os.path.sep+i)]
- if SamsungSerie(key[0]) in ('B+','C','D','BDd','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BDd','BDe','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
- if SamsungSerie(key[0]) in ('BDd','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BDd','BDe','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
@@ -1166,10 +1172,10 @@
realdir = os.path.realpath( in_dir )
key = open( realdir + os.path.sep + 'image' + os.path.sep + 'info.txt' , 'r' ).read().split(' ');
firmware=key[0]
- if SamsungSerie(firmware) in ('C','D','BDd','Eb','Ep','Ex'):
+ if SamsungSerie(firmware) in ('C','D','BDd','BDe','Eb','Ep','Ex'):
encmode='CI+'
- if SamsungSerie(key[0]) in ('BDd','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BDd','BDe','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-23 11:18:45
|
Revision: 1232
http://samygo.svn.sourceforge.net/samygo/?rev=1232&view=rev
Author: arris69
Date: 2012-09-23 11:18:34 +0000 (Sun, 23 Sep 2012)
Log Message:
-----------
B-FIRBPEWWC is e-series
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-09-23 09:24:20 UTC (rev 1231)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-09-23 11:18:34 UTC (rev 1232)
@@ -988,7 +988,8 @@
A=["T-RBYDEUC"]
B=["T-CHL7DEUC","T-CHL5DEUC","T-CHE7AUSC","T-CHL7DAUC","T-CHU7DAUC","T-CHU7DEUC"]
Bp=["T-CHLCIPDEUC","T-CHL5CIPDEUC","T-CHL6CIPDEUC","T-CHUCIPDEUC"]
- BD=["B-FIRURDEUC","B-FIRBPEWWC","B-FIRHTBEUC","B-FIRHRDEUM"] #make also new type for BS...???
+ BDd=["B-FIRURDEUC","B-FIRHTBEUC","B-FIRHRDEUM"] #make also new type for BS...???
+ BDe=["B-FIRBPEWWC"] #e-series bd-player
C=["T-VALDEUC","T-VAL4DEUC","T-TDT5DAAC","T-MSX5DAAC","T-MSX5DEUC"]
D=["T-GASDEUC","T-GAS6DEUC","T-GAPDEUC","T-GAP8DEUC","T-MST4DEUC"]
Eb=["B-ECBHRDEUC"] #just preparation!!
@@ -1014,7 +1015,7 @@
elif firmware.startswith("T-GA") or firmware.startswith("T-MST"):
return "D"
elif firmware.startswith("B-FIR"):
- return "BD"
+ return "BDd"
def DecryptAll( in_dir ):
if not os.path.isdir( in_dir ):
@@ -1028,7 +1029,7 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = os.listdir( fwdir )
files = [i for i in files if i.endswith('sec') or i.endswith('enc')]
- if SamsungSerie(key[0]) in ('B+','C','D','BD','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BDd','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
@@ -1128,12 +1129,12 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = ['Image','exe.img','appext.img','rootfs.img','appdata.img','boot.img','onboot.bin','u-boot.bin','uboot_env.bin','onw.bin','fnw.bin','tlib.img','cmm.img','rocommon.img','emanual.img','rwcommon.img']
files = [i for i in files if os.path.isfile(fwdir+os.path.sep+i)]
- if SamsungSerie(key[0]) in ('B+','C','D','BD','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BDd','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
- if SamsungSerie(key[0]) in ('BD','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BDd','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
@@ -1165,10 +1166,10 @@
realdir = os.path.realpath( in_dir )
key = open( realdir + os.path.sep + 'image' + os.path.sep + 'info.txt' , 'r' ).read().split(' ');
firmware=key[0]
- if SamsungSerie(firmware) in ('C','D','BD','Eb','Ep','Ex'):
+ if SamsungSerie(firmware) in ('C','D','BDd','Eb','Ep','Ex'):
encmode='CI+'
- if SamsungSerie(key[0]) in ('BD','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BDd','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-23 09:24:32
|
Revision: 1231
http://samygo.svn.sourceforge.net/samygo/?rev=1231&view=rev
Author: arris69
Date: 2012-09-23 09:24:20 +0000 (Sun, 23 Sep 2012)
Log Message:
-----------
FIR stuff added
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-09-12 08:19:05 UTC (rev 1230)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-09-23 09:24:20 UTC (rev 1231)
@@ -46,7 +46,8 @@
#Need to test with SquashFS telnet after release!
#version = '0.26' #Upgrade arfix-sh4 for T-RBYDEUC 1013.1 to version 1.2 (tom_van)
#version = '0.30' #Added C & D image decryption support. SamyGO function partitioned...
-version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
+#version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
+version = '0.31BetaBlue' #Added support for B-FIR* not all tested!!!.
import os
import sys
import binascii
@@ -892,6 +893,8 @@
elif firmware.startswith("T-MST5"):#T-MST5
secret = "SHWJUH:eceb2c14-db11-425e-9ebf-5f9607f0eb4b-3c38193e-751e-4719-8884-"
secret += "9e76322c0cec"
+ elif firmware.startswith("B-FIR"):#bd-6* really ok for all FIR*???
+ secret = "SHWJUH:db48ad51-c784-4f06-af57-1070a910c536-6a028bb5-e83e-45da-b326-a3a39ccba26c"
elif firmware.startswith("T-MST4"):
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
sys.exit()
@@ -985,6 +988,7 @@
A=["T-RBYDEUC"]
B=["T-CHL7DEUC","T-CHL5DEUC","T-CHE7AUSC","T-CHL7DAUC","T-CHU7DAUC","T-CHU7DEUC"]
Bp=["T-CHLCIPDEUC","T-CHL5CIPDEUC","T-CHL6CIPDEUC","T-CHUCIPDEUC"]
+ BD=["B-FIRURDEUC","B-FIRBPEWWC","B-FIRHTBEUC","B-FIRHRDEUM"] #make also new type for BS...???
C=["T-VALDEUC","T-VAL4DEUC","T-TDT5DAAC","T-MSX5DAAC","T-MSX5DEUC"]
D=["T-GASDEUC","T-GAS6DEUC","T-GAPDEUC","T-GAP8DEUC","T-MST4DEUC"]
Eb=["B-ECBHRDEUC"] #just preparation!!
@@ -1009,6 +1013,8 @@
return "Ex"
elif firmware.startswith("T-GA") or firmware.startswith("T-MST"):
return "D"
+ elif firmware.startswith("B-FIR"):
+ return "BD"
def DecryptAll( in_dir ):
if not os.path.isdir( in_dir ):
@@ -1022,7 +1028,7 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = os.listdir( fwdir )
files = [i for i in files if i.endswith('sec') or i.endswith('enc')]
- if SamsungSerie(key[0]) in ('B+','C','D','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BD','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
@@ -1084,6 +1090,7 @@
else:
print 'CRC Validation passed'
+ #add check that decryptor created .enc file or it was originaly shipped!!!!
elif os.path.isfile( realdir+os.path.sep+'image'+os.path.sep+'exe.img.enc' ):
encmode = 'CI'
targetfile = realdir+os.path.sep+'image'+os.path.sep+'exe.img.enc'
@@ -1121,12 +1128,12 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = ['Image','exe.img','appext.img','rootfs.img','appdata.img','boot.img','onboot.bin','u-boot.bin','uboot_env.bin','onw.bin','fnw.bin','tlib.img','cmm.img','rocommon.img','emanual.img','rwcommon.img']
files = [i for i in files if os.path.isfile(fwdir+os.path.sep+i)]
- if SamsungSerie(key[0]) in ('B+','C','D','Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('B+','C','D','BD','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
- if SamsungSerie(key[0]) in ('Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BD','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
@@ -1158,10 +1165,10 @@
realdir = os.path.realpath( in_dir )
key = open( realdir + os.path.sep + 'image' + os.path.sep + 'info.txt' , 'r' ).read().split(' ');
firmware=key[0]
- if SamsungSerie(firmware) in ('C','D','Eb','Ep','Ex'):
+ if SamsungSerie(firmware) in ('C','D','BD','Eb','Ep','Ex'):
encmode='CI+'
- if SamsungSerie(key[0]) in ('Eb','Ep','Ex'):
+ if SamsungSerie(key[0]) in ('BD','Eb','Ep','Ex'):
print 'Not supported in public release, too dangerous!!!'
sys.exit()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-12 08:19:15
|
Revision: 1230
http://samygo.svn.sourceforge.net/samygo/?rev=1230&view=rev
Author: arris69
Date: 2012-09-12 08:19:05 +0000 (Wed, 12 Sep 2012)
Log Message:
-----------
eliminate senseless hosts
Modified Paths:
--------------
SamyGO-Extensions/InitScripts/trunk/init.d/01_04_server_replacement.init
Modified: SamyGO-Extensions/InitScripts/trunk/init.d/01_04_server_replacement.init
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/01_04_server_replacement.init 2012-09-05 19:52:23 UTC (rev 1229)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/01_04_server_replacement.init 2012-09-12 08:19:05 UTC (rev 1230)
@@ -19,6 +19,9 @@
# '${DEPLOY_SERVER}' test.samsungotn.net
# '${DEPLOY_SERVER}' www.samsungrm.net
# '${DEPLOY_SERVER}' test.samsungrm.net
+# disable samsung advertisement...
+# '${DEPLOY_SERVER}' ad.samsungadhub.com
+# '${DEPLOY_SERVER}' rd.samsungadhub.com
# end of hosts file' > /mtd_rwarea/hosts
/bin/mount -o bind /mtd_rwarea/hosts /etc/hosts
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-05 19:52:29
|
Revision: 1229
http://samygo.svn.sourceforge.net/samygo/?rev=1229&view=rev
Author: arris69
Date: 2012-09-05 19:52:23 +0000 (Wed, 05 Sep 2012)
Log Message:
-----------
handle modules for mst10 too, fixed path
Modified Paths:
--------------
SamyGO-Extensions/CoreScript/trunk/rcSGO
Modified: SamyGO-Extensions/CoreScript/trunk/rcSGO
===================================================================
--- SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-09-05 19:17:06 UTC (rev 1228)
+++ SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-09-05 19:52:23 UTC (rev 1229)
@@ -115,7 +115,7 @@
elif [ $(grep -c "0081" /.version) -eq 1 ] ; then
mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
elif [ $(grep -c "0062" /.version) -eq 1 ] ; then
- mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
+ mv $SYSROOT/lib/modules/62/* $SYSROOT/lib/modules/ || echo "not first run..."
else
echo "no e-series?"
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-09-05 19:17:15
|
Revision: 1228
http://samygo.svn.sourceforge.net/samygo/?rev=1228&view=rev
Author: arris69
Date: 2012-09-05 19:17:06 +0000 (Wed, 05 Sep 2012)
Log Message:
-----------
handle modules for mst10 too
Modified Paths:
--------------
SamyGO-Extensions/CoreScript/trunk/rcSGO
Modified: SamyGO-Extensions/CoreScript/trunk/rcSGO
===================================================================
--- SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-08-30 07:28:35 UTC (rev 1227)
+++ SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-09-05 19:17:06 UTC (rev 1228)
@@ -114,6 +114,8 @@
mv $SYSROOT/lib/modules/80/* $SYSROOT/lib/modules/ || echo "not first run..."
elif [ $(grep -c "0081" /.version) -eq 1 ] ; then
mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
+ elif [ $(grep -c "0062" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
else
echo "no e-series?"
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-08-30 07:28:42
|
Revision: 1227
http://samygo.svn.sourceforge.net/samygo/?rev=1227&view=rev
Author: arris69
Date: 2012-08-30 07:28:35 +0000 (Thu, 30 Aug 2012)
Log Message:
-----------
modules handling for e-series
Modified Paths:
--------------
SamyGO-Extensions/CoreScript/trunk/rcSGO
Modified: SamyGO-Extensions/CoreScript/trunk/rcSGO
===================================================================
--- SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-08-27 13:29:36 UTC (rev 1226)
+++ SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-08-30 07:28:35 UTC (rev 1227)
@@ -109,7 +109,14 @@
echo "SYSROOT=\"$SYSROOT\"" > /dtv/SGO.env
echo "MOUNT_PATH=\"MountPlaceholder\"" >> /dtv/SGO.env
-# TODO: implement MOD_DIR=$SYSROOT/lib/modules/80/$KERN_VER MOD_DIR=$SYSROOT/lib/modules/81/$KERN_VER for es series
+ # for es series mod version diff. on some firm.
+ if [ $(grep -c "0080" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/80/* $SYSROOT/lib/modules/ || echo "not first run..."
+ elif [ $(grep -c "0081" /.version) -eq 1 ] ; then
+ mv $SYSROOT/lib/modules/81/* $SYSROOT/lib/modules/ || echo "not first run..."
+ else
+ echo "no e-series?"
+ fi
echo "export MOD_DIR=$SYSROOT/lib/modules/$KERN_VER" >> /dtv/SGO.env
echo "export TMPDIR=/dtv" >> /dtv/SGO.env
echo "export HOME=$NEW_HOME" >> /dtv/SGO.env
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-08-27 13:29:47
|
Revision: 1226
http://samygo.svn.sourceforge.net/samygo/?rev=1226&view=rev
Author: arris69
Date: 2012-08-27 13:29:36 +0000 (Mon, 27 Aug 2012)
Log Message:
-----------
TODO notice for e-series
Modified Paths:
--------------
SamyGO-Extensions/CoreScript/trunk/rcSGO
Modified: SamyGO-Extensions/CoreScript/trunk/rcSGO
===================================================================
--- SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-07-22 05:25:35 UTC (rev 1225)
+++ SamyGO-Extensions/CoreScript/trunk/rcSGO 2012-08-27 13:29:36 UTC (rev 1226)
@@ -109,6 +109,7 @@
echo "SYSROOT=\"$SYSROOT\"" > /dtv/SGO.env
echo "MOUNT_PATH=\"MountPlaceholder\"" >> /dtv/SGO.env
+# TODO: implement MOD_DIR=$SYSROOT/lib/modules/80/$KERN_VER MOD_DIR=$SYSROOT/lib/modules/81/$KERN_VER for es series
echo "export MOD_DIR=$SYSROOT/lib/modules/$KERN_VER" >> /dtv/SGO.env
echo "export TMPDIR=/dtv" >> /dtv/SGO.env
echo "export HOME=$NEW_HOME" >> /dtv/SGO.env
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <aqu...@us...> - 2012-07-22 05:25:42
|
Revision: 1225
http://samygo.svn.sourceforge.net/samygo/?rev=1225&view=rev
Author: aquadran
Date: 2012-07-22 05:25:35 +0000 (Sun, 22 Jul 2012)
Log Message:
-----------
scummvm: updated to 1.5.0
Modified Paths:
--------------
oe/branches/branch-b-series/oe/conf/distro/samygo-cl.conf
oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl.inc
Added Paths:
-----------
oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl_1.5.0.bb
Modified: oe/branches/branch-b-series/oe/conf/distro/samygo-cl.conf
===================================================================
--- oe/branches/branch-b-series/oe/conf/distro/samygo-cl.conf 2012-07-13 14:41:44 UTC (rev 1224)
+++ oe/branches/branch-b-series/oe/conf/distro/samygo-cl.conf 2012-07-22 05:25:35 UTC (rev 1225)
@@ -5,4 +5,4 @@
require conf/distro/samygo.conf
-PREFERRED_VERSION_scummvm-cl = "1.4.1"
+PREFERRED_VERSION_scummvm-cl = "1.5.0"
Modified: oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl.inc
===================================================================
--- oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl.inc 2012-07-13 14:41:44 UTC (rev 1224)
+++ oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl.inc 2012-07-22 05:25:35 UTC (rev 1225)
@@ -3,7 +3,7 @@
SECTION = "games"
PRIORITY = "optional"
LICENSE = "GPL"
-DEPENDS = "libsdl-cl libmad-cl flac-cl tremolo-cl fluidsynth-cl zlib-cl"
+DEPENDS = "libsdl-cl libmad-cl flac-cl tremolo-cl fluidsynth-cl zlib-cl freetype-cl"
PR = "r0"
SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tar.bz2"
@@ -50,7 +50,7 @@
install -m 0644 ${S}/COPYING ${D}/scummvm/
install -m 0644 ${S}/COPYING.BSD ${D}/scummvm/
install -m 0644 ${S}/COPYING.LGPL ${D}/scummvm/
- install -m 0644 ${S}/COPYING.FREETYPE ${D}/scummvm/
+ install -m 0644 ${S}/COPYING.FREEFONT ${D}/scummvm/
install -m 0644 ${S}/COPYRIGHT ${D}/scummvm/
install -m 0644 ${S}/NEWS ${D}/scummvm/
install -m 0644 ${S}/README ${D}/scummvm/
Added: oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl_1.5.0.bb
===================================================================
--- oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl_1.5.0.bb (rev 0)
+++ oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl_1.5.0.bb 2012-07-22 05:25:35 UTC (rev 1225)
@@ -0,0 +1,6 @@
+require scummvm-cl.inc
+
+S = "${WORKDIR}/scummvm-${PV}"
+
+SRC_URI[md5sum] = "d71d1df5c8262556fedbe885972fbf6e"
+SRC_URI[sha256sum] = "81831cd878a8daad2976f65c92139a2102233082c7d2770579d7e425b19cea2e"
Property changes on: oe/branches/branch-b-series/oe/recipes/apps-cl/scummvm/scummvm-cl_1.5.0.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-07-13 14:41:50
|
Revision: 1224
http://samygo.svn.sourceforge.net/samygo/?rev=1224&view=rev
Author: arris69
Date: 2012-07-13 14:41:44 +0000 (Fri, 13 Jul 2012)
Log Message:
-----------
silent update for e-series (just arm for now on echop)
Modified Paths:
--------------
patcher/trunk/SamyGO Firmware Patcher.py
Modified: patcher/trunk/SamyGO Firmware Patcher.py
===================================================================
--- patcher/trunk/SamyGO Firmware Patcher.py 2012-07-03 19:24:56 UTC (rev 1223)
+++ patcher/trunk/SamyGO Firmware Patcher.py 2012-07-13 14:41:44 UTC (rev 1224)
@@ -45,7 +45,8 @@
#version = '0.25Beta' #Fat File Extractor & Injector code changed for code. Added Telnet support to LAxxB650 CHEAEAC series.
#Need to test with SquashFS telnet after release!
#version = '0.26' #Upgrade arfix-sh4 for T-RBYDEUC 1013.1 to version 1.2 (tom_van)
-version = '0.30' #Added C & D image decryption support. SamyGO function partitioned...
+#version = '0.30' #Added C & D image decryption support. SamyGO function partitioned...
+version = '0.31Beta' #Added E-Series (Echo.P) image decryption support, and prepare for other E-Series (Echo.B, X10, X9).
import os
import sys
import binascii
@@ -894,6 +895,14 @@
elif firmware.startswith("T-MST4"):
print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
sys.exit()
+ elif firmware.startswith("T-ECP"):
+ secret = "3EF6067262CF0C678598BFF22169D1F1EA57C284"
+ elif firmware.startswith("T-MST"):#10P & 9P
+ print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
+ sys.exit()
+ elif firmware.startswith("B-ECB"):
+ print "Error : Secret AES key cannot be calculated in this version of SamyGO Firmware Patcher."
+ sys.exit()
elif firmware.startswith("T-VAL"):#C series AES key
secret += "00001abc2010"
elif firmware.startswith("T-TDT"):
@@ -910,11 +919,16 @@
key = hashlib.md5()
iv = hashlib.md5()
- key.update( sha_secret.hexdigest() + salt )
- #key.hexdigest() - D_1
- iv.update( key.digest() + sha_secret.hexdigest() + salt )
- #iv.hexdigest() - D_2
+ if len( secret )==40:#E-Series uses binary pass
+ key.update( binascii.unhexlify(secret) + salt )
+ iv.update( key.digest() + binascii.unhexlify(secret) + salt )
+ else:
+ key.update( sha_secret.hexdigest() + salt )
+ #key.hexdigest() - D_1
+ iv.update( key.digest() + sha_secret.hexdigest() + salt )
+ #iv.hexdigest() - D_2
+
#openssl aes-128-cbc -d -in exe.img.sec -out exe.img -K e9e6627dc642a202bcf7bd6bdaaaa372 -iv b846d7ce24f89c6e160d455f8849c812
cip_aes = AES.new( key.digest(), AES.MODE_CBC, iv.digest() )
return cip_aes,AES.block_size
@@ -973,6 +987,9 @@
Bp=["T-CHLCIPDEUC","T-CHL5CIPDEUC","T-CHL6CIPDEUC","T-CHUCIPDEUC"]
C=["T-VALDEUC","T-VAL4DEUC","T-TDT5DAAC","T-MSX5DAAC","T-MSX5DEUC"]
D=["T-GASDEUC","T-GAS6DEUC","T-GAPDEUC","T-GAP8DEUC","T-MST4DEUC"]
+ Eb=["B-ECBHRDEUC"] #just preparation!!
+ Ep=["T-ECPDEUC","T-ECPAKUC"]
+ Ex=["T-MST10PDEUC"] #just preparation!!
if( firmware in A ):
return "A"
elif firmware in Bp:
@@ -984,6 +1001,12 @@
return "B"
elif firmware.startswith("T-VAL") or firmware.startswith("T-MSX") or firmware.startswith("T-TDT"):
return "C"
+ elif firmware.startswith("B-ECB"):
+ return "Eb"
+ elif firmware.startswith("T-ECP"):
+ return "Ep"
+ elif firmware.startswith("T-MST10P"):
+ return "Ex"
elif firmware.startswith("T-GA") or firmware.startswith("T-MST"):
return "D"
@@ -999,7 +1022,7 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = os.listdir( fwdir )
files = [i for i in files if i.endswith('sec') or i.endswith('enc')]
- if SamsungSerie(key[0]) in ('B+','C','D'):
+ if SamsungSerie(key[0]) in ('B+','C','D','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
@@ -1098,10 +1121,15 @@
fwdir = os.path.realpath( in_dir + os.path.sep + 'image' + os.path.sep )
files = ['Image','exe.img','appext.img','rootfs.img','appdata.img','boot.img','onboot.bin','u-boot.bin','uboot_env.bin','onw.bin','fnw.bin','tlib.img','cmm.img','rocommon.img','emanual.img','rwcommon.img']
files = [i for i in files if os.path.isfile(fwdir+os.path.sep+i)]
- if SamsungSerie(key[0]) in ('B+','C','D'):
+ if SamsungSerie(key[0]) in ('B+','C','D','Eb','Ep','Ex'):
encmode='CI+'
elif SamsungSerie(key[0]) in ('B'):
encmode='CI'
+
+ if SamsungSerie(key[0]) in ('Eb','Ep','Ex'):
+ print 'Not supported in public release, too dangerous!!!'
+ sys.exit()
+
print "FileS",files
if len(files) > 0:
if encmode == 'CI+':
@@ -1130,9 +1158,13 @@
realdir = os.path.realpath( in_dir )
key = open( realdir + os.path.sep + 'image' + os.path.sep + 'info.txt' , 'r' ).read().split(' ');
firmware=key[0]
- if SamsungSerie(firmware) in ('C','D'):
+ if SamsungSerie(firmware) in ('C','D','Eb','Ep','Ex'):
encmode='CI+'
+ if SamsungSerie(key[0]) in ('Eb','Ep','Ex'):
+ print 'Not supported in public release, too dangerous!!!'
+ sys.exit()
+
if encmode != 'none':
print "Encrypting with ",
decfile = realdir+os.path.sep+'image'+os.path.sep+'exe.img'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-07-03 19:25:02
|
Revision: 1223
http://samygo.svn.sourceforge.net/samygo/?rev=1223&view=rev
Author: arris69
Date: 2012-07-03 19:24:56 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------
orphan removal
Removed Paths:
-------------
SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init.dis
Deleted: SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init.dis
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init.dis 2012-06-26 18:52:05 UTC (rev 1222)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init.dis 2012-07-03 19:24:56 UTC (rev 1223)
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# © Copyright 1996-2011, ZsoltTech.Com
-# by Ser Lev Arris <ar...@Zs...>
-#
-# donated for the SamyGo Project
-# http://samygo.sourceforge.net/
-#
-# Version: SamyGO svn $Id$
-#
-
-. /dtv/SGO.env
-
- # export TMPDIR=/dtv
-
-case $1 in
- start)
- echo "root:0:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU ]:LCT-00000000:" > /dtv/pp
-
- smbd -s $SYSROOT/etc/samba/smb.conf --lockdir=/dtv --piddir=/dtv --private-dir=/dtv
- ;;
- stop)
- echo "do it somehow"
- ;;
- status)
- pidof smbd
- ;;
- *)
- echo "Usage: $0 {start|stop|status}" 1>&2
- exit 0
- ;;
-esac
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-06-26 18:52:11
|
Revision: 1222
http://samygo.svn.sourceforge.net/samygo/?rev=1222&view=rev
Author: arris69
Date: 2012-06-26 18:52:05 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
E-Series SammyGO tools
Modified Paths:
--------------
SamyGO-Extensions/InitScripts/trunk/init.d/01_01_catch_crap.init
Modified: SamyGO-Extensions/InitScripts/trunk/init.d/01_01_catch_crap.init
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/01_01_catch_crap.init 2012-06-25 18:59:29 UTC (rev 1221)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/01_01_catch_crap.init 2012-06-26 18:52:05 UTC (rev 1222)
@@ -7,6 +7,9 @@
case $1 in
start)
+ $SYSROOT/bin/console &
+ $SYSROOT/bin/authuld_echop &
+ $SYSROOT/bin/echop_uep_kill &
# enable loopback network interface, required on some b-series (b550,b6000?)
ifconfig lo 127.0.0.1
# unhide 'unsupported' filesystems from usb mount (don't work?)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-06-25 18:59:35
|
Revision: 1221
http://samygo.svn.sourceforge.net/samygo/?rev=1221&view=rev
Author: arris69
Date: 2012-06-25 18:59:29 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
E-Series kernel gadget change
Modified Paths:
--------------
SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init
Modified: SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init 2012-06-25 14:25:40 UTC (rev 1220)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init 2012-06-25 18:59:29 UTC (rev 1221)
@@ -57,7 +57,7 @@
rdev="sdj" # init state
dev="sdj" # set fallback if someting wrong with modules
for i in /sys/block/sd?/device/model ; do
- if [ `cat $i | grep -c "SamyGO"` -gt "0" ] ; then
+ if [ `cat $i | grep -c "Virt"` -gt "0" ] ; then
echo "found gadget at: $i"
dev=`echo $i | sed 's/^\/.*\(sd.\)\/.*/\1/g'`
echo "scsidev: $dev"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-06-25 14:25:50
|
Revision: 1220
http://samygo.svn.sourceforge.net/samygo/?rev=1220&view=rev
Author: arris69
Date: 2012-06-25 14:25:40 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
E-Series kernel gadget change
Modified Paths:
--------------
SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init
Modified: SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init 2012-06-11 20:48:16 UTC (rev 1219)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init 2012-06-25 14:25:40 UTC (rev 1220)
@@ -57,7 +57,7 @@
rdev="sdj" # init state
dev="sdj" # set fallback if someting wrong with modules
for i in /sys/block/sd?/device/model ; do
- if [ `cat $i | grep -c "SamyGO Virt"` -gt "0" ] ; then
+ if [ `cat $i | grep -c "SamyGO"` -gt "0" ] ; then
echo "found gadget at: $i"
dev=`echo $i | sed 's/^\/.*\(sd.\)\/.*/\1/g'`
echo "scsidev: $dev"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ar...@us...> - 2012-06-11 20:48:22
|
Revision: 1219
http://samygo.svn.sourceforge.net/samygo/?rev=1219&view=rev
Author: arris69
Date: 2012-06-11 20:48:16 +0000 (Mon, 11 Jun 2012)
Log Message:
-----------
prepare for nmbd
Added Paths:
-----------
SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init
Copied: SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init (from rev 1194, SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init.dis)
===================================================================
--- SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init (rev 0)
+++ SamyGO-Extensions/InitScripts/trunk/init.d/06_05_samba-server.init 2012-06-11 20:48:16 UTC (rev 1219)
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# © Copyright 1996-2011, ZsoltTech.Com
+# by Ser Lev Arris <ar...@Zs...>
+#
+# donated for the SamyGo Project
+# http://samygo.sourceforge.net/
+#
+# Version: SamyGO svn $Id$
+#
+
+. /dtv/SGO.env
+
+ # export TMPDIR=/dtv
+ TVMODEL=$(cat /mtd_rwarea/dlna_web_root/dmr/SamsungMRDesc.xml | grep friendlyName | sed -e 's,.*friendlyName.\(.*\)..friendlyName.,\1,')
+
+case $1 in
+ start)
+ echo "root:0:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU ]:LCT-00000000:" > /dtv/pp
+
+ # if [ $(grep -c ) ] # check existing settings
+ # echo -e "workgroup = ARBEITSGRUPPE\nnetbios name = ${TVMODEL}\nserver string = TVServer" > /mtd_rwarea/smb.conf
+
+ smbd -s $SYSROOT/etc/samba/smb.conf --lockdir=/dtv --piddir=/dtv --private-dir=/dtv
+ nmbd -s $SYSROOT/etc/samba/smb.conf -D
+ ;;
+ stop)
+ echo "do it somehow"
+ ;;
+ status)
+ pidof smbd
+ pudof nmbd
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|status}" 1>&2
+ exit 0
+ ;;
+esac
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|