code
string
repo_name
string
path
string
language
string
license
string
size
int64
-Werror shouldn't be used in released code since it can cause random build failures on moderate warnings. It also depends on the used toolchain since different toolchains may or may not print the same warnings. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Index: dropwatch-1.4/src/Makefile =================================================================== --- dropwatch-1.4.orig/src/Makefile +++ dropwatch-1.4/src/Makefile @@ -1,5 +1,5 @@ all: dropwatch -CFLAGS+=-c -g -D_GNU_SOURCE -Wall -Werror `pkg-config --cflags libnl-3.0` +CFLAGS+=-c -g -D_GNU_SOURCE -Wall `pkg-config --cflags libnl-3.0` LDFLAGS=-lbfd -lreadline -lnl-3 -lnl-genl-3 OBJFILES := main.o lookup.o\ lookup_bfd.o lookup_kas.o
shibajee/buildroot
package/dropwatch/0003-remove-werror.patch
patch
mit
720
config BR2_PACKAGE_DROPWATCH bool "dropwatch" select BR2_PACKAGE_BINUTILS depends on !BR2_nios2 # binutils depends on BR2_USE_WCHAR # binutils select BR2_PACKAGE_READLINE select BR2_PACKAGE_LIBNL depends on BR2_TOOLCHAIN_HAS_THREADS # libnl help Dropwatch is an interactive utility for monitoring and recording packets that are dropped by the kernel https://fedorahosted.org/dropwatch/ comment "dropwatch needs a toolchain w/ threads, wchar" depends on !BR2_nios2 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
shibajee/buildroot
package/dropwatch/Config.in
in
mit
541
# Locally calculated sha256 c2348b8d72781ab0f3ca52b8415d78ea98808280e14e7d68e76605f196bb5c4a dropwatch-1.4.tar.xz
shibajee/buildroot
package/dropwatch/dropwatch.hash
hash
mit
115
################################################################################ # # dropwatch # ################################################################################ DROPWATCH_VERSION = 1.4 DROPWATCH_SOURCE = dropwatch-$(DROPWATCH_VERSION).tar.xz DROPWATCH_SITE = https://git.fedorahosted.org/cgit/dropwatch.git/snapshot DROPWATCH_DEPENDENCIES = binutils libnl readline host-pkgconf DROPWATCH_LICENSE = GPLv2 DROPWATCH_LICENSE_FILES = COPYING # libbfd may be linked to libintl # Ugly... but LDFLAGS are hardcoded anyway DROPWATCH_LDFLAGS = \ $(TARGET_LDFLAGS) -lbfd -lreadline -lnl-3 -lnl-genl-3 \ -lpthread -lncurses -lm ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) DROPWATCH_LDFLAGS += -lintl endif define DROPWATCH_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ LDFLAGS="$(DROPWATCH_LDFLAGS)" build endef define DROPWATCH_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/src/dropwatch \ $(TARGET_DIR)/usr/bin/dropwatch endef $(eval $(generic-package))
shibajee/buildroot
package/dropwatch/dropwatch.mk
mk
mit
1,003
config BR2_PACKAGE_DSP_TOOLS bool "dsp-tools" depends on BR2_cortex_a8 select BR2_PACKAGE_TIDSP_BINARIES help Utilities for TI OMAP3 DSP. http://github.com/felipec/dsp-tools
shibajee/buildroot
package/dsp-tools/Config.in
in
mit
185
# Locally computed: sha256 734a1d5f21fb388bdbe64f7b599fef52357c3c72ff860f38456a352e7c1c3e78 dsp-tools-v2.0.tar.gz
shibajee/buildroot
package/dsp-tools/dsp-tools.hash
hash
mit
115
################################################################################ # # dsp-tools # ################################################################################ DSP_TOOLS_VERSION = v2.0 DSP_TOOLS_SITE = $(call github,felipec,dsp-tools,$(DSP_TOOLS_VERSION)) DSP_TOOLS_DEPENDENCIES = tidsp-binaries DSP_TOOLS_LICENSE = LGPLv2.1 DSP_TOOLS_LICENSE_FILES = LICENSE define DSP_TOOLS_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e endef define DSP_TOOLS_INSTALL_TARGET_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/dsp-tools/dsp-tools.mk
mk
mit
607
config BR2_PACKAGE_DSTAT bool "dstat" depends on BR2_USE_WCHAR # python depends on BR2_USE_MMU # python depends on BR2_TOOLCHAIN_HAS_THREADS # python depends on !BR2_STATIC_LIBS # python select BR2_PACKAGE_PYTHON help Dstat, written in Python, is a versatile replacement for vmstat, iostat, netstat and ifstat. Dstat overcomes some of their limitations and adds some extra features, more counters and flexibility. Dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting. Dstat allows you to view all of your system resources in real-time, you can e.g. compare disk utilization in combination with interrupts from your IDE controller, or compare the network bandwidth numbers directly with the disk throughput (in the same interval). Note that to get proper output, your terminal size should be known by the termios subsystem. This can be done by running the 'resize' utility of busybox. http://dag.wieers.com/home-made/dstat/ comment "dstat 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/dstat/Config.in
in
mit
1,189
# Locally computed: sha256 34a986d9d7c028bd9dcb6b2ef1c740f7220de5c9cf976870a2b62aca23b33bae dstat-0.7.2.tar.bz2
shibajee/buildroot
package/dstat/dstat.hash
hash
mit
114
################################################################################ # # dstat # ################################################################################ DSTAT_VERSION = 0.7.2 DSTAT_SOURCE = dstat-$(DSTAT_VERSION).tar.bz2 DSTAT_SITE = http://dag.wieers.com/home-made/dstat DSTAT_LICENSE = GPLv2 DSTAT_LICENSE_FILES = COPYING define DSTAT_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/dstat/dstat.mk
mk
mit
462
Don't force build-dir-in-build-dir logic, symlink the os-specific SCSI support file in place. Status: not suitable for upstream. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> diff -Nura Makefile.linux Makefile.linux --- a/Makefile.linux 2016-01-26 09:10:03.939963780 -0300 +++ b/Makefile.linux 2016-01-26 09:10:27.140763863 -0300 @@ -129,7 +129,7 @@ echo "Please specify OS={aix,linux,hpux,solaris,windows}"; \ exit 1; \ fi; \ - ln -sf ../scsilib-$(OS).c scsilib.c + ln -sf scsilib-$(OS).c scsilib.c print:; @$(PRINTER) $(PRINTFLAGS) $(ALL_CFILES)
shibajee/buildroot
package/dt/0001-adjust-os-symlink.patch
patch
mit
595
Patch taken from Fedora: http://pkgs.fedoraproject.org/cgit/rpms/dt.git/commit/dt-default-source-define.patch?id=a3107b34a3efc6af66a5f892514f233bb66eb6b5 _BSD_SOURCE was deprecated, hence switch to use _DEFAULT_SOURCE as well to avoid the build from breaking on newer toolchains. Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> diff -rupN dt.v18.32.old/common.h dt.v18.32/common.h --- dt.v18.32.old/common.h 2013-03-01 23:52:30.000000000 +0100 +++ dt.v18.32/common.h 2014-09-24 17:41:40.777604710 +0200 @@ -127,7 +127,7 @@ typedef volatile slarge_t v_slarge; #endif /* defined(_WIN64) */ -#elif defined(__GNUC__) && defined(_BSD_SOURCE) || defined(SCO) || defined(__QNXNTO__) || defined(SOLARIS) || defined(HP_UX) || defined(AIX) || defined(_NT_SOURCE) +#elif defined(__GNUC__) && defined(_BSD_SOURCE) || defined (_DEFAULT_SOURCE) || defined(SCO) || defined(__QNXNTO__) || defined(SOLARIS) || defined(HP_UX) || defined(AIX) || defined(_NT_SOURCE) #define QuadIsLongLong typedef unsigned long long int large_t;
shibajee/buildroot
package/dt/0002-dt-default-source-define.patch
patch
mit
1,047
comment "dt needs a glibc or uClibc toolchain w/ threads" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL config BR2_PACKAGE_DT bool "dt" depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_THREADS # Build fails because of several BSDisms depends on !BR2_TOOLCHAIN_USES_MUSL help dt is a generic data test program used to verify proper operation of peripherals, file systems, device drivers, or any data stream supported by the operating system. In its' simplest mode of operation, dt writes and then verifys its' default data pattern, then displays performance statisics and other test parameters before exiting. Since verification of data is performed, dt can be thought of as a generic diagnostic tool. http://www.scsifaq.org/RMiller_Tools/dt.html
shibajee/buildroot
package/dt/Config.in
in
mit
837
# From http://pkgs.fedoraproject.org/repo/pkgs/dt/dt-source-v18.32.tar.gz # (directory name is md5 hash) md5 3054aeaaba047a1dbe90c2132a382ee2 dt-source-v18.32.tar.gz # Calculated based on the hash above sha256 10d164676e918a4d07f233bcd11e4cb6bfd1052c996182cd1827ccd0c063fcc6 dt-source-v18.32.tar.gz
shibajee/buildroot
package/dt/dt.hash
hash
mit
299
################################################################################ # # dt # ################################################################################ DT_VERSION = v18.32 DT_SITE = http://pkgs.fedoraproject.org/repo/pkgs/dt/$(DT_SOURCE)/3054aeaaba047a1dbe90c2132a382ee2 DT_SOURCE = dt-source-$(DT_VERSION).tar.gz DT_STRIP_COMPONENTS = 2 DT_LICENSE = ISC-like DT_LICENSE_FILES = LICENSE DT_CFLAGS = \ -std=c99 \ -DMMAP \ -D__linux__ \ -D_GNU_SOURCE \ -D_FILE_OFFSET_BITS=64 \ -DTHREADS \ -DSCSI # uClibc doesn't provide POSIX AIO ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),) DT_CFLAGS += -DAIO endif define DT_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f Makefile.linux \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) $(DT_CFLAGS)" \ OS=linux endef define DT_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/dt $(TARGET_DIR)/usr/bin/dt endef $(eval $(generic-package))
shibajee/buildroot
package/dt/dt.mk
mk
mit
911
config BR2_PACKAGE_DTACH bool "dtach" depends on BR2_USE_MMU # fork() help dtach is a tiny program that emulates the detach feature of screen, allowing you to run a program in an environment that is protected from the controlling terminal and attach to it later. http://dtach.sourceforge.net/
shibajee/buildroot
package/dtach/Config.in
in
mit
309
# Locally computed: sha256 5f7e8c835ee49a9e6dcf89f4e8ccbe724b061c0fc8565b504dd8b3e67ab79f82 dtach-v0.9.tar.gz
shibajee/buildroot
package/dtach/dtach.hash
hash
mit
112
################################################################################ # # dtach # ################################################################################ DTACH_VERSION = v0.9 DTACH_SITE = $(call github,crigler,dtach,$(DTACH_VERSION)) DTACH_LICENSE = GPLv2+ DTACH_LICENSE_FILES = COPYING # The Makefile does not have an install target. define DTACH_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/dtach $(TARGET_DIR)/usr/bin/dtach endef $(eval $(autotools-package))
shibajee/buildroot
package/dtach/dtach.mk
mk
mit
489
Makefile: append the CFLAGS to existing ones Allow the user to pass custom CFLAGS (eg. optimisation flags). Do not use EXTRA_CFLAGS, append to existing CFLAGS with += (Arnout) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> --- Patch not sent upstream. Although not specific to buildroot, I am not sure this is the best way to handle user-supplied CFLAGS. diff --git a/Makefile b/Makefile index 962f94eba661..bf6b317158cf 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,10 @@ LOCAL_VERSION = CONFIG_LOCALVERSION = CPPFLAGS = -I libfdt -I . -WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ +WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) +CFLAGS ?= -g -Os +CFLAGS += -fPIC $(WARNINGS) BISON = bison LEX = flex
shibajee/buildroot
package/dtc/0002-extra-cflags.patch
patch
mit
931
config BR2_PACKAGE_DTC bool "dtc (libfdt)" depends on !BR2_STATIC_LIBS help The Device Tree Compiler, dtc, takes as input a device-tree in a given format and outputs a device-tree in another format. Note that only the library is installed. If you want the programs, say 'y' here, and to "dtc programs", below. https://git.kernel.org/cgit/utils/dtc/dtc.git if BR2_PACKAGE_DTC config BR2_PACKAGE_DTC_PROGRAMS bool "dtc programs" help Say 'y' here if you also want the programs on the target: - convert-dtsv0 convert from version 0 to version 1 - dtc the device tree compiler - dtdiff compare two device trees (needs bash) - fdtdump print a readable version of a flat device tree - fdtget read values from device tree - fdtput write a property value to a device tree Note: dtdiff requires bash, so if bash is not selected, dtdiff will be removed from the target file system. Enable bash if you need dtdiff on the target. comment "dtdiff will not be installed: it requires bash" depends on BR2_PACKAGE_DTC_PROGRAMS depends on !BR2_PACKAGE_BASH endif comment "dtc needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS
shibajee/buildroot
package/dtc/Config.in
in
mit
1,270
config BR2_PACKAGE_HOST_DTC bool "host dtc" help The Device Tree Compiler, dtc, takes as input a device-tree in a given format and outputs a device-tree in another format. Install host tools: dtc, convert-dtsv0, fdtdump, fdtget and fdtput. https://git.kernel.org/cgit/utils/dtc/dtc.git
shibajee/buildroot
package/dtc/Config.in.host
host
mit
302
# from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc sha256 77992ad8eac7b68f553d0ba58e5b51604ac803d126196c99e3ae38aaae28bb94 dtc-1.4.1.tar.xz
shibajee/buildroot
package/dtc/dtc.hash
hash
mit
158
################################################################################ # # dtc # ################################################################################ DTC_VERSION = 1.4.1 DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz DTC_SITE = https://www.kernel.org/pub/software/utils/dtc DTC_LICENSE = GPLv2+/BSD-2c DTC_LICENSE_FILES = README.license GPL DTC_INSTALL_STAGING = YES DTC_DEPENDENCIES = host-bison host-flex HOST_DTC_DEPENDENCIES = host-bison host-flex define DTC_POST_INSTALL_TARGET_RM_DTDIFF rm -f $(TARGET_DIR)/usr/bin/dtdiff endef ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y) DTC_LICENSE += (for the library), GPLv2+ (for the executables) DTC_INSTALL_GOAL = install ifeq ($(BR2_PACKAGE_BASH),) DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF endif else # $(BR2_PACKAGE_DTC_PROGRAMS) != y DTC_INSTALL_GOAL = install-lib endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y define DTC_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=/usr endef # For staging, only the library is needed define DTC_INSTALL_STAGING_CMDS $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) PREFIX=/usr install-lib \ install-includes endef define DTC_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr $(DTC_INSTALL_GOAL) endef # host build define HOST_DTC_BUILD_CMDS $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr endef define HOST_DTC_INSTALL_CMDS $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install-bin endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/dtc/dtc.mk
mk
mit
1,517
config BR2_PACKAGE_DTV_SCAN_TABLES bool "dtv-scan-tables" help The Digital TV scan tables. http://git.linuxtv.org/dtv-scan-tables.git
shibajee/buildroot
package/dtv-scan-tables/Config.in
in
mit
143
################################################################################ # # dtv-scan-tables # ################################################################################ DTV_SCAN_TABLES_VERSION = 0c92e5e5d3590da60acb4bcc92c19f041dc7e481 DTV_SCAN_TABLES_SITE = http://git.linuxtv.org/cgit.cgi/dtv-scan-tables.git DTV_SCAN_TABLES_SITE_METHOD = git # This package only contains the transponders data. This is not a 'work' # as per traditional copyright, but just a collection of 'facts', so there's # probably no license to apply to these data files. # However, the package prominently contains the COPYING and COPYING.LIB # license files (respectively for the GPLv2 and the LGPLv2.1), so we use # that as the licensing information. DTV_SCAN_TABLES_LICENSE = GPLv2, LGPLv2.1 DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LGPL define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS for f in atsc dvb-c dvb-s dvb-t; do \ $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \ $(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \ done endef $(eval $(generic-package))
shibajee/buildroot
package/dtv-scan-tables/dtv-scan-tables.mk
mk
mit
1,083
Allow cross compilation. Adapted from crosstool-ng. Signed-off-by: Baruch Siach <baruch at tkos.co.il> Index: b/GNUmakefile =================================================================== --- a/GNUmakefile +++ b/GNUmakefile @@ -93,10 +93,6 @@ # also define 'WIN32' # some defaults: -CC=gcc -CXX=g++ -AR=ar -RANLIB=ranlib INSTALL=install RM=rm RMFORCE=rm -f @@ -471,7 +467,7 @@ createconf$(EXEPOSTFIX): createconf.o - $(RMFORCE) createconf$(EXEPOSTFIX) - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX) + $(CC_FOR_BUILD) $(HOST_CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX) tstheap$(EXEPOSTFIX): libduma.a tstheap.o - $(RMFORCE) tstheap$(EXEPOSTFIX) @@ -532,7 +528,7 @@ # define rules how to build objects for createconf # createconf.o: - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@ + $(CC_FOR_BUILD) $(HOST_CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@ #
shibajee/buildroot
package/duma/0001-fix-cross-compilation.patch
patch
mit
938
Do not build test programs Biulding test programs does not work when we want to do a static link, because duma.a redefines memcpy and strcpy, so the link fails. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN duma-2.5.15.orig/GNUmakefile duma-2.5.15/GNUmakefile --- duma-2.5.15.orig/GNUmakefile 2014-11-16 14:47:05.874448560 +0100 +++ duma-2.5.15/GNUmakefile 2014-11-16 14:54:50.792048921 +0100 @@ -294,7 +294,7 @@ SO_OBJECTS=dumapp_so.o duma_so.o sem_inc_so.o print_so.o # Make all the top-level targets the makefile knows about. -all: libduma.a tstheap$(EXEPOSTFIX) dumatest$(EXEPOSTFIX) thread-test$(EXEPOSTFIX) testmt$(EXEPOSTFIX) dumatestpp$(EXEPOSTFIX) testoperators$(EXEPOSTFIX) $(DUMA_DYN_DEPS) +all: libduma.a $(DUMA_DYN_DEPS) # Perform self tests on the program this makefile builds. check test:
shibajee/buildroot
package/duma/0002-no-tests.patch
patch
mit
837
dumapp: fix for C++14 With C++14, the way exceptions are specified has changed (somehow, don't ask me), thus causing build failures: dumapp.cpp: In function ‘void* operator new(std::size_t)’: dumapp.cpp:192:19: error: declaration of ‘void* operator new(std::size_t) throw (std::bad_alloc)’ has a different exception specifier void * DUMA_CDECL operator new( DUMA_SIZE_T size ) ^~~~~~~~ In file included from dumapp.cpp:39:0: dumapp.h:91:23: note: from previous declaration ‘void* operator new(std::size_t)’ void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc); ^~~~~~~~ This is most evident with gcc-6.x, since the default C++ standard has changed from C++11 to C++14, thus exposing these new failures. Fix that by guarding the exception handling, a bit like was done with GRASS GIS (thanks DuckDuckGo): https://trac.osgeo.org/grass/changeset?old_path=%2F&old=68817&new_path=%2F&new=68818&sfp_email=&sfph_mail= Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- Note: The last commit in DUMA's CVS repo was more than 7 years ago. I doubt it is still active, so the patch was not sent upstream. :-/ diff -durN duma-2.5.15.orig/dumapp.cpp duma-2.5.15/dumapp.cpp --- duma-2.5.15.orig/dumapp.cpp 2008-08-03 22:46:06.000000000 +0200 +++ duma-2.5.15/dumapp.cpp 2016-07-10 21:55:22.670386099 +0200 @@ -190,7 +190,9 @@ * (11) = (a) ; ASW */ void * DUMA_CDECL operator new( DUMA_SIZE_T size ) +#ifdef DUMA_EXCEPTION_SPECS throw(std::bad_alloc) +#endif { return duma_new_operator(size, EFA_NEW_ELEM, true DUMA_PARAMS_UK); } @@ -254,7 +256,9 @@ * (21) = (a) ; AAW */ void * DUMA_CDECL operator new[]( DUMA_SIZE_T size ) +#ifdef DUMA_EXCEPTION_SPECS throw(std::bad_alloc) +#endif { return duma_new_operator(size, EFA_NEW_ARRAY, true DUMA_PARAMS_UK); } diff -durN duma-2.5.15.orig/dumapp.h duma-2.5.15/dumapp.h --- duma-2.5.15.orig/dumapp.h 2009-04-11 14:41:44.000000000 +0200 +++ duma-2.5.15/dumapp.h 2016-07-10 21:55:22.670386099 +0200 @@ -35,6 +35,10 @@ #include "duma.h" +#if __cplusplus < 201103L + #define DUMA_EXCEPTION_SPECS 1 +#endif + /* remove previous macro definitions */ #include "noduma.h"
shibajee/buildroot
package/duma/0003-fix-C++14.patch
patch
mit
2,245
config BR2_PACKAGE_DUMA bool "duma" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # By design, duma uses page mapping to isolate # allocations. Non-MMU platforms cannot perform such # things. depends on BR2_USE_MMU # duma works using LD_PRELOAD, so it always needs to build a # shared library depends on !BR2_STATIC_LIBS help D.U.M.A. - Detect Unintended Memory Access. A fork of the Electric Fence library. Detects buffer overflow and underflow, and also memory leaks. http://duma.sourceforge.net if BR2_PACKAGE_DUMA config BR2_PACKAGE_DUMA_NO_LEAKDETECTION bool "disable memory leak detection" endif # BR2_PACKAGE_DUMA comment "duma needs a toolchain w/ C++, threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ BR2_STATIC_LIBS
shibajee/buildroot
package/duma/Config.in
in
mit
852
# Locally computed: sha256 baaf794854e3093ad1bddadbfb8ad4b220a7117d70359ee216bd59e353734e17 duma_2_5_15.tar.gz
shibajee/buildroot
package/duma/duma.hash
hash
mit
113
################################################################################ # # duma # ################################################################################ DUMA_VERSION = 2.5.15 DUMA_SOURCE = duma_$(subst .,_,$(DUMA_VERSION)).tar.gz DUMA_SITE = http://downloads.sourceforge.net/project/duma/duma/$(DUMA_VERSION) DUMA_LICENSE = GPLv2+ LGPLv2.1+ DUMA_LICENSE_FILES = COPYING-GPL COPYING-LGPL DUMA_INSTALL_STAGING = YES DUMA_OPTIONS = \ $(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION),-DDUMA_LIB_NO_LEAKDETECTION) # The dependency of some source files in duma_config.h, which is generated at # build time, is not specified in the Makefile. Force non-parallel build. define DUMA_BUILD_CMDS $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ OS=linux \ DUMA_OPTIONS="$(DUMA_OPTIONS)" \ $(DUMA_CPP) -C $(@D) endef define DUMA_INSTALL_STAGING_CMDS $(MAKE) OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D) endef define DUMA_INSTALL_TARGET_CMDS $(MAKE) OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D) endef $(eval $(generic-package))
shibajee/buildroot
package/duma/duma.mk
mk
mit
1,052
Fix generate-keynames.sh script for cross-compilation generate-keynames.sh reads /usr/include/linux to find the keyname symbols. However, when cross-compiling, the include path points somewhere else. Allow the user to pass CROSS_ROOT to point to the root of the cross-compilation environment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> --- diff -rup dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh --- dvb-apps-83c746462ccb.orig/util/av7110_loadkeys/generate-keynames.sh 2012-12-06 10:38:07.000000000 +0100 +++ dvb-apps-83c746462ccb/util/av7110_loadkeys/generate-keynames.sh 2013-08-29 21:47:09.717991439 +0200 @@ -18,7 +18,7 @@ echo "};" >> $1 echo >> $1 echo >> $1 echo "static struct input_key_name key_name [] = {" >> $1 -for x in $(cat /usr/include/linux/input.h input_fake.h | \ +for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \ egrep "#define[ \t]+KEY_" | grep -v KEY_MAX | \ cut -f 1 | cut -f 2 -d " " | sort -u) ; do echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1 @@ -26,7 +26,7 @@ done echo "};" >> $1 echo >> $1 echo "static struct input_key_name btn_name [] = {" >> $1 -for x in $(cat /usr/include/linux/input.h input_fake.h | \ +for x in $(cat ${CROSS_ROOT}/usr/include/linux/input.h input_fake.h | \ egrep "#define[ \t]+BTN_" | \ cut -f 1 | cut -f 2 -d " " | sort -u) ; do echo " { \"$(echo $x | cut -b 5-)\", $x }," >> $1
shibajee/buildroot
package/dvb-apps/0001-Fix-generate-keynames.patch
patch
mit
1,556
From 9b8f1df41f7579da63c27763ff184d351e4c7fef Mon Sep 17 00:00:00 2001 From: Simon Dawson <spdawson@gmail.com> Date: Sun, 4 Jan 2015 12:06:18 +0100 Subject: [PATCH] Fix compiler warning flags When building for bfin, the build fails as follows. cc1: error: unrecognized command line option "-Wno-packed-bitfield-compat" An example of an autobuild failure arising from this is the following. http://autobuild.buildroot.net/results/92e/92e472004812a3616f62d766a9ea07a997a66e89/ http://autobuild.buildroot.net/results/6e7/6e7b48ad9768349d983985c3067c4267cde80541/ Clearly, not all toolchains provide a gcc that understands the -Wno-packed-bitfield-compat flag; remove usage of this flag. Wno-packed-bitfield-compat option was added in gcc 4.4. [Romain: - This patch is also needed for bfin toolchains which use gcc 4.3.5 - Add a link to bfin build failure] Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- util/scan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/scan/Makefile b/util/scan/Makefile index d48c478..88667c5 100644 --- a/util/scan/Makefile +++ b/util/scan/Makefile @@ -14,7 +14,7 @@ inst_bin = $(binaries) removing = atsc_psip_section.c atsc_psip_section.h -CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES +CPPFLAGS += -D__KERNEL_STRICT_NAMES .PHONY: all -- 1.9.3
shibajee/buildroot
package/dvb-apps/0002-Fix-compiler-warning-flags.patch
patch
mit
1,415
From a826c7c722db40bfedf00e51ce38411550ae8216 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@openwide.fr> Date: Thu, 25 Dec 2014 19:22:16 +0100 Subject: [PATCH] Make.rules: Handle static/shared only build Do not build .a library when enable_static is set to "no" Do not build .so library when enable_shared is set to "no" Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- Make.rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Make.rules b/Make.rules index 3410d7b..d274e16 100644 --- a/Make.rules +++ b/Make.rules @@ -9,7 +9,13 @@ ifneq ($(lib_name),) CFLAGS_LIB ?= -fPIC CFLAGS += $(CFLAGS_LIB) -libraries = $(lib_name).so $(lib_name).a +ifneq ($(enable_static),no) +libraries += $(lib_name).a +endif + +ifneq ($(enable_shared),no) +libraries += $(lib_name).so +endif .PHONY: library @@ -23,7 +29,7 @@ prerequisites = $(subst .o,.d,$(objects)) $(addsuffix .d,$(binaries)) .PHONY: clean install -ifeq ($(static),1) +ifneq ($(enable_static),no) LDFLAGS += -static endif -- 1.9.3
shibajee/buildroot
package/dvb-apps/0003-handle-static-shared-only-build.patch
patch
mit
1,057
From c578772d6abc5fdf3ec83f632c371373e5baf9f1 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@openwide.fr> Date: Fri, 26 Dec 2014 01:04:58 +0100 Subject: [PATCH] Makefile: remove test Tests needs static libraries, remove them for shared only build. Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index 65a2273..105c460 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,6 @@ DVB_API_MINOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION_MINOR" $(VERSION_FI all clean install: $(MAKE) -C lib $@ - $(MAKE) -C test $@ $(MAKE) -C util $@ update: -- 1.9.3
shibajee/buildroot
package/dvb-apps/0004-Makefile-remove-test.patch
patch
mit
666
config BR2_PACKAGE_DVB_APPS bool "dvb-apps" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Install a small number of DVB test and utility programs, including szap and dvbscan. http://linuxtv.org/projects.php http://linuxtv.org/hg/dvb-apps comment "dvb-apps utils needs a toolchain w/ threads, headers >= 3.3" depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
shibajee/buildroot
package/dvb-apps/Config.in
in
mit
497
################################################################################ # # dvb-apps # ################################################################################ DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35 DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps DVB_APPS_SITE_METHOD = hg DVB_APPS_LICENSE = GPLv2, GPLv2+, LGPLv2.1+ DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL ifeq ($(BR2_ENABLE_LOCALE),) DVB_APPS_DEPENDENCIES = libiconv DVB_APPS_LDLIBS += -liconv endif ifeq ($(BR2_STATIC_LIBS),y) DVB_APPS_MAKE_OPTS += enable_shared=no else ifeq ($(BR2_SHARED_LIBS),y) DVB_APPS_MAKE_OPTS += enable_static=no endif DVB_APPS_INSTALL_STAGING = YES define DVB_APPS_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \ $(MAKE) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \ $(DVB_APPS_MAKE_OPTS) endef define DVB_APPS_INSTALL_STAGING_CMDS $(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install endef define DVB_APPS_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/dvb-apps/dvb-apps.mk
mk
mit
1,092
dvblast: fix static linking dvblast links to -lev, wihch uses functions from the maths library, like floor(). When linking to a shared libev.so, that dependency is automatically pulled in because libev as a DT_NEEDED ELF tag on libm.so. But when lnking to the static libev.a, since there is no way to express such dependencies in static libraries, libm is not pulled in, which leads to build failures such as; http://autobuild.buildroot.org/results/1f0/1f02f84fb926839a1adbe3af457bb909fdc44433/build-end.log Fix that by always linking to -lm (which must come *after* -lev). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN dvblast-3.0.orig/Makefile dvblast-3.0/Makefile --- dvblast-3.0.orig/Makefile 2015-10-05 17:51:14.000000000 +0200 +++ dvblast-3.0/Makefile 2015-10-30 15:57:19.547123894 +0100 @@ -28,7 +28,7 @@ LDLIBS += -lstreammaster endif -LDLIBS_DVBLAST += -lpthread -lev +LDLIBS_DVBLAST += -lpthread -lev -lm OBJ_DVBLAST = dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o mrtg-cnt.o asi-deltacast.o OBJ_DVBLASTCTL = util.o dvblastctl.o
shibajee/buildroot
package/dvblast/0001-missing-lm.patch
patch
mit
1,102
Standard integer types are uintXX_t not u_intXX_t This fixes the build with the musl C library. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN dvblast-3.0.orig/dvblast.h dvblast-3.0/dvblast.h --- dvblast-3.0.orig/dvblast.h 2015-10-05 17:51:14.000000000 +0200 +++ dvblast-3.0/dvblast.h 2015-10-30 16:29:25.586125193 +0100 @@ -49,10 +49,10 @@ * Raw udp packet structure with flexible-array payload *****************************************************************************/ struct udpheader { // FAVOR_BSD hell ... - u_int16_t source; - u_int16_t dest; - u_int16_t len; - u_int16_t check; + uint16_t source; + uint16_t dest; + uint16_t len; + uint16_t check; }; #if defined(__FreeBSD__) || defined(__APPLE__)
shibajee/buildroot
package/dvblast/0002-fix-int-types.patch
patch
mit
751
config BR2_PACKAGE_DVBLAST bool "dvblast" select BR2_PACKAGE_BITSTREAM select BR2_PACKAGE_LIBEV select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE depends on !BR2_bfin # libev depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep() help DVBlast is a simple and powerful MPEG-2/TS demux and streaming application. http://www.videolan.org/projects/dvblast.html comment "dvblast needs a toolchain w/ NPTL" depends on !BR2_bfin # libev depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
shibajee/buildroot
package/dvblast/Config.in
in
mit
502
# from https://get.videolan.org/dvblast/3.0/dvblast-3.0.tar.bz2.md5 md5 89ea9ffb16476d47b8853e52a8a3ee63 dvblast-3.0.tar.bz2 # locally calculated sha256 4fc3eb2a3d3545cb76a5c515a16671d1c34fe2f5dad57b71e89bd54c14c3045e dvblast-3.0.tar.bz2
shibajee/buildroot
package/dvblast/dvblast.hash
hash
mit
238
################################################################################ # # dvblast # ################################################################################ DVBLAST_VERSION = 3.0 DVBLAST_SOURCE = dvblast-$(DVBLAST_VERSION).tar.bz2 DVBLAST_SITE = https://get.videolan.org/dvblast/$(DVBLAST_VERSION) DVBLAST_LICENSE = GPLv2+, WTFPL DVBLAST_LICENSE_FILES = COPYING COPYING.WTFPL DVBLAST_DEPENDENCIES = bitstream libev DVBLAST_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) ifeq ($(BR2_PACKAGE_LIBICONV),y) DVBLAST_DEPENDENCIES += libiconv DVBLAST_MAKE_ENV += LDLIBS=-liconv endif define DVBLAST_BUILD_CMDS $(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D) endef define DVBLAST_INSTALL_TARGET_CMDS $(DVBLAST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr install endef $(eval $(generic-package))
shibajee/buildroot
package/dvblast/dvblast.mk
mk
mit
828
Fix musl build Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr dvbsnoop-1.4.50.org/src/misc/helper.h dvbsnoop-1.4.50/src/misc/helper.h --- dvbsnoop-1.4.50.org/src/misc/helper.h 2006-01-02 20:04:56.000000000 +0100 +++ dvbsnoop-1.4.50/src/misc/helper.h 2016-01-24 14:35:02.000000000 +0100 @@ -16,6 +16,7 @@ #ifndef __HELPER_H #define __HELPER_H +#include <sys/types.h> u_long outBit_Sx (int verbosity, const char *text, u_char *buf, int startbit, int bitlen); u_long outBit_Sx_NL (int verbosity, const char *text, u_char *buf, int startbit, int bitlen);
shibajee/buildroot
package/dvbsnoop/0001-musl-types-h.patch
patch
mit
577
config BR2_PACKAGE_DVBSNOOP bool "dvbsnoop" help Dvbsnoop is just a simple tool to analyze, view or debug a transport stream (TS), program elementary stream (PES) or even a program stream (PS). Dvbsnoop is trying to get input mostly direct from a frontend (satellite or cable tuner inside a set-top box for example) via DVB APIv3 to view into a TS, or a demux to view PES or PS (also mostly inside the set-top box or even PCI Card or USB Plug) but also from a file (recorded TS). Dvbsnoop is working well on SD transport streams but may have some limited functionality on HD transport streams (DVB-{C,S,T}2 because of missing knowledge how to handle it. Dvbsnoop itself doesn't do the tuning on the frontend, this has to be done by external helpers or manually driver call. The dvbsnoop tool was written while developing the software Neutrino on the set-top box DBox2. http://dvbsnoop.sourceforge.net http://en.wikipedia.org/wiki/DBox2
shibajee/buildroot
package/dvbsnoop/Config.in
in
mit
988
# Locally computed: sha256 7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6 dvbsnoop-1.4.50.tar.gz
shibajee/buildroot
package/dvbsnoop/dvbsnoop.hash
hash
mit
117
################################################################################ # # dvbsnoop # ################################################################################ DVBSNOOP_VERSION = 1.4.50 DVBSNOOP_SITE = http://downloads.sourceforge.net/project/dvbsnoop/dvbsnoop/dvbsnoop-$(DVBSNOOP_VERSION) DVBSNOOP_LICENSE = GPLv2 DVBSNOOP_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/dvbsnoop/dvbsnoop.mk
mk
mit
396
From da77704c575f0583fa871ff02bd52906a7979576 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@openwide.fr> Date: Sun, 15 Feb 2015 11:05:43 +0100 Subject: [PATCH] configure.ac: fix static build Add LT_INIT macro to handle --enable-shared option. If enable-shared=no then add --static flag to resolve FREETYPE_LIBS. Otherwise, dvdauthor forget to link witk -lbz2 when linking with freetype2. Fixes: http://autobuild.buildroot.net/results/1d8/1d83390a3dd9f6bb595e9fc7b321500b4dc533a8/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c43df92..d78d56a 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,7 @@ AM_CONFIG_HEADER(src/config.h) AC_CONFIG_AUX_DIR(autotools) AM_INIT_AUTOMAKE +LT_INIT AC_PROG_INSTALL @@ -39,6 +40,11 @@ PKG_CHECK_MODULES(LIBPNG, [libpng]) AC_SUBST(LIBPNG_CFLAGS) AC_SUBST(LIBPNG_LIBS) +config_static='' +if test "$enable_shared" = 'no'; then + config_static='--static' +fi + usemagick=0 AC_CHECK_PROGS(MAGICKCONFIG, [Magick-config]) @@ -95,7 +101,7 @@ AC_SUBST(FRIBIDI_LIBS) AC_CHECK_PROGS(FREETYPECONFIG, [freetype-config]) if test -n "$FREETYPECONFIG"; then FREETYPE_CPPFLAGS="`$FREETYPECONFIG --cflags`" - FREETYPE_LIBS="`$FREETYPECONFIG --libs`" + FREETYPE_LIBS="`$FREETYPECONFIG --libs $config_static`" AC_DEFINE(HAVE_FREETYPE, 1, [Whether FreeType is available]) ac_save_CPPFLAGS="$CPPFLAGS" -- 1.9.3
shibajee/buildroot
package/dvdauthor/0001-configure.ac-fix-static-build.patch
patch
mit
1,529
config BR2_PACKAGE_DVDAUTHOR bool "dvdauthor" select BR2_PACKAGE_LIBXML2 select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_LIBPNG help DVDAuthor is a set of tools to help you author the file and directory structure of a DVD-Video disc, including programmatic commands for implementing interactive behaviour. It is driven by command lines and XML control files, though there are other programs that provide GUI-based front ends if you prefer http://dvdauthor.sourceforge.net if BR2_PACKAGE_DVDAUTHOR config BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR bool "dvdunauthor" select BR2_PACKAGE_LIBDVDREAD help This option enables the dvdunauthor program, which requires libdvdread. endif
shibajee/buildroot
package/dvdauthor/Config.in
in
mit
705
# Locally computed sha256 501fb11b09c6eb9c5a229dcb400bd81e408cc78d34eab6749970685023c51fe9 dvdauthor-0.7.1.tar.gz
shibajee/buildroot
package/dvdauthor/dvdauthor.hash
hash
mit
114
################################################################################ # # dvdauthor # ################################################################################ DVDAUTHOR_VERSION = 0.7.1 DVDAUTHOR_SITE = http://sourceforge.net/projects/dvdauthor/files/dvdauthor/$(DVDAUTHOR_VERSION) DVDAUTHOR_DEPENDENCIES = host-pkgconf libxml2 freetype libpng DVDAUTHOR_LICENSE = GPLv2+ DVDAUTHOR_LICENSE_FILES = COPYING DVDAUTHOR_CONF_ENV = \ ac_cv_prog_FREETYPECONFIG=$(STAGING_DIR)/usr/bin/freetype-config \ ac_cv_path_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config \ ac_cv_prog_GMAGICKCONFIG= # configure.ac patched by 0001-configure.ac-fix-static-build.patch DVDAUTHOR_AUTORECONF = YES # add host-gettext for AM_ICONV macro DVDAUTHOR_DEPENDENCIES += host-gettext ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y) DVDAUTHOR_DEPENDENCIES += imagemagick DVDAUTHOR_CONF_ENV += \ ac_cv_prog_MAGICKCONFIG=$(STAGING_DIR)/usr/bin/Magick-config else DVDAUTHOR_CONF_ENV += \ ac_cv_prog_MAGICKCONFIG= endif # Automatically detected by dvdauthor configure script, no way to # disable. ifeq ($(BR2_PACKAGE_FONTCONFIG),y) DVDAUTHOR_DEPENDENCIES += fontconfig endif ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) DVDAUTHOR_DEPENDENCIES += libfribidi endif ifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y) DVDAUTHOR_DEPENDENCIES += libdvdread # dvdauthor configure does not use pkg-config to detect libdvdread ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy) DVDAUTHOR_CONF_ENV += LIBS="-ldvdcss" endif DVDAUTHOR_CONF_OPTS += --enable-dvdunauthor else DVDAUTHOR_CONF_OPTS += --disable-dvdunauthor endif $(eval $(autotools-package))
shibajee/buildroot
package/dvdauthor/dvdauthor.mk
mk
mit
1,610
transport.hxx: add limits.h include now needed because of kernel changes Signed-off-by: Steve Kenton <skenton@ou.edu> diff -pruN dvd+rw-tools-7.1.ori/transport.hxx dvd+rw-tools-7.1/transport.hxx --- dvd+rw-tools-7.1.ori/transport.hxx 2008-03-01 04:34:43.000000000 -0600 +++ dvd+rw-tools-7.1/transport.hxx 2015-01-18 15:47:24.245863631 -0600 @@ -9,6 +9,7 @@ #if defined(__unix) || defined(__unix__) #include <stdio.h> #include <stdlib.h> +#include <limits.h> #include <unistd.h> #include <string.h> #include <sys/types.h> @@ -40,6 +41,7 @@ inline long getmsecs() #include <stddef.h> #include <stdio.h> #include <stdlib.h> +#include <limits.h> #define ssize_t LONG_PTR #define off64_t __int64
shibajee/buildroot
package/dvdrw-tools/0001-limits.h.patch
patch
mit
708
comment "dvdrw-tools needs a toolchain w/ threads, C++, wchar" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR config BR2_PACKAGE_DVDRW_TOOLS bool "dvdrw-tools" depends on BR2_USE_MMU # fork() depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR help The dvd+rw-tools are used to master Blu-ray Disc and DVD Disc media, both +RW/+R and -RW/-R. Note: The +RW in the name is a historical artifact. This package contains the widely used growisofs program. Buildroot does not support packages with a '+' sign in their name, which explains why it is named dvdrw-tools and not dvd+rw-tools. Because dvd+rw-tools does not directly interact with disc media it uses a separate media backend program. The usual backend is mkisofs from the cdrtools package. However, cdrtools is not currently part of buildroot. The Linux From Scratch project uses uses xorriso for the media backend and Ubuntu uses cdrkit for the backend. Choose the one which seems most appropriate for your use. NOTE: xorriso does not currently support UDF. http://fy.chalmers.se/~appro/linux/DVD+RW/tools if BR2_PACKAGE_DVDRW_TOOLS choice prompt "Media Backend" help Choose which media backend program to use. config BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND bool "cdrkit" select BR2_PACKAGE_CDRKIT help Symlink mkisofs to genisoimage from the cdrkit package. config BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND bool "xorriso" select BR2_PACKAGE_XORRISO help Symlink mkisofs to xorrisofs from the xorriso package. endchoice endif
shibajee/buildroot
package/dvdrw-tools/Config.in
in
mit
1,666
# Locally computed using sha256sum sha256 f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca dvd+rw-tools-7.1.tar.gz
shibajee/buildroot
package/dvdrw-tools/dvdrw-tools.hash
hash
mit
131
################################################################################ # # dvdrw-tools # ################################################################################ DVDRW_TOOLS_VERSION = 7.1 DVDRW_TOOLS_SOURCE = dvd+rw-tools-$(DVDRW_TOOLS_VERSION).tar.gz DVDRW_TOOLS_SITE = http://fy.chalmers.se/~appro/linux/DVD+RW/tools DVDRW_TOOLS_LICENSE = GPLv2 DVDRW_TOOLS_LICENSE_FILES = LICENSE DVDRW_TOOLS_DEPENDENCIES = host-m4 define DVDRW_TOOLS_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_CDRKIT_BACKEND),y) DVDRW_TOOLS_BACKEND = genisoimage DVDRW_TOOLS_DEPENDENCIES += cdrkit else ifeq ($(BR2_PACKAGE_DVDRW_TOOLS_XORRISO_BACKEND),y) DVDRW_TOOLS_BACKEND = xorrisofs DVDRW_TOOLS_DEPENDENCIES += xorriso endif define DVDRW_TOOLS_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/dvd-ram-control $(TARGET_DIR)/usr/bin/dvd-ram-control $(INSTALL) -m 0755 -D $(@D)/dvd+rw-booktype $(TARGET_DIR)/usr/bin/dvd+rw-booktype $(INSTALL) -m 0755 -D $(@D)/dvd+rw-format $(TARGET_DIR)/usr/bin/dvd+rw-format $(INSTALL) -m 0755 -D $(@D)/dvd+rw-mediainfo $(TARGET_DIR)/usr/bin/dvd+rw-mediainfo $(INSTALL) -m 0755 -D $(@D)/growisofs $(TARGET_DIR)/usr/bin/growisofs ln -s -f $(DVDRW_TOOLS_BACKEND) $(TARGET_DIR)/usr/bin/mkisofs endef $(eval $(generic-package))
shibajee/buildroot
package/dvdrw-tools/dvdrw-tools.mk
mk
mit
1,326
--- e2fsprogs-1.41.9/MCONFIG.in.orig 2009-10-07 20:25:07.000000000 +0800 +++ e2fsprogs-1.41.9/MCONFIG.in 2009-10-07 20:21:41.000000000 +0800 @@ -85,7 +85,7 @@ # LIB = $(top_builddir)/lib LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@ -LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@ +LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @SEM_INIT_LIB@ LIBE2P = $(LIB)/libe2p@LIB_EXT@ LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@ LIBUUID = @LIBUUID@ @SOCKET_LIB@
shibajee/buildroot
package/e2fsprogs/0001-sem-init-libs.patch
patch
mit
489
From 14d9e94315cd8144ac72d368c45e70869a66799c Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Thu, 9 Jun 2016 07:47:03 -0300 Subject: [PATCH] fuse2fs: might need librt It uses clock_gettime() which in older glibc versions is in librt. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> [yann.morin.1998@free.fr: properly expand it in the Makefile] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- Patch status: sent to linux-ext4 ML configure.ac | 5 +++++ misc/Makefile.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 67d7231..a387dfd 100644 --- a/configure.ac +++ b/configure.ac @@ -1162,6 +1162,11 @@ if test "$ac_cv_func_dlopen" = yes ; then fi AC_SUBST(MAGIC_LIB) dnl +dnl Check to see if librt is required for clock_gettime() (glibc < 2.17) +dnl +AC_CHECK_LIB(rt, clock_gettime, [CLOCK_GETTIME_LIB=-lrt]) +AC_SUBST(CLOCK_GETTIME_LIB) +dnl dnl Check to see if the FUSE library is -lfuse or -losxfuse dnl FUSE_CMT= diff --git a/misc/Makefile.in b/misc/Makefile.in index 43e3c7e..070a6e3 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -387,7 +387,8 @@ fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \ $(LIBEXT2FS) $(E) " LD $@" $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \ - $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) + $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \ + $(CLOCK_GETTIME_LIB) journal.o: $(srcdir)/../debugfs/journal.c $(E) " CC $@" diff --git a/misc/Makefile.in b/misc/Makefile.in index 43e3c7e..070a6e3 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -32,6 +32,8 @@ @FUSE_CMT@FUSE_PROG= fuse2fs +CLOCK_GETTIME_LIB = @CLOCK_GETTIME_LIB@ + SPROGS= mke2fs badblocks tune2fs dumpe2fs $(BLKID_PROG) logsave \ $(E2IMAGE_PROG) @FSCK_PROG@ e2undo USPROGS= mklost+found filefrag e2freefrag $(UUIDD_PROG) \ -- 2.7.3
shibajee/buildroot
package/e2fsprogs/0002-fuse2fs-might-need-librt.patch
patch
mit
1,959
From ff6147dd7197519e561e796d56545c4e11eb43fa Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Wed, 22 Jun 2016 20:55:35 -0300 Subject: [PATCH e2fsprogs] fuse2fs: needs SYSLIBS It otherwise leads to build failure when using an unbundled libintl. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- Status: sent to ML http://marc.info/?l=linux-ext4&m=146664003825136&w=2 misc/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Makefile.in b/misc/Makefile.in index f67c9c7..e487692 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -389,7 +389,7 @@ fuse2fs: $(FUSE2FS_OBJS) $(DEPLIBS) $(DEPLIBBLKID) $(DEPLIBUUID) \ $(E) " LD $@" $(Q) $(CC) $(ALL_LDFLAGS) -o fuse2fs $(FUSE2FS_OBJS) $(LIBS) \ $(LIBFUSE) $(LIBBLKID) $(LIBUUID) $(LIBEXT2FS) $(LIBINTL) \ - $(CLOCK_GETTIME_LIB) + $(CLOCK_GETTIME_LIB) $(SYSLIBS) journal.o: $(srcdir)/../debugfs/journal.c $(E) " CC $@" -- 2.7.3
shibajee/buildroot
package/e2fsprogs/0003-fuse2fs-needs-SYSLIBS.patch
patch
mit
974
config BR2_PACKAGE_E2FSPROGS bool "e2fsprogs" depends on BR2_USE_WCHAR # util-linux depends on BR2_USE_MMU # util-linux/libblkid select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBBLKID select BR2_PACKAGE_UTIL_LINUX_LIBUUID help The EXT2 file system utilities. http://e2fsprogs.sf.net if BR2_PACKAGE_E2FSPROGS config BR2_PACKAGE_E2FSPROGS_BADBLOCKS bool "badblocks" default y config BR2_PACKAGE_E2FSPROGS_CHATTR bool "chattr" default y config BR2_PACKAGE_E2FSPROGS_DEBUGFS bool "debugfs" config BR2_PACKAGE_E2FSPROGS_DUMPE2FS bool "dumpe2fs" default y config BR2_PACKAGE_E2FSPROGS_E2FREEFRAG bool "e2freefrag" default y config BR2_PACKAGE_E2FSPROGS_E2FSCK bool "e2fsck" default y config BR2_PACKAGE_E2FSPROGS_E2IMAGE bool "e2image" config BR2_PACKAGE_E2FSPROGS_E2LABEL bool "e2label" default y config BR2_PACKAGE_E2FSPROGS_E2UNDO bool "e2undo" default y config BR2_PACKAGE_E2FSPROGS_E4DEFRAG bool "e4defrag" depends on !BR2_nios2 # fallocate not implemented depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl comment "e4defrag needs a glibc or musl toolchain" depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_E2FSPROGS_FILEFRAG bool "filefrag" default y config BR2_PACKAGE_E2FSPROGS_FSCK bool "fsck" default y config BR2_PACKAGE_E2FSPROGS_FUSE2FS bool "fuse2fs" depends on !BR2_STATIC_LIBS # libfuse depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse select BR2_PACKAGE_LIBFUSE comment "fuse2fs needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS config BR2_PACKAGE_E2FSPROGS_LOGSAVE bool "logsave" default y config BR2_PACKAGE_E2FSPROGS_LSATTR bool "lsattr" default y config BR2_PACKAGE_E2FSPROGS_MKE2FS bool "mke2fs" default y config BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND bool "mklost+found" default y config BR2_PACKAGE_E2FSPROGS_RESIZE2FS bool "resize2fs" config BR2_PACKAGE_E2FSPROGS_TUNE2FS bool "tune2fs" default y select BR2_PACKAGE_E2FSPROGS_E2LABEL config BR2_PACKAGE_E2FSPROGS_UUIDGEN bool "uuidgen" default y endif comment "e2fsprogs needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
shibajee/buildroot
package/e2fsprogs/Config.in
in
mit
2,184
config BR2_PACKAGE_HOST_E2FSPROGS bool "host e2fsprogs" help The EXT2/3/4 file system utilities. http://e2fsprogs.sourceforge.net
shibajee/buildroot
package/e2fsprogs/Config.in.host
host
mit
139
# From https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.43.1/sha256sums.asc sha256 97e36a029224e2606baa6e9ea693b04a4d192ccd714572a1b50a2df9c687b23d e2fsprogs-1.43.1.tar.xz
shibajee/buildroot
package/e2fsprogs/e2fsprogs.hash
hash
mit
189
################################################################################ # # e2fsprogs # ################################################################################ E2FSPROGS_VERSION = 1.43.1 E2FSPROGS_SOURCE = e2fsprogs-$(E2FSPROGS_VERSION).tar.xz E2FSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/tytso/e2fsprogs/v$(E2FSPROGS_VERSION) E2FSPROGS_LICENSE = GPLv2, libuuid BSD-3c, libss and libet MIT-like with advertising clause E2FSPROGS_LICENSE_FILES = NOTICE lib/uuid/COPYING lib/ss/mit-sipb-copyright.h lib/et/internal.h E2FSPROGS_INSTALL_STAGING = YES E2FSPROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-libs E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux # we don't have a host-util-linux HOST_E2FSPROGS_DEPENDENCIES = host-pkgconf # For 0002-fuse2fs-might-need-librt.patch # host-gettext for the gettext macro file needed at autoreconf time E2FSPROGS_AUTORECONF = YES E2FSPROGS_DEPENDENCIES += host-gettext HOST_E2FSPROGS_DEPENDENCIES += host-gettext # e4defrag doesn't build on older systems like RHEL5.x, and we don't # need it on the host anyway. # Disable fuse2fs as well to avoid carrying over deps, and it's unused HOST_E2FSPROGS_CONF_OPTS += --disable-defrag --disable-fuse2fs E2FSPROGS_CONF_OPTS = \ $(if $(BR2_STATIC_LIBS),,--enable-elf-shlibs) \ $(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),,--disable-debugfs) \ $(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),,--disable-imager) \ $(if $(BR2_PACKAGE_E2FSPROGS_E4DEFRAG),,--disable-defrag) \ $(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),,--disable-resizer) \ --disable-uuidd \ --disable-libblkid \ --disable-libuuid \ --enable-fsck \ --disable-e2initrd-helper \ --disable-testio-debug \ --disable-rpath ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y) E2FSPROGS_CONF_OPTS += --enable-fuse2fs E2FSPROGS_DEPENDENCIES += libfuse else E2FSPROGS_CONF_OPTS += --disable-fuse2fs endif ifeq ($(BR2_nios2),y) E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no endif # Some programs are built for the host, but use definitions guessed by # the configure script (i.e with the cross-compiler). Help them by # saying that <sys/stat.h> is available on the host, which is needed # for util/subst.c to build properly. E2FSPROGS_CONF_ENV += BUILD_CFLAGS="-DHAVE_SYS_STAT_H" ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) # util-linux libuuid pulls in libintl if needed, so ensure we also # link against it, otherwise static linking fails E2FSPROGS_CONF_ENV += LIBS=-lintl endif E2FSPROGS_MAKE_OPTS = \ LDCONFIG=true define HOST_E2FSPROGS_INSTALL_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs endef # binaries to keep or remove E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_CHATTR) += usr/bin/chattr E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_DUMPE2FS) += usr/sbin/dumpe2fs E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FREEFRAG) += usr/sbin/e2freefrag E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FSCK) += usr/sbin/e2fsck E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2LABEL) += usr/sbin/e2label E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2UNDO) += usr/sbin/e2undo E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E4DEFRAG) += usr/sbin/e4defrag E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FILEFRAG) += usr/sbin/filefrag E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FSCK) += usr/sbin/fsck E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LOGSAVE) += usr/sbin/logsave E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LSATTR) += usr/bin/lsattr E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += usr/sbin/mke2fs E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += usr/sbin/mklost+found E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += usr/bin/uuidgen # files to remove E2FSPROGS_TXTTARGETS_ = \ usr/sbin/mkfs.ext[234] \ usr/sbin/mkfs.ext4dev \ usr/sbin/fsck.ext[234] \ usr/sbin/fsck.ext4dev \ usr/sbin/tune2fs define E2FSPROGS_TARGET_REMOVE_UNNEEDED rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_BINTARGETS_)) rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_TXTTARGETS_)) endef E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_REMOVE_UNNEEDED define E2FSPROGS_TARGET_MKE2FS_SYMLINKS ln -sf mke2fs $(TARGET_DIR)/usr/sbin/mkfs.ext2 ln -sf mke2fs $(TARGET_DIR)/usr/sbin/mkfs.ext3 ln -sf mke2fs $(TARGET_DIR)/usr/sbin/mkfs.ext4 ln -sf mke2fs $(TARGET_DIR)/usr/sbin/mkfs.ext4dev endef ifeq ($(BR2_PACKAGE_E2FSPROGS_MKE2FS),y) E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_MKE2FS_SYMLINKS endif define E2FSPROGS_TARGET_E2FSCK_SYMLINKS ln -sf e2fsck $(TARGET_DIR)/usr/sbin/fsck.ext2 ln -sf e2fsck $(TARGET_DIR)/usr/sbin/fsck.ext3 ln -sf e2fsck $(TARGET_DIR)/usr/sbin/fsck.ext4 ln -sf e2fsck $(TARGET_DIR)/usr/sbin/fsck.ext4dev endef ifeq ($(BR2_PACKAGE_E2FSPROGS_E2FSCK),y) E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_E2FSCK_SYMLINKS endif # If BusyBox is included, its configuration may supply its own variant # of ext2-related tools. Since Buildroot desires having full blown # variants take precedence (in this case, e2fsprogs), we want to remove # BusyBox's variant of e2fsprogs provided binaries. e2fsprogs targets # /usr/{bin,sbin} where BusyBox targets /{bin,sbin}. We will attempt to # remove BusyBox-generated ext2-related tools from /{bin,sbin}. We need # to do this in the pre-install stage to ensure we do not accidentally # remove e2fsprogs's binaries in usr-merged environments (ie. if they # are removed, they would be re-installed in this package's install # stage). ifeq ($(BR2_PACKAGE_BUSYBOX),y) E2FSPROGS_DEPENDENCIES += busybox define E2FSPROGS_REMOVE_BUSYBOX_APPLETS $(RM) -f $(TARGET_DIR)/bin/chattr $(RM) -f $(TARGET_DIR)/bin/lsattr $(RM) -f $(TARGET_DIR)/sbin/fsck $(RM) -f $(TARGET_DIR)/sbin/tune2fs $(RM) -f $(TARGET_DIR)/sbin/e2label endef E2FSPROGS_PRE_INSTALL_TARGET_HOOKS += E2FSPROGS_REMOVE_BUSYBOX_APPLETS endif define E2FSPROGS_TARGET_TUNE2FS_SYMLINK ln -sf e2label $(TARGET_DIR)/usr/sbin/tune2fs endef ifeq ($(BR2_PACKAGE_E2FSPROGS_TUNE2FS),y) E2FSPROGS_POST_INSTALL_TARGET_HOOKS += E2FSPROGS_TARGET_TUNE2FS_SYMLINK endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/e2fsprogs/e2fsprogs.mk
mk
mit
6,148
config BR2_PACKAGE_E2TOOLS bool "e2tools" select BR2_PACKAGE_E2FSPROGS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR # e2fsprogs depends on BR2_USE_MMU # e2fsprogs help E2tools is a simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem. These utilities access a filesystem directly using the ext2fs library. https://github.com/ndim/e2tools comment "e2tools needs a toolchain w/ threads, wchar" depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_USE_MMU
shibajee/buildroot
package/e2tools/Config.in
in
mit
555
config BR2_PACKAGE_HOST_E2TOOLS bool "host e2tools" select BR2_PACKAGE_HOST_E2FSPROGS help E2tools is a simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem. These utilities access a filesystem directly using the ext2fs library. https://github.com/ndim/e2tools
shibajee/buildroot
package/e2tools/Config.in.host
host
mit
323
# Locally calculated sha256 37bbd705170dff80720d68916f8d90803d71987e1b60f7149a285a7fcd539214 e2tools-3158ef18a903ca4a98b8fa220c9fc5c133d8bdf6.tar.gz
shibajee/buildroot
package/e2tools/e2tools.hash
hash
mit
150
################################################################################ # # e2tools # ################################################################################ E2TOOLS_VERSION = 3158ef18a903ca4a98b8fa220c9fc5c133d8bdf6 E2TOOLS_SITE = $(call github,ndim,e2tools,$(E2TOOLS_VERSION)) # Source coming from GitHub, no configure included. E2TOOLS_AUTORECONF = YES E2TOOLS_LICENSE = GPLv2 E2TOOLS_LICENSE_FILES = COPYING E2TOOLS_DEPENDENCIES = e2fsprogs E2TOOLS_CONF_ENV = LIBS="-lpthread" HOST_E2TOOLS_DEPENDENCIES = host-e2fsprogs HOST_E2TOOLS_CONF_ENV = LIBS="-lpthread" $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/e2tools/e2tools.mk
mk
mit
649
config BR2_PACKAGE_EBTABLES bool "ebtables" depends on !BR2_TOOLCHAIN_USES_MUSL # mixes userspace and kernel headers depends on BR2_USE_MMU # fork() help Ethernet bridge frame table administration http://ebtables.netfilter.org/ comment "ebtables needs a glibc or uClibc toolchain" depends on BR2_TOOLCHAIN_USES_MUSL depends on BR2_USE_MMU
shibajee/buildroot
package/ebtables/Config.in
in
mit
353
# Locally computed sha256 dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d ebtables-v2.0.10-4.tar.gz
shibajee/buildroot
package/ebtables/ebtables.hash
hash
mit
117
################################################################################ # # ebtables # ################################################################################ EBTABLES_VERSION = 2.0.10-4 EBTABLES_SOURCE = ebtables-v$(EBTABLES_VERSION).tar.gz EBTABLES_SITE = http://ftp.netfilter.org/pub/ebtables EBTABLES_LICENSE = GPLv2+ EBTABLES_LICENSE_FILES = COPYING EBTABLES_STATIC = $(if $(BR2_STATIC_LIBS),static) EBTABLES_K64U32 = $(if $(BR2_KERNEL_64_USERLAND_32),-DKERNEL_64_USERSPACE_32) define EBTABLES_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) LIBDIR=/lib/ebtables $(EBTABLES_STATIC) \ CFLAGS="$(TARGET_CFLAGS) $(EBTABLES_K64U32)" -C $(@D) endef ifeq ($(BR2_STATIC_LIBS),y) define EBTABLES_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/static \ $(TARGET_DIR)/sbin/ebtables endef else define EBTABLES_INSTALL_TARGET_CMDS for so in $(@D)/$(EBTABLES_SUBDIR)/*.so \ $(@D)/$(EBTABLES_SUBDIR)/extensions/*.so; \ do \ $(INSTALL) -m 0755 -D $${so} \ $(TARGET_DIR)/lib/ebtables/`basename $${so}` || exit 1; \ done $(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \ $(TARGET_DIR)/sbin/ebtables $(INSTALL) -m 0644 -D $(@D)/ethertypes $(TARGET_DIR)/etc/ethertypes endef endif $(eval $(generic-package))
shibajee/buildroot
package/ebtables/ebtables.mk
mk
mit
1,261
fix musl build Patch inspired by https://github.com/kraj/meta-musl/blob/master/recipes-core/util-linux/util-linux-2.25/0001-switch_root-use-typeof-instead-of-__SWORD_TYPE-for-s.patch Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr ecryptfs-utils-109.org/src/utils/mount.ecryptfs_private.c ecryptfs-utils-109/src/utils/mount.ecryptfs_private.c --- ecryptfs-utils-109.org/src/utils/mount.ecryptfs_private.c 2016-01-22 17:04:52.000000000 +0100 +++ ecryptfs-utils-109/src/utils/mount.ecryptfs_private.c 2016-01-24 16:52:37.000000000 +0100 @@ -224,6 +224,7 @@ static int check_cwd_f_type() { + struct statfs buf; /** * This is *not* a list of compatible lower filesystems list for * eCryptfs. This is a list of filesystems that we reasonably expect to @@ -235,7 +236,7 @@ * deceive other programs with a crafted /proc/self/*. See * https://launchpad.net/bugs/1530566 for more details. */ - __SWORD_TYPE f_type_whitelist[] = { + typeof(buf.f_type) f_type_whitelist[] = { 0x61756673 /* AUFS_SUPER_MAGIC */, 0x9123683E /* BTRFS_SUPER_MAGIC */, 0x00C36400 /* CEPH_SUPER_MAGIC */, @@ -259,7 +260,6 @@ 0x58465342 /* XFS_SB_MAGIC */, 0x2FC12FC1 /* ZFS_SUPER_MAGIC */, }; - struct statfs buf; size_t i, whitelist_len; if (statfs(".", &buf) != 0) {
shibajee/buildroot
package/ecryptfs-utils/0001-musl.patch
patch
mit
1,297
config BR2_PACKAGE_ECRYPTFS_UTILS bool "ecryptfs-utils" select BR2_PACKAGE_KEYUTILS select BR2_PACKAGE_LIBNSS # runtime dependency only, some scripts are using the # 'gettext' program to get translations select BR2_PACKAGE_GETTEXT # runtime dependency only select BR2_PACKAGE_GETENT depends on BR2_USE_WCHAR # gettext depends on BR2_USE_MMU # keyutils depends on !BR2_microblaze # keyutils depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnss -> libnspr depends on !BR2_MIPS_NABI32 # libnss depends on !BR2_STATIC_LIBS # libnss, keyutils help eCryptfs is a POSIX-compliant enterprise cryptographic filesystem for Linux. It is stacked on top of any other Linux filesystem, it stores cryptographic metadata in the header of each file written. The eCryptfs kernel module is available in all Linux kernels since version 2.6.19. This package provides userspace utilities needed to mount eCryptfs. Files are encrypted using a passphrase. Consider building openssl for another method. http://ecryptfs.org comment "ecryptfs-utils needs a toolchain w/ threads, wchar, dynamic library" depends on !BR2_microblaze depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ BR2_STATIC_LIBS
shibajee/buildroot
package/ecryptfs-utils/Config.in
in
mit
1,360
# From https://launchpad.net/ecryptfs/trunk/109/+download/ecryptfs-utils_109.orig.tar.gz/+md5 md5 8e33f096c8cb8288f9c29a9936cd0d28 ecryptfs-utils_109.orig.tar.gz
shibajee/buildroot
package/ecryptfs-utils/ecryptfs-utils.hash
hash
mit
162
################################################################################ # # ecryptfs-utils # ################################################################################ ECRYPTFS_UTILS_VERSION = 109 ECRYPTFS_UTILS_SOURCE = ecryptfs-utils_$(ECRYPTFS_UTILS_VERSION).orig.tar.gz ECRYPTFS_UTILS_SITE = https://launchpad.net/ecryptfs/trunk/$(ECRYPTFS_UTILS_VERSION)/+download ECRYPTFS_UTILS_LICENSE = GPLv2+ ECRYPTFS_UTILS_LICENSE_FILES = COPYING ECRYPTFS_UTILS_DEPENDENCIES = keyutils libnss host-intltool ECRYPTFS_UTILS_CONF_OPTS = --disable-pywrap --disable-pam #Needed for build system to find pk11func.h and libnss3.so ECRYPTFS_UTILS_CONF_ENV = \ NSS_CFLAGS="-I$(STAGING_DIR)/usr/include/nss -I$(STAGING_DIR)/usr/include/nspr" \ NSS_LIBS="-lnss3" ifeq ($(BR2_PACKAGE_OPENSSL),y) ECRYPTFS_UTILS_CONF_OPTS += --enable-openssl ECRYPTFS_UTILS_DEPENDENCIES += openssl else ECRYPTFS_UTILS_CONF_OPTS += --disable-openssl endif $(eval $(autotools-package))
shibajee/buildroot
package/ecryptfs-utils/ecryptfs-utils.mk
mk
mit
969
config BR2_PACKAGE_ED bool "ed" help A line-oriented text editor. Used to create, display, modify, and otherwise manipulate text files. Often used in scripts rather than invoked directly. http://www.gnu.org/software/ed/
shibajee/buildroot
package/ed/Config.in
in
mit
235
# From http://lists.gnu.org/archive/html/bug-ed/2013-06/msg00001.html md5 565b6d1d5a9a8816b9b304fc4ed9405d ed-1.9.tar.gz
shibajee/buildroot
package/ed/ed.hash
hash
mit
121
################################################################################ # # ed # ################################################################################ ED_VERSION = 1.9 ED_SITE = $(BR2_GNU_MIRROR)/ed ED_CONF_OPTS = \ CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" ED_LICENSE = GPLv3+ ED_LICENSE_FILES = COPYING define ED_CONFIGURE_CMDS (cd $(@D); \ ./configure \ --prefix=/usr \ $(TARGET_CONFIGURE_OPTS) \ ) endef define ED_BUILD_CMDS $(MAKE) -C $(@D) endef define ED_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install endef $(eval $(generic-package))
shibajee/buildroot
package/ed/ed.mk
mk
mit
633
config BR2_PACKAGE_EDID_DECODE bool "edid-decode" help Decode EDID data in human-readable format. http://cgit.freedesktop.org/xorg/app/edid-decode/
shibajee/buildroot
package/edid-decode/Config.in
in
mit
157
################################################################################ # # edid-decode # ################################################################################ EDID_DECODE_VERSION = 681153145d5e05ee15032ea792e967cda06e7622 EDID_DECODE_SITE = git://anongit.freedesktop.org/git/xorg/app/edid-decode.git EDID_DECODE_LICENSE = MIT EDID_DECODE_LICENSE_FILES = edid-decode.c define EDID_DECODE_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" endef define EDID_DECODE_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install endef $(eval $(generic-package))
shibajee/buildroot
package/edid-decode/edid-decode.mk
mk
mit
664
config BR2_PACKAGE_EEPROG bool "eeprog" help Simple tool to read/write i2c eeprom chips. http://codesink.org/eeprog.html
shibajee/buildroot
package/eeprog/Config.in
in
mit
130
# Locally calculated sha256 35155cc3844d2c3ae8ed6935fda72768c7f24fddc4a0fca89e4ffbb34880d9ef eeprog-0.7.6.tar.gz
shibajee/buildroot
package/eeprog/eeprog.hash
hash
mit
113
################################################################################ # # eeprog # ################################################################################ EEPROG_VERSION = 0.7.6 EEPROG_SITE = http://www.codesink.org/download EEPROG_LICENSE = GPLv2+ EEPROG_LICENSE_FILES = eeprog.c define EEPROG_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define EEPROG_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/eeprog $(TARGET_DIR)/usr/bin/eeprog endef $(eval $(generic-package))
shibajee/buildroot
package/eeprog/eeprog.mk
mk
mit
503
config BR2_PACKAGE_EFIBOOTMGR bool "efibootmgr" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # efivar depends on BR2_TOOLCHAIN_USES_GLIBC # efivar depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # efivar depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # efivar select BR2_PACKAGE_EFIVAR help A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager. This application can create and destroy boot entries, change the boot order, change the next running boot option, and more. https://github.com/rhinstaller/efibootmgr comment "efibootmgr requires a glibc toolchain w/ headers >= 3.12, gcc >= 4.7" depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \ !BR2_TOOLCHAIN_USES_GLIBC || \\ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
shibajee/buildroot
package/efibootmgr/Config.in
in
mit
941
# locally computed hash sha256 b180d7d6b377d24b0872869f2571e2700b618e4d7ebdc2133134a918efe2623b efibootmgr-efibootmgr-0.12.tar.gz
shibajee/buildroot
package/efibootmgr/efibootmgr.hash
hash
mit
130
################################################################################ # # efibootmgr # ################################################################################ EFIBOOTMGR_VERSION = efibootmgr-0.12 EFIBOOTMGR_SITE = $(call github,rhinstaller,efibootmgr,$(EFIBOOTMGR_VERSION)) EFIBOOTMGR_LICENSE = GPLv2+ EFIBOOTMGR_LICENSE_FILES = COPYING EFIBOOTMGR_DEPENDENCIES = efivar define EFIBOOTMSR_PATCH_HEADER_PATH $(SED) 's,-I/,-I$(STAGING_DIR)/,' $(@D)/Makefile endef EFIBOOTMGR_POST_PATCH_HOOKS += EFIBOOTMSR_PATCH_HEADER_PATH define EFIBOOTMGR_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) endef define EFIBOOTMGR_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/src/efibootmgr/efibootmgr \ $(TARGET_DIR)/usr/bin/efibootmgr endef $(eval $(generic-package))
shibajee/buildroot
package/efibootmgr/efibootmgr.mk
mk
mit
809
From 75a73111371526a12712bb7211da2116c0bf40f7 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <floppym@gentoo.org> Date: Thu, 14 Jan 2016 17:02:31 -0500 Subject: [PATCH] Workaround rename of linux/nvme.h Bug: https://bugs.gentoo.org/571548 Signed-off-by: Erico Nunes <nunes.erico@gmail.com> --- src/linux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/linux.c b/src/linux.c index b618cfd..9388cd3 100644 --- a/src/linux.c +++ b/src/linux.c @@ -22,7 +22,12 @@ #include <inttypes.h> #include <limits.h> #include <linux/ethtool.h> +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0) +#include <linux/nvme_ioctl.h> +#else #include <linux/nvme.h> +#endif #include <linux/sockios.h> #include <net/if.h> #include <scsi/scsi.h> -- 2.7.4
shibajee/buildroot
package/efivar/0001-Workaround-rename-of-linux-nvme.h.patch
patch
mit
780
From 00376f4dec71d4abb591ba07bc8164ba29e5955e Mon Sep 17 00:00:00 2001 From: Erico Nunes <nunes.erico@gmail.com> Date: Tue, 22 Mar 2016 21:43:44 -0300 Subject: [PATCH] Make.rules: fix build with make <= 3.81 Building with host make 3.81 resulted in an issue where src/efivar.pc was never generated. Even by running 'make efivar.pc' inside the src directory, make always returned that there was nothing to do. This was not observed when using make 3.82 or 4.x. It is apparently caused by the assignment operators in the multi-line defines in Make.rules, which do not seem to be supported by make 3.81. By omitting the assignment operators, the rule works with both versions of make. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> --- Make.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.rules b/Make.rules index 8a50fa5..d9c0609 100644 --- a/Make.rules +++ b/Make.rules @@ -42,7 +42,7 @@ include $(TOPDIR)/Make.version %.c : %.h -define substitute-version = +define substitute-version sed \ -e "s,@@VERSION@@,$(VERSION),g" \ -e "s,@@LIBDIR@@,$(libdir),g" \ @@ -61,7 +61,7 @@ pkg-config-ldflags = \ pkg-config-ldlibs = \ $(shell if [ -n "$(PKGS)" ]; then $(PKG_CONFIG) --libs-only-l $(PKGS) ; fi) -define deps-of = +define deps-of $(foreach src,$(filter %.c,$(1)),$(patsubst %.c,.%.d,$(src))) \ $(foreach src,$(filter %.S,$(1)),$(patsubst %.S,.%.d,$(src))) endef -- 2.7.4
shibajee/buildroot
package/efivar/0002-Make.rules-fix-build-with-make-3.81.patch
patch
mit
1,444
config BR2_PACKAGE_EFIVAR bool "efivar" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # linux/nvme.h # linux/nvme.h has been renamed to linux/nvme_ioctl.h since 4.4, # and we have a patch to handle that situation. However, some # Sourcery CodeBench toolchains use 4.4 kernel headers but they # don't have that header file renamed, and that is causing build # failures. So, prevent this package to be built using those # toolchains. depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # doesn't build with uclibc due to lack of uchar.h # doesn't build with musl due to lack of __bswap_constant_16 depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 select BR2_PACKAGE_POPT help Tools and libraries to manipulate EFI variables https://github.com/rhinstaller/efivar comment "efivar requires a glibc toolchain w/ headers >= 3.12, gcc >= 4.7" depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 || \ !BR2_TOOLCHAIN_USES_GLIBC || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS && \ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
shibajee/buildroot
package/efivar/Config.in
in
mit
1,166
# locally computed hash sha256 f807f5f0846323bc21b18043542b296f5ad81514f91f13c74a4b8da30c965c94 efivar-0.23.tar.gz
shibajee/buildroot
package/efivar/efivar.hash
hash
mit
115
################################################################################ # # efivar # ################################################################################ EFIVAR_VERSION = 0.23 EFIVAR_SITE = $(call github,rhinstaller,efivar,$(EFIVAR_VERSION)) EFIVAR_LICENSE = LGPLv2.1 EFIVAR_LICENSE_FILES = COPYING EFIVAR_DEPENDENCIES = popt EFIVAR_INSTALL_STAGING = YES # BINTARGETS is set to skip efivar-static which requires static popt, # and since we depend on glibc, we will never be built in a # static-only environment. # -fPIC is needed at least on MIPS, otherwise fails to build shared # -library. EFIVAR_MAKE_OPTS = \ libdir=/usr/lib \ BINTARGETS=efivar \ LDFLAGS="$(TARGET_LDFLAGS) -fPIC" # Explicitly linking with shared libgcc is required on MicroBlaze and # Nios II, otherwise it fails due to FDE encoding in static libgcc. ifeq ($(BR2_microblaze)$(BR2_nios2),y) EFIVAR_MAKE_OPTS += SOFLAGS="-shared -shared-libgcc" endif define EFIVAR_BUILD_CMDS # makeguids is an internal host tool and must be built separately with # $(HOST_CC), otherwise it gets cross-built. $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) \ CFLAGS="$(HOST_CFLAGS) -std=gnu99" \ $(MAKE) -C $(@D)/src gcc_cflags= makeguids $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) \ AR=$(TARGET_AR) NM=$(TARGET_NM) RANLIB=$(TARGET_RANLIB) \ $(EFIVAR_MAKE_OPTS) \ all endef define EFIVAR_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) \ $(EFIVAR_MAKE_OPTS) \ DESTDIR="$(STAGING_DIR)" \ install endef define EFIVAR_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) \ $(EFIVAR_MAKE_OPTS) \ DESTDIR="$(TARGET_DIR)" \ install endef $(eval $(generic-package))
shibajee/buildroot
package/efivar/efivar.mk
mk
mit
1,748
config BR2_PACKAGE_EFL bool "efl" # g++ issue with 4.4.5, tested with g++ 4.7.2 depends on BR2_HOST_GCC_AT_LEAST_4_7 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_PACKAGE_HAS_UDEV # libudev depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads depends on BR2_USE_MMU depends on BR2_USE_WCHAR # use wchar_t depends on !BR2_STATIC_LIBS # dlfcn.h select BR2_PACKAGE_DBUS select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_JPEG # Emile needs libjpeg select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND # https://phab.enlightenment.org/T2728 select BR2_PACKAGE_LUAJIT # Lua support broken select BR2_PACKAGE_UTIL_LINUX # libblkid is part of required tools, see EFL's README. select BR2_PACKAGE_UTIL_LINUX_LIBBLKID select BR2_PACKAGE_ZLIB help Enlightenment Foundation Libraries https://enlightenment.org if BR2_PACKAGE_EFL config BR2_PACKAGE_EFL_BULLET bool "Enable bullet support (recommended)" select BR2_PACKAGE_BULLET default y help If you have chosen to disable physics support, this disables lots of core functionality and is effectively never tested. You are going to find features that suddenly don't work and as a result cause a series of breakages. This is simply not tested so you are on your own in terms of ensuring everything works if you do this. config BR2_PACKAGE_EFL_FONTCONFIG bool "Enable fontconfig support (recommended)" select BR2_PACKAGE_FONTCONFIG default y help If fontconfig is disabled, this is going to make general font searching not work, and only some very direct 'load /path/file.ttf' will work alongside some old-school ttf file path searching. This is very likely not what you want, so highly reconsider turning fontconfig off. Having it off will lead to visual problems like missing text in many UI areas etc... config BR2_PACKAGE_EFL_GSTREAMER1 bool "Enable gstreamer1 support (recommended)" select BR2_PACKAGE_GSTREAMER1 select BR2_PACKAGE_GST1_PLUGINS_BASE default y help If Gstreamer 1.x support is disabled, it will heavily limit your media support options and render some functionality as useless, leading to visible application bugs. config BR2_PACKAGE_EFL_LIBFRIBIDI bool "Enable libfribidi support (recommended)" select BR2_PACKAGE_LIBFRIBIDI default y help Fribidi is used for handling right-to-left text (like Arabic, Hebrew, Farsi, Persian etc.) and is very likely not a feature you want to disable unless you know for absolute certain you will never encounter and have to display such scripts. Also note that we don't test with fribidi disabled so you may also trigger code paths with bugs that are never normally used. config BR2_PACKAGE_EFL_LIBSNDFILE bool "Enable libsndfile support (recommended)" select BR2_PACKAGE_LIBSNDFILE default y help If you disabled audio support in Ecore, this is not tested and may create bugs for you due to it creating untested code paths. Reconsider disabling audio. config BR2_PACKAGE_EFL_PULSEAUDIO bool "Enable pulseaudio support (recommended)" depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO default y help The only audio output method supported by Ecore right now is via Pulseaudio. You have disabled that and likely have broken a whole bunch of things in the process. Reconsider your configure options. NOTE: multisense support is automatically enabled with pulseaudio. config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT bool "Enable libmount support (recommended)" select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT default y help Libmount is used heavily inside Eeze for support of removable devices etc... and disabling this will hurt support for Enlightenment and its filemanager. config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG bool default y if BR2_PACKAGE_EFL_BULLET && \ BR2_PACKAGE_EFL_FONTCONFIG && \ BR2_PACKAGE_EFL_GSTREAMER1 && \ BR2_PACKAGE_EFL_LIBFRIBIDI && \ BR2_PACKAGE_EFL_LIBSNDFILE && \ BR2_PACKAGE_EFL_PULSEAUDIO && \ BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT comment "Warning: one of the recommended option for EFL is not enabled" depends on !BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG config BR2_PACKAGE_EFL_EOLIAN_CPP bool "Enable Eolian C++ bindings" depends on BR2_HOST_GCC_AT_LEAST_4_8 # Eolian (host) needs C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # Eolian needs C++11 help Eolian is an EO object parser and code generator. With this option enabled Eolian will handle automatic generation of EFL bindings for the C++11 language. comment "Eolian needs host and target gcc >= 4.8" depends on !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 comment "libecore video support" config BR2_PACKAGE_EFL_FB bool "FB support" config BR2_PACKAGE_EFL_X_XLIB bool "X11 support (xlib)" depends on BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBX11 select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_XLIB_LIBXCOMPOSITE select BR2_PACKAGE_XLIB_LIBXCURSOR select BR2_PACKAGE_XLIB_LIBXDAMAGE select BR2_PACKAGE_XLIB_LIBXINERAMA select BR2_PACKAGE_XLIB_LIBXP select BR2_PACKAGE_XLIB_LIBXRANDR select BR2_PACKAGE_XLIB_LIBXRENDER select BR2_PACKAGE_XLIB_LIBXSCRNSAVER select BR2_PACKAGE_XLIB_LIBXTST select BR2_PACKAGE_XPROTO_GLPROTO comment "libevas loaders" config BR2_PACKAGE_EFL_PNG bool "libevas png loader" select BR2_PACKAGE_LIBPNG help This enables the loader code that loads png files using libpng. # JP2K support require openjpeg 1.x (libopenjpeg1.pc) which is not # available in Buildroot anymore. config BR2_PACKAGE_EFL_JP2K bool "libevas jp2k loader" select BR2_PACKAGE_OPENJPEG depends on BROKEN # require openjpeg 1.x help This enables the loader code that loads jp2k files using openjpeg. config BR2_PACKAGE_EFL_JPEG bool "libevas jpeg loader" help This enables the loader code that loads jpeg files using libjpeg. config BR2_PACKAGE_EFL_GIF bool "libevas gif loader" select BR2_PACKAGE_GIFLIB help This enables the loader code that loads gif files using giflib. config BR2_PACKAGE_EFL_TIFF bool "libevas tiff loader" select BR2_PACKAGE_TIFF help This enables the loader code that loads tiff files. config BR2_PACKAGE_EFL_WEBP bool "libevas webp image loader" select BR2_PACKAGE_WEBP help This enables the loader code that loads images using WebP. endif # BR2_PACKAGE_EFL comment "efl needs udev /dev management and a toolchain w/ C++, dynamic library, gcc >= 4.7, threads, wchar" depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP \ || !BR2_HOST_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \ || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS depends on BR2_USE_MMU
shibajee/buildroot
package/efl/Config.in
in
mit
6,938
# From https://download.enlightenment.org/rel/libs/efl/efl-1.17.2.tar.xz.sha256 sha256 9aa93ff0ab4bdf95d5cf9606bd7efece611691ca22eb6fc3484fe6e7a92bf8b6 efl-1.17.2.tar.xz
shibajee/buildroot
package/efl/efl.hash
hash
mit
170
################################################################################ # # efl # ################################################################################ EFL_VERSION = 1.17.2 EFL_SOURCE = efl-$(EFL_VERSION).tar.xz EFL_SITE = http://download.enlightenment.org/rel/libs/efl EFL_LICENSE = BSD-2c, LGPLv2.1+, GPLv2+ EFL_LICENSE_FILES = \ COMPLIANCE \ COPYING \ licenses/COPYING.BSD \ licenses/COPYING.FTL \ licenses/COPYING.GPL \ licenses/COPYING.LGPL \ licenses/COPYING.SMALL EFL_INSTALL_STAGING = YES EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ jpeg luajit udev util-linux zlib # Configure options: # --disable-lua-old: build elua for the target. # --disable-sdl: disable sdl2 support. # --disable-xinput22: disable X11 XInput v2.2+ support. # --with-opengl=none: disable opengl support. EFL_CONF_OPTS = \ --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \ --with-elua=$(HOST_DIR)/usr/bin/elua \ --with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \ --disable-lua-old \ --disable-sdl \ --disable-xinput22 \ --with-opengl=none # Disable untested configuration warning. ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),) EFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb endif ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) EFL_CONF_OPTS += --enable-cxx-bindings \ --with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx else EFL_CONF_OPTS += --disable-cxx-bindings endif ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) EFL_DEPENDENCIES += util-linux EFL_CONF_OPTS += --enable-libmount else EFL_CONF_OPTS += --disable-libmount endif ifeq ($(BR2_PACKAGE_SYSTEMD),y) EFL_CONF_OPTS += --enable-systemd EFL_DEPENDENCIES += systemd else EFL_CONF_OPTS += --disable-systemd endif ifeq ($(BR2_PACKAGE_FONTCONFIG),y) EFL_CONF_OPTS += --enable-fontconfig EFL_DEPENDENCIES += fontconfig else EFL_CONF_OPTS += --disable-fontconfig endif ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) EFL_CONF_OPTS += --enable-fribidi EFL_DEPENDENCIES += libfribidi else EFL_CONF_OPTS += --disable-fribidi endif ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy) EFL_CONF_OPTS += --enable-gstreamer1 EFL_DEPENDENCIES += gstreamer1 gst1-plugins-base else EFL_CONF_OPTS += --disable-gstreamer1 endif ifeq ($(BR2_PACKAGE_BULLET),y) EFL_CONF_OPTS += --enable-physics EFL_DEPENDENCIES += bullet else EFL_CONF_OPTS += --disable-physics endif ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) EFL_CONF_OPTS += --enable-audio EFL_DEPENDENCIES += libsndfile else EFL_CONF_OPTS += --disable-audio endif ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) EFL_CONF_OPTS += --enable-pulseaudio EFL_DEPENDENCIES += pulseaudio else EFL_CONF_OPTS += --disable-pulseaudio endif ifeq ($(BR2_PACKAGE_HARFBUZZ),y) EFL_DEPENDENCIES += harfbuzz EFL_CONF_OPTS += --enable-harfbuzz else EFL_CONF_OPTS += --disable-harfbuzz endif ifeq ($(BR2_PACKAGE_TSLIB),y) EFL_DEPENDENCIES += tslib EFL_CONF_OPTS += --enable-tslib else EFL_CONF_OPTS += --disable-tslib endif ifeq ($(BR2_PACKAGE_LIBGLIB2),y) EFL_DEPENDENCIES += libglib2 EFL_CONF_OPTS += --with-glib=yes else EFL_CONF_OPTS += --with-glib=no endif # Prefer openssl (the default) over gnutls. ifeq ($(BR2_PACKAGE_OPENSSL),y) EFL_DEPENDENCIES += openssl EFL_CONF_OPTS += --with-crypto=openssl else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy) EFL_DEPENDENCIES += gnutls libgcrypt EFL_CONF_OPTS += --with-crypto=gnutls \ --with-libgcrypt-prefix=$(STAGING_DIR)/usr else EFL_CONF_OPTS += --with-crypto=none endif # BR2_PACKAGE_OPENSSL ifeq ($(BR2_PACKAGE_WAYLAND),y) EFL_DEPENDENCIES += wayland libxkbcommon EFL_CONF_OPTS += --enable-wayland else EFL_CONF_OPTS += --disable-wayland endif ifeq ($(BR2_PACKAGE_EFL_FB),y) EFL_CONF_OPTS += --enable-fb else EFL_CONF_OPTS += --disable-fb endif ifeq ($(BR2_PACKAGE_EFL_X_XLIB),y) EFL_CONF_OPTS += \ --with-x11=xlib \ --with-x=$(STAGING_DIR) \ --x-includes=$(STAGING_DIR)/usr/include \ --x-libraries=$(STAGING_DIR)/usr/lib EFL_DEPENDENCIES += \ xlib_libX11 \ xlib_libXcomposite \ xlib_libXcursor \ xlib_libXdamage \ xlib_libXext \ xlib_libXinerama \ xlib_libXrandr \ xlib_libXrender \ xlib_libXScrnSaver \ xlib_libXtst else EFL_CONF_OPTS += --with-x11=none endif # Loaders that need external dependencies needs to be --enable-XXX=yes # otherwise the default is '=static'. # All other loaders are statically built-in ifeq ($(BR2_PACKAGE_EFL_PNG),y) EFL_CONF_OPTS += --enable-image-loader-png=yes EFL_DEPENDENCIES += libpng else EFL_CONF_OPTS += --disable-image-loader-png endif ifeq ($(BR2_PACKAGE_EFL_JPEG),y) EFL_CONF_OPTS += --enable-image-loader-jpeg=yes # efl already depends on jpeg. else EFL_CONF_OPTS += --disable-image-loader-jpeg endif ifeq ($(BR2_PACKAGE_EFL_GIF),y) EFL_CONF_OPTS += --enable-image-loader-gif=yes EFL_DEPENDENCIES += giflib else EFL_CONF_OPTS += --disable-image-loader-gif endif ifeq ($(BR2_PACKAGE_EFL_TIFF),y) EFL_CONF_OPTS += --enable-image-loader-tiff=yes EFL_DEPENDENCIES += tiff else EFL_CONF_OPTS += --disable-image-loader-tiff endif ifeq ($(BR2_PACKAGE_EFL_JP2K),y) EFL_CONF_OPTS += --enable-image-loader-jp2k=yes EFL_DEPENDENCIES += openjpeg else EFL_CONF_OPTS += --disable-image-loader-jp2k endif ifeq ($(BR2_PACKAGE_EFL_WEBP),y) EFL_CONF_OPTS += --enable-image-loader-webp=yes EFL_DEPENDENCIES += webp else EFL_CONF_OPTS += --disable-image-loader-webp endif $(eval $(autotools-package)) ################################################################################ # # host-efl # ################################################################################ # We want to build only some host tools used later in the build. # Actually we want: edje_cc, eet and embryo_cc. eolian_cxx is built only # if selected for the target. # Host dependencies: # * host-dbus: for Eldbus # * host-freetype: for libevas # * host-libglib2: for libecore # * host-libjpeg, host-libpng: for libevas image loader # * host-luajit for Elua tool for the host HOST_EFL_DEPENDENCIES = \ host-pkgconf \ host-dbus \ host-freetype \ host-libglib2 \ host-libjpeg \ host-libpng \ host-luajit \ host-zlib # Configure options: # --disable-audio, --disable-multisense remove libsndfile dependency. # --disable-fontconfig: remove dependency on fontconfig. # --disable-fribidi: remove dependency on libfribidi. # --disable-gstreamer1: remove dependency on gtreamer 1.0. # --disable-libeeze: remove libudev dependency. # --disable-libmount: remove dependency on host-util-linux libmount. # --disable-lua-old: build elua for the host. # --disable-physics: remove Bullet dependency. # --enable-image-loader-gif=no: disable Gif dependency. # --enable-image-loader-tiff=no: disable Tiff dependency. # --with-crypto=none: remove dependencies on openssl or gnutls. # --with-x11=none: remove dependency on X.org. # Yes I really know what I am doing. HOST_EFL_CONF_OPTS += \ --disable-audio \ --disable-fontconfig \ --disable-fribidi \ --disable-gstreamer1 \ --disable-libeeze \ --disable-libmount \ --disable-lua-old \ --disable-multisense \ --disable-physics \ --enable-image-loader-gif=no \ --enable-image-loader-jpeg=yes \ --enable-image-loader-png=yes \ --enable-image-loader-tiff=no \ --with-crypto=none \ --with-glib=yes \ --with-opengl=none \ --with-x11=none \ --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb # Enable Eolian language bindings to provide eolian_cxx tool for the # host which is required to build Eolian language bindings for the # target. ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) HOST_EFL_CONF_OPTS += --enable-cxx-bindings else HOST_EFL_CONF_OPTS += --disable-cxx-bindings endif $(eval $(host-autotools-package))
shibajee/buildroot
package/efl/efl.mk
mk
mit
7,735
config BR2_PACKAGE_EIGEN bool "eigen" depends on BR2_INSTALL_LIBSTDCPP help Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms. It is versatile, fast, elegant and works on many platforms (OS/Compilers). This package only installs header files to the include path. If you just want to use Eigen, you can use the header files right away. There is no binary to link to. Eigen is a pure template library defined in the headers. http://eigen.tuxfamily.org/ if BR2_PACKAGE_EIGEN config BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES bool "unsupported modules" help Install eigen unsupported modules endif comment "eigen needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/eigen/Config.in
in
mit
746
################################################################################ # # eigen # ################################################################################ EIGEN_VERSION = 3.2.5 EIGEN_SITE = https://bitbucket.org/eigen/eigen EIGEN_SITE_METHOD = hg EIGEN_LICENSE = MPL2, BSD-3c, LGPLv2.1 EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README EIGEN_INSTALL_STAGING = YES EIGEN_INSTALL_TARGET = NO EIGEN_DEST_DIR = $(STAGING_DIR)/usr/include/eigen3 ifeq ($(BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES),y) define EIGEN_INSTALL_UNSUPPORTED_MODULES_CMDS mkdir -p $(EIGEN_DEST_DIR)/unsupported cp -a $(@D)/unsupported/Eigen $(EIGEN_DEST_DIR)/unsupported endef endif # Generate the .pc file at build time define EIGEN_BUILD_CMDS sed -r -e 's,^Version: .*,Version: $(EIGEN_VERSION),' \ -e 's,^Cflags: .*,Cflags: -I$(EIGEN_DEST_DIR),' \ $(@D)/eigen3.pc.in >$(@D)/eigen3.pc endef # This package only consists of headers that need to be # copied over to the sysroot for compile time use define EIGEN_INSTALL_STAGING_CMDS $(RM) -r $(EIGEN_DEST_DIR) mkdir -p $(EIGEN_DEST_DIR) cp -a $(@D)/Eigen $(EIGEN_DEST_DIR) $(EIGEN_INSTALL_UNSUPPORTED_MODULES_CMDS) $(INSTALL) -D -m 0644 $(@D)/eigen3.pc \ $(STAGING_DIR)/usr/lib/pkgconfig/eigen3.pc endef $(eval $(generic-package))
shibajee/buildroot
package/eigen/eigen.mk
mk
mit
1,309
From 21d1f05a8882657c151397d0e4723535402f1757 Mon Sep 17 00:00:00 2001 From: Philipp Huebner <debalance@debian.org> Date: Wed, 20 Jan 2016 10:22:57 -0500 Subject: [PATCH] remove make targets for deps Without this patch, dependencies would be downloaded and compiled using rebar at build time. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> --- Makefile.in | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/Makefile.in b/Makefile.in index 08cd837..2a6457c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,26 +77,11 @@ else INIT_USER=$(INSTALLUSER) endif -all: deps src +all: src -deps: deps/.got - -deps/.got: - rm -rf deps/.got - rm -rf deps/.built - $(REBAR) get-deps && :> deps/.got - -deps/.built: deps/.got - $(REBAR) compile && :> deps/.built - -src: deps/.built +src: $(REBAR) skip_deps=true compile -update: - rm -rf deps/.got - rm -rf deps/.built - $(REBAR) update-deps && :> deps/.got - xref: all $(REBAR) skip_deps=true xref @@ -152,16 +137,13 @@ $(foreach file,$(DEPS_FILES_FILTERED) $(MAIN_FILES),$(eval $(call COPY_template, $(sort $(call TO_DEST,$(MAIN_DIRS) $(DEPS_DIRS))): $(INSTALL) -d $@ -$(call TO_DEST,deps/p1_pam/priv/bin/epam): $(LIBDIR)/%: deps/p1_pam/priv/bin/epam $(call TO_DEST,deps/p1_pam/priv/bin/) - $(INSTALL) -m 750 $(O_USER) $< $@ - $(call TO_DEST,priv/sql/lite.sql): sql/lite.sql $(call TO_DEST,priv/sql) $(INSTALL) -m 644 $< $@ $(call TO_DEST,priv/bin/captcha.sh): tools/captcha.sh $(call TO_DEST,priv/bin) $(INSTALL) -m 750 $(O_USER) $< $@ -copy-files-sub2: $(call TO_DEST,$(DEPS_FILES) $(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql) +copy-files-sub2: $(call TO_DEST,$(MAIN_FILES) priv/bin/captcha.sh priv/sql/lite.sql) endif @@ -287,8 +269,6 @@ TAGS: Makefile: Makefile.in -deps := $(wildcard deps/*/ebin) - dialyzer/erlang.plt: @mkdir -p dialyzer @dialyzer --build_plt --output_plt dialyzer/erlang.plt \ -- 2.5.0
shibajee/buildroot
package/ejabberd/0001-remove-make-targets-for-deps.patch
patch
mit
1,969
From d399ecdd99e62b5554210a3b5c733e738e4d54be Mon Sep 17 00:00:00 2001 From: Philipp Huebner <debalance@debian.org> Date: Wed, 20 Jan 2016 08:08:42 -0500 Subject: [PATCH] remove dependencies from rebar config Without this patch, dependencies would be downloaded and compiled by rebar at build time. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> --- rebar.config | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/rebar.config b/rebar.config index 30c0360..d6a5b4d 100644 --- a/rebar.config +++ b/rebar.config @@ -7,48 +7,6 @@ %%% Created : 1 May 2013 by Evgeniy Khramtsov <ekhramtsov@process-one.net> %%%------------------------------------------------------------------- -{deps, [{if_var_true, lager, {lager, ".*", {git, "https://github.com/basho/lager", {tag, "3.0.2"}}}}, - {if_var_false, lager, {p1_logger, ".*", {git, "https://github.com/processone/p1_logger", {tag, "1.0.0"}}}}, - {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.2"}}}, - {cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.1"}}}, - {p1_tls, ".*", {git, "https://github.com/processone/tls", {tag, "1.0.0"}}}, - {p1_stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.0"}}}, - {p1_xml, ".*", {git, "https://github.com/processone/xml", {tag, "1.1.1"}}}, - {p1_stun, ".*", {git, "https://github.com/processone/stun", "0.9.0"}}, - {esip, ".*", {git, "https://github.com/processone/p1_sip", "1.0.0"}}, - {p1_yaml, ".*", {git, "https://github.com/processone/p1_yaml", {tag, "1.0.0"}}}, - {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "0.14.5"}}}, - {oauth2, ".*", {git, "https://github.com/kivra/oauth2", "8d129fbf8866930b4ffa6dd84e65bd2b32b9acb8"}}, - {xmlrpc, ".*", {git, "https://github.com/rds13/xmlrpc", {tag, "1.15"}}}, - {if_var_true, mysql, {p1_mysql, ".*", {git, "https://github.com/processone/mysql", {tag, "1.0.0"}}}}, - {if_var_true, pgsql, {p1_pgsql, ".*", {git, "https://github.com/processone/pgsql", {tag, "1.0.0"}}}}, - {if_var_true, sqlite, {sqlite3, ".*", {git, "https://github.com/alexeyr/erlang-sqlite3", "cbc3505f7a131254265d3ef56191b2581b8cc172"}}}, - {if_var_true, pam, {p1_pam, ".*", {git, "https://github.com/processone/epam", {tag, "1.0.0"}}}}, - {if_var_true, zlib, {p1_zlib, ".*", {git, "https://github.com/processone/zlib", {tag, "1.0.0"}}}}, - {if_var_true, riak, {hamcrest, ".*", {git, "https://github.com/hyperthunk/hamcrest-erlang", "908a24fda4a46776a5135db60ca071e3d783f9f6"}}}, % for riak_pb-2.1.0.7 - {if_var_true, riak, {riakc, ".*", {git, "https://github.com/basho/riak-erlang-client", "527722d12d0433b837cdb92a60900c2cb5df8942"}}}, - {if_var_true, elixir, {elixir, ".*", {git, "https://github.com/elixir-lang/elixir", {tag, "v1.1.0"}}}}, - {if_var_true, elixir, {rebar_elixir_plugin, ".*", {git, "https://github.com/processone/rebar_elixir_plugin", "0.1.0"}}}, - {if_var_true, iconv, {p1_iconv, ".*", {git, "https://github.com/processone/eiconv", {tag, "0.9.0"}}}}, - {if_var_true, tools, {meck, "0.8.2", {git, "https://github.com/eproxus/meck", {tag, "0.8.2"}}}}, - {if_var_true, redis, {eredis, ".*", {git, "https://github.com/wooga/eredis", {tag, "v1.0.8"}}}}]}. - -{if_var_true, latest_deps, - {floating_deps, [p1_logger, - cache_tab, - p1_tls, - p1_stringprep, - p1_xml, - esip, - p1_stun, - p1_yaml, - p1_utils, - p1_mysql, - p1_pgsql, - p1_pam, - p1_zlib, - p1_iconv]}}. - {erl_opts, [nowarn_deprecated_function, {if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}}, {if_var_match, db_type, mssql, {d, 'mssql'}}, @@ -92,15 +50,6 @@ {eunit_compile_opts, [{i, "tools"}]}. -{post_hook_configure, [{"p1_tls", []}, - {"p1_stringprep", []}, - {"p1_yaml", []}, - {"esip", []}, - {"p1_xml", [{if_var_true, full_xml, "--enable-full-xml"}]}, - {if_var_true, pam, {"p1_pam", []}}, - {if_var_true, zlib, {"p1_zlib", []}}, - {if_var_true, iconv, {"p1_iconv", []}}]}. - {port_env, [{"CFLAGS", "-g -O2 -Wall"}]}. {port_specs, [{"priv/lib/jid.so", ["c_src/jid.c"]}]}. -- 2.5.0
shibajee/buildroot
package/ejabberd/0002-remove-dependencies-from-rebar-config.patch
patch
mit
4,648
From f384518dedec4ad657ad69d55754076c13c22d96 Mon Sep 17 00:00:00 2001 From: Johan Oudinet <johan.oudinet@gmail.com> Date: Wed, 20 Jan 2016 08:11:32 -0500 Subject: [PATCH] remove checking erlang version Without this patch, the configure will try to run erlang to simply check if the version is supported by ejabberd. Instead, we do this test statically. --- configure.ac | 2 -- 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac index 97e89a2..cd1ab08 100644 --- a/configure.ac +++ b/configure.ac @@ -39,10 +39,8 @@ AC_ARG_ENABLE(erlang-version-check, [Check Erlang/OTP version @<:@default=yes@:>@])]) case "$enable_erlang_version_check" in yes|'') - ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX]) ;; no) - ERLANG_VERSION_CHECK([$REQUIRE_ERLANG_MIN],[$REQUIRE_ERLANG_MAX],[warn]) ;; esac -- 2.5.0
shibajee/buildroot
package/ejabberd/0003-remove-checking-erlang-version.patch
patch
mit
861
From 705a9ad229de49cd9cce226a2025716902455663 Mon Sep 17 00:00:00 2001 From: Philipp Huebner <debalance@debian.org> Date: Wed, 20 Jan 2016 08:13:21 -0500 Subject: [PATCH] correct include This part of the code was moved into it's own project and was packaged separately by me. To make the build process work, this small fix is necessary. --- src/mod_sip.erl | 2 +- src/mod_sip_proxy.erl | 2 +- src/mod_sip_registrar.erl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod_sip.erl b/src/mod_sip.erl index c8c9533..7f188a0 100644 --- a/src/mod_sip.erl +++ b/src/mod_sip.erl @@ -38,7 +38,7 @@ -include("ejabberd.hrl"). -include("logger.hrl"). --include_lib("esip/include/esip.hrl"). +-include_lib("p1_sip/include/esip.hrl"). %%%=================================================================== %%% API diff --git a/src/mod_sip_proxy.erl b/src/mod_sip_proxy.erl index bf297bc..d8b65cd 100644 --- a/src/mod_sip_proxy.erl +++ b/src/mod_sip_proxy.erl @@ -40,7 +40,7 @@ -include("ejabberd.hrl"). -include("logger.hrl"). --include_lib("esip/include/esip.hrl"). +-include_lib("p1_sip/include/esip.hrl"). -define(SIGN_LIFETIME, 300). %% in seconds. diff --git a/src/mod_sip_registrar.erl b/src/mod_sip_registrar.erl index 44091ed..4d2ec82 100644 --- a/src/mod_sip_registrar.erl +++ b/src/mod_sip_registrar.erl @@ -37,7 +37,7 @@ -include("ejabberd.hrl"). -include("logger.hrl"). --include_lib("esip/include/esip.hrl"). +-include_lib("p1_sip/include/esip.hrl"). -define(CALL_TIMEOUT, timer:seconds(30)). -define(DEFAULT_EXPIRES, 3600). -- 2.5.0
shibajee/buildroot
package/ejabberd/0004-correct-include.patch
patch
mit
1,605
From d43a65b112ec995a5ee52aca2a16e5cf9699d7c1 Mon Sep 17 00:00:00 2001 From: Johan Oudinet <johan.oudinet@gmail.com> Date: Wed, 20 Jan 2016 08:16:26 -0500 Subject: [PATCH] disable ERLANG_DEPRECATED_CHECK Without this patch, the configure will try to execute erlang to check if it uses deprecated types. Assume the answer is false. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index cd1ab08..a4f1533 100644 --- a/configure.ac +++ b/configure.ac @@ -235,7 +235,7 @@ if test "$ENABLEUSER" != ""; then AC_SUBST([INSTALLUSER], [$ENABLEUSER]) fi -ERLANG_DEPRECATED_TYPES_CHECK +AC_SUBST(erlang_deprecated_types, false) if test "$sqlite" = "true"; then AX_LIB_SQLITE3([3.6.19]) -- 2.5.0
shibajee/buildroot
package/ejabberd/0005-disable-ERLANG_DEPRECATED_CHECK.patch
patch
mit
765
From ef847479778cc58818e066b87aa1789ba1c4148b Mon Sep 17 00:00:00 2001 From: Johan Oudinet <johan.oudinet@gmail.com> Date: Wed, 20 Jan 2016 09:34:07 -0500 Subject: [PATCH] fix install permissions Without this patch, the makefile will try to install directories and files with incompatible permissions for ejabberd, which run as an ejabberd user. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> --- Makefile.in | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/Makefile.in b/Makefile.in index 2a6457c..0be4c50 100644 --- a/Makefile.in +++ b/Makefile.in @@ -155,10 +155,8 @@ copy-files-sub: copy-files-sub2 install: all copy-files # # Configuration files - $(INSTALL) -d -m 750 $(G_USER) $(ETCDIR) - [ -f $(ETCDIR)/ejabberd.yml ] \ - && $(INSTALL) -b -m 640 $(G_USER) ejabberd.yml.example $(ETCDIR)/ejabberd.yml-new \ - || $(INSTALL) -b -m 640 $(G_USER) ejabberd.yml.example $(ETCDIR)/ejabberd.yml + $(INSTALL) -d $(ETCDIR) + $(INSTALL) -b -m 644 ejabberd.yml.example $(ETCDIR)/ejabberd.yml $(SED) -e "s*{{rootdir}}*@prefix@*" \ -e "s*{{installuser}}*@INSTALLUSER@*" \ -e "s*{{bindir}}*@bindir@*" \ @@ -168,14 +166,11 @@ install: all copy-files -e "s*{{docdir}}*@docdir@*" \ -e "s*{{erl}}*@ERL@*" ejabberdctl.template \ > ejabberdctl.example - [ -f $(ETCDIR)/ejabberdctl.cfg ] \ - && $(INSTALL) -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg-new \ - || $(INSTALL) -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg - $(INSTALL) -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc + $(INSTALL) -b -m 644 ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg + $(INSTALL) -b -m 644 inetrc $(ETCDIR)/inetrc # # Administration script - [ -d $(SBINDIR) ] || $(INSTALL) -d -m 755 $(SBINDIR) - $(INSTALL) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl + $(INSTALL) -D ejabberdctl.example $(SBINDIR)/ejabberdctl # Elixir binaries [ -d $(BINDIR) ] || $(INSTALL) -d -m 755 $(BINDIR) [ -f deps/elixir/bin/iex ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/iex $(BINDIR)/iex || true @@ -187,29 +182,6 @@ install: all copy-files -e "s*@installuser@*$(INIT_USER)*" ejabberd.init.template \ > ejabberd.init chmod 755 ejabberd.init - # - # Spool directory - $(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR) - $(CHOWN_COMMAND) -R @INSTALLUSER@ $(SPOOLDIR) >$(CHOWN_OUTPUT) - chmod -R 750 $(SPOOLDIR) - [ ! -f $(COOKIEFILE) ] || { $(CHOWN_COMMAND) @INSTALLUSER@ $(COOKIEFILE) >$(CHOWN_OUTPUT) ; chmod 400 $(COOKIEFILE) ; } - # - # ejabberdctl lock directory - $(INSTALL) -d -m 750 $(O_USER) $(CTLLOCKDIR) - $(CHOWN_COMMAND) -R @INSTALLUSER@ $(CTLLOCKDIR) >$(CHOWN_OUTPUT) - chmod -R 750 $(CTLLOCKDIR) - # - # Log directory - $(INSTALL) -d -m 750 $(O_USER) $(LOGDIR) - $(CHOWN_COMMAND) -R @INSTALLUSER@ $(LOGDIR) >$(CHOWN_OUTPUT) - chmod -R 750 $(LOGDIR) - # - # Documentation - $(INSTALL) -d $(DOCDIR) - [ -f doc/guide.html ] \ - && $(INSTALL) -m 644 doc/guide.html $(DOCDIR) \ - || echo "Documentation not included in sources" - $(INSTALL) -m 644 COPYING $(DOCDIR) uninstall: uninstall-binary -- 2.5.0
shibajee/buildroot
package/ejabberd/0006-fix-install-permissions.patch
patch
mit
3,149
From 53d7d654026afa163a55b860e33c6901129e8dc1 Mon Sep 17 00:00:00 2001 From: Johan Oudinet <johan.oudinet@gmail.com> Date: Wed, 20 Jan 2016 09:35:07 -0500 Subject: [PATCH] fix ejabberdctl Change default values so ejabberdctl run commands as ejabberd user Also add a way for the user to change default values. Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> --- ejabberdctl.template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ejabberdctl.template b/ejabberdctl.template index f65c21f..ff9225f 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -14,9 +14,12 @@ SCRIPT_DIR=`cd ${0%/*} && pwd` ERL={{erl}} IEX={{bindir}}/iex EPMD={{bindir}}/epmd -INSTALLUSER={{installuser}} +INSTALLUSER=ejabberd ERL_LIBS={{libdir}} +# Read default configuration file if present +[ ! -r /etc/default/ejabberd ] || . /etc/default/ejabberd + # check the proper system user is used if defined if [ "$INSTALLUSER" != "" ] ; then EXEC_CMD="false" -- 2.5.0
shibajee/buildroot
package/ejabberd/0007-fix-ejabberdctl.patch
patch
mit
998