summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUGS2
-rw-r--r--mk/build.mk2
-rw-r--r--mk/modules.mk3
-rw-r--r--mk/package.mk1
-rw-r--r--package/MesaLib/Makefile4
-rw-r--r--package/alsa-utils/Makefile6
-rw-r--r--package/base-files/Makefile2
-rw-r--r--package/base-files/src/etc/init.d/boot4
-rwxr-xr-xpackage/base-files/src/init1
-rw-r--r--package/bc/Makefile2
-rw-r--r--package/bison/Makefile2
-rw-r--r--package/bison/patches/patch-Makefile_in4
-rw-r--r--package/dbus/Makefile2
-rw-r--r--package/eudev/Makefile2
-rw-r--r--package/gmediaserver/Makefile2
-rw-r--r--package/gmp/Makefile2
-rw-r--r--package/json-c/Makefile26
-rw-r--r--package/knock/Makefile5
-rw-r--r--package/knock/patches/patch-Makefile_in24
-rw-r--r--package/knock/patches/patch-src_knockd_c43
-rw-r--r--package/libIDL/Makefile2
-rw-r--r--package/libjson/Makefile34
-rw-r--r--package/libjson/patches/patch-makefile50
-rw-r--r--package/libnl/Makefile2
-rw-r--r--package/libpcap/Makefile2
-rw-r--r--package/libsndfile/Makefile25
-rw-r--r--package/libtool/Makefile2
-rw-r--r--package/libupnp/Makefile6
-rw-r--r--package/libx264/Makefile10
-rw-r--r--package/libx264/patches/patch-Makefile6
-rw-r--r--package/libx264/patches/patch-configure17
-rw-r--r--package/mpd/Makefile18
-rw-r--r--package/mpdbox/Makefile30
-rw-r--r--package/mt-daapd/Makefile2
-rw-r--r--package/mt-daapd/patches/patch-src_mp3-scanner_c10
-rw-r--r--package/ndisc/Makefile6
-rw-r--r--package/nfs-utils/Makefile43
-rw-r--r--package/pptpd/Makefile2
-rw-r--r--package/pulseaudio/Makefile70
-rw-r--r--package/pulseaudio/files/pulseaudio.init32
-rw-r--r--package/pulseaudio/files/pulseaudio.postinst7
-rw-r--r--package/qingy/Makefile2
-rw-r--r--package/qingy/patches/patch-src_libraries_misc_h10
-rw-r--r--package/qingy/patches/patch-src_libraries_vt_c39
-rw-r--r--package/speex/Makefile4
-rw-r--r--package/tcl/Makefile2
-rw-r--r--package/tcl/patches/patch-generic_tcl_h11
-rw-r--r--package/tcl/patches/patch-unix_Makefile_in6
-rw-r--r--package/tcl/patches/patch-unix_configure10
-rwxr-xr-xscripts/adkprepare.sh1
-rwxr-xr-xscripts/m49
-rw-r--r--target/arm/kernel/raspberry-pi17
-rw-r--r--target/arm/sys-available/raspberry-pi1
-rw-r--r--target/config/Config.in1
-rw-r--r--target/linux/config/Config.in.fsnet2
-rw-r--r--target/linux/kernel.config1
-rw-r--r--target/packages/pkg-available/mpdbox8
57 files changed, 509 insertions, 130 deletions
diff --git a/BUGS b/BUGS
index 302aa9287..f964caf6b 100644
--- a/BUGS
+++ b/BUGS
@@ -1 +1,3 @@
- uclibc N64 ABI on mips64{,el} targets does not work, nptl fork problem
+- microblaze big endian: network card emulation fails
+- microblaze: qemu reboot not working
diff --git a/mk/build.mk b/mk/build.mk
index 9242cc27a..86bb4bfcb 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -22,6 +22,8 @@ DEFCONFIG= ADK_DEBUG=n \
ADK_PACKAGE_E2FSCK_STATIC=n \
ADK_PACKAGE_KEXECINIT=n \
ADK_PACKAGE_INSTALLER=n \
+ ADK_PACKAGE_HEIMDAL_SERVER=n \
+ ADK_PACKAGE_LIBHEIMDAL=n \
ADK_PACKAGE_LM_SENSORS_DETECT=n \
ADK_PACKAGE_PACEMAKER=n \
ADK_PACKAGE_PACEMAKER_MGMTD=n \
diff --git a/mk/modules.mk b/mk/modules.mk
index bb84317de..62d1abd45 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -1092,6 +1092,7 @@ $(eval $(call KMOD_template,SUNRPC,sunrpc,\
,24))
$(eval $(call KMOD_template,SUNRPC_GSS,sunrpc-gss,\
+ $(MODULES_DIR)/kernel/lib/oid_registry \
$(MODULES_DIR)/kernel/net/sunrpc/auth_gss/auth_rpcgss \
,25))
@@ -1106,7 +1107,7 @@ $(eval $(call KMOD_template,LOCKD,lockd,\
ifneq ($(ADK_KERNEL_NFS_FS),y)
$(eval $(call KMOD_template,NFS_FS,nfs-fs,\
$(MODULES_DIR)/kernel/fs/nfs/nfs \
-,30))
+,30, kmod-sunrpc))
endif
#$(eval $(call KMOD_template,EXPORTFS,exportfs,\
diff --git a/mk/package.mk b/mk/package.mk
index 24ef42594..da04288c1 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -49,6 +49,7 @@ INSTALL_TARGET?= install
MAKE_ENV+= $(GCC_CHECK) \
PATH='${TARGET_PATH}' \
LIBTOOLIZE='${STAGING_HOST_DIR}/usr/bin/libtoolize -q' \
+ M4='${STAGING_HOST_DIR}/usr/bin/m4' \
WRKDIR='${WRKDIR}' WRKDIST='${WRKDIST}' \
WRKSRC='${WRKSRC}' WRKBUILD='${WRKBUILD}' \
CFLAGS='$(strip ${TARGET_CFLAGS})' \
diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 71f91f564..b5e9d119f 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -28,9 +28,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,MESALIB,mesalib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
include $(TOPDIR)/mk/python.mk
+
ifeq ($(ADK_HOST_DARWIN),y)
PYTHON:=/opt/local/bin/python2.7
endif
+ifeq ($(ADK_HOST_OPENBSD),y)
+PYTHON:=/usr/local/bin/python2.7
+endif
ifeq (${ADK_TARGET_SYSTEM_IBM_X40},y)
DRI_DRIVERS:=i915
diff --git a/package/alsa-utils/Makefile b/package/alsa-utils/Makefile
index 721c5757d..e2311e221 100644
--- a/package/alsa-utils/Makefile
+++ b/package/alsa-utils/Makefile
@@ -5,9 +5,9 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= alsa-utils
PKG_VERSION:= 1.0.27.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= b65e9a04181bd7c9db7667a4566f8dc3
-PKG_DESCR:= ALSA mixer utility
+PKG_DESCR:= ALSA mixer/player utility
PKG_SECTION:= multimedia
PKG_DEPENDS:= alsa-lib libpthread libgcc librt
PKG_BUILDDEP:= alsa-lib
@@ -35,7 +35,7 @@ endif
alsa-utils-install:
${INSTALL_DIR} ${IDIR_ALSA_UTILS}/usr/bin
- ${CP} ${WRKINST}/usr/bin/amixer ${IDIR_ALSA_UTILS}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/{aplay,amixer} ${IDIR_ALSA_UTILS}/usr/bin
ifeq (${ADK_PACKAGE_ALSA_UTILS_WITH_ALSAMIXER},y)
${INSTALL_BIN} ${WRKINST}/usr/bin/alsamixer \
${IDIR_ALSA_UTILS}/usr/bin
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 7f68bad96..f1e0d0666 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 62
+PKG_RELEASE:= 63
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
PKG_BUILDDEP:= pkgconf-host file-host
diff --git a/package/base-files/src/etc/init.d/boot b/package/base-files/src/etc/init.d/boot
index ed55ccc88..df2c493d7 100644
--- a/package/base-files/src/etc/init.d/boot
+++ b/package/base-files/src/etc/init.d/boot
@@ -10,12 +10,10 @@ touch /var/log/lastlog
touch /var/log/wtmp
ln -s /tmp /var/tmp
-echo 0 > /proc/sys/kernel/printk
-
HOSTNAME=
[[ -s /etc/hostname ]] && HOSTNAME=$(cat /etc/hostname)
HOSTNAME=${HOSTNAME%%.*}
-echo ${HOSTNAME:=linux} >/proc/sys/kernel/hostname
+echo ${HOSTNAME:=openadk} >/proc/sys/kernel/hostname
chown 0:0 /tmp; chmod 1777 /tmp
diff --git a/package/base-files/src/init b/package/base-files/src/init
index 003808452..ad519e96d 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -3,6 +3,7 @@ echo "System initialization ..."
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
mount -t devtmpfs devtmpfs /dev >/dev/null 2>&1
mount -nt proc proc /proc
+echo 0 > /proc/sys/kernel/printk
mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
[ ! -f /etc/notmpfs ] && {
size=$(cat /etc/tmpfs 2>/dev/null)
diff --git a/package/bc/Makefile b/package/bc/Makefile
index d4af2f264..2a5c59900 100644
--- a/package/bc/Makefile
+++ b/package/bc/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= d44b5dddebd8a7a7309aea6c36fda117
PKG_DESCR:= An arbitrary precision calculator language
PKG_SECTION:= utils
-PKG_BUILDDEP:= flex-host
+PKG_BUILDDEP:= m4-host flex-host
PKG_URL:= http://www.gnu.org/software/bc/
PKG_SITES:= http://ftp.gnu.org/pub/gnu/bc/
diff --git a/package/bison/Makefile b/package/bison/Makefile
index 16c31b94e..ee268b641 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 032a7b7b9f1a6e278ccde73f82cec5c2
PKG_DESCR:= GNU parser generator
PKG_SECTION:= lang
-PKG_BUILDDEP:= flex-host bison-host
+PKG_BUILDDEP:= m4-host flex-host bison-host
PKG_URL:= http://www.gnu.org/software/bison/
PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
diff --git a/package/bison/patches/patch-Makefile_in b/package/bison/patches/patch-Makefile_in
index 98e7f3de3..cf6ade9c5 100644
--- a/package/bison/patches/patch-Makefile_in
+++ b/package/bison/patches/patch-Makefile_in
@@ -6,8 +6,8 @@
$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)
- $(AM_V_GEN)src/bison$(EXEEXT) --version >doc/bison.help.tmp
- $(AM_V_at) src/bison$(EXEEXT) --help >>doc/bison.help.tmp
-+ bison$(EXEEXT) --version >doc/bison.help.tmp
-+ bison$(EXEEXT) --help >>doc/bison.help.tmp
++ echo "3.0.1" >doc/bison.help.tmp
++ echo "no help" >>doc/bison.help.tmp
$(AM_V_at)$(top_srcdir)/build-aux/move-if-change doc/bison.help.tmp $@
# Depend on configure to get version number changes.
diff --git a/package/dbus/Makefile b/package/dbus/Makefile
index bb06e25d4..31596f56d 100644
--- a/package/dbus/Makefile
+++ b/package/dbus/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= b02e9c95027a416987b81f9893831061
PKG_DESCR:= DBUS daemon
PKG_SECTION:= misc
-PKG_DEPENDS:= libdbus
+PKG_DEPENDS:= libdbus libexpat
PKG_BUILDDEP:= expat util-linux
PKG_URL:= http://dbus.freedesktop.org/
PKG_SITES:= http://dbus.freedesktop.org/releases/dbus/
diff --git a/package/eudev/Makefile b/package/eudev/Makefile
index 13f8c1b20..4bce0928c 100644
--- a/package/eudev/Makefile
+++ b/package/eudev/Makefile
@@ -9,6 +9,8 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 164df78f6f0093578a20bdd00335845f
PKG_DESCR:= udev device manager
PKG_SECTION:= utils
+PKG_BUILDDEP:= gperf-host glib
+PKG_DEPENDS:= glib
PKG_URL:= http://www.gentoo.org/proj/en/eudev/
PKG_SITES:= http://dev.gentoo.org/~blueness/eudev/
PKG_LIBNAME:= libudev
diff --git a/package/gmediaserver/Makefile b/package/gmediaserver/Makefile
index 240249145..1c995edb9 100644
--- a/package/gmediaserver/Makefile
+++ b/package/gmediaserver/Makefile
@@ -15,6 +15,8 @@ PKG_URL:= http://www.gnu.org/software/gmediaserver
PKG_SITES:= http://savannah.nongnu.org/download/gmediaserver/
PKG_CXX:= GMEDIASERVER
+PKG_LIBC_DEPENDS:= uclibc eglibc glibc
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GMEDIASERVER,gmediaserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
diff --git a/package/gmp/Makefile b/package/gmp/Makefile
index 88160db91..5d7077306 100644
--- a/package/gmp/Makefile
+++ b/package/gmp/Makefile
@@ -8,7 +8,7 @@ PKG_NAME:= gmp
PKG_DESCR:= GNU multiprecision arithmetic library
PKG_SECTION:= libs
PKG_URL:= http://gmplib.org/
-PKG_BUILDDEP:= flex-host bison-host m4-host
+PKG_BUILDDEP:= m4-host flex-host bison-host
PKG_LIBNAME:= libgmp
PKG_OPTS:= dev
diff --git a/package/json-c/Makefile b/package/json-c/Makefile
new file mode 100644
index 000000000..de4f0e04e
--- /dev/null
+++ b/package/json-c/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= json-c
+PKG_VERSION:= 0.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= aa02367d2f7a830bf1e3376f77881e98
+PKG_DESCR:= JSON library
+PKG_SECTION:= libs
+PKG_URL:= https://github.com/json-c/json-c/wiki
+PKG_SITES:= https://s3.amazonaws.com/json-c_releases/releases/
+PKG_OPTS:= dev
+PKG_NOPARALLEL:= 1
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+json-c-install:
+ $(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libjson*.so* \
+ $(IDIR_JSON_C)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/knock/Makefile b/package/knock/Makefile
index 91bd34739..04129c01b 100644
--- a/package/knock/Makefile
+++ b/package/knock/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= knock
-PKG_VERSION:= 0.5
+PKG_VERSION:= 0.6
PKG_RELEASE:= 1
-PKG_MD5SUM:= ca09d61458974cff90a700aba6120891
+PKG_MD5SUM:= e6e486be75b0d6433bac22a7de0e11f5
PKG_DESCR:= A port-knocking client
PKG_SECTION:= firewall
PKG_BUILDDEP:= libpcap
@@ -22,6 +22,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KNOCK,knock,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_KNOCKD},${PKGSD_KNOCKD},${PKG_SECTION}))
+TARGET_CPPFLAGS+= -D_GNU_SOURCE
CONFIGURE_ENV+= ac_cv_lib_pcap_pcap_open_live=yes
knock-install:
diff --git a/package/knock/patches/patch-Makefile_in b/package/knock/patches/patch-Makefile_in
deleted file mode 100644
index ec90372ec..000000000
--- a/package/knock/patches/patch-Makefile_in
+++ /dev/null
@@ -1,24 +0,0 @@
---- knock-0.5.orig/Makefile.in 2005-06-27 07:11:34.000000000 +0200
-+++ knock-0.5/Makefile.in 2009-06-13 09:49:14.000000000 +0200
-@@ -68,11 +68,16 @@ dist: distclean
- (cd ..; tar czvf knock-$(VERSION).tar.gz knock-$(VERSION))
-
- install: all
-- $(INSTALL) -D -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd
-- $(INSTALL) -D -m0755 knock $(DESTDIR)$(BINDIR)/knock
-- $(INSTALL) -D -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1
-- $(INSTALL) -D -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1
-- $(INSTALL) -D -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf
-+ $(INSTALL) -d -m0755 $(DESTDIR)$(SBINDIR)
-+ $(INSTALL) -d -m0755 $(DESTDIR)$(BINDIR)
-+ $(INSTALL) -d -m0755 $(DESTDIR)$(MANDIR)/man1
-+ $(INSTALL) -d -m0755 $(DESTDIR)/etc
-+ $(INSTALL) -m0755 knock $(DESTDIR)$(BINDIR)/knock
-+ $(INSTALL) -m0755 knockd $(DESTDIR)$(SBINDIR)/knockd
-+ $(INSTALL) -m0755 knock $(DESTDIR)$(BINDIR)/knock
-+ $(INSTALL) -m0644 $(MANSRC)knockd.1 $(DESTDIR)$(MANDIR)/man1/knockd.1
-+ $(INSTALL) -m0644 $(MANSRC)knock.1 $(DESTDIR)$(MANDIR)/man1/knock.1
-+ $(INSTALL) -m0644 knockd.conf $(DESTDIR)/etc/knockd.conf
-
- clean:
- rm -f *~ $(OBJDIR)*.o $(MANSRC)*.1
diff --git a/package/knock/patches/patch-src_knockd_c b/package/knock/patches/patch-src_knockd_c
index 7d8512c96..e3a2d2955 100644
--- a/package/knock/patches/patch-src_knockd_c
+++ b/package/knock/patches/patch-src_knockd_c
@@ -1,20 +1,23 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- knock-0.5.orig/src/knockd.c 2005-06-27 07:11:34.000000000 +0200
-+++ knock-0.5/src/knockd.c 2009-06-01 21:43:53.000000000 +0200
-@@ -46,6 +46,7 @@
- #include <syslog.h>
- #include <pcap.h>
- #include <errno.h>
-+#include <linux/limits.h>
- #include "list.h"
-
- static char version[] = "0.5";
-@@ -1064,7 +1065,7 @@ char* get_ip(const char* iface, char *bu
- return(NULL);
- }
-
-- bzero((void*)(&ifr.ifr_name), sizeof(ifr.ifr_name));
-+ memset((void*)(&ifr.ifr_name), 0, sizeof(ifr.ifr_name));
- strncpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name)-1);
- ifr.ifr_name[sizeof(ifr.ifr_name)-1] = '\0';
- if(ioctl(s, SIOCGIFADDR, &ifr)) {
+--- knock-0.6.orig/src/knockd.c 2013-04-08 20:11:56.000000000 +0200
++++ knock-0.6/src/knockd.c 2014-01-16 16:59:04.000000000 +0100
+@@ -28,8 +28,8 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <fcntl.h>
+-#if defined(__FreeBSD__) || defined(__APPLE__)
+ #include <limits.h>
++#if defined(__FreeBSD__) || defined(__APPLE__)
+ #include <sys/socket.h>
+ #include <netinet/in_systm.h>
+ #endif
+@@ -40,10 +40,6 @@
+ #include <netinet/udp.h>
+ #include <netinet/ip_icmp.h>
+ #include <net/if.h>
+-#if !defined(__FreeBSD__) && !defined(__APPLE__)
+-#include <bits/time.h>
+-#include <linux/limits.h>
+-#endif
+ #include <sys/types.h>
+ #include <sys/wait.h>
+ #include <sys/ioctl.h>
diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index aadcd7a17..e4adff641 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= 531fbc1b40b80dd1d6f3b5e76b99067c
PKG_DESCR:= libraries for Interface Definition Language files
PKG_SECTION:= libs
PKG_DEPENDS:= glib
-PKG_BUILDDEP:= glib-host glib flex-host bison-host libIDL-host
+PKG_BUILDDEP:= glib-host glib m4-host flex-host bison-host libIDL-host
PKG_URL:= http://www.gnome.org/
PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
PKG_LIBNAME:= libidl
diff --git a/package/libjson/Makefile b/package/libjson/Makefile
new file mode 100644
index 000000000..6520bd419
--- /dev/null
+++ b/package/libjson/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libjson
+PKG_VERSION:= 7.6.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 82f3fcbf9f8cf3c4e25e1bdd77d65164
+PKG_DESCR:= JSON library
+PKG_SECTION:= libs
+PKG_URL:= http://sourceforge.net/projects/libjson/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libjson/}
+PKG_OPTS:= dev
+
+PKG_NOPARALLEL:= 1
+
+DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.zip
+WRKDIST= ${WRKDIR}/${PKG_NAME}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBJSON,libjson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+MAKE_FILE:= makefile
+FAKE_FLAGS+= prefix=${WRKINST}/usr
+CONFIG_STYLE:= manual
+
+libjson-install:
+ $(INSTALL_DIR) $(IDIR_LIBJSON)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libjson*.so* \
+ $(IDIR_LIBJSON)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libjson/patches/patch-makefile b/package/libjson/patches/patch-makefile
new file mode 100644
index 000000000..919c6308c
--- /dev/null
+++ b/package/libjson/patches/patch-makefile
@@ -0,0 +1,50 @@
+--- libjson.orig/makefile 2014-01-17 20:38:29.584543459 +0100
++++ libjson/makefile 2014-01-17 20:38:14.372460375 +0100
+@@ -128,7 +128,7 @@ objects = internalJSONNode.o JSON
+ JSONDebug.o JSONIterators.o JSONMemory.o JSONNode.o \
+ JSONNode_Mutex.o JSONPreparse.o JSONStream.o JSONValidator.o \
+ JSONWorker.o JSONWriter.o libjson.o
+-OS=$(shell uname)
++OS=Linux
+
+ # Defaults
+ ifeq ($(OS), Darwin)
+@@ -158,8 +158,7 @@ srcdir ?= _internal/Source
+ CXX ?= c++
+ AR ?= ar
+ PIC ?= PIC
+-BUILD_TYPE ?= "default"
+-SHARED ?= "1"
++SHARED ?= 1
+
+
+ # Internal Variables
+@@ -237,18 +236,16 @@ endif
+
+ # Compile object files
+ $(objdir)/%.o: $(srcdir)/%.cpp
+- $(CXX) $< -o $@ -c $(CXXFLAGS)
++ $(CXX) $< -o $@ -c $(CPPFLAGS) $(CXXFLAGS)
+
+ ifeq ($(SHARED),1)
+ install: banner install_headers $(lib_target)
+ @echo "Install shared library"
++ mkdir -p $(inst_path)
+ cp -f ./$(lib_target) $(inst_path)
+ cd $(inst_path) ; \
+ ln -sf $(lib_target) $(libname_shared_major_version) ; \
+ ln -sf $(libname_shared_major_version) $(libname_shared)
+-ifneq ($(OS),Darwin)
+- ldconfig
+-endif
+ @echo "Install shared library: Done."
+ else
+ install: banner install_headers $(lib_target)
+@@ -266,7 +263,6 @@ install_headers: banner
+ cp -r ./$(srcdir)/JSONDefs $(include_path)/$(libname_hdr)/$(srcdir)
+ chmod -R a+r $(include_path)/$(libname_hdr)
+ find $(include_path)/$(libname_hdr) -type d -exec chmod a+x {} \;
+- cp -rv $(srcdir)/Dependencies/ $(include_path)/$(libname_hdr)/$(srcdir)
+ @echo "Install header files: Done."
+
+ clean: banner
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index e96cfe686..45b24cca2 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= 2e1c889494d274aca24ce5f6a748e66e
PKG_DESCR:= Netlink library
PKG_SECTION:= libs
-PKG_BUILDDEP:= flex-host
+PKG_BUILDDEP:= m4-host flex-host
PKG_URL:= http://www.infradead.org/~tgr/libnl/
PKG_SITES:= http://www.infradead.org/~tgr/libnl/files/
PKG_NOPARALLEL:= 1
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 44d6126ef..51b470aae 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 33ba2f10f3a402cb5d34f5e2a904794a
PKG_DESCR:= a low-level packet capture library
PKG_SECTION:= libs
-PKG_BUILDDEP:= flex-host bison-host libnl
+PKG_BUILDDEP:= m4-host flex-host bison-host libnl
PKG_URL:= http://www.tcpdump.org/
PKG_SITES:= http://www.tcpdump.org/release/
PKG_OPTS:= dev
diff --git a/package/libsndfile/Makefile b/package/libsndfile/Makefile
new file mode 100644
index 000000000..b1663a23c
--- /dev/null
+++ b/package/libsndfile/Makefile
@@ -0,0 +1,25 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libsndfile
+PKG_VERSION:= 1.0.25
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e2b7bb637e01022c7d20f95f9c3990a2
+PKG_DESCR:= reading and writing files containing sampled sound
+PKG_SECTION:= libs
+PKG_URL:= http://www.mega-nerd.com/libsndfile/
+PKG_SITES:= http://www.mega-nerd.com/libsndfile/files/
+PKG_OPTS:= dev
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBSNDFILE,libsndfile,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+libsndfile-install:
+ $(INSTALL_DIR) $(IDIR_LIBSNDFILE)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libsndfile*.so* \
+ $(IDIR_LIBSNDFILE)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index adfd6f4cc..4d4c8c4c8 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= d2f3b7d4627e69e13514a40e72a24d50
PKG_DESCR:= a generic dynamic object loading library
PKG_SECTION:= lang
-PKG_BUILDDEP:= libtool-host
+PKG_BUILDDEP:= m4-host libtool-host
PKG_URL:= http://www.gnu.org/software/libtool/
PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
PKG_LIBNAME:= libltdl
diff --git a/package/libupnp/Makefile b/package/libupnp/Makefile
index 4b01731bc..18eda96b6 100644
--- a/package/libupnp/Makefile
+++ b/package/libupnp/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libupnp
-PKG_VERSION:= 1.6.6
-PKG_RELEASE:= 3
-PKG_MD5SUM:= 8918dcf7428cd119d0c8275765ff2833
+PKG_VERSION:= 1.6.19
+PKG_RELEASE:= 1
+PKG_MD5SUM:= ee16e5d33a3ea7506f38d71facc057dd
PKG_DESCR:= The Universal Plug and Play (UPnP) SDK library
PKG_SECTION:= libs
PKG_BUILDDEP:= autotool
diff --git a/package/libx264/Makefile b/package/libx264/Makefile
index 1936ad533..de7c6a56f 100644
--- a/package/libx264/Makefile
+++ b/package/libx264/Makefile
@@ -4,16 +4,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= libx264
-# actually is snapshot x264-snapshot-20131010-2245
-PKG_VERSION:= 1.0