code
string
repo_name
string
path
string
language
string
license
string
size
int64
################################################################################ # # nload # ################################################################################ NLOAD_VERSION = 0.7.4 NLOAD_SITE = http://www.roland-riegel.de/nload NLOAD_DEPENDENCIES = ncurses NLOAD_LICENSE = GPLv2+ NLOAD_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/nload/nload.mk
mk
mit
356
libdnet: always build a static library Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff --git a/libdnet-stripped/configure.gnu b/libdnet-stripped/configure.gnu --- /dev/null +++ b/libdnet-stripped/configure.gnu @@ -0,0 +1,3 @@ +#!/bin/sh + +exec "${0%.gnu}" "${@}" --enable-static --disable-shared
shibajee/buildroot
package/nmap/0001-libdnet-wrapper-configure.patch
patch
mit
313
config BR2_PACKAGE_NMAP bool "nmap" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBPCAP select BR2_PACKAGE_PCRE help Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing. http://nmap.org comment "nmap needs a toolchain w/ C++, threads" depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
shibajee/buildroot
package/nmap/Config.in
in
mit
480
# From https://nmap.org/dist/sigs/nmap-7.12.tar.bz2.digest.txt sha256 63df082a87c95a189865d37304357405160fc6333addcf5b84204c95e0539b04 nmap-7.12.tar.bz2
shibajee/buildroot
package/nmap/nmap.hash
hash
mit
153
################################################################################ # # nmap # ################################################################################ NMAP_VERSION = 7.12 NMAP_SITE = http://nmap.org/dist NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2 NMAP_DEPENDENCIES = libpcap pcre NMAP_CONF_OPTS = --without-liblua --without-zenmap \ --with-libdnet=included --with-liblinear=included \ --with-libpcre="$(STAGING_DIR)/usr" --without-ncat NMAP_LICENSE = GPLv2 NMAP_LICENSE_FILES = COPYING # needed by libpcap NMAP_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` ifeq ($(BR2_STATIC_LIBS),y) NMAP_CONF_ENV += LIBS="$(NMAP_LIBS_FOR_STATIC_LINK)" endif # for 0001-libdnet-wrapper-configure.patch define NMAP_WRAPPER_EXEC chmod +x $(@D)/libdnet-stripped/configure.gnu endef NMAP_POST_PATCH_HOOKS += NMAP_WRAPPER_EXEC ifeq ($(BR2_PACKAGE_OPENSSL),y) NMAP_CONF_OPTS += --with-openssl="$(STAGING_DIR)/usr" NMAP_DEPENDENCIES += host-pkgconf openssl NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` else NMAP_CONF_OPTS += --without-openssl endif # ndiff only works with python2.x ifeq ($(BR2_PACKAGE_PYTHON),y) NMAP_DEPENDENCIES += python else NMAP_CONF_OPTS += --without-ndiff endif $(eval $(autotools-package))
shibajee/buildroot
package/nmap/nmap.mk
mk
mit
1,295
Remove dependency on Python bz2 module The Python bz2 module is only needed in certain cases, so only import it when needed. In the normal nodejs build, this allows to remove the dependency on this module. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/deps/v8/tools/js2c.py =================================================================== --- a/deps/v8/tools/js2c.py +++ b/deps/v8/tools/js2c.py @@ -33,7 +33,6 @@ import os, re, sys, string import jsmin -import bz2 def ToCAsciiArray(lines): @@ -344,6 +343,7 @@ else: raw_sources_declaration = RAW_SOURCES_COMPRESSION_DECLARATION if env['COMPRESSION'] == 'bz2': + import bz2 all_sources = bz2.compress("".join(all_sources)) total_length = len(all_sources) sources_data = ToCArray(all_sources)
shibajee/buildroot
package/nodejs/0.10.45/0001-remove-python-bz2-dependency.patch
patch
mit
824
From 00d809e9305241f8636a2d75e22c493293e6971a Mon Sep 17 00:00:00 2001 From: Samuel Martin <s.martin49@gmail.com> Date: Sun, 20 Apr 2014 15:03:01 +0200 Subject: [PATCH] gyp: force link command to use CXX Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- tools/gyp/pylib/gyp/generator/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py index 0de510e..54e4c96 100644 --- a/tools/gyp/pylib/gyp/generator/make.py +++ b/tools/gyp/pylib/gyp/generator/make.py @@ -134,7 +134,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) # special "figure out circular dependencies" flags around the entire # input list during linking. quiet_cmd_link = LINK($(TOOLSET)) $@ -cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) +cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) # We support two kinds of shared objects (.so): # 1) shared_library, which is just bundling together many dependent libraries -- 1.9.2
shibajee/buildroot
package/nodejs/0.10.45/0002-gyp-force-link-command-to-use-CXX.patch
patch
mit
1,191
From 0bc482abeb814573251ecafb5a1e045c885b13a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> Date: Mon, 25 May 2015 16:22:57 +0200 Subject: [PATCH 1/1] Fix musl __USE_MISC issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The musl C library does not define __USE_MISC and so libuv (built-in dependency) does not use the correct struct stat definition for musl. The feature test macro __USE_MISC is defined by glibc if _BSD_SOURCE or _SVID_SOURCE is defined. The libuv build system enables the feature test macro _GNU_SOURCE for linux builds. Since glibc 2.19, defining _GNU_SOURCE also has the effect of implicitly defining _DEFAULT_SOURCE - the replacement for _BSD_SOURCE and _SVID_SOURCE. In glibc versions before 2.20, defining _GNU_SOURCE also had the effect of implicitly defining _BSD_SOURCE and _SVID_SOURCE. This is also true for uClibc. Alltogether, we can safely replace __USE_MISC by _GNU_SOURCE to support building nodejs 0.10.x with the musl C library. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- deps/uv/src/fs-poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/uv/src/fs-poll.c b/deps/uv/src/fs-poll.c index ad27f18..094447e 100644 --- a/deps/uv/src/fs-poll.c +++ b/deps/uv/src/fs-poll.c @@ -198,7 +198,7 @@ static int statbuf_eq(const uv_statbuf_t* a, const uv_statbuf_t* b) { /* Jump through a few hoops to get sub-second granularity on Linux. */ # if defined(__linux__) -# if defined(__USE_MISC) /* _BSD_SOURCE || _SVID_SOURCE */ +# if defined(_GNU_SOURCE) /* _BSD_SOURCE || _SVID_SOURCE */ if (a->st_ctim.tv_nsec != b->st_ctim.tv_nsec) return 0; if (a->st_mtim.tv_nsec != b->st_mtim.tv_nsec) return 0; # else -- 2.4.1
shibajee/buildroot
package/nodejs/0.10.45/0003-fix-musl-USE-MISC-build-issue.patch
patch
mit
1,802
From 1cc08f6ceacbb0e5ba1f4638ca3a97ac002d7792 Mon Sep 17 00:00:00 2001 From: "Bark, Martin" <martin.bark@te.com> Date: Mon, 14 Dec 2015 13:26:10 +0000 Subject: [PATCH 2/2] Fix support for uClibc-ng uClibc-ng is currently at v1.0.9. The patch corrects the uClibc version test so that HAVE_IFADDRS_H is defined for uClibc versions after v0.9.32. Submitted upstream to libuv and accepted, see https://github.com/libuv/libuv/pull/653 and https://github.com/libuv/libuv/commit/c861972 Signed-off-by: Bark, Martin <martin.bark@te.com> --- deps/uv/src/unix/linux-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/uv/src/unix/linux-core.c b/deps/uv/src/unix/linux-core.c index e6e6828..6cbbb71 100644 --- a/deps/uv/src/unix/linux-core.c +++ b/deps/uv/src/unix/linux-core.c @@ -39,7 +39,7 @@ #define HAVE_IFADDRS_H 1 #ifdef __UCLIBC__ -# if __UCLIBC_MAJOR__ < 0 || __UCLIBC_MINOR__ < 9 || __UCLIBC_SUBLEVEL__ < 32 +# if __UCLIBC_MAJOR__ < 0 && __UCLIBC_MINOR__ < 9 && __UCLIBC_SUBLEVEL__ < 32 # undef HAVE_IFADDRS_H # endif #endif -- 2.6.2
shibajee/buildroot
package/nodejs/0.10.45/0004-Fix-support-for-uClibc-ng.patch
patch
mit
1,073
From 90a3c113c19ec615249ab880c45c6c0a8d369098 Mon Sep 17 00:00:00 2001 From: Martin Bark <martin@barkynet.com> Date: Tue, 30 Jun 2015 09:43:47 +0100 Subject: [PATCH 2/4] gyp: force link command to use CXX Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Martin Bark <martin@barkynet.com> [yann.morin.1998@free.fr: adapt to 4.1.2] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- tools/gyp/pylib/gyp/generator/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py index b88a433..0a1f2e0 100644 --- a/tools/gyp/pylib/gyp/generator/make.py +++ b/tools/gyp/pylib/gyp/generator/make.py @@ -142,7 +142,7 @@ cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) # special "figure out circular dependencies" flags around the entire # input list during linking. quiet_cmd_link = LINK($(TOOLSET)) $@ -cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) +cmd_link = $(CXX.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS) # We support two kinds of shared objects (.so): # 1) shared_library, which is just bundling together many dependent libraries -- 2.1.4
shibajee/buildroot
package/nodejs/6.2.1/0001-gyp-force-link-command-to-use-CXX.patch
patch
mit
1,340
comment "nodejs needs a toolchain w/ C++, dynamic library, threads, gcc >= 4.8, wchar" depends on BR2_USE_MMU depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel depends on !BR2_MIPS_SOFT_FLOAT depends on !BR2_ARM_CPU_ARMV4 depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR config BR2_PACKAGE_NODEJS bool "nodejs" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel depends on !BR2_MIPS_SOFT_FLOAT # ARM needs BLX, so v5t+ depends on !BR2_ARM_CPU_ARMV4 # 0.10.x could be built without the following toolchain dependencies but # simplify things by requiring these basic dependencies for all versions. depends on BR2_HOST_GCC_AT_LEAST_4_8 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 depends on BR2_USE_WCHAR # uses fork() depends on BR2_USE_MMU # uses dlopen(). On ARMv5, we could technically support static # linking, but that's too much of a corner case to support it. depends on !BR2_STATIC_LIBS select BR2_PACKAGE_ZLIB help Event-driven I/O server-side JavaScript environment based on V8. http://nodejs.org/ if BR2_PACKAGE_NODEJS # Starting with 0.12.x, on ARM, V8 (the JS engine) # now requires an armv6+ and a VFPv2+. config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS bool # On supported architectures other than ARM, no special requirement default y if !BR2_arm # On ARM, at least ARMv6+ with VFPv2+ is needed default y if !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 config BR2_PACKAGE_NODEJS_VERSION_STRING string default "6.2.1" if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS default "0.10.45" config BR2_PACKAGE_NODEJS_NPM bool "NPM for the target" select BR2_PACKAGE_OPENSSL help NPM is the package manager for the Node JavaScript platform. Note that enabling NPM on the target also selects OpenSSL for the target. http://www.npmjs.org Note that NPM is always built for the buildroot host. config BR2_PACKAGE_NODEJS_MODULES_EXPRESS bool "Express web application framework" help Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. http://www.expressjs.com https://github.com/visionmedia/express config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT bool "CoffeeScript" help CoffeeScript is a little language that compiles into JavaScript. http://www.coffeescript.org config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL string "Additional modules" help List of space-separated nodejs modules to install via npm. See https://npmjs.org/ to find modules and 'npm help install' for available installation methods. For repeatable builds, download and save tgz files or clone git repos for the components you care about. Example: serialport uglify-js@1.3.4 /my/module/mymodule.tgz git://github.com/someuser/somemodule.git#v1.2 This would install the serialport module (at the newest version), the uglify-js module at 1.3.4, a module from a filesystem path, and a module from a git repository. config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS string "Additional module dependencies" help List of space-separated buildroot recipes which must be built before your npms can be installed. For example, if in 'Additional modules' you specified 'node-curl' (see: https://github.com/jiangmiao/node-curl), you could then specify 'libcurl' here, to ensure that buildroot builds the libcurl package, and does so before building your node modules. endif
shibajee/buildroot
package/nodejs/Config.in
in
mit
3,682
# From upstream URL: http://nodejs.org/dist/v0.10.45/SHASUMS256.txt sha256 a71070ea7aece9c94450b45102f2d1be42f0add168dd9c9701e9032d363bd4fa node-v0.10.45.tar.xz # From upstream URL: http://nodejs.org/dist/v6.2.1/SHASUMS256.txt sha256 dbaeb8fb68a599e5164b17c74f66d24f424ee4ab3a25d8de8a3c6808e5b42bfb node-v6.2.1.tar.xz
shibajee/buildroot
package/nodejs/nodejs.hash
hash
mit
323
################################################################################ # # nodejs # ################################################################################ NODEJS_VERSION = $(call qstrip,$(BR2_PACKAGE_NODEJS_VERSION_STRING)) NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) NODEJS_DEPENDENCIES = host-python host-nodejs zlib \ $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) HOST_NODEJS_DEPENDENCIES = host-python host-zlib NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) NODEJS_LICENSE_FILES = LICENSE NODEJS_CONF_OPTS = \ --without-snapshot \ --shared-zlib \ --without-dtrace \ --without-etw \ --dest-os=linux ifeq ($(BR2_PACKAGE_OPENSSL),y) NODEJS_DEPENDENCIES += openssl NODEJS_CONF_OPTS += --shared-openssl else NODEJS_CONF_OPTS += --without-ssl endif # 0.10.x does not have icu support ifeq ($(findstring 0.10.,$(NODEJS_VERSION)),) ifeq ($(BR2_PACKAGE_ICU),y) NODEJS_DEPENDENCIES += icu NODEJS_CONF_OPTS += --with-intl=system-icu else NODEJS_CONF_OPTS += --with-intl=none endif endif ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) NODEJS_CONF_OPTS += --without-npm endif # nodejs build system is based on python, but only support python-2.6 or # python-2.7. So, we have to enforce PYTHON interpreter to be python2. define HOST_NODEJS_CONFIGURE_CMDS # The build system directly calls python. Work around this by forcing python2 # into PATH. See https://github.com/nodejs/node/issues/2735 mkdir -p $(@D)/bin ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python # Build with the static, built-in OpenSSL which is supplied as part of # the nodejs source distribution. This is needed on the host because # NPM is non-functional without it, and host-openssl isn't part of # buildroot. (cd $(@D); \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(HOST_DIR)/usr/bin/python2 ./configure \ --prefix=$(HOST_DIR)/usr \ --without-snapshot \ --without-dtrace \ --without-etw \ --shared-zlib \ ) endef define HOST_NODEJS_BUILD_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(MAKE) -C $(@D) \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) endef define HOST_NODEJS_INSTALL_CMDS $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(MAKE) -C $(@D) install \ $(HOST_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) endef ifeq ($(BR2_i386),y) NODEJS_CPU = ia32 else ifeq ($(BR2_x86_64),y) NODEJS_CPU = x64 else ifeq ($(BR2_mips),y) NODEJS_CPU = mips else ifeq ($(BR2_mipsel),y) NODEJS_CPU = mipsel else ifeq ($(BR2_arm),y) NODEJS_CPU = arm # V8 needs to know what floating point ABI the target is using. NODEJS_ARM_FP = $(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI)) endif # MIPS architecture specific options ifeq ($(BR2_mips)$(BR2_mipsel),y) ifeq ($(BR2_mips_32r6),y) NODEJS_MIPS_ARCH_VARIANT = r6 NODEJS_MIPS_FPU_MODE = fp64 else ifeq ($(BR2_mips_32r2),y) NODEJS_MIPS_ARCH_VARIANT = r2 else ifeq ($(BR2_mips_32),y) NODEJS_MIPS_ARCH_VARIANT = r1 endif endif define NODEJS_CONFIGURE_CMDS mkdir -p $(@D)/bin ln -sf $(HOST_DIR)/usr/bin/python2 $(@D)/bin/python (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ LD="$(TARGET_CXX)" \ PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(HOST_DIR)/usr/bin/python2 ./configure \ --prefix=/usr \ --dest-cpu=$(NODEJS_CPU) \ $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ $(NODEJS_CONF_OPTS) \ ) endef define NODEJS_BUILD_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(MAKE) -C $(@D) \ $(TARGET_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ LD="$(TARGET_CXX)" endef # # Build the list of modules to install based on the booleans for # popular modules, as well as the "additional modules" list. # NODEJS_MODULES_LIST= $(call qstrip,\ $(if $(BR2_PACKAGE_NODEJS_MODULES_EXPRESS),express) \ $(if $(BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT),coffee-script) \ $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) # Define NPM for other packages to use NPM = $(TARGET_CONFIGURE_OPTS) \ LD="$(TARGET_CXX)" \ npm_config_arch=$(NODEJS_CPU) \ npm_config_target_arch=$(NODEJS_CPU) \ npm_config_build_from_source=true \ npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ npm_config_prefix=$(TARGET_DIR)/usr \ $(HOST_DIR)/usr/bin/npm # # We can only call NPM if there's something to install. # ifneq ($(NODEJS_MODULES_LIST),) define NODEJS_INSTALL_MODULES # If you're having trouble with module installation, adding -d to the # npm install call below and setting npm_config_rollback=false can both # help in diagnosing the problem. $(NPM) install -g $(NODEJS_MODULES_LIST) endef endif define NODEJS_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \ $(MAKE) -C $(@D) install \ DESTDIR=$(TARGET_DIR) \ $(TARGET_CONFIGURE_OPTS) \ PATH=$(@D)/bin:$(BR_PATH) \ LD="$(TARGET_CXX)" $(NODEJS_INSTALL_MODULES) endef # node.js configure is a Python script and does not use autotools $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/nodejs/nodejs.mk
mk
mit
5,269
config BR2_PACKAGE_NODM bool "nodm" depends on BR2_PACKAGE_XORG7 depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam depends on !BR2_STATIC_LIBS # linux-pam depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam depends on !BR2_TOOLCHAIN_USES_UCLIBC # needs wordexp.h depends on BR2_USE_MMU # linux-pam select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_LINUX_PAM help nodm is a minimal display manager that simply logs in as a given user and starts an X session, without asking for username or password. For those cases where automatic login is needed (and does not imply a security issue), nodm is simple to setup, lightweight, and it should do exactly the right thing. https://github.com/spanezz/nodm/ comment "nodm needs a glibc toolchain w/ wchar, locale, dynamic library" depends on BR2_PACKAGE_XORG7 depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL \ || BR2_TOOLCHAIN_USES_UCLIBC
shibajee/buildroot
package/nodm/Config.in
in
mit
975
#!/bin/sh # # Starts nodm # NODM_FIRST_VT=7 NODM_XSESSION=/etc/X11/Xsession NODM_OPTIONS= NODM_X_OPTIONS="-nolisten tcp" NODM_USER=root NODM_MIN_SESSION_TIME=60 NODM_X_TIMEOUT=300 [ -r /etc/default/nodm ] && . /etc/default/nodm export NODM_XSESSION NODM_X_OPTIONS NODM_USER NODM_MIN_SESSION_TIME NODM_FIRST_VT NODM_X_TIMEOUT start() { printf "Starting nodm: " start-stop-daemon -S -q -p /var/run/nodm.pid --exec /usr/sbin/nodm -b -m -S -- ${NODM_OPTIONS} [ $? = 0 ] && echo "OK" || echo "FAIL" } stop() { printf "Stopping nodm: " start-stop-daemon -K -q -p /var/run/nodm.pid [ $? = 0 ] && echo "OK" || echo "FAIL" } restart() { stop sleep 1 start } case "$1" in start) start ;; stop) stop ;; restart|reload) restart ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/nodm/S90nodm
none
mit
811
# locally calculated sha256 840939d27d3d9b02ad09e1cffce24729bcdeee6cea6b3f0037d8ae76b49feecd nodm-0.12-1.tar.gz
shibajee/buildroot
package/nodm/nodm.hash
hash
mit
114
################################################################################ # # nodm # ################################################################################ NODM_VERSION = 0.12-1 NODM_SITE = $(call github,spanezz,nodm,debian/$(NODM_VERSION)) NODM_LICENSE = GPLv2+ NODM_LICENSE_FILES = COPYING NODM_AUTORECONF = YES NODM_DEPENDENCIES = xlib_libX11 linux-pam # help2man doesn't work when cross compiling define NODM_DISABLE_HELP2MAN $(SED) 's/help2man/true/' $(@D)/Makefile.am endef NODM_POST_PATCH_HOOKS += NODM_DISABLE_HELP2MAN define NODM_INSTALL_PAM $(INSTALL) -D -m 0644 package/nodm/nodm.pam \ $(TARGET_DIR)/etc/pam.d/nodm endef NODM_POST_INSTALL_TARGET_HOOKS += NODM_INSTALL_PAM define NODM_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/nodm/S90nodm \ $(TARGET_DIR)/etc/init.d/S90nodm endef $(eval $(autotools-package))
shibajee/buildroot
package/nodm/nodm.mk
mk
mit
858
# Log service and allow promiscuously # auth required pam_warn.so auth required pam_unix.so account required pam_warn.so account required pam_permit.so password required pam_warn.so password required pam_permit.so session required pam_warn.so session required pam_permit.so session required pam_env.so
shibajee/buildroot
package/nodm/nodm.pam
pam
mit
312
config BR2_PACKAGE_NOIP bool "noip" depends on BR2_USE_MMU # fork() help Dynamic DNS update client for no-ip.com http://www.no-ip.com/downloads.php
shibajee/buildroot
package/noip/Config.in
in
mit
158
# Locally calculated sha256 82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593 noip-duc-linux.tar.gz
shibajee/buildroot
package/noip/noip.hash
hash
mit
116
################################################################################ # # noip # ################################################################################ NOIP_VERSION = 2.1.9 NOIP_SITE = http://www.no-ip.com/client/linux NOIP_SOURCE = noip-duc-linux.tar.gz NOIP_LICENSE = GPLv2+ NOIP_LICENSE_FILES = COPYING define NOIP_BUILD_CMDS $(SED) "/^#define CONFIG_FILENAME/ s/PREFIX//" $(@D)/noip2.c $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" PREFIX=/usr CONFDIR=/etc endef define NOIP_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2 endef $(eval $(generic-package))
shibajee/buildroot
package/noip/noip.mk
mk
mit
661
Fix big-endian build breakage in protolib. Patch status: submitted to author via email. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura norm-1.5r6.orig/protolib/include/protoSpace.h norm-1.5r6/protolib/include/protoSpace.h --- norm-1.5r6.orig/protolib/include/protoSpace.h 2016-03-08 19:48:21.326357963 -0300 +++ norm-1.5r6/protolib/include/protoSpace.h 2016-03-08 19:48:46.647234075 -0300 @@ -89,7 +89,7 @@ } #else ProtoTree::Endian GetEndian() const - return ProtoTree::ENDIAN_BIG; + {return ProtoTree::ENDIAN_BIG;} void SetNode(Node* theNode) {memcpy(key+sizeof(double), &theNode, sizeof(Node*));} Node* GetNode() const
shibajee/buildroot
package/norm/0001-fix-bigendian-build.patch
patch
mit
793
The char * to unsigned char * change happened for the libnetfilter_queue 1.0.0 release, not the linux headers. So drop the linux headers version check since it causes more harm than good by trying the old API when the toolchain uses old linux headers with a new-enough libnetfilter_queue. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura norm-1.5r6.orig/protolib/src/linux/linuxDetour.cpp norm-1.5r6/protolib/src/linux/linuxDetour.cpp --- norm-1.5r6.orig/protolib/src/linux/linuxDetour.cpp 2016-03-31 10:17:20.674745597 -0300 +++ norm-1.5r6/protolib/src/linux/linuxDetour.cpp 2016-03-31 10:36:58.923084395 -0300 @@ -16,8 +16,6 @@ #include <linux/if_ether.h> // for ETH_P_IP #include <net/if_arp.h> // for ARPHRD_ETHER -#include <linux/version.h> // for LINUX_VERSION_CODE - /** NOTES: * * 1) This newer implementation of LinuxDetour uses netfilter_queue @@ -591,17 +589,7 @@ // Finally record packet length and cache pointer to IP packet data - // A change to the nfq_get_payload() prototype seemed to kick in around Linux header files - // version 3.6? (This will probably need to be fine tuned for the right version threshold.) - -#define LINUX_VERSION_MAJOR (LINUX_VERSION_CODE/65536) -#define LINUX_VERSION_MINOR ((LINUX_VERSION_CODE - (LINUX_VERSION_MAJOR*65536)) / 256) - -#if ((LINUX_VERSION_MAJOR > 3) || ((LINUX_VERSION_MAJOR == 3) && (LINUX_VERSION_MINOR > 5))) linuxDetour->nfq_pkt_len = nfq_get_payload(nfqData, (unsigned char**)(&linuxDetour->nfq_pkt_data)); -#else - linuxDetour->nfq_pkt_len = nfq_get_payload(nfqData, &linuxDetour->nfq_pkt_data); -#endif // return 0; } // end LinuxDetour::NfqCallback()
shibajee/buildroot
package/norm/0002-protolib-drop-linux-version-check.patch
patch
mit
1,696
Remove kernel header includes causing issues with musl Include the kernel headers from netfilter causes a conflict with the <netinet/in.h> way of defining the IPPROTO_* constants, resulting in the following build failure: In file included from /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/netdb.h:9:0, from /home/peko/autobuild/instance-0/output/build/norm-1.5r6/protolib/include/protoAddress.h:13, from /home/peko/autobuild/instance-0/output/build/norm-1.5r6/protolib/include/protoDetour.h:5, from ../protolib/src/linux/linuxDetour.cpp:3: /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/in.h:28:3: error: expected identifier before numeric constant IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/in.h:28:3: error: expected '}' before numeric constant /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/in.h:28:3: error: expected unqualified-id before numeric constant In file included from /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/netfilter.h:7:0, from /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/netfilter_ipv4.h:8, from ../protolib/src/linux/linuxDetour.cpp:10: /home/peko/autobuild/instance-0/output/host/usr/arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/in.h:79:1: error: expected declaration before '}' token }; ^ Since from musl's developers perspective including kernel headers is seen as being unsafe, we simply duplicate the necessary netfilter definitions (there are just a few) instead of including some kernel headers. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/protolib/src/linux/linuxDetour.cpp =================================================================== --- a/protolib/src/linux/linuxDetour.cpp +++ b/protolib/src/linux/linuxDetour.cpp @@ -7,15 +7,18 @@ #include <stdlib.h> // for atoi(), getenv() #include <stdio.h> #include <unistd.h> // for close() -#include <linux/netfilter_ipv4.h> // for NF_IP_LOCAL_OUT, etc -#include <linux/netfilter_ipv6.h> // for NF_IP6_LOCAL_OUT, etc -#include <linux/netfilter.h> // for NF_ACCEPT, etc #include <libnetfilter_queue/libnetfilter_queue.h> #include <fcntl.h> // for fcntl(), etc #include <linux/if_ether.h> // for ETH_P_IP #include <net/if_arp.h> // for ARPHRD_ETHER +/* From netfilter kernel headers */ +#define NF_IP_LOCAL_OUT 3 + +#define NF_DROP 0 +#define NF_ACCEPT 1 + /** NOTES: * * 1) This newer implementation of LinuxDetour uses netfilter_queue
shibajee/buildroot
package/norm/0003-remove-kernel-headers-include-musl-fix.patch
patch
mit
2,894
comment "norm needs a toolchain w/ C++, threads, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_NORM bool "norm" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help The NORM protocol is designed to provide end-to-end reliable transport of bulk data objects or streams over generic IP multicast routing and forwarding services. http://www.nrl.navy.mil/itd/ncs/products/norm
shibajee/buildroot
package/norm/Config.in
in
mit
520
# Locally calculated sha256 20ea2e8dd5d5e1ff1ff91dc7dab6db53a77d7b7183d8cf2425c215fd294f22a7 src-norm-1.5r6.tgz
shibajee/buildroot
package/norm/norm.hash
hash
mit
112
################################################################################ # # norm # ################################################################################ NORM_VERSION = 1.5r6 NORM_SITE = http://downloads.pf.itd.nrl.navy.mil/norm/archive NORM_SOURCE = src-norm-$(NORM_VERSION).tgz NORM_INSTALL_STAGING = YES NORM_LICENSE = NRL License NORM_LICENSE_FILES = LICENSE.TXT ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y) NORM_DEPENDENCIES += libnetfilter_queue endif define NORM_CONFIGURE_CMDS cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \ ./waf configure --prefix=/usr endef define NORM_BUILD_CMDS cd $(@D); \ $(TARGET_MAKE_ENV) \ ./waf build endef # install target doesn't install headers unfortunately... define NORM_INSTALL_STAGING_CMDS cd $(@D); \ $(TARGET_MAKE_ENV) \ DESTDIR=$(STAGING_DIR) \ ./waf install cp -f $(@D)/include/norm* $(STAGING_DIR)/usr/include endef define NORM_INSTALL_TARGET_CMDS cd $(@D); \ $(TARGET_MAKE_ENV) \ DESTDIR=$(TARGET_DIR) \ ./waf install endef $(eval $(generic-package))
shibajee/buildroot
package/norm/norm.mk
mk
mit
1,041
config BR2_PACKAGE_NSS_MDNS bool "nss-mdns" # libdaemon->avahi uses fork() depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_AVAHI_DAEMON help nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local. http://0pointer.de/lennart/projects/nss-mdns/ comment "nss-mdns needs a glibc toolchain" depends on BR2_USE_MMU && BR2_PACKAGE_AVAHI_DAEMON depends on !BR2_TOOLCHAIN_USES_GLIBC
shibajee/buildroot
package/nss-mdns/Config.in
in
mit
692
# Locally calculated sha256 1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d nss-mdns-0.10.tar.gz
shibajee/buildroot
package/nss-mdns/nss-mdns.hash
hash
mit
114
################################################################################ # # nss-mdns # ################################################################################ NSS_MDNS_VERSION = 0.10 NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns NSS_MDNS_LICENSE = LGPLv2.1+ NSS_MDNS_LICENSE_FILES = LICENSE define NSS_MDNS_INSTALL_CONFIG if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \ $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ fi sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \ $(TARGET_DIR)/etc/nsswitch.conf endef NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG $(eval $(autotools-package))
shibajee/buildroot
package/nss-mdns/nss-mdns.mk
mk
mit
732
config BR2_PACKAGE_NSS_PAM_LDAPD bool "nss-pam-ldapd" depends on BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENLDAP help Name Service Switch (NSS) module that allows your LDAP server to provide user account, group, host name, alias, netgroup, and basically any other information that you would normally get from /etc flat files or NIS. It also provides a Pluggable Authentication Module (PAM) to do authentication to an LDAP server. http://arthurdejong.org/nss-pam-ldapd/ if BR2_PACKAGE_NSS_PAM_LDAPD config BR2_PACKAGE_NSS_PAM_LDAPD_UTILITIES bool "nss-pam-ldapd utilities" help Build/Install command-line utilities. endif comment "nss-pam-ldapd needs a glibc toolchain" depends on !BR2_TOOLCHAIN_USES_GLIBC
shibajee/buildroot
package/nss-pam-ldapd/Config.in
in
mit
747
#!/bin/sh NAME="nslcd" DAEMON="/usr/sbin/${NAME}" case "$1" in start) echo -n "Starting ${NAME}: " start-stop-daemon -S -x ${DAEMON} [ $? -eq 0 ] && echo "OK" || echo "FAIL" ;; stop) echo -n "Stopping ${NAME}: " start-stop-daemon -K -x ${DAEMON} [ $? -eq 0 ] && echo "OK" || echo "FAIL" ;; restart|reload) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart|reload}" exit 1 esac
shibajee/buildroot
package/nss-pam-ldapd/S45nslcd
none
mit
493
[Unit] Description=Naming services LDAP client daemon. After=syslog.target network.target [Service] Type=forking PIDFile=/var/run/nslcd/nslcd.pid ExecStart=/usr/sbin/nslcd [Install] WantedBy=multi-user.target
shibajee/buildroot
package/nss-pam-ldapd/nslcd.service
service
mit
211
# From http://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.9.6.tar.gz.md5 md5 fa5ec49cb54428d6c73e244a11021695 nss-pam-ldapd-0.9.6.tar.gz # Locally computed: sha256 101d5a7fa10549cc77be48d07f2b8141f59182f10f2cc0fea93efd13c3a5a6f2 nss-pam-ldapd-0.9.5.tar.gz
shibajee/buildroot
package/nss-pam-ldapd/nss-pam-ldapd.hash
hash
mit
259
################################################################################ # # nss-pam-ldapd # ################################################################################ NSS_PAM_LDAPD_VERSION = 0.9.6 NSS_PAM_LDAPD_SITE = http://arthurdejong.org/nss-pam-ldapd NSS_PAM_LDAPD_LICENSE = LGPLv2.1+ NSS_PAM_LDAPD_LICENSE_FILES = COPYING NSS_PAM_LDAPD_INSTALL_STAGING = YES NSS_PAM_LDAPD_CONF_OPTS = --disable-sasl NSS_PAM_LDAPD_DEPENDENCIES = openldap ifeq ($(BR2_PACKAGE_NSS_PAM_LDAPD_UTILITIES),y) NSS_PAM_LDAPD_CONF_OPTS += --enable-utils else NSS_PAM_LDAPD_CONF_OPTS += --disable-utils endif ifeq ($(BR2_PACKAGE_LINUX_PAM),y) NSS_PAM_LDAPD_CONF_OPTS += --enable-pam NSS_PAM_LDAPD_DEPENDENCIES += linux-pam else NSS_PAM_LDAPD_CONF_OPTS += --disable-pam endif define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD $(INSTALL) -m 755 -D package/nss-pam-ldapd/nslcd.service \ $(TARGET_DIR)/usr/lib/systemd/system/nslcd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/nslcd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/nslcd.service endef define NSS_PAM_LDAPD_INSTALL_INIT_SYSV $(INSTALL) -m 755 -D package/nss-pam-ldapd/S45nslcd \ $(TARGET_DIR)/etc/init.d/S45nslcd endef define NSS_PAM_LDAPD_USERS nslcd -1 nslcd -1 * - - - nslcd user endef $(eval $(autotools-package))
shibajee/buildroot
package/nss-pam-ldapd/nss-pam-ldapd.mk
mk
mit
1,372
From da021ed297ff7a69f3b7532ef68a9b6877a55265 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 20 Aug 2016 11:05:27 +0200 Subject: [PATCH] libfuse-util: include <paths.h> when needed Both fusermount.c and mount_util.c use _PATH_MOUNTED, so they should include <paths.h>, which provides this definition. This fixes the build with the musl C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- libfuse-lite/fusermount.c | 1 + libfuse-lite/mount_util.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c index 4e724db..680fee1 100644 --- a/libfuse-lite/fusermount.c +++ b/libfuse-lite/fusermount.c @@ -19,6 +19,7 @@ #include <errno.h> #include <fcntl.h> #include <pwd.h> +#include <paths.h> #ifdef __SOLARIS__ #include <sys/mnttab.h> diff --git a/libfuse-lite/mount_util.c b/libfuse-lite/mount_util.c index 8ea5e08..8b31722 100644 --- a/libfuse-lite/mount_util.c +++ b/libfuse-lite/mount_util.c @@ -15,6 +15,7 @@ #include <dirent.h> #include <errno.h> #include <limits.h> +#include <paths.h> #include <sys/stat.h> #include <sys/wait.h> #ifdef __SOLARIS__ -- 2.7.4
shibajee/buildroot
package/ntfs-3g/0001-libfuse-util-include-paths.h-when-needed.patch
patch
mit
1,217
config BR2_PACKAGE_NTFS_3G bool "ntfs-3g" depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU depends on !BR2_STATIC_LIBS help The NTFS-3G driver is an open source, freely available read/write NTFS driver for Linux, FreeBSD, Mac OS X, NetBSD, and Haiku. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems. Most POSIX file system operations are supported, with the exception of full file ownership and access right support. http://www.ntfs-3g.org/ if BR2_PACKAGE_NTFS_3G config BR2_PACKAGE_NTFS_3G_ENCRYPTED bool "encrypted volumes" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBGCRYPT help Enable support for NTFS encrypted volumes. config BR2_PACKAGE_NTFS_3G_NTFSPROGS bool "ntfsprogs" help Install NTFS utilities. endif comment "ntfs-3g needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/ntfs-3g/Config.in
in
mit
1,104
# Locally calculated sha256 d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0 ntfs-3g_ntfsprogs-2016.2.22.tgz
shibajee/buildroot
package/ntfs-3g/ntfs-3g.hash
hash
mit
125
################################################################################ # # ntfs-3g # ################################################################################ NTFS_3G_VERSION = 2016.2.22 NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz NTFS_3G_SITE = http://tuxera.com/opensource NTFS_3G_CONF_OPTS = --disable-ldconfig NTFS_3G_INSTALL_STAGING = YES NTFS_3G_DEPENDENCIES = host-pkgconf NTFS_3G_LICENSE = GPLv2+, LGPLv2+ NTFS_3G_LICENSE_FILES = COPYING COPYING.LIB ifeq ($(BR2_PACKAGE_LIBFUSE),y) NTFS_3G_CONF_OPTS += --with-fuse=external NTFS_3G_DEPENDENCIES += libfuse endif ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) NTFS_3G_DEPENDENCIES += util-linux endif ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y) NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config NTFS_3G_CONF_OPTS += --enable-crypto NTFS_3G_DEPENDENCIES += gnutls libgcrypt endif ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y) NTFS_3G_CONF_OPTS += --disable-ntfsprogs endif $(eval $(autotools-package))
shibajee/buildroot
package/ntfs-3g/ntfs-3g.mk
mk
mit
1,013
Fixes issues with glibc header files, see http://bugs.gentoo.org/show_bug.cgi?id=270483 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Rebase to apply cleanly. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> diff -purN a/include/ntp_syscall.h b/include/ntp_syscall.h --- a/include/ntp_syscall.h 2015-02-11 08:42:37.794576469 -0500 +++ b/include/ntp_syscall.h 2015-02-11 08:43:03.216957279 -0500 @@ -10,6 +10,14 @@ # include <sys/timex.h> #endif +#if defined(ADJ_NANO) && !defined(MOD_NANO) +#define MOD_NANO ADJ_NANO +#endif + +#if defined(ADJ_TAI) && !defined(MOD_TAI) +#define MOD_TAI ADJ_TAI +#endif + #ifndef NTP_SYSCALLS_LIBC # ifdef NTP_SYSCALLS_STD # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))
shibajee/buildroot
package/ntp/0001-nano.patch
patch
mit
747
inline ntp syscalls fallback Reference: https://bugs.ntp.org/show_bug.cgi?id=769 Signed-off-by: James Knight <james.knight@rockwellcollins.com> --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -1523,11 +1523,11 @@ AC_CACHE_CHECK( [ntp_cv_var_ntp_syscalls], [ ntp_cv_var_ntp_syscalls=no - case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in + case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex$ac_cv_func_adjtimex" in yesyes*) ntp_cv_var_ntp_syscalls=libc ;; - *yes) + *yesyes | *yesno | *noyes) ntp_cv_var_ntp_syscalls=inline ;; *)
shibajee/buildroot
package/ntp/0002-ntp-syscalls-fallback.patch
patch
mit
740
config BR2_PACKAGE_NTP bool "ntp" select BR2_PACKAGE_LIBEVENT help Network Time Protocol suite/programs. Provides things like ntpd, ntpdate, ntpq, etc... http://www.ntp.org/ if BR2_PACKAGE_NTP config BR2_PACKAGE_NTP_SNTP bool "sntp" help Simple network time protocol program config BR2_PACKAGE_NTP_NTP_KEYGEN bool "ntp-keygen" help Create a NTP host key config BR2_PACKAGE_NTP_NTP_SHM_CLK bool "SHM clock support" help Compile ntp with support for a SHM clock attached through shared memory. config BR2_PACKAGE_NTP_NTP_WAIT bool "ntp-wait" depends on BR2_PACKAGE_PERL help ntp-wait waits until the locally running ntpd is in state 4 (synchronized). This could be useful at boot time, to delay the boot sequence until after "ntpd -g" has set the time. config BR2_PACKAGE_NTP_NTPD bool "ntpd" default y help ntpd is the time synchronization daemon keeping your local system date and time in sync and optionally serving time and date information on the network via the NTP protocol. config BR2_PACKAGE_NTP_NTPD_ATOM_PPS bool "PPS support" depends on BR2_PACKAGE_NTP_NTPD select BR2_PACKAGE_PPS_TOOLS help Compile ntpd with the ability to use an ATOM PPS source. config BR2_PACKAGE_NTP_NTPDATE bool "ntpdate" help The ntpdate utility program is used to set the local date and time from an NTP server given as an argument. config BR2_PACKAGE_NTP_NTPDC bool "ntpdc" help The ntpdc utility program is used to query an NTP daemon about its current state and to request changes in that state. config BR2_PACKAGE_NTP_NTPQ bool "ntpq" help The ntpq utility program is used to query NTP servers requesting information about current state and/or changes in that state. config BR2_PACKAGE_NTP_NTPSNMPD bool "ntpsnmpd" depends on BR2_USE_MMU # netsnmp fork() select BR2_PACKAGE_NETSNMP help Install ntpsnmpd NTP SNMP MIB agent. config BR2_PACKAGE_NTP_NTPTIME bool "ntptime" help The ntptime utility program is used to read and set kernel time variables. config BR2_PACKAGE_NTP_NTPTRACE bool "ntptrace" depends on BR2_PACKAGE_PERL help ntptrace is a perl script that uses the ntpq utility program to follow the chain of NTP servers from a given host back to the primary time source config BR2_PACKAGE_NTP_TICKADJ bool "tickadj" help set time-related kernel variables endif
shibajee/buildroot
package/ntp/Config.in
in
mit
2,390
#! /bin/sh NAME=ntpd DAEMON=/usr/sbin/$NAME # Gracefully exit if the package has been removed. test -x $DAEMON || exit 0 # Read config file if it is present. if [ -r /etc/default/$NAME ] then . /etc/default/$NAME fi case "$1" in start) printf "Starting $NAME: " start-stop-daemon -S -q -x $DAEMON -- -g [ $? = 0 ] && echo "OK" || echo "FAIL" ;; stop) printf "Stopping $NAME: " start-stop-daemon -K -q -n $NAME [ $? = 0 ] && echo "OK" || echo "FAIL" ;; restart|reload) echo "Restarting $NAME: " $0 stop sleep 1 $0 start ;; *) echo "Usage: $0 {start|stop|restart|reload}" >&2 exit 1 ;; esac exit 0
shibajee/buildroot
package/ntp/S49ntp
none
mit
675
# From http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p8.tar.gz.md5 md5 4a8636260435b230636f053ffd070e34 ntp-4.2.8p8.tar.gz # Calculated based on the hash above sha256 2ab3d0b5f0456e6311dda1cc27ab75da108762773a19e46abd938bd9407b97ee ntp-4.2.8p8.tar.gz
shibajee/buildroot
package/ntp/ntp.hash
hash
mit
268
################################################################################ # # ntp # ################################################################################ NTP_VERSION_MAJOR = 4.2 NTP_VERSION = $(NTP_VERSION_MAJOR).8p8 NTP_SITE = http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR) NTP_DEPENDENCIES = host-pkgconf libevent $(if $(BR2_PACKAGE_BUSYBOX),busybox) NTP_LICENSE = ntp license NTP_LICENSE_FILES = COPYRIGHT NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no NTP_CONF_OPTS = \ --with-shared \ --program-transform-name=s,,, \ --disable-tickadj \ --disable-debugging \ --with-yielding-select=yes \ --disable-local-libevent # 0002-ntp-syscalls-fallback.patch NTP_AUTORECONF = YES ifeq ($(BR2_PACKAGE_OPENSSL),y) NTP_CONF_OPTS += --with-crypto NTP_DEPENDENCIES += openssl else NTP_CONF_OPTS += --without-crypto --disable-openssl-random endif ifeq ($(BR2_PACKAGE_NTP_NTPSNMPD),y) NTP_CONF_OPTS += \ --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config NTP_DEPENDENCIES += netsnmp else NTP_CONF_OPTS += --without-ntpsnmpd endif ifeq ($(BR2_PACKAGE_NTP_NTPD_ATOM_PPS),y) NTP_CONF_OPTS += --enable-ATOM NTP_DEPENDENCIES += pps-tools else NTP_CONF_OPTS += --disable-ATOM endif ifeq ($(BR2_PACKAGE_NTP_NTP_SHM_CLK),y) NTP_CONF_OPTS += --enable-SHM else NTP_CONF_OPTS += --disable-SHM endif NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait/ntp-wait NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDC) += ntpdc/ntpdc NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPQ) += ntpq/ntpq NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPSNMPD) += ntpsnmpd/ntpsnmpd NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTIME) += util/ntptime NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTRACE) += scripts/ntptrace/ntptrace NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_SNTP) += sntp/sntp NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj define NTP_INSTALL_TARGET_CMDS $(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd) test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/ $(INSTALL) -m 644 package/ntp/ntpd.etc.conf $(TARGET_DIR)/etc/ntp.conf endef ifeq ($(BR2_PACKAGE_NTP_NTPD),y) define NTP_INSTALL_INIT_SYSV $(INSTALL) -D -m 755 package/ntp/S49ntp $(TARGET_DIR)/etc/init.d/S49ntp endef define NTP_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/ntpd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ntpd.service endef endif $(eval $(autotools-package))
shibajee/buildroot
package/ntp/ntp.mk
mk
mit
2,802
server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst server 2.pool.ntp.org iburst server 3.pool.ntp.org iburst # Allow only time queries, at a limited rate, sending KoD when in excess. # Allow all local queries (IPv4, IPv6) restrict default nomodify nopeer noquery limited kod restrict 127.0.0.1 restrict [::1]
shibajee/buildroot
package/ntp/ntpd.etc.conf
INI
mit
317
[Unit] Description=Network Time Service After=network.target [Service] Type=forking PIDFile=/run/ntpd.pid ExecStart=/usr/sbin/ntpd -g -p /run/ntpd.pid [Install] WantedBy=multi-user.target
shibajee/buildroot
package/ntp/ntpd.service
service
mit
190
config BR2_PACKAGE_NUMACTL bool "numactl" # numactl uses some system calls that are not available on all # architectures. depends on BR2_i386 || BR2_mips || BR2_mipsel || \ BR2_mips64 || BR2_mips64el || BR2_powerpc || BR2_x86_64 help numactl allows you to run your application on specific cpus and memory nodes. It does this by supplying a NUMA memory policy to the operating system before running your program. http://oss.sgi.com/projects/libnuma/
shibajee/buildroot
package/numactl/Config.in
in
mit
469
# Locally calculated sha256 450c091235f891ee874a8651b179c30f57a1391ca5c4673354740ba65e527861 numactl-2.0.11.tar.gz sha256 1f4c813cc8c81fa4dfd0be959457a5c3de8fc3316bbc80de3aa1d9ef9992b2b6 3770bdc4fa7b9059db5cd2aa8bb09b50fa15e456.patch sha256 0c4cb6550b46976f2a21087490420b218e62ead7d9b178120ad782d53a7ad3a6 31dc2951c758698bff060aeae8ffd8854616183b.patch
shibajee/buildroot
package/numactl/numactl.hash
hash
mit
353
################################################################################ # # numactl # ################################################################################ NUMACTL_VERSION = 2.0.11 NUMACTL_SITE = ftp://oss.sgi.com/www/projects/libnuma/download NUMACTL_PATCH = \ https://github.com/numactl/numactl/commit/3770bdc4fa7b9059db5cd2aa8bb09b50fa15e456.patch \ https://github.com/numactl/numactl/commit/31dc2951c758698bff060aeae8ffd8854616183b.patch NUMACTL_LICENSE = LGPLv2.1 (libnuma), GPLv2 (programs) NUMACTL_LICENSE_FILES = README NUMACTL_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/numactl/numactl.mk
mk
mit
611
configure: fix calls to {gdlib,net-snmp}-config nut directly calls to {gdlib,net-snmp}-config. In Buildroot, those are not in the PATH, and nut would catch those of the system (if they are installed), or miss them entirely. Fix that by using environment variables that will tell where to look for them. Note: libusb also uses libusb-config, but only as a fallback if pkg-config fails. Since we ensure that pkg-config exists, and libusb is properly installed before we build nut, there is no need to fix the libusb-config calls, since they won't be called at all. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN nut-2.6.5.orig/m4/nut_check_libgd.m4 nut-2.6.5/m4/nut_check_libgd.m4 --- nut-2.6.5.orig/m4/nut_check_libgd.m4 2012-07-31 19:38:56.000000000 +0200 +++ nut-2.6.5/m4/nut_check_libgd.m4 2013-11-01 16:24:02.626549810 +0100 @@ -20,7 +20,7 @@ LIBS="-lgd -lpng -lz -ljpeg -lfreetype -lm -lXpm -lX11" AC_MSG_CHECKING(for gd version via gdlib-config) - GD_VERSION=`gdlib-config --version 2>/dev/null` + GD_VERSION=`${GDLIB_CONFIG} --version 2>/dev/null` if test "$?" != "0" -o -z "${GD_VERSION}"; then GD_VERSION="none" fi @@ -34,9 +34,9 @@ AC_MSG_WARN([[If gd detection fails, upgrade gd or use --with-gd-includes and --with-gd-libs]]) ;; *) - CFLAGS="`gdlib-config --includes 2>/dev/null`" - LDFLAGS="`gdlib-config --ldflags 2>/dev/null`" - LIBS="`gdlib-config --libs 2>/dev/null`" + CFLAGS="`${GDLIB_CONFIG} --includes 2>/dev/null`" + LDFLAGS="`${GDLIB_CONFIG} --ldflags 2>/dev/null`" + LIBS="`${GDLIB_CONFIG} --libs 2>/dev/null`" ;; esac diff -durN nut-2.6.5.orig/m4/nut_check_libnetsnmp.m4 nut-2.6.5/m4/nut_check_libnetsnmp.m4 --- nut-2.6.5.orig/m4/nut_check_libnetsnmp.m4 2012-07-31 19:38:56.000000000 +0200 +++ nut-2.6.5/m4/nut_check_libnetsnmp.m4 2013-11-01 16:30:07.398282923 +0100 @@ -15,7 +15,7 @@ dnl See which version of the Net-SNMP library (if any) is installed AC_MSG_CHECKING(for Net-SNMP version via net-snmp-config) - SNMP_VERSION=`net-snmp-config --version 2>/dev/null` + SNMP_VERSION=`${NET_SNMP_CONFIG} --version 2>/dev/null` if test "$?" != "0" -o -z "${SNMP_VERSION}"; then SNMP_VERSION="none" fi @@ -33,7 +33,7 @@ CFLAGS="${withval}" ;; esac - ], [CFLAGS="`net-snmp-config --base-cflags 2>/dev/null`"]) + ], [CFLAGS="`${NET_SNMP_CONFIG} --base-cflags 2>/dev/null`"]) AC_MSG_RESULT([${CFLAGS}]) AC_MSG_CHECKING(for Net-SNMP libs) @@ -48,7 +48,7 @@ LIBS="${withval}" ;; esac - ], [LIBS="`net-snmp-config --libs 2>/dev/null`"]) + ], [LIBS="`${NET_SNMP_CONFIG} --libs 2>/dev/null`"]) AC_MSG_RESULT([${LIBS}]) dnl Check if the Net-SNMP library is usable
shibajee/buildroot
package/nut/0001-foo-config.patch
patch
mit
2,681
conf: fix parallel install Do not reference the upsmon.conf.sample twice, otherwise install, with a high number of make jobs, may fail, like so: http://autobuild.buildroot.net/results/256/2567e13cd5bc702bc3a38a1d6fc8e34022cc7db5/build-end.log Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- Upstream status: https://github.com/networkupstools/nut/pull/147 diff -durB nut-2.7.2.orig/conf/Makefile.am nut-2.7.2/conf/Makefile.am --- nut-2.7.2.orig/conf/Makefile.am 2014-02-14 09:56:53.000000000 +0100 +++ nut-2.7.2/conf/Makefile.am 2014-08-17 11:33:46.804439240 +0200 @@ -2,7 +2,7 @@ INSTALL_0600 = $(INSTALL) -m 0600 -SECFILES = upsmon.conf.sample upsd.conf.sample upsd.users.sample +SECFILES = upsd.conf.sample upsd.users.sample PUBFILES = nut.conf.sample ups.conf.sample CGIPUB = hosts.conf.sample upsset.conf.sample upsstats.html.sample \ upsstats-single.html.sample
shibajee/buildroot
package/nut/0002-parallel-build.patch
patch
mit
902
comment "nut needs a toolchain w/ C++" depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP config BR2_PACKAGE_NUT bool "nut" depends on BR2_USE_MMU # fork() depends on BR2_INSTALL_LIBSTDCPP help Network UPS tools The primary goal of the Network UPS Tools (NUT) project is to provide support for Power Devices, such as Uninterruptible Power Supplies, Power Distribution Units and Solar Controllers. http://www.networkupstools.org/ if BR2_PACKAGE_NUT config BR2_PACKAGE_NUT_DRIVERS string "drivers" help Select the individual drivers to enable, in a comma-separated list. Leave empty for all. endif # BR2_PACKAGE_NUT
shibajee/buildroot
package/nut/Config.in
in
mit
655
# From http://www.networkupstools.org/source/2.7/nut-2.7.2.tar.gz.sha256 sha256 4d5365359b059d96dfcb77458f361a114d26c84f1297ffcd0c6c166f7200376d nut-2.7.2.tar.gz
shibajee/buildroot
package/nut/nut.hash
hash
mit
162
################################################################################ # # nut # ################################################################################ NUT_VERSION_MAJOR = 2.7 NUT_VERSION = $(NUT_VERSION_MAJOR).2 NUT_SITE = http://www.networkupstools.org/source/$(NUT_VERSION_MAJOR) NUT_LICENSE = GPLv2+, GPLv3+ (python scripts), GPL/Artistic (perl client) NUT_LICENSE_FILES = COPYING LICENSE-GPL2 LICENSE-GPL3 NUT_DEPENDENCIES = host-pkgconf # Our patch changes m4 macros, so we need to autoreconf NUT_AUTORECONF = YES # Put the PID files in a read-write place (/var/run is a tmpfs) # since the default location (/var/state/ups) maybe readonly. NUT_CONF_OPTS = \ --with-altpidpath=/var/run/upsd \ --without-hal NUT_CONF_ENV = \ GDLIB_CONFIG=$(STAGING_DIR)/usr/bin/gdlib-config \ NET_SNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config # For uClibc-based toolchains, nut forgets to link with -lm ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) NUT_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lm" endif ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) NUT_CONF_OPTS += --with-drivers=all else NUT_CONF_OPTS += --with-drivers=$(BR2_PACKAGE_NUT_DRIVERS) endif ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_DBUS),yy) NUT_DEPENDENCIES += avahi dbus NUT_CONF_OPTS += --with-avahi else NUT_CONF_OPTS += --without-avahi endif # gd with support for png is required for the CGI ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) NUT_DEPENDENCIES += gd libpng NUT_CONF_OPTS += --with-cgi else NUT_CONF_OPTS += --without-cgi endif # nut-scanner needs libltdl, which is a wrapper arounf dlopen/dlsym, # so is not available for static-only builds. # There is no flag to directly enable/disable nut-scanner, it's done # via the --enable/disable-libltdl flag. ifeq ($(BR2_STATIC_LIBS):$(BR2_PACKAGE_LIBTOOL),:y) NUT_DEPENDENCIES += libtool NUT_CONF_OPTS += --with-libltdl else NUT_CONF_OPTS += --without-libltdl endif ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) NUT_DEPENDENCIES += libusb-compat NUT_CONF_OPTS += --with-usb else NUT_CONF_OPTS += --without-usb endif ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),y) NUT_DEPENDENCIES += neon NUT_CONF_OPTS += --with-neon else NUT_CONF_OPTS += --without-neon endif ifeq ($(BR2_PACKAGE_NETSNMP),y) NUT_DEPENDENCIES += netsnmp NUT_CONF_OPTS += --with-snmp else NUT_CONF_OPTS += --without-snmp endif ifeq ($(BR2_PACKAGE_OPENSSL),y) NUT_DEPENDENCIES += openssl NUT_CONF_OPTS += --with-ssl else NUT_CONF_OPTS += --without-ssl endif $(eval $(autotools-package))
shibajee/buildroot
package/nut/nut.mk
mk
mit
2,510
[PATCH] Replace susv3 legacy function with modern equivalents Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> --- nuttcp-6.1.2.c | 90 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Index: nuttcp-6.1.2/nuttcp-6.1.2.c =================================================================== --- nuttcp-6.1.2.orig/nuttcp-6.1.2.c +++ nuttcp-6.1.2/nuttcp-6.1.2.c @@ -1925,11 +1925,11 @@ if (udp && !haverateopt) rate = DEFAULT_UDP_RATE; - bzero((char *)&frominet, sizeof(frominet)); - bzero((char *)&clientaddr, sizeof(clientaddr)); + memset((char *)&frominet, 0, sizeof(frominet)); + memset((char *)&clientaddr, 0, sizeof(clientaddr)); #ifdef AF_INET6 - bzero((char *)&clientaddr6, sizeof(clientaddr6)); + memset((char *)&clientaddr6, 0, sizeof(clientaddr6)); clientscope6 = 0; #endif @@ -1985,7 +1985,7 @@ } while (stream_idx <= nstream) { - bzero(&hints, sizeof(hints)); + memset(&hints, 0, sizeof(hints)); res[stream_idx] = NULL; if (explicitaf) hints.ai_family = af; if ((cp2 = strchr(cp1, '/'))) { @@ -3013,12 +3013,12 @@ if ((stream_idx > 0) && skip_data) break; - bzero((char *)&sinme[stream_idx], sizeof(sinme[stream_idx])); - bzero((char *)&sinhim[stream_idx], sizeof(sinhim[stream_idx])); + memset((char *)&sinme[stream_idx], 0, sizeof(sinme[stream_idx])); + memset((char *)&sinhim[stream_idx], 0, sizeof(sinhim[stream_idx])); #ifdef AF_INET6 - bzero((char *)&sinme6[stream_idx], sizeof(sinme6[stream_idx])); - bzero((char *)&sinhim6[stream_idx], sizeof(sinhim6[stream_idx])); + memset((char *)&sinme6[stream_idx], 0, sizeof(sinme6[stream_idx])); + memset((char *)&sinhim6[stream_idx], 0, sizeof(sinhim6[stream_idx])); #endif if (((trans && !reverse) && (stream_idx > 0)) || @@ -3028,15 +3028,15 @@ if (client) { if (af == AF_INET) { sinhim[stream_idx].sin_family = af; - bcopy((char *)&(((struct sockaddr_in *)res[stream_idx]->ai_addr)->sin_addr), - (char *)&sinhim[stream_idx].sin_addr.s_addr, + memcpy((char *)&sinhim[stream_idx].sin_addr.s_addr, + (char *)&(((struct sockaddr_in *)res[stream_idx]->ai_addr)->sin_addr), sizeof(sinhim[stream_idx].sin_addr.s_addr)); } #ifdef AF_INET6 else if (af == AF_INET6) { sinhim6[stream_idx].sin6_family = af; - bcopy((char *)&(((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_addr), - (char *)&sinhim6[stream_idx].sin6_addr.s6_addr, + memcpy((char *)&sinhim6[stream_idx].sin6_addr.s6_addr, + (char *)&(((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_addr), sizeof(sinhim6[stream_idx].sin6_addr.s6_addr)); sinhim6[stream_idx].sin6_scope_id = ((struct sockaddr_in6 *)res[stream_idx]->ai_addr)->sin6_scope_id; } @@ -3113,8 +3113,8 @@ * to the multicast group */ if (af == AF_INET) { - bcopy((char *)&sinhim[1].sin_addr.s_addr, - (char *)&save_sinhim.sin_addr.s_addr, + memcpy((char *)&save_sinhim.sin_addr.s_addr, + (char *)&sinhim[1].sin_addr.s_addr, sizeof(struct in_addr)); if (!client && (irvers >= 50505)) { struct sockaddr_in peer; @@ -3124,8 +3124,8 @@ &peerlen) < 0) { err("getpeername"); } - bcopy((char *)&peer.sin_addr.s_addr, - (char *)&sinhim[1].sin_addr.s_addr, + memcpy((char *)&sinhim[1].sin_addr.s_addr, + (char *)&peer.sin_addr.s_addr, sizeof(struct in_addr)); } else { @@ -3136,8 +3136,8 @@ &melen) < 0) { err("getsockname"); } - bcopy((char *)&me.sin_addr.s_addr, - (char *)&sinhim[1].sin_addr.s_addr, + memcpy((char *)&sinhim[1].sin_addr.s_addr, + (char *)&me.sin_addr.s_addr, sizeof(struct in_addr)); } sinhim[1].sin_addr.s_addr &= @@ -4197,13 +4197,13 @@ &melen) < 0) { err("getsockname"); } - bcopy((char *)&me.sin_addr.s_addr, - (char *)&mc_group.imr_multiaddr.s_addr, + memcpy((char *)&mc_group.imr_multiaddr.s_addr, + (char *)&me.sin_addr.s_addr, sizeof(struct in_addr)); } else { - bcopy((char *)&peer.sin_addr.s_addr, - (char *)&mc_group.imr_multiaddr.s_addr, + memcpy((char *)&mc_group.imr_multiaddr.s_addr, + (char *)&peer.sin_addr.s_addr, sizeof(struct in_addr)); } mc_group.imr_multiaddr.s_addr &= htonl(0xFFFFFF); @@ -4330,12 +4330,12 @@ if(udp) { strcpy(buf, "BOD0"); if (multicast) { - bcopy((char *)&sinhim[1].sin_addr.s_addr, - (char *)&save_mc.sin_addr.s_addr, - sizeof(struct in_addr)); - bcopy((char *)&save_sinhim.sin_addr.s_addr, + memcpy((char *)&save_mc.sin_addr.s_addr, (char *)&sinhim[1].sin_addr.s_addr, sizeof(struct in_addr)); + memcpy((char *)&sinhim[1].sin_addr.s_addr, + (char *)&save_sinhim.sin_addr.s_addr, + sizeof(struct in_addr)); } (void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr start */ if (two_bod) { @@ -4344,8 +4344,8 @@ (void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr start */ } if (multicast) { - bcopy((char *)&save_mc.sin_addr.s_addr, - (char *)&sinhim[1].sin_addr.s_addr, + memcpy((char *)&sinhim[1].sin_addr.s_addr, + (char *)&save_mc.sin_addr.s_addr, sizeof(struct in_addr)); } if (timeout) @@ -4361,7 +4361,7 @@ fflush(stdout); } if (udplossinfo) - bcopy(&nbytes, buf + 24, 8); + memcpy(buf + 24, &nbytes, 8); if (!udp && interval && !(format & NORETRANS) && ((retransinfo == 1) || ((retransinfo >= 2) && @@ -4372,13 +4372,13 @@ tmp = 0x5254524Eu; /* "RTRN" */ else tmp = 0x48525452u; /* "HRTR" */ - bcopy(&nretrans, buf + 24, 4); - bcopy(&tmp, buf + 28, 4); + memcpy(buf + 24, &nretrans, 4); + memcpy(buf + 28, &tmp, 4); } else { send_retrans = 0; if (!udp) - bzero(buf + 24, 8); + memset(buf + 24, 0, 8); } if (nbuf == INT_MAX) nbuf = ULLONG_MAX; @@ -4423,12 +4423,12 @@ nbytes += buflen; cnt = 0; if (udplossinfo) - bcopy(&nbytes, buf + 24, 8); + memcpy(buf + 24, &nbytes, 8); if (send_retrans) { nretrans = get_retrans( fd[stream_idx + 1]); nretrans -= iretrans; - bcopy(&nretrans, buf + 24, 4); + memcpy(buf + 24, &nretrans, 4); } stream_idx++; stream_idx = stream_idx % nstream; @@ -4523,8 +4523,8 @@ nbytes += cnt; if(udp) { if (multicast) - bcopy((char *)&save_sinhim.sin_addr.s_addr, - (char *)&sinhim[1].sin_addr.s_addr, + memcpy((char *)&sinhim[1].sin_addr.s_addr, + (char *)&save_sinhim.sin_addr.s_addr, sizeof(struct in_addr)); strcpy(buf, "EOD0"); (void)Nwrite( fd[stream_idx + 1], buf, 4 ); /* rcvr end */ @@ -4532,7 +4532,7 @@ } else { first_read = 1; need_swap = 0; - bzero(buf + 24, 8); + memset(buf + 24, 0, 8); if (udp) { ntbytesc = 0; got_eod0 = 0; @@ -4584,7 +4584,7 @@ * goes off right here */ if (udplossinfo) { if (first_read) { - bcopy(buf + 24, &ntbytesc, + memcpy(&ntbytesc, buf + 24, 8); first_read = 0; if (ntbytesc > 0x100000000ull) @@ -4598,7 +4598,7 @@ } } if (!need_swap) - bcopy(buf + 24, &ntbytesc, + memcpy(&ntbytesc, buf + 24, 8); else { cp1 = (char *)&ntbytesc; @@ -4627,8 +4627,8 @@ uint32_t tmp; first_read = 0; - bcopy(buf + 24, &nretrans, 4); - bcopy(buf + 28, &tmp, 4); + memcpy(&nretrans, buf + 24, 4); + memcpy(&tmp, buf + 28, 4); if (tmp == 0x5254524Eu) { /* "RTRN" */ retransinfo = 1; @@ -4661,7 +4661,7 @@ } if (read_retrans) { if (!need_swap) - bcopy(buf + 24, &nretrans, + memcpy(&nretrans, buf + 24, 4); else { cp1 = (char *)&nretrans; @@ -5327,10 +5327,10 @@ itimer.it_interval.tv_usec = 0; setitimer(ITIMER_REAL, &itimer, 0); signal(SIGALRM, SIG_DFL); - bzero((char *)&frominet, sizeof(frominet)); - bzero((char *)&clientaddr, sizeof(clientaddr)); + memset((char *)&frominet, 0, sizeof(frominet)); + memset((char *)&clientaddr, 0, sizeof(clientaddr)); #ifdef AF_INET6 - bzero((char *)&clientaddr6, sizeof(clientaddr)); + memset((char *)&clientaddr6, 0, sizeof(clientaddr)); clientscope6 = 0; #endif cput = 0.000001;
shibajee/buildroot
package/nuttcp/0001-susv3-legacy.patch
patch
mit
8,646
config BR2_PACKAGE_NUTTCP bool "nuttcp" depends on BR2_USE_MMU # fork() help nuttcp is a TCP/UDP network testing tool, much like iperf http://nuttcp.net
shibajee/buildroot
package/nuttcp/Config.in
in
mit
163
# From http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2009-August/170685.html sha256 054e96d9d68fe917df6f25fab15c7755bdd480f6420d7d48d9194a1a52378169 nuttcp-6.1.2.tar.bz2
shibajee/buildroot
package/nuttcp/nuttcp.hash
hash
mit
179
################################################################################ # # nuttcp # ################################################################################ NUTTCP_VERSION = 6.1.2 NUTTCP_SITE = http://nuttcp.net/nuttcp NUTTCP_SOURCE = nuttcp-$(NUTTCP_VERSION).tar.bz2 NUTTCP_LICENSE = GPLv2 NUTTCP_LICENSE_FILES = LICENSE define NUTTCP_BUILD_CMDS $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \ -C $(@D) all endef define NUTTCP_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/nuttcp-$(NUTTCP_VERSION) \ $(TARGET_DIR)/usr/bin/nuttcp endef $(eval $(generic-package))
shibajee/buildroot
package/nuttcp/nuttcp.mk
mk
mit
606
comment "nvidia-driver needs a glibc toolchain" depends on BR2_i386 || BR2_x86_64 depends on !BR2_TOOLCHAIN_USES_GLIBC config BR2_PACKAGE_NVIDIA_DRIVER bool "nvidia-driver" depends on BR2_i386 || BR2_x86_64 depends on BR2_TOOLCHAIN_USES_GLIBC help The binary-only driver blob for NVidia cards. This is the userland part only. http://www.nvidia.com/ if BR2_PACKAGE_NVIDIA_DRIVER comment "nvidia-driver X.org drivers needs a modular Xorg server" depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR config BR2_PACKAGE_NVIDIA_DRIVER_XORG bool "X.org drivers" default y depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR select BR2_PACKAGE_MESA3D_HEADERS select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_HAS_LIBGL select BR2_PACKAGE_HAS_LIBEGL select BR2_PACKAGE_HAS_LIBGLES if BR2_PACKAGE_NVIDIA_DRIVER_XORG config BR2_PACKAGE_PROVIDES_LIBGL default "nvidia-driver" config BR2_PACKAGE_PROVIDES_LIBEGL default "nvidia-driver" config BR2_PACKAGE_PROVIDES_LIBGLES default "nvidia-driver" config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS bool "Install private libraries" help Two libraries require special agreement with NVidia to develop code linking to those libraries: libnvidia-ifr.so and libnvidia-fbc.so (to grab and encode an OpenGL buffer or an X framebuffer.) Say 'y' here if you plan on running a program that uses those private libraries. endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG config BR2_PACKAGE_NVIDIA_DRIVER_CUDA bool "CUDA support" if BR2_PACKAGE_NVIDIA_DRIVER_CUDA config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL bool "OpenCL support" config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS bool "CUDA MPS server and control" depends on BR2_x86_64 help Say 'y' here if you need to run more than one program doing CUDA at the same time. The MPS server will be launched automatically when needed. endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA comment "nvidia kernel module needs a kernel to be built" depends on !BR2_LINUX_KERNEL config BR2_PACKAGE_NVIDIA_DRIVER_MODULE bool "nvidia kernel module" depends on BR2_LINUX_KERNEL select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra help Build the nvidia.ko kernel module. If CUDA support (above) is set, and the target is x86_64, then this will also build the nvidia-uvm.ko kernel module, which provides Unified Memory access to the GPU and CPU memories for CUDA programs. endif # BR2_PACKAGE_NVIDIA_DRIVER
shibajee/buildroot
package/nvidia-driver/Config.in
in
mit
2,476
prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: gl Description: Nvidia OpenGL library Version: 10.4.2 Libs: -L${libdir} -lGL -lm -lXext -lX11 -ldl Cflags: -I${includedir} -DMESA_EGL_NO_X11_HEADERS glx_tls: no
shibajee/buildroot
package/nvidia-driver/gl.pc
pc
mit
258
# Locally computed sha256 d3a2842cbfb1163e20c658fbfaf5a235d5c9f035cd2d657f15df8a14b3fe80b1 NVIDIA-Linux-x86-358.16.run sha256 a942cdb29ed715ff1ce25beb06b6c2490126b98ef8bee5d9973967b557596bf2 NVIDIA-Linux-x86_64-358.16.run
shibajee/buildroot
package/nvidia-driver/nvidia-driver.hash
hash
mit
222
################################################################################ # # nvidia-driver # ################################################################################ NVIDIA_DRIVER_VERSION = 358.16 NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64) NVIDIA_DRIVER_SITE = ftp://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION) NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION).run NVIDIA_DRIVER_LICENSE = NVIDIA Software License NVIDIA_DRIVER_LICENSE_FILES = LICENSE NVIDIA_DRIVER_REDISTRIBUTE = NO NVIDIA_DRIVER_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_XORG),y) # Since nvidia-driver are binary blobs, the below dependencies are not # strictly speaking build dependencies of nvidia-driver. However, they # are build dependencies of packages that depend on nvidia-driver, so # they should be built prior to those packages, and the only simple # way to do so is to make nvidia-driver depend on them. NVIDIA_DRIVER_DEPENDENCIES = mesa3d-headers xlib_libX11 xlib_libXext NVIDIA_DRIVER_PROVIDES = libgl libegl libgles # We have two variables that contains a list of libraries to install: # NVIDIA_DRIVER_LIBS # contains the libraries whose filename end up in .so.$(VERSION); rather # than duplicate the version string for all of them, we just store their # basename, and append the version string below. # NVIDIA_DRIVER_LIBS_NO_VERSION # contains all libraries the do not use the NVidia version; since there # is currently only one such library, we store its full name. # Each line corresponds to a specific set of libraries NVIDIA_DRIVER_LIBS = \ libEGL libGLESv1_CM libGLESv2 libGL \ libnvidia-glcore libnvidia-eglcore libnvidia-glsi \ tls/libnvidia-tls \ libvdpau libvdpau_nvidia \ libnvidia-ml # Install the gl.pc file define NVIDIA_DRIVER_INSTALL_GL_DEV $(INSTALL) -D -m 0644 $(@D)/libGL.la $(STAGING_DIR)/usr/lib/libGL.la $(SED) 's:__GENERATED_BY__:Buildroot:' $(STAGING_DIR)/usr/lib/libGL.la $(SED) 's:__LIBGL_PATH__:/usr/lib:' $(STAGING_DIR)/usr/lib/libGL.la $(SED) 's:-L[^[:space:]]\+::' $(STAGING_DIR)/usr/lib/libGL.la $(INSTALL) -D -m 0644 package/nvidia-driver/gl.pc $(STAGING_DIR)/usr/lib/pkgconfig/gl.pc endef # Those libraries are 'private' libraries requiring an agreement with # NVidia to develop code for those libs. There seems to be no restriction # on using those libraries (e.g. if the user has such an agreement, or # wants to run a third-party program developped under such an agreement). ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS),y) NVIDIA_DRIVER_LIBS += libnvidia-ifr libnvidia-fbc endif # We refer to the destination path; the origin file has no directory component NVIDIA_DRIVER_X_MODS = drivers/nvidia_drv.so \ extensions/libglx.so.$(NVIDIA_DRIVER_VERSION) \ libnvidia-wfb.so.$(NVIDIA_DRIVER_VERSION) endif # X drivers ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA),y) NVIDIA_DRIVER_LIBS += libcuda libnvidia-compiler libnvcuvid libnvidia-encode ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS),y) NVIDIA_DRIVER_PROGS = nvidia-cuda-mps-control nvidia-cuda-mps-server endif endif ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_OPENCL),y) NVIDIA_DRIVER_LIBS_NO_VERSION += libOpenCL.so.1.0.0 NVIDIA_DRIVER_LIBS += libnvidia-opencl endif # The downloaded archive is in fact an auto-extract script. So, it can run # virtually everywhere, and it is fine enough to provide useful options. # Except it can't extract into an existing (even empty) directory. define NVIDIA_DRIVER_EXTRACT_CMDS $(SHELL) $(DL_DIR)/$(NVIDIA_DRIVER_SOURCE) --extract-only --target \ $(@D)/tmp-extract mv $(@D)/tmp-extract/* $(@D)/tmp-extract/.manifest $(@D) rm -rf $(@D)/tmp-extract endef # Build and install the kernel modules if needed ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_MODULE),y) NVIDIA_DRIVER_DEPENDENCIES += linux # NVidia uses the legacy naming scheme for the x86 architecture, when i386 # and x86_64 were still considered two separate architectures in the Linux # kernel. NVIDIA_DRIVER_ARCH = $(if $(BR2_i386),i386,$(BR2_ARCH)) NVIDIA_DRIVER_MOD_DIRS = kernel NVIDIA_DRIVER_MOD_FILES = kernel/nvidia.ko # nvidia-uvm.ko only available for x86_64 ifeq ($(BR2_x86_64)$(BR2_PACKAGE_NVIDIA_DRIVER_CUDA),yy) NVIDIA_DRIVER_MOD_DIRS += kernel/uvm NVIDIA_DRIVER_MOD_FILES += kernel/uvm/nvidia-uvm.ko endif # We can not use '$(MAKE) -C $(@D)/$${dir}' because NVidia's uses its own # Makefile to build a kernel module, which includes a lot of assumptions # on where to find its own sub-Makefile fragments, and fails if make is # not run from the directory where the module's source files are. Hence # our little trick to cd in there first. # That's also the reason why we do not use LINUX_MAKE_FLAGS or the other # linux-specific variables, since NVidia's Makefile does not understand # them. define NVIDIA_DRIVER_BUILD_CMDS for dir in $(NVIDIA_DRIVER_MOD_DIRS); do \ (cd $(@D)/$${dir} && \ $(MAKE) SYSSRC="$(LINUX_DIR)" SYSOUT="$(LINUX_DIR)" \ CC="$(TARGET_CC)" LD="$(TARGET_LD)" HOSTCC="$(HOSTCC)" \ ARCH=$(NVIDIA_DRIVER_ARCH) module) || exit 1; \ done endef # We do not use module-install because NVidia's Makefile requires root. # Also, we do not install it in the expected location (in nvidia/ rather # than in kernel/drivers/video/) define NVIDIA_DRIVER_INSTALL_KERNEL_MODULE for mod in $(NVIDIA_DRIVER_MOD_FILES); do \ $(INSTALL) -D -m 0644 $(@D)/$${mod} \ $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/nvidia/$${mod##*/} \ || exit 1; \ done $(HOST_DIR)/sbin/depmod -a -b $(TARGET_DIR) $(LINUX_VERSION_PROBED) endef endif # BR2_PACKAGE_NVIDIA_DRIVER_MODULE == y # Helper to install libraries # $1: destination directory (target or staging) # # For all libraries that need it, we append the NVidia version string. # Then for all libraries, we install them and create a symlink using # their SONAME, so we can link to them at runtime; we also create the # no-version symlink, so we can link to them at build time. define NVIDIA_DRIVER_INSTALL_LIBS for libpath in $(addsuffix .so.$(NVIDIA_DRIVER_VERSION),$(NVIDIA_DRIVER_LIBS)) \ $(NVIDIA_DRIVER_LIBS_NO_VERSION); \ do \ libname="$${libpath##*/}"; \ $(INSTALL) -D -m 0644 $(@D)/$${libpath} $(1)/usr/lib/$${libname}; \ libsoname="$$( $(TARGET_READELF) -d "$(@D)/$${libpath}" \ |sed -r -e '/.*\(SONAME\).*\[(.*)\]$$/!d; s//\1/;' )"; \ if [ -n "$${libsoname}" -a "$${libsoname}" != "$${libname}" ]; then \ ln -sf $${libname} $(1)/usr/lib/$${libsoname}; \ fi; \ baseso="$${libname/.so*}.so"; \ if [ -n "$${baseso}" -a "$${baseso}" != "$${libname}" ]; then \ ln -sf $${libname} $(1)/usr/lib/$${baseso}; \ fi; \ done endef # For staging, install libraries and development files define NVIDIA_DRIVER_INSTALL_STAGING_CMDS $(call NVIDIA_DRIVER_INSTALL_LIBS,$(STAGING_DIR)) $(NVIDIA_DRIVER_INSTALL_GL_DEV) endef # For target, install libraries and X.org modules define NVIDIA_DRIVER_INSTALL_TARGET_CMDS $(call NVIDIA_DRIVER_INSTALL_LIBS,$(TARGET_DIR)) for m in $(NVIDIA_DRIVER_X_MODS); do \ $(INSTALL) -D -m 0644 $(@D)/$${m##*/} \ $(TARGET_DIR)/usr/lib/xorg/modules/$${m}; \ done for p in $(NVIDIA_DRIVER_PROGS); do \ $(INSTALL) -D -m 0755 $(@D)/$${p} \ $(TARGET_DIR)/usr/bin/$${p}; \ done $(NVIDIA_DRIVER_INSTALL_KERNEL_MODULE) endef $(eval $(generic-package))
shibajee/buildroot
package/nvidia-driver/nvidia-driver.mk
mk
mit
7,336
menuconfig BR2_PACKAGE_NVIDIA_TEGRA23 bool "nvidia-tegra23" depends on BR2_cortex_a9 depends on BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_GLIBC depends on BR2_PACKAGE_XORG7 depends on BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14 help Install NVidia proprietary blobs to drive Tegra2 or Tegra3 GPUs found in some mobile-targeted ARM SoCs. if BR2_PACKAGE_NVIDIA_TEGRA23 choice prompt "Tegra platform" help Select the SOC platform. config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2 bool "Tegra 2" help NVIDIA Tegra 2 is a dual-core Cortex-A9 without NEON. config BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3 bool "Tegra 3" depends on BR2_ARM_CPU_HAS_NEON help NVIDIA Tegra 3 is a quad-core Cortex-A9 with NEON. endchoice source "package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in" source "package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in" endif comment "nvidia-tegra23 needs Xorg <= 1.14 and a glibc toolchain w/ EABIhf" depends on BR2_cortex_a9 depends on !BR2_ARM_EABIHF || !BR2_TOOLCHAIN_USES_GLIBC \ || !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI_14
shibajee/buildroot
package/nvidia-tegra23/Config.in
in
mit
1,104
config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES bool "nvidia-tegra23 binaries" select BR2_PACKAGE_MESA3D_HEADERS select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_HAS_LIBEGL select BR2_PACKAGE_HAS_LIBGLES select BR2_PACKAGE_HAS_LIBOPENMAX help Those packages provide libraries, drivers and firmware that comes from NVIDIA Linux For Tegra. https://developer.nvidia.com/linux-tegra if BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES config BR2_PACKAGE_PROVIDES_LIBEGL default "nvidia-tegra23-binaries" config BR2_PACKAGE_PROVIDES_LIBGLES default "nvidia-tegra23-binaries" config BR2_PACKAGE_PROVIDES_LIBOPENMAX default "nvidia-tegra23-binaries" config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS bool "GStreamer 0.10.x plugins" depends on BR2_PACKAGE_GSTREAMER # Run-time only select BR2_PACKAGE_XLIB_LIBXV help GStreamer 0.10.x plugins config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS bool "NVIDIA multimedia sample apps" depends on BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS help nvgstplayer and nvgstcapture multimedia test applications. comment "GStreamer 0.10.x plugins need GStreamer 0.10" depends on !BR2_PACKAGE_GSTREAMER endif
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/Config.in
in
mit
1,222
prefix=/usr exec_prefix=${prefix} libdir=/usr/lib includedir=/usr/include Name: egl Description: EGL implementation Version: 1 Cflags: -I${includedir}/EGL Libs: -L${libdir} -lEGL
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/egl.pc
pc
mit
180
prefix=/usr exec_prefix=${prefix} libdir=/usr/lib includedir=/usr/include Name: glesv2 Description: OpenGL ES 1.1 implementation Version: 1.1 Cflags: -I${includedir}/GLES Libs: -L${libdir} -lGLESv1_CM
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/gles.pc
pc
mit
202
prefix=/usr exec_prefix=${prefix} libdir=/usr/lib includedir=/usr/include Name: glesv2 Description: OpenGL ES 2 implementation Version: 2 Cflags: -I${includedir}/GLESv2 Libs: -L${libdir} -lGLESv2
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/glesv2.pc
pc
mit
197
# From https://developer.nvidia.com/linux-tegra-rel-16 sha1 295dcd63b2f122c2d99f07fcc083db9adb8ac178 Tegra20_Linux_R16.5_armhf.tbz2 sha1 6be645c20d81d518856bc8520ef4c2472d57eaef Tegra30_Linux_R16.5_armhf.tbz2
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.hash
hash
mit
209
################################################################################ # # nvidia-tegra23-binaries # ################################################################################ NVIDIA_TEGRA23_BINARIES_VERSION = $(NVIDIA_TEGRA23_VERSION) NVIDIA_TEGRA23_BINARIES_SITE = $(NVIDIA_TEGRA23_SITE) NVIDIA_TEGRA23_BINARIES_SOURCE = $(NVIDIA_TEGRA23_BASE)_R$(NVIDIA_TEGRA23_BINARIES_VERSION)_armhf.tbz2 NVIDIA_TEGRA23_BINARIES_LICENSE = License For Customer Use of NVIDIA Software NVIDIA_TEGRA23_BINARIES_LICENSE_FILES = nv_tegra/LICENSE ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS),y) NVIDIA_TEGRA23_BINARIES_LICENSE += LGPLv2.1 NVIDIA_TEGRA23_BINARIES_LICENSE_FILES += nv_tegra/nv_sample_apps/LICENSE.gst-openmax endif NVIDIA_TEGRA23_BINARIES_INSTALL_STAGING = YES # Those are not really needed to build nvidia-tegra23-binaries, but # will be needed by packages who link against libraries provided by # nvidia-tegra23-binaries. NVIDIA_TEGRA23_BINARIES_DEPENDENCIES = mesa3d-headers \ xlib_libX11 xlib_libXext ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS),y) NVIDIA_TEGRA23_BINARIES_DEPENDENCIES += xlib_libXv endif NVIDIA_TEGRA23_BINARIES_PROVIDES = libegl libgles libopenmax NVIDIA_TEGRA23_BINARIES_DRV = \ nv_tegra/nvidia_drivers/usr/lib/xorg/modules/drivers/tegra_drv.abi$(BR2_PACKAGE_XSERVER_XORG_SERVER_VIDEODRV_ABI).so define NVIDIA_TEGRA23_BINARIES_EXTRACT_FURTHER $(INSTALL) -d $(@D)/nv_tegra/nvidia_drivers $(call suitable-extractor,$(@D)/nv_tegra/nvidia_drivers.tbz2) \ $(@D)/nv_tegra/nvidia_drivers.tbz2 | \ $(TAR) --strip-components=0 -C $(@D)/nv_tegra/nvidia_drivers/ $(TAR_OPTIONS) - $(INSTALL) -d $(@D)/nv_tegra/nv_sample_apps/nvgstapps $(call suitable-extractor,$(@D)/nv_tegra/nv_sample_apps/nvgstapps.tbz2) \ $(@D)/nv_tegra/nv_sample_apps/nvgstapps.tbz2 | \ $(TAR) --strip-components=0 -C $(@D)/nv_tegra/nv_sample_apps/nvgstapps/ $(TAR_OPTIONS) - endef NVIDIA_TEGRA23_BINARIES_POST_EXTRACT_HOOKS += NVIDIA_TEGRA23_BINARIES_EXTRACT_FURTHER define NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS mkdir -p $(1)/usr/lib cp -dpfr $(@D)/nv_tegra/nvidia_drivers/usr/lib/*.so $(1)/usr/lib/ (cd $(1)/usr/lib; \ ln -sf libGLESv2.so.2 libGLESv2.so; \ ln -sf libGLESv1_CM.so.1 libGLESv1_CM.so; \ ln -sf libEGL.so.1 libEGL.so \ ) endef ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS),y) define NVIDIA_TEGRA23_BINARIES_INSTALL_GST_PLUGINS mkdir -p $(1)/usr/lib/gstreamer-0.10/ cp -dpfr $(@D)/nv_tegra/nv_sample_apps/nvgstapps/usr/lib/gstreamer-0.10/*.so \ $(1)/usr/lib/gstreamer-0.10/ endef endif ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS),y) define NVIDIA_TEGRA23_BINARIES_INSTALL_APPS mkdir -p $(TARGET_DIR)/usr/bin/ cp -dpfr $(@D)/nv_tegra/nv_sample_apps/nvgstapps/usr/bin/* \ $(TARGET_DIR)/usr/bin/ endef endif define NVIDIA_TEGRA23_BINARIES_INSTALL_STAGING_CMDS $(call NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS,$(STAGING_DIR)) mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig/ cp -dpfr package/nvidia-tegra23/nvidia-tegra23-binaries/*.pc \ $(STAGING_DIR)/usr/lib/pkgconfig/ $(call NVIDIA_TEGRA23_BINARIES_INSTALL_GST_PLUGINS,$(STAGING_DIR)) endef define NVIDIA_TEGRA23_BINARIES_INSTALL_TARGET_CMDS $(call NVIDIA_TEGRA23_BINARIES_INSTALL_LIBS,$(TARGET_DIR)) mkdir -p $(TARGET_DIR)/lib/firmware/ cp -dpfr $(@D)/nv_tegra/nvidia_drivers/lib/firmware/*.bin \ $(TARGET_DIR)/lib/firmware/ $(INSTALL) -D -m 0644 $(@D)/nv_tegra/nvidia_drivers/etc/nv_tegra_release \ $(TARGET_DIR)/etc/nv_tegra_release $(INSTALL) -D -m 0644 $(@D)/$(NVIDIA_TEGRA23_BINARIES_DRV) \ $(TARGET_DIR)/usr/lib/xorg/modules/drivers/tegra_drv.so $(call NVIDIA_TEGRA23_BINARIES_INSTALL_GST_PLUGINS,$(TARGET_DIR)) $(NVIDIA_TEGRA23_BINARIES_INSTALL_APPS) endef $(eval $(generic-package))
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-binaries/nvidia-tegra23-binaries.mk
mk
mit
3,772
config BR2_PACKAGE_NVIDIA_TEGRA23_CODECS bool "nvidia-tegra23 codecs" depends on BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES help NVIDIA Tegra restricted codecs from Linux For Tegra 16.5. https://developer.nvidia.com/linux-tegra-rel-16
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-codecs/Config.in
in
mit
238
# From https://developer.nvidia.com/linux-tegra-rel-16 sha1 540e89d5462537cd59c8a86efdb786b3b4310868 Tegra20_Linux-codecs_R16.5_armhf.tbz2 sha1 3637efe808f25594e3cdc2756aef6e0274ab70f4 Tegra30_Linux-codecs_R16.5_armhf.tbz2
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.hash
hash
mit
223
################################################################################ # # nvidia-tegra23-codecs # ################################################################################ NVIDIA_TEGRA23_CODECS_VERSION = $(NVIDIA_TEGRA23_VERSION) NVIDIA_TEGRA23_CODECS_SOURCE = $(NVIDIA_TEGRA23_BASE)-codecs_R$(NVIDIA_TEGRA23_CODECS_VERSION)_armhf.tbz2 NVIDIA_TEGRA23_CODECS_SITE = $(NVIDIA_TEGRA23_SITE) NVIDIA_TEGRA23_CODECS_LICENSE = NVIDIA(r) Tegra(r) Software License Agreement NVIDIA_TEGRA23_CODECS_LICENSE_FILES = Tegra_Software_License_Agreement-Tegra-Linux-codecs.txt NVIDIA_TEGRA23_CODECS_REDISTRIBUTE = NO # The archive contains an archive with the firmware codecs define NVIDIA_TEGRA23_CODECS_EXTRACT_CMDS $(INSTALL) -d $(@D) $(call suitable-extractor,$(NVIDIA_TEGRA23_CODECS_SOURCE)) \ $(DL_DIR)/$(NVIDIA_TEGRA23_CODECS_SOURCE) | \ $(TAR) --strip-components=0 -C $(@D) $(TAR_OPTIONS) - $(INSTALL) -d $(@D)/restricted_codecs $(call suitable-extractor,$(@D)/restricted_codecs.tbz2) \ $(@D)/restricted_codecs.tbz2 | \ $(TAR) --strip-components=0 -C $(@D)/restricted_codecs/ $(TAR_OPTIONS) - endef define NVIDIA_TEGRA23_CODECS_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/lib/firmware/ cp -dpfr $(@D)/restricted_codecs/lib/firmware/*.axf \ $(TARGET_DIR)/lib/firmware/ endef $(eval $(generic-package))
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23-codecs/nvidia-tegra23-codecs.mk
mk
mit
1,327
################################################################################ # # nvidia-tegra23 # ################################################################################ NVIDIA_TEGRA23_VERSION = 16.5 ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA2),y) NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/ventana_release_armhf NVIDIA_TEGRA23_BASE = Tegra20_Linux endif ifeq ($(BR2_PACKAGE_NVIDIA_TEGRA23_TEGRA3),y) NVIDIA_TEGRA23_SITE = http://developer.download.nvidia.com/mobile/tegra/l4t/r16.5.0/cardhu_release_armhf NVIDIA_TEGRA23_BASE = Tegra30_Linux endif include $(sort $(wildcard package/nvidia-tegra23/*/*.mk))
shibajee/buildroot
package/nvidia-tegra23/nvidia-tegra23.mk
mk
mit
661
config BR2_PACKAGE_NVME bool "nvme" help NVME utility, a utility for interacting with standard NVM Express (optimized PCI Express SSD interface) devices. https://github.com/linux-nvme/nvme-cli
shibajee/buildroot
package/nvme/Config.in
in
mit
205
# Locally computed: sha256 c631e90dd4d411cdb618b26bc36b06706e6f1f2d3db38874bcfe48f4bc15aac4 nvme-v0.3.tar.gz
shibajee/buildroot
package/nvme/nvme.hash
hash
mit
109
################################################################################ # # nvme # ################################################################################ NVME_VERSION = v0.3 NVME_SITE = $(call github,linux-nvme,nvme-cli,$(NVME_VERSION)) NVME_LICENSE = GPLv2+ NVME_LICENSE_FILES = LICENSE # Yes LIBUDEV=0 means udev support enabled, LIBUDEV=1 means udev # support disabled. ifeq ($(BR2_PACKAGE_HAS_UDEV),y) NVME_DEPENDENCIES += udev NVME_MAKE_OPTS += LIBUDEV=0 else NVME_MAKE_OPTS += LIBUDEV=1 endif # LIBUDEV=1 means that libudev is _disabled_ define NVME_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ $(NVME_MAKE_OPTS) -C $(@D) endef define NVME_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \ PREFIX=/usr install-bin endef $(eval $(generic-package))
shibajee/buildroot
package/nvme/nvme.mk
mk
mit
833
config BR2_PACKAGE_OBSIDIAN_CURSORS bool "obsidian-cursors" help Obsidian Cursors is a shiny and clean cursor set. http://kde-look.org/content/show.php/Obsidian+Cursors?content=73135
shibajee/buildroot
package/obsidian-cursors/Config.in
in
mit
192
# Locally calculated sha256 3d38fe875f6feae8b7772e02cfda530fcf669479807915cd2c12c149da17cfb9 73135-Obsidian.tar.bz2
shibajee/buildroot
package/obsidian-cursors/obsidian-cursors.hash
hash
mit
116
################################################################################ # # obsidian-cursors # ################################################################################ OBSIDIAN_CURSORS_VERSION = 1.0 OBSIDIAN_CURSORS_SITE = http://kde-look.org/CONTENT/content-files OBSIDIAN_CURSORS_SOURCE = 73135-Obsidian.tar.bz2 OBSIDIAN_CURSORS_LICENSE = GPL define OBSIDIAN_CURSORS_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/share/cursors/xorg-x11/Obsidian cp -a $(@D)/cursors \ $(TARGET_DIR)/usr/share/cursors/xorg-x11/Obsidian endef $(eval $(generic-package))
shibajee/buildroot
package/obsidian-cursors/obsidian-cursors.mk
mk
mit
577
# Locally computed: sha256 5113609d2c2c43fde962bec1238fe5a81211a751ebb0337b54a9804d40cfef53 ocf-linux-20120127.tar.gz
shibajee/buildroot
package/ocf-linux/ocf-linux.hash
hash
mit
120
################################################################################ # # ocf-linux # ################################################################################ OCF_LINUX_VERSION = 20120127 OCF_LINUX_SITE = http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/$(OCF_LINUX_VERSION) OCF_LINUX_INSTALL_STAGING = YES OCF_LINUX_MODULE_SUBDIRS = ocf OCF_LINUX_MODULE_MAKE_OPTS = \ CONFIG_OCF_OCF=m \ CONFIG_OCF_CRYPTOSOFT=m \ CONFIG_OCF_BENCH=m \ CONFIG_OCF_OCFNULL=m define OCF_LINUX_INSTALL_STAGING_CMDS $(INSTALL) -D -m 644 $(@D)/ocf/cryptodev.h \ $(STAGING_DIR)/usr/include/crypto/cryptodev.h endef $(eval $(kernel-module)) $(eval $(generic-package))
shibajee/buildroot
package/ocf-linux/ocf-linux.mk
mk
mit
685
config BR2_PACKAGE_OCRAD bool "ocrad" depends on BR2_INSTALL_LIBSTDCPP help GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature extraction method. It reads images in pbm (bitmap), pgm (greyscale) or ppm (color) formats and produces text in byte (8-bit) or UTF-8 formats. http://www.gnu.org/software/ocrad/ comment "ocrad needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/ocrad/Config.in
in
mit
432
# Locally calculated after checking pgp signature sha256 4ec711239d6b667bac015ef9908cab3ea9f8fd73f098ae355498810c8e82a8cc ocrad-0.21.tar.gz
shibajee/buildroot
package/ocrad/ocrad.hash
hash
mit
140
################################################################################ # # ocrad # ################################################################################ OCRAD_VERSION = 0.21 OCRAD_SITE = $(BR2_GNU_MIRROR)/ocrad OCRAD_LICENSE = GPLv3+ OCRAD_LICENSE_FILES = COPYING OCRAD_INSTALL_STAGING = YES # This is not a true autotools package. define OCRAD_CONFIGURE_CMDS cd $(@D) && \ ./configure --prefix=/usr --sysconfdir=/etc $(TARGET_CONFIGURE_OPTS) endef define OCRAD_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define OCRAD_INSTALL_STAGING_CMDS $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define OCRAD_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/ocrad/ocrad.mk
mk
mit
754
config BR2_PACKAGE_ODHCP6C bool "odhcp6c" depends on BR2_USE_MMU # fork() help odhcp6c is a minimal DHCPv6 and RA-client for use in embedded Linux systems, especially routers. https://github.com/sbyx/odhcp6c
shibajee/buildroot
package/odhcp6c/Config.in
in
mit
221
# Locally computed sha256 d84a713010865215301b4186c7b5368c9f006e6d3b9b52b99bd25e2d9e7a1dfc odhcp6c-7533a6243dc3ac5a747cf6ccbc4d0539dafd3e07.tar.gz
shibajee/buildroot
package/odhcp6c/odhcp6c.hash
hash
mit
147
################################################################################ # # odhcp6c # ################################################################################ ODHCP6C_VERSION = 7533a6243dc3ac5a747cf6ccbc4d0539dafd3e07 ODHCP6C_SITE = $(call github,sbyx,odhcp6c,$(ODHCP6C_VERSION)) ODHCP6C_LICENSE = GPLv2 ODHCP6C_LICENSE_FILES = COPYING define ODHCP6C_INSTALL_SCRIPT $(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \ $(TARGET_DIR)/usr/sbin/odhcp6c-update endef ODHCP6C_POST_INSTALL_TARGET_HOOKS += ODHCP6C_INSTALL_SCRIPT $(eval $(cmake-package))
shibajee/buildroot
package/odhcp6c/odhcp6c.mk
mk
mit
575
config BR2_PACKAGE_ODHCPLOC bool "odhcploc" help Open DHCP Locate (ODHCPLoc) is program to locate and display active DHCP servers on a subnet. Can be used to scan for rogue DHCP servers. http://odhcploc.sourceforge.net/
shibajee/buildroot
package/odhcploc/Config.in
in
mit
235
# Locally computed: sha256 b0360a3aece8a29d131531da7bfc36d57c30c6eed30ff1ea360f7cccea1d62d7 odhcploc-20111021.tar.gz
shibajee/buildroot
package/odhcploc/odhcploc.hash
hash
mit
119
################################################################################ # # odhcploc # ################################################################################ ODHCPLOC_VERSION = 20111021 ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION) ODHCPLOC_LICENSE = ISC ODHCPLOC_LICENSE_FILES = COPYING define ODHCPLOC_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all endef define ODHCPLOC_INSTALL_TARGET_CMDS $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/odhcploc/odhcploc.mk
mk
mit
560
config BR2_PACKAGE_ODROID_MALI bool "odroid-mali" select BR2_PACKAGE_HAS_LIBEGL select BR2_PACKAGE_HAS_LIBGLES select BR2_PACKAGE_ODROID_SCRIPTS # runtime depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_aarch64 || BR2_ARM_EABIHF help Install the ARM Mali drivers for odroidc2 based systems. https://github.com/mdrjr/c2_mali if BR2_PACKAGE_ODROID_MALI config BR2_PACKAGE_PROVIDES_LIBEGL default "odroid-mali" config BR2_PACKAGE_PROVIDES_LIBGLES default "odroid-mali" endif comment "odroid-mali needs a glibc toolchain" depends on BR2_aarch64 || BR2_ARM_EABIHF depends on !BR2_TOOLCHAIN_USES_GLIBC
shibajee/buildroot
package/odroid-mali/Config.in
in
mit
622
# Locally computed hash sha256 29d98ed4b8694b860d9289787c416faa847b0de26d36580a53add1752b4c2e9a odroid-mali-46fe49f37e3506c6205ad8c50980eca9bfff11e3.tar.gz
shibajee/buildroot
package/odroid-mali/odroid-mali.hash
hash
mit
157
################################################################################ # # odroid-mali # ################################################################################ ODROID_MALI_VERSION = 46fe49f37e3506c6205ad8c50980eca9bfff11e3 ODROID_MALI_SITE = $(call github,mdrjr,c2_mali,$(ODROID_MALI_VERSION)) ODROID_MALI_LICENSE = Hardkernel EULA ODROID_MALI_LICENSE_FILES = README.md ODROID_MALI_INSTALL_STAGING = YES ODROID_MALI_PROVIDES = libegl libgles ifeq ($(BR2_aarch64),y) ODROID_MALI_INSTALL_ARCH = mali_libs else ODROID_MALI_INSTALL_ARCH = 32bit_libs endif define ODROID_MALI_INSTALL_LIBS cp -dpfr $(@D)/fbdev/$(ODROID_MALI_INSTALL_ARCH)/lib* $(1)/usr/lib/ endef define ODROID_MALI_INSTALL_STAGING_CMDS $(call ODROID_MALI_INSTALL_LIBS,$(STAGING_DIR)) mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig cp -dpfr $(@D)/pkgconfig/*.pc $(STAGING_DIR)/usr/lib/pkgconfig/ cp -dpfr $(@D)/fbdev/mali_headers/* $(STAGING_DIR)/usr/include endef define ODROID_MALI_INSTALL_TARGET_CMDS $(call ODROID_MALI_INSTALL_LIBS,$(TARGET_DIR)) endef $(eval $(generic-package))
shibajee/buildroot
package/odroid-mali/odroid-mali.mk
mk
mit
1,073
config BR2_PACKAGE_ODROID_SCRIPTS bool "odroid-scripts" depends on BR2_aarch64 || BR2_arm select BR2_PACKAGE_FBSET # runtime select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # needed for fbset help Install the scripts for the odroidc2 based systems. https://github.com/mdrjr/c2_bootini
shibajee/buildroot
package/odroid-scripts/Config.in
in
mit
288
#!/bin/sh # # Set up frame buffer # case "$1" in start) echo "Setting up display..." /usr/sbin/odroidc2_init_fb.sh ;; stop) ;; restart|reload) ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/odroid-scripts/S50odroidc2_fb
none
mit
281
# Locally computed hash sha256 779e8beccf8c66d51e495a4cc0e6eccf72c295499a1ecdc0740aa4459de786a0 odroid-scripts-a252de04562dcf8d8a4918a544b45a9e3d46d2fb.tar.gz
shibajee/buildroot
package/odroid-scripts/odroid-scripts.hash
hash
mit
160
################################################################################ # # odroid-scripts # ################################################################################ ODROID_SCRIPTS_VERSION = a252de04562dcf8d8a4918a544b45a9e3d46d2fb ODROID_SCRIPTS_SITE = $(call github,mdrjr,c2_bootini,$(ODROID_SCRIPTS_VERSION)) ODROID_SCRIPTS_LICENSE = unclear ifeq ($(BR2_PACKAGE_HAS_UDEV),y) define ODROID_SCRIPTS_INSTALL_UDEV_RULES $(INSTALL) -D -m 0644 $(@D)/10-odroid.rules \ $(TARGET_DIR)/etc/udev/rules.d/10-odroid.rules endef endif define ODROID_SCRIPTS_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/c2_init.sh $(TARGET_DIR)/usr/sbin/odroidc2_init_fb.sh $(ODROID_SCRIPTS_INSTALL_UDEV_RULES) endef define ODROID_SCRIPTS_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 0644 $(@D)/amlogic.service \ $(TARGET_DIR)/usr/lib/systemd/system/odroidc2_fb.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/odroidc2_fb.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/odroidc2_fb.service endef define ODROID_SCRIPTS_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/odroid-scripts/S50odroidc2_fb \ $(TARGET_DIR)/etc/init.d/S50odroidc2_fb endef $(eval $(generic-package))
shibajee/buildroot
package/odroid-scripts/odroid-scripts.mk
mk
mit
1,263
[PATCH] fix build on uClibc without UCLIBC_HAS_BACKTRACE Backtrace support is only used for logging on signal errors, which isn't really critical, so simply remove backtrace info if not available in uClibc. NOTE: based on patch from Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Petr Vorel <petr.vorel@gmail.com> --- --- ofono-1.7.orig/src/log.c +++ ofono-1.7/src/log.c @@ -30,7 +30,8 @@ #include <stdlib.h> #include <string.h> #include <syslog.h> -#ifdef __GLIBC__ +#if defined(__GLIBC__) && !(defined(__UCLIBC__) && !defined (__UCLIBC_HAS_BACKTRACE__)) +#define HAVE_BACKTRACE #include <execinfo.h> #endif #include <dlfcn.h> @@ -115,7 +116,7 @@ va_end(ap); } -#ifdef __GLIBC__ +#ifdef HAVE_BACKTRACE static void print_backtrace(unsigned int offset) { void *frames[99]; @@ -309,7 +310,7 @@ if (detach == FALSE) option |= LOG_PERROR; -#ifdef __GLIBC__ +#ifdef HAVE_BACKTRACE signal_setup(signal_handler); #endif @@ -326,7 +327,7 @@ closelog(); -#ifdef __GLIBC__ +#ifdef HAVE_BACKTRACE signal_setup(SIG_DFL); #endif
shibajee/buildroot
package/ofono/0001-uclibc-backtrace.patch
patch
mit
1,052
config BR2_PACKAGE_OFONO bool "ofono" depends on BR2_USE_WCHAR # gettext, libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2 depends on BR2_USE_MMU # dbus, libglib2 depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_TOOLCHAIN_HAS_SYNC_4 select BR2_PACKAGE_LIBCAP_NG select BR2_PACKAGE_DBUS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO help oFono is a free, open source project for mobile telephony (GSM/UMTS) applications. It uses high-level D-Bus API for use by telephony applications. It uses 3GPP standard. http://ofono.org/ comment "ofono needs a toolchain w/ dynamic library, wchar, threads" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/ofono/Config.in
in
mit
807