code
string | repo_name
string | path
string | language
string | license
string | size
int64 |
---|---|---|---|---|---|
################################################################################
#
# iptraf-ng
#
################################################################################
IPTRAF_NG_VERSION = 1.1.4
IPTRAF_NG_SITE = https://fedorahosted.org/releases/i/p/iptraf-ng
IPTRAF_NG_LICENSE = GPLv2+
IPTRAF_NG_LICENSE_FILES = LICENSE
IPTRAF_NG_DEPENDENCIES = ncurses
IPTRAF_NG_MAKE_ENV = \
NCURSES_LDFLAGS="-lpanel -lncurses"
IPTRAF_NG_CONF_ENV = \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/iptraf-ng/iptraf-ng.mk
|
mk
|
mit
| 520 |
config BR2_PACKAGE_IPUTILS
bool "iputils"
depends on BR2_USE_MMU # fork()
help
This package is set of small useful utilities for Linux networking.
It includes complete versions of ping, traceroute, etc.
https://github.com/iputils/iputils
|
shibajee/buildroot
|
package/iputils/Config.in
|
in
|
mit
| 251 |
# Locally computed
sha256 79e22e940b6f52c37810657c8f12e7ba85692b517d6cd6e90cbceac2d94fc5e8 iputils-55828d1fef3fed7f07abcbf7be9282a9662e78c7.tar.gz
|
shibajee/buildroot
|
package/iputils/iputils.hash
|
hash
|
mit
| 147 |
################################################################################
#
# iputils
#
################################################################################
# The original upstream was forked to the github repository in 2014 to
# pull fixes from other distribution and centralize the changes after
# the upstream seemed to have gone dormant. The fork contains the
# latest changes including msul support, removing a libsysfs dependency
# and IPv6 updates.
# http://www.spinics.net/lists/netdev/msg279881.html
IPUTILS_VERSION = 55828d1fef3fed7f07abcbf7be9282a9662e78c7
IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION))
IPUTILS_LICENSE = GPLv2+, BSD-3c, BSD-4c
# Only includes a license file for BSD
IPUTILS_LICENSE_FILES = ninfod/COPYING
# Build after busybox so target ends up with this package's full
# versions of the applications instead of busybox applets.
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
IPUTILS_DEPENDENCIES += busybox
endif
IPUTILS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) USE_SYSFS=no USE_IDN=no\
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
ifeq ($(BR2_PACKAGE_LIBCAP),y)
IPUTILS_MAKE_OPTS += USE_CAP=yes
IPUTILS_DEPENDENCIES += libcap
else
IPUTILS_MAKE_OPTS += USE_CAP=no
endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
IPUTILS_MAKE_OPTS += USE_GCRYPT=yes
IPUTILS_DEPENDENCIES += libgcrypt
# When gettext is enabled (BR2_PACKAGE_GETTEXT=y), and provides libintl
# (BR2_NEEDS_GETTEXT=y), libgpg-error will link with libintl, and libgpg-error
# is pulled in by libgcrypt. Since iputils doesn't use libtool, we have to link
# with libintl explicitly for static linking.
ifeq ($(BR2_STATIC_LIBS)$(BR2_NEEDS_GETTEXT)$(BR2_PACKAGE_GETTEXT),yyy)
IPUTILS_MAKE_OPTS += ADDLIB='-lintl'
endif
else
IPUTILS_MAKE_OPTS += USE_GCRYPT=no
endif
ifeq ($(BR2_PACKAGE_NETTLE),y)
IPUTILS_MAKE_OPTS += USE_NETTLE=yes
IPUTILS_DEPENDENCIES += nettle
else
IPUTILS_MAKE_OPTS += USE_NETTLE=no
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
IPUTILS_MAKE_OPTS += USE_CRYPTO=yes
IPUTILS_DEPENDENCIES += openssl
else
IPUTILS_MAKE_OPTS += USE_CRYPTO=no
endif
define IPUTILS_BUILD_CMDS
$(MAKE) -C $(@D) $(IPUTILS_MAKE_OPTS)
endef
define IPUTILS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/arping $(TARGET_DIR)/sbin/arping
$(INSTALL) -D -m 755 $(@D)/clockdiff $(TARGET_DIR)/bin/clockdiff
$(INSTALL) -D -m 755 $(@D)/ping $(TARGET_DIR)/bin/ping
$(INSTALL) -D -m 755 $(@D)/rarpd $(TARGET_DIR)/sbin/rarpd
$(INSTALL) -D -m 755 $(@D)/rdisc $(TARGET_DIR)/sbin/rdisc
$(INSTALL) -D -m 755 $(@D)/tftpd $(TARGET_DIR)/usr/sbin/in.tftpd
$(INSTALL) -D -m 755 $(@D)/tracepath $(TARGET_DIR)/bin/tracepath
$(INSTALL) -D -m 755 $(@D)/traceroute6 $(TARGET_DIR)/bin/traceroute6
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/iputils/iputils.mk
|
mk
|
mit
| 2,734 |
config BR2_PACKAGE_IQVLINUX
bool "iqvlinux"
depends on BR2_LINUX_KERNEL
help
Intel Ethernet Adapter Debug Driver for Linux (iqvlinux),
which supports kernel versions 2.6.x up through 4.0.x.
This debug driver supports all Intel's networking Tools based
on the SDK version 2.19.36.0 or higher which support Intel
Ethernet chip including e1000, e1000e, i210...
Note: This driver requires PCI support to be enabled
(i.e. CONFIG_PCI).
http://sourceforge.net/projects/e1000/files/iqvlinux/
comment "iqvlinux needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
|
shibajee/buildroot
|
package/iqvlinux/Config.in
|
in
|
mit
| 597 |
# From http://sourceforge.net/projects/e1000/files/iqvlinux/1.1.5.3/
sha1 bd94416e4364015dbbd78a22e51080bf7ea81fac iqvlinux.tar.gz
md5 fb6a2a4dc122d39070fcb06985c97a05 iqvlinux.tar.gz
# locally computed
sha256 8cb19f3bfe040100a13bb2d05cb2b54f2b259e55cef23f8cc5aa6f2f31e98bec iqvlinux.tar.gz
|
shibajee/buildroot
|
package/iqvlinux/iqvlinux.hash
|
hash
|
mit
| 291 |
################################################################################
#
# iqvlinux
#
################################################################################
IQVLINUX_VERSION = 1.1.5.3
IQVLINUX_SITE = http://sourceforge.net/projects/e1000/files/iqvlinux/$(IQVLINUX_VERSION)
IQVLINUX_SOURCE = iqvlinux.tar.gz
IQVLINUX_LICENSE = GPLv2, BSD-3c
IQVLINUX_LICENSE_FILES = \
COPYING src/linux/driver/files.txt \
inc/linux/files.txt inc/files.txt
IQVLINUX_MODULE_MAKE_OPTS = NALDIR=$(@D) KSRC=$(LINUX_DIR) CC=$(TARGET_CC)
IQVLINUX_MODULE_SUBDIRS = src/linux/driver
$(eval $(kernel-module))
$(eval $(generic-package))
|
shibajee/buildroot
|
package/iqvlinux/iqvlinux.mk
|
mk
|
mit
| 635 |
written by Mike Frysinger
https://sourceforge.net/tracker/?func=detail&aid=3132053&group_id=5616&atid=305616
Rather than using the fork function (which doesnt work on nommu
systems), simply use the daemon() function instead (which does
work). this should work the same before and after for all systems.
--- a/irattach/util.c
+++ b/irattach/util.c
@@ -156,21 +156,10 @@
void fork_now(int ttyfd)
{
- int ret;
int i;
- if ((ret = fork()) > 0)
- exit(0);
-
- if (ret == -1)
- syslog(LOG_INFO, "forking: %m");
- if (setsid() < 0)
- syslog(LOG_INFO, "detaching from tty: %m");
-
- if ((ret = fork()) > 0) {
- /* cleanup_files = 0; */
- exit(0);
- }
+ if (daemon(1, 1))
+ syslog(LOG_INFO, "daemon: %m");
/* Close all open inherited files! Except for ttyfd! */
for (i = 0; i < 64; i++)
|
shibajee/buildroot
|
package/irda-utils/0001-daemon.patch
|
patch
|
mit
| 802 |
written by Mike Frysinger
https://sourceforge.net/tracker/?func=detail&aid=3132056&group_id=5616&atid=305616
nommu systems cannot fork() as the hardware cannot support
it. irattach uses it as a minor optimization, but it isnt
necessary for correct functioning of the utility. so add a
NO_FORK define so we nommu peeps can do CFLAGS="... -DNO_FORK=1
..." and use it in our embedded systems.
--- a/irattach/irattach.c
+++ b/irattach/irattach.c
@@ -397,7 +397,11 @@
after_names[i]);
/* Create a new instance for this other
* interface */
+#ifdef NO_FORK
+ pid = -1;
+#else
pid = fork();
+#endif
/* If in the child */
if(!pid) {
/* Get the interface name */
|
shibajee/buildroot
|
package/irda-utils/0002-nommu.patch
|
patch
|
mit
| 698 |
written by Mike Frysinger
https://sourceforge.net/tracker/?func=detail&aid=3132051&group_id=5616&atid=305616
The top level makefile ignores build/install errors in subdirs which makes
packaging a pain to verify.
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,11 @@
CFLAGS= -O2 -W -Wall
all:
- @-(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done)
+ @(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done)
install:
- @-(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done)
+ @(set -e ; for d in $(DIRS) ; do $(MAKE) $(MAKE_OUTPUT) -C $$d $@ ; done)
clean:
|
shibajee/buildroot
|
package/irda-utils/0003-subdir.patch
|
patch
|
mit
| 627 |
Replace use of <net/if_packet.h> with <linux/if_packet.h>.
kernel headers <linux/if_packet.h> already provides the
needed definitions, moreover not all libc implementations
provide if_packet.h e.g. musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
[From http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/musl.patch.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Index: irda-utils-0.9.18/irdaping/irdaping.c
===================================================================
--- irda-utils-0.9.18.orig/irdaping/irdaping.c
+++ irda-utils-0.9.18/irdaping/irdaping.c
@@ -33,7 +33,6 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h> /* For struct ifreq */
-#include <net/if_packet.h> /* For struct sockaddr_pkt */
#include <net/if_arp.h> /* For ARPHRD_IRDA */
#include <netinet/if_ether.h> /* For ETH_P_ALL */
#include <netinet/in.h> /* For htons */
@@ -46,6 +45,7 @@
#include <asm/byteorder.h> /* __cpu_to_le32 and co. */
#include <linux/types.h> /* For __u8 and co. */
+#include <linux/if_packet.h> /* For struct sockaddr_pkt */
#include <irda.h>
#ifndef AF_IRDA
|
shibajee/buildroot
|
package/irda-utils/0004-musl.patch
|
patch
|
mit
| 1,192 |
config BR2_PACKAGE_IRDA_UTILS
bool "irda-utils"
help
user space utilities which control the IrDA stack
http://irda.sourceforge.net/
if BR2_PACKAGE_IRDA_UTILS
config BR2_PACKAGE_IRDA_UTILS_IRATTACH
bool "irattach"
config BR2_PACKAGE_IRDA_UTILS_IRDAPING
bool "irdaping"
config BR2_PACKAGE_IRDA_UTILS_IRNETD
bool "irnetd"
endif
|
shibajee/buildroot
|
package/irda-utils/Config.in
|
in
|
mit
| 342 |
# Locally computed:
sha256 61980551e46b2eaa9e17ad31cbc1a638074611fc33bff34163d10c7a67a9fdc6 irda-utils-0.9.18.tar.gz
|
shibajee/buildroot
|
package/irda-utils/irda-utils.hash
|
hash
|
mit
| 119 |
################################################################################
#
# irda-utils
#
################################################################################
IRDA_UTILS_VERSION = 0.9.18
IRDA_UTILS_SITE = http://downloads.sourceforge.net/project/irda/irda-utils/$(IRDA_UTILS_VERSION)
IRDA_UTILS_LICENSE = GPLv2+
IRDA_UTILS_LICENSE_FILES = man/COPYING
IRDA_UTILS_CFLAGS = $(TARGET_CFLAGS) -I.
ifeq ($(BR2_USE_MMU),)
IRDA_UTILS_CFLAGS += -DNO_FORK=1
endif
define IRDA_UTILS_BUILD_CMDS
$(MAKE) \
CC="$(TARGET_CC)" \
CFLAGS="$(IRDA_UTILS_CFLAGS)" \
SYS_INCLUDES= \
DIRS="irattach irdaping irnetd" \
V=1 -C $(@D)
endef
IRDA_UTILS_SBINS- =
IRDA_UTILS_SBINS-y =
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRATTACH) += irattach
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRDAPING) += irdaping
IRDA_UTILS_SBINS-$(BR2_PACKAGE_IRDA_UTILS_IRNETD) += irnetd
IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y)
define IRDA_UTILS_INSTALL_TARGET_CMDS
for i in $(IRDA_UTILS_SBINS-y); do \
$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
done
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/irda-utils/irda-utils.mk
|
mk
|
mit
| 1,119 |
config BR2_PACKAGE_IRQBALANCE
bool "irqbalance"
help
Irqbalance is a daemon to help balance the cpu load generated
by interrupts across all of a systems cpus.
Irqbalance identifies the highest volume interrupt sources,
and isolates them to a single unique cpu, so that load is
spread as much as possible over an entire processor set, while
minimizing cache hit rates for irq handlers.
https://github.com/Irqbalance/irqbalance
|
shibajee/buildroot
|
package/irqbalance/Config.in
|
in
|
mit
| 450 |
#!/bin/sh
#
# Starts irqbalance
#
EXEC="/usr/sbin/irqbalance"
ARGS=""
PID="/var/run/irqbalance.pid"
case "$1" in
start)
printf "Starting irqbalance: "
start-stop-daemon -S -q -x $EXEC -- $ARGS
if [ $? != 0 ]; then
echo "FAILED"
exit 1
else
echo "OK"
fi
pidof irqbalance > $PID
;;
stop)
printf "Stopping irqbalance: "
start-stop-daemon -K -q -p $PID
echo "OK"
;;
restart|reload)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
|
shibajee/buildroot
|
package/irqbalance/S13irqbalance
|
none
|
mit
| 500 |
# Locally calculated
sha256 f1b8115948bb9f0bc36b9d7143ee8be751a294bc189d311408e753acc37169c3 irqbalance-v1.0.9.tar.gz
|
shibajee/buildroot
|
package/irqbalance/irqbalance.hash
|
hash
|
mit
| 119 |
################################################################################
#
# irqbalance
#
################################################################################
IRQBALANCE_VERSION = v1.0.9
IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,$(IRQBALANCE_VERSION))
IRQBALANCE_LICENSE = GPLv2
IRQBALANCE_LICENSE_FILES = COPYING
IRQBALANCE_DEPENDENCIES = host-pkgconf
# Autoreconf needed because package is distributed without a configure script
IRQBALANCE_AUTORECONF = YES
# This would be done by the package's autogen.sh script
define IRQBALANCE_PRECONFIGURE
mkdir -p $(@D)/m4
endef
IRQBALANCE_PRE_CONFIGURE_HOOKS += IRQBALANCE_PRECONFIGURE
define IRQBALANCE_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \
$(TARGET_DIR)/etc/init.d/S13irqbalance
endef
define IRQBALANCE_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \
$(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -fs ../../../../usr/lib/systemd/system/irqbalance.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/irqbalance.service
endef
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/irqbalance/irqbalance.mk
|
mk
|
mit
| 1,210 |
[Unit]
Description=irqbalance daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/irqbalance --foreground
[Install]
WantedBy=multi-user.target
|
shibajee/buildroot
|
package/irqbalance/irqbalance.service
|
service
|
mit
| 150 |
config BR2_PACKAGE_IRSSI
bool "irssi"
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_NCURSES
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # fork()
help
Irssi is a terminal based IRC client for UNIX systems.
http://irssi.org/
if BR2_PACKAGE_IRSSI
config BR2_PACKAGE_IRSSI_PROXY
bool "proxy module"
help
Build the irssi proxy module, which allows an IRC connection
to be shared among multiple clients.
config BR2_PACKAGE_IRSSI_TRUE_COLOR
bool "true color support"
help
Build with true color support in terminal.
endif
comment "irssi needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/irssi/Config.in
|
in
|
mit
| 743 |
# Locally calculated after checking pgp signature
sha256 c0a177f749757c2d171ebe49ab0f0dd9cf9374dea81ab01904d0549bcb057840 irssi-0.8.18.tar.xz
|
shibajee/buildroot
|
package/irssi/irssi.hash
|
hash
|
mit
| 142 |
################################################################################
#
# irssi
#
################################################################################
IRSSI_VERSION = 0.8.18
IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz
# Do not use the github helper here. The generated tarball is *NOT* the
# same as the one uploaded by upstream for the release.
IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION)
IRSSI_LICENSE = GPLv2+
IRSSI_LICENSE_FILES = COPYING
IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses
IRSSI_CONF_OPTS = \
--disable-glibtest \
--with-ncurses=$(STAGING_DIR)/usr \
--without-perl
ifeq ($(BR2_PACKAGE_OPENSSL),y)
IRSSI_CONF_OPTS += --enable-ssl
IRSSI_DEPENDENCIES += openssl
else
IRSSI_CONF_OPTS += --disable-ssl
endif
ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y)
IRSSI_CONF_OPTS += --with-proxy
# If shared libs are disabled, 'proxy' has to go in the list of built-in
# modules.
ifeq ($(BR2_STATIC_LIBS),y)
IRSSI_CONF_OPTS += --with-modules=proxy
endif
else
IRSSI_CONF_OPTS += --without-proxy
endif # proxy
ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y)
IRSSI_CONF_OPTS += --enable-true-color
else
IRSSI_CONF_OPTS += --disable-true-color
endif
# Cross-compiling irssi with the perl interpreter enabled doesn't work
# yet. So, remove scripts as they are useless in that case.
define IRSSI_REMOVE_SCRIPTS
rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/
endef
IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/irssi/irssi.mk
|
mk
|
mit
| 1,502 |
# Locally computed
sha256 8882c9e36549fc757efa267706a9af733bb8d7fe3905cbfde43e17a89eea4675 isl-0.14.1.tar.xz
|
shibajee/buildroot
|
package/isl/isl.hash
|
hash
|
mit
| 109 |
################################################################################
#
# isl
#
################################################################################
# The latest 0.15 version is not yet compatible with cloog 0.18.3, so
# bumping isl is not possible until a new version of cloog is
# published.
ISL_VERSION = 0.14.1
ISL_SOURCE = isl-$(ISL_VERSION).tar.xz
ISL_SITE = http://isl.gforge.inria.fr
ISL_LICENSE = MIT
ISL_LICENSE_FILES = LICENSE
HOST_ISL_DEPENDENCIES = host-gmp
# Our libtool patch doesn't apply, and since this package is only
# built for the host, we don't really care about it.
ISL_LIBTOOL_PATCH = NO
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/isl/isl.mk
|
mk
|
mit
| 673 |
config BR2_PACKAGE_IUCODE_TOOL
bool "iucode-tool"
depends on BR2_x86_64 || BR2_i386
select BR2_PACKAGE_INTEL_MICROCODE
select BR2_PACKAGE_ARGP_STANDALONE \
if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
help
Intel processor microcode tool
https://gitlab.com/iucode-tool
|
shibajee/buildroot
|
package/iucode-tool/Config.in
|
in
|
mit
| 299 |
#!/bin/sh
#
# Upload microcode into the processor.
#
microcode_file="/usr/share/misc/intel-microcode.dat"
case "$1" in
start)
echo "Starting iucode-tool:"
/usr/sbin/iucode_tool -k $microcode_file
echo "done"
;;
stop)
;;
restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
|
shibajee/buildroot
|
package/iucode-tool/S00iucode-tool
|
none
|
mit
| 319 |
# Locally computed
sha256 33271652032f20f866a212bc98ea01a8db65c4ac839fa820aa23da974fd6ff62 iucode-tool_1.5.tar.xz
|
shibajee/buildroot
|
package/iucode-tool/iucode-tool.hash
|
hash
|
mit
| 114 |
################################################################################
#
# iucode-tool
#
################################################################################
IUCODE_TOOL_VERSION = 1.5
IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz
IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/latest
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
IUCODE_TOOL_CONF_ENV = LIBS="-largp"
IUCODE_TOOL_DEPENDENCIES = argp-standalone
endif
IUCODE_TOOL_LICENSE = GPLv2+
IUCODE_TOOL_LICENSE_FILES = COPYING
define IUCODE_TOOL_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
$(TARGET_DIR)/etc/init.d/S00iucode-tool
endef
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/iucode-tool/iucode-tool.mk
|
mk
|
mit
| 707 |
config BR2_PACKAGE_IW
bool "iw"
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
select BR2_PACKAGE_LIBNL
help
Utility for wireless devices using the mac80211 kernel stack
http://wireless.kernel.org/en/users/Documentation/iw
comment "iw needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/iw/Config.in
|
in
|
mit
| 314 |
# From https://www.kernel.org/pub/software/network/iw/sha256sums.asc
sha256 d1720c04bc26661d42e71d13746d5c3aeedb6bdf743f7d6b7b056f0abd345ee8 iw-4.7.tar.xz
|
shibajee/buildroot
|
package/iw/iw.hash
|
hash
|
mit
| 155 |
################################################################################
#
# iw
#
################################################################################
IW_VERSION = 4.7
IW_SOURCE = iw-$(IW_VERSION).tar.xz
IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw
IW_LICENSE = ISC
IW_LICENSE_FILES = COPYING
IW_DEPENDENCIES = host-pkgconf libnl
IW_MAKE_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)" LDFLAGS="$(TARGET_LDFLAGS)"
IW_MAKE_ENV = PKG_CONFIG="$(HOST_DIR)/usr/bin/pkg-config" \
GIT_DIR=$(IW_DIR)
define IW_BUILD_CMDS
$(IW_MAKE_ENV) $(MAKE) $(IW_MAKE_OPTS) -C $(@D)
endef
define IW_INSTALL_TARGET_CMDS
$(IW_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/iw/iw.mk
|
mk
|
mit
| 720 |
From 3651f95d0433c84d2b67e30e68dd6140585535b0 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Tue, 19 Apr 2016 19:32:35 +0200
Subject: [PATCH 1/1] Add support for nios2
When compiling jack on nios2, compilation fails because NGREGS is not
defined. Since this is only for debug output on segmentation faults, stub
the debug print out like it's been done for other platforms before.
Inspired by
https://github.com/jackaudio/jack2/commit/d11bb095291d8880508c87adfe625bf2bcab1456
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Patch sent upstream: https://github.com/jackaudio/jack2/pull/199]
---
dbus/sigsegv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
index 64c3986..ee12f91 100644
--- a/dbus/sigsegv.c
+++ b/dbus/sigsegv.c
@@ -104,7 +104,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
jack_error("info.si_errno = %d", info->si_errno);
jack_error("info.si_code = %d (%s)", info->si_code, si_code_str);
jack_error("info.si_addr = %p", info->si_addr);
-#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__)
+#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) && !defined(nios2)
for(i = 0; i < NGREG; i++)
jack_error("reg[%02d] = 0x" REGFORMAT, i,
#if defined(__powerpc64__)
--
2.8.0.rc3
|
shibajee/buildroot
|
package/jack2/0001-Add-support-for-nios2.patch
|
patch
|
mit
| 1,570 |
From 4b2c73ad056aa327dc3b505410da68cf384317ba Mon Sep 17 00:00:00 2001
From: Samuel Martin <s.martin49@gmail.com>
Date: Mon, 16 May 2016 22:26:05 +0200
Subject: [PATCH] Make backtrace support depends on execinfo.h existence
In some C-libraries (like uclibc), backtrace support is optional, so the
execinfo.h file may not exist.
This change adds the check for execinfo.h header and conditionnaly enable
backtrace support.
This issue has been triggered by Buildroot farms:
http://autobuild.buildroot.org/results/391/391e71a988250ea66ec4dbee6f60fdce9eaf2766/build-end.log
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
dbus/sigsegv.c | 8 +++++++-
wscript | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
index ee12f91..0b31d89 100644
--- a/dbus/sigsegv.c
+++ b/dbus/sigsegv.c
@@ -27,7 +27,9 @@
#include <stdio.h>
#include <signal.h>
#include <dlfcn.h>
-#include <execinfo.h>
+#if defined(HAVE_EXECINFO_H)
+# include <execinfo.h>
+#endif /* defined(HAVE_EXECINFO_H) */
#include <errno.h>
#ifndef NO_CPP_DEMANGLE
char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status);
@@ -161,12 +163,16 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) {
bp = (void**)bp[0];
}
#else
+# if defined(HAVE_EXECINFO_H)
jack_error("Stack trace (non-dedicated):");
sz = backtrace(bt, 20);
strings = backtrace_symbols(bt, sz);
for(i = 0; i < sz; ++i)
jack_error("%s", strings[i]);
+# else /* defined(HAVE_EXECINFO_H) */
+ jack_error("Stack trace not available");
+# endif /* defined(HAVE_EXECINFO_H) */
#endif
jack_error("End of stack trace");
exit (-1);
diff --git a/wscript b/wscript
index aef4bd8..63ba3aa 100644
--- a/wscript
+++ b/wscript
@@ -166,6 +166,7 @@ def configure(conf):
if conf.env['BUILD_JACKDBUS'] != True:
conf.fatal('jackdbus was explicitly requested but cannot be built')
+ conf.check_cc(header_name='execinfo.h', define_name="HAVE_EXECINFO_H", mandatory=False)
conf.check_cc(header_name='samplerate.h', define_name="HAVE_SAMPLERATE")
if conf.is_defined('HAVE_SAMPLERATE'):
--
2.8.2
|
shibajee/buildroot
|
package/jack2/0002-Make-backtrace-support-depends-on-execinfo.h-existen.patch
|
patch
|
mit
| 2,229 |
From c971aaab74ca6e7d4ac3a06bd26e7309dfc5da45 Mon Sep 17 00:00:00 2001
From: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Date: Mon, 22 Aug 2016 19:04:47 +0530
Subject: [PATCH] tests: define __STDC_LIMIT_MACROS
With glibc 2.16, we get following build error when building jack2:
[193/247] cxx: tests/iodelay.cpp -> build/tests/iodelay.cpp.4.o
../tests/iodelay.cpp:171:43: error: 'UINT32_MAX' was not declared in this scope
../tests/iodelay.cpp:171:55: error: 'UINT32_MAX' was not declared in this scope
../tests/iodelay.cpp:172:44: error: 'UINT32_MAX' was not declared in this scope
../tests/iodelay.cpp:172:56: error: 'UINT32_MAX' was not declared in this scope
In glibc 2.17 or older version, Header <stdint.h> defines these macros
for C++ only if explicitly requested by defining __STDC_LIMIT_MACROS.
We can't use <cstdint> since it requires C++11 standard.
This build issue found by Buildroot autobuilder.
http://autobuild.buildroot.net/results/369/369ce208ffea43dad75ba0a13469159b341e3bf5/
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
tests/iodelay.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/iodelay.cpp b/tests/iodelay.cpp
index 1ef470f..f5c5836 100644
--- a/tests/iodelay.cpp
+++ b/tests/iodelay.cpp
@@ -20,6 +20,7 @@
#include <stdlib.h>
#include <stdio.h>
+#define __STDC_LIMIT_MACROS
#include <stdint.h>
#include <math.h>
#include <unistd.h>
--
2.6.2
|
shibajee/buildroot
|
package/jack2/0003-tests-define-__STDC_LIMIT_MACROS.patch
|
patch
|
mit
| 1,419 |
config BR2_PACKAGE_JACK2
bool "jack2"
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
depends on BR2_USE_MMU # fork()
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_LIBSAMPLERATE
select BR2_PACKAGE_LIBSNDFILE
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_HWDEP
select BR2_PACKAGE_ALSA_LIB_SEQ
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
# Ensure we get at least one:
select BR2_PACKAGE_JACK2_LEGACY if !BR2_PACKAGE_JACK2_DBUS
help
JACK Audio Connection Kit (server and example clients).
JACK is a low-latency sound server, allowing multiple
applications to connect to one audio device, and to share
audio between themselves. This package contains the daemon
jackd as well as some example clients.
http://jackaudio.org/
if BR2_PACKAGE_JACK2
config BR2_PACKAGE_JACK2_LEGACY
bool "classic jack2"
help
Build and use jackd.
https://github.com/jackaudio/jackaudio.github.com/wiki/JackDbusPackaging
config BR2_PACKAGE_JACK2_DBUS
bool "dbus jack2"
depends on BR2_USE_WCHAR # dbus-python, python
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_PYTHON
select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime
help
Build and use jackdbus.
https://github.com/jackaudio/jackaudio.github.com/wiki/JackDbusPackaging
endif
comment "jack2 needs a toolchain w/ threads, C++, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
BR2_STATIC_LIBS
|
shibajee/buildroot
|
package/jack2/Config.in
|
in
|
mit
| 1,695 |
# Locally calculated
sha256 88f1b6601b7c8950e6a2d5940b423a33ee628ae5583da40bdce3d9317d8c600d jack2-v1.9.10.tar.gz
sha256 f372c4300e3fb2c1ce053e47829df44f3f8b933feb820759392187723ae8e640 ff1ed2c4524095055140370c1008a2d9cccc5645.patch
|
shibajee/buildroot
|
package/jack2/jack2.hash
|
hash
|
mit
| 235 |
################################################################################
#
# jack2
#
################################################################################
JACK2_VERSION = v1.9.10
JACK2_SITE = $(call github,jackaudio,jack2,$(JACK2_VERSION))
JACK2_LICENSE = GPLv2+ (jack server), LGPLv2.1+ (jack library)
JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib host-python
JACK2_INSTALL_STAGING = YES
JACK2_PATCH = https://github.com/jackaudio/jack2/commit/ff1ed2c4524095055140370c1008a2d9cccc5645.patch
ifeq ($(BR2_PACKAGE_OPUS),y)
JACK2_DEPENDENCIES += opus
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
JACK2_DEPENDENCIES += readline
endif
ifeq ($(BR2_PACKAGE_JACK2_LEGACY),y)
JACK2_CONF_OPTS += --classic
else
define JACK2_REMOVE_JACK_CONTROL
$(RM) -f $(TARGET_DIR)/usr/bin/jack_control
endef
JACK2_POST_INSTALL_TARGET_HOOKS += JACK2_REMOVE_JACK_CONTROL
endif
ifeq ($(BR2_PACKAGE_JACK2_DBUS),y)
JACK2_DEPENDENCIES += dbus
JACK2_CONF_OPTS += --dbus
endif
# Even though it advertises support for celt-0.5.x, jack2 really
# requires celt >= 0.5.2 but we only have 0.5.1.3 and we cannot
# upgrade, so we do not add a dependency to celt051, which it can't
# find anyway as it looks for celt.pc but we only have celt-51.pc.
# The dependency against eigen is only useful in conjunction with
# gtkiostream, which we do not have, so we don't need to depend on
# eigen.
define JACK2_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) \
$(HOST_DIR)/usr/bin/python2 ./waf configure \
--prefix=/usr \
--alsa \
$(JACK2_CONF_OPTS) \
)
endef
define JACK2_BUILD_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
endef
define JACK2_INSTALL_TARGET_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
install)
endef
define JACK2_INSTALL_STAGING_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) \
install)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jack2/jack2.mk
|
mk
|
mit
| 1,948 |
From 7152ded5219453c9ff1cd062cecbeaf4d77e4cab Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Thu, 26 May 2016 15:05:48 +0200
Subject: [PATCH] Use <fenv.h> instead of <fpu_control.h>
musl libc (http://musl-libc.org lack the non-standard <fpu_control.h>
header, which is used in src/os/linux/{i386,x86_64}/init.c files to
setup the floating point precision. This patch makes it use the
standard C <fenv.h> header instead.
Original patch at Felix Janda at
https://sourceforge.net/p/jamvm/patches/6/.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
src/os/linux/i386/init.c | 12 ++++++------
src/os/linux/x86_64/init.c | 16 ++++++----------
2 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/src/os/linux/i386/init.c b/src/os/linux/i386/init.c
index d9c6648..94a733e 100644
--- a/src/os/linux/i386/init.c
+++ b/src/os/linux/i386/init.c
@@ -19,18 +19,18 @@
* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <fpu_control.h>
+#include <fenv.h>
/* Change floating point precision to double (64-bit) from
* the extended (80-bit) Linux default. */
void setDoublePrecision() {
- fpu_control_t cw;
+ fenv_t fenv;
- _FPU_GETCW(cw);
- cw &= ~_FPU_EXTENDED;
- cw |= _FPU_DOUBLE;
- _FPU_SETCW(cw);
+ fegetenv(&fenv);
+ fenv.__control_word &= ~0x300; /* _FPU_EXTENDED */
+ fenv.__control_word |= 0x200; /* _FPU_DOUBLE */
+ fesetenv(&fenv);
}
void initialisePlatform() {
diff --git a/src/os/linux/x86_64/init.c b/src/os/linux/x86_64/init.c
index 9d55229..a76a923 100644
--- a/src/os/linux/x86_64/init.c
+++ b/src/os/linux/x86_64/init.c
@@ -19,9 +19,7 @@
* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifdef __linux__
-#include <fpu_control.h>
-#endif
+#include <fenv.h>
/* Change the x87 FPU precision to double (64-bit) from the extended
(80-bit) Linux default. Note, unlike on i386, my testcases pass
@@ -30,14 +28,12 @@
*/
void setDoublePrecision() {
-#ifdef __linux__
- fpu_control_t cw;
+ fenv_t fenv;
- _FPU_GETCW(cw);
- cw &= ~_FPU_EXTENDED;
- cw |= _FPU_DOUBLE;
- _FPU_SETCW(cw);
-#endif
+ fegetenv(&fenv);
+ fenv.__control_word &= ~0x300; /*_FPU_EXTENDED */
+ fenv.__control_word |= 0x200; /*_FPU_DOUBLE */
+ fesetenv(&fenv);
}
void initialisePlatform() {
--
2.7.4
|
shibajee/buildroot
|
package/jamvm/0001-Use-fenv.h-instead-of-fpu_control.h.patch
|
patch
|
mit
| 2,426 |
config BR2_PACKAGE_JAMVM
bool "jamvm"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64 \
|| BR2_mips || BR2_mipsel || BR2_powerpc
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_CLASSPATH
help
JamVM is a new Java Virtual Machine which conforms to the
JVM specification version 2 (blue book).
http://jamvm.sf.net
comment "jamvm needs a toolchain w/ threads, dynamic library"
depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64 \
|| BR2_mips || BR2_mipsel || BR2_powerpc
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
shibajee/buildroot
|
package/jamvm/Config.in
|
in
|
mit
| 625 |
# Locally computed:
sha256 76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da jamvm-2.0.0.tar.gz
|
shibajee/buildroot
|
package/jamvm/jamvm.hash
|
hash
|
mit
| 113 |
################################################################################
#
# jamvm
#
################################################################################
JAMVM_VERSION = 2.0.0
JAMVM_SITE = http://downloads.sourceforge.net/project/jamvm/jamvm/JamVM%20$(JAMVM_VERSION)
JAMVM_LICENSE = GPLv2+
JAMVM_LICENSE_FILES = COPYING
JAMVM_DEPENDENCIES = zlib classpath
# int inlining seems to crash jamvm, don't build shared version of internal lib
JAMVM_CONF_OPTS = \
--with-classpath-install-dir=/usr \
--disable-int-inlining \
--disable-shared \
--without-pic
# jamvm has ARM assembly code that cannot be compiled in Thumb2 mode,
# so we must force traditional ARM mode.
ifeq ($(BR2_arm),y)
JAMVM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/jamvm/jamvm.mk
|
mk
|
mit
| 792 |
config BR2_PACKAGE_JANSSON
bool "jansson"
help
Jansson is a C library for encoding, decoding and manipulating JSON
data.
http://www.digip.org/jansson/
|
shibajee/buildroot
|
package/jansson/Config.in
|
in
|
mit
| 163 |
# Locally calculated after checking pgp signature
sha256 7905e6590fb316c0ff943df3dc6a21cd81a59cff7a6d12514054c359d04d78d7 jansson-2.7.tar.gz
|
shibajee/buildroot
|
package/jansson/jansson.hash
|
hash
|
mit
| 141 |
################################################################################
#
# jansson
#
################################################################################
JANSSON_VERSION = 2.7
JANSSON_SITE = http://www.digip.org/jansson/releases
JANSSON_LICENSE = MIT
JANSSON_LICENSE_FILES = LICENSE
JANSSON_INSTALL_STAGING = YES
JANSSON_CONF_ENV = LIBS="-lm"
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/jansson/jansson.mk
|
mk
|
mit
| 396 |
Do not force SSP usage
The toolchain may not support SSP, so do not enforce its usage, let
the package user pass the appropriate CFLAGS to enable SSP if needed.
Signed-off-by: Gregory Dymarek <gregd72002@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(rebased against v0.1.0)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -rupN janus-gateway-master.orig/Makefile.am janus-gateway-master/Makefile.am
--- janus-gateway-master.orig/Makefile.am 2014-11-27 14:36:31.000000000 +0000
+++ janus-gateway-master/Makefile.am 2014-12-01 16:39:50.551935028 +0000
@@ -14,7 +14,7 @@ AM_CFLAGS += -Wredundant-decls # sophia
# some fairly big refactoring though, which can wait.
# AM_CFLAGS += -Wshadow -Wstrict-aliasing=2
-AM_CFLAGS += -fstack-protector-all -g -ggdb -fPIC -rdynamic -pthread
+AM_CFLAGS += -g -ggdb -fPIC -rdynamic -pthread
# FIXME: make docs work with distcheck
DISTCHECK_CONFIGURE_FLAGS = --disable-docs --enable-post-processing
|
shibajee/buildroot
|
package/janus-gateway/0001-disable-ssp.patch
|
patch
|
mit
| 989 |
From c0f075bdee5edabf8f19b68e0880fbd249a89653 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 3 Jan 2015 15:09:59 +0100
Subject: [PATCH] Add test for -Wunused-but-set-variable
The -Wunused-but-set-variable option does not exist in some old gcc
versions (gcc 4.5.x), so using it unconditionally breaks the build
with such compilers.
This commit introduces the AX_CHECK_COMPILE_FLAG m4 macro taken from
the autoconf-archive
(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4),
and uses it to detect if the -Wunused-but-set-variable option is
supported, and only uses it in this case.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(rebased against v0.1.0)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
Makefile.am | 2 +-
configure.ac | 3 ++
m4/ax_check_compile_flag.m4 | 74 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 78 insertions(+), 1 deletion(-)
create mode 100644 m4/ax_check_compile_flag.m4
diff --git a/Makefile.am b/Makefile.am
index 5d23e0b..0f51f6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ AM_CFLAGS = \
-Wnested-externs -Wstrict-prototypes -Wunsafe-loop-optimizations \
-Wwrite-strings -Wno-missing-field-initializers -Wno-unused-parameter \
-Wcast-align -Wformat-nonliteral -Wformat-security -Wswitch-default \
- -Wmissing-include-dirs -Wno-aggregate-return -Wunused-but-set-variable \
+ -Wmissing-include-dirs -Wno-aggregate-return @GCC_WARN_UNUSED_BUT_SET@ \
-Warray-bounds -Wold-style-definition -Wsign-compare -Wlarger-than=65537
AM_CFLAGS += -Wno-undef # sophiasip is not -Wundef--safe
AM_CFLAGS += -Wno-redundant-decls # sophiasip also contains redundant declarations
diff --git a/configure.ac b/configure.ac
index 17870a7..f9bb1e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,9 @@ AM_SILENT_RULES([yes])
AC_GNU_SOURCE
AC_PROG_CC
+AX_CHECK_COMPILE_FLAG([-Wunused-but-set-variable],
+ [GCC_WARN_UNUSED_BUT_SET=-Wunused-but-set-variable])
+AC_SUBST(GCC_WARN_UNUSED_BUT_SET)
LT_PREREQ([2.2])
LT_INIT
diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4
new file mode 100644
index 0000000..51df0c0
--- /dev/null
+++ b/m4/ax_check_compile_flag.m4
@@ -0,0 +1,74 @@
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
+#
+# DESCRIPTION
+#
+# Check whether the given FLAG works with the current language's compiler
+# or gives an error. (Warnings, however, are ignored)
+#
+# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
+# success/failure.
+#
+# If EXTRA-FLAGS is defined, it is added to the current language's default
+# flags (e.g. CFLAGS) when the check is done. The check is thus made with
+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
+# force the compiler to issue an error when a bad flag is given.
+#
+# INPUT gives an alternative input source to AC_COMPILE_IFELSE.
+#
+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
+# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
+# Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 3
+
+AC_DEFUN([AX_CHECK_COMPILE_FLAG],
+[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX
+AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
+AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
+ AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
+ [AS_VAR_SET(CACHEVAR,[yes])],
+ [AS_VAR_SET(CACHEVAR,[no])])
+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
+AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes],
+ [m4_default([$2], :)],
+ [m4_default([$3], :)])
+AS_VAR_POPDEF([CACHEVAR])dnl
+])dnl AX_CHECK_COMPILE_FLAGS
--
2.1.0
|
shibajee/buildroot
|
package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch
|
patch
|
mit
| 5,760 |
config BR2_PACKAGE_JANUS_GATEWAY
bool "janus-gateway"
select BR2_PACKAGE_LIBMICROHTTPD
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_LIBNICE
select BR2_PACKAGE_SOFIA_SIP
select BR2_PACKAGE_LIBSRTP
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_DING_LIBS
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, libmicrohttpd
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libmicrohttpd
depends on BR2_USE_WCHAR # libnice -> libglib2
depends on BR2_USE_MMU # libnice
depends on !BR2_STATIC_LIBS # dlopen
help
Janus is an open source, general purpose, WebRTC gateway
designed and developed by Meetecho.
https://github.com/meetecho/janus-gateway
comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
shibajee/buildroot
|
package/janus-gateway/Config.in
|
in
|
mit
| 852 |
# Locally computed
sha256 4d341a54d3eae5506c3e2409f4a6e4f5159dc4ece3197aaf077d3eb997e69a10 janus-gateway-v0.1.0.tar.gz
|
shibajee/buildroot
|
package/janus-gateway/janus-gateway.hash
|
hash
|
mit
| 119 |
################################################################################
#
# janus-gateway
#
################################################################################
JANUS_GATEWAY_VERSION = v0.1.0
JANUS_GATEWAY_SITE = $(call github,meetecho,janus-gateway,$(JANUS_GATEWAY_VERSION))
JANUS_GATEWAY_LICENSE = GPLv3
JANUS_GATEWAY_LICENSE_FILES = COPYING
# ding-libs provides the ini_config library
JANUS_GATEWAY_DEPENDENCIES = host-pkgconf libmicrohttpd jansson \
libnice sofia-sip libsrtp host-gengetopt openssl ding-libs
# Straight out of the repository, no ./configure, and we also patch
# configure.ac.
JANUS_GATEWAY_AUTORECONF = YES
define JANUS_GATEWAY_M4
mkdir -p $(@D)/m4
endef
JANUS_GATEWAY_POST_PATCH_HOOKS += JANUS_GATEWAY_M4
JANUS_GATEWAY_CONF_OPTS = \
--disable-data-channels \
--disable-rabbitmq
ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y)
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
else
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
endif
ifeq ($(BR2_PACKAGE_OPUS),y)
JANUS_GATEWAY_DEPENDENCIES += opus
JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge
else
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-audiobridge
endif
ifeq ($(BR2_PACKAGE_LIBOGG),y)
JANUS_GATEWAY_DEPENDENCIES += libogg
JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail
else
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
endif
# Parallel build broken
JANUS_GATEWAY_MAKE = $(MAKE1)
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/janus-gateway/janus-gateway.mk
|
mk
|
mit
| 1,478 |
Fix CVE-2014-9029
Patch taken from https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-9029
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
--- jasper-1.900.1.orig/src/libjasper/jpc/jpc_dec.c 2014-11-27 12:45:44.000000000 +0100
+++ jasper-1.900.1.orig/src/libjasper/jpc/jpc_dec.c 2014-11-27 12:44:58.000000000 +0100
@@ -1281,7 +1281,7 @@ static int jpc_dec_process_coc(jpc_dec_t
jpc_coc_t *coc = &ms->parms.coc;
jpc_dec_tile_t *tile;
- if (JAS_CAST(int, coc->compno) > dec->numcomps) {
+ if (JAS_CAST(int, coc->compno) >= dec->numcomps) {
jas_eprintf("invalid component number in COC marker segment\n");
return -1;
}
@@ -1307,7 +1307,7 @@ static int jpc_dec_process_rgn(jpc_dec_t
jpc_rgn_t *rgn = &ms->parms.rgn;
jpc_dec_tile_t *tile;
- if (JAS_CAST(int, rgn->compno) > dec->numcomps) {
+ if (JAS_CAST(int, rgn->compno) >= dec->numcomps) {
jas_eprintf("invalid component number in RGN marker segment\n");
return -1;
}
@@ -1356,7 +1356,7 @@ static int jpc_dec_process_qcc(jpc_dec_t
jpc_qcc_t *qcc = &ms->parms.qcc;
jpc_dec_tile_t *tile;
- if (JAS_CAST(int, qcc->compno) > dec->numcomps) {
+ if (JAS_CAST(int, qcc->compno) >= dec->numcomps) {
jas_eprintf("invalid component number in QCC marker segment\n");
return -1;
}
|
shibajee/buildroot
|
package/jasper/0001-fix-CVE-2014-9029.patch
|
patch
|
mit
| 1,269 |
See https://bugzilla.redhat.com/show_bug.cgi?id=1173162
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- jasper-1.900.1.orig/src/libjasper/jp2/jp2_dec.c 2014-12-11 14:06:44.000000000 +0100
+++ jasper-1.900.1/src/libjasper/jp2/jp2_dec.c 2014-12-11 14:06:26.000000000 +0100
@@ -386,6 +386,11 @@ jas_image_t *jp2_decode(jas_stream_t *in
/* Determine the type of each component. */
if (dec->cdef) {
for (i = 0; i < dec->numchans; ++i) {
+ /* Is the channel number reasonable? */
+ if (dec->cdef->data.cdef.ents[i].channo >= dec->numchans) {
+ jas_eprintf("error: invalid channel number in CDEF box\n");
+ goto error;
+ }
jas_image_setcmpttype(dec->image,
dec->chantocmptlut[dec->cdef->data.cdef.ents[i].channo],
jp2_getct(jas_image_clrspc(dec->image),
|
shibajee/buildroot
|
package/jasper/0002-fix-CVE-2014-8138.patch
|
patch
|
mit
| 798 |
See https://bugzilla.redhat.com/show_bug.cgi?id=1173157
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- jasper-1.900.1.orig/src/libjasper/base/jas_icc.c 2014-12-11 14:06:44.000000000 +0100
+++ jasper-1.900.1/src/libjasper/base/jas_icc.c 2014-12-11 15:16:37.971272386 +0100
@@ -1009,7 +1009,6 @@ static int jas_icccurv_input(jas_iccattr
return 0;
error:
- jas_icccurv_destroy(attrval);
return -1;
}
@@ -1127,7 +1126,6 @@ static int jas_icctxtdesc_input(jas_icca
#endif
return 0;
error:
- jas_icctxtdesc_destroy(attrval);
return -1;
}
@@ -1206,8 +1204,6 @@ static int jas_icctxt_input(jas_iccattrv
goto error;
return 0;
error:
- if (txt->string)
- jas_free(txt->string);
return -1;
}
@@ -1328,7 +1324,6 @@ static int jas_icclut8_input(jas_iccattr
goto error;
return 0;
error:
- jas_icclut8_destroy(attrval);
return -1;
}
@@ -1497,7 +1492,6 @@ static int jas_icclut16_input(jas_iccatt
goto error;
return 0;
error:
- jas_icclut16_destroy(attrval);
return -1;
}
|
shibajee/buildroot
|
package/jasper/0003-fix-CVE-2014-8137-1.patch
|
patch
|
mit
| 1,026 |
See https://bugzilla.redhat.com/show_bug.cgi?id=1173157
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- jasper-1.900.1.orig/src/libjasper/jp2/jp2_dec.c 2014-12-11 14:30:54.193209780 +0100
+++ jasper-1.900.1/src/libjasper/jp2/jp2_dec.c 2014-12-11 14:36:46.313217814 +0100
@@ -291,7 +291,10 @@ jas_image_t *jp2_decode(jas_stream_t *in
case JP2_COLR_ICC:
iccprof = jas_iccprof_createfrombuf(dec->colr->data.colr.iccp,
dec->colr->data.colr.iccplen);
- assert(iccprof);
+ if (!iccprof) {
+ jas_eprintf("error: failed to parse ICC profile\n");
+ goto error;
+ }
jas_iccprof_gethdr(iccprof, &icchdr);
jas_eprintf("ICC Profile CS %08x\n", icchdr.colorspc);
jas_image_setclrspc(dec->image, fromiccpcs(icchdr.colorspc));
|
shibajee/buildroot
|
package/jasper/0004-fix-CVE-2014-8137-2.patch
|
patch
|
mit
| 753 |
Fix CVE-2014-8157 - dec->numtiles off-by-one check in jpc_dec_process_sot()
From https://bugzilla.redhat.com/show_bug.cgi?id=1179282
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -up jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157 jasper-1.900.1/src/libjasper/jpc/jpc_dec.c
--- jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157 2015-01-19 16:59:36.000000000 +0100
+++ jasper-1.900.1/src/libjasper/jpc/jpc_dec.c 2015-01-19 17:07:41.609863268 +0100
@@ -489,7 +489,7 @@ static int jpc_dec_process_sot(jpc_dec_t
dec->curtileendoff = 0;
}
- if (JAS_CAST(int, sot->tileno) > dec->numtiles) {
+ if (JAS_CAST(int, sot->tileno) >= dec->numtiles) {
jas_eprintf("invalid tile number in SOT marker segment\n");
return -1;
}
|
shibajee/buildroot
|
package/jasper/0005-fix-CVE-2014-8157.patch
|
patch
|
mit
| 762 |
Fix CVE-2014-8158 - unrestricted stack memory use in jpc_qmfb.c
From https://bugzilla.redhat.com/show_bug.cgi?id=1179298
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -up jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c.CVE-2014-8158 jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c
--- jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c.CVE-2014-8158 2015-01-19 17:25:28.730195502 +0100
+++ jasper-1.900.1/src/libjasper/jpc/jpc_qmfb.c 2015-01-19 17:27:20.214663127 +0100
@@ -306,11 +306,7 @@ void jpc_qmfb_split_row(jpc_fix_t *a, in
{
int bufsize = JPC_CEILDIVPOW2(numcols, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE];
-#else
- jpc_fix_t splitbuf[bufsize];
-#endif
jpc_fix_t *buf = splitbuf;
register jpc_fix_t *srcptr;
register jpc_fix_t *dstptr;
@@ -318,7 +314,6 @@ void jpc_qmfb_split_row(jpc_fix_t *a, in
register int m;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Get a buffer. */
if (bufsize > QMFB_SPLITBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -326,7 +321,6 @@ void jpc_qmfb_split_row(jpc_fix_t *a, in
abort();
}
}
-#endif
if (numcols >= 2) {
hstartcol = (numcols + 1 - parity) >> 1;
@@ -360,12 +354,10 @@ void jpc_qmfb_split_row(jpc_fix_t *a, in
}
}
-#if !defined(HAVE_VLA)
/* If the split buffer was allocated on the heap, free this memory. */
if (buf != splitbuf) {
jas_free(buf);
}
-#endif
}
@@ -374,11 +366,7 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE];
-#else
- jpc_fix_t splitbuf[bufsize];
-#endif
jpc_fix_t *buf = splitbuf;
register jpc_fix_t *srcptr;
register jpc_fix_t *dstptr;
@@ -386,7 +374,6 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
register int m;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Get a buffer. */
if (bufsize > QMFB_SPLITBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -394,7 +381,6 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
abort();
}
}
-#endif
if (numrows >= 2) {
hstartcol = (numrows + 1 - parity) >> 1;
@@ -428,12 +414,10 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
}
}
-#if !defined(HAVE_VLA)
/* If the split buffer was allocated on the heap, free this memory. */
if (buf != splitbuf) {
jas_free(buf);
}
-#endif
}
@@ -442,11 +426,7 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE * JPC_QMFB_COLGRPSIZE];
-#else
- jpc_fix_t splitbuf[bufsize * JPC_QMFB_COLGRPSIZE];
-#endif
jpc_fix_t *buf = splitbuf;
jpc_fix_t *srcptr;
jpc_fix_t *dstptr;
@@ -457,7 +437,6 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
int m;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Get a buffer. */
if (bufsize > QMFB_SPLITBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -465,7 +444,6 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
abort();
}
}
-#endif
if (numrows >= 2) {
hstartcol = (numrows + 1 - parity) >> 1;
@@ -517,12 +495,10 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
}
}
-#if !defined(HAVE_VLA)
/* If the split buffer was allocated on the heap, free this memory. */
if (buf != splitbuf) {
jas_free(buf);
}
-#endif
}
@@ -531,11 +507,7 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE * JPC_QMFB_COLGRPSIZE];
-#else
- jpc_fix_t splitbuf[bufsize * numcols];
-#endif
jpc_fix_t *buf = splitbuf;
jpc_fix_t *srcptr;
jpc_fix_t *dstptr;
@@ -546,7 +518,6 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
int m;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Get a buffer. */
if (bufsize > QMFB_SPLITBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -554,7 +525,6 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
abort();
}
}
-#endif
if (numrows >= 2) {
hstartcol = (numrows + 1 - parity) >> 1;
@@ -606,12 +576,10 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
}
}
-#if !defined(HAVE_VLA)
/* If the split buffer was allocated on the heap, free this memory. */
if (buf != splitbuf) {
jas_free(buf);
}
-#endif
}
@@ -619,18 +587,13 @@ void jpc_qmfb_join_row(jpc_fix_t *a, int
{
int bufsize = JPC_CEILDIVPOW2(numcols, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE];
-#else
- jpc_fix_t joinbuf[bufsize];
-#endif
jpc_fix_t *buf = joinbuf;
register jpc_fix_t *srcptr;
register jpc_fix_t *dstptr;
register int n;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Allocate memory for the join buffer from the heap. */
if (bufsize > QMFB_JOINBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -638,7 +601,6 @@ void jpc_qmfb_join_row(jpc_fix_t *a, int
abort();
}
}
-#endif
hstartcol = (numcols + 1 - parity) >> 1;
@@ -670,12 +632,10 @@ void jpc_qmfb_join_row(jpc_fix_t *a, int
++srcptr;
}
-#if !defined(HAVE_VLA)
/* If the join buffer was allocated on the heap, free this memory. */
if (buf != joinbuf) {
jas_free(buf);
}
-#endif
}
@@ -684,18 +644,13 @@ void jpc_qmfb_join_col(jpc_fix_t *a, int
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE];
-#else
- jpc_fix_t joinbuf[bufsize];
-#endif
jpc_fix_t *buf = joinbuf;
register jpc_fix_t *srcptr;
register jpc_fix_t *dstptr;
register int n;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Allocate memory for the join buffer from the heap. */
if (bufsize > QMFB_JOINBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, sizeof(jpc_fix_t)))) {
@@ -703,7 +658,6 @@ void jpc_qmfb_join_col(jpc_fix_t *a, int
abort();
}
}
-#endif
hstartcol = (numrows + 1 - parity) >> 1;
@@ -735,12 +689,10 @@ void jpc_qmfb_join_col(jpc_fix_t *a, int
++srcptr;
}
-#if !defined(HAVE_VLA)
/* If the join buffer was allocated on the heap, free this memory. */
if (buf != joinbuf) {
jas_free(buf);
}
-#endif
}
@@ -749,11 +701,7 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE * JPC_QMFB_COLGRPSIZE];
-#else
- jpc_fix_t joinbuf[bufsize * JPC_QMFB_COLGRPSIZE];
-#endif
jpc_fix_t *buf = joinbuf;
jpc_fix_t *srcptr;
jpc_fix_t *dstptr;
@@ -763,7 +711,6 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
register int i;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Allocate memory for the join buffer from the heap. */
if (bufsize > QMFB_JOINBUFSIZE) {
if (!(buf = jas_alloc2(bufsize, JPC_QMFB_COLGRPSIZE * sizeof(jpc_fix_t)))) {
@@ -771,7 +718,6 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
abort();
}
}
-#endif
hstartcol = (numrows + 1 - parity) >> 1;
@@ -821,12 +767,10 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
srcptr += JPC_QMFB_COLGRPSIZE;
}
-#if !defined(HAVE_VLA)
/* If the join buffer was allocated on the heap, free this memory. */
if (buf != joinbuf) {
jas_free(buf);
}
-#endif
}
@@ -835,11 +779,7 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
{
int bufsize = JPC_CEILDIVPOW2(numrows, 1);
-#if !defined(HAVE_VLA)
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE * JPC_QMFB_COLGRPSIZE];
-#else
- jpc_fix_t joinbuf[bufsize * numcols];
-#endif
jpc_fix_t *buf = joinbuf;
jpc_fix_t *srcptr;
jpc_fix_t *dstptr;
@@ -849,7 +789,6 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
register int i;
int hstartcol;
-#if !defined(HAVE_VLA)
/* Allocate memory for the join buffer from the heap. */
if (bufsize > QMFB_JOINBUFSIZE) {
if (!(buf = jas_alloc3(bufsize, numcols, sizeof(jpc_fix_t)))) {
@@ -857,7 +796,6 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
abort();
}
}
-#endif
hstartcol = (numrows + 1 - parity) >> 1;
@@ -907,12 +845,10 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
srcptr += numcols;
}
-#if !defined(HAVE_VLA)
/* If the join buffer was allocated on the heap, free this memory. */
if (buf != joinbuf) {
jas_free(buf);
}
-#endif
}
|
shibajee/buildroot
|
package/jasper/0006-fix-CVE-2014-8158.patch
|
patch
|
mit
| 8,081 |
From: Max Filippov <jcmvbkbc@gmail.com>
Subject: Don't overwrite CFLAGS when configured with --enable-debug
This drops architecture-specific ABI flags, which may be important.
Signded-off-by: Max Filippov <jcmvbkbc@gmail.com>
--- jasper-1.900.1/configure.ac.orig 2015-05-18 22:27:53.057512760 +0300
+++ jasper-1.900.1/configure.ac 2015-05-18 22:28:36.090415422 +0300
@@ -327,7 +327,7 @@
AC_DEFINE(DEBUG)
AC_DEFINE(DEBUG_OVERFLOW)
if test "$GCC" = yes; then
- CFLAGS="-g -O0"
+ CFLAGS="$CFLAGS -g -O0"
fi
;;
no)
@@ -357,7 +357,7 @@
case "${enableval}" in
yes)
if test "$GCC" = yes; then
- CFLAGS="-g -O0"
+ CFLAGS="$CFLAGS -g -O0"
fi
;;
no)
|
shibajee/buildroot
|
package/jasper/0007-preserve-cflags.patch
|
patch
|
mit
| 667 |
Description: Prevent jas_stream_t memory leak in jas_iccprof_createfrombuf()
Author: Tyler Hicks <tyhicks () canonical com>
From: http://seclists.org/oss-sec/2016/q1/att-507/CVE-2016-2116.patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- jasper-1.900.1-debian1.orig/src/libjasper/base/jas_icc.c
+++ jasper-1.900.1-debian1/src/libjasper/base/jas_icc.c
@@ -1693,6 +1693,8 @@ jas_iccprof_t *jas_iccprof_createfrombuf
jas_stream_close(in);
return prof;
error:
+ if (in)
+ jas_stream_close(in);
return 0;
}
|
shibajee/buildroot
|
package/jasper/0008-fix-CVE-2016-2116.patch
|
patch
|
mit
| 534 |
Description: CVE-2016-1577: Prevent double-free in jas_iccattrval_destroy()
Author: Tyler Hicks <tyhicks () canonical com>
Bug-Ubuntu: https://launchpad.net/bugs/1547865
From: http://seclists.org/oss-sec/2016/q1/att-507/CVE-2016-1577.patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- jasper-1.900.1-debian1.orig/src/libjasper/base/jas_icc.c
+++ jasper-1.900.1-debian1/src/libjasper/base/jas_icc.c
@@ -300,6 +300,7 @@ jas_iccprof_t *jas_iccprof_load(jas_stre
if (jas_iccprof_setattr(prof, tagtabent->tag, attrval))
goto error;
jas_iccattrval_destroy(attrval);
+ attrval = 0;
} else {
#if 0
jas_eprintf("warning: skipping unknown tag type\n");
|
shibajee/buildroot
|
package/jasper/0009-fix-CVE-2016-1577.patch
|
patch
|
mit
| 692 |
From: http://pkgs.fedoraproject.org/cgit/rpms/jasper.git/plain/jasper-CVE-2016-1867.patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -urNp jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2cod.c jasper-1.900.1.new/src/libjasper/jpc/jpc_t2cod.c
--- jasper-1.900.1.orig/src/libjasper/jpc/jpc_t2cod.c 2016-08-11 14:34:31.795661973 +0200
+++ jasper-1.900.1.new/src/libjasper/jpc/jpc_t2cod.c 2016-08-12 07:02:40.044860209 +0200
@@ -429,7 +429,7 @@ static int jpc_pi_nextcprl(register jpc_
}
for (pi->compno = pchg->compnostart, pi->picomp =
- &pi->picomps[pi->compno]; pi->compno < JAS_CAST(int, pchg->compnoend); ++pi->compno,
+ &pi->picomps[pi->compno]; pi->compno < JAS_CAST(int, pchg->compnoend) && pi->compno < pi->numcomps; ++pi->compno,
++pi->picomp) {
pirlvl = pi->picomp->pirlvls;
pi->xstep = pi->picomp->hsamp * (1 << (pirlvl->prcwidthexpn +
|
shibajee/buildroot
|
package/jasper/0010-fix-CVE-2016-1867.patch
|
patch
|
mit
| 883 |
From: http://pkgs.fedoraproject.org/cgit/rpms/jasper.git/plain/jasper-CVE-2015-5221.patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -urNp jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c jasper-1.900.1.new/src/libjasper/mif/mif_cod.c
--- jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c 2016-08-11 13:46:26.166415464 +0200
+++ jasper-1.900.1.new/src/libjasper/mif/mif_cod.c 2016-08-11 14:17:20.507144931 +0200
@@ -569,13 +569,13 @@ static int mif_process_cmpt(mif_hdr_t *h
break;
}
}
- jas_tvparser_destroy(tvp);
if (!cmpt->sampperx || !cmpt->samppery) {
goto error;
}
if (mif_hdr_addcmpt(hdr, hdr->numcmpts, cmpt)) {
goto error;
}
+ jas_tvparser_destroy(tvp);
return 0;
error:
|
shibajee/buildroot
|
package/jasper/0011-fix-CVE-2015-5221.patch
|
patch
|
mit
| 728 |
From: http://pkgs.fedoraproject.org/cgit/rpms/jasper.git/plain/jasper-CVE-2015-5203.patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -urNp jasper-1.900.1.orig/src/libjasper/base/jas_stream.c jasper-1.900.1.new/src/libjasper/base/jas_stream.c
--- jasper-1.900.1.orig/src/libjasper/base/jas_stream.c 2016-08-11 13:35:09.160895769 +0200
+++ jasper-1.900.1.new/src/libjasper/base/jas_stream.c 2016-08-11 13:39:33.800843489 +0200
@@ -99,7 +99,7 @@ static int jas_strtoopenmode(const char
static void jas_stream_destroy(jas_stream_t *stream);
static jas_stream_t *jas_stream_create(void);
static void jas_stream_initbuf(jas_stream_t *stream, int bufmode, char *buf,
- int bufsize);
+ size_t bufsize);
static int mem_read(jas_stream_obj_t *obj, char *buf, int cnt);
static int mem_write(jas_stream_obj_t *obj, char *buf, int cnt);
@@ -168,7 +168,7 @@ static jas_stream_t *jas_stream_create()
return stream;
}
-jas_stream_t *jas_stream_memopen(char *buf, int bufsize)
+jas_stream_t *jas_stream_memopen(char *buf, size_t bufsize)
{
jas_stream_t *stream;
jas_stream_memobj_t *obj;
@@ -570,7 +570,7 @@ int jas_stream_puts(jas_stream_t *stream
return 0;
}
-char *jas_stream_gets(jas_stream_t *stream, char *buf, int bufsize)
+char *jas_stream_gets(jas_stream_t *stream, char *buf, size_t bufsize)
{
int c;
char *bufptr;
@@ -694,7 +694,7 @@ long jas_stream_tell(jas_stream_t *strea
\******************************************************************************/
static void jas_stream_initbuf(jas_stream_t *stream, int bufmode, char *buf,
- int bufsize)
+ size_t bufsize)
{
/* If this function is being called, the buffer should not have been
initialized yet. */
@@ -987,7 +987,7 @@ static int mem_read(jas_stream_obj_t *ob
return cnt;
}
-static int mem_resize(jas_stream_memobj_t *m, int bufsize)
+static int mem_resize(jas_stream_memobj_t *m, size_t bufsize)
{
unsigned char *buf;
diff -urNp jasper-1.900.1.orig/src/libjasper/include/jasper/jas_stream.h jasper-1.900.1.new/src/libjasper/include/jasper/jas_stream.h
--- jasper-1.900.1.orig/src/libjasper/include/jasper/jas_stream.h 2007-01-19 22:43:04.000000000 +0100
+++ jasper-1.900.1.new/src/libjasper/include/jasper/jas_stream.h 2016-08-11 13:41:27.841153595 +0200
@@ -215,7 +215,7 @@ typedef struct {
uchar *bufstart_;
/* The buffer size. */
- int bufsize_;
+ size_t bufsize_;
/* The current position in the buffer. */
uchar *ptr_;
@@ -267,7 +267,7 @@ typedef struct {
uchar *buf_;
/* The allocated size of the buffer for holding file data. */
- int bufsize_;
+ size_t bufsize_;
/* The length of the file. */
int_fast32_t len_;
@@ -291,7 +291,7 @@ typedef struct {
jas_stream_t *jas_stream_fopen(const char *filename, const char *mode);
/* Open a memory buffer as a stream. */
-jas_stream_t *jas_stream_memopen(char *buf, int bufsize);
+jas_stream_t *jas_stream_memopen(char *buf, size_t bufsize);
/* Open a file descriptor as a stream. */
jas_stream_t *jas_stream_fdopen(int fd, const char *mode);
@@ -366,7 +366,7 @@ int jas_stream_printf(jas_stream_t *stre
int jas_stream_puts(jas_stream_t *stream, const char *s);
/* Read a line of input from a stream. */
-char *jas_stream_gets(jas_stream_t *stream, char *buf, int bufsize);
+char *jas_stream_gets(jas_stream_t *stream, char *buf, size_t bufsize);
/* Look at the next character to be read from a stream without actually
removing it from the stream. */
diff -urNp jasper-1.900.1.orig/src/libjasper/jpc/jpc_qmfb.c jasper-1.900.1.new/src/libjasper/jpc/jpc_qmfb.c
--- jasper-1.900.1.orig/src/libjasper/jpc/jpc_qmfb.c 2016-08-11 13:35:09.170895681 +0200
+++ jasper-1.900.1.new/src/libjasper/jpc/jpc_qmfb.c 2016-08-11 13:45:20.847809678 +0200
@@ -305,7 +305,7 @@ jpc_qmfb2d_t jpc_ns_qmfb2d = {
void jpc_qmfb_split_row(jpc_fix_t *a, int numcols, int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numcols, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numcols, 1);
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE];
jpc_fix_t *buf = splitbuf;
register jpc_fix_t *srcptr;
@@ -365,7 +365,7 @@ void jpc_qmfb_split_col(jpc_fix_t *a, in
int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE];
jpc_fix_t *buf = splitbuf;
register jpc_fix_t *srcptr;
@@ -425,7 +425,7 @@ void jpc_qmfb_split_colgrp(jpc_fix_t *a,
int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE * JPC_QMFB_COLGRPSIZE];
jpc_fix_t *buf = splitbuf;
jpc_fix_t *srcptr;
@@ -506,7 +506,7 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
int stride, int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t splitbuf[QMFB_SPLITBUFSIZE * JPC_QMFB_COLGRPSIZE];
jpc_fix_t *buf = splitbuf;
jpc_fix_t *srcptr;
@@ -586,7 +586,7 @@ void jpc_qmfb_split_colres(jpc_fix_t *a,
void jpc_qmfb_join_row(jpc_fix_t *a, int numcols, int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numcols, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numcols, 1);
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE];
jpc_fix_t *buf = joinbuf;
register jpc_fix_t *srcptr;
@@ -643,7 +643,7 @@ void jpc_qmfb_join_col(jpc_fix_t *a, int
int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE];
jpc_fix_t *buf = joinbuf;
register jpc_fix_t *srcptr;
@@ -700,7 +700,7 @@ void jpc_qmfb_join_colgrp(jpc_fix_t *a,
int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE * JPC_QMFB_COLGRPSIZE];
jpc_fix_t *buf = joinbuf;
jpc_fix_t *srcptr;
@@ -778,7 +778,7 @@ void jpc_qmfb_join_colres(jpc_fix_t *a,
int stride, int parity)
{
- int bufsize = JPC_CEILDIVPOW2(numrows, 1);
+ size_t bufsize = JPC_CEILDIVPOW2(numrows, 1);
jpc_fix_t joinbuf[QMFB_JOINBUFSIZE * JPC_QMFB_COLGRPSIZE];
jpc_fix_t *buf = joinbuf;
jpc_fix_t *srcptr;
diff -urNp jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c jasper-1.900.1.new/src/libjasper/mif/mif_cod.c
--- jasper-1.900.1.orig/src/libjasper/mif/mif_cod.c 2016-08-11 13:35:09.179895601 +0200
+++ jasper-1.900.1.new/src/libjasper/mif/mif_cod.c 2016-08-11 13:46:26.166415464 +0200
@@ -107,7 +107,7 @@ static int mif_hdr_put(mif_hdr_t *hdr, j
static int mif_hdr_addcmpt(mif_hdr_t *hdr, int cmptno, mif_cmpt_t *cmpt);
static mif_cmpt_t *mif_cmpt_create(void);
static void mif_cmpt_destroy(mif_cmpt_t *cmpt);
-static char *mif_getline(jas_stream_t *jas_stream, char *buf, int bufsize);
+static char *mif_getline(jas_stream_t *jas_stream, char *buf, size_t bufsize);
static int mif_getc(jas_stream_t *in);
static mif_hdr_t *mif_makehdrfromimage(jas_image_t *image);
@@ -657,7 +657,7 @@ static void mif_cmpt_destroy(mif_cmpt_t
* MIF parsing code.
\******************************************************************************/
-static char *mif_getline(jas_stream_t *stream, char *buf, int bufsize)
+static char *mif_getline(jas_stream_t *stream, char *buf, size_t bufsize)
{
int c;
char *bufptr;
|
shibajee/buildroot
|
package/jasper/0012-fix-CVE-2015-5203.patch
|
patch
|
mit
| 7,202 |
config BR2_PACKAGE_JASPER
bool "jasper"
select BR2_PACKAGE_JPEG
help
JPEG-2000 decoder
http://www.ece.uvic.ca/~mdadams/jasper/
|
shibajee/buildroot
|
package/jasper/Config.in
|
in
|
mit
| 137 |
# Locally calculated
sha256 6e9a959bf4f8cb02f77f42d1b9880b8e85d021ac51f43d8787b5438fd2b7a1c5 jasper-1.900.1.tar.bz2
|
shibajee/buildroot
|
package/jasper/jasper.hash
|
hash
|
mit
| 116 |
################################################################################
#
# jasper
#
################################################################################
JASPER_VERSION = 1.900.1
JASPER_SITE = http://sources.openelec.tv/devel
JASPER_SOURCE = jasper-$(JASPER_VERSION).tar.bz2
JASPER_INSTALL_STAGING = YES
JASPER_DEPENDENCIES = jpeg
JASPER_LICENSE = MIT
JASPER_LICENSE_FILES = LICENSE
# needed to fix rpath issue (http://autobuild.buildroot.net/results/307/307cac65287420252a5bb64715d9a1edd90e72fa/)
JASPER_AUTORECONF = YES
# Xtensa gcc is unable to generate correct code with -O0 enabled by
# --enable-debug. Allow package build but disable debug.
ifeq ($(BR2_xtensa)$(BR2_ENABLE_DEBUG),yy)
JASPER_CONF_OPTS += --disable-debug
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/jasper/jasper.mk
|
mk
|
mit
| 785 |
From b3211bd6363ee6884c8db64008dc325a9c711bfb Mon Sep 17 00:00:00 2001
From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Date: Thu, 14 Jul 2016 22:44:01 +0200
Subject: [PATCH] Fix LG_QUANTUM definition for sparc64
GCC 4.9.3 cross-compiled for sparc64 defines __sparc_v9__, not
__sparc64__ nor __sparcv9. This prevents LG_QUANTUM from being defined
properly. Adding this new value to the check solves the issue.
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
include/jemalloc/internal/jemalloc_internal.h.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/jemalloc/internal/jemalloc_internal.h.in b/include/jemalloc/internal/jemalloc_internal.h.in
index 51bf897..ece15b2 100644
--- a/include/jemalloc/internal/jemalloc_internal.h.in
+++ b/include/jemalloc/internal/jemalloc_internal.h.in
@@ -234,7 +234,7 @@ typedef unsigned szind_t;
# ifdef __alpha__
# define LG_QUANTUM 4
# endif
-# if (defined(__sparc64__) || defined(__sparcv9))
+# if (defined(__sparc64__) || defined(__sparcv9) || defined(__sparc_v9__))
# define LG_QUANTUM 4
# endif
# if (defined(__amd64__) || defined(__x86_64__) || defined(_M_X64))
--
2.4.11
|
shibajee/buildroot
|
package/jemalloc/0001-Fix-LG_QUANTUM-definition-for-sparc64.patch
|
patch
|
mit
| 1,181 |
config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
bool
default y if BR2_arm || BR2_armeb
default y if BR2_aarch64 || BR2_aarch64_be
default y if BR2_i386 || BR2_x86_64
default y if BR2_mips || BR2_mipsel
default y if BR2_sparc64
default y if BR2_powerpc
default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
config BR2_PACKAGE_JEMALLOC
bool "jemalloc"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
This library providing a malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
http://www.canonware.com/jemalloc/
comment "jemalloc needs a toolchain w/ dynamic library, threads"
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/jemalloc/Config.in
|
in
|
mit
| 819 |
# Locally calculated
sha256 5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57 jemalloc-4.2.1.tar.bz2
|
shibajee/buildroot
|
package/jemalloc/jemalloc.hash
|
hash
|
mit
| 116 |
################################################################################
#
# jemalloc
#
################################################################################
JEMALLOC_VERSION = 4.2.1
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
JEMALLOC_SITE = http://www.canonware.com/download/jemalloc
JEMALLOC_LICENSE = BSD-2c
JEMALLOC_LICENSE_FILES = COPYING
JEMALLOC_INSTALL_STAGING = YES
$(eval $(autotools-package))
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/jemalloc/jemalloc.mk
|
mk
|
mit
| 471 |
Make jhead use LDFLAGS for the final link.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura jhead-2.97.orig/makefile jhead-2.97/makefile
--- jhead-2.97.orig/makefile 2013-03-27 09:22:38.759966389 -0300
+++ jhead-2.97/makefile 2013-03-27 09:25:06.290691745 -0300
@@ -14,7 +14,7 @@
${CC} $(CFLAGS) -c $< -o $@
jhead: $(objs) jhead.h
- ${CC} -o jhead $(objs) -lm
+ ${CC} $(LDFLAGS) -o jhead $(objs) -lm
clean:
rm -f $(objs) jhead
|
shibajee/buildroot
|
package/jhead/0001-use-ldflags.patch
|
patch
|
mit
| 459 |
config BR2_PACKAGE_JHEAD
bool "jhead"
depends on BR2_USE_WCHAR
help
Jhead is a program for manipulating settings and thumbnails
in Exif jpeg headers used by most Digital Cameras.
http://www.sentex.net/~mwandel/jhead/
comment "jhead needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
|
shibajee/buildroot
|
package/jhead/Config.in
|
in
|
mit
| 301 |
# Locally calculated from download (no sig, hash)
sha256 88cc01da018e242fe2e05db73f91b6288106858dd70f27506c4989a575d2895e jhead-3.00.tar.gz
|
shibajee/buildroot
|
package/jhead/jhead.hash
|
hash
|
mit
| 140 |
################################################################################
#
# jhead
#
################################################################################
JHEAD_VERSION = 3.00
JHEAD_SITE = http://www.sentex.net/~mwandel/jhead
JHEAD_LICENSE = Public Domain
JHEAD_LICENSE_FILES = readme.txt
define JHEAD_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define JHEAD_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/jhead $(TARGET_DIR)/usr/bin/jhead
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jhead/jhead.mk
|
mk
|
mit
| 533 |
config BR2_PACKAGE_JIMTCL
bool "jimtcl"
help
Jim Tcl is a small footprint reimplementation of the Tcl
scripting language. The core language engine is compatible
with Tcl 8.5+, while implementing a significant subset of
the Tcl 8.6 command set, plus additional features available
only in Jim Tcl.
http://jim.tcl.tk
|
shibajee/buildroot
|
package/jimtcl/Config.in
|
in
|
mit
| 335 |
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/j/jimtcl/jimtcl_0.75-1.dsc
sha256 432ad29b98f33efd018d9e1d49a5d07a5efc523c5660983733f7e30d9b2b76cb jimtcl_0.75.orig.tar.xz
|
shibajee/buildroot
|
package/jimtcl/jimtcl.hash
|
hash
|
mit
| 199 |
################################################################################
#
# jimtcl
#
################################################################################
JIMTCL_VERSION = 0.75
JIMTCL_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/j/jimtcl
JIMTCL_SOURCE = jimtcl_$(JIMTCL_VERSION).orig.tar.xz
JIMTCL_INSTALL_STAGING = YES
JIMTCL_LICENSE = BSD-2c
JIMTCL_LICENSE_FILES = LICENSE
JIMTCL_HEADERS_TO_INSTALL = \
jim.h \
jim-eventloop.h \
jim-signal.h \
jim-subcmd.h \
jim-win32compat.h \
jim-config.h \
ifeq ($(BR2_PACKAGE_TCL),)
define JIMTCL_LINK_TCLSH
ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh
endef
endif
ifeq ($(BR2_STATIC_LIBS),y)
define JIMTCL_INSTALL_LIB
$(INSTALL) -m 0644 -D $(@D)/libjim.a $(1)/usr/lib/libjim.a
endef
else
JIMTCL_SHARED = --shared
define JIMTCL_INSTALL_LIB
$(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \
$(1)/usr/lib/libjim.so.$(JIMTCL_VERSION)
ln -sf libjim.so.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so
endef
endif
define JIMTCL_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_CONFIGURE_OPTS) CCACHE=none \
./configure --prefix=/usr \
$(JIMTCL_SHARED) \
)
endef
# -fPIC is mandatory to build shared libraries on certain architectures
# (e.g. SPARC) and causes no harm or drawbacks on other architectures
define JIMTCL_BUILD_CMDS
SH_CFLAGS="-fPIC" \
SHOBJ_CFLAGS="-fPIC" \
$(MAKE) -C $(@D)
endef
define JIMTCL_INSTALL_STAGING_CMDS
for i in $(JIMTCL_HEADERS_TO_INSTALL); do \
cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \
done; \
$(call JIMTCL_INSTALL_LIB,$(STAGING_DIR))
endef
define JIMTCL_INSTALL_TARGET_CMDS
$(INSTALL) -D $(@D)/jimsh $(TARGET_DIR)/usr/bin/jimsh
$(call JIMTCL_INSTALL_LIB,$(TARGET_DIR))
$(JIMTCL_LINK_TCLSH)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jimtcl/jimtcl.mk
|
mk
|
mit
| 1,781 |
[PATCH] uClibc can be (and by default is) configured without bessel functions
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
umath.c | 10 ++++++++++
1 file changed, 10 insertions(+)
Index: joe-3.7/umath.c
===================================================================
--- joe-3.7.orig/umath.c
+++ joe-3.7/umath.c
@@ -7,6 +7,12 @@
*/
#include "types.h"
+/* uClibc can be configured without bessel functions */
+#include <features.h>
+#if defined (__UCLIBC__) && !defined(__DO_XSI_MATH__)
+#define NO_BESSEL
+#endif
+
unsigned char *merr;
int mode_hex;
@@ -396,10 +402,12 @@
double m_fabs(double n) { return fabs(n); }
double m_erf(double n) { return erf(n); }
double m_erfc(double n) { return erfc(n); }
+#ifndef NO_BESSEL
double m_j0(double n) { return j0(n); }
double m_j1(double n) { return j1(n); }
double m_y0(double n) { return y0(n); }
double m_y1(double n) { return y1(n); }
+#endif
double calc(BW *bw, unsigned char *s)
{
@@ -434,10 +442,12 @@
v = get(USTR "abs"); v->func = m_fabs;
v = get(USTR "erf"); v->func = m_erf;
v = get(USTR "erfc"); v->func = m_erfc;
+#ifndef NO_BESSEL
v = get(USTR "j0"); v->func = m_j0;
v = get(USTR "j1"); v->func = m_j1;
v = get(USTR "y0"); v->func = m_y0;
v = get(USTR "y1"); v->func = m_y1;
+#endif
}
v = get(USTR "top");
|
shibajee/buildroot
|
package/joe/0001-disable-bessel-functions-on-uclibc.patch
|
patch
|
mit
| 1,331 |
config BR2_PACKAGE_JOE
bool "joe"
depends on BR2_USE_MMU # fork()
help
Joe's Own Editor
JOE is an easy-to-use, full featured terminal-based screen editor.
Its behavior is a blending of WordStar and GNU-EMACS (but it does
not use code from either program). It is a great editor for new
users or as an alternative to vi.
http://joe-editor.sf.net
config BR2_PACKAGE_JOE_FULL
bool "full install of rc and syntax highlighting files"
depends on BR2_PACKAGE_JOE
default y
help
Install all rc and syntax highlighting files. Without this option
only the joe binary is installed, which contains a default
configuration.
|
shibajee/buildroot
|
package/joe/Config.in
|
in
|
mit
| 647 |
# Locally computed:
sha256 cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f joe-3.7.tar.gz
|
shibajee/buildroot
|
package/joe/joe.hash
|
hash
|
mit
| 109 |
################################################################################
#
# joe
#
################################################################################
JOE_VERSION = 3.7
JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
JOE_LICENSE = GPLv1+
JOE_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_NCURSES),y)
JOE_DEPENDENCIES += ncurses
JOE_CONF_OPTS += --enable-curses
else
JOE_CONF_OPTS += --disable-curses
endif
ifneq ($(BR2_PACKAGE_JOE_FULL),y)
define JOE_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/joe $(TARGET_DIR)/usr/bin/joe
endef
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/joe/joe.mk
|
mk
|
mit
| 642 |
# From http://sourceforge.net/projects/libjpeg-turbo/files/1.4.2/
sha1 2666158ccd5318513f875867bbc4af52f6eb9f0b libjpeg-turbo-1.4.2.tar.gz
md5 86b0d5f7507c2e6c21c00219162c3c44 libjpeg-turbo-1.4.2.tar.gz
# Locally computed
sha256 521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e libjpeg-turbo-1.4.2.tar.gz
|
shibajee/buildroot
|
package/jpeg-turbo/jpeg-turbo.hash
|
hash
|
mit
| 321 |
################################################################################
#
# jpeg-turbo
#
################################################################################
JPEG_TURBO_VERSION = 1.4.2
JPEG_TURBO_SOURCE = libjpeg-turbo-$(JPEG_TURBO_VERSION).tar.gz
JPEG_TURBO_SITE = http://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEG_TURBO_VERSION)
JPEG_TURBO_LICENSE = jpeg-license (BSD-3c-like)
JPEG_TURBO_LICENSE_FILES = README README-turbo.txt
JPEG_TURBO_INSTALL_STAGING = YES
JPEG_TURBO_CONF_OPTS = --with-jpeg8
ifeq ($(BR2_X86_CPU_HAS_MMX)$(BR2_ARM_CPU_HAS_NEON),y)
JPEG_TURBO_CONF_OPTS += --with-simd
# x86 simd support needs nasm
JPEG_TURBO_DEPENDENCIES += $(if $(BR2_X86_CPU_HAS_MMX),host-nasm)
else
JPEG_TURBO_CONF_OPTS += --without-simd
endif
define JPEG_TURBO_REMOVE_USELESS_TOOLS
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom tjbench wrjpgcom)
endef
JPEG_TURBO_POST_INSTALL_TARGET_HOOKS += JPEG_TURBO_REMOVE_USELESS_TOOLS
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/jpeg-turbo/jpeg-turbo.mk
|
mk
|
mit
| 1,010 |
config BR2_PACKAGE_JPEG
bool "jpeg support"
help
Select the desired JPEG library provider.
if BR2_PACKAGE_JPEG
choice
prompt "jpeg variant"
default BR2_PACKAGE_JPEG_TURBO if (BR2_X86_CPU_HAS_MMX || BR2_ARM_CPU_HAS_NEON)
help
Select the older stable version, or the newer developer version
config BR2_PACKAGE_LIBJPEG
bool "jpeg"
select BR2_PACKAGE_HAS_JPEG
help
The ubiquitous C library for manipulating JPEG images.
http://www.ijg.org/
config BR2_PACKAGE_JPEG_TURBO
bool "jpeg-turbo"
select BR2_PACKAGE_HAS_JPEG
help
Libjpeg-turbo is a derivative of libjpeg that uses SIMD
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG
compression and decompression on x86, x86-64, and ARM
systems.
http://www.libjpeg-turbo.org
endchoice
config BR2_PACKAGE_HAS_JPEG
bool
config BR2_PACKAGE_PROVIDES_JPEG
string
default "libjpeg" if BR2_PACKAGE_LIBJPEG
default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
endif
|
shibajee/buildroot
|
package/jpeg/Config.in
|
in
|
mit
| 956 |
################################################################################
#
# jpeg
#
################################################################################
$(eval $(virtual-package))
|
shibajee/buildroot
|
package/jpeg/jpeg.mk
|
mk
|
mit
| 201 |
config BR2_PACKAGE_JQ
bool "jq"
help
jq is like sed for JSON data - you can use it to slice and filter
and map and transform structured data with the same ease that sed,
awk, grep and friends let you play with text.
http://stedolan.github.io/jq/
|
shibajee/buildroot
|
package/jq/Config.in
|
in
|
mit
| 261 |
config BR2_PACKAGE_HOST_JQ
bool "host jq"
help
jq is like sed for JSON data - you can use it to slice and filter
and map and transform structured data with the same ease that sed,
awk, grep and friends let you play with text.
As a host tool, jq can be useful to create/edit/merge/check JSON
files from a post-build script.
http://stedolan.github.io/jq/
|
shibajee/buildroot
|
package/jq/Config.in.host
|
host
|
mit
| 375 |
# Locally calculated
sha256 c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c jq-1.5.tar.gz
|
shibajee/buildroot
|
package/jq/jq.hash
|
hash
|
mit
| 109 |
################################################################################
#
# jq
#
################################################################################
JQ_VERSION = 1.5
JQ_SITE = https://github.com/stedolan/jq/releases/download/jq-$(JQ_VERSION)
JQ_LICENSE = MIT (code), CC-BY-3.0 (documentation)
JQ_LICENSE_FILES = COPYING
# uses c99 specific features
JQ_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
HOST_JQ_CONF_ENV += CFLAGS="$(HOST_CFLAGS) -std=c99"
# jq explicitly enables maintainer mode, which we don't need/want
JQ_CONF_OPTS += --disable-maintainer-mode
HOST_JQ_CONF_OPTS += --disable-maintainer-mode
$(eval $(autotools-package))
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/jq/jq.mk
|
mk
|
mit
| 696 |
config BR2_PACKAGE_JQUERY_DATETIMEPICKER
bool "jquery-datetimepicker"
help
Use this plugin to unobtrusively add a datetimepicker,
datepicker or timepicker dropdown to your forms.
http://xdsoft.net/jqplugins/datetimepicker
|
shibajee/buildroot
|
package/jquery-datetimepicker/Config.in
|
in
|
mit
| 234 |
# Locally calculated
sha256 2f362a8acd149d1487a9460942f135d1037f01ee0cbfecba8c352fa2f79c34c9 jquery-datetimepicker-2.4.5.tar.gz
|
shibajee/buildroot
|
package/jquery-datetimepicker/jquery-datetimepicker.hash
|
hash
|
mit
| 129 |
################################################################################
#
# jquery-datetimepicker
#
################################################################################
JQUERY_DATETIMEPICKER_VERSION = 2.4.5
JQUERY_DATETIMEPICKER_SITE = $(call github,xdan,datetimepicker,$(JQUERY_DATETIMEPICKER_VERSION))
JQUERY_DATETIMEPICKER_LICENSE = MIT
JQUERY_DATETIMEPICKER_LICENSE_FILES = MIT-LICENSE.txt
define JQUERY_DATETIMEPICKER_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/jquery.datetimepicker.css \
$(TARGET_DIR)/var/www/jquery-plugins/datetimepicker/jquery.datetimepicker.css
$(INSTALL) -m 0644 -D $(@D)/jquery.datetimepicker.js \
$(TARGET_DIR)/var/www/jquery-plugins/datetimepicker/jquery.datetimepicker.js
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jquery-datetimepicker/jquery-datetimepicker.mk
|
mk
|
mit
| 772 |
config BR2_PACKAGE_JQUERY_KEYBOARD
bool "jquery-keyboard"
select BR2_PACKAGE_JQUERY_UI
help
Virtual Keyboard using jQuery UI
https://github.com/Mottie/Keyboard
|
shibajee/buildroot
|
package/jquery-keyboard/Config.in
|
in
|
mit
| 170 |
# Locally calculated
sha256 6a20a1cdc9367c218048125eeb6f78d775175a964b3b9b781a931b63c0f98c66 jquery-keyboard-v1.18.12.tar.gz
|
shibajee/buildroot
|
package/jquery-keyboard/jquery-keyboard.hash
|
hash
|
mit
| 126 |
################################################################################
#
# jquery-keyboard
#
################################################################################
JQUERY_KEYBOARD_VERSION = v1.18.12
JQUERY_KEYBOARD_SITE = $(call github,Mottie,Keyboard,$(JQUERY_KEYBOARD_VERSION))
JQUERY_KEYBOARD_LICENSE = MIT WTFPL
JQUERY_KEYBOARD_LICENSE_FILES = README.markdown
define JQUERY_KEYBOARD_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/css/keyboard.css \
$(TARGET_DIR)/var/www/css/keyboard.css
$(INSTALL) -m 0644 $(@D)/js/jquery.keyboard*.js \
$(TARGET_DIR)/var/www
$(INSTALL) -m 0644 -D $(@D)/js/jquery.mousewheel.js \
$(TARGET_DIR)/var/www/jquery.mousewheel.js
$(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/layouts
$(INSTALL) -m 0644 $(@D)/layouts/*.js \
$(TARGET_DIR)/var/www/layouts
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jquery-keyboard/jquery-keyboard.mk
|
mk
|
mit
| 853 |
config BR2_PACKAGE_JQUERY_MOBILE
bool "jquery-mobile"
help
jQuery-Mobile is a unified, HTML5-based user interface
system for all popular mobile device platforms, built on the
rock-solid jQuery and jQuery UI foundation. Its lightweight
code is built with progressive enhancement, and has a
flexible, easily themeable design.
http://jquerymobile.com
if BR2_PACKAGE_JQUERY_MOBILE
config BR2_PACKAGE_JQUERY_MOBILE_FULL
bool "jquery-mobile development files"
help
Installs the development versions.
config BR2_PACKAGE_JQUERY_MOBILE_DEMOS
bool "jquery-mobile demo files"
help
Installs the demo files.
The main demo page is http://hostname/demos/index.html
endif
|
shibajee/buildroot
|
package/jquery-mobile/Config.in
|
in
|
mit
| 694 |
# locally computed
sha256 7ed156b191dc3e262e3f450aede43adfb738ff0085afed87eb18fe4f43dfc681 jquery.mobile-1.4.3.zip
|
shibajee/buildroot
|
package/jquery-mobile/jquery-mobile.hash
|
hash
|
mit
| 117 |
################################################################################
#
# jquery-mobile
#
################################################################################
JQUERY_MOBILE_VERSION = 1.4.3
JQUERY_MOBILE_SITE = http://jquerymobile.com/resources/download
JQUERY_MOBILE_SOURCE = jquery.mobile-$(JQUERY_MOBILE_VERSION).zip
JQUERY_MOBILE_LICENSE = MIT
define JQUERY_MOBILE_EXTRACT_CMDS
$(UNZIP) -d $(@D) $(DL_DIR)/$(JQUERY_MOBILE_SOURCE)
endef
JQUERY_MOBILE_INSTALLED_FILES = \
jquery.mobile.structure-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile.theme-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.map \
jquery.mobile-$(JQUERY_MOBILE_VERSION).min.js
ifeq ($(BR2_PACKAGE_JQUERY_MOBILE_FULL),y)
JQUERY_MOBILE_INSTALLED_FILES += \
jquery.mobile.structure-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile.theme-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).css \
jquery.mobile-$(JQUERY_MOBILE_VERSION).js
endif
ifeq ($(BR2_PACKAGE_JQUERY_MOBILE_DEMOS),y)
define JQUERY_MOBILE_INSTALL_DEMOS
mkdir -p $(TARGET_DIR)/var/www/demos
cp -r $(@D)/demos/* $(TARGET_DIR)/var/www/demos
endef
endif
define JQUERY_MOBILE_INSTALL_TARGET_CMDS
for f in $(JQUERY_MOBILE_INSTALLED_FILES) ; do \
$(INSTALL) -m 0644 -D $(@D)/$$f $(TARGET_DIR)/var/www/$$f || break ; \
done
mkdir -p $(TARGET_DIR)/var/www/images
cp -r $(@D)/images/* $(TARGET_DIR)/var/www/images
$(JQUERY_MOBILE_INSTALL_DEMOS)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jquery-mobile/jquery-mobile.mk
|
mk
|
mit
| 1,551 |
config BR2_PACKAGE_JQUERY_SIDEBAR
bool "jquery-sidebar"
help
A stupid simple sidebar jQuery plugin.
http://jillix.github.io/jQuery-sidebar/
|
shibajee/buildroot
|
package/jquery-sidebar/Config.in
|
in
|
mit
| 149 |
# Locally computed
sha256 c96e46439a87555f2200442f597cce64f21f81f94d7601ddfc3b837913ddb42f jquery-sidebar-3.3.2.tar.gz
|
shibajee/buildroot
|
package/jquery-sidebar/jquery-sidebar.hash
|
hash
|
mit
| 121 |
################################################################################
#
# jquery-sidebar
#
################################################################################
JQUERY_SIDEBAR_VERSION = 3.3.2
JQUERY_SIDEBAR_SITE = $(call github,jillix,jQuery-sidebar,$(JQUERY_SIDEBAR_VERSION))
JQUERY_SIDEBAR_LICENSE = MIT
JQUERY_SIDEBAR_LICENSE_FILES = LICENSE
define JQUERY_SIDEBAR_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/src/jquery.sidebar.min.js \
$(TARGET_DIR)/var/www/jquery-plugins/sidebar/jquery.sidebar.min.js
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/jquery-sidebar/jquery-sidebar.mk
|
mk
|
mit
| 571 |
config BR2_PACKAGE_JQUERY_SPARKLINE
bool "jquery-sparkline"
help
This jQuery plugin generates sparklines (small inline
charts) directly in the browser using data supplied either
inline in the HTML, or via javascript.
The plugin is compatible with most modern browsers and has
been tested with Firefox 2+, Safari 3+, Opera 9, Google
Chrome and Internet Explorer 6, 7 & 8.
http://www.omnipotent.net/jquery.sparkline/
|
shibajee/buildroot
|
package/jquery-sparkline/Config.in
|
in
|
mit
| 440 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.