summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/aufs-util/Makefile44
-rw-r--r--package/aufs-util/patches/patch-Makefile23
-rw-r--r--package/busybox/config/networking/Config.in1
-rw-r--r--package/capi4k-utils/Makefile48
-rw-r--r--package/capi4k-utils/patches/patch-Makefile42
-rw-r--r--package/capi4k-utils/patches/patch-capi20_capi20_h11
-rw-r--r--package/capi4k-utils/patches/patch-capiinfo_Makefile_in18
-rw-r--r--package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make18
-rw-r--r--package/capi4k-utils/patches/patch-rcapid_Makefile_in23
-rwxr-xr-xpackage/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/Makefile14
-rw-r--r--package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/patchlevel.h2
-rw-r--r--package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/pppd.h909
-rw-r--r--package/crda/Makefile53
-rw-r--r--package/cryptodev-linux/Makefile22
-rw-r--r--package/e2fsprogs/Makefile42
-rw-r--r--package/e2fsprogs/patches/patch-debugfs_dump_c12
-rw-r--r--package/e2fsprogs/patches/patch-debugfs_logdump_c4
-rw-r--r--package/e2fsprogs/patches/patch-debugfs_set_fields_c4
-rw-r--r--package/e2fsprogs/patches/patch-e2fsck_Makefile_in11
-rw-r--r--package/e2fsprogs/patches/patch-misc_Makefile_in65
-rw-r--r--package/e2fsprogs/patches/patch-misc_e2initrd_helper_c4
-rw-r--r--package/e2fsprogs/patches/patch-misc_e2undo_c4
-rw-r--r--package/e2fsprogs/patches/patch-util_subst_c6
-rw-r--r--package/ebtables/patches/patch-Makefile63
-rw-r--r--package/elfutils/Makefile37
-rw-r--r--package/gdb/Makefile2
-rw-r--r--package/hwids/Makefile61
-rw-r--r--package/i2400m-fw/Makefile30
-rw-r--r--package/inotify-tools/Makefile41
-rw-r--r--package/ipmitool/Makefile28
-rw-r--r--package/kismet/patches/patch-Makefile_in60
-rw-r--r--package/ldd/Makefile26
-rw-r--r--package/libpcap/Makefile11
-rw-r--r--package/libpcap/patch-Makefile_in14
-rw-r--r--package/libqmi/Makefile30
-rw-r--r--package/libqmi/patches/patch-Makefile_am13
-rw-r--r--package/libqmi/patches/patch-autogen_sh11
-rw-r--r--package/libqmi/patches/patch-configure_ac12
-rw-r--r--package/libqmi/patches/patch-docs_reference_libqmi-glib_Makefile_am25
-rw-r--r--package/mISDN/Makefile35
-rw-r--r--package/mISDN/patches/patch-Makefile53
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_contr_c65
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_c75
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_core_h19
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_debugtool_c49
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_hfcs_usb_c17
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_stack_c34
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_sysfs_inst_c30
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_sysfs_obj_c33
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_sysfs_st_c18
-rw-r--r--package/mISDN/patches/patch-drivers_isdn_hardware_mISDN_udevice_c36
-rw-r--r--package/mISDNuser/Makefile35
-rw-r--r--package/mISDNuser/patches/patch-Makefile16
-rw-r--r--package/mISDNuser/patches/patch-debugtool_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-i4lnet_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-lib_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-suppserv_Makefile9
-rw-r--r--package/nand/Makefile2
-rw-r--r--package/nand/src/nand.c45
-rw-r--r--package/newt/Makefile34
-rw-r--r--package/oprofile/Makefile28
-rw-r--r--package/oprofile/patches/patch-libop_op_cpu_type_c42
-rw-r--r--package/pdnsd/Makefile10
-rw-r--r--package/pdnsd/patches/patch-src_Makefile_in11
-rw-r--r--package/pdnsd/patches/patch-src_dns_query_c12
-rw-r--r--package/perf/Makefile43
-rw-r--r--package/slang/Makefile43
-rw-r--r--package/stats/Makefile23
-rw-r--r--package/stats/patches/patch-Makefile35
-rw-r--r--package/supl/Makefile34
-rw-r--r--package/supl/patches/patch-configure11
-rw-r--r--package/supl/patches/patch-src_Makefile16
-rw-r--r--package/supl/patches/patch-src_supl-client_c40
-rw-r--r--package/supl/patches/patch-src_supl_c46
-rw-r--r--package/supl/patches/patch-src_supl_h19
-rw-r--r--package/tcpdump/Makefile6
-rw-r--r--package/tcptrace/Makefile31
-rw-r--r--package/tcptrace/patches/patch-Makefile_in13
-rw-r--r--package/tcptrace/patches/patch-configure18
-rw-r--r--package/wget/Makefile4
-rw-r--r--package/wireless-regdb/Makefile28
81 files changed, 2637 insertions, 352 deletions
diff --git a/package/aufs-util/Makefile b/package/aufs-util/Makefile
new file mode 100644
index 000000000..fc57c7bb6
--- /dev/null
+++ b/package/aufs-util/Makefile
@@ -0,0 +1,44 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= aufs-util
+# branch aufs3.x-rcN (of around June 6th, 2014)
+PKG_VERSION:= a0eb20c75c07299bfc50c3d80023e1d22c86b4cc
+PKG_RELEASE:= 1
+PKG_DESCR:= aufs utilities (version 3 and above)
+PKG_SECTION:= sys/fs
+PKG_URL:= http://aufs.sf.net/
+PKG_SITES:= git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util
+
+PKG_SUBPKGS:= AUFS_UTIL LIBAU
+PKGSD_LIBAU:= aufs userspace library
+PKGSC_LIBAU:= libs/misc
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AUFS_UTIL,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+$(eval $(call PKG_template,LIBAU,libau,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBAU),$(PKGSC_LIBAU)))
+
+CONFIG_STYLE:= manual
+XAKE_FLAGS+= Install=install \
+ HOSTCC="$(HOST_CC)" \
+ CPPFLAGS_FOR_BUILD="-I$(STAGING_TARGET_DIR)/usr/include -I./libau"
+
+aufs-util-install:
+ $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/sbin
+ $(INSTALL_BIN) $(WRKINST)/sbin/{{u,}mount.aufs,auplink} \
+ $(IDIR_AUFS_UTIL)/sbin
+ $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/au{brsync,chk} \
+ $(IDIR_AUFS_UTIL)/usr/bin
+ $(INSTALL_DIR) $(IDIR_AUFS_UTIL)/etc/default
+ $(INSTALL_DATA) $(WRKINST)/etc/default/aufs \
+ $(IDIR_AUFS_UTIL)/etc/default
+
+libau-install:
+ $(INSTALL_DIR) $(IDIR_LIBAU)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libau* $(IDIR_LIBAU)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/aufs-util/patches/patch-Makefile b/package/aufs-util/patches/patch-Makefile
new file mode 100644
index 000000000..0253076f1
--- /dev/null
+++ b/package/aufs-util/patches/patch-Makefile
@@ -0,0 +1,23 @@
+ - Ensure correct (HOST-)FLAGS when compiling the intermediates
+ - Drop version test, this cant work anyway since there is no aufs3.12 branch anywhere
+--- w-aufs-util-3.x-rcN-050614-1.orig/Makefile 2014-05-06 15:36:53.000000000 +0200
++++ w-aufs-util-3.x-rcN-050614-1/Makefile 2014-06-05 14:32:53.496611173 +0200
+@@ -49,7 +49,7 @@ LibUtilObj = perror.o proc_mnt.o br.o pl
+ LibUtilHdr = au_util.h
+ export
+
+-all: ver_test ${Man} ${Bin} ${Etc}
++all: ${Man} ${Bin} ${Etc}
+ ${MAKE} -C libau $@
+ ln -sf ./libau/libau*.so .
+
+@@ -85,6 +85,9 @@ aufs.5: aufs.in.5 c2tmac
+ chmod a-w $@
+
+ c2sh c2tmac ver: CC = ${HOSTCC}
++c2sh c2tmac ver: CFLAGS = ${CFLAGS_FOR_BUILD}
++c2sh c2tmac ver: LDFLAGS = ${LDFLAGS_FOR_BUILD}
++c2sh c2tmac ver: CPPFLAGS = ${CPPFLAGS_FOR_BUILD}
+ .INTERMEDIATE: c2sh c2tmac ver
+
+ Install = install -o root -g root -p
diff --git a/package/busybox/config/networking/Config.in b/package/busybox/config/networking/Config.in
index 6e68fc786..d5bbad0ef 100644
--- a/package/busybox/config/networking/Config.in
+++ b/package/busybox/config/networking/Config.in
@@ -488,6 +488,7 @@ config BUSYBOX_FEATURE_IFUPDOWN_IP_BUILTIN
bool "Use busybox ip applet"
default y
depends on BUSYBOX_FEATURE_IFUPDOWN_IP
+ depends on !ADK_PACKAGE_IP
select BUSYBOX_PLATFORM_LINUX
select BUSYBOX_IP
select BUSYBOX_FEATURE_IP_ADDRESS
diff --git a/package/capi4k-utils/Makefile b/package/capi4k-utils/Makefile
new file mode 100644
index 000000000..0ac58e978
--- /dev/null
+++ b/package/capi4k-utils/Makefile
@@ -0,0 +1,48 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= capi4k-utils
+PKG_VERSION:= 2005-07-18
+PKG_RELEASE:= 1
+PKG_HASH:= b162d726a31310fc29e7c0a25a4f82a590457f6a95c1b1168bcd72b6497b5746
+PKG_DESCR:= capi4linux utils
+PKG_SECTION:= net/voip
+PKG_SITES:= ftp://ftp.in-berlin.de/pub/capi4linux/
+
+PKG_CFLINE_CAPI4K_UTILS:=depends on ADK_BROKEN
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+WRKDIST= $(WRKDIR)/$(PKG_NAME)
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,CAPI4K_UTILS,capi4k-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+XAKE_FLAGS+= PPPVERSIONS=2.4.5
+
+do-configure:
+ echo "CONFIG_KERNELDIR='$(LINUX_DIR)'" >$(WRKDIST)/.config
+ echo "CONFIG_BINDIR='/usr/bin'" >>$(WRKDIST)/.config
+ echo "CONFIG_SBINDIR='/usr/sbin'" >>$(WRKDIST)/.config
+ echo "CONFIG_MANDIR='/usr/man'" >>$(WRKDIST)/.config
+ echo "CONFIG_RCAPID=y" >>$(WRKDIST)/.config
+ echo "CONFIG_PPPDCAPIPLUGIN=y" >>$(WRKDIST)/.config
+ (cd $(WRKDIST); \
+ cp Makefile Makefile.tmp; \
+ $(MAKE_ENV) $(MAKE) $(MAKE_FLAGS) -f Makefile.tmp subconfig; \
+ rm -f Makefile.tmp; \
+ )
+
+capi4k-utils-install:
+ $(INSTALL_DIR) $(IDIR_CAPI4K_UTILS)/usr/{bin,lib/pppd/2.4.5}
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/capiinfo \
+ $(IDIR_CAPI4K_UTILS)/usr/bin
+ $(CP) $(WRKINST)/usr/lib/libcapi20.so* \
+ $(IDIR_CAPI4K_UTILS)/usr/lib
+ $(INSTALL_DATA) $(WRKINST)/usr/lib/pppd/2.4.5/*.so \
+ $(IDIR_CAPI4K_UTILS)/usr/lib/pppd/2.4.5
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/capi4k-utils/patches/patch-Makefile b/package/capi4k-utils/patches/patch-Makefile
new file mode 100644
index 000000000..08e26f592
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-Makefile
@@ -0,0 +1,42 @@
+ - pass CC, CFLAGS and LDFLAGS when running subdir configure and make
+ - install without root-permissions, do not create device nodes
+ - need to pass PPPVERSIONS to subtargets
+--- capi4k-utils.orig/Makefile 2002-11-20 14:45:14.000000000 +0100
++++ capi4k-utils/Makefile 2011-07-15 14:15:21.446001582 +0200
+@@ -53,7 +53,7 @@ ifneq ($(SUBDIRS),)
+ endif
+
+ subtargets: $(CONFIGURATION)
+- set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i all; done
++ set -e; for i in `echo $(SUBDIRS)`; do CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" PPPVERSIONS="${PPPVERSIONS}" $(MAKE) -C $$i all; done
+
+ rootperm:
+ @echo 'main(int argc,char**argv){unlink(argv[0]);return(getuid()==0);}'>g
+@@ -62,16 +62,10 @@ rootperm:
+ exit 1; \
+ fi
+
+-install: rootperm
++install:
+ set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i install; done
+- @if [ -c $(DESTDIR)/dev/isdnctrl0 ] && ls -l $(DESTDIR)/dev/isdnctrl0 | egrep "[[:space:]]45,[[:space:]]+64[[:space:]]" > /dev/null; \
+- then \
+- echo -e '(some) ISDN devices already exist, not creating them.\nUse scripts/makedev.sh manually if necessary.'; \
+- else \
+- sh scripts/makedev.sh $(DESTDIR) ; \
+- fi
+
+-uninstall: rootperm
++uninstall:
+ set -e; for i in `echo $(SUBDIRS)`; do $(MAKE) -C $$i uninstall; done
+
+ #
+@@ -134,7 +128,7 @@ subconfig: scripts/autoconf.h
+ @set -e; for i in `echo $(SUBDIRS)`; do \
+ if [ -x $$i/configure ] ; then \
+ echo -e "\nRunning configure in $$i ...\n"; sleep 1; \
+- (cd $$i; ./configure --sbindir=$(CONFIG_SBINDIR) --bindir=$(CONFIG_BINDIR) --mandir=$(CONFIG_MANDIR) || $(MAKE) -C ../ ERRDIR=$$i cfgerror); \
++ (cd $$i; CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ./configure --sbindir=$(CONFIG_SBINDIR) --bindir=$(CONFIG_BINDIR) --mandir=$(CONFIG_MANDIR) || $(MAKE) -C ../ ERRDIR=$$i cfgerror); \
+ elif [ -f $$i/Makefile.in ] ; then \
+ echo -e "\nRunning make -f Makefile.in config in $$i ...\n"; sleep 1; \
+ $(MAKE) -C $$i -f Makefile.in config; \
diff --git a/package/capi4k-utils/patches/patch-capi20_capi20_h b/package/capi4k-utils/patches/patch-capi20_capi20_h
new file mode 100644
index 000000000..856eaba79
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-capi20_capi20_h
@@ -0,0 +1,11 @@
+ - somehow this header misses sys/types.h (for size_t definition)
+--- capi4k-utils.orig/capi20/capi20.h 2000-11-19 11:15:01.000000000 +0100
++++ capi4k-utils/capi20/capi20.h 2011-07-14 17:26:51.680001337 +0200
+@@ -21,6 +21,7 @@
+ #define __CAPI20_H__
+
+ #include <sys/time.h>
++#include <sys/types.h>
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/package/capi4k-utils/patches/patch-capiinfo_Makefile_in b/package/capi4k-utils/patches/patch-capiinfo_Makefile_in
new file mode 100644
index 000000000..5a5ae1c4b
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-capiinfo_Makefile_in
@@ -0,0 +1,18 @@
+ allow CFLAGS override
+--- capi4k-utils.orig/capiinfo/Makefile.in 2002-11-27 09:08:04.000000000 +0100
++++ capi4k-utils/capiinfo/Makefile.in 2011-07-14 18:55:40.657001559 +0200
+@@ -72,10 +72,10 @@ CLEANFILES = *~ comperr
+ MAINTAINERCLEANFILES = configure aclocal.m4 Makefile.in config.h.in stamp-h.in comperr
+
+
+-INCLUDES = -I../capi20 $(all_includes)
+-CFLAGS = -Wall -O2
+-LDFLAGS = -L../capi20/.libs -L../capi20 $(all_libraries)
+-LDADD = -lcapi20
++INCLUDES += -I../capi20 $(all_includes)
++CFLAGS += -Wall -O2
++LDFLAGS += -L../capi20/.libs -L../capi20 $(all_libraries)
++LDADD += -lcapi20
+
+ bin_PROGRAMS = capiinfo
+
diff --git a/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make b/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
new file mode 100644
index 000000000..cd54324e6
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-pppdcapiplugin_Rules_make
@@ -0,0 +1,18 @@
+ allow CC, CFLAGS and LDFLAGS override
+--- capi4k-utils.orig/pppdcapiplugin/Rules.make 2001-05-01 14:43:49.000000000 +0200
++++ capi4k-utils/pppdcapiplugin/Rules.make 2011-07-14 17:13:53.567001779 +0200
+@@ -10,11 +10,11 @@
+
+ vpath %.c $(TOPDIR)
+
+-CC = gcc
++CC ?= gcc
+ INC = -I$(TOPDIR) -I$(CAPIINC) -Ipppd
+ DEFS = -DPPPVER=$(shell $(TOPDIR)/pversion $(PPPVERSION))
+-CFLAGS = -O2 -Wall -fPIC $(DEFS) $(INC) -L$(CAPILIB)
+-LDFLAGS = -shared -L$(CAPILIB)
++CFLAGS += -O2 -Wall -fPIC $(DEFS) $(INC) -L$(CAPILIB)
++LDFLAGS += -shared -L$(CAPILIB)
+
+ ALL = capiplugin.so userpass.so
+
diff --git a/package/capi4k-utils/patches/patch-rcapid_Makefile_in b/package/capi4k-utils/patches/patch-rcapid_Makefile_in
new file mode 100644
index 000000000..135d5fe25
--- /dev/null
+++ b/package/capi4k-utils/patches/patch-rcapid_Makefile_in
@@ -0,0 +1,23 @@
+ allow overriding things
+--- capi4k-utils.orig/rcapid/Makefile.in 2003-06-16 13:44:29.000000000 +0200
++++ capi4k-utils/rcapid/Makefile.in 2011-07-14 19:01:46.376001436 +0200
+@@ -57,7 +57,7 @@ POST_INSTALL = :
+ NORMAL_UNINSTALL = :
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+-CC = @CC@
++CC ?= @CC@
+ CONFIG_MANDIR = @CONFIG_MANDIR@
+ CONFIG_SBINDIR = @CONFIG_SBINDIR@
+ CPP = @CPP@
+@@ -72,8 +72,8 @@ MAINTAINERCLEANFILES = configure aclocal
+
+
+ INCLUDES = -I../capi20 $(all_includes)
+-CFLAGS = -Wall -O2
+-LDFLAGS = -L../capi20/.libs -L../capi20 $(all_libraries)
++CFLAGS += -Wall -O2
++LDFLAGS += -L../capi20/.libs -L../capi20 $(all_libraries)
+ LDADD = -lcapi20
+
+ sbin_PROGRAMS = rcapid
diff --git a/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/Makefile b/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/Makefile
new file mode 100755
index 000000000..d12b2373a
--- /dev/null
+++ b/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/Makefile
@@ -0,0 +1,14 @@
+# Makefile for the capiplugin for pppd(8).
+#
+# Copyright 2000 Carsten Paeth (calle@calle.in-berlin.de)
+# Copyright 2000 AVM GmbH Berlin (info@avm.de)
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version
+# 2 of the License, or (at your option) any later version.
+
+PLUGINDIR=${DESTDIR}/usr/lib/pppd/$(PPPVERSION)
+
+include $(TOPDIR)/Rules.make
+
diff --git a/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/patchlevel.h b/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/patchlevel.h
new file mode 100644
index 000000000..b7d6ce335
--- /dev/null
+++ b/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/patchlevel.h
@@ -0,0 +1,2 @@
+#define VERSION "2.4.5"
+#define DATE "17 November 2009"
diff --git a/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/pppd.h b/package/capi4k-utils/src/pppdcapiplugin/ppp-2.4.5/pppd/pppd.