clean up package titles/descriptions

SVN-Revision: 3686
lede-17.01
Felix Fietkau 2006-04-21 00:37:58 +00:00
parent cdd74416bc
commit 519c9c34e7
3 changed files with 36 additions and 24 deletions

View File

@ -20,8 +20,8 @@ SECTION:=base
CATEGORY:=Base system CATEGORY:=Base system
DEFAULT:=y DEFAULT:=y
TITLE:=Core utilities for embedded Linux TITLE:=Core utilities for embedded Linux
DESCRIPTION:=The Swiss Army Knife of embedded Linux. It slices, it dices, it\\\ DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\
makes Julian Fries. It slices, it dices, it makes Julian Fries.
URL:=http://busybox.net/ URL:=http://busybox.net/
endef endef

View File

@ -38,8 +38,9 @@ define Package/iptables-mod-conntrack
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for connection tracking TITLE:=connection tracking modules
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for connection tracking \\\
Includes: \\\
* libipt_conntrack \\\ * libipt_conntrack \\\
* libipt_helper \\\ * libipt_helper \\\
* libipt_connmark/CONNMARK * libipt_connmark/CONNMARK
@ -50,8 +51,9 @@ define Package/iptables-mod-filter
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for packet content inspection TITLE:=filter modules
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for packet content inspection\\\
Includes: \\\
* libipt_ipp2p \\\ * libipt_ipp2p \\\
* libipt_layer7 * libipt_layer7
@ -61,8 +63,9 @@ define Package/iptables-mod-imq
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extension for IMQ support TITLE:=IMQ support
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extension for IMQ support\\\
Includes: \\\
* libipt_IMQ * libipt_IMQ
endef endef
@ -71,8 +74,9 @@ define Package/iptables-mod-ipopt
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for matching/changing IP packet options TITLE:=IP/Packet option modules
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for matching/changing IP packet options\\\
Includes: \\\
* libipt_dscp/DSCP \\\ * libipt_dscp/DSCP \\\
* libipt_ecn/ECN \\\ * libipt_ecn/ECN \\\
* libipt_length \\\ * libipt_length \\\
@ -88,8 +92,9 @@ define Package/iptables-mod-ipsec
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for matching ipsec traffic TITLE:=IPSec extensions
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for matching ipsec traffic\\\
Includes: \\\
* libipt_ah \\\ * libipt_ah \\\
* libipt_esp * libipt_esp
@ -99,8 +104,9 @@ define Package/iptables-mod-nat
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for different NAT targets TITLE:=extra NAT targets
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for different NAT targets\\\
Includes: \\\
* libipt_REDIRECT * libipt_REDIRECT
endef endef
@ -108,8 +114,9 @@ define Package/iptables-mod-ulog
SECTION:=net SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=iptables extensions for user-space packet logging TITLE:=user-space packet logging
DESCRIPTION:=Includes: \\\ DESCRIPTION:=iptables extensions for user-space packet logging\\\
Includes: \\\
* libipt_ULOG * libipt_ULOG
endef endef
@ -118,7 +125,8 @@ SECTION:=net
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=iptables DEPENDS:=iptables
TITLE:=other extra iptables extensions TITLE:=other extra iptables extensions
DESCRIPTION:=Includes: \\\ DESCRIPTION:=other extra iptables extensions\\\
Includes: \\\
* libipt_limit \\\ * libipt_limit \\\
* libipt_owner \\\ * libipt_owner \\\
* libipt_physdev \\\ * libipt_physdev \\\

View File

@ -56,21 +56,26 @@ define BuildPackage
$(eval $(call Package/Default)) $(eval $(call Package/Default))
$(eval $(call Package/$(1))) $(eval $(call Package/$(1)))
ifeq ($$(TITLE),) ifeq ($(TITLE),)
$$(error Package $(1) has no TITLE) $$(error Package $(1) has no TITLE)
endif endif
ifeq ($$(CATEGORY),) ifeq ($(CATEGORY),)
$$(error Package $(1) has no CATEGORY) $$(error Package $(1) has no CATEGORY)
endif endif
ifeq ($$(PRIORITY),) ifeq ($(PRIORITY),)
$$(error Package $(1) has no PRIORITY) $$(error Package $(1) has no PRIORITY)
endif endif
ifeq ($$(VERSION),) ifeq ($(VERSION),)
$$(error Package $(1) has no VERSION) $$(error Package $(1) has no VERSION)
endif endif
ifeq ($$(PKGARCH),) ifeq ($(PKGARCH),)
PKGARCH:=$(ARCH) PKGARCH:=$(ARCH)
endif endif
$(eval
ifeq ($(DESCRIPTION),)
DESCRIPTION:=$(TITLE)
endif
)
IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk IPKG_$(1):=$(PACKAGE_DIR)/$(1)_$(VERSION)_$(PKGARCH).ipk
IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1) IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(1)
@ -128,8 +133,7 @@ $$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared
echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control
echo "Maintainer: $(MAINTAINER)" >> $$(IDIR_$(1))/CONTROL/control echo "Maintainer: $(MAINTAINER)" >> $$(IDIR_$(1))/CONTROL/control
echo "Architecture: $(PKGARCH)" >> $$(IDIR_$(1))/CONTROL/control echo "Architecture: $(PKGARCH)" >> $$(IDIR_$(1))/CONTROL/control
echo "Description: $(TITLE)" >> $$(IDIR_$(1))/CONTROL/control echo "Description: $(DESCRIPTION)" | sed -e 's,\\,\n ,g' >> $$(IDIR_$(1))/CONTROL/control
echo " $(DESCRIPTION)" | sed -e 's,\\,\n ,g' >> $$(IDIR_$(1))/CONTROL/control
chmod 644 $$(IDIR_$(1))/CONTROL/control chmod 644 $$(IDIR_$(1))/CONTROL/control
for file in conffiles preinst postinst prerm postrm; do \ for file in conffiles preinst postinst prerm postrm; do \
[ -f ./ipkg/$(1).$$$$file ] && cp ./ipkg/$(1).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file || true; \ [ -f ./ipkg/$(1).$$$$file ] && cp ./ipkg/$(1).$$$$file $$(IDIR_$(1))/CONTROL/$$$$file || true; \