summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-19 20:52:15 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-19 20:52:15 +0200
commit753383bdf29033a1c7244e31c42c2f5d9906010f (patch)
tree76f468b30d786cd2a37d565e93fda8f57069719c
parenta54b226832e9b6e957d1db9b8c081adeb4ef09df (diff)
parent4404645c4b980a135411b7e4b13546b15a48d49e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--README3
-rw-r--r--mk/kernel-ver.mk6
-rw-r--r--mk/modules.mk44
-rw-r--r--package/alsa-lib/Makefile11
-rwxr-xr-xpackage/base-files/src/etc/init.d/fs4
-rwxr-xr-xpackage/base-files/src/etc/mdev/fs6
-rw-r--r--package/bcm2835-vc/Makefile7
-rw-r--r--package/kodi/Makefile6
-rw-r--r--package/kodi/patches/patch-configure_in10
-rw-r--r--package/kodi/patches/patch-xbmc_Application_cpp10
-rw-r--r--package/libressl/Makefile4
-rw-r--r--package/mksh/Makefile11
-rw-r--r--package/openssh/Makefile14
-rw-r--r--package/openssh/patches/patch-channels_c10
-rw-r--r--package/openssh/patches/patch-cipher_c30
-rw-r--r--package/openssh/patches/patch-configure_ac13
-rw-r--r--package/openssh/patches/patch-digest-openssl_c12
-rw-r--r--package/openssl/Makefile4
-rw-r--r--package/pulseaudio/Makefile2
-rwxr-xr-xscripts/install.sh47
-rw-r--r--target/arm/kernel/raspberry-pi4
-rw-r--r--target/arm/raspberry-pi/patches/3.16.2/raspberry-pi.patch110491
-rw-r--r--target/arm/raspberry-pi/patches/3.16.4/raspberry-pi.patch298025
-rw-r--r--target/arm/solidrun-imx6/patches/3.16.4/rmk-wifi.patch (renamed from target/arm/solidrun-imx6/patches/3.16.2/rmk-wifi.patch)0
-rw-r--r--target/collections/console2
-rw-r--r--target/collections/development2
-rw-r--r--target/collections/kodibox2
-rw-r--r--target/collections/mpd2
-rw-r--r--target/collections/mpdbox2
-rw-r--r--target/collections/test2
-rw-r--r--target/collections/xorg2
-rw-r--r--target/collections/ympd2
-rw-r--r--target/config/Config.in.kernelversion.choice6
-rw-r--r--target/config/Config.in.kernelversion.default2
-rw-r--r--target/config/Config.in.libc.choice4
-rw-r--r--target/config/Config.in.libc.default2
-rw-r--r--target/linux/config/Config.in.audio32
-rw-r--r--target/linux/config/Config.in.dma3
-rw-r--r--target/linux/config/Config.in.gpio11
-rw-r--r--target/linux/config/Config.in.i2c2
-rw-r--r--target/linux/config/Config.in.misc1
-rw-r--r--target/linux/config/Config.in.regmap25
-rw-r--r--target/linux/config/Config.in.regulator25
-rw-r--r--target/linux/config/Config.in.spi4
-rw-r--r--target/linux/patches/3.16.4/bsd-compatibility.patch (renamed from target/linux/patches/3.16.2/bsd-compatibility.patch)0
-rw-r--r--target/linux/patches/3.16.4/cleankernel.patch (renamed from target/linux/patches/3.16.2/cleankernel.patch)0
-rw-r--r--target/linux/patches/3.16.4/cris-header.patch (renamed from target/linux/patches/3.16.2/cris-header.patch)0
-rw-r--r--target/linux/patches/3.16.4/defaults.patch (renamed from target/linux/patches/3.16.2/defaults.patch)0
-rw-r--r--target/linux/patches/3.16.4/disable-netfilter.patch (renamed from target/linux/patches/3.16.2/disable-netfilter.patch)0
-rw-r--r--target/linux/patches/3.16.4/export-symbol-for-exmap.patch (renamed from target/linux/patches/3.16.2/export-symbol-for-exmap.patch)0
-rw-r--r--target/linux/patches/3.16.4/gemalto.patch (renamed from target/linux/patches/3.16.2/gemalto.patch)0
-rw-r--r--target/linux/patches/3.16.4/initramfs-nosizelimit.patch (renamed from target/linux/patches/3.16.2/initramfs-nosizelimit.patch)0
-rw-r--r--target/linux/patches/3.16.4/lemote-rfkill.patch (renamed from target/linux/patches/3.16.2/lemote-rfkill.patch)0
-rw-r--r--target/linux/patches/3.16.4/microblaze-axi.patch (renamed from target/linux/patches/3.16.2/microblaze-axi.patch)0
-rw-r--r--target/linux/patches/3.16.4/microblaze-ethernet.patch (renamed from target/linux/patches/3.16.2/microblaze-ethernet.patch)0
-rw-r--r--target/linux/patches/3.16.4/mkpiggy.patch (renamed from target/linux/patches/3.16.2/mkpiggy.patch)0
-rw-r--r--target/linux/patches/3.16.4/mtd-rootfs.patch (renamed from target/linux/patches/3.16.2/mtd-rootfs.patch)0
-rw-r--r--target/linux/patches/3.16.4/nfsv3-tcp.patch (renamed from target/linux/patches/3.16.2/nfsv3-tcp.patch)0
-rw-r--r--target/linux/patches/3.16.4/non-static.patch (renamed from target/linux/patches/3.16.2/non-static.patch)0
-rw-r--r--target/linux/patches/3.16.4/patch-fblogo (renamed from target/linux/patches/3.16.2/patch-fblogo)0
-rw-r--r--target/linux/patches/3.16.4/patch-yaffs2 (renamed from target/linux/patches/3.16.2/patch-yaffs2)0
-rw-r--r--target/linux/patches/3.16.4/ppc64-missing-zlib.patch (renamed from target/linux/patches/3.16.2/ppc64-missing-zlib.patch)0
-rw-r--r--target/linux/patches/3.16.4/regmap-boolean.patch (renamed from target/linux/patches/3.16.2/regmap-boolean.patch)0
-rw-r--r--target/linux/patches/3.16.4/relocs.patch (renamed from target/linux/patches/3.16.2/relocs.patch)0
-rw-r--r--target/linux/patches/3.16.4/sgidefs.patch (renamed from target/linux/patches/3.16.2/sgidefs.patch)0
-rw-r--r--target/linux/patches/3.16.4/sortext.patch (renamed from target/linux/patches/3.16.2/sortext.patch)0
-rw-r--r--target/linux/patches/3.16.4/sparc-memset.patch (renamed from target/linux/patches/3.16.2/sparc-memset.patch)0
-rw-r--r--target/linux/patches/3.16.4/startup.patch (renamed from target/linux/patches/3.16.2/startup.patch)0
-rw-r--r--target/linux/patches/3.16.4/wlan-cf.patch (renamed from target/linux/patches/3.16.2/wlan-cf.patch)0
-rw-r--r--target/linux/patches/3.16.4/xargs.patch (renamed from target/linux/patches/3.16.2/xargs.patch)0
-rw-r--r--target/m68k/qemu-m68k/patches/3.16.4/m68k-coldfire-fec.patch (renamed from target/m68k/qemu-m68k/patches/3.16.2/m68k-coldfire-fec.patch)0
-rw-r--r--target/m68k/qemu-m68k/patches/3.16.4/qemu-coldfire.patch (renamed from target/m68k/qemu-m68k/patches/3.16.2/qemu-coldfire.patch)0
-rw-r--r--target/mips64/lemote-yeelong/patches/3.16.4/sm7xx-fb.patch (renamed from target/mips64/lemote-yeelong/patches/3.16.2/sm7xx-fb.patch)0
-rw-r--r--toolchain/binutils/Makefile.inc6
-rw-r--r--toolchain/elf2flt/Makefile2
-rw-r--r--toolchain/musl/Makefile.inc2
76 files changed, 298253 insertions, 110664 deletions
diff --git a/README b/README
index 25e980eb6..e88d20920 100644
--- a/README
+++ b/README
@@ -27,8 +27,5 @@ Simply running 'make' will build the firmware for your embedded system. The
buildsystem will download all sources, build the toolchain, the kernel and all
applications.
-To switch to another target configuration, simply run "make switch". This will
-backup your existing configuration and will start with an empty one.
-
Sunshine!
Waldemar Brodkorb <wbx@openadk.org>
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index 684136530..08897c669 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -1,8 +1,8 @@
-ifeq ($(ADK_KERNEL_VERSION_3_16_2),y)
-KERNEL_VERSION:= 3.16.2
+ifeq ($(ADK_KERNEL_VERSION_3_16_4),y)
+KERNEL_VERSION:= 3.16.4
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
KERNEL_RELEASE:= 1
-KERNEL_MD5SUM:= 227814a1a523992400da5d5437552445
+KERNEL_MD5SUM:= 33594ef9526373afb193761d8fc6ba43
endif
ifeq ($(ADK_KERNEL_VERSION_3_14_17),y)
KERNEL_VERSION:= 3.14.17
diff --git a/mk/modules.mk b/mk/modules.mk
index d07da61c9..77a6a30f3 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -1747,3 +1747,47 @@ $(eval $(call KMOD_template,DRM_DW_HDMI_CEC,drm-dw-hdmi-cec,\
$(MODULES_DIR)/kernel/drivers/cec/cec-dev \
$(MODULES_DIR)/kernel/drivers/staging/imx-drm/dw-hdmi-cec \
,75))
+
+#
+# Sound
+#
+$(eval $(call KMOD_template,SND_SOC_WM8804,snd-soc-wm8804,\
+ $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-wm8804 \
+,55))
+
+$(eval $(call KMOD_template,SND_SOC_PCM5102A,snd-soc-pcm5102a,\
+ $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-pcm5102a \
+,55))
+
+$(eval $(call KMOD_template,SND_SOC_PCM512x,snd-soc-pcm512x,\
+ $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-pcm512x \
+,55))
+
+$(eval $(call KMOD_template,SND_SOC_PCM512x_I2C,snd-soc-pcm512x-i2c,\
+ $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-pcm512x-i2c \
+,56))
+
+$(eval $(call KMOD_template,SND_SOC_PCM512x_SPI,snd-soc-pcm512x-spi,\
+ $(MODULES_DIR)/kernel/sound/soc/codecs/snd-soc-pcm512x-spi \
+,56))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_I2S,snd-bcm2708-soc-i2s,\
+ $(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-bcm2708-i2s \
+,60, kmod-snd-soc))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_HIFIBERRY_DAC,snd-bcm2708-soc-hifiberry-dac,\
+ $(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-hifiberry-dac \
+,65, kmod-snd-bcm2708-soc-i2s))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_HIFIBERRY_DIGI,snd-bcm2708-soc-hifiberry-digi,\
+ $(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-hifiberry-digi \
+,65, kmod-snd-bcm2708-soc-i2s))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_RPI_DAC,snd-bcm2708-soc-rpi-dac,\
+ $(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-rpi-dac \
+,65, kmod-snd-bcm2708-soc-i2s))
+
+$(eval $(call KMOD_template,SND_BCM2708_SOC_IQAUDIO_DAC,snd-bcm2708-soc-iqaudio-dac,\
+ $(MODULES_DIR)/kernel/sound/soc/bcm/snd-soc-iqaudio-dac \
+,65, kmod-snd-bcm2708-soc-i2s))
+
diff --git a/package/alsa-lib/Makefile b/package/alsa-lib/Makefile
index cfc3d47f7..149f3d2ae 100644
--- a/package/alsa-lib/Makefile
+++ b/package/alsa-lib/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= alsa-lib
PKG_VERSION:= 1.0.28
-PKG_RELEASE:= 5
+PKG_RELEASE:= 6
PKG_MD5SUM:= c9e21b88a2b3e6e12ea7ba0f3b271fc3
PKG_DESCR:= sound library
PKG_SECTION:= libs/audio
@@ -33,13 +33,10 @@ CONFIGURE_ARGS+= --disable-python
alsa-lib-install:
${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib
- ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/share/alsa/{cards,pcm}
+ ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/share/alsa
${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
- ${CP} ${WRKINST}/usr/share/alsa/alsa.conf ${IDIR_ALSA_LIB}/usr/share/alsa
- ${CP} ${WRKINST}//usr/share/alsa/cards/aliases.conf \
- ${IDIR_ALSA_LIB}/usr/share/alsa/cards
- ${CP} ${WRKINST}//usr/share/alsa/pcm/*.conf \
- ${IDIR_ALSA_LIB}/usr/share/alsa/pcm
+ ${CP} ${WRKINST}//usr/share/alsa/* \
+ ${IDIR_ALSA_LIB}/usr/share/alsa
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/base-files/src/etc/init.d/fs b/package/base-files/src/etc/init.d/fs
index 9527070a1..b110af3b9 100755
--- a/package/base-files/src/etc/init.d/fs
+++ b/package/base-files/src/etc/init.d/fs
@@ -24,14 +24,14 @@ for fs in $fstypes; do
disks=$(grep -v "^#" /etc/fstab|grep $fs|awk '{ print $1 }')
for disk in $disks; do
logger -t 'Filesystem' "Found $disk with filesystem $fs"
- mnt=$(grep -v "^#" /etc/fstab|grep "$disk "|awk '{ print $2 }')
+ mnt=$(grep -v "^#" /etc/fstab|grep "${disk}[[:blank:]]"|awk '{ print $2 }')
grep $fs /proc/filesystems >/dev/null 2>&1
if [ $? -eq 0 ];then
[ -x /usr/sbin/fsck.$fs ] && {
logger -t 'Filesystem' "checking $fs filesystem on $disk"
fsck -p $disk >/dev/null 2>&1
}
- logger -t 'Filesystem' "Mounting local filesystems"
+ logger -t 'Filesystem' "Mounting $disk to $mnt"
mkdir -p $mnt > /dev/null 2>&1
mount $disk
else
diff --git a/package/base-files/src/etc/mdev/fs b/package/base-files/src/etc/mdev/fs
index 6c8b08699..4f1e100f4 100755
--- a/package/base-files/src/etc/mdev/fs
+++ b/package/base-files/src/etc/mdev/fs
@@ -26,7 +26,7 @@ fi
# check if already mounted via /etc/init.d/fs
adk_check() {
- mount | grep "${MDEV} "
+ mount | grep "${MDEV}[[:blank:]]"
if [ $? -eq 0 ];then
logger -t mdev "Filesystem on ${MDEV} already mounted"
exit 0
@@ -46,8 +46,8 @@ adk_mount() {
mkdir -p $mnt >/dev/null 2>&1
grep $procfs /proc/filesystems >/dev/null 2>&1
if [ $? -eq 0 ];then
- logger -t mdev "Mounting local filesystems"
- mount $mnt
+ logger -t mdev "Mounting $disk to $mnt"
+ mount $mnt 2>/dev/null
if [ $? -ne 0 ];then
logger -s -t 'Filesystem' "Mounting $disk failed"
fi
diff --git a/package/bcm2835-vc/Makefile b/package/bcm2835-vc/Makefile
index b2246307d..d3e7c18d9 100644
--- a/package/bcm2835-vc/Makefile
+++ b/package/bcm2835-vc/Makefile
@@ -4,11 +4,10 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bcm2835-vc
-# actually git checkout from 21.09.2014
-# ffcc4bd7c4875b71376c4240116e251652c9bec0
-PKG_VERSION:= 0.8
+# actually git checkout from 10.10.2014
+PKG_VERSION:= 0.9
PKG_RELEASE:= 1
-PKG_MD5SUM:= 963b2dc026c5ee98cae093af56006b4c
+PKG_MD5SUM:= 4a3104d86b116a60921c04127a6ca3ac
PKG_DESCR:= videocore tools and libraries for raspberry pi
PKG_SECTION:= libs/video
PKG_DEPENDS:= libpthread
diff --git a/package/kodi/Makefile b/package/kodi/Makefile
index 3b9dbeafa..87d487894 100644
--- a/package/kodi/Makefile
+++ b/package/kodi/Makefile
@@ -5,8 +5,8 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kodi
PKG_VERSION:= 14.0alpha4
-PKG_RELEASE:= 4
-PKG_MD5SUM:= ac54bdac1f5c6dd2a2c75818391740a4
+PKG_RELEASE:= 5
+PKG_MD5SUM:= 88a68db6e653b2029efddbfa0a855e1c
PKG_DESCR:= software media player
PKG_SECTION:= mm/video
PKG_DEPENDS:= boost python2 libstdcxx glibc-gconv
@@ -107,7 +107,7 @@ CONFIGURE_ARGS+= --disable-optical-drive \
--disable-mid \
--enable-alsa \
--enable-libvorbisenc \
- --enable-debug \
+ --disable-debug \
--enable-udev \
--with-ffmpeg=shared
diff --git a/package/kodi/patches/patch-configure_in b/package/kodi/patches/patch-configure_in
index bfe90410a..3db5985c7 100644
--- a/package/kodi/patches/patch-configure_in
+++ b/package/kodi/patches/patch-configure_in
@@ -1,11 +1,11 @@
---- kodi-14.0alpha4.orig/configure.in 2014-09-05 14:09:58.000000000 +0200
-+++ kodi-14.0alpha4/configure.in 2014-09-21 10:23:38.000000000 +0200
-@@ -1004,7 +1004,7 @@ if test "$use_gles" = "yes"; then
+--- kodi-14.0alpha4.orig/configure.in 2014-10-06 11:34:24.000000000 -0500
++++ kodi-14.0alpha4/configure.in 2014-10-08 01:40:53.444436000 -0500
+@@ -1011,7 +1011,7 @@ if test "$use_gles" = "yes"; then
AC_DEFINE([HAVE_LIBEGL],[1],["Define to 1 if you have the `EGL' library (-lEGL)."])
AC_DEFINE([HAVE_LIBGLESV2],[1],["Define to 1 if you have the `GLESv2' library (-lGLESv2)."])
AC_MSG_RESULT(== WARNING: OpenGLES support is assumed.)
-- LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
-+ LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lkhrn_static -lpthread -lm"
+- LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util"
++ LIBS="$LIBS -lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lkhrn_static -lpthread -lm"
else
AC_CHECK_LIB([EGL], [main],, AC_MSG_ERROR($missing_library))
AC_CHECK_LIB([GLESv2],[main],, AC_MSG_ERROR($missing_library))
diff --git a/package/kodi/patches/patch-xbmc_Application_cpp b/package/kodi/patches/patch-xbmc_Application_cpp
index b8a942c03..a90c36f89 100644
--- a/package/kodi/patches/patch-xbmc_Application_cpp
+++ b/package/kodi/patches/patch-xbmc_Application_cpp
@@ -1,6 +1,6 @@
---- kodi-14.0alpha4.orig/xbmc/Application.cpp 2014-09-05 14:09:59.000000000 +0200
-+++ kodi-14.0alpha4/xbmc/Application.cpp 2014-09-05 15:48:59.475115902 +0200
-@@ -679,7 +679,7 @@ bool CApplication::Create()
+--- kodi-14.0alpha4.orig/xbmc/Application.cpp 2014-10-06 11:34:37.000000000 -0500
++++ kodi-14.0alpha4/xbmc/Application.cpp 2014-10-08 01:25:47.880436000 -0500
+@@ -642,7 +642,7 @@ bool CApplication::Create()
if (!CLog::Init(CSpecialProtocol::TranslatePath(g_advancedSettings.m_logFolder).c_str()))
{
@@ -9,7 +9,7 @@
CSpecialProtocol::TranslatePath(g_advancedSettings.m_logFolder).c_str());
return false;
}
-@@ -1090,10 +1090,13 @@ bool CApplication::InitDirectoriesLinux(
+@@ -1064,10 +1064,13 @@ bool CApplication::InitDirectoriesLinux(
userName = "root";
CStdString userHome;
@@ -23,7 +23,7 @@
CStdString xbmcBinPath, xbmcPath;
CUtil::GetHomePath(xbmcBinPath, "XBMC_BIN_HOME");
-@@ -1125,11 +1128,11 @@ bool CApplication::InitDirectoriesLinux(
+@@ -1099,11 +1102,11 @@ bool CApplication::InitDirectoriesLinux(
// map our special drives
CSpecialProtocol::SetXBMCBinPath(xbmcBinPath);
CSpecialProtocol::SetXBMCPath(xbmcPath);
diff --git a/package/libressl/Makefile b/package/libressl/Makefile
index f9d54a941..a013d18b5 100644
--- a/package/libressl/Makefile
+++ b/package/libressl/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= libressl
-PKG_VERSION:= 2.0.4
+PKG_VERSION:= 2.0.5
PKG_RELEASE:= 1
-PKG_MD5SUM:= d30576bfd0e92dbb5b860e0e03281e5c
+PKG_MD5SUM:= 77b5385251e6edabc4cd74ffccc7e418
PKG_DESCR:= ssl library
PKG_SECTION:= libs/crypto
PKG_URL:= http://www.libressl.org
diff --git a/package/mksh/Makefile b/package/mksh/Makefile
index 16b805eec..17c61f987 100644
--- a/package/mksh/Makefile
+++ b/package/mksh/Makefile
@@ -4,12 +4,12 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= mksh
-PKG_VERSION:= 50b
+PKG_VERSION:= 50d
PKG_RELEASE:= 1
-PKG_MD5SUM:= 1821a40dacc44293d7325c6021952b69
+PKG_MD5SUM:= 1c3882c07a760b23df1ad94ad0b4ed2e
PKG_DESCR:= mirbsd korn shell
PKG_SECTION:= base/shells
-PKG_URL:= http://www.mirbsd.org/
+PKG_URL:= http://www.mirbsd.org/mksh.htm
PKG_SITES:= ${MASTER_SITE_MIRBSD:distfiles/=dist/mir/mksh/}
PKG_DFLT_MKSH:= y if (!ADK_TOOLCHAIN_ONLY && !ADK_TARGET_UCLINUX)
@@ -31,13 +31,12 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
host-build:
- cd ${WRKBUILD} && HAVE_CAN_FSTACKPROTECTORALL=0 \
- TARGET_OS=Linux ${BASH} ${WRKSRC}/Build.sh -Q -r -c lto
+ cd ${WRKBUILD} && ${BASH} ${WRKSRC}/Build.sh -Q -r -c lto
mksh-hostinstall:
${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/bin
${INSTALL_BIN} ${WRKBUILD}/mksh \
- ${STAGING_HOST_DIR}/usr/bin
+ ${STAGING_HOST_DIR}/usr/bin/
do-build:
cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' \
diff --git a/package/openssh/Makefile b/package/openssh/Makefile
index 1eef11a96..0951ee9d1 100644
--- a/package/openssh/Makefile
+++ b/package/openssh/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= openssh
-PKG_VERSION:= 6.6p1
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 3e9800e6bca1fbac0eea4d41baa7f239
+PKG_VERSION:= 6.7p1
+PKG_RELEASE:= 2
+PKG_MD5SUM:= 3246aa79317b1d23cae783a3bf8275d6
PKG_DESCR:= secure shell implementation
PKG_SECTION:= net/security
PKG_BUILDDEP:= zlib openssl
@@ -45,6 +45,8 @@ $(eval $(call PKG_template,OPENSSH_CLIENT_UTILS,openssh-client-utils,${PKG_VERSI
$(eval $(call PKG_template,OPENSSH_SFTP_CLIENT,openssh-sftp-client,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSH_SFTP_CLIENT},${PKGSD_OPENSSH_SFTP_CLIENT},${PKG_SECTION}))
$(eval $(call PKG_template,OPENSSH_SFTP_SERVER,openssh-sftp-server,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSH_SFTP_SERVER},${PKGSD_OPENSSH_SFTP_SERVER},${PKG_SECTION}))
+AUTOTOOL_STYLE:= autoreconf
+
ifeq ($(ADK_PACKAGE_OPENSSH_WITH_KRB5),y)
CONFIGURE_ARGS+= --with-kerberos5="${STAGING_TARGET_DIR}/usr"
endif
@@ -55,6 +57,12 @@ else
CONFIGURE_ARGS+= --without-stackprotect
endif
+ifeq ($(ADK_TARGET_USE_PIE),y)
+CONFIGURE_ARGS+= --with-pie
+else
+CONFIGURE_ARGS+= --without-pie
+endif
+
CONFIGURE_ENV+= LD='${TARGET_CC}' \
ac_cv_func_setlogin=no \
ac_cv_have_decl_PR_SET_NO_NEW_PRIVS=no \
diff --git a/package/openssh/patches/patch-channels_c b/package/openssh/patches/patch-channels_c
deleted file mode 100644
index 11b870703..000000000
--- a/package/openssh/patches/patch-channels_c
+++ /dev/null
@@ -1,10 +0,0 @@
---- openssh-6.2p1.orig/channels.c 2012-12-02 23:50:55.000000000 +0100
-+++ openssh-6.2p1/channels.c 2013-08-20 18:00:56.929029538 +0200
-@@ -42,6 +42,7 @@
- #include "includes.h"
-
- #include <sys/types.h>
-+#include <sys/param.h>
- #include <sys/ioctl.h>
- #include <sys/un.h>
- #include <sys/socket.h>
diff --g