summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/bridge/Makefile8
-rw-r--r--package/busybox/busybox.mk9
-rw-r--r--package/dnsmasq/Makefile11
-rw-r--r--package/dropbear/Makefile11
-rw-r--r--package/ebtables/Makefile8
-rw-r--r--package/haserl/Makefile5
-rw-r--r--package/iproute2/Makefile11
-rw-r--r--package/iptables/Makefile5
-rw-r--r--package/lcd4linux/Makefile8
-rw-r--r--package/libelf/Makefile7
-rw-r--r--package/libpcap/Makefile7
-rw-r--r--package/linux/Makefile2
-rw-r--r--package/linux/linux.mk7
-rw-r--r--package/lzo/Makefile7
-rw-r--r--package/matrixssl/Makefile9
-rw-r--r--package/microperl/Makefile11
-rw-r--r--package/ncurses/Makefile5
-rw-r--r--package/openssl/Makefile5
-rw-r--r--package/openvpn/Makefile11
-rw-r--r--package/openwrt/Makefile5
-rw-r--r--package/pcre/Makefile5
-rw-r--r--package/popt/Makefile6
-rw-r--r--package/ppp/Makefile6
-rw-r--r--package/pptp/Makefile11
-rw-r--r--package/pptpd/Makefile11
-rw-r--r--package/strace/Makefile11
-rw-r--r--package/tcpdump/Makefile11
-rw-r--r--package/zlib/Makefile5
28 files changed, 117 insertions, 101 deletions
diff --git a/package/bridge/Makefile b/package/bridge/Makefile
index f19a199c83..9f38b661ce 100644
--- a/package/bridge/Makefile
+++ b/package/bridge/Makefile
@@ -1,14 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=bridge
PKG_VERSION:=1.0.4
PKG_RELEASE:=1
PKG_MD5SUM:=2cab42847c4654e58c4d0ba114bfe2c2
+
PKG_SOURCE_URL:=@SF/bridge
PKG_SOURCE:=bridge-utils-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/bridge-utils-$(PKG_VERSION)
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 03b1c78bd5..98e8c5da9f 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -1,8 +1,4 @@
-#############################################################
-#
-# busybox
-#
-#############################################################
+# $Id$
ifeq ($(strip $(BR2_PACKAGE_BUSYBOX_SNAPSHOT)),y)
# Be aware that this changes daily....
@@ -11,6 +7,7 @@ BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
else
BUSYBOX_VER:=1.00
+BUSYBOX_MD5:=5c7ea9b5d3b3677dfcdcec38b281a756
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VER)
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VER).tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads
@@ -18,7 +15,7 @@ endif
BUSYBOX_UNZIP=bzcat
$(DL_DIR)/$(BUSYBOX_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(BUSYBOX_SOURCE) x $(BUSYBOX_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(BUSYBOX_SOURCE) $(BUSYBOX_MD5) $(BUSYBOX_SITE)
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG)
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 9d1506e850..a9ad26bbec 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
PKG_VERSION:=2.20
PKG_RELEASE:=1
+PKG_MD5SUM:=a1501ff96a2925d9c1d44388892cd5af
+
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index a62e25131b..48d0068c4f 100644
--- a/package/dropbear/Makefile
+++ b/package/dropbear/Makefile
@@ -1,11 +1,10 @@
-#############################################################
-#
-# dropbear
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
DROPBEAR_VERSION:=0.45
+DROPBEAR_MD5SUM:=2bcc46e4c239aec982bf36a723dd0b0e
+
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.bz2
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)
@@ -16,7 +15,7 @@ DROPBEAR_IPK:=dropbear_$(DROPBEAR_VERSION)-1_$(ARCH).ipk
DROPBEAR_IPK_DIR:=$(DROPBEAR_DIR)/ipkg
$(DL_DIR)/$(DROPBEAR_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(DROPBEAR_SOURCE) x $(DROPBEAR_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(DROPBEAR_SOURCE) $(DROPBEAR_MD5SUM) $(DROPBEAR_SITE)
$(DROPBEAR_DIR)/.patched: $(DL_DIR)/$(DROPBEAR_SOURCE)
$(DROPBEAR_CAT) $(DL_DIR)/$(DROPBEAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/ebtables/Makefile b/package/ebtables/Makefile
index 6df16dd778..3f0b467ba4 100644
--- a/package/ebtables/Makefile
+++ b/package/ebtables/Makefile
@@ -1,14 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=ebtables
PKG_VERSION:=2.0.6
PKG_RELEASE:=1
PKG_MD5SUM:=c4559af2366c764c6c42a3fdd40d60d3
+
PKG_SOURCE_URL:=@SF/ebtables
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/ebtables-v$(PKG_VERSION)
diff --git a/package/haserl/Makefile b/package/haserl/Makefile
index 2ad108343f..6846e7ac18 100644
--- a/package/haserl/Makefile
+++ b/package/haserl/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := haserl
PKG_VERSION := 0.7.3
PKG_RELEASE := 3
+PKG_MD5SUM := a45d9c5b07e053ad105124e1fc12d9c4
PKG_SOURCE_SITE := @SF/haserl
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -14,7 +17,7 @@ PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/ipkg/rules: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 313435a47b..e442129062 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# iproute2
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=iproute2
PKG_VERSION:=2.6.9
PKG_RELEASE:=1
+PKG_MD5SUM:=4b3f335b0139cb909c6a2ae8bf72e548
+
PKG_SOURCE_URL:=http://developer.osdl.org/dev/iproute2/download/
PKG_SOURCE:=$(PKG_NAME)-2.6.9-041019.tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/iproute2-2.6.9
@@ -20,7 +19,7 @@ PKG_TC:=$(PACKAGE_DIR)/tc_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_TC_DIR:=$(PKG_BUILD_DIR)/ipkg/tc
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 910864583f..ffaef0058c 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -1,9 +1,12 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
include kernelconfig.mk
PKG_NAME := iptables
PKG_VERSION := 1.3.0
PKG_RELEASE := 1
+PKG_MD5SUM := a072c0f09f1b289cb7af56f76407d033
PKG_SOURCE_SITE := http://www.netfilter.org/files
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -38,7 +41,7 @@ endif
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(PKG_BUILD_DIR)/modules
diff --git a/package/lcd4linux/Makefile b/package/lcd4linux/Makefile
index c283a61e87..a35e5ebfe1 100644
--- a/package/lcd4linux/Makefile
+++ b/package/lcd4linux/Makefile
@@ -1,14 +1,12 @@
-#############################################################
-#
-# lcd4linux
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=lcd4linux
PKG_VERSION:=0.10.0-RC1
PKG_RELEASE:=1
PKG_MD5SUM:=bab64ac01ebdce7e46ab367351af839f
+
PKG_SOURCE_URL:=@SF/lcd4linux/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
diff --git a/package/libelf/Makefile b/package/libelf/Makefile
index 3767f17c96..8971e86069 100644
--- a/package/libelf/Makefile
+++ b/package/libelf/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := libelf
PKG_VERSION := 0.8.5
PKG_RELEASE := 1
+PKG_MD5SUM := c1daf069367871350ece779b7de20047
PKG_SOURCE_SITE := http://www.mr511.de/software/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -12,10 +15,9 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR :=$(PKG_BUILD_DIR)/ipkg/
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
@@ -64,4 +66,3 @@ clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(STAGING_DIR)/lib/$(PKG_NAME)*
rm -f $(PACKAGE_DIR)/$(PKG_NAME)\*.ipk
-
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 6d0dfafe7d..e9276367b7 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := libpcap
PKG_VERSION := 0.8.3
PKG_RELEASE := 1
+PKG_MD5SUM := 56a9d4615d8354fcfe8cff8c8443c77b
PKG_SOURCE_SITE := http://www.tcpdump.org/release
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -10,10 +13,9 @@ PKG_SOURCE_CAT := zcat
PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
@@ -57,4 +59,3 @@ install:
clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(STAGING_DIR)/lib/libpcap*
-
diff --git a/package/linux/Makefile b/package/linux/Makefile
index 4be1ade372..c5d1f8338e 100644
--- a/package/linux/Makefile
+++ b/package/linux/Makefile
@@ -1,3 +1,5 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
include ./linux.mk
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index a53682b01c..322adadc38 100644
--- a/package/linux/linux.mk
+++ b/package/linux/linux.mk
@@ -1,4 +1,5 @@
#############################################################
+# $Id$
#
# Linux kernel target for the OpenWRT project
#
@@ -30,15 +31,17 @@ LINUX_SOURCE_DIR=$(LINUX_DIR)-$(LINUX_VERSION)
# binary driver extracted from linksys firmware GPL sourcetree WRT54GS_3_37_2_1109_US
LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.1.tar.gz
+LINUX_BINARY_WL_MD5SUM=1b57ba129ad80c7f1702d0be1422cfba
LINUX_BINARY_ET_DRIVER=kernel-binary-et-0.2.tar.gz
+LINUX_BINARY_ET_MD5SUM=d657f929bceee926bc28821d753d945c
TARGET_MODULES_DIR=$(TARGET_DIR)/lib/modules/$(LINUX_VERSION)
$(DL_DIR)/$(LINUX_BINARY_WL_DRIVER):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) x $(LINUX_BINARY_DRIVER_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE)
$(DL_DIR)/$(LINUX_BINARY_ET_DRIVER):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_ET_DRIVER) x $(LINUX_BINARY_DRIVER_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_ET_DRIVER) $(LINUX_BINARY_ET_MD5SUM) $(LINUX_BINARY_DRIVER_SITE)
$(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER) $(DL_DIR)/$(LINUX_BINARY_ET_DRIVER)
-mkdir -p $(BUILD_DIR)
diff --git a/package/lzo/Makefile b/package/lzo/Makefile
index 05bb95e9cb..6eaf6f6910 100644
--- a/package/lzo/Makefile
+++ b/package/lzo/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := lzo
PKG_VERSION := 1.08
PKG_RELEASE := 1
+PKG_MD5SUM := ab94d3da364c7cbd5b78d76f1875b0f6
PKG_SOURCE_SITE := http://www.oberhumer.com/opensource/lzo/download/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -11,10 +14,9 @@ PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_IPK := $(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
@@ -69,4 +71,3 @@ clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(STAGING_DIR)/lib/liblzo*
rm -f $(PACKAGE_DIR)/lzo\*.ipk
-
diff --git a/package/matrixssl/Makefile b/package/matrixssl/Makefile
index cd39be304c..3ea33144b5 100644
--- a/package/matrixssl/Makefile
+++ b/package/matrixssl/Makefile
@@ -1,20 +1,23 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := matrixssl
PKG_VERSION := 1.2.4
PKG_RELEASE := 1
+PKG_MD5SUM := 771c1489488e62668d673478311d63ca
-PKG_SOURCE_SITE := http://nbd.vd-s.ath.cx/openwrt
+PKG_SOURCE_SITE := http://nbd.vd-s.ath.cx/openwrt \
+ http://openwrt.openbsd-geek.de/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_CAT := zcat
PKG_SOURCE_DIR := $(PKG_NAME)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_IPK := $(PACKAGE_DIR)/lib$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/microperl/Makefile b/package/microperl/Makefile
index 5ec836e6fd..b4c8a3931a 100644
--- a/package/microperl/Makefile
+++ b/package/microperl/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=microperl
PKG_VERSION:=5.8.6
PKG_RELEASE:=1
+PKG_MD5SUM:=8d4aa4e061fd5bc0c39e4f0a63267880
+
PKG_SOURCE_URL:=ftp://ftp.cpan.org/pub/CPAN/src/5.0
PKG_SOURCE:=perl-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/perl-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index 9b64016274..e31e424f8c 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -1,9 +1,12 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := ncurses
PKG_VERSION := 5.2
PKG_RELEASE := 5
PKG_MD5SUM := 464d6a49010cf2a6eb9ce59a264d4d47
+
PKG_SOURCE_SITE := ftp://ftp.gnu.org/pub/gnu/$(PKG_NAME) \
ftp://gatekeeper.dec.com/pub/GNU/$(PKG_NAME) \
ftp://ftp.uu.net/archive/systems/gnu/$(PKG_NAME) \
@@ -17,7 +20,6 @@ PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_IPK := $(PACKAGE_DIR)/lib$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
$(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
@@ -52,4 +54,3 @@ clean:
clean
rm -rf $(PKG_BUILD_DIR)
rm -r $(PKG_IPK)
-
diff --git a/package/openssl/Makefile b/package/openssl/Makefile
index cced77d742..8b6b83a79c 100644
--- a/package/openssl/Makefile
+++ b/package/openssl/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := openssl
PKG_VERSION := 0.9.7e
PKG_RELEASE := 1
+PKG_MD5SUM := a8777164bca38d84e5eb2b1535223474
PKG_SOURCE_SITE := http://www.openssl.org/source
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -15,7 +18,7 @@ OPENSSL_NO_CIPHERS:=no-idea no-mdc2 no-rc5 no-rc2 no-md2 no-md4
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile
index c549e66a4d..468f77d8f4 100644
--- a/package/openvpn/Makefile
+++ b/package/openvpn/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.0_rc16
PKG_RELEASE:=1
+PKG_MD5SUM:=296a4ca736405525a8de4cd46fef4af5
+
PKG_SOURCE_URL:=@SF/openvpn
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/openwrt/Makefile b/package/openwrt/Makefile
index 8a9ff25cff..1b6de828a8 100644
--- a/package/openwrt/Makefile
+++ b/package/openwrt/Makefile
@@ -1,3 +1,5 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
SHARED_INCLUDE:=${shell pwd}/include
@@ -22,11 +24,12 @@ $(TARGET_DIR)/sbin/jffs2root: jffs2root.c
# wlconf tool extracted from linksys firmware GPL.unpackedtree
# WRT54GS_3_37_2_1109_US
LINKSYS_TGZ_SITE=http://openwrt.openbsd-geek.de
+LINKSYS_TGZ_MD5SUM=1b596e5bf26d2898d1eab5bd200bee58
LINKSYS_WLCONF_TGZ=linksys-wlconf.tar.gz
LINKSYS_WLCONF_DIR=$(BUILD_DIR)/linksys-wlconf
$(DL_DIR)/$(LINKSYS_WLCONF_TGZ):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINKSYS_WLCONF_TGZ) x $(LINKSYS_TGZ_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINKSYS_WLCONF_TGZ) $(LINKSYS_TGZ_MD5SUM) $(LINKSYS_TGZ_SITE)
$(LINKSYS_WLCONF_DIR)/.unpacked: $(DL_DIR)/$(LINKSYS_WLCONF_TGZ)
zcat $(DL_DIR)/$(LINKSYS_WLCONF_TGZ) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/pcre/Makefile b/package/pcre/Makefile
index 8f4e550bef..31be6b894c 100644
--- a/package/pcre/Makefile
+++ b/package/pcre/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := pcre
PKG_VERSION := 5.0
PKG_RELEASE := 3
+PKG_MD5SUM := 53976b62032fd5c76678274e5fd196b4
PKG_SOURCE_SITE := ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -14,7 +17,7 @@ PKG_IPK := $(PACKAGE_DIR)/lib$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).i
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/ipkg/rules: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/popt/Makefile b/package/popt/Makefile
index b35e097136..360a18c1d2 100644
--- a/package/popt/Makefile
+++ b/package/popt/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := popt
PKG_VERSION := 1.7
PKG_RELEASE := 3
+PKG_MD5SUM := 5988e7aeb0ae4dac8d83561265984cc9
PKG_SOURCE_SITE := ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -11,10 +14,9 @@ PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_IPK := $(PACKAGE_DIR)/lib$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/ipkg/rules: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 032a228e00..92dceecd05 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -1,14 +1,16 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := ppp
PKG_VERSION := 2.4.3
PKG_RELEASE := 3
+PKG_MD5SUM := 848f6c3cafeb6074ffeb293c3af79b7c
PKG_SOURCE_SITE := ftp://ftp.samba.org/pub/ppp/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_CAT := zcat
PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
-
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
PKG_PPP := $(PACKAGE_DIR)/ppp_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
@@ -53,7 +55,7 @@ endif
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 0ddd247dc6..e017f98361 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# pptp client
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=pptp
PKG_VERSION:=1.6.0
PKG_RELEASE:=1
+PKG_MD5SUM:=9a706327fb9827541d7c86d48ceb9631
+
PKG_SOURCE_URL:=@SF/pptpclient
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile
index 5714e4d786..cd44864fd5 100644
--- a/package/pptpd/Makefile
+++ b/package/pptpd/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=pptpd
PKG_VERSION:=1.2.3
PKG_RELEASE:=1
+PKG_MD5SUM:=a521e40ca304b0c125cc25f9b9d03324
+
PKG_SOURCE_URL:=@SF/poptop
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/strace/Makefile b/package/strace/Makefile
index a5235eaa48..3f532d3513 100644
--- a/package/strace/Makefile
+++ b/package/strace/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=strace
PKG_VERSION:=4.5.9
PKG_RELEASE:=1
+PKG_MD5SUM:=ef52064b97bbda23fa708d56a811ba23
+
PKG_SOURCE_URL:=@SF/strace
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile
index 01cef5e2d0..4e8b9343dd 100644
--- a/package/tcpdump/Makefile
+++ b/package/tcpdump/Makefile
@@ -1,13 +1,12 @@
-#############################################################
-#
-# ebtables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=tcpdump
PKG_VERSION:=3.8.3
PKG_RELEASE:=1
+PKG_MD5SUM:=30645001f4b97019677cad88d3811904
+
PKG_SOURCE_URL:=http://www.tcpdump.org/release
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg
$(DL_DIR)/$(PKG_SOURCE):
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) x $(PKG_SOURCE_URL)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL)
$(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE)
$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index b01ff46950..26802ae531 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := zlib
PKG_VERSION := 1.2.2
PKG_RELEASE := 1
+PKG_MD5SUM := 68bd51aaa6558c3bc3fd4890e53413de
PKG_SOURCE_SITE := http://www.zlib.net/
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -14,7 +17,7 @@ PKG_IPK := $(PACKAGE_DIR)/zlib_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)