summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
commit6daa792eab1488d013fefc5eb7e4d01f40f38687 (patch)
tree6391cc46bb9fc8b859d99175ea317e5fa7b37959 /package/base-files
parentadcaca72539b2ff4a5f4deee00d5f0251378ac9b (diff)
change defaults for CONFIG/BUILD/INSTALL styles
All packages need an update, so here is a very huge commit. Most of the 460 source packages use automatic style for configuration, building and installing. Make these styles default to "auto". If you have a package, which does not conform to this, just use manual style and add a do-$task make target. I added a new style named AUTOTOOL style, which is needed for some broken packages, which needs to be updated via autoconf or automake. I renamed CONFIGURE_STYLE to CONFIG_STYLE. Updates for some packages, which have newer upstream versions. Renaming of all package/*/extra directories. Use the directory src/ to provide overwrites of source files or to add the code, when no upstream package is available or used. src directory will be automatically used.
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile4
-rw-r--r--package/base-files/src/etc/banner (renamed from package/base-files/extra/etc/banner)0
-rw-r--r--package/base-files/src/etc/functions.sh (renamed from package/base-files/extra/etc/functions.sh)0
-rw-r--r--package/base-files/src/etc/group (renamed from package/base-files/extra/etc/group)0
-rw-r--r--package/base-files/src/etc/hosts (renamed from package/base-files/extra/etc/hosts)0
-rw-r--r--package/base-files/src/etc/init.d/boot (renamed from package/base-files/extra/etc/init.d/boot)0
-rw-r--r--package/base-files/src/etc/init.d/done (renamed from package/base-files/extra/etc/init.d/done)0
-rwxr-xr-xpackage/base-files/src/etc/init.d/rcK (renamed from package/base-files/extra/etc/init.d/rcK)0
-rwxr-xr-xpackage/base-files/src/etc/init.d/rcS (renamed from package/base-files/extra/etc/init.d/rcS)0
-rw-r--r--package/base-files/src/etc/inittab (renamed from package/base-files/extra/etc/inittab)0
-rw-r--r--package/base-files/src/etc/ipkg.conf (renamed from package/base-files/extra/etc/ipkg.conf)0
-rw-r--r--package/base-files/src/etc/mdev.conf (renamed from package/base-files/extra/etc/mdev.conf)0
-rw-r--r--package/base-files/src/etc/modules (renamed from package/base-files/extra/etc/modules)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-post-down.d/01-bridge (renamed from package/base-files/extra/etc/network/if-post-down.d/01-bridge)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-post-down.d/02-vlan (renamed from package/base-files/extra/etc/network/if-post-down.d/02-vlan)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/01-atm (renamed from package/base-files/extra/etc/network/if-pre-up.d/01-atm)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/02-vlan (renamed from package/base-files/extra/etc/network/if-pre-up.d/02-vlan)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/03-bridge (renamed from package/base-files/extra/etc/network/if-pre-up.d/03-bridge)0
-rwxr-xr-xpackage/base-files/src/etc/network/if-up.d/01-bridge (renamed from package/base-files/extra/etc/network/if-up.d/01-bridge)0
-rw-r--r--package/base-files/src/etc/network/interfaces (renamed from package/base-files/extra/etc/network/interfaces)0
-rw-r--r--package/base-files/src/etc/passwd (renamed from package/base-files/extra/etc/passwd)0
-rw-r--r--package/base-files/src/etc/profile (renamed from package/base-files/extra/etc/profile)0
-rw-r--r--package/base-files/src/etc/protocols (renamed from package/base-files/extra/etc/protocols)0
-rw-r--r--package/base-files/src/etc/rc.conf (renamed from package/base-files/extra/etc/rc.conf)0
-rw-r--r--package/base-files/src/etc/shadow (renamed from package/base-files/extra/etc/shadow)0
-rw-r--r--package/base-files/src/etc/sysctl.conf (renamed from package/base-files/extra/etc/sysctl.conf)0
-rwxr-xr-xpackage/base-files/src/init (renamed from package/base-files/extra/init)0
-rw-r--r--package/base-files/src/lib/mdev/init (renamed from package/base-files/extra/lib/mdev/init)0
-rwxr-xr-xpackage/base-files/src/sbin/update (renamed from package/base-files/extra/sbin/update)0
-rwxr-xr-xpackage/base-files/src/usr/share/udhcpc/default.script (renamed from package/base-files/extra/usr/share/udhcpc/default.script)0
30 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 92949ea13..e771a5084 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -18,11 +18,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BASE_FILES,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
PKGDFLT_BASE_FILES= y if !ADK_TOOLCHAIN_ONLY
+
+CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-install:
- $(CP) ./extra/* $(IDIR_BASE_FILES)
+ $(CP) ./src/* $(IDIR_BASE_FILES)
$(CP) $(TOPDIR)/target/$(ADK_TARGET)/files/* $(IDIR_BASE_FILES)
ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y)
@-rm $(IDIR_BASE_FILES)/etc/network/interfaces
diff --git a/package/base-files/extra/etc/banner b/package/base-files/src/etc/banner
index 49dbb9685..49dbb9685 100644
--- a/package/base-files/extra/etc/banner
+++ b/package/base-files/src/etc/banner
diff --git a/package/base-files/extra/etc/functions.sh b/package/base-files/src/etc/functions.sh
index 5d76f4843..5d76f4843 100644
--- a/package/base-files/extra/etc/functions.sh
+++ b/package/base-files/src/etc/functions.sh
diff --git a/package/base-files/extra/etc/group b/package/base-files/src/etc/group
index c4e77f316..c4e77f316 100644
--- a/package/base-files/extra/etc/group
+++ b/package/base-files/src/etc/group
diff --git a/package/base-files/extra/etc/hosts b/package/base-files/src/etc/hosts
index 87d837fc7..87d837fc7 100644
--- a/package/base-files/extra/etc/hosts
+++ b/package/base-files/src/etc/hosts
diff --git a/package/base-files/extra/etc/init.d/boot b/package/base-files/src/etc/init.d/boot
index f71e46240..f71e46240 100644
--- a/package/base-files/extra/etc/init.d/boot
+++ b/package/base-files/src/etc/init.d/boot
diff --git a/package/base-files/extra/etc/init.d/done b/package/base-files/src/etc/init.d/done
index e5b655bb6..e5b655bb6 100644
--- a/package/base-files/extra/etc/init.d/done
+++ b/package/base-files/src/etc/init.d/done
diff --git a/package/base-files/extra/etc/init.d/rcK b/package/base-files/src/etc/init.d/rcK
index e94d1a296..e94d1a296 100755
--- a/package/base-files/extra/etc/init.d/rcK
+++ b/package/base-files/src/etc/init.d/rcK
diff --git a/package/base-files/extra/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS
index fd56feebf..fd56feebf 100755
--- a/package/base-files/extra/etc/init.d/rcS
+++ b/package/base-files/src/etc/init.d/rcS
diff --git a/package/base-files/extra/etc/inittab b/package/base-files/src/etc/inittab
index 960ea77d8..960ea77d8 100644
--- a/package/base-files/extra/etc/inittab
+++ b/package/base-files/src/etc/inittab
diff --git a/package/base-files/extra/etc/ipkg.conf b/package/base-files/src/etc/ipkg.conf
index 6c9242620..6c9242620 100644
--- a/package/base-files/extra/etc/ipkg.conf
+++ b/package/base-files/src/etc/ipkg.conf
diff --git a/package/base-files/extra/etc/mdev.conf b/package/base-files/src/etc/mdev.conf
index 99c910d0b..99c910d0b 100644
--- a/package/base-files/extra/etc/mdev.conf
+++ b/package/base-files/src/etc/mdev.conf
diff --git a/package/base-files/extra/etc/modules b/package/base-files/src/etc/modules
index 014f40f2b..014f40f2b 100644
--- a/package/base-files/extra/etc/modules
+++ b/package/base-files/src/etc/modules
diff --git a/package/base-files/extra/etc/network/if-post-down.d/01-bridge b/package/base-files/src/etc/network/if-post-down.d/01-bridge
index 47f3c976b..47f3c976b 100755
--- a/package/base-files/extra/etc/network/if-post-down.d/01-bridge
+++ b/package/base-files/src/etc/network/if-post-down.d/01-bridge
diff --git a/package/base-files/extra/etc/network/if-post-down.d/02-vlan b/package/base-files/src/etc/network/if-post-down.d/02-vlan
index e448a7641..e448a7641 100755
--- a/package/base-files/extra/etc/network/if-post-down.d/02-vlan
+++ b/package/base-files/src/etc/network/if-post-down.d/02-vlan
diff --git a/package/base-files/extra/etc/network/if-pre-up.d/01-atm b/package/base-files/src/etc/network/if-pre-up.d/01-atm
index 5c168c001..5c168c001 100755
--- a/package/base-files/extra/etc/network/if-pre-up.d/01-atm
+++ b/package/base-files/src/etc/network/if-pre-up.d/01-atm
diff --git a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan b/package/base-files/src/etc/network/if-pre-up.d/02-vlan
index 35b7fca59..35b7fca59 100755
--- a/package/base-files/extra/etc/network/if-pre-up.d/02-vlan
+++ b/package/base-files/src/etc/network/if-pre-up.d/02-vlan
diff --git a/package/base-files/extra/etc/network/if-pre-up.d/03-bridge b/package/base-files/src/etc/network/if-pre-up.d/03-bridge
index 41ddb2b58..41ddb2b58 100755
--- a/package/base-files/extra/etc/network/if-pre-up.d/03-bridge
+++ b/package/base-files/src/etc/network/if-pre-up.d/03-bridge
diff --git a/package/base-files/extra/etc/network/if-up.d/01-bridge b/package/base-files/src/etc/network/if-up.d/01-bridge
index e5962f12f..e5962f12f 100755
--- a/package/base-files/extra/etc/network/if-up.d/01-bridge
+++ b/package/base-files/src/etc/network/if-up.d/01-bridge
diff --git a/package/base-files/extra/etc/network/interfaces b/package/base-files/src/etc/network/interfaces
index f1bd92ed2..f1bd92ed2 100644
--- a/package/base-files/extra/etc/network/interfaces
+++ b/package/base-files/src/etc/network/interfaces
diff --git a/package/base-files/extra/etc/passwd b/package/base-files/src/etc/passwd
index 32531eb92..32531eb92 100644
--- a/package/base-files/extra/etc/passwd
+++ b/package/base-files/src/etc/passwd
diff --git a/package/base-files/extra/etc/profile b/package/base-files/src/etc/profile
index 1b8f4a6a6..1b8f4a6a6 100644
--- a/package/base-files/extra/etc/profile
+++ b/package/base-files/src/etc/profile
diff --git a/package/base-files/extra/etc/protocols b/package/base-files/src/etc/protocols
index dfe58ed22..dfe58ed22 100644
--- a/package/base-files/extra/etc/protocols
+++ b/package/base-files/src/etc/protocols
diff --git a/package/base-files/extra/etc/rc.conf b/package/base-files/src/etc/rc.conf
index 024007589..024007589 100644
--- a/package/base-files/extra/etc/rc.conf
+++ b/package/base-files/src/etc/rc.conf
diff --git a/package/base-files/extra/etc/shadow b/package/base-files/src/etc/shadow
index 3683d71ea..3683d71ea 100644
--- a/package/base-files/extra/etc/shadow
+++ b/package/base-files/src/etc/shadow
diff --git a/package/base-files/extra/etc/sysctl.conf b/package/base-files/src/etc/sysctl.conf
index 73260cf9d..73260cf9d 100644
--- a/package/base-files/extra/etc/sysctl.conf
+++ b/package/base-files/src/etc/sysctl.conf
diff --git a/package/base-files/extra/init b/package/base-files/src/init
index 618547693..618547693 100755
--- a/package/base-files/extra/init
+++ b/package/base-files/src/init
diff --git a/package/base-files/extra/lib/mdev/init b/package/base-files/src/lib/mdev/init
index d2ae13e9c..d2ae13e9c 100644
--- a/package/base-files/extra/lib/mdev/init
+++ b/package/base-files/src/lib/mdev/init
diff --git a/package/base-files/extra/sbin/update b/package/base-files/src/sbin/update
index d41e23a0f..d41e23a0f 100755
--- a/package/base-files/extra/sbin/update
+++ b/package/base-files/src/sbin/update
diff --git a/package/base-files/extra/usr/share/udhcpc/default.script b/package/base-files/src/usr/share/udhcpc/default.script
index 02e4a7a3c..02e4a7a3c 100755
--- a/package/base-files/extra/usr/share/udhcpc/default.script
+++ b/package/base-files/src/usr/share/udhcpc/default.script