CATEGORY:=Base system
DEFAULT:=y
TITLE:=Core utilities for embedded Linux
-DESCRIPTION:=The Swiss Army Knife of embedded Linux. It slices, it dices, it\\\
-makes Julian Fries.
+DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\
+It slices, it dices, it makes Julian Fries.
URL:=http://busybox.net/
endef
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for connection tracking
-DESCRIPTION:=Includes: \\\
+TITLE:=connection tracking modules
+DESCRIPTION:=iptables extensions for connection tracking \\\
+Includes: \\\
* libipt_conntrack \\\
* libipt_helper \\\
* libipt_connmark/CONNMARK
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for packet content inspection
-DESCRIPTION:=Includes: \\\
+TITLE:=filter modules
+DESCRIPTION:=iptables extensions for packet content inspection\\\
+Includes: \\\
* libipt_ipp2p \\\
* libipt_layer7
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extension for IMQ support
-DESCRIPTION:=Includes: \\\
+TITLE:=IMQ support
+DESCRIPTION:=iptables extension for IMQ support\\\
+Includes: \\\
* libipt_IMQ
endef
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for matching/changing IP packet options
-DESCRIPTION:=Includes: \\\
+TITLE:=IP/Packet option modules
+DESCRIPTION:=iptables extensions for matching/changing IP packet options\\\
+Includes: \\\
* libipt_dscp/DSCP \\\
* libipt_ecn/ECN \\\
* libipt_length \\\
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for matching ipsec traffic
-DESCRIPTION:=Includes: \\\
+TITLE:=IPSec extensions
+DESCRIPTION:=iptables extensions for matching ipsec traffic\\\
+Includes: \\\
* libipt_ah \\\
* libipt_esp
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for different NAT targets
-DESCRIPTION:=Includes: \\\
+TITLE:=extra NAT targets
+DESCRIPTION:=iptables extensions for different NAT targets\\\
+Includes: \\\
* libipt_REDIRECT
endef
SECTION:=net
CATEGORY:=Base system
DEPENDS:=iptables
-TITLE:=iptables extensions for user-space packet logging
-DESCRIPTION:=Includes: \\\
+TITLE:=user-space packet logging
+DESCRIPTION:=iptables extensions for user-space packet logging\\\
+Includes: \\\
* libipt_ULOG
endef
CATEGORY:=Base system
DEPENDS:=iptables
TITLE:=other extra iptables extensions
-DESCRIPTION:=Includes: \\\
+DESCRIPTION:=other extra iptables extensions\\\
+Includes: \\\
* libipt_limit \\\
* libipt_owner \\\
* libipt_physdev \\\
$(eval $(call Package/Default))
$(eval $(call Package/$(1)))
-ifeq ($$(TITLE),)
+ifeq ($(TITLE),)
$$(error Package $(1) has no TITLE)
endif
-ifeq ($$(CATEGORY),)
+ifeq ($(CATEGORY),)
$$(error Package $(1) has no CATEGORY)
endif
-ifeq ($$(PRIORITY),)
+ifeq ($(PRIORITY),)
$$(error Package $(1) has no PRIORITY)
endif
-ifeq ($$(VERSION),)
+ifeq ($(VERSION),)
$$(error Package $(1) has no VERSION)
endif
-ifeq ($$(PKGARCH),)
+ifeq ($(PKGARCH),)
PKGARCH:=$(ARCH)
endif
+$(eval
+ifeq ($(DESCRIPTION),)
+DESCRIPTION:=$(TITLE)
+endif
+)
IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control
echo "Maintainer: $(MAINTAINER)" >> $$(IDIR_$(1))/CONTROL/control
echo "Architecture: $(PKGARCH)" >> $$(IDIR_$(1))/CONTROL/control
- echo "Description: $(TITLE)" >> $$(IDIR_$(1))/CONTROL/control
- echo " $(DESCRIPTION)" | sed -e 's,\\,\n ,g' >> $$(IDIR_$(1))/CONTROL/control
+ echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n ,g' >> $$(IDIR_$(1))/CONTROL/control
chmod 644 $$(IDIR_$(1))/CONTROL/control
for file in conffiles preinst postinst prerm postrm; do \
[ -f ./ipkg/$(1).$$$$file ] && cp ./ipkg/$(1).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file || true; \