From 6342c83201d5fd2acef0f3193f53b19f74b14c73 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 1 Oct 2006 15:17:52 +0000 Subject: - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in) --- package/acpid/acpid.mk | 2 +- package/asterisk/asterisk.mk | 2 +- package/at/at.mk | 2 +- package/bash/bash.mk | 2 +- package/berkeleydb/berkeleydb.mk | 2 +- package/bind/bind.mk | 2 +- package/bridge/bridge.mk | 2 +- package/bzip2/bzip2.mk | 2 +- package/dhcp/dhcp.mk | 2 +- package/dialog/dialog.mk | 4 ++-- package/diffutils/diffutils.mk | 2 +- package/directfb/directfb.mk | 2 +- package/dm/dm.mk | 2 +- package/dnsmasq/dnsmasq.mk | 2 +- package/dropbear/dropbear.mk | 2 +- package/e2fsprogs/e2fsprogs.mk | 2 +- package/ed/ed.mk | 2 +- package/ethtool/ethtool.mk | 2 +- package/fakeroot/fakeroot.mk | 2 +- package/file/file.mk | 2 +- package/findutils/findutils.mk | 2 +- package/flex/flex.mk | 2 +- package/gettext/gettext.mk | 2 +- package/grep/grep.mk | 2 +- package/gzip/Config.in | 2 +- package/gzip/gzip.mk | 4 ++-- package/haserl/haserl.mk | 2 +- package/hdparm/hdparm.mk | 2 +- package/hostap/hostap.mk | 2 +- package/iostat/iostat.mk | 2 +- package/iproute2/iproute2.mk | 2 +- package/jpeg/jpeg.mk | 2 +- package/less/less.mk | 2 +- package/libcgi/libcgi.mk | 2 +- package/libelf/libelf.mk | 2 +- package/libfloat/libfloat.mk | 2 +- package/libglib12/libglib12.mk | 2 +- package/libgtk12/libgtk12.mk | 2 +- package/libmad/libmad.mk | 2 +- package/libpcap/libpcap.mk | 2 +- package/libsysfs/libsysfs.mk | 2 +- package/libtool/libtool.mk | 2 +- package/libusb/libusb.mk | 2 +- package/lighttpd/lighttpd.mk | 2 +- package/links/links.mk | 2 +- package/lrzsz/lrzsz.mk | 2 +- package/ltp-testsuite/ltp-testsuite.mk | 2 +- package/ltrace/ltrace.mk | 4 ++-- package/ltt/ltt.mk | 2 +- package/lvm2/lvm2.mk | 2 +- package/lzma/lzma.mk | 2 +- package/lzo/lzo.mk | 2 +- package/memtester/memtester.mk | 2 +- package/microcom/microcom.mk | 2 +- package/microwin/microwin.mk | 2 +- package/mkdosfs/mkdosfs.mk | 2 +- package/mrouted/mrouted.mk | 2 +- package/mtd/mtd.mk | 2 +- package/nano/nano.mk | 2 +- package/netkitbase/netkitbase.mk | 2 +- package/netkittelnet/netkittelnet.mk | 2 +- package/netsnmp/netsnmp.mk | 4 ++-- package/ntp/ntp.mk | 2 +- package/openntpd/openntpd.mk | 4 ++-- package/openssh/openssh.mk | 2 +- package/openvpn/openvpn.mk | 2 +- package/patch/patch.mk | 2 +- package/pciutils/pciutils.mk | 2 +- package/pcmcia/pcmcia.mk | 2 +- package/pkgconfig/pkgconfig.mk | 2 +- package/portmap/portmap.mk | 2 +- package/pppd/pppd.mk | 2 +- package/procps/procps.mk | 2 +- package/psmisc/psmisc.mk | 2 +- package/qte/qte.mk | 2 +- package/raidtools/raidtools.mk | 2 +- package/readline/readline.mk | 2 +- package/rsync/rsync.mk | 2 +- package/ruby/ruby.mk | 2 +- package/rxvt/rxvt.mk | 2 +- package/sdl/sdl.mk | 2 +- package/sed/sed.mk | 2 +- package/smartmontools/smartmontools.mk | 2 +- package/sqlite/sqlite.mk | 2 +- package/sudo/sudo.mk | 2 +- package/sysklogd/sysklogd.mk | 2 +- package/sysvinit/sysvinit.mk | 2 +- package/tcl/tcl.mk | 2 +- package/tcpdump/dhcpdump.mk | 2 +- package/tcpdump/tcpdump.mk | 2 +- package/thttpd/thttpd.mk | 2 +- package/udhcp/udhcp.mk | 2 +- package/usbutils/usbutils.mk | 2 +- package/vtun/vtun.mk | 2 +- package/wget/wget.mk | 2 +- package/which/which.mk | 2 +- package/wipe/wipe.mk | 2 +- package/wireless-tools/wireless-tools.mk | 2 +- package/xfsprogs/xfsprogs.mk | 2 +- 99 files changed, 104 insertions(+), 104 deletions(-) (limited to 'package') diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk index 66caa553d..990f0abd9 100644 --- a/package/acpid/acpid.mk +++ b/package/acpid/acpid.mk @@ -11,7 +11,7 @@ $(DL_DIR)/$(ACPID_SOURCE): $(WGET) -P $(DL_DIR) $(ACPID_SITE)/$(ACPID_SOURCE) $(ACPID_DIR)/Makefile: $(DL_DIR)/$(ACPID_SOURCE) - zcat $(DL_DIR)/$(ACPID_SOURCE) | tar -C $(BUILD_DIR) -xvf - + $(ZCAT) $(DL_DIR)/$(ACPID_SOURCE) | tar -C $(BUILD_DIR) -xvf - $(SED) "s:ACPI_SOCKETFILE.*:ACPI_SOCKETFILE \"/tmp/acpid.socket\":" $(ACPID_DIR)/acpid.h touch -c $(ACPID_DIR)/Makefile diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 6a15f6955..147102f77 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(ASTERISK_SOURCE): $(WGET) -P $(DL_DIR) $(ASTERISK_SITE)/$(ASTERISK_SOURCE) $(ASTERISK_DIR)/.source: $(DL_DIR)/$(ASTERISK_SOURCE) - zcat $(DL_DIR)/$(ASTERISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(ASTERISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(ASTERISK_DIR) package/asterisk/ asterisk\*.patch touch $(ASTERISK_DIR)/.source diff --git a/package/at/at.mk b/package/at/at.mk index 095d7789c..7f2bac9a6 100644 --- a/package/at/at.mk +++ b/package/at/at.mk @@ -7,7 +7,7 @@ AT_VER:=3.1.10 AT_SOURCE:=at_$(AT_VER).tar.gz AT_SITE:=http://ftp.debian.org/debian/pool/main/a/at AT_DIR:=$(BUILD_DIR)/at-$(AT_VER) -AT_CAT:=zcat +AT_CAT:=$(ZCAT) AT_TARGET_BINARY:=usr/bin/at $(DL_DIR)/$(AT_SOURCE): diff --git a/package/bash/bash.mk b/package/bash/bash.mk index b3eb0a3fe..d33977356 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -6,7 +6,7 @@ BASH_VER:=3.1 BASH_SOURCE:=bash-$(BASH_VER).tar.gz BASH_SITE:=http://ftp.gnu.org/pub/gnu/bash -BASH_CAT:=zcat +BASH_CAT:=$(ZCAT) BASH_DIR:=$(BUILD_DIR)/bash-$(BASH_VER) BASH_BINARY:=bash BASH_TARGET_BINARY:=bin/bash diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index 3b74b3832..d4c19a5fd 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(DB_SOURCE): berkeleydb-source: $(DL_DIR)/$(DB_SOURCE) $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE) - zcat $(DL_DIR)/$(DB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(DB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(DB_DIR)/.dist $(DB_DIR)/.configured: $(DB_DIR)/.dist diff --git a/package/bind/bind.mk b/package/bind/bind.mk index 8872da77e..c0632b9a1 100644 --- a/package/bind/bind.mk +++ b/package/bind/bind.mk @@ -8,7 +8,7 @@ BIND_SOURCE:=bind-$(BIND_VER).tar.gz BIND_SITE:=ftp://ftp.isc.org/isc/bind9/$(BIND_VER) BIND_DIR1:=$(TOOL_BUILD_DIR)/bind-$(BIND_VER) BIND_DIR2:=$(BUILD_DIR)/bind-$(BIND_VER) -BIND_CAT:=zcat +BIND_CAT:=$(ZCAT) BIND_BINARY:=bin/named/named BIND_TARGET_BINARY:=usr/sbin/named diff --git a/package/bridge/bridge.mk b/package/bridge/bridge.mk index 206e54cc0..92359b1aa 100644 --- a/package/bridge/bridge.mk +++ b/package/bridge/bridge.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(BRIDGE_SOURCE): $(WGET) -P $(DL_DIR) $(BRIDGE_SOURCE_URL)/$(BRIDGE_SOURCE) $(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE) - zcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - patch -p1 -d $(BRIDGE_BUILD_DIR) < package/bridge/bridge.patch touch $(BRIDGE_BUILD_DIR)/.unpacked diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk index b3fcb957f..cd6bb7283 100644 --- a/package/bzip2/bzip2.mk +++ b/package/bzip2/bzip2.mk @@ -7,7 +7,7 @@ BZIP2_VER:=1.0.3 BZIP2_SOURCE:=bzip2-$(BZIP2_VER).tar.gz BZIP2_SITE:=http://www.bzip.org/$(BZIP2_VER) BZIP2_DIR:=$(BUILD_DIR)/bzip2-$(BZIP2_VER) -BZIP2_CAT:=zcat +BZIP2_CAT:=$(ZCAT) BZIP2_BINARY:=$(BZIP2_DIR)/bzip2 BZIP2_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/bzmore diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index a8f7a1f59..5e05b6860 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -6,7 +6,7 @@ DHCP_VER:=3.0.4 DHCP_SOURCE:=dhcp-$(DHCP_VER).tar.gz DHCP_SITE:=ftp://ftp.isc.org/isc/dhcp -DHCP_CAT:=zcat +DHCP_CAT:=$(ZCAT) DHCP_DIR:=$(BUILD_DIR)/dhcp-$(DHCP_VER) DHCP_SERVER_BINARY:=work.linux-2.2/server/dhcpd DHCP_RELAY_BINARY:=work.linux-2.2/relay/dhcrelay diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk index 678a25699..28987d405 100644 --- a/package/dialog/dialog.mk +++ b/package/dialog/dialog.mk @@ -21,8 +21,8 @@ $(DL_DIR)/$(DIALOG_PATCH1): $(WGET) -P $(DL_DIR) $(DIALOG_PATCH1_URL)/$(DIALOG_PATCH1) $(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(DL_DIR)/$(DIALOG_PATCH1) - zcat $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - zcat $(DL_DIR)/$(DIALOG_PATCH1) | patch -p1 -d $(DIALOG_DIR) + $(ZCAT) $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(DIALOG_PATCH1) | patch -p1 -d $(DIALOG_DIR) touch $(DIALOG_DIR)/.source $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index 63c2e5a42..7d12ab76e 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -7,7 +7,7 @@ DIFFUTILS_VER=2.8.7 DIFFUTILS_SOURCE:=diffutils-$(DIFFUTILS_VER).tar.gz #DIFFUTILS_SITE:=ftp://alpha.gnu.org/gnu/diffutils/ DIFFUTILS_SITE:=http://mirrors.ircam.fr/pub/gnu/alpha/gnu/diffutils -DIFFUTILS_CAT:=zcat +DIFFUTILS_CAT:=$(ZCAT) DIFFUTILS_DIR:=$(BUILD_DIR)/diffutils-$(DIFFUTILS_VER) DIFFUTILS_BINARY:=src/diff DIFFUTILS_TARGET_BINARY:=usr/bin/diff diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk index 49c2b3b0c..4fb9a36b7 100644 --- a/package/directfb/directfb.mk +++ b/package/directfb/directfb.mk @@ -6,7 +6,7 @@ DIRECTFB_VERSION:=0.9.25.1 DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz DIRECTFB_SITE:=http://www.directfb.org/downloads/Core -DIRECTFB_CAT:=zcat +DIRECTFB_CAT:=$(ZCAT) DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION) $(DL_DIR)/$(DIRECTFB_SOURCE): diff --git a/package/dm/dm.mk b/package/dm/dm.mk index c1584a3f3..731edec7d 100644 --- a/package/dm/dm.mk +++ b/package/dm/dm.mk @@ -28,7 +28,7 @@ DM_PATCH=10 DM_VERSION=$(DM_BASEVER).$(DM_PATCH) DM_SOURCE:=device-mapper.$(DM_VERSION).tgz DM_SITE:=ftp://sources.redhat.com/pub/dm -DM_CAT:=zcat +DM_CAT:=$(ZCAT) DM_DIR:=$(BUILD_DIR)/device-mapper.$(DM_VERSION) DM_STAGING_BINARY:=$(STAGING_DIR)/sbin/dmsetup DM_TARGET_BINARY:=$(TARGET_DIR)/usr/sbin/dmsetup diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index 77e08f3bb..2bf5de8a4 100644 --- a/package/dnsmasq/dnsmasq.mk +++ b/package/dnsmasq/dnsmasq.mk @@ -21,7 +21,7 @@ $(DL_DIR)/$(DNSMASQ_SOURCE): $(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE) $(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE) - zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \ $(DNSMASQ_VER)\*.patch touch $(DNSMASQ_DIR)/.source diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk index d0bccb42b..870cacfc2 100644 --- a/package/dropbear/dropbear.mk +++ b/package/dropbear/dropbear.mk @@ -7,7 +7,7 @@ DROPBEAR_VER:=0.48.1 DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VER).tar.gz DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/ DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VER) -DROPBEAR_CAT:=zcat +DROPBEAR_CAT:=$(ZCAT) DROPBEAR_BINARY:=dropbearmulti DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index d7da93362..42c7f81ad 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -7,7 +7,7 @@ E2FSPROGS_VER:=1.38 E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VER).tar.gz E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VER) -E2FSPROGS_CAT:=zcat +E2FSPROGS_CAT:=$(ZCAT) E2FSPROGS_BINARY:=misc/mke2fs E2FSPROGS_TARGET_BINARY:=sbin/mke2fs diff --git a/package/ed/ed.mk b/package/ed/ed.mk index f9ed1d8a7..66d68de58 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -6,7 +6,7 @@ ED_SOURCE:=ed_0.2.orig.tar.gz ED_PATCH:=ed_0.2-19.diff.gz ED_SITE:=http://ftp.debian.org/debian/pool/main/e/ed -ED_CAT:=zcat +ED_CAT:=$(ZCAT) ED_DIR:=$(BUILD_DIR)/ed-0.2 ED_BINARY:=ed ED_TARGET_BINARY:=bin/ed diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index cb308ae0f..3ddda4177 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -9,7 +9,7 @@ ETHTOOL_SOURCE=ethtool-$(ETHTOOL_VERSION).tar.gz ETHTOOL_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gkernel/ ETHTOOL_DIR=$(BUILD_DIR)/${shell basename $(ETHTOOL_SOURCE) .tar.gz} ETHTOOL_WORKDIR=$(BUILD_DIR)/ethtool-$(ETHTOOL_VERSION) -ETHTOOL_CAT:=zcat +ETHTOOL_CAT:=$(ZCAT) $(DL_DIR)/$(ETHTOOL_SOURCE): $(WGET) -P $(DL_DIR) $(ETHTOOL_SITE)/$(ETHTOOL_SOURCE) diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index a29940321..5b22ee94c 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -6,7 +6,7 @@ FAKEROOT_VERSION:=1.5.8 FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz FAKEROOT_SITE:=http://ftp.debian.org/debian/pool/main/f/fakeroot -FAKEROOT_CAT:=zcat +FAKEROOT_CAT:=$(ZCAT) FAKEROOT_DIR1:=$(TOOL_BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION) FAKEROOT_DIR2:=$(BUILD_DIR)/fakeroot-$(FAKEROOT_VERSION) diff --git a/package/file/file.mk b/package/file/file.mk index 7c3eec2ba..8e0238132 100644 --- a/package/file/file.mk +++ b/package/file/file.mk @@ -8,7 +8,7 @@ FILE_SOURCE:=file-$(FILE_VER).tar.gz FILE_SITE:=ftp://ftp.astron.com/pub/file FILE_DIR1:=$(TOOL_BUILD_DIR)/file-$(FILE_VER) FILE_DIR2:=$(BUILD_DIR)/file-$(FILE_VER) -FILE_CAT:=zcat +FILE_CAT:=$(ZCAT) FILE_BINARY:=src/file FILE_TARGET_BINARY:=usr/bin/file diff --git a/package/findutils/findutils.mk b/package/findutils/findutils.mk index b2140b17c..c04d4ab1a 100644 --- a/package/findutils/findutils.mk +++ b/package/findutils/findutils.mk @@ -7,7 +7,7 @@ FINDUTILS_VER:=4.2.27 FINDUTILS_SOURCE:=findutils-$(FINDUTILS_VER).tar.gz #FINDUTILS_SITE:=ftp://alpha.gnu.org/gnu/findutils FINDUTILS_SITE:=http://ftp.gnu.org/pub/gnu/findutils/ -FINDUTILS_CAT:=zcat +FINDUTILS_CAT:=$(ZCAT) FINDUTILS_DIR:=$(BUILD_DIR)/findutils-$(FINDUTILS_VER) FINDUTILS_BINARY:=find/find FINDUTILS_TARGET_BINARY:=usr/bin/find diff --git a/package/flex/flex.mk b/package/flex/flex.mk index 9c6e92926..ba7c48017 100644 --- a/package/flex/flex.mk +++ b/package/flex/flex.mk @@ -7,7 +7,7 @@ FLEX_SOURCE:=flex_2.5.4a.orig.tar.gz FLEX_PATCH:=flex_2.5.4a-24.diff.gz FLEX_SITE:=http://ftp.debian.org/debian/pool/main/f/flex FLEX_DIR:=$(BUILD_DIR)/flex-2.5.4 -FLEX_CAT:=zcat +FLEX_CAT:=$(ZCAT) FLEX_BINARY:=flex FLEX_TARGET_BINARY:=usr/bin/flex diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index c4be5a7f8..5d3b72be7 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -7,7 +7,7 @@ GETTEXT_VER:=0.14.6 GETTEXT_SOURCE:=gettext-$(GETTEXT_VER).tar.gz GETTEXT_SITE:=http://ftp.gnu.org/pub/gnu/gettext GETTEXT_DIR:=$(BUILD_DIR)/gettext-$(GETTEXT_VER) -GETTEXT_CAT:=zcat +GETTEXT_CAT:=$(ZCAT) GETTEXT_BINARY:=src/gettext GETTEXT_TARGET_BINARY:=usr/bin/gettext diff --git a/package/grep/grep.mk b/package/grep/grep.mk index f84445b66..9cc2b3de6 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -6,7 +6,7 @@ GNUGREP_SOURCE:=grep_2.5.1.ds1.orig.tar.gz GNUGREP_SITE:=http://ftp.debian.org/debian/pool/main/g/grep/ GNUGREP_DIR:=$(BUILD_DIR)/grep-2.5.1 -GNUGREP_CAT:=zcat +GNUGREP_CAT:=$(ZCAT) GNUGREP_BINARY:=src/grep GNUGREP_TARGET_BINARY:=bin/grep diff --git a/package/gzip/Config.in b/package/gzip/Config.in index e80789454..45e4f65d1 100644 --- a/package/gzip/Config.in +++ b/package/gzip/Config.in @@ -3,6 +3,6 @@ config BR2_PACKAGE_GZIP default n help Standard GNU compressor. Provides things like gzip, - gunzip, gzcat, etc... + gunzip, g$(ZCAT), etc... http://www.gnu.org/software/gzip/gzip.html diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 542190cc4..1c420e401 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -8,7 +8,7 @@ GZIP_SOURCE:=gzip-$(GZIP_VER).tar.gz #GZIP_SITE:=ftp://alpha.gnu.org/gnu/gzip GZIP_SITE:=http://mirrors.ircam.fr/pub/gnu/alpha/gnu/gzip GZIP_DIR:=$(BUILD_DIR)/gzip-$(GZIP_VER) -GZIP_CAT:=zcat +GZIP_CAT:=$(ZCAT) GZIP_BINARY:=$(GZIP_DIR)/gzip GZIP_TARGET_BINARY:=$(TARGET_DIR)/bin/zmore @@ -57,7 +57,7 @@ $(GZIP_TARGET_BINARY): $(GZIP_BINARY) $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc (cd $(TARGET_DIR)/bin; \ ln -snf gzip gunzip; \ - ln -snf gzip zcat; \ + ln -snf gzip $(ZCAT); \ ln -snf zdiff zcmp; \ ln -snf zgrep zegrep; \ ln -snf zgrep zfgrep;) diff --git a/package/haserl/haserl.mk b/package/haserl/haserl.mk index 1e948aa7c..e873f16e4 100644 --- a/package/haserl/haserl.mk +++ b/package/haserl/haserl.mk @@ -9,7 +9,7 @@ HASERL_SOURCE=haserl-$(HASERL_VERSION).tar.gz HASERL_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/haserl/ HASERL_DIR=$(BUILD_DIR)/${shell basename $(HASERL_SOURCE) .tar.gz} HASERL_WORKDIR=$(BUILD_DIR)/haserl-$(HASERL_VERSION) -HASERL_CAT:=zcat +HASERL_CAT:=$(ZCAT) $(DL_DIR)/$(HASERL_SOURCE): $(WGET) -P $(DL_DIR) $(HASERL_SITE)/$(HASERL_SOURCE) diff --git a/package/hdparm/hdparm.mk b/package/hdparm/hdparm.mk index 84b613df6..8c75588d0 100644 --- a/package/hdparm/hdparm.mk +++ b/package/hdparm/hdparm.mk @@ -5,7 +5,7 @@ ############################################################# HDPARM_SOURCE:=hdparm-6.5.tar.gz HDPARM_SITE:=http://www.ibiblio.org/pub/Linux/system/hardware/ -HDPARM_CAT:=zcat +HDPARM_CAT:=$(ZCAT) HDPARM_DIR:=$(BUILD_DIR)/hdparm-6.5 HDPARM_BINARY:=hdparm HDPARM_TARGET_BINARY:=sbin/hdparm diff --git a/package/hostap/hostap.mk b/package/hostap/hostap.mk index c967a4f94..bf9dc1ef9 100644 --- a/package/hostap/hostap.mk +++ b/package/hostap/hostap.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(HOSTAP_SOURCE): hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE) $(HOSTAP_DIR)/.unpacked: $(DL_DIR)/$(HOSTAP_SOURCE) - zcat $(DL_DIR)/$(HOSTAP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(HOSTAP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - mv -f $(BUILD_DIR)/hostap $(HOSTAP_DIR) touch $(HOSTAP_DIR)/.unpacked diff --git a/package/iostat/iostat.mk b/package/iostat/iostat.mk index 0c6042c37..d1e9c4a7d 100644 --- a/package/iostat/iostat.mk +++ b/package/iostat/iostat.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(IOSTAT_SOURCE): iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE) $(IOSTAT_DIR)/.unpacked: $(DL_DIR)/$(IOSTAT_SOURCE) - zcat $(DL_DIR)/$(IOSTAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(IOSTAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(IOSTAT_DIR) package/iostat/ iostat\*.patch touch $(IOSTAT_DIR)/.unpacked diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 245ccafac..4a7c30432 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -8,7 +8,7 @@ IPROUTE2_STAMP:=051107 IPROUTE2_SOURCE:=iproute2-$(IPROUTE2_VER)-$(IPROUTE2_STAMP).tar.gz IPROUTE2_SITE:=http://developer.osdl.org/dev/iproute2/download/ IPROUTE2_DIR:=$(BUILD_DIR)/iproute2-$(IPROUTE2_VER)-$(IPROUTE2_STAMP) -IPROUTE2_CAT:=zcat +IPROUTE2_CAT:=$(ZCAT) IPROUTE2_BINARY:=tc/tc IPROUTE2_TARGET_BINARY:=sbin/tc diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk index b236a3377..5e9d254da 100644 --- a/package/jpeg/jpeg.mk +++ b/package/jpeg/jpeg.mk @@ -23,7 +23,7 @@ JPEG_DIR=$(BUILD_DIR)/jpeg-6b JPEG_SITE:=ftp://ftp.uu.net/graphics/jpeg/ JPEG_SOURCE=jpegsrc.v6b.tar.gz -JPEG_CAT:=zcat +JPEG_CAT:=$(ZCAT) $(DL_DIR)/$(JPEG_SOURCE): $(WGET) -P $(DL_DIR) $(JPEG_SITE)/$(JPEG_SOURCE) diff --git a/package/less/less.mk b/package/less/less.mk index 56c758aad..1c29d54bd 100644 --- a/package/less/less.mk +++ b/package/less/less.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(LESS_SOURCE): $(WGET) -P $(DL_DIR) $(LESS_SITE)/$(LESS_SOURCE) $(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE) - zcat $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LESS_DIR)/.source $(LESS_DIR)/.configured: $(LESS_DIR)/.source diff --git a/package/libcgi/libcgi.mk b/package/libcgi/libcgi.mk index dc40dad3a..c72563b16 100644 --- a/package/libcgi/libcgi.mk +++ b/package/libcgi/libcgi.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(LIBCGI_SOURCE): $(WGET) -P $(DL_DIR) $(LIBCGI_SITE)/$(LIBCGI_SOURCE) $(LIBCGI_DIR)/.source: $(DL_DIR)/$(LIBCGI_SOURCE) - zcat $(DL_DIR)/$(LIBCGI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LIBCGI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LIBCGI_DIR)/.source $(LIBCGI_DIR)/.configured: $(LIBCGI_DIR)/.source diff --git a/package/libelf/libelf.mk b/package/libelf/libelf.mk index fd60c1d45..7ae02ede0 100644 --- a/package/libelf/libelf.mk +++ b/package/libelf/libelf.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(LIBELF_SOURCE): $(WGET) -P $(DL_DIR) $(LIBELF_SITE)/$(LIBELF_SOURCE) $(LIBELF_DIR)/.source: $(DL_DIR)/$(LIBELF_SOURCE) - zcat $(DL_DIR)/$(LIBELF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LIBELF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LIBELF_DIR) package/libelf libelf\*.patch touch $(LIBELF_DIR)/.source diff --git a/package/libfloat/libfloat.mk b/package/libfloat/libfloat.mk index 93587c6a8..2f9723c34 100644 --- a/package/libfloat/libfloat.mk +++ b/package/libfloat/libfloat.mk @@ -6,7 +6,7 @@ LIBFLOAT_SOURCE:=libfloat_990616.orig.tar.gz LIBFLOAT_PATCH:=libfloat_990616-3.diff.gz LIBFLOAT_SITE:=http://ftp.debian.org/debian/pool/main/libf/libfloat -LIBFLOAT_CAT:=zcat +LIBFLOAT_CAT:=$(ZCAT) LIBFLOAT_DIR:=$(BUILD_DIR)/libfloat LIBFLOAT_TARGET= diff --git a/package/libglib12/libglib12.mk b/package/libglib12/libglib12.mk index 8f8acb569..145756552 100644 --- a/package/libglib12/libglib12.mk +++ b/package/libglib12/libglib12.mk @@ -5,7 +5,7 @@ ############################################################# LIBGLIB12_SOURCE:=glib-1.2.10.tar.gz LIBGLIB12_SITE:=http://ftp.gnome.org/pub/gnome/sources/glib/1.2 -LIBGLIB12_CAT:=zcat +LIBGLIB12_CAT:=$(ZCAT) LIBGLIB12_DIR:=$(BUILD_DIR)/glib-1.2.10 LIBGLIB12_BINARY:=libglib.a diff --git a/package/libgtk12/libgtk12.mk b/package/libgtk12/libgtk12.mk index caa2e39ef..07f5524cc 100644 --- a/package/libgtk12/libgtk12.mk +++ b/package/libgtk12/libgtk12.mk @@ -5,7 +5,7 @@ ############################################################# LIBGTK12_SOURCE:=gtk+-1.2.10.tar.gz LIBGTK12_SITE:=http://ftp.gnome.org/pub/gnome/sources/gtk+/1.2 -LIBGTK12_CAT:=zcat +LIBGTK12_CAT:=$(ZCAT) LIBGTK12_DIR:=$(BUILD_DIR)/gtk+-1.2.10 LIBGTK12_BINARY:=libgtk.a diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index 77fee65fc..4b46463f1 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -9,7 +9,7 @@ LIBMAD_SOURCE=libmad-$(LIBMAD_VERSION).tar.gz LIBMAD_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mad/ LIBMAD_DIR=$(BUILD_DIR)/${shell basename $(LIBMAD_SOURCE) .tar.gz} LIBMAD_WORKDIR=$(BUILD_DIR)/libmad-$(LIBMAD_VERSION) -LIBMAD_CAT:=zcat +LIBMAD_CAT:=$(ZCAT) $(DL_DIR)/$(LIBMAD_SOURCE): $(WGET) -P $(DL_DIR) $(LIBMAD_SITE)/$(LIBMAD_SOURCE) diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk index 3f62363b5..d73c98511 100644 --- a/package/libpcap/libpcap.mk +++ b/package/libpcap/libpcap.mk @@ -25,7 +25,7 @@ LIBPCAP_VER:=0.9.4 LIBPCAP_DIR:=$(BUILD_DIR)/libpcap-$(LIBPCAP_VER) LIBPCAP_SITE:=http://www.tcpdump.org/release LIBPCAP_SOURCE:=libpcap-$(LIBPCAP_VER).tar.gz -LIBPCAP_CAT:=zcat +LIBPCAP_CAT:=$(ZCAT) $(DL_DIR)/$(LIBPCAP_SOURCE): $(WGET) -P $(DL_DIR) $(LIBPCAP_SITE)/$(LIBPCAP_SOURCE) diff --git a/package/libsysfs/libsysfs.mk b/package/libsysfs/libsysfs.mk index 51ecd0eb9..30b59da77 100644 --- a/package/libsysfs/libsysfs.mk +++ b/package/libsysfs/libsysfs.mk @@ -25,7 +25,7 @@ LIBSYSFS_VER:=1.3.0 LIBSYSFS_DIR:=$(BUILD_DIR)/sysfsutils-$(LIBSYSFS_VER) LIBSYSFS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-diag LIBSYSFS_SOURCE:=sysfsutils-$(LIBSYSFS_VER).tar.gz -LIBSYSFS_CAT:=zcat +LIBSYSFS_CAT:=$(ZCAT) $(DL_DIR)/$(LIBSYSFS_SOURCE): $(WGET) -P $(DL_DIR) $(LIBSYSFS_SITE)/$(LIBSYSFS_SOURCE) diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index 369582bcb..1d0d7d635 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -6,7 +6,7 @@ LIBTOOL_VER:=1.5.22 LIBTOOL_SOURCE:=libtool-$(LIBTOOL_VER).tar.gz LIBTOOL_SITE:=http://ftp.gnu.org/pub/gnu/libtool -LIBTOOL_CAT:=zcat +LIBTOOL_CAT:=$(ZCAT) LIBTOOL_DIR:=$(BUILD_DIR)/libtool-$(LIBTOOL_VER) LIBTOOL_BINARY:=libtool LIBTOOL_TARGET_BINARY:=usr/bin/libtool diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 049e3c91c..8078b9605 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -7,7 +7,7 @@ LIBUSB_VER:=0.1.12 LIBUSB_SOURCE:=libusb-$(LIBUSB_VER).tar.gz LIBUSB_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/libusb/ LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VER) -LIBUSB_CAT:=zcat +LIBUSB_CAT:=$(ZCAT) LIBUSB_BINARY:=libusb.la LIBUSB_TARGET_BINARY:=usr/lib/libusb.so diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index fcb591651..18d840483 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -7,7 +7,7 @@ LIGHTTPD_VER:=1.4.3 LIGHTTPD_SOURCE:=lighttpd-$(LIGHTTPD_VER).tar.gz LIGHTTPD_SITE:=http://www.lighttpd.net/download LIGHTTPD_DIR:=$(BUILD_DIR)/lighttpd-$(LIGHTTPD_VER) -LIGHTTPD_CAT:=zcat +LIGHTTPD_CAT:=$(ZCAT) LIGHTTPD_BINARY:=src/lighttpd LIGHTTPD_TARGET_BINARY:=usr/sbin/lighttpd diff --git a/package/links/links.mk b/package/links/links.mk index 51a6b1e1a..df06111dc 100644 --- a/package/links/links.mk +++ b/package/links/links.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(LINKS_SOURCE): links-source: $(DL_DIR)/$(LINKS_SOURCE) $(LINKS_DIR)/.unpacked: $(DL_DIR)/$(LINKS_SOURCE) - zcat $(DL_DIR)/$(LINKS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LINKS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LINKS_DIR)/.unpacked $(LINKS_DIR)/.configured: $(LINKS_DIR)/.unpacked diff --git a/package/lrzsz/lrzsz.mk b/package/lrzsz/lrzsz.mk index de264d055..5cfe6f898 100644 --- a/package/lrzsz/lrzsz.mk +++ b/package/lrzsz/lrzsz.mk @@ -31,7 +31,7 @@ $(DL_DIR)/$(LRZSZ_SOURCE): lrzsz-source: $(DL_DIR)/$(LRZSZ_SOURCE) $(LRZSZ_DIR)/.unpacked: $(DL_DIR)/$(LRZSZ_SOURCE) - zcat $(DL_DIR)/$(LRZSZ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LRZSZ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LRZSZ_DIR)/.unpacked $(LRZSZ_DIR)/.configured: $(LRZSZ_DIR)/.unpacked diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index b36894c4c..60554acf8 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -6,7 +6,7 @@ LTP_TESTSUITE_VERSION:=20060615 LTP_TESTSUITE_SOURCE:=ltp-full-$(LTP_TESTSUITE_VERSION).tgz LTP_TESTSUITE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ltp -LTP_TESTSUITE_CAT:=zcat +LTP_TESTSUITE_CAT:=$(ZCAT) LTP_TESTSUITE_ROOT:=$(TARGET_DIR)/root LTP_TESTSUITE_DIR:=$(LTP_TESTSUITE_ROOT)/ltp-full-$(LTP_TESTSUITE_VERSION) diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk index 0c7b5421b..a9da788ff 100644 --- a/package/ltrace/ltrace.mk +++ b/package/ltrace/ltrace.mk @@ -22,8 +22,8 @@ $(DL_DIR)/$(LTRACE_SOURCE2): $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE2) $(LTRACE_DIR)/.source: $(DL_DIR)/$(LTRACE_SOURCE) $(DL_DIR)/$(LTRACE_SOURCE2) - zcat $(DL_DIR)/$(LTRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - zcat $(DL_DIR)/$(LTRACE_SOURCE2) | patch -p1 -d $(LTRACE_DIR) + $(ZCAT) $(DL_DIR)/$(LTRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LTRACE_SOURCE2) | patch -p1 -d $(LTRACE_DIR) touch $(LTRACE_DIR)/.source $(LTRACE_DIR)/.configured: $(LTRACE_DIR)/.source diff --git a/package/ltt/ltt.mk b/package/ltt/ltt.mk index d95210d0f..4e4adfe6e 100644 --- a/package/ltt/ltt.mk +++ b/package/ltt/ltt.mk @@ -6,7 +6,7 @@ LTT_VER:=0.9.5a LTT_SOURCE:=TraceToolkit-$(LTT_VER).tgz LTT_SITE:=http://www.opersys.com/ftp/pub/LTT -LTT_CAT:=zcat +LTT_CAT:=$(ZCAT) LTT_DIR1:=$(TOOL_BUILD_DIR)/TraceToolkit-$(LTT_VER:a=) LTT_DIR2:=$(BUILD_DIR)/TraceToolkit-$(LTT_VER:a=) LTT_BINARY:=Visualizer/tracevisualizer diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index a2efce147..113af6957 100644 --- a/package/lvm2/lvm2.mk +++ b/package/lvm2/lvm2.mk @@ -28,7 +28,7 @@ LVM2_PATCH=15 LVM2_VERSION=$(LVM2_BASEVER).$(LVM2_PATCH) LVM2_SOURCE:=LVM2.$(LVM2_VERSION).tgz LVM2_SITE:=ftp://sources.redhat.com/pub/lvm2 -LVM2_CAT:=zcat +LVM2_CAT:=$(ZCAT) LVM2_DIR:=$(BUILD_DIR)/LVM2.$(LVM2_VERSION) LVM2_SBIN:=lvchange lvcreate lvdisplay lvextend lvm lvmchange lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan pvchange pvcreate pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit LVM2_TARGET_SBINS=$(foreach lvm2sbin, $(LVM2_SBIN), $(TARGET_DIR)/sbin/$(lvm2sbin)) diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index a918eee8e..5b29ab490 100644 --- a/package/lzma/lzma.mk +++ b/package/lzma/lzma.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(LZMA_SOURCE): $(WGET) -P $(DL_DIR) $(LZMA_SITE)/$(LZMA_SOURCE) $(LZMA_DIR)/.source: $(DL_DIR)/$(LZMA_SOURCE) - zcat $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LZMA_DIR) package/lzma/ lzma\*.patch touch $(LZMA_DIR)/.source diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index 90d59bd33..69c39f19d 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -12,7 +12,7 @@ LZO_SITE:=http://ftp.debian.org/debian/pool/main/l/lzo #LZO_SOURCE:=lzo-$(LZO_VERSION).tar.bz2 #LZO_SITE:=http://www.oberhumer.com/opensource/lzo/download LZO_DIR:=$(BUILD_DIR)/lzo-$(LZO_VERSION) -LZO_CAT:=zcat +LZO_CAT:=$(ZCAT) $(DL_DIR)/$(LZO_SOURCE): $(WGET) -P $(DL_DIR) $(LZO_SITE)/$(LZO_SOURCE) diff --git a/package/memtester/memtester.mk b/package/memtester/memtester.mk index 084e97f5e..820ffc274 100644 --- a/package/memtester/memtester.mk +++ b/package/memtester/memtester.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(MEMTESTER_SOURCE): memtester-source: $(DL_DIR)/$(MEMTESTER_SOURCE) $(MEMTESTER_DIR)/.unpacked: $(DL_DIR)/$(MEMTESTER_SOURCE) - zcat $(DL_DIR)/$(MEMTESTER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(MEMTESTER_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - #toolchain/patch-kernel.sh $(MEMTESTER_DIR) package/memtester/ memtester\*.patch $(SED) "s,cc,$(TARGET_CC)," $(MEMTESTER_DIR)/conf-* touch $(MEMTESTER_DIR)/.unpacked diff --git a/package/microcom/microcom.mk b/package/microcom/microcom.mk index 917f11ede..f8a3ecbdb 100644 --- a/package/microcom/microcom.mk +++ b/package/microcom/microcom.mk @@ -36,7 +36,7 @@ microcom-source: $(DL_DIR)/$(MICROCOM_SOURCE) $(MICROCOM_DIR)/.unpacked: $(DL_DIR)/$(MICROCOM_SOURCE) mkdir -p $(MICROCOM_DIR) - zcat $(DL_DIR)/$(MICROCOM_SOURCE) | tar -C $(MICROCOM_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(MICROCOM_SOURCE) | tar -C $(MICROCOM_DIR) $(TAR_OPTIONS) - touch $(MICROCOM_DIR)/.unpacked $(MICROCOM_DIR)/.configured: $(MICROCOM_DIR)/.unpacked diff --git a/package/microwin/microwin.mk b/package/microwin/microwin.mk index 42efb7f01..ffc1ff7b8 100644 --- a/package/microwin/microwin.mk +++ b/package/microwin/microwin.mk @@ -10,7 +10,7 @@ MICROWIN_DIR:=$(BUILD_DIR)/microwin #MICROWIN_SOURCE:=microwindows-0.91.tar.gz #MICROWIN_DIR:=$(BUILD_DIR)/microwindows-0.91 -MICROWIN_CAT:=zcat +MICROWIN_CAT:=$(ZCAT) MICROWIN_BINARY:=$(MICROWIN_DIR)/src/bin/nano-X MICROWIN_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/nano-X diff --git a/package/mkdosfs/mkdosfs.mk b/package/mkdosfs/mkdosfs.mk index 28e355301..a9ec8dc30 100644 --- a/package/mkdosfs/mkdosfs.mk +++ b/package/mkdosfs/mkdosfs.mk @@ -7,7 +7,7 @@ MKDOSFS_VER:=2.11 MKDOSFS_SOURCE:=dosfstools-$(MKDOSFS_VER).src.tar.gz MKDOSFS_SITE:=http://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools MKDOSFS_DIR:=$(BUILD_DIR)/dosfstools-$(MKDOSFS_VER) -MKDOSFS_CAT:=zcat +MKDOSFS_CAT:=$(ZCAT) MKDOSFS_BINARY:=mkdosfs/mkdosfs MKDOSFS_TARGET_BINARY:=sbin/mkdosfs diff --git a/package/mrouted/mrouted.mk b/package/mrouted/mrouted.mk index 94e18e081..bc55771e8 100644 --- a/package/mrouted/mrouted.mk +++ b/package/mrouted/mrouted.mk @@ -7,7 +7,7 @@ MROUTED_SOURCE:=mrouted_3.9-beta3.orig.tar.gz MROUTED_SITE:=http://ftp.debian.org/debian/pool/non-free/m/mrouted MROUTED_DIR:=$(BUILD_DIR)/mrouted-3.9-beta3.orig -MROUTED_CAT:=zcat +MROUTED_CAT:=$(ZCAT) MROUTED_PATCH:=mrouted_3.9-beta3-1.1.diff.gz MROUTED_BINARY:=mrouted MROUTED_TARGET_BINARY:=usr/sbin/mrouted diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index 9065ace7f..afba855eb 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -18,7 +18,7 @@ MTD_SOURCE:=$(strip $(subst ",, $(BR2_PACKAGE_MTD_ORIG_STRING))) MTD_SITE:=http://ftp.debian.org/debian/pool/main/m/mtd MTD_HOST_DIR := $(TOOL_BUILD_DIR)/mtd_orig MTD_DIR:=$(BUILD_DIR)/mtd_orig -MTD_UNZIP:=zcat +MTD_UNZIP:=$(ZCAT) endif diff --git a/package/nano/nano.mk b/package/nano/nano.mk index fdc59d5f2..148a025bb 100644 --- a/package/nano/nano.mk +++ b/package/nano/nano.mk @@ -7,7 +7,7 @@ NANO_VER:=1.3.12 NANO_SOURCE:=nano-$(NANO_VER).tar.gz NANO_SITE:=http://www.nano-editor.org/dist/v1.3/ NANO_DIR:=$(BUILD_DIR)/nano-$(NANO_VER) -NANO_CAT:=zcat +NANO_CAT:=$(ZCAT) NANO_BINARY:=src/nano NANO_TARGET_BINARY:=bin/nano diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk index 1e6569c53..aac6523e3 100644 --- a/package/netkitbase/netkitbase.mk +++ b/package/netkitbase/netkitbase.mk @@ -6,7 +6,7 @@ NETKITBASE_SOURCE:=netkit-base-0.17.tar.gz NETKITBASE_SITE:=ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ NETKITBASE_DIR:=$(BUILD_DIR)/netkit-base-0.17 -NETKITBASE_CAT:=zcat +NETKITBASE_CAT:=$(ZCAT) NETKITBASE_BINARY:=inetd/inetd NETKITBASE_TARGET_BINARY:=usr/sbin/inetd diff --git a/package/netkittelnet/netkittelnet.mk b/package/netkittelnet/netkittelnet.mk index e9b861283..67d001072 100644 --- a/package/netkittelnet/netkittelnet.mk +++ b/package/netkittelnet/netkittelnet.mk @@ -6,7 +6,7 @@ NETKITTELNET_SOURCE:=netkit-telnet-0.17.tar.gz NETKITTELNET_SITE:=ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ NETKITTELNET_DIR:=$(BUILD_DIR)/netkit-telnet-0.17 -NETKITTELNET_CAT:=zcat +NETKITTELNET_CAT:=$(ZCAT) NETKITTELNET_BINARY:=telnetd/telnetd NETKITTELNET_TARGET_BINARY:=usr/sbin/telnetd diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index b98183e89..726b7edd8 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -17,8 +17,8 @@ $(DL_DIR)/$(NETSNMP_PATCH1): $(WGET) -P $(DL_DIR) $(NETSNMP_PATCH1_URL)/$(NETSNMP_PATCH1) $(NETSNMP_DIR)/.unpacked: $(DL_DIR)/$(NETSNMP_SOURCE) $(DL_DIR)/$(NETSNMP_PATCH1) - zcat $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - zcat $(DL_DIR)/$(NETSNMP_PATCH1) | patch -p1 -d $(NETSNMP_DIR) + $(ZCAT) $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(NETSNMP_PATCH1) | patch -p1 -d $(NETSNMP_DIR) toolchain/patch-kernel.sh $(NETSNMP_DIR) package/netsnmp/ netsnmp\*.patch touch $(NETSNMP_DIR)/.unpacked diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 368d2c72c..3fa122d0f 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -7,7 +7,7 @@ NTP_VERSION:=4.2.0 NTP_SOURCE:=ntp-$(NTP_VERSION).tar.gz NTP_SITE:=http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2 NTP_DIR:=$(BUILD_DIR)/ntp-$(NTP_VERSION) -NTP_CAT:=zcat +NTP_CAT:=$(ZCAT) NTP_BINARY:=ntpdate/ntpdate NTP_TARGET_BINARY:=usr/bin/ntpdate diff --git a/package/openntpd/openntpd.mk b/package/openntpd/openntpd.mk index 8344319cc..767cb05fa 100644 --- a/package/openntpd/openntpd.mk +++ b/package/openntpd/openntpd.mk @@ -7,7 +7,7 @@ OPENNTPD_VERSION:=3.6.1p1 OPENNTPD_SOURCE:=openntpd-$(OPENNTPD_VERSION).tar.gz OPENNTPD_SITE:=ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD OPENNTPD_DIR:=$(BUILD_DIR)/openntpd-$(OPENNTPD_VERSION) -OPENNTPD_CAT:=zcat +OPENNTPD_CAT:=$(ZCAT) OPENNTPD_BINARY:=ntpd OPENNTPD_TARGET_BINARY:=usr/sbin/foo @@ -15,7 +15,7 @@ $(DL_DIR)/$(OPENNTPD_SOURCE): $(WGET) -P $(DL_DIR) $(OPENNTPD_SITE)/$(OPENNTPD_SOURCE) $(OPENNTPD_DIR)/.source: $(DL_DIR)/$(OPENNTPD_SOURCE) - zcat $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(OPENNTPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(OPENNTPD_DIR)/.source $(OPENNTPD_DIR)/.configured: $(OPENNTPD_DIR)/.source diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 64827bd29..059552146 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(OPENSSH_SOURCE): $(WGET) -P $(DL_DIR) $(OPENSSH_SITE)/$(OPENSSH_SOURCE) $(OPENSSH_DIR)/.unpacked: $(DL_DIR)/$(OPENSSH_SOURCE) - zcat $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(OPENSSH_DIR) package/openssh/ openssh\*.patch touch $(OPENSSH_DIR)/.unpacked diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk index dc1c2cec8..e2092cadd 100644 --- a/package/openvpn/openvpn.mk +++ b/package/openvpn/openvpn.mk @@ -9,7 +9,7 @@ OPENVPN_SOURCE:=openvpn-1.5.0.tar.gz OPENVPN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/openvpn/ OPENVPN_DIR:=$(BUILD_DIR)/openvpn-1.5.0 -OPENVPN_CAT:=zcat +OPENVPN_CAT:=$(ZCAT) OPENVPN_BINARY:=openvpn OPENVPN_TARGET_BINARY:=usr/sbin/openvpn diff --git a/package/patch/patch.mk b/package/patch/patch.mk index da2d636d4..33456be5f 100644 --- a/package/patch/patch.mk +++ b/package/patch/patch.mk @@ -5,7 +5,7 @@ ############################################################# GNUPATCH_SOURCE:=patch_2.5.9.orig.tar.gz GNUPATCH_SITE:=http://ftp.debian.org/debian/pool/main/p/patch -GNUPATCH_CAT:=zcat +GNUPATCH_CAT:=$(ZCAT) GNUPATCH_DIR:=$(BUILD_DIR)/patch-2.5.9 GNUPATCH_BINARY:=patch GNUPATCH_TARGET_BINARY:=usr/bin/patch diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index 138c4ac21..8f36b53bb 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -7,7 +7,7 @@ PCIUTILS_VER:=2.1.11 PCIUTILS_SOURCE:=pciutils-$(PCIUTILS_VER).tar.gz PCIUTILS_SITE:=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci PCIUTILS_DIR:=$(BUILD_DIR)/pciutils-$(PCIUTILS_VER) -PCIUTILS_CAT:=zcat +PCIUTILS_CAT:=$(ZCAT) # Yet more targets... PCIIDS_SITE:=http://pciids.sourceforge.net/ diff --git a/package/pcmcia/pcmcia.mk b/package/pcmcia/pcmcia.mk index 6f18078ef..8e1fcab6f 100644 --- a/package/pcmcia/pcmcia.mk +++ b/package/pcmcia/pcmcia.mk @@ -24,7 +24,7 @@ PCMCIA_SOURCE:=pcmcia-cs-3.2.7.tar.gz PCMCIA_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/pcmcia-cs PCMCIA_DIR:=$(BUILD_DIR)/pcmcia-cs-3.2.7 -PCMCIA_CAT:=zcat +PCMCIA_CAT:=$(ZCAT) $(DL_DIR)/$(PCMCIA_SOURCE): $(WGET) -P $(DL_DIR) $(PCMCIA_SITE)/$(PCMCIA_SOURCE) diff --git a/package/pkgconfig/pkgconfig.mk b/package/pkgconfig/pkgconfig.mk index d971f1f95..682241a7e 100644 --- a/package/pkgconfig/pkgconfig.mk +++ b/package/pkgconfig/pkgconfig.mk @@ -7,7 +7,7 @@ PKGCONFIG_VER:=0.21 PKGCONFIG_SOURCE:=pkg-config-$(PKGCONFIG_VER).tar.gz PKGCONFIG_SITE:=http://pkgconfig.freedesktop.org/releases/ PKGCONFIG_DIR:=$(BUILD_DIR)/pkg-config-$(PKGCONFIG_VER) -PKGCONFIG_CAT:=zcat +PKGCONFIG_CAT:=$(ZCAT) PKGCONFIG_BINARY:=pkg-config PKGCONFIG_TARGET_BINARY:=usr/bin/pkg-config diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk index 1bef8a97e..5f014b8e1 100644 --- a/package/portmap/portmap.mk +++ b/package/portmap/portmap.mk @@ -7,7 +7,7 @@ PORTMAP_VER:=5b PORTMAP_SOURCE:=portmap_$(PORTMAP_VER)eta.tar.gz PORTMAP_SITE:=ftp://ftp.porcupine.org/pub/security/ PORTMAP_DIR:=$(BUILD_DIR)/portmap_$(PORTMAP_VER)eta -PORTMAP_CAT:=zcat +PORTMAP_CAT:=$(ZCAT) PORTMAP_BINARY:=portmap PORTMAP_TARGET_BINARY:=sbin/portmap diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk index f67535c83..2308e31a3 100644 --- a/package/pppd/pppd.mk +++ b/package/pppd/pppd.mk @@ -6,7 +6,7 @@ PPPD_SOURCE:=ppp-2.4.3.tar.gz PPPD_SITE:=ftp://ftp.samba.org/pub/ppp PPPD_DIR:=$(BUILD_DIR)/ppp-2.4.3 -PPPD_CAT:=zcat +PPPD_CAT:=$(ZCAT) PPPD_BINARY:=pppd/pppd PPPD_TARGET_BINARY:=usr/sbin/pppd diff --git a/package/procps/procps.mk b/package/procps/procps.mk index 29351d3b1..85405b7e3 100644 --- a/package/procps/procps.mk +++ b/package/procps/procps.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(PROCPS_SOURCE): $(WGET) -P $(DL_DIR) $(PROCPS_SITE)/$(PROCPS_SOURCE) $(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE) - zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(PROCPS_DIR) package/procps/ procps\*.patch $(SED) '/^CFLAGS/s:-O2:$(TARGET_CFLAGS):' $(PROCPS_DIR)/Makefile touch $(PROCPS_DIR)/.source diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk index 769b9d0fe..354c66662 100644 --- a/package/psmisc/psmisc.mk +++ b/package/psmisc/psmisc.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(PSMISC_SOURCE): $(WGET) -P $(DL_DIR) $(PSMISC_SITE)/$(PSMISC_SOURCE) $(PSMISC_DIR)/.unpacked: $(DL_DIR)/$(PSMISC_SOURCE) - zcat $(DL_DIR)/$(PSMISC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(PSMISC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(PSMISC_DIR)/.unpacked $(PSMISC_DIR)/.configured: $(PSMISC_DIR)/.unpacked diff --git a/package/qte/qte.mk b/package/qte/qte.mk index 297afbc04..fbc75a189 100644 --- a/package/qte/qte.mk +++ b/package/qte/qte.mk @@ -38,7 +38,7 @@ QTE_TMAKE_DIR:=$(BUILD_DIR)/tmake-$(BR2_QTE_C_TMAKE_VERSION) QTE_QVFB_DIR:=$(BUILD_DIR)/qt-$(BR2_QTE_C_QVFB_VERSION) QTE_QTOPIA_DIR:=$(BUILD_DIR)/qtopia-phone-$(BR2_QTE_C_QTOPIA_VERSION) -QTE_CAT:=zcat +QTE_CAT:=$(ZCAT) TMAKE:=$(QTE_TMAKE_DIR)/bin/tmake QTE_UIC_BINARY:=bin/uic QTE_QVFB_BINARY:=bin/qvfb diff --git a/package/raidtools/raidtools.mk b/package/raidtools/raidtools.mk index 2f32b8c58..28dbf8e10 100644 --- a/package/raidtools/raidtools.mk +++ b/package/raidtools/raidtools.mk @@ -6,7 +6,7 @@ RAIDTOOLS2_SOURCE:=raidtools2-1.00.3.tar.gz RAIDTOOLS2_SITE:= RAIDTOOLS2_DIR:=$(BUILD_DIR)/raidtools2-1.00.3 -RAIDTOOLS2_CAT:=zcat +RAIDTOOLS2_CAT:=$(ZCAT) RAIDTOOLS2_BINARY:=mkraid RAIDTOOLS2_TARGET_BINARY:=sbin/mkraid diff --git a/package/readline/readline.mk b/package/readline/readline.mk index 3388ef56e..ff0a683ec 100644 --- a/package/readline/readline.mk +++ b/package/readline/readline.mk @@ -7,7 +7,7 @@ READLINE_VER:=5.1 READLINE_SITE:=ftp://ftp.cwru.edu/pub/bash READLINE_SOURCE:=readline-$(READLINE_VER).tar.gz READLINE_DIR:=$(BUILD_DIR)/readline-$(READLINE_VER) -READLINE_CAT:=zcat +READLINE_CAT:=$(ZCAT) READLINE_BINARY:=libhistory.a READLINE_TARGET_BINARY:=lib/$(READLINE_BINARY) diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk index 9a5047afe..a238d36d9 100644 --- a/package/rsync/rsync.mk +++ b/package/rsync/rsync.mk @@ -7,7 +7,7 @@ RSYNC_VER:=2.6.8 RSYNC_SOURCE:=rsync-$(RSYNC_VER).tar.gz RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/ RSYNC_DIR:=$(BUILD_DIR)/rsync-$(RSYNC_VER) -RSYNC_CAT:=zcat +RSYNC_CAT:=$(ZCAT) RSYNC_BINARY:=rsync RSYNC_TARGET_BINARY:=usr/bin/rsync diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk index 2006b648f..46366a106 100644 --- a/package/ruby/ruby.mk +++ b/package/ruby/ruby.mk @@ -6,7 +6,7 @@ RUBY_SOURCE:=ruby-1.8.2.tar.gz RUBY_SITE:=ftp://ftp.ruby-lang.org/pub/ruby/1.8 RUBY_DIR:=$(BUILD_DIR)/ruby-1.8.2 -RUBY_CAT:=zcat +RUBY_CAT:=$(ZCAT) RUBY_BINARY:=ruby RUBY_TARGET_BINARY:=usr/bin/ruby diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk index 04df2caa4..f4f75621f 100644 --- a/package/rxvt/rxvt.mk +++ b/package/rxvt/rxvt.mk @@ -23,7 +23,7 @@ RXVT_VERSION:=2.6.4 RXVT_SOURCE:=rxvt-$(RXVT_VERSION).tar.gz RXVT_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/rxvt -RXVT_CAT:=zcat +RXVT_CAT:=$(ZCAT) RXVT_DIR:=$(BUILD_DIR)/rxvt-$(RXVT_VERSION) RXVT_BINARY:=$(RXVT_DIR)/src/rxvt diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk index 501df6811..5e2db2a49 100644 --- a/package/sdl/sdl.mk +++ b/package/sdl/sdl.mk @@ -6,7 +6,7 @@ SDL_VERSION:=1.2.11 SDL_SOURCE:=SDL-$(SDL_VERSION).tar.gz SDL_SITE:=http://www.libsdl.org/release -SDL_CAT:=zcat +SDL_CAT:=$(ZCAT) SDL_DIR:=$(BUILD_DIR)/SDL-$(SDL_VERSION) $(DL_DIR)/$(SDL_SOURCE): diff --git a/package/sed/sed.mk b/package/sed/sed.mk index 64fa45ded..c6538d85e 100644 --- a/package/sed/sed.mk +++ b/package/sed/sed.mk @@ -6,7 +6,7 @@ SED_VER:=4.1.5 SED_SOURCE:=sed-$(SED_VER).tar.gz SED_SITE:=http://ftp.gnu.org/pub/gnu/sed -SED_CAT:=zcat +SED_CAT:=$(ZCAT) SED_DIR1:=$(TOOL_BUILD_DIR)/sed-$(SED_VER) SED_DIR2:=$(BUILD_DIR)/sed-$(SED_VER) SED_BINARY:=sed/sed diff --git a/package/smartmontools/smartmontools.mk b/package/smartmontools/smartmontools.mk index a7c1ccb68..f167a0f34 100644 --- a/package/smartmontools/smartmontools.mk +++ b/package/smartmontools/smartmontools.mk @@ -7,7 +7,7 @@ SMARTMONTOOLS_VER:=5.33 SMARTMONTOOLS_SOURCE:=smartmontools-$(SMARTMONTOOLS_VER).tar.gz SMARTMONTOOLS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/smartmontools SMARTMONTOOLS_DIR:=$(BUILD_DIR)/smartmontools-$(SMARTMONTOOLS_VER) -SMARTMONTOOLS_CAT:=zcat +SMARTMONTOOLS_CAT:=$(ZCAT) SMARTMONTOOLS_BINARY:=smartctl SMARTMONTOOLS_BINARY2:=smartd SMARTMONTOOLS_TARGET_BINARY:=usr/sbin/smartctl diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk index ef20a0f7e..254abbd5e 100644 --- a/package/sqlite/sqlite.mk +++ b/package/sqlite/sqlite.mk @@ -8,7 +8,7 @@ SQLITE_VERSION=3.3.7 SQLITE_SOURCE=sqlite-$(SQLITE_VERSION).tar.gz SQLITE_SITE=http://www.sqlite.org SQLITE_DIR=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION) -SQLITE_CAT:=zcat +SQLITE_CAT:=$(ZCAT) $(DL_DIR)/$(SQLITE_SOURCE): $(WGET) -P $(DL_DIR) $(SQLITE_SITE)/$(SQLITE_SOURCE) diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index d285e2ba0..f9bd68ddb 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -8,7 +8,7 @@ SUDO_VER:=1.6.8p9 SUDO_DIR:=$(BUILD_DIR)/sudo-$(SUDO_VER) SUDO_SOURCE:=sudo-$(SUDO_VER).tar.gz SUDO_SITE=http://www.courtesan.com/sudo/dist -SUDO_UNZIP=zcat +SUDO_UNZIP=$(ZCAT) $(DL_DIR)/$(SUDO_SOURCE): $(WGET) -P $(DL_DIR) $(SUDO_SITE)/$(SUDO_SOURCE) diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk index 9f18eb839..84f966c65 100644 --- a/package/sysklogd/sysklogd.mk +++ b/package/sysklogd/sysklogd.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(SYSKLOGD_SOURCE): sysklogd-source: $(DL_DIR)/$(SYSKLOGD_SOURCE) $(SYSKLOGD_DIR)/.unpacked: $(DL_DIR)/$(SYSKLOGD_SOURCE) - zcat $(DL_DIR)/$(SYSKLOGD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(SYSKLOGD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(SYSKLOGD_DIR) package/sysklogd/ sysklogd\*.patch touch $(SYSKLOGD_DIR)/.unpacked diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index 3a94a0de4..af26d6463 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -7,7 +7,7 @@ SYSVINIT_VER:=2.86 SYSVINIT_SOURCE:=sysvinit-$(SYSVINIT_VER).tar.gz SYSVINIT_SITE:=ftp://ftp.cistron.nl/pub/people/miquels/software SYSVINIT_DIR:=$(BUILD_DIR)/sysvinit-$(SYSVINIT_VER) -SYSVINIT_CAT:=zcat +SYSVINIT_CAT:=$(ZCAT) SYSVINIT_BINARY:=src/init SYSVINIT_TARGET_BINARY:=bin/init diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk index 67b3f57fb..614d1039d 100644 --- a/package/tcl/tcl.mk +++ b/package/tcl/tcl.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(TCL_SOURCE): $(WGET) -P $(DL_DIR) $(TCL_SITE)/$(TCL_SOURCE) $(TCL_DIR)/.source: $(DL_DIR)/$(TCL_SOURCE) - zcat $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(TCL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(TCL_DIR) package/tcl/ tcl\*.patch touch $(TCL_DIR)/.source diff --git a/package/tcpdump/dhcpdump.mk b/package/tcpdump/dhcpdump.mk index 4f3627e4b..7585b0749 100644 --- a/package/tcpdump/dhcpdump.mk +++ b/package/tcpdump/dhcpdump.mk @@ -10,7 +10,7 @@ DHCPDUMP_VER:=1.7 DHCPDUMP_DIR:=$(BUILD_DIR)/dhcpdump-$(DHCPDUMP_VER) DHCPDUMP_SITE:=http://www.mavetju.org/download/ DHCPDUMP_SOURCE:=dhcpdump-$(DHCPDUMP_VER).tar.gz -DHCPDUMP_CAT:=zcat +DHCPDUMP_CAT:=$(ZCAT) $(DL_DIR)/$(DHCPDUMP_SOURCE): $(WGET) -P $(DL_DIR) $(DHCPDUMP_SITE)/$(DHCPDUMP_SOURCE) diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk index 402c65d16..0cadc786f 100644 --- a/package/tcpdump/tcpdump.mk +++ b/package/tcpdump/tcpdump.mk @@ -10,7 +10,7 @@ TCPDUMP_VER:=3.9.4 TCPDUMP_DIR:=$(BUILD_DIR)/tcpdump-$(TCPDUMP_VER) TCPDUMP_SITE:=http://www.tcpdump.org/release TCPDUMP_SOURCE:=tcpdump-$(TCPDUMP_VER).tar.gz -TCPDUMP_CAT:=zcat +TCPDUMP_CAT:=$(ZCAT) $(DL_DIR)/$(TCPDUMP_SOURCE): $(WGET) -P $(DL_DIR) $(TCPDUMP_SITE)/$(TCPDUMP_SOURCE) diff --git a/package/thttpd/thttpd.mk b/package/thttpd/thttpd.mk index 24dd149f0..fe25bb5c0 100644 --- a/package/thttpd/thttpd.mk +++ b/package/thttpd/thttpd.mk @@ -7,7 +7,7 @@ THTTPD_VER:=2.25b THTTPD_SOURCE:=thttpd-$(THTTPD_VER).tar.gz THTTPD_SITE:=http://www.acme.com/software/thttpd/ THTTPD_DIR:=$(BUILD_DIR)/thttpd-$(THTTPD_VER) -THTTPD_CAT:=zcat +THTTPD_CAT:=$(ZCAT) THTTPD_BINARY:=thttpd THTTPD_TARGET_BINARY:=sbin/thttpd THTTPD_ROOT:=/var diff --git a/package/udhcp/udhcp.mk b/package/udhcp/udhcp.mk index e1827be58..006a0d6c6 100644 --- a/package/udhcp/udhcp.mk +++ b/package/udhcp/udhcp.mk @@ -31,7 +31,7 @@ $(DL_DIR)/$(UDHCP_SOURCE): udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE) $(UDHCP_DIR)/.unpacked: $(DL_DIR)/$(UDHCP_SOURCE) - zcat $(DL_DIR)/$(UDHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(UDHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SED) 's/-Os -fomit-frame-pointer/$(TARGET_CFLAGS)/' $(UDHCP_DIR)/Makefile toolchain/patch-kernel.sh $(UDHCP_DIR) package/udhcp/ udhcp\*.patch touch $(UDHCP_DIR)/.unpacked diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk index 87626bc62..93a47195e 100644 --- a/package/usbutils/usbutils.mk +++ b/package/usbutils/usbutils.mk @@ -7,7 +7,7 @@ USBUTILS_VER:=0.72 USBUTILS_SOURCE:=usbutils-$(USBUTILS_VER).tar.gz USBUTILS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-usb/ USBUTILS_DIR:=$(BUILD_DIR)/usbutils-$(USBUTILS_VER) -USBUTILS_CAT:=zcat +USBUTILS_CAT:=$(ZCAT) USBUTILS_BINARY:=lsusb USBUTILS_TARGET_BINARY:=usr/bin/lsusb diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk index 1584dfb19..4a51a9ea3 100644 --- a/package/vtun/vtun.mk +++ b/package/vtun/vtun.mk @@ -9,7 +9,7 @@ VTUN_SOURCE:=vtun-2.6.tar.gz VTUN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/vtun/ VTUN_DIR:=$(BUILD_DIR)/vtun-2.6 -VTUN_CAT:=zcat +VTUN_CAT:=$(ZCAT) VTUN_BINARY:=vtund VTUN_TARGET_BINARY:=usr/sbin/vtund diff --git a/package/wget/wget.mk b/package/wget/wget.mk index 721ac3b64..b2a26244e 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -7,7 +7,7 @@ WGET_VER:=1.10.2 WGET_SOURCE:=wget-$(WGET_VER).tar.gz WGET_SITE:=http://ftp.gnu.org/pub/gnu/wget WGET_DIR:=$(BUILD_DIR)/wget-$(WGET_VER) -WGET_CAT:=zcat +WGET_CAT:=$(ZCAT) WGET_BINARY:=src/wget WGET_TARGET_BINARY:=bin/wget diff --git a/package/which/which.mk b/package/which/which.mk index 1beab7bee..992d076a1 100644 --- a/package/which/which.mk +++ b/package/which/which.mk @@ -7,7 +7,7 @@ WHICH_VER:=2.16 WHICH_SOURCE:=which-$(WHICH_VER).tar.gz WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/ WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VER) -WHICH_CAT:=zcat +WHICH_CAT:=$(ZCAT) WHICH_BINARY:=which WHICH_TARGET_BINARY:=bin/which diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk index 28178bc51..477af50ce 100644 --- a/package/wipe/wipe.mk +++ b/package/wipe/wipe.mk @@ -7,7 +7,7 @@ WIPE_SOURCE:=wipe-0.20.tar.gz #WIPE_PATCH:=wipe_0.2-19.diff.gz WIPE_SITE:=http://abaababa.ouvaton.org/wipe -WIPE_CAT:=zcat +WIPE_CAT:=$(ZCAT) WIPE_DIR:=$(BUILD_DIR)/wipe-0.20 WIPE_BINARY:=wipe WIPE_TARGET_BINARY:=bin/wipe diff --git a/package/wireless-tools/wireless-tools.mk b/package/wireless-tools/wireless-tools.mk index 3fdb66e8a..dffea2b94 100644 --- a/package/wireless-tools/wireless-tools.mk +++ b/package/wireless-tools/wireless-tools.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE): $(WGET) -P $(DL_DIR) $(WIRELESS_TOOLS_SOURCE_URL)/$(WIRELESS_TOOLS_SOURCE) $(WIRELESS_TOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE) - zcat $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + $(ZCAT) $(DL_DIR)/$(WIRELESS_TOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - sed -i -e s:'strip':'$(STRIP)':g $(WIRELESS_TOOLS_BUILD_DIR)/Makefile touch $(WIRELESS_TOOLS_BUILD_DIR)/.unpacked diff --git a/package/xfsprogs/xfsprogs.mk b/package/xfsprogs/xfsprogs.mk index 6994ecba5..023109814 100644 --- a/package/xfsprogs/xfsprogs.mk +++ b/package/xfsprogs/xfsprogs.mk @@ -7,7 +7,7 @@ XFSPROGS_VER:=2.7.11 XFSPROGS_SOURCE=xfsprogs-$(XFSPROGS_VER).src.tar.gz XFSPROGS_SITE=ftp://oss.sgi.com/projects/xfs/cmd_tars XFSPROGS_DIR=$(BUILD_DIR)/xfsprogs-$(XFSPROGS_VER) -XFSPROGS_CAT:=zcat +XFSPROGS_CAT:=$(ZCAT) XFSPROGS_BINARY:=mkfs/mkfs.xfs XFSPROGS_TARGET_BINARY:=sbin/mkfs.xfs -- cgit v1.2.3