From c36287f707f68dbab0fe72939a5711698b286285 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Mar 2005 17:22:37 +0000 Subject: [PATCH] make kernel ppp optional and remove cramfs support SVN-Revision: 372 --- openwrt/package/dropbear/files/passwd | 2 +- openwrt/package/linux/Config.in | 7 +++++++ openwrt/package/linux/Makefile | 3 +++ openwrt/package/linux/control/kmod-ppp.control | 8 ++++++++ openwrt/package/linux/linux.config | 4 ++-- openwrt/package/ppp/Config.in | 1 + openwrt/package/ppp/control/ppp.control | 1 + 7 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 openwrt/package/linux/control/kmod-ppp.control diff --git a/openwrt/package/dropbear/files/passwd b/openwrt/package/dropbear/files/passwd index ae383d03d0..8c69ba335d 100644 --- a/openwrt/package/dropbear/files/passwd +++ b/openwrt/package/dropbear/files/passwd @@ -1 +1 @@ -root:$1$$qRPK7m23GJusamGpoGLby/:0:0:root:/tmp:/bin/ash +root:$1$$F1Mlz4sQUgmmLkqZr8jnR/:0:0:root:/tmp:/bin/ash diff --git a/openwrt/package/linux/Config.in b/openwrt/package/linux/Config.in index bcb73db916..99cb26f70e 100644 --- a/openwrt/package/linux/Config.in +++ b/openwrt/package/linux/Config.in @@ -50,10 +50,17 @@ config BR2_PACKAGE_KMOD_CRYPTO help Kernel modules for cryptographic algorithms +config BR2_PACKAGE_KMOD_PPP + tristate "PPP support" + default m + help + Kernel support for PPP + config BR2_PACKAGE_KMOD_MPPE tristate "PPP MPPE/MPPC module" default m select BR2_PACKAGE_KMOD_CRYPTO + depends BR2_PACKAGE_KMOD_PPP help Support for Microsoft PPP Encryption/Compression diff --git a/openwrt/package/linux/Makefile b/openwrt/package/linux/Makefile index c6c270b2d9..914d73a75f 100644 --- a/openwrt/package/linux/Makefile +++ b/openwrt/package/linux/Makefile @@ -53,6 +53,9 @@ $(eval $(call KMOD_template,USB,usb,\ $(eval $(call KMOD_template,CRYPTO,crypto,\ $(MODULES_DIR)/kernel/crypto/*.o \ )) +$(eval $(call KMOD_template,PPP,ppp,\ + $(MODULES_DIR)/kernel/drivers/net/ppp_generic.o \ +)) $(eval $(call KMOD_template,MPPE,mppe,\ $(MODULES_DIR)/kernel/drivers/net/ppp_mppe_mppc.o \ )) diff --git a/openwrt/package/linux/control/kmod-ppp.control b/openwrt/package/linux/control/kmod-ppp.control new file mode 100644 index 0000000000..4c2a4c2713 --- /dev/null +++ b/openwrt/package/linux/control/kmod-ppp.control @@ -0,0 +1,8 @@ +Package: kmod-ppp +Priority: optional +Section: net +Version: 2.4.29-1 +Architecture: mipsel +Maintainer: Felix Fietkau +Source: buildroot internal +Description: PPP support diff --git a/openwrt/package/linux/linux.config b/openwrt/package/linux/linux.config index dada53e2d1..4d2a7ef1c6 100644 --- a/openwrt/package/linux/linux.config +++ b/openwrt/package/linux/linux.config @@ -680,7 +680,7 @@ CONFIG_NET_ETHERNET=y # CONFIG_FDDI is not set # CONFIG_HIPPI is not set # CONFIG_PLIP is not set -CONFIG_PPP=y +CONFIG_PPP=m # CONFIG_PPP_MULTILINK is not set # CONFIG_PPP_FILTER is not set CONFIG_PPP_ASYNC=m @@ -853,7 +853,7 @@ CONFIG_JFFS2_BBC_LZO=y CONFIG_JFFS2_BBC_LZARI=y CONFIG_JFFS2_BBC_LZHD=y CONFIG_JFFS2_BBC_LZSS=y -CONFIG_CRAMFS=y +# CONFIG_CRAMFS is not set CONFIG_SQUASHFS=y # CONFIG_TMPFS is not set CONFIG_RAMFS=y diff --git a/openwrt/package/ppp/Config.in b/openwrt/package/ppp/Config.in index 1d4aecbfa2..1f92022efa 100644 --- a/openwrt/package/ppp/Config.in +++ b/openwrt/package/ppp/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PPP tristate + select BR2_PACKAGE_KMOD_PPP prompt "PPP daemon" default y diff --git a/openwrt/package/ppp/control/ppp.control b/openwrt/package/ppp/control/ppp.control index 68b2dffb7b..3f6163eca3 100644 --- a/openwrt/package/ppp/control/ppp.control +++ b/openwrt/package/ppp/control/ppp.control @@ -5,4 +5,5 @@ Version: 2.4.3-3 Architecture: mipsel Maintainer: Felix Fietkau Source: buildroot internal +Depends: kmod-ppp Description: a PPP (Point-to-Point Protocol) daemon (with MPPE/MPPC support) -- 2.30.2