1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 20:04:05 +02:00

new (last?) attempt at standardizing Makefiles

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2006-09-24 20:49:31 +00:00
parent 1d07224838
commit 8afb23270d
51 changed files with 761 additions and 644 deletions

View File

@ -13,12 +13,13 @@ PKG_NAME:=alsa-driver
PKG_VERSION:=1.0.11 PKG_VERSION:=1.0.11
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/driver/ PKG_SOURCE_URL:=ftp://ftp.alsa-project.org/pub/driver/
PKG_MD5SUM:=57534e4297cd683371402220e3753885 PKG_MD5SUM:=57534e4297cd683371402220e3753885
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kmod-alsa define Package/kmod-alsa

View File

@ -11,12 +11,13 @@ PKG_NAME:=arptables
PKG_VERSION:=0.0.3 PKG_VERSION:=0.0.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ebtables PKG_SOURCE_URL:=@SF/ebtables
PKG_MD5SUM:=1672244603c8979577aa4738be35a759 PKG_MD5SUM:=1672244603c8979577aa4738be35a759
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/arptables define Package/arptables

View File

@ -11,7 +11,8 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=8 PKG_RELEASE:=8
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/base-files
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' )
ifeq ($(REV),) ifeq ($(REV),)
@ -35,8 +36,10 @@ define Package/base-files$(TARGET)
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEFAULT:=y DEFAULT:=y
TITLE:=OpenWrt system scripts TITLE:=Base filesystem for OpenWrt
DESCRIPTION:=Base filesystem for OpenWrt DESCRIPTION:=\
This package contains a base filesystem and system scripts for OpenWrt.
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REV) VERSION:=$(PKG_RELEASE)-$(REV)
endef endef
@ -68,7 +71,6 @@ define -xscale-2.6/conffiles
/etc/config/network /etc/config/network
endef endef
define Package/base-files$(TARGET)/conffiles define Package/base-files$(TARGET)/conffiles
/etc/banner /etc/banner
/etc/hosts /etc/hosts
@ -84,37 +86,37 @@ endef
define Package/libgcc define Package/libgcc
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Base system
DEFAULT:=y DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=GCC support library TITLE:=GCC support library
URL:=http://gcc.gnu.org/
VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE) VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
DESCRIPTION:=$(TITLE)
endef endef
define Package/libpthread define Package/libpthread
$(call Package/base-files$(TARGET)) SECTION:=libs
DEFAULT:=n CATEGORY:=Libraries
DEPENDS:=@!NATIVE_TOOLCHAIN DEPENDS:=@!NATIVE_TOOLCHAIN
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
TITLE:=POSIX thread library TITLE:=POSIX thread library
DESCRIPTION:=POSIX thread library URL:=http://uclibc.org/
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
endef endef
define Package/uclibc define Package/uclibc
$(call Package/base-files$(TARGET)) SECTION:=libs
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE) CATEGORY:=Base system
DEFAULT:=y
DEPENDS:=@!NATIVE_TOOLCHAIN DEPENDS:=@!NATIVE_TOOLCHAIN
TITLE:=C library TITLE:=C library embedded systems
DESCRIPTION:=C library for embedded systems URL:=http://uclibc.org/
VERSION:=$(UCLIBC_VERSION)-$(PKG_RELEASE)
endef endef
define Build/Prepare define Build/Prepare
mkdir -p $(PKG_BUILD_DIR) mkdir -p $(PKG_BUILD_DIR)
endef endef
define Build/Compile/ar7 define Build/Compile/ar7
$(TARGET_CC) -o $(PKG_BUILD_DIR)/adam2patcher src/adam2patcher.c $(TARGET_CC) -o $(PKG_BUILD_DIR)/adam2patcher src/adam2patcher.c
endef endef
@ -132,6 +134,7 @@ define Package/base-files$(TARGET)/install-ar7
mkdir -p $(1)/sbin mkdir -p $(1)/sbin
$(CP) $(PKG_BUILD_DIR)/adam2patcher $(1)/sbin $(CP) $(PKG_BUILD_DIR)/adam2patcher $(1)/sbin
endef endef
define Package/base-files$(TARGET)/install-brcm define Package/base-files$(TARGET)/install-brcm
rm -f $(1)/etc/config/network rm -f $(1)/etc/config/network
mkdir -p $(1)/sbin mkdir -p $(1)/sbin

View File

@ -12,12 +12,13 @@ PKG_NAME:=bridge
PKG_VERSION:=1.0.6 PKG_VERSION:=1.0.6
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/bridge PKG_SOURCE_URL:=@SF/bridge
PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd PKG_MD5SUM:=9b7dc52656f5cbec846a7ba3299f73bd
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/bridge define Package/bridge

View File

