From aede4f8126893a334d9b7e7b11a15af9975af385 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 5 Mar 2010 18:52:14 +0100 Subject: convert mips64 to mips --- target/native/target.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/native/target.mk b/target/native/target.mk index 5667e46e4..c4eb94ace 100644 --- a/target/native/target.mk +++ b/target/native/target.mk @@ -1,4 +1,4 @@ -ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/" -e "s/_64//") +ARCH:= $(shell uname -m|sed -e "s/i.*86/x86/" -e "s/_\?64//") CPU_ARCH:= $(shell uname -m) KERNEL_VERSION:= 2.6.33 KERNEL_RELEASE:= 1 -- cgit v1.2.3 From 2dc4319c282f152dbdec9d77ffd6d4381c994bbf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:33:25 +0100 Subject: fix compile for mips64 --- package/elinks/Makefile | 4 ++-- package/elinks/patches/patch-Makefile_lib | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 package/elinks/patches/patch-Makefile_lib diff --git a/package/elinks/Makefile b/package/elinks/Makefile index b2d0c6014..a555a5db6 100644 --- a/package/elinks/Makefile +++ b/package/elinks/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= elinks PKG_VERSION:= 0.11.7 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= 145c510cae41c204d0f23dce4bdd23ab PKG_DESCR:= advanced text web browser PKG_SECTION:= text @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --enable-small \ --without-spidermonkey \ --without-x \ --without-zlib -MAKE_FLAGS+= CC='${TARGET_CC}' LD='${TARGET_LD}' +MAKE_FLAGS+= CC='${TARGET_CC}' do-install: ${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin diff --git a/package/elinks/patches/patch-Makefile_lib b/package/elinks/patches/patch-Makefile_lib new file mode 100644 index 000000000..122e6c13d --- /dev/null +++ b/package/elinks/patches/patch-Makefile_lib @@ -0,0 +1,11 @@ +--- elinks-0.11.7.orig/Makefile.lib 2009-08-22 13:15:08.000000000 +0200 ++++ elinks-0.11.7/Makefile.lib 2010-03-06 11:28:58.000000000 +0100 +@@ -43,7 +43,7 @@ quiet_cmd_compile = ' [$(CC_COLOR)C + + # Rule to compile a set of .o files into one .o file + quiet_cmd_ld_objs = " [$(LD_COLOR)LD$(END_COLOR)] $(RELPATH)$@" +- cmd_ld_objs = $(LD) -r -o $@ $(filter $(OBJS), $^) \ ++ cmd_ld_objs = $(CC) -Wl,-r -nostdlib -o $@ $(filter $(OBJS), $^) \ + $(foreach subdir,$(sort $(filter-out src,$(SUBDIRS))), \ + `test -e $(subdir)/$(LIB_O_NAME) && echo $(subdir)/$(LIB_O_NAME)`) + -- cgit v1.2.3 From 5474d03f63e63675203198f0369aa2de0e6297ed Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:33:35 +0100 Subject: fix compile for mips64 --- package/mplayer/Makefile | 4 +++- package/mplayer/patches/patch-configure | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 package/mplayer/patches/patch-configure diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile index a5a612bac..71e6190d8 100644 --- a/package/mplayer/Makefile +++ b/package/mplayer/Makefile @@ -17,7 +17,7 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext PKG_URL:= http://www.mplayerhq.hu PKG_SITES:= http://openadk.org/distfiles/ -PKG_TARGET_DEPENDS:= alix1c x86_qemu x86_64_qemu shuttle +PKG_TARGET_DEPENDS:= alix1c x86_qemu x86_64_qemu shuttle lemote include ${TOPDIR}/mk/package.mk @@ -25,6 +25,8 @@ $(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P CONFIG_STYLE:= manual +FAKE_FLAGS+= INSTALLSTRIP='' + ifeq (${ADK_LINUX_X86_ALIX1C},y) CONFIGURE_CPU_OPTS:= \ --disable-ssse3 \ diff --git a/package/mplayer/patches/patch-configure b/package/mplayer/patches/patch-configure new file mode 100644 index 000000000..dcebb8645 --- /dev/null +++ b/package/mplayer/patches/patch-configure @@ -0,0 +1,11 @@ +--- mplayer-1.0-29987.orig/configure 2009-12-10 13:18:20.000000000 +0100 ++++ mplayer-1.0-29987/configure 2010-03-06 12:52:36.000000000 +0100 +@@ -2266,7 +2266,7 @@ EOF + _optimizing="$proc" + ;; + +- mips) ++ mips|mips64|mipsel|mips64el) + _arch='SGI_MIPS' + _target_arch='ARCH_SGI_MIPS = yes' + iproc='sgi-mips' -- cgit v1.2.3 From 68fc4717dfdce3e05cfb82216903d4ae35e42079 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:33:56 +0100 Subject: fix build dependencies --- package/fontconfig/Makefile | 1 + package/libXft/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/package/fontconfig/Makefile b/package/fontconfig/Makefile index 2c6b18a65..6258cbebf 100644 --- a/package/fontconfig/Makefile +++ b/package/fontconfig/Makefile @@ -9,6 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 77e15a92006ddc2adbb06f840d591c0e PKG_DESCR:= fontconfig PKG_SECTION:= libs +PKG_BUILDDEP+= freetype PKG_URL:= http://fontconfig.org PKG_SITES:= http://fontconfig.org/release/ diff --git a/package/libXft/Makefile b/package/libXft/Makefile index 03a06ab75..c9e990ab2 100644 --- a/package/libXft/Makefile +++ b/package/libXft/Makefile @@ -9,6 +9,7 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 0a1e129b1d8b2d3905dc02a64255b781 PKG_DESCR:= X FreeType library PKG_SECTION:= x11 +PKG_BUILDDEP+= libXrender PKG_SITES:= ${MASTER_SITE_XORG} include $(TOPDIR)/mk/package.mk -- cgit v1.2.3 From 91e92eb1d309488f3bb7b394c8f6660af0c712cc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:34:47 +0100 Subject: enable config in /proc --- target/lemote/kernel.config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/target/lemote/kernel.config b/target/lemote/kernel.config index 29731d812..22e8d01a6 100644 --- a/target/lemote/kernel.config +++ b/target/lemote/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.33 -# Sun Feb 28 16:36:49 2010 +# Fri Mar 5 18:56:32 2010 # CONFIG_MIPS=y @@ -212,7 +212,8 @@ CONFIG_TREE_RCU=y CONFIG_RCU_FANOUT=64 # CONFIG_RCU_FANOUT_EXACT is not set # CONFIG_TREE_RCU_TRACE is not set -# CONFIG_IKCONFIG is not set +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y CONFIG_LOG_BUF_SHIFT=15 # CONFIG_GROUP_SCHED is not set # CONFIG_CGROUPS is not set -- cgit v1.2.3 From f295a40984c165ae46c0a3fe2ae95b5517885392 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:35:26 +0100 Subject: add grep package, busybox grep lacks -w --- Config.in | 1 + package/Config.in | 1 + package/busybox/config/findutils/Config.in | 3 +- package/cryptsetup/Makefile | 4 +- package/cryptsetup/patches/patch-Makefile_in | 58 ------- package/cryptsetup/patches/patch-configure | 175 --------------------- package/cryptsetup/patches/patch-configure_in | 47 ------ package/cryptsetup/patches/patch-lib_Makefile_in | 8 - package/cryptsetup/patches/patch-luks_Makefile_in | 8 - package/cryptsetup/patches/patch-man_Makefile_in | 8 - package/cryptsetup/patches/patch-src_Makefile_in | 8 - package/cryptsetup/patches/patch-tests_Makefile_in | 8 - package/grep/Makefile | 32 ++++ 13 files changed, 38 insertions(+), 323 deletions(-) delete mode 100644 package/cryptsetup/patches/patch-Makefile_in delete mode 100644 package/cryptsetup/patches/patch-configure delete mode 100644 package/cryptsetup/patches/patch-configure_in delete mode 100644 package/cryptsetup/patches/patch-lib_Makefile_in delete mode 100644 package/cryptsetup/patches/patch-luks_Makefile_in delete mode 100644 package/cryptsetup/patches/patch-man_Makefile_in delete mode 100644 package/cryptsetup/patches/patch-src_Makefile_in delete mode 100644 package/cryptsetup/patches/patch-tests_Makefile_in create mode 100644 package/grep/Makefile diff --git a/Config.in b/Config.in index e22136582..8b7d40cd6 100644 --- a/Config.in +++ b/Config.in @@ -36,6 +36,7 @@ config ADK_DEVELSYSTEM select ADK_PACKAGE_GAWK select ADK_PACKAGE_GCC select ADK_PACKAGE_GIT + select ADK_PACKAGE_GREP select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC diff --git a/package/Config.in b/package/Config.in index 68c81aad1..1d5743055 100644 --- a/package/Config.in +++ b/package/Config.in @@ -551,6 +551,7 @@ source "package/cpufrequtils/Config.in" source "package/fbset/Config.in" source "package/file/Config.in" source "package/findutils/Config.in" +source "package/grep/Config.in" source "package/hdparm/Config.in" source "package/usbutils/Config.in" source "package/patch/Config.in" diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in index ba2e5f557..1a1e0f4d5 100644 --- a/package/busybox/config/findutils/Config.in +++ b/package/busybox/config/findutils/Config.in @@ -182,7 +182,8 @@ config BUSYBOX_FEATURE_FIND_CONTEXT config BUSYBOX_GREP bool "grep" - default y + default y if !ADK_PACKAGE_GREP + depends on !ADK_PACKAGE_GREP help grep is used to search files for a specified pattern. diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile index 4d8973482..f4efcccf5 100644 --- a/package/cryptsetup/Makefile +++ b/package/cryptsetup/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= cryptsetup -PKG_VERSION:= 1.1.0 +PKG_VERSION:= 1.0.7 PKG_RELEASE:= 1 -PKG_MD5SUM:= 8177f1833f4d6aaacc5812046d2010b6 +PKG_MD5SUM:= 5eea2a77391a8a1a651b31cbaef59e22 PKG_DESCR:= LUKS cryptsetup tools PKG_SECTION:= crypto PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt \ diff --git a/package/cryptsetup/patches/patch-Makefile_in b/package/cryptsetup/patches/patch-Makefile_in deleted file mode 100644 index 828b25c11..000000000 --- a/package/cryptsetup/patches/patch-Makefile_in +++ /dev/null @@ -1,58 +0,0 @@ ---- cryptsetup-1.1.0.orig/Makefile.in 2010-01-17 11:29:23.000000000 +0100 -+++ cryptsetup-1.1.0/Makefile.in 2010-02-16 20:32:36.876861682 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -@@ -323,7 +323,7 @@ distclean-libtool: - # (which will cause the Makefiles to be regenerated when you run `make'); - # (2) otherwise, pass the desired values on the `make' command line. - $(RECURSIVE_TARGETS): -- @failcom='exit 1'; \ -+ @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ -@@ -348,7 +348,7 @@ $(RECURSIVE_TARGETS): - fi; test -z "$$fail" - - $(RECURSIVE_CLEAN_TARGETS): -- @failcom='exit 1'; \ -+ @fail= failcom='exit 1'; \ - for f in x $$MAKEFLAGS; do \ - case $$f in \ - *=* | --[!k]*);; \ -@@ -512,7 +512,8 @@ distdir: $(DISTFILES) - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ -- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ -+ || find "$(distdir)" -type d ! -perm -755 \ -+ -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ -@@ -556,17 +557,17 @@ dist dist-all: distdir - distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ -- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ -- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ -+ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lzma*) \ -- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ -+ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ -- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ -+ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac diff --git a/package/cryptsetup/patches/patch-configure b/package/cryptsetup/patches/patch-configure deleted file mode 100644 index be8bf3375..000000000 --- a/package/cryptsetup/patches/patch-configure +++ /dev/null @@ -1,175 +0,0 @@ ---- cryptsetup-1.1.0.orig/configure 2010-01-17 11:29:24.000000000 +0100 -+++ cryptsetup-1.1.0/configure 2010-02-16 20:32:36.868858986 +0100 -@@ -894,7 +894,6 @@ enable_nls - enable_rpath - with_libiconv_prefix - with_libintl_prefix --enable_shared_library - enable_selinux - with_plain_hash - with_plain_cipher -@@ -1543,7 +1542,7 @@ Optional Features: - --disable-largefile omit support for large files - --disable-nls do not use Native Language Support - --disable-rpath do not hardcode runtime library paths -- --disable-shared-library -+ --disable-shared - disable building of shared cryptsetup library - --disable-selinux disable selinux support [default=auto] - -@@ -5966,13 +5965,13 @@ if test "${lt_cv_nm_interface+set}" = se - else - lt_cv_nm_interface="BSD nm" - echo "int some_variable = 0;" > conftest.$ac_ext -- (eval echo "\"\$as_me:5969: $ac_compile\"" >&5) -+ (eval echo "\"\$as_me:5968: $ac_compile\"" >&5) - (eval "$ac_compile" 2>conftest.err) - cat conftest.err >&5 -- (eval echo "\"\$as_me:5972: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval echo "\"\$as_me:5971: $NM \\\"conftest.$ac_objext\\\"\"" >&5) - (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) - cat conftest.err >&5 -- (eval echo "\"\$as_me:5975: output\"" >&5) -+ (eval echo "\"\$as_me:5974: output\"" >&5) - cat conftest.out >&5 - if $GREP 'External.*some_variable' conftest.out > /dev/null; then - lt_cv_nm_interface="MS dumpbin" -@@ -7177,7 +7176,7 @@ ia64-*-hpux*) - ;; - *-*-irix6*) - # Find out which ABI we are using. -- echo '#line 7180 "configure"' > conftest.$ac_ext -+ echo '#line 7179 "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 - (eval $ac_compile) 2>&5 - ac_status=$? -@@ -8409,11 +8408,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8412: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8411: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8416: \$? = $ac_status" >&5 -+ echo "$as_me:8415: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8748,11 +8747,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8751: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8750: $lt_compile\"" >&5) - (eval "$lt_compile" 2>conftest.err) - ac_status=$? - cat conftest.err >&5 -- echo "$as_me:8755: \$? = $ac_status" >&5 -+ echo "$as_me:8754: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s "$ac_outfile"; then - # The compiler can only warn and ignore the option if not recognized - # So say no if there are warnings other than the usual output. -@@ -8853,11 +8852,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8856: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8855: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8860: \$? = $ac_status" >&5 -+ echo "$as_me:8859: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -8908,11 +8907,11 @@ else - -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ - -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ - -e 's:$: $lt_compiler_flag:'` -- (eval echo "\"\$as_me:8911: $lt_compile\"" >&5) -+ (eval echo "\"\$as_me:8910: $lt_compile\"" >&5) - (eval "$lt_compile" 2>out/conftest.err) - ac_status=$? - cat out/conftest.err >&5 -- echo "$as_me:8915: \$? = $ac_status" >&5 -+ echo "$as_me:8914: \$? = $ac_status" >&5 - if (exit $ac_status) && test -s out/conftest2.$ac_objext - then - # The compiler can only warn and ignore the option if not recognized -@@ -11292,7 +11291,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 11295 "configure" -+#line 11294 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -11388,7 +11387,7 @@ else - lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 - lt_status=$lt_dlunknown - cat > conftest.$ac_ext <<_LT_EOF --#line 11391 "configure" -+#line 11390 "configure" - #include "confdefs.h" - - #if HAVE_DLFCN_H -@@ -14409,14 +14408,14 @@ POPT_LIBS=$LIBS - LIBS=$saved_LIBS - - --# Check whether --enable-shared-library was given. --if test "${enable_shared_library+set}" = set; then : -- enableval=$enable_shared_library; -+# Check whether --enable-shared was given. -+if test "${enable_shared+set}" = set; then : -+ enableval=$enable_shared; - else -- enable_shared_library=yes -+ enable_shared=yes - fi - -- if test x$enable_shared_library = xno; then -+ if test x$enable_shared = xno; then - STATIC_LIBRARY_TRUE= - STATIC_LIBRARY_FALSE='#' - else -@@ -14619,7 +14618,7 @@ _ACEOF - - fi - -- if test x$enable_static = xyes; then -+ if test x$enable_static_cryptsetup = xyes; then - SELINUX_STATIC_LIBS=$LIBS - # Check if we need -pthread with --enable-static and selinux - saved_LIBS2=$LIBS -@@ -14684,7 +14683,7 @@ fi - fi - fi - --if test x$enable_static = xyes; then -+if test x$enable_static_cryptsetup = xyes; then - saved_LIBS2=$LIBS - LIBS="$LIBS -static" - # Check if it there is still not some missing dependency like static selinux libs -@@ -14916,7 +14915,7 @@ fi - - - -- if test x$enable_static = xyes; then -+ if test x$enable_static_cryptsetup = xyes; then - STATIC_CRYPTSETUP_TRUE= - STATIC_CRYPTSETUP_FALSE='#' - else -@@ -14924,7 +14923,7 @@ else - STATIC_CRYPTSETUP_FALSE= - fi - -- if test x$enable_static = xno; then -+ if test x$enable_static_cryptsetup = xno; then - DYNAMIC_CRYPTSETUP_TRUE= - DYNAMIC_CRYPTSETUP_FALSE='#' - else diff --git a/package/cryptsetup/patches/patch-configure_in b/package/cryptsetup/patches/patch-configure_in deleted file mode 100644 index 6d88412f5..000000000 --- a/package/cryptsetup/patches/patch-configure_in +++ /dev/null @@ -1,47 +0,0 @@ ---- cryptsetup-1.1.0.orig/configure.in 2010-01-17 11:26:31.000000000 +0100 -+++ cryptsetup-1.1.0/configure.in 2010-02-16 20:32:36.868858986 +0100 -@@ -62,11 +62,11 @@ LIBS=$saved_LIBS - - dnl ========================================================================== - --AC_ARG_ENABLE(shared-library, --[ --disable-shared-library -+AC_ARG_ENABLE(shared, -+[ --disable-shared - disable building of shared cryptsetup library],, --enable_shared_library=yes) --AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared_library = xno) -+enable_shared=yes) -+AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared = xno) - - AC_ARG_ENABLE(selinux, - [ --disable-selinux disable selinux support [[default=auto]]],[], []) -@@ -80,7 +80,7 @@ LIBS=$saved_LIBS - if test "x$enable_selinux" != xno; then - AC_CHECK_LIB(sepol, sepol_bool_set) - AC_CHECK_LIB(selinux, is_selinux_enabled) -- if test x$enable_static = xyes; then -+ if test x$enable_static_cryptsetup = xyes; then - SELINUX_STATIC_LIBS=$LIBS - # Check if we need -pthread with --enable-static and selinux - saved_LIBS2=$LIBS -@@ -91,7 +91,7 @@ if test "x$enable_selinux" != xno; then - fi - fi - --if test x$enable_static = xyes; then -+if test x$enable_static_cryptsetup = xyes; then - saved_LIBS2=$LIBS - LIBS="$LIBS -static" - # Check if it there is still not some missing dependency like static selinux libs -@@ -135,8 +135,8 @@ CS_NUM_WITH([luks1-keybits],[key length - - dnl ========================================================================== - --AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static = xyes) --AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static = xno) -+AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static_cryptsetup = xyes) -+AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static_cryptsetup = xno) - - dnl ========================================================================== - diff --git a/package/cryptsetup/patches/patch-lib_Makefile_in b/package/cryptsetup/patches/patch-lib_Makefile_in deleted file mode 100644 index 812950459..000000000 --- a/package/cryptsetup/patches/patch-lib_Makefile_in +++ /dev/null @@ -1,8 +0,0 @@ ---- cryptsetup-1.1.0.orig/lib/Makefile.in 2010-01-17 11:29:22.000000000 +0100 -+++ cryptsetup-1.1.0/lib/Makefile.in 2010-02-16 20:32:36.872861451 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-luks_Makefile_in b/package/cryptsetup/patches/patch-luks_Makefile_in deleted file mode 100644 index 208b1f396..000000000 --- a/package/cryptsetup/patches/patch-luks_Makefile_in +++ /dev/null @@ -1,8 +0,0 @@ ---- cryptsetup-1.1.0.orig/luks/Makefile.in 2010-01-17 11:29:22.000000000 +0100 -+++ cryptsetup-1.1.0/luks/Makefile.in 2010-02-16 20:32:36.876861682 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-man_Makefile_in b/package/cryptsetup/patches/patch-man_Makefile_in deleted file mode 100644 index 66fdcb7cf..000000000 --- a/package/cryptsetup/patches/patch-man_Makefile_in +++ /dev/null @@ -1,8 +0,0 @@ ---- cryptsetup-1.1.0.orig/man/Makefile.in 2010-01-17 11:29:23.000000000 +0100 -+++ cryptsetup-1.1.0/man/Makefile.in 2010-02-16 20:32:36.880860794 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-src_Makefile_in b/package/cryptsetup/patches/patch-src_Makefile_in deleted file mode 100644 index 6c0b0096f..000000000 --- a/package/cryptsetup/patches/patch-src_Makefile_in +++ /dev/null @@ -1,8 +0,0 @@ ---- cryptsetup-1.1.0.orig/src/Makefile.in 2010-01-17 11:29:23.000000000 +0100 -+++ cryptsetup-1.1.0/src/Makefile.in 2010-02-16 20:32:36.880860794 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-tests_Makefile_in b/package/cryptsetup/patches/patch-tests_Makefile_in deleted file mode 100644 index 30e05580d..000000000 --- a/package/cryptsetup/patches/patch-tests_Makefile_in +++ /dev/null @@ -1,8 +0,0 @@ ---- cryptsetup-1.1.0.orig/tests/Makefile.in 2010-01-17 11:29:23.000000000 +0100 -+++ cryptsetup-1.1.0/tests/Makefile.in 2010-02-16 20:32:36.888860137 +0100 -@@ -1,4 +1,4 @@ --# Makefile.in generated by automake 1.11 from Makefile.am. -+# Makefile.in generated by automake 1.11.1 from Makefile.am. - # @configure_input@ - - # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/grep/Makefile b/package/grep/Makefile new file mode 100644 index 000000000..9508508c3 --- /dev/null +++ b/package/grep/Makefile @@ -0,0 +1,32 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= grep +PKG_VERSION:= 2.5.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 92258031d98d4f12dfc6a6d24057e672 +PKG_DESCR:= global search for a regular expression and print out matched lines +PKG_SECTION:= text +PKG_URL:= http://www.gnu.org/software/grep/ +PKG_SITES:= ftp://ftp.gnu.org/gnu/grep/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +#CONFIG_STYLE:= manual +# use following to add ./configure options +#CONFIGURE_ARGS+= --disable-foo +# overwrite any configure variables +#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes +#BUILD_STYLE:= manual +#INSTALL_STYLE:= manual + +post-install: + $(INSTALL_DIR) $(IDIR_GREP)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \ + $(IDIR_GREP)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 6cc1a855cd27076816a882dcea78b9ad727c811c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:35:40 +0100 Subject: Revert "add grep package, busybox grep lacks -w" This reverts commit f295a40984c165ae46c0a3fe2ae95b5517885392. --- Config.in | 1 - package/Config.in | 1 - package/busybox/config/findutils/Config.in | 3 +- package/cryptsetup/Makefile | 4 +- package/cryptsetup/patches/patch-Makefile_in | 58 +++++++ package/cryptsetup/patches/patch-configure | 175 +++++++++++++++++++++ package/cryptsetup/patches/patch-configure_in | 47 ++++++ package/cryptsetup/patches/patch-lib_Makefile_in | 8 + package/cryptsetup/patches/patch-luks_Makefile_in | 8 + package/cryptsetup/patches/patch-man_Makefile_in | 8 + package/cryptsetup/patches/patch-src_Makefile_in | 8 + package/cryptsetup/patches/patch-tests_Makefile_in | 8 + package/grep/Makefile | 32 ---- 13 files changed, 323 insertions(+), 38 deletions(-) create mode 100644 package/cryptsetup/patches/patch-Makefile_in create mode 100644 package/cryptsetup/patches/patch-configure create mode 100644 package/cryptsetup/patches/patch-configure_in create mode 100644 package/cryptsetup/patches/patch-lib_Makefile_in create mode 100644 package/cryptsetup/patches/patch-luks_Makefile_in create mode 100644 package/cryptsetup/patches/patch-man_Makefile_in create mode 100644 package/cryptsetup/patches/patch-src_Makefile_in create mode 100644 package/cryptsetup/patches/patch-tests_Makefile_in delete mode 100644 package/grep/Makefile diff --git a/Config.in b/Config.in index 8b7d40cd6..e22136582 100644 --- a/Config.in +++ b/Config.in @@ -36,7 +36,6 @@ config ADK_DEVELSYSTEM select ADK_PACKAGE_GAWK select ADK_PACKAGE_GCC select ADK_PACKAGE_GIT - select ADK_PACKAGE_GREP select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC diff --git a/package/Config.in b/package/Config.in index 1d5743055..68c81aad1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -551,7 +551,6 @@ source "package/cpufrequtils/Config.in" source "package/fbset/Config.in" source "package/file/Config.in" source "package/findutils/Config.in" -source "package/grep/Config.in" source "package/hdparm/Config.in" source "package/usbutils/Config.in" source "package/patch/Config.in" diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in index 1a1e0f4d5..ba2e5f557 100644 --- a/package/busybox/config/findutils/Config.in +++ b/package/busybox/config/findutils/Config.in @@ -182,8 +182,7 @@ config BUSYBOX_FEATURE_FIND_CONTEXT config BUSYBOX_GREP bool "grep" - default y if !ADK_PACKAGE_GREP - depends on !ADK_PACKAGE_GREP + default y help grep is used to search files for a specified pattern. diff --git a/package/cryptsetup/Makefile b/package/cryptsetup/Makefile index f4efcccf5..4d8973482 100644 --- a/package/cryptsetup/Makefile +++ b/package/cryptsetup/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= cryptsetup -PKG_VERSION:= 1.0.7 +PKG_VERSION:= 1.1.0 PKG_RELEASE:= 1 -PKG_MD5SUM:= 5eea2a77391a8a1a651b31cbaef59e22 +PKG_MD5SUM:= 8177f1833f4d6aaacc5812046d2010b6 PKG_DESCR:= LUKS cryptsetup tools PKG_SECTION:= crypto PKG_DEPENDS:= libgcrypt device-mapper libuuid libpopt \ diff --git a/package/cryptsetup/patches/patch-Makefile_in b/package/cryptsetup/patches/patch-Makefile_in new file mode 100644 index 000000000..828b25c11 --- /dev/null +++ b/package/cryptsetup/patches/patch-Makefile_in @@ -0,0 +1,58 @@ +--- cryptsetup-1.1.0.orig/Makefile.in 2010-01-17 11:29:23.000000000 +0100 ++++ cryptsetup-1.1.0/Makefile.in 2010-02-16 20:32:36.876861682 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +@@ -323,7 +323,7 @@ distclean-libtool: + # (which will cause the Makefiles to be regenerated when you run `make'); + # (2) otherwise, pass the desired values on the `make' command line. + $(RECURSIVE_TARGETS): +- @failcom='exit 1'; \ ++ @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ +@@ -348,7 +348,7 @@ $(RECURSIVE_TARGETS): + fi; test -z "$$fail" + + $(RECURSIVE_CLEAN_TARGETS): +- @failcom='exit 1'; \ ++ @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ +@@ -512,7 +512,8 @@ distdir: $(DISTFILES) + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ +- || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ++ || find "$(distdir)" -type d ! -perm -755 \ ++ -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ +@@ -556,17 +557,17 @@ dist dist-all: distdir + distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ +- GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ ++ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ +- bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ ++ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ +- unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ ++ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ +- GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ ++ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac diff --git a/package/cryptsetup/patches/patch-configure b/package/cryptsetup/patches/patch-configure new file mode 100644 index 000000000..be8bf3375 --- /dev/null +++ b/package/cryptsetup/patches/patch-configure @@ -0,0 +1,175 @@ +--- cryptsetup-1.1.0.orig/configure 2010-01-17 11:29:24.000000000 +0100 ++++ cryptsetup-1.1.0/configure 2010-02-16 20:32:36.868858986 +0100 +@@ -894,7 +894,6 @@ enable_nls + enable_rpath + with_libiconv_prefix + with_libintl_prefix +-enable_shared_library + enable_selinux + with_plain_hash + with_plain_cipher +@@ -1543,7 +1542,7 @@ Optional Features: + --disable-largefile omit support for large files + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths +- --disable-shared-library ++ --disable-shared + disable building of shared cryptsetup library + --disable-selinux disable selinux support [default=auto] + +@@ -5966,13 +5965,13 @@ if test "${lt_cv_nm_interface+set}" = se + else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext +- (eval echo "\"\$as_me:5969: $ac_compile\"" >&5) ++ (eval echo "\"\$as_me:5968: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 +- (eval echo "\"\$as_me:5972: $NM \\\"conftest.$ac_objext\\\"\"" >&5) ++ (eval echo "\"\$as_me:5971: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 +- (eval echo "\"\$as_me:5975: output\"" >&5) ++ (eval echo "\"\$as_me:5974: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" +@@ -7177,7 +7176,7 @@ ia64-*-hpux*) + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 7180 "configure"' > conftest.$ac_ext ++ echo '#line 7179 "configure"' > conftest.$ac_ext + if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +@@ -8409,11 +8408,11 @@ else + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8412: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8411: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8416: \$? = $ac_status" >&5 ++ echo "$as_me:8415: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8748,11 +8747,11 @@ else + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8751: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8750: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:8755: \$? = $ac_status" >&5 ++ echo "$as_me:8754: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -8853,11 +8852,11 @@ else + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8856: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8855: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:8860: \$? = $ac_status" >&5 ++ echo "$as_me:8859: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -8908,11 +8907,11 @@ else + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:8911: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8910: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:8915: \$? = $ac_status" >&5 ++ echo "$as_me:8914: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -11292,7 +11291,7 @@ else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 11295 "configure" ++#line 11294 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -11388,7 +11387,7 @@ else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 11391 "configure" ++#line 11390 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -14409,14 +14408,14 @@ POPT_LIBS=$LIBS + LIBS=$saved_LIBS + + +-# Check whether --enable-shared-library was given. +-if test "${enable_shared_library+set}" = set; then : +- enableval=$enable_shared_library; ++# Check whether --enable-shared was given. ++if test "${enable_shared+set}" = set; then : ++ enableval=$enable_shared; + else +- enable_shared_library=yes ++ enable_shared=yes + fi + +- if test x$enable_shared_library = xno; then ++ if test x$enable_shared = xno; then + STATIC_LIBRARY_TRUE= + STATIC_LIBRARY_FALSE='#' + else +@@ -14619,7 +14618,7 @@ _ACEOF + + fi + +- if test x$enable_static = xyes; then ++ if test x$enable_static_cryptsetup = xyes; then + SELINUX_STATIC_LIBS=$LIBS + # Check if we need -pthread with --enable-static and selinux + saved_LIBS2=$LIBS +@@ -14684,7 +14683,7 @@ fi + fi + fi + +-if test x$enable_static = xyes; then ++if test x$enable_static_cryptsetup = xyes; then + saved_LIBS2=$LIBS + LIBS="$LIBS -static" + # Check if it there is still not some missing dependency like static selinux libs +@@ -14916,7 +14915,7 @@ fi + + + +- if test x$enable_static = xyes; then ++ if test x$enable_static_cryptsetup = xyes; then + STATIC_CRYPTSETUP_TRUE= + STATIC_CRYPTSETUP_FALSE='#' + else +@@ -14924,7 +14923,7 @@ else + STATIC_CRYPTSETUP_FALSE= + fi + +- if test x$enable_static = xno; then ++ if test x$enable_static_cryptsetup = xno; then + DYNAMIC_CRYPTSETUP_TRUE= + DYNAMIC_CRYPTSETUP_FALSE='#' + else diff --git a/package/cryptsetup/patches/patch-configure_in b/package/cryptsetup/patches/patch-configure_in new file mode 100644 index 000000000..6d88412f5 --- /dev/null +++ b/package/cryptsetup/patches/patch-configure_in @@ -0,0 +1,47 @@ +--- cryptsetup-1.1.0.orig/configure.in 2010-01-17 11:26:31.000000000 +0100 ++++ cryptsetup-1.1.0/configure.in 2010-02-16 20:32:36.868858986 +0100 +@@ -62,11 +62,11 @@ LIBS=$saved_LIBS + + dnl ========================================================================== + +-AC_ARG_ENABLE(shared-library, +-[ --disable-shared-library ++AC_ARG_ENABLE(shared, ++[ --disable-shared + disable building of shared cryptsetup library],, +-enable_shared_library=yes) +-AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared_library = xno) ++enable_shared=yes) ++AM_CONDITIONAL(STATIC_LIBRARY, test x$enable_shared = xno) + + AC_ARG_ENABLE(selinux, + [ --disable-selinux disable selinux support [[default=auto]]],[], []) +@@ -80,7 +80,7 @@ LIBS=$saved_LIBS + if test "x$enable_selinux" != xno; then + AC_CHECK_LIB(sepol, sepol_bool_set) + AC_CHECK_LIB(selinux, is_selinux_enabled) +- if test x$enable_static = xyes; then ++ if test x$enable_static_cryptsetup = xyes; then + SELINUX_STATIC_LIBS=$LIBS + # Check if we need -pthread with --enable-static and selinux + saved_LIBS2=$LIBS +@@ -91,7 +91,7 @@ if test "x$enable_selinux" != xno; then + fi + fi + +-if test x$enable_static = xyes; then ++if test x$enable_static_cryptsetup = xyes; then + saved_LIBS2=$LIBS + LIBS="$LIBS -static" + # Check if it there is still not some missing dependency like static selinux libs +@@ -135,8 +135,8 @@ CS_NUM_WITH([luks1-keybits],[key length + + dnl ========================================================================== + +-AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static = xyes) +-AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static = xno) ++AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static_cryptsetup = xyes) ++AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static_cryptsetup = xno) + + dnl ========================================================================== + diff --git a/package/cryptsetup/patches/patch-lib_Makefile_in b/package/cryptsetup/patches/patch-lib_Makefile_in new file mode 100644 index 000000000..812950459 --- /dev/null +++ b/package/cryptsetup/patches/patch-lib_Makefile_in @@ -0,0 +1,8 @@ +--- cryptsetup-1.1.0.orig/lib/Makefile.in 2010-01-17 11:29:22.000000000 +0100 ++++ cryptsetup-1.1.0/lib/Makefile.in 2010-02-16 20:32:36.872861451 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-luks_Makefile_in b/package/cryptsetup/patches/patch-luks_Makefile_in new file mode 100644 index 000000000..208b1f396 --- /dev/null +++ b/package/cryptsetup/patches/patch-luks_Makefile_in @@ -0,0 +1,8 @@ +--- cryptsetup-1.1.0.orig/luks/Makefile.in 2010-01-17 11:29:22.000000000 +0100 ++++ cryptsetup-1.1.0/luks/Makefile.in 2010-02-16 20:32:36.876861682 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-man_Makefile_in b/package/cryptsetup/patches/patch-man_Makefile_in new file mode 100644 index 000000000..66fdcb7cf --- /dev/null +++ b/package/cryptsetup/patches/patch-man_Makefile_in @@ -0,0 +1,8 @@ +--- cryptsetup-1.1.0.orig/man/Makefile.in 2010-01-17 11:29:23.000000000 +0100 ++++ cryptsetup-1.1.0/man/Makefile.in 2010-02-16 20:32:36.880860794 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-src_Makefile_in b/package/cryptsetup/patches/patch-src_Makefile_in new file mode 100644 index 000000000..6c0b0096f --- /dev/null +++ b/package/cryptsetup/patches/patch-src_Makefile_in @@ -0,0 +1,8 @@ +--- cryptsetup-1.1.0.orig/src/Makefile.in 2010-01-17 11:29:23.000000000 +0100 ++++ cryptsetup-1.1.0/src/Makefile.in 2010-02-16 20:32:36.880860794 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/cryptsetup/patches/patch-tests_Makefile_in b/package/cryptsetup/patches/patch-tests_Makefile_in new file mode 100644 index 000000000..30e05580d --- /dev/null +++ b/package/cryptsetup/patches/patch-tests_Makefile_in @@ -0,0 +1,8 @@ +--- cryptsetup-1.1.0.orig/tests/Makefile.in 2010-01-17 11:29:23.000000000 +0100 ++++ cryptsetup-1.1.0/tests/Makefile.in 2010-02-16 20:32:36.888860137 +0100 +@@ -1,4 +1,4 @@ +-# Makefile.in generated by automake 1.11 from Makefile.am. ++# Makefile.in generated by automake 1.11.1 from Makefile.am. + # @configure_input@ + + # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, diff --git a/package/grep/Makefile b/package/grep/Makefile deleted file mode 100644 index 9508508c3..000000000 --- a/package/grep/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(TOPDIR)/rules.mk - -PKG_NAME:= grep -PKG_VERSION:= 2.5.4 -PKG_RELEASE:= 1 -PKG_MD5SUM:= 92258031d98d4f12dfc6a6d24057e672 -PKG_DESCR:= global search for a regular expression and print out matched lines -PKG_SECTION:= text -PKG_URL:= http://www.gnu.org/software/grep/ -PKG_SITES:= ftp://ftp.gnu.org/gnu/grep/ - -include $(TOPDIR)/mk/package.mk - -$(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -#CONFIG_STYLE:= manual -# use following to add ./configure options -#CONFIGURE_ARGS+= --disable-foo -# overwrite any configure variables -#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes -#BUILD_STYLE:= manual -#INSTALL_STYLE:= manual - -post-install: - $(INSTALL_DIR) $(IDIR_GREP)/usr/bin - $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \ - $(IDIR_GREP)/usr/bin - -include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 1a2a5c4742003b21ad4f4fed008db9b4507295da Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:39:48 +0100 Subject: add grep package, busybox grep lacks -w --- Config.in | 1 + package/Config.in | 1 + package/busybox/config/findutils/Config.in | 3 ++- package/grep/Makefile | 32 ++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 package/grep/Makefile diff --git a/Config.in b/Config.in index e22136582..8b7d40cd6 100644 --- a/Config.in +++ b/Config.in @@ -36,6 +36,7 @@ config ADK_DEVELSYSTEM select ADK_PACKAGE_GAWK select ADK_PACKAGE_GCC select ADK_PACKAGE_GIT + select ADK_PACKAGE_GREP select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC diff --git a/package/Config.in b/package/Config.in index 68c81aad1..1d5743055 100644 --- a/package/Config.in +++ b/package/Config.in @@ -551,6 +551,7 @@ source "package/cpufrequtils/Config.in" source "package/fbset/Config.in" source "package/file/Config.in" source "package/findutils/Config.in" +source "package/grep/Config.in" source "package/hdparm/Config.in" source "package/usbutils/Config.in" source "package/patch/Config.in" diff --git a/package/busybox/config/findutils/Config.in b/package/busybox/config/findutils/Config.in index ba2e5f557..1a1e0f4d5 100644 --- a/package/busybox/config/findutils/Config.in +++ b/package/busybox/config/findutils/Config.in @@ -182,7 +182,8 @@ config BUSYBOX_FEATURE_FIND_CONTEXT config BUSYBOX_GREP bool "grep" - default y + default y if !ADK_PACKAGE_GREP + depends on !ADK_PACKAGE_GREP help grep is used to search files for a specified pattern. diff --git a/package/grep/Makefile b/package/grep/Makefile new file mode 100644 index 000000000..9508508c3 --- /dev/null +++ b/package/grep/Makefile @@ -0,0 +1,32 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= grep +PKG_VERSION:= 2.5.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 92258031d98d4f12dfc6a6d24057e672 +PKG_DESCR:= global search for a regular expression and print out matched lines +PKG_SECTION:= text +PKG_URL:= http://www.gnu.org/software/grep/ +PKG_SITES:= ftp://ftp.gnu.org/gnu/grep/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +#CONFIG_STYLE:= manual +# use following to add ./configure options +#CONFIGURE_ARGS+= --disable-foo +# overwrite any configure variables +#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes +#BUILD_STYLE:= manual +#INSTALL_STYLE:= manual + +post-install: + $(INSTALL_DIR) $(IDIR_GREP)/usr/bin + $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \ + $(IDIR_GREP)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From e73db124700dda7f94bcee4318f5a9e525160f27 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 14:40:35 +0100 Subject: cleanup comments from template --- package/grep/Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/package/grep/Makefile b/package/grep/Makefile index 9508508c3..6f2eba00e 100644 --- a/package/grep/Makefile +++ b/package/grep/Makefile @@ -16,14 +16,6 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,GREP,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -#CONFIG_STYLE:= manual -# use following to add ./configure options -#CONFIGURE_ARGS+= --disable-foo -# overwrite any configure variables -#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes -#BUILD_STYLE:= manual -#INSTALL_STYLE:= manual - post-install: $(INSTALL_DIR) $(IDIR_GREP)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/grep \ -- cgit v1.2.3 From b1e2fe58fc1b25e349f8adcf694628299c263536 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:02:25 +0100 Subject: update to latest upstream release --- package/libusb/Makefile | 4 ++-- package/usbutils/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libusb/Makefile b/package/libusb/Makefile index a5dec2885..8b68fdb79 100644 --- a/package/libusb/Makefile +++ b/package/libusb/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libusb -PKG_VERSION:= 1.0.3 +PKG_VERSION:= 1.0.6 PKG_RELEASE:= 1 -PKG_MD5SUM:= 03af26d0c49705fa46c1f732e1018e73 +PKG_MD5SUM:= 818c7c02112a53e0c182666ee83f2057 PKG_DESCR:= a library for accessing Linux USB devices PKG_SECTION:= libs PKG_URL:= http://libusb.wiki.sourceforge.net diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile index 8d8cba862..d5d5d21ee 100644 --- a/package/usbutils/Makefile +++ b/package/usbutils/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= usbutils -PKG_VERSION:= 0.73 +PKG_VERSION:= 0.86 PKG_RELEASE:= 1 -PKG_MD5SUM:= 88978b4ad891f610620b1b8e5e0f43eb +PKG_MD5SUM:= 34979f675d2bcb3e1b45012fa830a53f PKG_DESCR:= A program to list USB devices PKG_SECTION:= misc PKG_DEPENDS:= libusb libusb-compat libpthread -- cgit v1.2.3 From 8a45e26cfb92ab1738d107e7ed764c28b1184a71 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:02:40 +0100 Subject: fix PKG_DEPENDS --- package/gcc/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 3c6e0b701..4de63c4f7 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -11,15 +11,15 @@ PKG_DEPENDS:= libgmp mpfr PKG_BUILDDEP+= gmp mpfr ifeq ($(ADK_TARGET_LIB_UCLIBC),y) -PKG_DEPENDS:= uclibc-dev +PKG_DEPENDS+= uclibc-dev PKG_BUILDDEP+= uclibc endif ifeq ($(ADK_TARGET_LIB_EGLIBC),y) -PKG_DEPENDS:= eglibc-dev +PKG_DEPENDS+= eglibc-dev PKG_BUILDDEP+= eglibc endif ifeq ($(ADK_TARGET_LIB_GLIBC),y) -PKG_DEPENDS:= glibc-dev +PKG_DEPENDS+= glibc-dev PKG_BUILDDEP+= glibc endif -- cgit v1.2.3 From a61ee2fc565e1d826024801e0539a5d08165ea1a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:03:05 +0100 Subject: use grep instead of fgrep --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9959e3169..2e845f25f 100644 --- a/Makefile +++ b/Makefile @@ -170,11 +170,11 @@ prereq-noerror: NO_ERROR=0 .prereq_done: @-rm -rf .prereq_done - @if ! bash --version 2>&1 | fgrep 'GNU bash' >/dev/null 2>&1; then \ + @if ! bash --version 2>&1 | grep -F 'GNU bash' >/dev/null 2>&1; then \ echo "GNU bash needs to be installed."; \ exit 1; \ fi - @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | fgrep 'MIRBSD' >/dev/null 2>&1; then \ + @if ! mksh -c 'echo $$KSH_VERSION' 2>&1 | grep -F 'MIRBSD' >/dev/null 2>&1; then \ echo "MirBSD ksh (mksh) needs to be installed."; \ exit 1; \ else \ -- cgit v1.2.3 From 8f85e1a4a09784899b19c2673327cf1ca74a59f1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:03:45 +0100 Subject: enable package for lemote --- package/xf86-input-keyboard/Makefile | 2 +- package/xf86-input-mouse/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/xf86-input-keyboard/Makefile b/package/xf86-input-keyboard/Makefile index 0b66eea6e..5ed7240d7 100644 --- a/package/xf86-input-keyboard/Makefile +++ b/package/xf86-input-keyboard/Makefile @@ -13,7 +13,7 @@ PKG_BUILDDEP+= xorg-server PKG_DEPENDS:= xorg-server PKG_SITES:= ${MASTER_SITE_XORG} -PKG_TARGET_DEPENDS:= alix1c +PKG_TARGET_DEPENDS:= alix1c lemote include $(TOPDIR)/mk/package.mk diff --git a/package/xf86-input-mouse/Makefile b/package/xf86-input-mouse/Makefile index 4755fedc1..959a2a071 100644 --- a/package/xf86-input-mouse/Makefile +++ b/package/xf86-input-mouse/Makefile @@ -13,7 +13,7 @@ PKG_DEPENDS:= xorg-server PKG_BUILDDEP+= xorg-server PKG_SITES:= ${MASTER_SITE_XORG} -PKG_TARGET_DEPENDS:= alix1c +PKG_TARGET_DEPENDS:= alix1c lemote include $(TOPDIR)/mk/package.mk -- cgit v1.2.3 From 854761c6d5c5ec1ca4a3258161d05ed61fa84d8e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:04:21 +0100 Subject: add siliconmotion driver --- package/Config.in | 1 + package/xf86-video-siliconmotion/Makefile | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 package/xf86-video-siliconmotion/Makefile diff --git a/package/Config.in b/package/Config.in index 1d5743055..bc7f7013a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -582,6 +582,7 @@ menu "X server and drivers" source "package/xorg-server/Config.in" source "package/xf86-video-cirrus/Config.in" source "package/xf86-video-geode/Config.in" +source "package/xf86-video-siliconmotion/Config.in" source "package/xf86-input-mouse/Config.in" source "package/xf86-input-keyboard/Config.in" source "package/xf86-input-evtouch/Config.in" diff --git a/package/xf86-video-siliconmotion/Makefile b/package/xf86-video-siliconmotion/Makefile new file mode 100644 index 000000000..b9847902b --- /dev/null +++ b/package/xf86-video-siliconmotion/Makefile @@ -0,0 +1,27 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= xf86-video-siliconmotion +PKG_VERSION:= 1.7.3 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 39da891cd368960443613e7a61398216 +PKG_DESCR:= X11 driver for Silicon Motion VGA chips +PKG_SECTION:= x11 +PKG_DEPENDS:= xorg-server +PKG_BUILDDEP+= xorg-server +PKG_SITES:= http://xorg.freedesktop.org/releases/individual/driver/ + +PKG_TARGET_DEPENDS:= lemote + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,XF86_VIDEO_SILICONMOTION,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + ${INSTALL_DIR} ${IDIR_XF86_VIDEO_SILICONMOTION}/usr/lib/xorg/modules/drivers + ${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/siliconmotion_*.so \ + ${IDIR_XF86_VIDEO_SILICONMOTION}/usr/lib/xorg/modules/drivers/ + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 57c79032a8ff5f3cc1d8b8ea257409477e1b10d9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Mar 2010 18:08:39 +0100 Subject: enable audio for lemote --- target/lemote/Makefile | 6 +++--- target/lemote/files/etc/mdev.conf | 6 ++++++ target/linux/config/Config.in.multimedia | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/target/lemote/Makefile b/target/lemote/Makefile index ec09c0716..7b1fda013 100644 --- a/target/lemote/Makefile +++ b/target/lemote/Makefile @@ -33,7 +33,7 @@ createinitcrypt: ifeq ($(FS),nfsroot) imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL) @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel' - @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}' + @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSUSERTARBALL}' @echo 'Boot your lemote and type following commands in PMON:' @echo 'PMON> ifaddr rtl0 ' @echo 'PMON> load tftp:///${ADK_TARGET}-${FS}-kernel' @@ -61,8 +61,8 @@ imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL) createinitcrypt @echo 'mount /dev/mapper/crypt /mnt/root' @echo 'mkdir /mnt/boot/boot' @echo - @echo 'Copy $(ROOTFSTARBALL) via scp to /mnt/root and extract it' - @echo 'cd /mnt/root ; gunzip $(ROOTFSTARBALL); tar xpvf $(ROOTFSTARBALL)' + @echo 'Copy $(ROOTFSUSERTARBALL) via scp to /mnt/root and extract it' + @echo 'cd /mnt/root ; gunzip $(ROOTFSUSERTARBALL); tar xpvf $(ROOTFSUSERTARBALL)' @echo 'Copy ${ADK_TARGET}-${FS}-kernel via scp to /mnt/boot/boot' @echo 'Move boot.cfg to /mnt/boot/boot' @echo 'mv /mnt/root/boot/boot.cfg /mnt/boot/boot' diff --git a/target/lemote/files/etc/mdev.conf b/target/lemote/files/etc/mdev.conf index baa2eb140..bc0877b4f 100644 --- a/target/lemote/files/etc/mdev.conf +++ b/target/lemote/files/etc/mdev.conf @@ -7,4 +7,10 @@ console 0:0 0600 ptmx 0:0 666 tty 0:0 666 ttyS* 0:0 640 +audio root:audio 660 >snd/audio +dsp root:audio 660 >snd/dsp +timer root:audio 660 >snd/timer +controlC0 root:audio 660 >snd/controlC0 +pcmC0D0c root:audio 660 >snd/pcmC0D0c +pcmC0D0p root:audio 660 >snd/pcmC0D0p .* 0:0 644 @/lib/mdev/init diff --git a/target/linux/config/Config.in.multimedia b/target/linux/config/Config.in.multimedia index 01e837dca..f224dc31b 100644 --- a/target/linux/config/Config.in.multimedia +++ b/target/linux/config/Config.in.multimedia @@ -82,7 +82,7 @@ config ADK_KPACKAGE_KMOD_SND_CS5535AUDIO prompt "kmod-sound-alsa-cs5535......... ALSA AMD CS5535 driver (ALIX1C)" depends on ADK_KPACKAGE_KMOD_SND select ADK_KPACKAGE_KMOD_SND_AC97_CODEC - depends on ADK_LINUX_X86_ALIX1C + depends on ADK_LINUX_X86_ALIX1C || ADK_LINUX_MIPS64_LEMOTE tristate default n help -- cgit v1.2.3 From 0178406686aefd9388e4c9f4440adbb79480502e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Mar 2010 18:43:29 +0100 Subject: remove obsolete usbfs --- package/base-files/src/lib/mdev/init | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package/base-files/src/lib/mdev/init b/package/base-files/src/lib/mdev/init index d2ae13e9c..de368c80c 100644 --- a/package/base-files/src/lib/mdev/init +++ b/package/base-files/src/lib/mdev/init @@ -1,9 +1,4 @@ #!/bin/sh -if [ "$ACTION" == "add" ];then - if [ "$DEVPATH" == "/bus/usb" ];then - mount -t usbfs usbfs /proc/bus/usb - fi -fi if [ "$SUBSYSTEM" == "firmware" ];then logger "Firmware load for $FIRMWARE requested" if [ "$ACTION" == "add" ];then -- cgit v1.2.3 From 0fd4b007237e051deb8b6ca92caa344730d9d80d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Mar 2010 18:43:57 +0100 Subject: add xf86-video-fbdev driver --- package/Config.in | 1 + package/xf86-video-fbdev/Makefile | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 package/xf86-video-fbdev/Makefile diff --git a/package/Config.in b/package/Config.in index bc7f7013a..24755ca21 100644 --- a/package/Config.in +++ b/package/Config.in @@ -582,6 +582,7 @@ menu "X server and drivers" source "package/xorg-server/Config.in" source "package/xf86-video-cirrus/Config.in" source "package/xf86-video-geode/Config.in" +source "package/xf86-video-fbdev/Config.in" source "package/xf86-video-siliconmotion/Config.in" source "package/xf86-input-mouse/Config.in" source "package/xf86-input-keyboard/Config.in" diff --git a/package/xf86-video-fbdev/Makefile b/package/xf86-video-fbdev/Makefile new file mode 100644 index 000000000..43e20a7ee --- /dev/null +++ b/package/xf86-video-fbdev/Makefile @@ -0,0 +1,25 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= xf86-video-fbdev +PKG_VERSION:= 0.4.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c297e40b93b3636a72189cfac43d1a87 +PKG_DESCR:= X11 driver for Linux Framebuffer devices +PKG_SECTION:= x11 +PKG_DEPENDS:= xorg-server +PKG_BUILDDEP+= xorg-server +PKG_SITES:= http://xorg.freedesktop.org/releases/individual/driver/ + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,XF86_VIDEO_FBDEV,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +post-install: + ${INSTALL_DIR} ${IDIR_XF86_VIDEO_FBDEV}/usr/lib/xorg/modules/drivers + ${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/fbdev_*.so \ + ${IDIR_XF86_VIDEO_FBDEV}/usr/lib/xorg/modules/drivers/ + +include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3 From 5888b9a982ec425571d6129a72a63a019623f3a2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Mar 2010 18:44:10 +0100 Subject: check for cfgfs --- package/base-files/src/sbin/adkupdate | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate index bc1082b1c..8a97495ed 100755 --- a/package/base-files/src/sbin/adkupdate +++ b/package/base-files/src/sbin/adkupdate @@ -23,7 +23,9 @@ check_exit() { prepare() { cd / - umount -f /etc + if [ -x /sbin/cfgfs ];then + umount -f /etc + fi mount -o remount,rw / if [ "$system" == "RB532" ];then mount -t yaffs2 /dev/mtdblock0 /boot @@ -77,7 +79,9 @@ case $1 in esac sync -mount -o bind /etc /tmp/.cfgfs/root +if [ -x /sbin/cfgfs ];then + mount -o bind /etc /tmp/.cfgfs/root +fi if [ "$system" == "RB532" ];then umount -f /boot elif [ "$system" == "FOXG20" ];then -- cgit v1.2.3 From 41fa61e1a26ffa8b637b824f54701fa402b52c70 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Mar 2010 18:44:41 +0100 Subject: add dependencies --- package/rxvt-unicode/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/rxvt-unicode/Makefile b/package/rxvt-unicode/Makefile index f6918ad68..626c9bf54 100644 --- a/package/rxvt-unicode/Makefile +++ b/package/rxvt-unicode/Makefile @@ -9,8 +9,8 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 49bb52c99e002bf85eb41d8385d903b5 PKG_DESCR:= x-term with unicode support PKG_SECTION:= x11 -PKG_DEPENDS:= libx11 fontconfig libxft -PKG_BUILDDEP+= libX11 fontconfig libXft +PKG_DEPENDS:= libx11 fontconfig libxft libxml2 +PKG_BUILDDEP+= libX11 fontconfig libXft libxml2 PKG_URL:= http://software.schmorp.de/pkg/rxvt-unicode.html PKG_SITES:= http://dist.schmorp.de/rxvt-unicode/ -- cgit v1.2.3 From 17e34f2243446838d79a4a42e10777c5f100de2e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 7 Mar 2010 18:45:10 +0100 Subject: add patch from rt4ls git --- target/lemote/Makefile | 2 +- target/lemote/kernel.config | 144 +- target/lemote/patches/lemote.patch | 40947 +++++++++++++++++++++++++++++++++++ target/lemote/xorg.conf | 61 + 4 files changed, 41123 insertions(+), 31 deletions(-) create mode 100644 target/lemote/patches/lemote.patch create mode 100644 target/lemote/xorg.conf diff --git a/target/lemote/Makefile b/target/lemote/Makefile index 7b1fda013..fa554dfaf 100644 --- a/target/lemote/Makefile +++ b/target/lemote/Makefile @@ -43,7 +43,7 @@ endif ifeq ($(FS),encrypted) imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL) createinitcrypt @echo 'The kernel+cryptinit file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel' - @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFUSERSTARBALL)" + @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSUSERTARBALL)" @echo 'Boot your lemote via NFS or USB.' @echo 'Then create at least three partitions with fdisk:' @echo '/dev/sda1 (ext2)' diff --git a/target/lemote/kernel.config b/target/lemote/kernel.config index 22e8d01a6..33c8305bc 100644 --- a/target/lemote/kernel.config +++ b/target/lemote/kernel.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.33 -# Fri Mar 5 18:56:32 2010 +# Sun Mar 7 13:18:48 2010 # CONFIG_MIPS=y @@ -108,7 +108,6 @@ CONFIG_CPU_LOONGSON2F=y # CONFIG_CPU_SB1 is not set # CONFIG_CPU_CAVIUM_OCTEON is not set CONFIG_SYS_SUPPORTS_ZBOOT=y -CONFIG_SYS_SUPPORTS_ZBOOT_UART16550=y CONFIG_CPU_LOONGSON2=y CONFIG_SYS_HAS_CPU_LOONGSON2F=y CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y @@ -226,12 +225,11 @@ CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_EMBEDDED=y CONFIG_SYSCTL_SYSCALL=y -CONFIG_KALLSYMS=y -# CONFIG_KALLSYMS_EXTRA_PASS is not set +# CONFIG_KALLSYMS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y -CONFIG_BUG=y -# CONFIG_ELF_CORE is not set +# CONFIG_BUG is not set +CONFIG_ELF_CORE=y # CONFIG_PCSPKR_PLATFORM is not set # CONFIG_BASE_FULL is not set CONFIG_FUTEX=y @@ -279,11 +277,11 @@ CONFIG_BLOCK_COMPAT=y # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_DEADLINE is not set -# CONFIG_IOSCHED_CFQ is not set +CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_DEADLINE is not set -# CONFIG_DEFAULT_CFQ is not set -CONFIG_DEFAULT_NOOP=y -CONFIG_DEFAULT_IOSCHED="noop" +CONFIG_DEFAULT_CFQ=y +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="cfq" # CONFIG_INLINE_SPIN_TRYLOCK is not set # CONFIG