Update shorewall to 4.2.1 and fix hostname usage (#4162)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13218 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4fffa69cd4
commit
4be2e57505
@ -9,12 +9,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=shorewall-common
|
||||
PKG_VERSION:=4.0.13
|
||||
PKG_VERSION:=4.2.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/4.0/shorewall-$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=http://www.shorewall.net/pub/shorewall/4.2/shorewall-$(PKG_VERSION)/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_MD5SUM:=b14dcfcfd9fab234f401e32ecdb2b368
|
||||
PKG_MD5SUM:=cd90a367f687977a13403bd5249a6639
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -1,12 +1,2 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/functions.sh
|
||||
hostname="OpenWrt"
|
||||
config_cb () {
|
||||
echo a $1
|
||||
config_get hostname "$1" hostname
|
||||
echo b $hostname
|
||||
}
|
||||
config_load "system"
|
||||
|
||||
echo "$hostname"
|
||||
cat /proc/sys/kernel/hostname
|
||||
|
@ -9,12 +9,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=shorewall-shell
|
||||
PKG_VERSION:=4.0.13
|
||||
PKG_VERSION:=4.2.1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.0/shorewall-$(PKG_VERSION)/
|
||||
PKG_SOURCE_URL:=http://www1.shorewall.net/pub/shorewall/4.2/shorewall-$(PKG_VERSION)/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_MD5SUM:=938f12b6f9345bd1ff820185548a86c3
|
||||
PKG_MD5SUM:=7790bb23c7df834549f4f4ec195f37ee
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user