summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-25 16:39:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-25 16:41:47 +0200
commit7d713f847f01831fdd19a6d7e205316c545ff96e (patch)
tree1ef77bc3ad26e0fdcffe552e3828ecacca6e13ff /package/base-files/Makefile
parentc538f5c00bae8a05cc5ee63f592898565546bca8 (diff)
add proxy support
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 73246e9e6..dfff8b2b2 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -5,8 +5,8 @@ include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
-PKG_VERSION:= 1.0
-PKG_RELEASE:= 99
+PKG_VERSION:= 1.1
+PKG_RELEASE:= 1
PKG_SECTION:= base/apps
PKG_DESCR:= basic files and scripts
@@ -134,6 +134,11 @@ endif
rm ${IDIR_BASE_FILES}/etc/resolv.conf
printf "nameserver ${ADK_SIMPLE_NETWORK_CONFIG_NS}\n" > ${IDIR_BASE_FILES}/etc/resolv.conf
+ifneq (${ADK_SIMPLE_NETWORK_CONFIG_PROXY},)
+ printf "http_proxy=${ADK_SIMPLE_NETWORK_CONFIG_PROXY}\n" >> ${IDIR_BASE_FILES}/etc/profile
+ printf "https_proxy=${ADK_SIMPLE_NETWORK_CONFIG_PROXY}\n" >> ${IDIR_BASE_FILES}/etc/profile
+ printf "ftp_proxy=${ADK_SIMPLE_NETWORK_CONFIG_PROXY}\n" >> ${IDIR_BASE_FILES}/etc/profile
+endif
endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk