From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: optimize ipkg package management - generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig --- package/ltp/Config.in | 16 ------------ package/ltp/Makefile | 30 ---------------------- package/ltp/ipkg/ltp.control | 4 --- package/ltp/patches/patch-Makefile | 20 --------------- package/ltp/patches/patch-runltp | 22 ---------------- .../patch-testcases_kernel_syscalls_Makefile | 13 ---------- .../ltp/patches/patch-testcases_misc_math_Makefile | 10 -------- .../patch-testcases_misc_math_float_Makefile | 18 ------------- 8 files changed, 133 deletions(-) delete mode 100644 package/ltp/Config.in delete mode 100644 package/ltp/Makefile delete mode 100644 package/ltp/ipkg/ltp.control delete mode 100644 package/ltp/patches/patch-Makefile delete mode 100644 package/ltp/patches/patch-runltp delete mode 100644 package/ltp/patches/patch-testcases_kernel_syscalls_Makefile delete mode 100644 package/ltp/patches/patch-testcases_misc_math_Makefile delete mode 100644 package/ltp/patches/patch-testcases_misc_math_float_Makefile (limited to 'package/ltp') diff --git a/package/ltp/Config.in b/package/ltp/Config.in deleted file mode 100644 index 5833e8092..000000000 --- a/package/ltp/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config ADK_PACKAGE_LTP - prompt "ltp............................... The Linux Test Project Suite (BEWARE: HUGE!!)" - tristate - default n - help - The Linux Test Project is a joint project started by SGI and - maintained by IBM, that has a goal to deliver test suites to - the open source community that validate the reliability, - robustness, and stability of Linux. The LTP testsuite contains - a collection of tools for testing the Linux kernel and related - features. - - BEWARE: this is a very huge package, and therefore merely usable - from an embedded system. It will consume about 150MB! - - http://ltp.sourceforge.net/ diff --git a/package/ltp/Makefile b/package/ltp/Makefile deleted file mode 100644 index 5a0da8eb1..000000000 --- a/package/ltp/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $Id$ -#- -# 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:= ltp-full -PKG_VERSION:= 20061121 -PKG_RELEASE:= 2 -PKG_MD5SUM:= f01dd2119c5d4462e876229df394ecbf -MASTER_SITES:= http://switch.dl.sourceforge.net/sourceforge/ltp/ -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz - -include ${TOPDIR}/mk/package.mk - -$(eval $(call PKG_template,LTP,ltp,${PKG_VERSION}-${PKG_RELEASE})) - -BUILD_STYLE:= auto -INSTALL_STYLE:= auto -XAKE_FLAGS+= CROSS_COMPILER="${TARGET_CROSS}" \ - CROSS_CFLAGS="${TCFLAGS} -I${WRKBUILD}/include" \ - CPPFLAGS="${TCPPFLAGS}" \ - LDFLAGS="${TLDFLAGS}" - -post-install: - ${CP} ${WRKBUILD} ${IDIR_LTP} - find ${IDIR_LTP} \( -name '*.c' -o -name '*.h' -o -name '*.o' \) -exec rm '{}' \; - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/ltp/ipkg/ltp.control b/package/ltp/ipkg/ltp.control deleted file mode 100644 index 24960d811..000000000 --- a/package/ltp/ipkg/ltp.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: ltp -Priority: optional -Section: utilities -Description: the Linux Test Project Suite (full) diff --git a/package/ltp/patches/patch-Makefile b/package/ltp/patches/patch-Makefile deleted file mode 100644 index a7f4d050d..000000000 --- a/package/ltp/patches/patch-Makefile +++ /dev/null @@ -1,20 +0,0 @@ -$Id$ -Installation as root is never done anyway, so remove this crap ---- ltp-full-20061121.orig/Makefile 2006-11-21 21:31:20.000000000 +0100 -+++ ltp-full-20061121/Makefile 2006-12-06 12:08:02.000000000 +0100 -@@ -44,15 +44,10 @@ all: libltp.a - @$(MAKE) -C pan $@ - @$(MAKE) -C testcases $@ - @$(MAKE) -C tools $@ -- @echo -- @echo "***********************************************" -- @echo "** You now need to do a make install as root **" -- @echo "***********************************************" - - install: all - @$(MAKE) -C testcases install - @$(MAKE) -C tools install -- @./IDcheck.sh - - libltp.a: - @$(MAKE) -C lib $@ diff --git a/package/ltp/patches/patch-runltp b/package/ltp/patches/patch-runltp deleted file mode 100644 index 342a454d4..000000000 --- a/package/ltp/patches/patch-runltp +++ /dev/null @@ -1,22 +0,0 @@ -$Id$ -ash does not understand the test '-a' (test for bare existence) ---- ltp-full-20061121.orig/runltp 2006-11-21 21:31:20.000000000 +0100 -+++ ltp-full-20061121/runltp 2006-12-06 13:22:14.000000000 +0100 -@@ -285,7 +285,7 @@ main() - ${LTPROOT}/runtest/sched ${LTPROOT}/runtest/math \ - ${LTPROOT}/runtest/nptl ${LTPROOT}/runtest/pty - do -- [ -a "$SCENFILES" ] || \ -+ [ -e "$SCENFILES" ] || \ - { - echo "FATAL: missing scenario file $SCENFILES" - exit 1 -@@ -319,7 +319,7 @@ main() - ${LTPROOT}/runtest/rpc \ - ${LTPROOT}/runtest/nfs - do -- [ -a "$SCENFILES" ] || \ -+ [ -e "$SCENFILES" ] || \ - { - echo "FATAL: missing scenario file $SCENFILES" - exit 1 diff --git a/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile b/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile deleted file mode 100644 index a90351258..000000000 --- a/package/ltp/patches/patch-testcases_kernel_syscalls_Makefile +++ /dev/null @@ -1,13 +0,0 @@ -$Id$ -excluded pselect for now, as there is no support for it in kernel-2.4 ---- ltp-full-20061121.orig/testcases/kernel/syscalls/Makefile 2006-11-21 21:31:28.000000000 +0100 -+++ ltp-full-20061121/testcases/kernel/syscalls/Makefile 2006-12-06 11:24:39.000000000 +0100 -@@ -25,7 +25,7 @@ EXCLUDE_DIR=epoll - # - # Commented this out since there are directories here we don't want built by default - # --SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -v epoll` -+SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^epoll|pselect"` - UCLINUX_SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^fork|epoll|capget|capset|chmod|chown|llseek|nftw|clone|profil|getcontext"` - - all: diff --git a/package/ltp/patches/patch-testcases_misc_math_Makefile b/package/ltp/patches/patch-testcases_misc_math_Makefile deleted file mode 100644 index ce705b2b3..000000000 --- a/package/ltp/patches/patch-testcases_misc_math_Makefile +++ /dev/null @@ -1,10 +0,0 @@ -$Id$ -excluding nextafter, does not build (strange macro is missing) ---- ltp-full-20061121.orig/testcases/misc/math/Makefile 2006-11-21 21:31:27.000000000 +0100 -+++ ltp-full-20061121/testcases/misc/math/Makefile 2006-12-06 11:54:56.000000000 +0100 -@@ -1,4 +1,4 @@ --SUBDIRS = abs atof float fptests nextafter -+SUBDIRS = abs atof float fptests - - all: - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done diff --git a/package/ltp/patches/patch-testcases_misc_math_float_Makefile b/package/ltp/patches/patch-testcases_misc_math_float_Makefile deleted file mode 100644 index 4b9c41422..000000000 --- a/package/ltp/patches/patch-testcases_misc_math_float_Makefile +++ /dev/null @@ -1,18 +0,0 @@ -$Id$ -Excluded bessel tests as they do not compile. -FIXME: needs some asm rework perhaps. ---- ltp-full-20061121.orig/testcases/misc/math/float/Makefile 2006-11-21 21:31:27.000000000 +0100 -+++ ltp-full-20061121/testcases/misc/math/float/Makefile 2006-12-06 11:31:45.000000000 +0100 -@@ -1,10 +1,10 @@ - CFLAGS+= -I../../../../include -Wall -g - LOADLIBES+= -lpthread -lm -L../../../../lib -lltp - --SRCS=$(wildcard float*.c) -+SRCS=$(patsubst float_bessel.c,,$(wildcard float*.c)) - TARGETS=$(patsubst %.c,%,$(SRCS)) - --SUBDIRS=bessel exp_log iperb power trigo -+SUBDIRS=exp_log iperb power trigo - - all: $(TARGETS) - @set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i ; done -- cgit v1.2.3