@ -14,68 +14,83 @@ PKG_VERSION:=4.80.17.0
PKG_RELEASE:=1 PKG_RELEASE:=1
WLC_VERSION:=0.1 WLC_VERSION:=0.1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
PKG_MD5SUM:=3183ddb60e3e882b41df1776c89b614c PKG_MD5SUM:=3183ddb60e3e882b41df1776c89b614c
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kmod-brcm-wl define Package/broadcom-wl/Default
SECTION:=drivers SECTION:=net
CATEGORY:=Drivers CATEGORY:=Kernel drivers
DEPENDS:=@LINUX_2_4_BRCM DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo
DEFAULT:=y
SUBMENU:=Proprietary BCM43xx WiFi driver SUBMENU:=Proprietary BCM43xx WiFi driver
SUBMENUDEP:=@LINUX_2_4_BRCM SUBMENUDEP:=@LINUX_2_4_BRCM
TITLE:=Kernel driver (normal version) endef
DESCRIPTION:=Proprietary Wireless driver for the Broadcom BCM43xx chipset
define Package/kmod-brcm-wl/Default
$(call Package/broadcom-wl/Default)
SECTION:=kernel
DEPENDS:=@LINUX_2_4_BRCM
TITLE:=Kernel driver for BCM43xx chipsets
DESCRIPTION:=\
This package contains the proprietary wireless driver for the Broadcom \\\
BCM43xx chipset
VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE)
endef endef
define Package/kmod-brcm-wl
$(call Package/kmod-brcm-wl/Default)
DEFAULT:=y
TITLE+= (normal version)
DESCRIPTION+= (normal version).
endef
define Package/kmod-brcm-wl-mimo define Package/kmod-brcm-wl-mimo
$(call Package/kmod-brcm-wl) $(call Package/kmod-brcm-wl/Default)
DEFAULT:=m if ALL TITLE+= (MIMO version)
TITLE:=Kernel driver (MIMO version) DESCRIPTION+= (MIMO version).
DESCRIPTION:=Proprietary Wireless driver for the Broadcom BCM43xx chipset (MIMO version)
endef endef
define Package/wlc define Package/wlc
$(call Package/kmod-brcm-wl-mimo) $(call Package/broadcom-wl/Default)
DEFAULT:=y DEFAULT:=y
DEPENDS:=kmod-brcm-wl TITLE:=Proprietary Broadcom wl driver setup utility
TITLE:=Setup utility DESCRIPTION:=\
DESCRIPTION:=Utility for initializing the Broadcom wl driver This package contains an utility for initializing the proprietary Broadcom \\\
VERSION:=$(WLC_VERSION)-$(PKG_RELEASE) wl driver.
endef endef
define Package/wl define Package/wl
$(call Package/wlc) $(call Package/broadcom-wl/Default)
TITLE:=Utility for changing the driver's parameters TITLE:=Proprietary Broadcom wl driver config utility
DESCRIPTION:=Utility for changing the Broadcom wl driver's parameters DESCRIPTION:=\
VERSION:=$(PKG_VERSION)-$(PKG_RELEASE) This package contains the proprietary utility (wl) for configuring the \\\
proprietary Broadcom wl driver.
endef endef
define Package/nas define Package/nas
$(call Package/wl) $(call Package/broadcom-wl/Default)
DEPENDS:=@PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mimo +nvram DEPENDS+= +nvram
DEFAULT:=m TITLE:=Proprietary Broadcom WPA/WPA2 authenticator
TITLE:=Proprietary WPA/WPA2 authenticator DESCRIPTION:=\
DESCRIPTION:=Proprietary WPA/WPA2 authenticator for the Broadcom wl driver This package contains the proprietary WPA/WPA2 authenticator (nas) for the \\\
proprietary Broadcom wl driver.
endef endef
define Build/Prepare MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
$(call Build/Prepare/Default)
$(CP) src/* $(PKG_BUILD_DIR)/
endef
MAKEFLAGS_KMOD = -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
PATH="$(TARGET_PATH)" \ PATH="$(TARGET_PATH)" \
SUBDIRS="$(PKG_BUILD_DIR)/kmod" SUBDIRS="$(PKG_BUILD_DIR)/kmod"
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) src/* $(PKG_BUILD_DIR)/
endef
define Build/Compile define Build/Compile
# Compile the kernel part # Compile the kernel part

View File

@ -12,23 +12,25 @@ PKG_NAME:=busybox
PKG_VERSION:=1.2.1 PKG_VERSION:=1.2.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.busybox.net/downloads PKG_SOURCE_URL:=http://www.busybox.net/downloads
PKG_MD5SUM:=362b3dc0f2023ddfda901dc1f1a74391 PKG_MD5SUM:=362b3dc0f2023ddfda901dc1f1a74391
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/busybox define Package/busybox
SECTION:=base SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
MENU:=1
DEFAULT:=y DEFAULT:=y
TITLE:=Core utilities for embedded Linux TITLE:=Core utilities for embedded Linux
DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\ DESCRIPTION:=\
The Swiss Army Knife of embedded Linux. \\\
It slices, it dices, it makes Julian Fries. It slices, it dices, it makes Julian Fries.
URL:=http://busybox.net/ URL:=http://busybox.net/
MENU:=1
CONFIG:=\\\ CONFIG:=\\\
menu "Configuration" \\\ menu "Configuration" \\\
depends on PACKAGE_busybox \\\ depends on PACKAGE_busybox \\\
@ -38,13 +40,19 @@ endef
define Build/Configure define Build/Configure
$(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(PKG_BUILD_DIR)/.config $(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(PKG_BUILD_DIR)/.config
yes '' | $(MAKE) CC="$(TARGET_CC)" CROSS="$(TARGET_CROSS)" \ yes '' | $(MAKE) -C $(PKG_BUILD_DIR) \
-C $(PKG_BUILD_DIR) oldconfig CC="$(TARGET_CC)" \
CROSS="$(TARGET_CROSS)" \
oldconfig
endef endef
define Package/busybox/install define Package/busybox/install
$(MAKE) CC="$(TARGET_CC)" CROSS="$(TARGET_CROSS)" \ $(MAKE) -C $(PKG_BUILD_DIR) \
PREFIX="$(1)" EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) install CC="$(TARGET_CC)" \
CROSS="$(TARGET_CROSS)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
PREFIX="$(1)" \
install
-rm -rf $(1)/lib64 -rm -rf $(1)/lib64
endef endef

View File

@ -12,12 +12,13 @@ PKG_NAME:=dnsmasq
PKG_VERSION:=2.33 PKG_VERSION:=2.33
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
PKG_MD5SUM:=45696461b6e6bc929273b1191ca50447 PKG_MD5SUM:=45696461b6e6bc929273b1191ca50447
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/dnsmasq define Package/dnsmasq

View File

@ -12,12 +12,13 @@ PKG_NAME:=dropbear
PKG_VERSION:=0.48.1 PKG_VERSION:=0.48.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/ PKG_SOURCE_URL:=http://matt.ucc.asn.au/dropbear/releases/
PKG_MD5SUM:=ca8e53a766faec831882831364568421 PKG_MD5SUM:=ca8e53a766faec831882831364568421
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/dropbear/Default define Package/dropbear/Default

View File

@ -12,12 +12,13 @@ PKG_NAME:=ebtables
PKG_VERSION:=2.0.8-rc2 PKG_VERSION:=2.0.8-rc2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ebtables PKG_SOURCE_URL:=@SF/ebtables
PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28 PKG_MD5SUM:=f07111fcc1966be669278433c35dcc28
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/ebtables define Package/ebtables

View File

@ -13,12 +13,12 @@ PKG_NAME:=fuse
PKG_VERSION:=2.5.3 PKG_VERSION:=2.5.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c PKG_MD5SUM:=9c7e8b6606b9f158ae20b8521ba2867c
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -123,8 +123,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/include/fuse{,.h} \
$(STAGING_DIR)/usr/include/fuse{,.h} \
$(STAGING_DIR)/usr/lib/libfuse.{a,so*} \ $(STAGING_DIR)/usr/lib/libfuse.{a,so*} \
$(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc $(STAGING_DIR)/usr/lib/pkgconfig/fuse.pc
endef endef

View File

@ -12,12 +12,12 @@ PKG_NAME:=gmp
PKG_VERSION:=4.1.4 PKG_VERSION:=4.1.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/gmp PKG_SOURCE_URL:=@GNU/gmp
PKG_MD5SUM:=0aa7d3b3f5b5ec5951e7dddd6f65e891 PKG_MD5SUM:=0aa7d3b3f5b5ec5951e7dddd6f65e891
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -51,8 +51,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/include/gmp* \
$(STAGING_DIR)/usr/include/gmp* \
$(STAGING_DIR)/usr/lib/libgmp.{a,so*} $(STAGING_DIR)/usr/lib/libgmp.{a,so*}
endef endef

View File

@ -12,12 +12,13 @@ PKG_NAME:=haserl
PKG_VERSION:=0.8.0 PKG_VERSION:=0.8.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/haserl PKG_SOURCE_URL:=@SF/haserl
PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/haserl define Package/haserl

View File

@ -11,12 +11,13 @@ PKG_NAME:=hostap-utils
PKG_VERSION:=0.4.7 PKG_VERSION:=0.4.7
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_MD5SUM:=afe041581b8f01666e353bec20917c85 PKG_MD5SUM:=afe041581b8f01666e353bec20917c85
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/hostap-utils define Package/hostap-utils

View File

@ -12,30 +12,24 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=hostap-driver PKG_NAME:=hostap-driver
PKG_VERSION:=0.4.9 PKG_VERSION:=0.4.9
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_MD5SUM:=c7534dc040ab90218257a78488ecd378
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kmod-hostap define Package/kmod-hostap/Default
SECTION:=drivers SECTION:=kernel
CATEGORY:=Drivers CATEGORY:=Kernel drivers
DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT DESCRIPTION:=\
TITLE:=Host AP support for Prism2/2.5/3 IEEE 802.11b Host AP is a driver for 802.11b wireless cards based on Intersil \\\
DESCRIPTION:=Host AP support for Prism2/2.5/3 IEEE 802.11b \\\ Prism2/2.5/3 chipset. It supports so called Host AP mode that allows the \\\
A driver for 802.11b wireless cards based on Intersil Prism2/2.5/3 \\\ card to act as an IEEE 802.11 access point.
chipset. This driver supports so called Host AP mode that allows the card \\\
to act as an IEEE 802.11 access point. \\\
\\\
This option includes the base Host AP driver code that is shared by \\\
different hardware models. You will also need to enable support for \\\
PLX/PCI/CS version of the driver to actually use the driver. \\\
URL:=http://hostap.epitest.fi/ URL:=http://hostap.epitest.fi/
ifeq ($(KERNEL),2.6) ifeq ($(KERNEL),2.6)
VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE) VERSION:=$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)
@ -44,18 +38,34 @@ define Package/kmod-hostap
endif endif
endef endef
define Package/kmod-hostap
$(call Package/kmod-hostap/Default)
DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT
TITLE:=Host AP support for Prism2/2.5/3
DESCRIPTION+=\\\
\\\
This package contains the base Host AP driver code that is shared by \\\
different hardware models. You will also need to enable support for \\\
PLX/PCI/CS version of the driver to actually use the driver.
endef
define Package/kmod-hostap-pci define Package/kmod-hostap-pci
$(call Package/kmod-hostap) $(call Package/kmod-hostap/Default)
DEPENDS:=kmod-hostap DEPENDS:=kmod-hostap
TITLE:=Host AP driver for Prism2.5 PCI adaptors TITLE:=Host AP driver for PCI adaptors
DESCRIPTION:=Host AP driver for Prism2.5 PCI adaptors DESCRIPTION+=\\\
\\\
This package contains the Host AP driver for Prism2.5 PCI adaptors.
endef endef
define Package/kmod-hostap-plx define Package/kmod-hostap-plx
$(call Package/kmod-hostap) $(call Package/kmod-hostap/Default)
DEPENDS:=kmod-hostap DEPENDS:=kmod-hostap
TITLE:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors TITLE:=Host AP driver for PLX9052 based PCI adaptors
DESCRIPTION:=Host AP driver for Prism2/2.5/3 in PLX9052 based PCI adaptors DESCRIPTION+=\\\
\\\
This package contains the Host AP driver for Prism2/2.5/3 in PLX9052 \\\
based PCI adaptors.
endef endef
ifeq ($(KERNEL),2.4) ifeq ($(KERNEL),2.4)

View File

@ -11,35 +11,44 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=hostapd PKG_NAME:=hostapd
PKG_VERSION:=0.5.3 PKG_VERSION:=0.5.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb
PKG_BUILDDEP:=madwifi
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/
PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_BUILDDEP:=madwifi
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/hostapd define Package/hostapd/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+libopenssl
TITLE:=IEEE 802.1x Authenticator TITLE:=IEEE 802.1x Authenticator
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator
URL:=http://hostap.epitest.fi/ URL:=http://hostap.epitest.fi/
endef endef
define Package/hostapd
$(call Package/hostapd/Default)
DEPENDS:=+libopenssl
TITLE+= (full)
DESCRIPTION:=\
This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS \\\
Authenticator.
endef
define Package/hostapd/conffiles define Package/hostapd/conffiles
/etc/hostapd.conf /etc/hostapd.conf
endef endef
define Package/hostapd-mini define Package/hostapd-mini
$(call Package/hostapd) $(call Package/hostapd/Default)
TITLE:=IEEE 802.1x Authenticator (WPA-PSK only) TITLE+= (WPA-PSK only)
DEPENDS:= DESCRIPTION:=\
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only) This package contains a minimal IEEE 802.1x/WPA/EAP/RADIUS Authenticator \\\
(WPA-PSK only).
endef endef
define Package/hostapd-mini/conffiles define Package/hostapd-mini/conffiles
@ -47,10 +56,12 @@ define Package/hostapd-mini/conffiles
endef endef
define Package/hostapd-utils define Package/hostapd-utils
$(call Package/hostapd) $(call Package/hostapd/Default)
DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini
TITLE:=IEEE 802.1x Authenticator (utils) TITLE+= (utils)
DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils) DESCRIPTION:=\
This package contains a command line utility to control the \\\
IEEE 802.1x/WPA/EAP/RADIUS Authenticator.
endef endef
define Build/ConfigureTarget define Build/ConfigureTarget

View File

@ -12,12 +12,13 @@ PKG_NAME:=iproute2
PKG_VERSION:=2.6.15-060110 PKG_VERSION:=2.6.15-060110
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/ PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/
PKG_MD5SUM:=04f57a6d366d36426d276178b600f5c5 PKG_MD5SUM:=04f57a6d366d36426d276178b600f5c5
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/iproute2/Default define Package/iproute2/Default

View File

@ -12,12 +12,12 @@ PKG_NAME:=ipsec-tools
PKG_VERSION:=0.6.4 PKG_VERSION:=0.6.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/ipsec-tools PKG_SOURCE_URL:=@SF/ipsec-tools
PKG_MD5SUM:=d0242a943c82c0cbf28005966ff35e21 PKG_MD5SUM:=d0242a943c82c0cbf28005966ff35e21
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -12,12 +12,13 @@ PKG_NAME:=ipset
PKG_VERSION:=2.2.3 PKG_VERSION:=2.2.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20050914.tar.bz2
PKG_SOURCE_URL:=http://ipset.netfilter.org PKG_SOURCE_URL:=http://ipset.netfilter.org
PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26 PKG_MD5SUM:=1709424cc2cdb925d4fb6fd5fcaefc26
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/ipset define Package/ipset

View File

@ -13,7 +13,6 @@ PKG_NAME:=iptables
PKG_VERSION:=1.3.5 PKG_VERSION:=1.3.5
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \ ftp://ftp.be.netfilter.org/pub/netfilter/iptables/ \
@ -22,23 +21,26 @@ PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
PKG_MD5SUM:=00fb916fa8040ca992a5ace56d905ea5 PKG_MD5SUM:=00fb916fa8040ca992a5ace56d905ea5
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_MENU:=IPv4 / IPv6 firewall administration
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),) ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config -include $(LINUX_DIR)/.config
include $(INCLUDE_DIR)/netfilter.mk include $(INCLUDE_DIR)/netfilter.mk
endif endif
define Package/iptables define Package/iptables/Default
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
MENU:=1 URL:=http://netfilter.org/
endef
define Package/iptables
$(call Package/iptables/Default)
DEFAULT:=y DEFAULT:=y
TITLE:=IPv4 firewall administration tool TITLE:=IPv4 firewall administration tool
URL:=http://netfilter.org/ MENU:=1
endef endef
define Package/iptables/conffiles define Package/iptables/conffiles
@ -47,114 +49,120 @@ define Package/iptables/conffiles
endef endef
define Package/iptables-mod-conntrack define Package/iptables-mod-conntrack
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-conntrack DEPENDS:=iptables +kmod-ipt-conntrack
TITLE:=connection tracking modules TITLE:=connection tracking modules
DESCRIPTION:=iptables extensions for connection tracking \\\ DESCRIPTION:=\
iptables extensions for connection tracking.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_conntrack \\\ - libipt_conntrack \\\
* libipt_helper \\\ - libipt_helper \\\
* libipt_connmark/CONNMARK - libipt_connmark/CONNMARK
endef endef
define Package/iptables-mod-filter define Package/iptables-mod-filter
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-filter DEPENDS:=iptables +kmod-ipt-filter
TITLE:=filter modules TITLE:=filter modules
DESCRIPTION:=iptables extensions for packet content inspection\\\ DESCRIPTION:=\
iptables extensions for packet content inspection.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_ipp2p \\\ - libipt_ipp2p \\\
* libipt_layer7 - libipt_layer7
endef endef
define Package/iptables-mod-imq define Package/iptables-mod-imq
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=IMQ support +kmod-imq TITLE:=IMQ support
DESCRIPTION:=iptables extension for IMQ support\\\ DESCRIPTION:=\
iptables extension for IMQ support.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_IMQ - libipt_IMQ
endef endef
define Package/iptables-mod-ipopt define Package/iptables-mod-ipopt
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-ipopt DEPENDS:=iptables +kmod-ipt-ipopt
TITLE:=IP/Packet option modules TITLE:=IP/Packet option modules
DESCRIPTION:=iptables extensions for matching/changing IP packet options\\\ DESCRIPTION:=\
iptables extensions for matching/changing IP packet options.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_dscp/DSCP \\\ - libipt_dscp/DSCP \\\
* libipt_ecn/ECN \\\ - libipt_ecn/ECN \\\
* libipt_length \\\ - libipt_length \\\
* libipt_mac \\\ - libipt_mac \\\
* libipt_tos/TOS \\\ - libipt_tos/TOS \\\
* libipt_tcpmms \\\ - libipt_tcpmms \\\
* libipt_ttl/TTL \\\ - libipt_ttl/TTL \\\
* libipt_unclean - libipt_unclean
endef endef
define Package/iptables-mod-ipsec define Package/iptables-mod-ipsec
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-ipsec DEPENDS:=iptables +kmod-ipt-ipsec
TITLE:=IPSec extensions TITLE:=IPSec extensions
DESCRIPTION:=iptables extensions for matching ipsec traffic\\\ DESCRIPTION:=\
iptables extensions for matching ipsec traffic.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_ah \\\ - libipt_ah \\\
* libipt_esp - libipt_esp
endef endef
define Package/iptables-mod-nat define Package/iptables-mod-nat
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-nat DEPENDS:=iptables +kmod-ipt-nat
TITLE:=extra NAT targets TITLE:=extra NAT targets
DESCRIPTION:=iptables extensions for different NAT targets\\\ DESCRIPTION:=\
iptables extensions for different NAT targets.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_REDIRECT - libipt_REDIRECT
endef endef
define Package/iptables-mod-ulog define Package/iptables-mod-ulog
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-ulog DEPENDS:=iptables +kmod-ipt-ulog
TITLE:=user-space packet logging TITLE:=user-space packet logging
DESCRIPTION:=iptables extensions for user-space packet logging\\\ DESCRIPTION:=\
iptables extensions for user-space packet logging.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_ULOG - libipt_ULOG
endef endef
define Package/iptables-mod-extra define Package/iptables-mod-extra
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables +kmod-ipt-extra DEPENDS:=iptables +kmod-ipt-extra
TITLE:=other extra iptables extensions TITLE:=other extra iptables extensions
DESCRIPTION:=other extra iptables extensions\\\ DESCRIPTION:=\
other extra iptables extensions.\\\
\\\
Includes: \\\ Includes: \\\
* libipt_limit \\\ - libipt_limit \\\
* libipt_owner \\\ - libipt_owner \\\
* libipt_physdev \\\ - libipt_physdev \\\
* libipt_pkttype \\\ - libipt_pkttype \\\
* libipt_recent - libipt_recent
endef endef
define Package/iptables-utils define Package/iptables-utils
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables save and restore utilities TITLE:=iptables save and restore utilities
endef endef
define Package/ip6tables define Package/ip6tables
SECTION:=net $(call Package/iptables/Default)
CATEGORY:=Base system CATEGORY:=Network
TITLE:=IPv6 firewall administration tool TITLE:=IPv6 firewall administration tool
endef endef
define Build/Configure define Build/Configure
endef endef
@ -169,7 +177,6 @@ define Build/Compile
all install install-devel all install install-devel
endef endef
define Build/InstallDev define Build/InstallDev
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
@ -184,7 +191,6 @@ define Build/UninstallDev
rm -rf $(STAGING_DIR)/usr/lib/libipq.a rm -rf $(STAGING_DIR)/usr/lib/libipq.a
endef endef
define Package/iptables/install define Package/iptables/install
install -d -m0755 $(1)/etc/config install -d -m0755 $(1)/etc/config
install -m0644 ./files/firewall.config $(1)/etc/config/firewall install -m0644 ./files/firewall.config $(1)/etc/config/firewall

View File

@ -12,12 +12,12 @@ PKG_NAME:=isakmpd
PKG_VERSION:=20041012 PKG_VERSION:=20041012
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/i/isakmpd/ PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/i/isakmpd/
PKG_MD5SUM:=e6d25a9e232fb186e1a48dc06453bd57 PKG_MD5SUM:=e6d25a9e232fb186e1a48dc06453bd57
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -88,4 +88,3 @@ add_module $(1) "$(2)";
endef endef
include ./modules.mk include ./modules.mk

View File

@ -9,7 +9,6 @@
define KernelPackage/crypto define KernelPackage/crypto
TITLE:=CryptoAPI modules TITLE:=CryptoAPI modules
DESCRIPTION:=CryptoAPI modules
KCONFIG:= \ KCONFIG:= \
$(CONFIG_CRYPTO_HMAC) \ $(CONFIG_CRYPTO_HMAC) \
$(CONFIG_CRYPTO_NULL) \ $(CONFIG_CRYPTO_NULL) \
@ -40,14 +39,13 @@ $(eval $(call KernelPackage,crypto))
define KernelPackage/ide-core define KernelPackage/ide-core
TITLE:=Kernel support for IDE TITLE:=Kernel support for IDE
DESCRIPTION:=Kernel modules for IDE support\\\ DESCRIPTION:=\
useful for usb mass storage devices (e.g. on WL-HDD)\\\ Useful for usb mass storage devices (e.g. on WL-HDD)\\\
\\\ \\\
Includes: \\\ Includes: \\\
- ide-core \\\ - ide-core \\\
- ide-detect \\\ - ide-detect \\\
- ide-disk \\\ - ide-disk
- pdc202xx_old
KCONFIG:=$(CONFIG_IDE) KCONFIG:=$(CONFIG_IDE)
FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/ide/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk) AUTOLOAD:=$(call AutoLoad,20,ide-core) $(call AutoLoad,90,ide-detect ide-disk)
@ -56,7 +54,6 @@ $(eval $(call KernelPackage,ide-core))
define KernelPackage/ide-pdc202xx define KernelPackage/ide-pdc202xx
TITLE:=PDC202xx IDE driver TITLE:=PDC202xx IDE driver
DESCRIPTION:=PDC202xx IDE driver
KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD) KCONFIG:=$(CONFIG_BLK_DEV_PDC202XX_OLD)
FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/ide/pci/pdc202xx_old.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old) AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old)
@ -65,249 +62,282 @@ $(eval $(call KernelPackage,ide-pdc202xx))
define KernelPackage/ieee80211softmac define KernelPackage/ieee80211softmac
TITLE:=802.11 Networking stack TITLE:=802.11 Networking stack
DESCRIPTION:=802.11 Networking stack\\\ DESCRIPTION:=\\\
\\\
Includes: \\\ Includes: \\\
* ieee80211_crypt \\\ - ieee80211_crypt \\\
* ieee80211 \\\ - ieee80211 \\\
* ieee80211_crypt_wep \\\ - ieee80211_crypt_wep \\\
* ieee80211_crypt_tkip \\\ - ieee80211_crypt_tkip \\\
* ieee80211_crytp_ccmp \\\ - ieee80211_crytp_ccmp \\\
* ieee80211softmac - ieee80211softmac
KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC) KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
FILES:=$(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ieee80211/*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,10,ieee80211_crypt \ AUTOLOAD:=$(call AutoLoad,10, \
ieee80211_crypt \
ieee80211 \ ieee80211 \
ieee80211_crypt_wep \ ieee80211_crypt_wep \
ieee80211_crypt_tkip \ ieee80211_crypt_tkip \
ieee80211_crypt_ccmp \ ieee80211_crypt_ccmp \
ieee80211softmac) ieee80211softmac \
)
endef endef
$(eval $(call KernelPackage,ieee80211softmac)) $(eval $(call KernelPackage,ieee80211softmac))
WIMENU:=Wireless drivers WIMENU:=Wireless drivers
define KernelPackage/bcm43xx define KernelPackage/bcm43xx
TITLE:=Broadcom BCM43xx driver TITLE:=Broadcom BCM43xx driver
DESCRIPTION:=Open source BCM43xx driver\\\ DESCRIPTION:=\\\
\\\
Includes: \\\ Includes: \\\
* bcm43xx - bcm43xx
KCONFIG:=$(CONFIG_BCM43XX) KCONFIG:=$(CONFIG_BCM43XX)
SUBMENU:=$(WIMENU)
FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,50,bcm43xx) AUTOLOAD:=$(call Autoload,50,bcm43xx)
SUBMENU:=$(WIMENU)
endef endef
$(eval $(call KernelPackage,bcm43xx)) $(eval $(call KernelPackage,bcm43xx))
define KernelPackage/ipw2100 define KernelPackage/ipw2100
TITLE:=Intel IPw2100 driver TITLE:=Intel IPw2100 driver
DESCRIPTION:=Intel IPW2100 driver\\\ DESCRIPTION:=\\\
\\\
Includes: \\\ Includes: \\\
* ipw2100 - ipw2100
KCONFIG:=$(CONFIG_IPW2100) KCONFIG:=$(CONFIG_IPW2100)
SUBMENU:=$(WIMENU)
FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,50,ipw2100) AUTOLOAD:=$(call Autoload,50,ipw2100)
SUBMENU:=$(WIMENU)
endef endef
$(eval $(call KernelPackage,ipw2100)) $(eval $(call KernelPackage,ipw2100))
define KernelPackage/ipw2200 define KernelPackage/ipw2200
TITLE:=Intel IPw2200 driver TITLE:=Intel IPw2200 driver
DESCRIPTION:=Intel IPW2200 driver\\\ DESCRIPTION:=\\\
\\\
Includes: \\\ Includes: \\\
* ipw2200 - ipw2200
KCONFIG:=$(CONFIG_IPW2200) KCONFIG:=$(CONFIG_IPW2200)
SUBMENU:=$(WIMENU)
FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call Autoload,50,ipw2200) AUTOLOAD:=$(call Autoload,50,ipw2200)
SUBMENU:=$(WIMENU)
endef endef
$(eval $(call KernelPackage,ipw2200)) $(eval $(call KernelPackage,ipw2200))
NFMENU:=Netfilter Extensions NFMENU:=Netfilter Extensions
define KernelPackage/ipt-conntrack define KernelPackage/ipt-conntrack
TITLE:=Modules for connection tracking TITLE:=Modules for connection tracking
DESCRIPTION:=Netfilter (IPv4) kernel modules for connection tracking\\\ DESCRIPTION:=\
Netfilter (IPv4) kernel modules for connection tracking\\\
\\\
Includes: \\\ Includes: \\\
* ipt_conntrack \\\ - ipt_conntrack \\\
* ipt_helper \\\ - ipt_helper \\\
* ipt_connmark/CONNMARK - ipt_connmark/CONNMARK
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_CONNTRACK-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-conntrack)) $(eval $(call KernelPackage,ipt-conntrack))
define KernelPackage/ipt-filter define KernelPackage/ipt-filter
TITLE:=Modules for packet content inspection TITLE:=Modules for packet content inspection
DESCRIPTION:=Netfilter (IPv4) kernel modules for packet content inspection \\\ DESCRIPTION:=\
Netfilter (IPv4) kernel modules for packet content inspection \\\
\\\
Includes: \\\ Includes: \\\
* ipt_ipp2p \\\ - ipt_ipp2p \\\
* ipt_layer7 - ipt_layer7
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_FILTER-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-filter)) $(eval $(call KernelPackage,ipt-filter))
define KernelPackage/ipt-ipopt define KernelPackage/ipt-ipopt
TITLE:=Modules for matching/changing IP packet options TITLE:=Modules for matching/changing IP packet options
DESCRIPTION:=Netfilter (IPv4) modules for matching/changing IP packet options \\\ DESCRIPTION:=\
Netfilter (IPv4) modules for matching/changing IP packet options \\\
\\\
Includes: \\\ Includes: \\\
* ipt_dscp/DSCP \\\ - ipt_dscp/DSCP \\\
* ipt_ecn/ECN \\\ - ipt_ecn/ECN \\\
* ipt_length \\\ - ipt_length \\\
* ipt_mac \\\ - ipt_mac \\\
* ipt_tos/TOS \\\ - ipt_tos/TOS \\\
* ipt_tcpmms \\\ - ipt_tcpmms \\\
* ipt_ttl/TTL \\\ - ipt_ttl/TTL \\\
* ipt_unclean - ipt_unclean
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_IPOPT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-ipopt)) $(eval $(call KernelPackage,ipt-ipopt))
define KernelPackage/ipt-ipsec define KernelPackage/ipt-ipsec
TITLE:=Modules for matching IPSec packets TITLE:=Modules for matching IPSec packets
DESCRIPTION:=Netfilter (IPv4) modules for matching IPSec packets \\\ DESCRIPTION:=\
Netfilter (IPv4) modules for matching IPSec packets \\\
\\\
Includes: \\\ Includes: \\\
* ipt_ah \\\ - ipt_ah \\\
* ipt_esp - ipt_esp
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_IPSEC-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-ipsec)) $(eval $(call KernelPackage,ipt-ipsec))
define KernelPackage/ipt-nat define KernelPackage/ipt-nat
TITLE:=Modules for extra NAT targets TITLE:=Modules for extra NAT targets
DESCRIPTION:=Netfilter (IPv4) modules for extra NAT targets \\\ DESCRIPTION:=\
Netfilter (IPv4) modules for extra NAT targets \\\
\\\
Includes: \\\ Includes: \\\
* ipt_REDIRECT \\\ - ipt_REDIRECT \\\
* ipt_NETMAP - ipt_NETMAP
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_NAT-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-nat)) $(eval $(call KernelPackage,ipt-nat))
define KernelPackage/ipt-nathelper define KernelPackage/ipt-nathelper
TITLE:=Extra Conntrack and NAT helpers TITLE:=Extra Conntrack and NAT helpers
DESCRIPTION:=Extra Conntrack and NAT helpers (IPv4) \\\ DESCRIPTION:=\
Extra Netfilter (IPv4) Conntrack and NAT helpers \\\
\\\
Includes: \\\ Includes: \\\
* ip_conntrack_amanda \\\ - ip_conntrack_amanda \\\
* ip_conntrack_proto_gre \\\ - ip_conntrack_proto_gre \\\
* ip_nat_proto_gre \\\ - ip_nat_proto_gre \\\
* ip_conntrack_pptp \\\ - ip_conntrack_pptp \\\
* ip_nat_pptp \\\ - ip_nat_pptp \\\
* ip_conntrack_sip \\\ - ip_conntrack_sip \\\
* ip_nat_sip \\\ - ip_nat_sip \\\
* ip_nat_snmp_basic \\\ - ip_nat_snmp_basic \\\
* ip_conntrack_tftp - ip_conntrack_tftp
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_NAT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-nathelper)) $(eval $(call KernelPackage,ipt-nathelper))
define KernelPackage/ipt-imq define KernelPackage/ipt-imq
TITLE:=Intermediate Queueing support TITLE:=Intermediate Queueing support
DESCRIPTION:=Kernel support for Intermediate Queueing devices DESCRIPTION:=\
Kernel support for Intermediate Queueing devices
KCONFIG:=$(CONFIG_IP_NF_TARGET_IMQ) KCONFIG:=$(CONFIG_IP_NF_TARGET_IMQ)
SUBMENU:=$(NFMENU)
FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/imq.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/imq.$(LINUX_KMOD_SUFFIX)
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-imq)) $(eval $(call KernelPackage,ipt-imq))
define KernelPackage/ipt-queue define KernelPackage/ipt-queue
TITLE:=Module for user-space packet queueing TITLE:=Module for user-space packet queueing
DESCRIPTION:=Netfilter (IPv4) module for user-space packet queueing \\\ DESCRIPTION:=\
Netfilter (IPv4) module for user-space packet queueing \\\
\\\
Includes: \\\ Includes: \\\
* ipt_QUEUE - ipt_QUEUE
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_QUEUE-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-queue)) $(eval $(call KernelPackage,ipt-queue))
define KernelPackage/ipt-ulog define KernelPackage/ipt-ulog
TITLE:=Module for user-space packet logging TITLE:=Module for user-space packet logging
DESCRIPTION:=Netfilter (IPv4) module for user-space packet logging \\\ DESCRIPTION:=\
Netfilter (IPv4) module for user-space packet logging \\\
\\\
Includes: \\\ Includes: \\\
* ipt_ULOG - ipt_ULOG
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_ULOG-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-ulog)) $(eval $(call KernelPackage,ipt-ulog))
define KernelPackage/ipt-extra define KernelPackage/ipt-extra
TITLE:=Extra modules TITLE:=Extra modules
DESCRIPTION:=Other Netfilter (IPv4) kernel modules\\\ DESCRIPTION:=\
Other Netfilter (IPv4) kernel modules\\\
Includes: \\\ Includes: \\\
* ipt_limit \\\ - ipt_limit \\\
* ipt_owner \\\ - ipt_owner \\\
* ipt_physdev \\\ - ipt_physdev \\\
* ipt_pkttype \\\ - ipt_pkttype \\\
* ipt_recent - ipt_recent
SUBMENU:=$(NFMENU)
FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_EXTRA-m),$(MODULES_DIR)/kernel/net/$(mod).$(LINUX_KMOD_SUFFIX))
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ipt-extra)) $(eval $(call KernelPackage,ipt-extra))
define KernelPackage/ip6tables define KernelPackage/ip6tables
TITLE:=IPv6 modules TITLE:=IPv6 modules
DESCRIPTION:=Netfilter IPv6 firewalling support DESCRIPTION:=\
SUBMENU:=$(NFMENU) Netfilter IPv6 firewalling support
KCONFIG:=$(CONFIG_IP6_NF_IPTABLES) KCONFIG:=$(CONFIG_IP6_NF_IPTABLES)
FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX)
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ip6tables)) $(eval $(call KernelPackage,ip6tables))
define KernelPackage/arptables define KernelPackage/arptables
TITLE:=ARP firewalling modules TITLE:=ARP firewalling modules
DESCRIPTION:=Kernel modules for ARP firewalling DESCRIPTION:=\
SUBMENU:=$(NFMENU) Kernel modules for ARP firewalling
FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_IP_NF_ARPTABLES) KCONFIG:=$(CONFIG_IP_NF_ARPTABLES)
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,arptables)) $(eval $(call KernelPackage,arptables))
define KernelPackage/ebtables define KernelPackage/ebtables
TITLE:=Bridge firewalling modules TITLE:=Bridge firewalling modules
DESCRIPTION:=Kernel modules for Ethernet Bridge firewalling DESCRIPTION:=\
SUBMENU:=$(NFMENU) Kernel modules for Ethernet Bridge firewalling
FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES) KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
SUBMENU:=$(NFMENU)
endef endef
$(eval $(call KernelPackage,ebtables)) $(eval $(call KernelPackage,ebtables))
define KernelPackage/ipv6 define KernelPackage/ipv6
TITLE:=IPv6 support TITLE:=IPv6 support
DESCRIPTION:=Kernel modules for IPv6 support DESCRIPTION:=\
Kernel modules for IPv6 support
KCONFIG:=$(CONFIG_IPV6) KCONFIG:=$(CONFIG_IPV6)
FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX)
endef endef
$(eval $(call KernelPackage,ipv6)) $(eval $(call KernelPackage,ipv6))
define KernelPackage/gre define KernelPackage/gre
TITLE:=GRE support TITLE:=GRE support
DESCRIPTION:=Generic Routing Encapsulation support DESCRIPTION:=\
Generic Routing Encapsulation support
KCONFIG=$(CONFIG_NET_IPGRE) KCONFIG=$(CONFIG_NET_IPGRE)
FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX) FILES=$(MODULES_DIR)/kernel/net/ipv4/ip_gre.$(LINUX_KMOD_SUFFIX)
endef endef
$(eval $(call KernelPackage,gre)) $(eval $(call KernelPackage,gre))
define KernelPackage/tun define KernelPackage/tun
TITLE:=Universal TUN/TAP driver TITLE:=Universal TUN/TAP driver
DESCRIPTION:=Kernel support for the TUN/TAP tunneling device DESCRIPTION:=\
Kernel support for the TUN/TAP tunneling device
KCONFIG:=$(CONFIG_TUN) KCONFIG:=$(CONFIG_TUN)
FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/tun.$(LINUX_KMOD_SUFFIX)
endef endef
$(eval $(call KernelPackage,tun)) $(eval $(call KernelPackage,tun))
define KernelPackage/ppp define KernelPackage/ppp
TITLE:=PPP modules TITLE:=PPP modules
DESCRIPTION:=Kernel modules for PPP support DESCRIPTION:=\
Kernel modules for PPP support
KCONFIG:=$(CONFIG_PPP) KCONFIG:=$(CONFIG_PPP)
endef endef
@ -321,18 +351,22 @@ FILES:=$(MODULES_DIR)/kernel/drivers/net/ppp_async.o $(MODULES_DIR)/kernel/drive
endef endef
$(eval $(call KernelPackage,ppp)) $(eval $(call KernelPackage,ppp))
define KernelPackage/pppoe define KernelPackage/pppoe
TITLE:=PPPoE modules TITLE:=PPPoE support
DESCRIPTION:=Kernel modules for PPP over Ethernet support DESCRIPTION:=\
Kernel modules for PPPoE (PPP over Ethernet) support
DEPENDS:=kmod-ppp DEPENDS:=kmod-ppp
KCONFIG:=$(CONFIG_PPPOE) KCONFIG:=$(CONFIG_PPPOE)
FILES:=$(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/pppoe.$(LINUX_KMOD_SUFFIX) $(MODULES_DIR)/kernel/drivers/net/pppox.$(LINUX_KMOD_SUFFIX)
endef endef
$(eval $(call KernelPackage,pppoe)) $(eval $(call KernelPackage,pppoe))
define KernelPackage/pppoa define KernelPackage/pppoa
TITLE:=PPPoA modules TITLE:=PPPoA support
DESCRIPTION:=Kernel modules for PPP over ATM support DESCRIPTION:=\
Kernel modules for PPPoA (PPP over ATM) support
DEPENDS:=kmod-ppp DEPENDS:=kmod-ppp
KCONFIG:=$(CONFIG_PPPOATM) KCONFIG:=$(CONFIG_PPPOATM)
FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/atm/pppoatm.$(LINUX_KMOD_SUFFIX)
@ -357,78 +391,77 @@ endef
$(eval $(call KernelPackage,mppe)) $(eval $(call KernelPackage,mppe))
NDMENU:=Network Devices NDMENU:=Network Devices
define KernelPackage/natsemi define KernelPackage/natsemi
TITLE:=National Semiconductor DP8381x series TITLE:=National Semiconductor DP8381x series
DESCRIPTION:=National Semiconductor DP8381x series PCI Ethernet kernel support DESCRIPTION:=\
SUBMENU:=$(NDMENU) Kernel modules for National Semiconductor DP8381x series PCI Ethernet \\\
adapters.
FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_NATSEMI) KCONFIG:=$(CONFIG_NATSEMI)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,natsemi)) $(eval $(call KernelPackage,natsemi))
define KernelPackage/sis900 define KernelPackage/sis900
TITLE:=SiS 900 Ethernet support TITLE:=SiS 900 Ethernet support
DESCRIPTION:=Sis 900 kernel ethernet support DESCRIPTION:=\
SUBMENU:=$(NDMENU) Kernel modules for Sis 900 Ethernet adapters.
FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_SIS900) KCONFIG:=$(CONFIG_SIS900)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,sis900)) $(eval $(call KernelPackage,sis900))
define KernelPackage/via-rhine define KernelPackage/via-rhine
TITLE:=Via Rhine ethernet support TITLE:=Via Rhine ethernet support
DESCRIPTION:=Kernel modules for Via Rhine ethernet chipsets DESCRIPTION:=\
SUBMENU:=$(NDMENU) Kernel modules for Via Rhine Ethernet chipsets.
FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_VIA_RHINE) KCONFIG:=$(CONFIG_VIA_RHINE)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,via-rhine)) $(eval $(call KernelPackage,via-rhine))
define KernelPackage/8139too define KernelPackage/8139too
TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
DESCRIPTION:=Kernel modules for RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support DESCRIPTION:=\
SUBMENU:=$(NDMENU) Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_8139TOO) KCONFIG:=$(CONFIG_8139TOO)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,8139too)) $(eval $(call KernelPackage,8139too))
define KernelPackage/e100 define KernelPackage/e100
TITLE:=Intel(R) PRO/100+ cards kernel support TITLE:=Intel(R) PRO/100+ cards kernel support
DESCRIPTION:=Kernel modules for Intel(R) PRO/100+ cards kernel support DESCRIPTION:=\
SUBMENU:=$(NDMENU) Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_E100) KCONFIG:=$(CONFIG_E100)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,e100)) $(eval $(call KernelPackage,e100))
define KernelPackage/3c59x define KernelPackage/3c59x
TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
DESCRIPTION:=\ DESCRIPTION:=\
This option enables driver support for a large number of 10mbps and \ This option enables driver support for a large number of 10mbps and \\\
10/100mbps EISA, PCI and PCMCIA 3Com network cards: \ 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: \\\
\ - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \\\
* "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI \ - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \\\
* "Boomerang" (EtherLink XL 3c900 or 3c905) PCI \ - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \\\
* "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus \ - "Tornado" (3c905) PCI \\\
* "Tornado" (3c905) PCI \ - "Hurricane" (3c555/3cSOHO) PCI
* "Hurricane" (3c555/3cSOHO) PCI
SUBMENU:=$(NDMENU)
FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_3C59X) KCONFIG:=$(CONFIG_3C59X)
DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86 DEPENDS:=@LINUX_2_6_X86||LINUX_2_4_X86
SUBMENU:=$(NDMENU)
endef endef
$(eval $(call KernelPackage,3c59x)) $(eval $(call KernelPackage,3c59x))

View File

@ -12,12 +12,13 @@ PKG_NAME:=keynote
PKG_VERSION:=2.3 PKG_VERSION:=2.3
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0 PKG_MD5SUM:=b569066ac2ba1356c2112b118a7d74d0
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
@ -55,8 +56,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/include/keynote \
$(STAGING_DIR)/usr/include/keynote \
$(STAGING_DIR)/usr/lib/libkeynote.a $(STAGING_DIR)/usr/lib/libkeynote.a
endef endef

View File

@ -12,12 +12,12 @@ PKG_NAME:=libpcap
PKG_VERSION:=0.9.4 PKG_VERSION:=0.9.4
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.tcpdump.org/release/ PKG_SOURCE_URL:=http://www.tcpdump.org/release/
PKG_MD5SUM:=79025766e8027df154cb1f32de8a7974 PKG_MD5SUM:=79025766e8027df154cb1f32de8a7974
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -12,12 +12,12 @@ PKG_NAME:=linux-atm
PKG_VERSION:=2.4.1 PKG_VERSION:=2.4.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/linux-atm/ PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/linux-atm/
PKG_MD5SUM:=84fef49cc39ff2605204246666f65864 PKG_MD5SUM:=84fef49cc39ff2605204246666f65864
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -13,12 +13,13 @@ PKG_NAME:=madwifi
PKG_VERSION:=0.9.2 PKG_VERSION:=0.9.2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=a75baacbe07085ddc5cb28e1fb43edbb PKG_MD5SUM:=a75baacbe07085ddc5cb28e1fb43edbb
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kmod-madwifi define Package/kmod-madwifi

View File

@ -13,12 +13,13 @@ PKG_NAME:=mini_fo
PKG_VERSION:=0.6.2pre1 PKG_VERSION:=0.6.2pre1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/mini_fo-0-6-2-pre1
PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2 PKG_SOURCE:=mini_fo-0-6-2-pre1.tar.bz2
PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/ PKG_SOURCE_URL:=http://www.denx.de/twiki/pub/Know/MiniFOHome/
PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e PKG_MD5SUM:=acd12157be25d7b3c8df90914049403e
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/mini_fo-0-6-2-pre1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/kmod-mini-fo define Package/kmod-mini-fo

View File

@ -12,7 +12,6 @@ PKG_NAME:=openssl
PKG_VERSION:=0.9.8b PKG_VERSION:=0.9.8b
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.openssl.org/source/ \ PKG_SOURCE_URL:=http://www.openssl.org/source/ \
ftp://ftp.funet.fi/pub/crypt/cryptography/libs/openssl/source/ \ ftp://ftp.funet.fi/pub/crypt/cryptography/libs/openssl/source/ \
@ -21,6 +20,7 @@ PKG_SOURCE_URL:=http://www.openssl.org/source/ \
PKG_MD5SUM:=12cedbeb6813a0d7919dbf1f82134b86 PKG_MD5SUM:=12cedbeb6813a0d7919dbf1f82134b86
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -110,8 +110,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/include/openssl \
$(STAGING_DIR)/usr/include/openssl \
$(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*}
endef endef

View File

@ -13,12 +13,13 @@ PKG_NAME:=openswan
PKG_VERSION:=2.4.6 PKG_VERSION:=2.4.6
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.openswan.org/download PKG_SOURCE_URL:=http://www.openswan.org/download
PKG_MD5SUM:=b34d71ca49dedad017879b0e912d40dd PKG_MD5SUM:=b34d71ca49dedad017879b0e912d40dd
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INIT_PRIO:=60 PKG_INIT_PRIO:=60
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -12,12 +12,12 @@ PKG_NAME:=pcmcia-cs
PKG_VERSION:=3.2.8 PKG_VERSION:=3.2.8
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=0d6d65be8896eff081aee996049afaa5 PKG_MD5SUM:=0d6d65be8896eff081aee996049afaa5
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -11,76 +11,84 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ppp PKG_NAME:=ppp
PKG_VERSION:=2.4.3 PKG_VERSION:=2.4.3
PKG_RELEASE:=7 PKG_RELEASE:=7
PKG_BUILDDEP:=libpcap linux-atm
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
PKG_BUILDDEP:=libpcap linux-atm
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/ppp define Package/ppp/Default
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
MENU:=1
DEFAULT:=y
DEPENDS:=+kmod-ppp
TITLE:=PPP daemon
DESCRIPTION:=PPP (Point-to-Point Protocol) daemon
URL:=http://ppp.samba.org/ URL:=http://ppp.samba.org/
endef endef
define Package/ppp
$(call Package/ppp/Default)
DEFAULT:=y
DEPENDS:=+kmod-ppp
TITLE:=PPP daemon
DESCRIPTION:=\
This package contains the PPP (Point-to-Point Protocol) daemon.
MENU:=1
endef
define Package/ppp-mod-pppoa define Package/ppp-mod-pppoa
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEPENDS:=ppp +linux-atm +kmod-pppoa DEPENDS:=ppp +linux-atm +kmod-pppoa
TITLE:=PPPoA plugin TITLE:=PPPoA plugin
DESCRIPTION:=PPPoA (PPP over ATM) plugin for ppp DESCRIPTION:=\
This package contains a PPPoA (PPP over ATM) plugin for ppp.
endef endef
define Package/ppp-mod-pppoe define Package/ppp-mod-pppoe
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEFAULT:=y DEFAULT:=y
DEPENDS:=ppp +kmod-pppoe DEPENDS:=ppp +kmod-pppoe
TITLE:=PPPoE plugin TITLE:=PPPoE plugin
DESCRIPTION:=PPPoE (PPP over Ethernet) plugin for ppp DESCRIPTION:=\
This package contains a PPPoE (PPP over Ethernet) plugin for ppp.
endef endef
define Package/ppp-mod-radius define Package/ppp-mod-radius
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=RADIUS plugin TITLE:=RADIUS plugin
DESCRIPTION:=RADIUS (Remote Authentication Dial-In User Service) plugin for ppp DESCRIPTION:=\
This package contains a RADIUS (Remote Authentication Dial-In User \\\
Service) plugin for ppp.
endef endef
define Package/chat define Package/chat
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Establish conversation with a modem TITLE:=Establish conversation with a modem
DESCRIPTION:=Utility to establish conversation with other PPP servers (via a modem) DESCRIPTION:=\
This package contains an utility to establish conversation with other \\\
PPP servers (via a modem).
endef endef
define Package/pppdump define Package/pppdump
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Read PPP record file TITLE:=Read PPP record file
DESCRIPTION:=Utility to read PPP record file DESCRIPTION:=\
This package contains an utility to read PPP record file.
endef endef
define Package/pppstats define Package/pppstats
SECTION:=net $(call Package/ppp/Default)
CATEGORY:=Network
DEPENDS:=ppp DEPENDS:=ppp
TITLE:=Report PPP statistics TITLE:=Report PPP statistics
DESCRIPTION:=Utility to report PPP statistics DESCRIPTION:=\
This package contains an utility to report PPP statistics.
endef endef
define Build/Compile define Build/Compile
@ -96,6 +104,9 @@ define Build/Compile
endef endef
define Package/ppp/install define Package/ppp/install
install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppd $(1)/usr/sbin/
install -d -m0755 $(1)/lib/network install -d -m0755 $(1)/lib/network
install -m0755 ./files/ppp.sh $(1)/lib/network/ install -m0755 ./files/ppp.sh $(1)/lib/network/
install -d -m0755 $(1)/etc/ppp install -d -m0755 $(1)/etc/ppp
@ -107,38 +118,35 @@ define Package/ppp/install
install -d -m0755 $(1)/etc/ppp/ip-down.d install -d -m0755 $(1)/etc/ppp/ip-down.d
install -m0644 ./files/etc/ppp/options $(1)/etc/ppp/ install -m0644 ./files/etc/ppp/options $(1)/etc/ppp/
ln -sf /tmp/resolv.conf $(1)/etc/ppp/resolv.conf ln -sf /tmp/resolv.conf $(1)/etc/ppp/resolv.conf
install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppd $(1)/usr/sbin/
endef endef
define Package/ppp-mod-pppoa/install define Package/ppp-mod-pppoa/install
install -d -m0755 $(1)/lib/network
install -m0755 ./files/pppoa.sh $(1)/lib/network/
install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION) install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/pppoatm.so \ install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/pppoatm.so \
$(1)/usr/lib/pppd/$(PKG_VERSION)/ $(1)/usr/lib/pppd/$(PKG_VERSION)/
install -d -m0755 $(1)/lib/network
install -m0755 ./files/pppoa.sh $(1)/lib/network/
endef endef
define Package/ppp-mod-pppoe/install define Package/ppp-mod-pppoe/install
install -d -m0755 $(1)/lib/network
install -m0755 ./files/pppoe.sh $(1)/lib/network/
install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION) install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/rp-pppoe.so \ install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/rp-pppoe.so \
$(1)/usr/lib/pppd/$(PKG_VERSION)/ $(1)/usr/lib/pppd/$(PKG_VERSION)/
install -d -m0755 $(1)/lib/network
install -m0755 ./files/pppoe.sh $(1)/lib/network/
endef endef
define Package/ppp-mod-radius/install define Package/ppp-mod-radius/install
install -d -m0755 $(1)/etc/ppp
install -m644 ./files/etc/ppp/radius.conf $(1)/etc/ppp/
install -d -m0755 $(1)/etc/ppp/radius
install -m644 ./files/etc/ppp/radius/dictionary* \
$(1)/etc/ppp/radius/
install -m600 ./files/etc/ppp/radius/servers \
$(1)/etc/ppp/radius/
install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION) install -d -m0755 $(1)/usr/lib/pppd/$(PKG_VERSION)
install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/radius.so \ install -m0755 $(PKG_INSTALL_DIR)/usr/lib/pppd/$(PKG_VERSION)/radius.so \
$(1)/usr/lib/pppd/$(PKG_VERSION)/ $(1)/usr/lib/pppd/$(PKG_VERSION)/
install -d -m0755 $(1)/etc/ppp
install -m0644 ./files/etc/ppp/radius.conf $(1)/etc/ppp/
install -d -m0755 $(1)/etc/ppp/radius
install -m0644 ./files/etc/ppp/radius/dictionary* \
$(1)/etc/ppp/radius/
install -m0600 ./files/etc/ppp/radius/servers \
$(1)/etc/ppp/radius/
endef endef
define Package/chat/install define Package/chat/install

View File

@ -12,12 +12,13 @@ PKG_NAME:=pptp
PKG_VERSION:=1.6.0 PKG_VERSION:=1.6.0
PKG_RELEASE:=3 PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/pptpclient PKG_SOURCE_URL:=@SF/pptpclient
PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631 PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/pptp define Package/pptp

View File

@ -13,12 +13,12 @@ PKG_NAME:=shfs
PKG_VERSION:=0.35 PKG_VERSION:=0.35
PKG_RELEASE:=2 PKG_RELEASE:=2
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/shfs PKG_SOURCE_URL:=@SF/shfs
PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe PKG_MD5SUM:=016f49d71bc32eee2b5d11fc1600cfbe
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -13,12 +13,13 @@ PKG_NAME:=spca5xx
PKG_VERSION:=20060501 PKG_VERSION:=20060501
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/ PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/
PKG_MD5SUM:=8fcec25715aea10f9ebec5728c37e752 PKG_MD5SUM:=8fcec25715aea10f9ebec5728c37e752
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
#FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages #FIXME: add proper dependency handling on kmod-usb-core & kmod-videodev packages

View File

@ -12,7 +12,6 @@ PKG_NAME:=udev
PKG_VERSION:=077 PKG_VERSION:=077
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \ http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
@ -23,6 +22,7 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ \
PKG_MD5SUM:=61ec646daf7795e9777e8f33975408fe PKG_MD5SUM:=61ec646daf7795e9777e8f33975408fe
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -13,12 +13,12 @@ PKG_NAME:=ueagle-atm
PKG_VERSION:=1.0d1 PKG_VERSION:=1.0d1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/ PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -12,7 +12,6 @@ PKG_NAME:=util-linux
PKG_VERSION:=2.12r PKG_VERSION:=2.12r
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
http://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \ http://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
@ -21,6 +20,7 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \
PKG_MD5SUM:=c261230b27fc0fbcc287c76884caf2d3 PKG_MD5SUM:=c261230b27fc0fbcc287c76884caf2d3
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View File

@ -12,12 +12,12 @@ PKG_NAME:=wireless-tools
PKG_VERSION:=28 PKG_VERSION:=28
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.28
PKG_SOURCE:=wireless_tools.$(PKG_VERSION).tar.gz PKG_SOURCE:=wireless_tools.$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux PKG_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
PKG_MD5SUM:=599c94497f9c9073c7b052d3dcb7cd16 PKG_MD5SUM:=599c94497f9c9073c7b052d3dcb7cd16
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/wireless_tools.28
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -56,8 +56,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -f \ rm -f $(STAGING_DIR)/usr/include/{iwlib,wireless}.h \
$(STAGING_DIR)/usr/include/{iwlib,wireless}.h \
$(STAGING_DIR)/usr/lib/libiw.so* $(STAGING_DIR)/usr/lib/libiw.so*
endef endef

View File

@ -12,32 +12,26 @@ PKG_NAME:=yamonenv
PKG_VERSION:=20051022 PKG_VERSION:=20051022
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://meshcube.org/nylon/stable/sources/ PKG_SOURCE_URL:=http://meshcube.org/nylon/stable/sources/
PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/yamonenv define Package/yamonenv
SECTION:=sys SECTION:=utils
CATEGORY:=Base system CATEGORY:=Utilities
DEPENDS:=@LINUX_2_6_AU1000@ DEPENDS:=@LINUX_2_6_AU1000@
TITLE:=YAMON configuration utility TITLE:=YAMON configuration utility
DESCRIPTION:=YAMON bootloader configuration utility
URL:=http://meshcube.org/nylon/stable/sources/ URL:=http://meshcube.org/nylon/stable/sources/
endef endef
define Build/Configure define Build/Configure
endef endef
define Build/Compile
$(call Build/Compile/Default,all)
endef
define Package/yamonenv/install define Package/yamonenv/install
install -d -m0755 $(1)/usr/sbin install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/ $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/

View File

@ -13,22 +13,24 @@ PKG_NAME:=zd1211
PKG_VERSION:=r69 PKG_VERSION:=r69
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME)-driver-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://zd1211.ath.cx/download/ PKG_SOURCE_URL:=http://zd1211.ath.cx/download/
PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a PKG_MD5SUM:=c14133a3d5b27927402a492e84d2467a
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-driver-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
#FIXME: add proper dependency handling on kmod-usb-core packages #FIXME: add proper dependency handling on kmod-usb-core packages
define Package/kmod-zd1211 define Package/kmod-zd1211
SECTION:=drivers SECTION:=kernel
CATEGORY:=Drivers CATEGORY:=Kernel drivers
DEPENDS:=@LINUX_2_6&&!LINUX_2_6_UML DEPENDS:=@LINUX_2_6&&!LINUX_2_6_UML
TITLE:=Driver for Zydas 1211 based USB devices TITLE:=Driver for Zydas 1211 based USB devices
DESCRIPTION:=Driver for Zydas 1211 based USB devices \\\ DESCRIPTION:=\
Linux driver for the ZyDAS ZD1211 802.11b/g USB-WLAN-Chip.\\\ This package contains a Linux driver for the ZyDAS ZD1211 802.11b/g \\\
USB-WLAN-Chip.\\\
Initially contributed by ZyDAS, this driver is actively maintained by the \\\ Initially contributed by ZyDAS, this driver is actively maintained by the \\\
open source community. open source community.
URL:=http://zd1211.ath.cx/ URL:=http://zd1211.ath.cx/
@ -50,10 +52,10 @@ define Build/Compile
endef endef
define Package/kmod-zd1211/install define Package/kmod-zd1211/install
install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_BUILD_DIR)/zd1211.$(LINUX_KMOD_SUFFIX) \ $(CP) $(PKG_BUILD_DIR)/zd1211.$(LINUX_KMOD_SUFFIX) \
$(1)/lib/modules/$(LINUX_VERSION)/ $(1)/lib/modules/$(LINUX_VERSION)/
install -m0755 -d $(1)/usr/sbin install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/apdbg $(1)/usr/sbin/ $(CP) $(PKG_BUILD_DIR)/apdbg $(1)/usr/sbin/
$(CP) $(PKG_BUILD_DIR)/sta $(1)/usr/sbin/$(PKG_NAME)-sta $(CP) $(PKG_BUILD_DIR)/sta $(1)/usr/sbin/$(PKG_NAME)-sta
endef endef

View File

@ -12,12 +12,12 @@ PKG_NAME:=zlib
PKG_VERSION:=1.2.3 PKG_VERSION:=1.2.3
PKG_RELEASE:=3 PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib PKG_SOURCE_URL:=http://www.zlib.net @SF/zlib
PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6 PKG_MD5SUM:=dee233bf288ee795ac96a98cc2e369b6
PKG_CAT:=bzcat PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -61,8 +61,7 @@ define Build/InstallDev
endef endef
define Build/UninstallDev define Build/UninstallDev
rm -rf \ rm -rf $(STAGING_DIR)/usr/include/z{conf,lib}.h \
$(STAGING_DIR)/usr/include/z{conf,lib}.h \
$(STAGING_DIR)/usr/lib/libz.{a,so*} $(STAGING_DIR)/usr/lib/libz.{a,so*}
endef endef

View File

@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=genext2fs PKG_NAME:=genext2fs
PKG_VERSION:=1.4rc1 PKG_VERSION:=1.4rc1
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME) PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=664431bf6737df1c265500e1f0b5d40c PKG_MD5SUM:=664431bf6737df1c265500e1f0b5d40c
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
define Build/Configure define Build/Configure
@ -45,7 +46,12 @@ define Build/Compile
endef endef
define Build/Install define Build/Install
mkdir -p $(STAGING_DIR)/bin
install -m0755 $(PKG_BUILD_DIR)/genext2fs $(STAGING_DIR)/bin/ install -m0755 $(PKG_BUILD_DIR)/genext2fs $(STAGING_DIR)/bin/
endef endef
define Build/Clean
rm -f $(STAGING_DIR)/bin/genext2fs
endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -10,8 +10,8 @@ PKG_NAME := ipkg-utils
PKG_VERSION:=1.7 PKG_VERSION:=1.7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM := da3e3ef772973d7370a6ac95f0fef9b8
PKG_SOURCE_URL:=http://handhelds.org/packages/ipkg-utils/ PKG_SOURCE_URL:=http://handhelds.org/packages/ipkg-utils/
PKG_MD5SUM:=da3e3ef772973d7370a6ac95f0fef9b8
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -23,16 +23,15 @@ define Build/Install
echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf
echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf
mkdir -p $(STAGING_DIR)/usr/bin mkdir -p $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin/
install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin/
install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin/
install -m0755 $(PKG_BUILD_DIR)/ipkg.py $(STAGING_DIR)/usr/bin install -m0755 $(PKG_BUILD_DIR)/ipkg.py $(STAGING_DIR)/usr/bin/
endef endef
define Build/Clean define Build/Clean
rm -f $(STAGING_DIR)/etc/ipkg.conf rm -f $(STAGING_DIR)/etc/ipkg.conf
rm -f $(STAGING_DIR)/usr/bin/ipkg* rm -f $(STAGING_DIR)/usr/bin/ipkg*
rm -rf $(PKG_BUILD_DIR)
endef endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -10,20 +10,25 @@ PKG_NAME:=mtd
PKG_VERSION:=20050122 PKG_VERSION:=20050122
PKG_SOURCE=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_MD5SUM:=1f42c2cae08eb9e7b52d0c188f8d6338
PKG_SOURCE_URL=http://ftp.debian.org/debian/pool/main/m/mtd PKG_SOURCE_URL=http://ftp.debian.org/debian/pool/main/m/mtd
PKG_MD5SUM:=1f42c2cae08eb9e7b52d0c188f8d6338
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mtd-20050122.orig PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
define Build/Compile define Build/Compile
$(MAKE) LINUXDIR=$(LINUX_HEADERS_DIR) -C $(PKG_BUILD_DIR)/util $(MAKE) -C $(PKG_BUILD_DIR)/util LINUXDIR=$(LINUX_HEADERS_DIR)
endef endef
define Build/Install define Build/Install
mkdir -p $(STAGING_DIR)/bin
$(CP) $(PKG_BUILD_DIR)/util/mkfs.jffs2 $(STAGING_DIR)/bin/ $(CP) $(PKG_BUILD_DIR)/util/mkfs.jffs2 $(STAGING_DIR)/bin/
endef endef
define Build/Clean
rm -f $(STAGING_DIR)/bin/mkfs.jffs2
endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -10,12 +10,12 @@ PKG_NAME=kernel-headers
PKG_VERSION=2.4.32 PKG_VERSION=2.4.32
PKG_SOURCE=linux-$(PKG_VERSION).tar.bz2 PKG_SOURCE=linux-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
PKG_SOURCE_URL= \ PKG_SOURCE_URL= \
http://www.de.kernel.org/pub/linux/kernel/v2.4 \ http://www.de.kernel.org/pub/linux/kernel/v2.4 \
http://www.fi.kernel.org/pub/linux/kernel/v2.4 \ http://www.fi.kernel.org/pub/linux/kernel/v2.4 \
http://www.fr.kernel.org/pub/linux/kernel/v2.4 \ http://www.fr.kernel.org/pub/linux/kernel/v2.4 \
http://www.kernel.org/pub/linux/kernel/v2.4 http://www.kernel.org/pub/linux/kernel/v2.4
PKG_MD5SUM:=38f4d0830e95a20f4bfed17622d5557c
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/linux-$(PKG_VERSION) PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/linux-$(PKG_VERSION)

View File

@ -7,6 +7,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libnotimpl PKG_NAME:=libnotimpl
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/libnotimpl PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/libnotimpl
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@ -31,9 +32,7 @@ define Build/Install
endef endef
define Build/Clean define Build/Clean
rm -rf \ rm -f $(STAGING_DIR)/usr/lib/libnotimpl.a
$(STAGING_DIR)/usr/lib/libnotimpl.a \
$(PKG_BUILD_DIR)
endef endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -10,10 +10,10 @@ PKG_NAME := lzma
PKG_VERSION:=432 PKG_VERSION:=432
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
PKG_MD5SUM := 155c1ebce5bc6710ae7ecc926226d9d7
PKG_SOURCE_URL:=@SF/sevenzip PKG_SOURCE_URL:=@SF/sevenzip
PKG_MD5SUM:=155c1ebce5bc6710ae7ecc926226d9d7
PKG_BUILD_DIR=$(TOOL_BUILD_DIR)/lzma-$(PKG_VERSION)/lzma PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/lzma
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@ -33,11 +33,12 @@ endef
define Build/Install define Build/Install
mkdir -p $(STAGING_DIR)/host/lib mkdir -p $(STAGING_DIR)/host/lib
$(CP) $(LIB_DIR)/liblzma.a $(STAGING_DIR)/host/lib/ $(CP) $(LIB_DIR)/liblzma.a $(STAGING_DIR)/host/lib/
mkdir -p $(STAGING_DIR)/bin
$(CP) $(ALONE_DIR)/lzma $(STAGING_DIR)/bin/ $(CP) $(ALONE_DIR)/lzma $(STAGING_DIR)/bin/
endef endef
define Build/Clean define Build/Clean
rm -f $(PKG_BUILD_DIR)/liblzma.a $(PKG_BUILD_DIR)/lzma rm -f $(STAGING_DIR)/host/lib/liblzma.a $(STAGING_DIR)/bin/lzma
endef endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -16,7 +16,8 @@ define Build/Compile
endef endef
define Build/Install define Build/Install
$(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin mkdir -p $(STAGING_DIR)/bin
$(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin/
endef endef
define Build/Clean define Build/Clean

View File

@ -8,12 +8,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sed PKG_NAME:=sed
PKG_VERSION:=4.1.2 PKG_VERSION:=4.1.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/$(PKG_NAME) PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/$(PKG_NAME)
PKG_MD5SUM:=928f0e06422f414091917401f1a834d0 PKG_MD5SUM:=928f0e06422f414091917401f1a834d0
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/sed-$(PKG_VERSION) PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
HOST_SED_TARGET=$(strip $(shell ./sedcheck.sh)) HOST_SED_TARGET=$(strip $(shell ./sedcheck.sh))

View File

@ -14,7 +14,7 @@ PKG_SOURCE_URL := @SF/squashfs
PKG_MD5SUM:=9fd05d0bfbb712f5fb95edafea5bc733 PKG_MD5SUM:=9fd05d0bfbb712f5fb95edafea5bc733
PKG_CAT:=zcat PKG_CAT:=zcat
PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/squashfs$(PKG_VERSION) PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
@ -23,7 +23,12 @@ define Build/Compile
endef endef
define Build/Install define Build/Install
mkdir -p $(STAGING_DIR)/bin
$(CP) $(PKG_BUILD_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/ $(CP) $(PKG_BUILD_DIR)/squashfs-tools/mksquashfs-lzma $(STAGING_DIR)/bin/
endef endef
define Build/Clean
rm -f $(STAGING_DIR)/bin/mksquashfs-lzma
endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))

View File

@ -19,7 +19,8 @@ define Build/Compile
endef endef
define Build/Install define Build/Install
$(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin mkdir -p $(STAGING_DIR)/bin
$(CP) $(PKG_BUILD_DIR)/sstrip $(STAGING_DIR)/bin/
endef endef
define Build/Clean define Build/Clean