code
string
repo_name
string
path
string
language
string
license
string
size
int64
################################################################################ # # leafpad # ################################################################################ LEAFPAD_VERSION = 0.8.18.1 LEAFPAD_SITE = http://savannah.nongnu.org/download/leafpad LEAFPAD_DEPENDENCIES = libgtk2 host-intltool LEAFPAD_LICENSE = GPLv2+ LEAFPAD_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/leafpad/leafpad.mk
mk
mit
395
config BR2_PACKAGE_LESS bool "less" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_NCURSES help Excellent text file viewer. http://www.greenwoodsoftware.com/
shibajee/buildroot
package/less/Config.in
in
mit
184
# Locally calculated after checking pgp signature sha256 3fa38f2cf5e9e040bb44fffaa6c76a84506e379e47f5a04686ab78102090dda5 less-481.tar.gz
shibajee/buildroot
package/less/less.hash
hash
mit
138
################################################################################ # # less # ################################################################################ LESS_VERSION = 481 LESS_SITE = $(BR2_GNU_MIRROR)/less LESS_LICENSE = GPLv3+ LESS_LICENSE_FILES = COPYING # Build after busybox, full-blown is better LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox) define LESS_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less endef $(eval $(autotools-package))
shibajee/buildroot
package/less/less.mk
mk
mit
515
config BR2_PACKAGE_LESSTIF bool "lesstif" depends on BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBXT select BR2_PACKAGE_XLIB_LIBXEXT select BR2_PACKAGE_FREETYPE depends on BR2_USE_MMU # fork() help lesstif is the Hungry Programmers' version of OSF/Motif http://lesstif.sourceforge.net/
shibajee/buildroot
package/lesstif/Config.in
in
mit
300
# Locally computed: sha256 eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3 lesstif-0.95.2.tar.bz2
shibajee/buildroot
package/lesstif/lesstif.hash
hash
mit
117
################################################################################ # # lesstif # ################################################################################ LESSTIF_VERSION = 0.95.2 LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2 LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION) LESSTIF_INSTALL_STAGING = YES LESSTIF_DEPENDENCIES = \ xlib_libXt \ xlib_libXext \ freetype LESSTIF_LICENSE = LGPLv2+ LESSTIF_LICENSE_FILES = COPYING.LIB LESSTIF_CONF_OPTS = \ --with-gnu-ld \ --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \ --enable-production=yes \ --enable-build-tests=no \ --no-recursion # Reduces the buggy makefile to the smallest possible (and working) thing define LESSTIF_NOMAN2HTML echo "all:" > $(@D)/doc/Makefile echo "" >> $(@D)/doc/Makefile echo "install:" >> $(@D)/doc/Makefile echo "" >> $(@D)/doc/Makefile echo "clean:" >> $(@D)/doc/Makefile endef # Prevents to copy ac_find_motif.m4 on target, it would else # be created at $(TARGET_DIR)/$(TOPDIR)/output/host/usr/share/aclocal/ac_find_motif.m4 define LESSTIF_FIXACLOCAL sed -i -e "/install-data-am: install-aclocalDATA/d" $(@D)/scripts/autoconf/Makefile endef LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_FIXACLOCAL $(eval $(autotools-package))
shibajee/buildroot
package/lesstif/lesstif.mk
mk
mit
1,359
From 8a8016f6d2af335ab205aa40d5274fc9b0c7a566 Mon Sep 17 00:00:00 2001 From: Steve James <ste@junkomatic.net> Date: Sun, 5 Apr 2015 16:29:51 +0200 Subject: [PATCH 1/2] Fix compilation with g++ 4.8.2 Where db_iter.cc fails to get a typedef for ssize_t when compiled by GCC. Upstream-Status: Submitted [https://github.com/google/leveldb/issues/233] Signed-off-by: Steve James <ste@junkomatic.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- db/db_iter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/db/db_iter.cc b/db/db_iter.cc index 3b2035e..c2e5f35 100644 --- a/db/db_iter.cc +++ b/db/db_iter.cc @@ -13,6 +13,7 @@ #include "util/logging.h" #include "util/mutexlock.h" #include "util/random.h" +#include <sys/types.h> // for ssize_t namespace leveldb { -- 2.1.0
shibajee/buildroot
package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch
patch
mit
814
From 818d59f093100d5f39db34d5686a9d983172d307 Mon Sep 17 00:00:00 2001 From: Steve James <ste@junkomatic.net> Date: Sun, 5 Apr 2015 16:30:46 +0200 Subject: [PATCH 2/2] Add install recipe Upstream-Status: Submitted [https://github.com/google/leveldb/pull/276] Signed-off-by: Steve James <ste@junkomatic.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Makefile b/Makefile index 2bd2cad..530f2c3 100644 --- a/Makefile +++ b/Makefile @@ -225,3 +225,19 @@ else .c.o: $(CC) $(CFLAGS) -c $< -o $@ endif + +INSTALL_ROOT = / +INSTALL_PREFIX= usr/local + +install: $(SHARED) $(LIBRARY) + install -d -m 0755 $(INSTALL_ROOT)$(INSTALL_PREFIX)/include/leveldb + install -D -m 0644 include/leveldb/*.h $(INSTALL_ROOT)$(INSTALL_PREFIX)/include/leveldb + install -d -m 0755 $(INSTALL_ROOT)$(INSTALL_PREFIX)/lib + ifneq (,$(LIBRARY)) + install -m 0644 $(LIBRARY) $(INSTALL_ROOT)$(INSTALL_PREFIX)/lib + endif + ifneq (,$(SHARED)) + install -m 0755 $(SHARED3) $(INSTALL_ROOT)$(INSTALL_PREFIX)/lib + ln -sf $(SHARED3) $(INSTALL_ROOT)$(INSTALL_PREFIX)/lib/$(SHARED1) + ln -sf $(SHARED3) $(INSTALL_ROOT)$(INSTALL_PREFIX)/lib/$(SHARED2) + endif -- 2.1.0
shibajee/buildroot
package/leveldb/0002-Add-install-recipe.patch
patch
mit
1,253
config BR2_PACKAGE_LEVELDB bool "leveldb" # Missing/broken atomic pointer support depends on !BR2_bfin depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_SNAPPY help LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. https://github.com/google/leveldb comment "leveldb needs a toolchain w/ C++, threads" depends on !BR2_bfin depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/leveldb/Config.in
in
mit
525
# Locally calculated sha256 4aa1a7479bc567b95a59ac6fb79eba49f61884d6fd400f20b7af147d54c5cee5 leveldb-v1.18.tar.gz
shibajee/buildroot
package/leveldb/leveldb.hash
hash
mit
115
################################################################################ # # leveldb # ################################################################################ LEVELDB_VERSION = v1.18 LEVELDB_SITE = $(call github,google,leveldb,$(LEVELDB_VERSION)) LEVELDB_LICENSE = BSD-3c LEVELDB_LICENSE_FILES = LICENSE LEVELDB_INSTALL_STAGING = YES LEVELDB_DEPENDENCIES = snappy # We will pass optimisation level via CFLAGS so remove leveldb default LEVELDB_MAKE_ARGS += OPTIM= # Disable the static library for shared only build ifeq ($(BR2_SHARED_LIBS),y) LEVELDB_MAKE_ARGS += LIBRARY= endif # Disable the shared library for static only build ifeq ($(BR2_STATIC_LIBS),y) LEVELDB_MAKE_ARGS += SHARED= endif define LEVELDB_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ $(LEVELDB_MAKE_ARGS) -C $(@D) endef define LEVELDB_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(MAKE) \ INSTALL_ROOT=$(STAGING_DIR) INSTALL_PREFIX=/usr \ $(LEVELDB_MAKE_ARGS) -C $(@D) install endef define LEVELDB_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) \ INSTALL_ROOT=$(TARGET_DIR) INSTALL_PREFIX=/usr \ $(LEVELDB_MAKE_ARGS) -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/leveldb/leveldb.mk
mk
mit
1,189
config BR2_PACKAGE_LFT bool "lft" select BR2_PACKAGE_LIBPCAP help LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that often works much faster (than the commonly-used Van Jacobson method) and goes through many configurations of packet-filters (firewalls). http://pwhois.org/lft/
shibajee/buildroot
package/lft/Config.in
in
mit
314
# Locally calculated, matches download from fossies.org and pwhois.org sha256 fa163f8eaa9c27e12ecf533e79d8606895a301d2a75b9a77f0df29ef9a20c561 lft-3.76.tar.gz
shibajee/buildroot
package/lft/lft.hash
hash
mit
159
################################################################################ # # lft # ################################################################################ LFT_VERSION = 3.76 LFT_SITE = http://pwhois.org/get LFT_DEPENDENCIES = libpcap LFT_LICENSE = VOSTROM Public License for Open Source LFT_LICENSE_FILES = COPYING LFT_CONF_OPTS = --with-pcap=$(STAGING_DIR)/usr LFT_MAKE_ENV = STRIP=true ifeq ($(BR2_STATIC_LIBS),y) LFT_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" endif $(eval $(autotools-package))
shibajee/buildroot
package/lft/lft.mk
mk
mit
559
fix static link with readline When readline is static library, we need to link against ncurses because readline needs ncurses. It is because, dependent library's symbols are not resolved when static library is built. Those symbols are resolved program tries to link with static library. We can't pass linker flags for ncurses by setting LIBS environment variable via <PKG>_CONF_ENV because it looks like build system is not taking that into account and even though it would have been, order of linking is important. We can't also pass linker flags for ncurses via --with-readline-libs conf options because it causes lftp_LIB_READLINE macro to take readline headers from host machine if available. To use --with-readline-libs we need to set --with-readline=yes and --with-readline-inc to include dir. But when --with-readline=yes, readline_prefix is computed based on if headers can be found in /usr/local or /usr. If readline is installed on host machine, then configure fails since we are using headers for host machine. If headers are not found in /usr/local or /usr then only path specified --with-readline-inc is taken into account. So specifying linker flags for ncurses via --with-readline-libs will not work in all cases. So it looks like, updating linker flags directly is only option to fix static link issue against readline. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> --- lftp-4.7.3/m4/lftp_lib_readline.m4.old 2016-08-08 19:49:12.217596470 +0530 +++ lftp-4.7.3/m4/lftp_lib_readline.m4 2016-08-08 19:49:46.265596398 +0530 @@ -108,7 +108,7 @@ AC_DEFUN([lftp_LIB_READLINE], readline_include_dir="$readline_include_dir/readline" fi readline_ld_flags="-L$readline_prefix/lib" - readline_lib_flags="-lreadline" + readline_lib_flags="-lreadline -lncurses" run_readline_test="yes" elif test "$readline_requested" = "yes"; then if test -n "$readline_include_dir" -a -n "$readline_lib_flags"; then
shibajee/buildroot
package/lftp/0001-fix-static-link-with-readline.patch
patch
mit
1,975
config BR2_PACKAGE_LFTP bool "lftp" depends on BR2_USE_WCHAR depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_MMU # fork() select BR2_PACKAGE_READLINE select BR2_PACKAGE_ZLIB select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS help LFTP is a sophisticated ftp/http client, and a file transfer program supporting a number of network protocols. Like BASH, it has job control and uses the readline library for input. It has bookmarks, a built-in mirror command, and can transfer several files in parallel. It was designed with reliability in mind. http://lftp.yar.ru/ if BR2_PACKAGE_LFTP comment "Commands" config BR2_PACKAGE_LFTP_CMD_MIRROR bool "Mirror command" default y help Enable mirror command config BR2_PACKAGE_LFTP_CMD_SLEEP bool "Sleep command" default y help Enable sleep command config BR2_PACKAGE_LFTP_CMD_TORRENT bool "Torrent command" help Enable torrent command comment "Protocols" config BR2_PACKAGE_LFTP_PROTO_FISH bool "FISH protocol" help Enable FISH protocol config BR2_PACKAGE_LFTP_PROTO_FTP bool "FTP protocol" default y help Enable FTP protocol config BR2_PACKAGE_LFTP_PROTO_HTTP bool "HTTP protocol" help Enable HTTP protocol config BR2_PACKAGE_LFTP_PROTO_SFTP bool "SFTP protocol" help Enable SFTP protocol endif # BR2_PACKAGE_LFTP comment "lftp requires a toolchain w/ C++, wchar" depends on BR2_USE_MMU depends on !(BR2_USE_WCHAR && BR2_INSTALL_LIBSTDCPP)
shibajee/buildroot
package/lftp/Config.in
in
mit
1,463
# Locally calculated sha256 3b22259cdc4c1a6ae349057d16bda4b4816929e04d223242ab8927bc31a48e7c lftp-4.7.3.tar.xz
shibajee/buildroot
package/lftp/lftp.hash
hash
mit
112
################################################################################ # # lftp # ################################################################################ LFTP_VERSION = 4.7.3 LFTP_SOURCE = lftp-$(LFTP_VERSION).tar.xz LFTP_SITE = http://lftp.yar.ru/ftp LFTP_LICENSE = GPLv3+ LFTP_LICENSE_FILES = COPYING # Needed so that our libtool patch applies properly, and for patch # 0001-fix-static-link-with-readline.patch. LFTP_AUTORECONF = YES LFTP_DEPENDENCIES = readline zlib host-pkgconf # Help lftp finding readline and zlib LFTP_CONF_OPTS = \ --with-readline=$(STAGING_DIR)/usr \ --with-zlib=$(STAGING_DIR)/usr ifneq ($(BR2_STATIC_LIBS),y) LFTP_CONF_OPTS += --with-modules endif ifeq ($(BR2_PACKAGE_EXPAT)$(BR2_PACKAGE_LFTP_PROTO_HTTP),yy) LFTP_DEPENDENCIES += expat endif ifeq ($(BR2_PACKAGE_GNUTLS),y) LFTP_DEPENDENCIES += gnutls LFTP_CONF_OPTS += --with-gnutls else LFTP_CONF_OPTS += --without-gnutls endif ifeq ($(BR2_PACKAGE_OPENSSL),y) LFTP_DEPENDENCIES += openssl LFTP_CONF_OPTS += --with-openssl else LFTP_CONF_OPTS += --without-openssl endif # Remove /usr/share/lftp define LFTP_REMOVE_DATA $(RM) -fr $(TARGET_DIR)/usr/share/lftp endef LFTP_POST_INSTALL_TARGET_HOOKS += LFTP_REMOVE_DATA # Optional commands and protocols LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_CMD_MIRROR) += cmd-mirror.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_CMD_SLEEP) += cmd-sleep.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_CMD_TORRENT) += cmd-torrent.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_PROTO_FISH) += proto-fish.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_PROTO_FTP) += proto-ftp.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_PROTO_HTTP) += proto-http.so LFTP_MODULES_TO_REMOVE-$(BR2_PACKAGE_LFTP_PROTO_SFTP) += proto-sftp.so define LFTP_REMOVE_MODULES for f in $(LFTP_MODULES_TO_REMOVE-) ; do \ $(RM) -f $(TARGET_DIR)/usr/lib/lftp/$(LFTP_VERSION)/$$f ; \ done endef LFTP_POST_INSTALL_TARGET_HOOKS += LFTP_REMOVE_MODULES $(eval $(autotools-package))
shibajee/buildroot
package/lftp/lftp.mk
mk
mit
1,984
config BR2_PACKAGE_LIBAACS bool "libaacs" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGCRYPT help libaacs is a research project to implement the Advanced Access Content System specification. NB: this project doesn't offer any key or certificate that could be used to decode encrypted copyrighted material. http://www.videolan.org/developers/libaacs.html comment "libaacs needs a toolchain w/ dynamic library" depends on BR2_STATIC_LIBS
shibajee/buildroot
package/libaacs/Config.in
in
mit
527
# From http://download.videolan.org/pub/videolan/libaacs/0.8.1/libaacs-0.8.1.tar.bz2.sha512 sha512 dd677627f073460b719b9f836b026acc3e23b166c7b16bd205cf2ca97c376095980532fb15087c0d77b30c712cd5a5dd90b2cc2ae3128da717621ebd825afcc4 libaacs-0.8.1.tar.bz2
shibajee/buildroot
package/libaacs/libaacs.hash
hash
mit
250
################################################################################ # # libaacs # ################################################################################ LIBAACS_VERSION = 0.8.1 LIBAACS_SITE = http://download.videolan.org/pub/videolan/libaacs/$(LIBAACS_VERSION) LIBAACS_SOURCE = libaacs-$(LIBAACS_VERSION).tar.bz2 LIBAACS_LICENSE = LGPLv2.1+ LIBAACS_LICENSE_FILES = COPYING LIBAACS_INSTALL_STAGING = YES LIBAACS_DEPENDENCIES = host-bison host-flex libgcrypt LIBAACS_CONF_OPTS = \ --disable-werror \ --disable-extra-warnings \ --disable-optimizations \ --disable-examples \ --disable-debug \ --with-gnu-ld \ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ --with-gpg-error-prefix=$(STAGING_DIR)/usr $(eval $(autotools-package))
shibajee/buildroot
package/libaacs/libaacs.mk
mk
mit
756
Patch borrowed from OpenEmbedded, available at /meta/recipes-extended/libaio/libaio/00_arches.patch in their source tree. This patch has been modified to only add the MIPS definitions. The patch adds MIPS specific definitions (syscall number and macros). Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Index: libaio-0.3.110/src/syscall.h =================================================================== --- libaio-0.3.110.orig/src/syscall.h +++ libaio-0.3.110/src/syscall.h @@ -28,6 +28,8 @@ #include "syscall-sparc.h" #elif defined(__aarch64__) #include "syscall-arm64.h" +#elif defined(__mips__) +#include "syscall-mips.h" #else #warning "using generic syscall method" #include "syscall-generic.h" Index: libaio-0.3.110/src/syscall-mips.h =================================================================== --- /dev/null +++ libaio-0.3.110/src/syscall-mips.h @@ -0,0 +1,223 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1995, 96, 97, 98, 99, 2000 by Ralf Baechle + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + * + * Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto + * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A + */ + +#ifndef _MIPS_SIM_ABI32 +#define _MIPS_SIM_ABI32 1 +#define _MIPS_SIM_NABI32 2 +#define _MIPS_SIM_ABI64 3 +#endif + +#if _MIPS_SIM == _MIPS_SIM_ABI32 + +/* + * Linux o32 style syscalls are in the range from 4000 to 4999. + */ +#define __NR_Linux 4000 +#define __NR_io_setup (__NR_Linux + 241) +#define __NR_io_destroy (__NR_Linux + 242) +#define __NR_io_getevents (__NR_Linux + 243) +#define __NR_io_submit (__NR_Linux + 244) +#define __NR_io_cancel (__NR_Linux + 245) + +#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ + +#if _MIPS_SIM == _MIPS_SIM_ABI64 + +/* + * Linux 64-bit syscalls are in the range from 5000 to 5999. + */ +#define __NR_Linux 5000 +#define __NR_io_setup (__NR_Linux + 200) +#define __NR_io_destroy (__NR_Linux + 201) +#define __NR_io_getevents (__NR_Linux + 202) +#define __NR_io_submit (__NR_Linux + 203) +#define __NR_io_cancel (__NR_Linux + 204) +#endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ + +#if _MIPS_SIM == _MIPS_SIM_NABI32 + +/* + * Linux N32 syscalls are in the range from 6000 to 6999. + */ +#define __NR_Linux 6000 +#define __NR_io_setup (__NR_Linux + 200) +#define __NR_io_destroy (__NR_Linux + 201) +#define __NR_io_getevents (__NR_Linux + 202) +#define __NR_io_submit (__NR_Linux + 203) +#define __NR_io_cancel (__NR_Linux + 204) +#endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ + +#define io_syscall1(type,fname,sname,atype,a) \ +type fname(atype a) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a3 asm("$7"); \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "li\t$2, %3\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "=r" (__a3) \ + : "r" (__a0), "i" (__NR_##sname) \ + : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#define io_syscall2(type,fname,sname,atype,a,btype,b) \ +type fname(atype a, btype b) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a1 asm("$5") = (unsigned long) b; \ + register unsigned long __a3 asm("$7"); \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "li\t$2, %4\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "=r" (__a3) \ + : "r" (__a0), "r" (__a1), "i" (__NR_##sname) \ + : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#define io_syscall3(type,fname,sname,atype,a,btype,b,ctype,c) \ +type fname(atype a, btype b, ctype c) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a1 asm("$5") = (unsigned long) b; \ + register unsigned long __a2 asm("$6") = (unsigned long) c; \ + register unsigned long __a3 asm("$7"); \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "li\t$2, %5\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "=r" (__a3) \ + : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##sname) \ + : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#define io_syscall4(type,fname,sname,atype,a,btype,b,ctype,c,dtype,d) \ +type fname(atype a, btype b, ctype c, dtype d) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a1 asm("$5") = (unsigned long) b; \ + register unsigned long __a2 asm("$6") = (unsigned long) c; \ + register unsigned long __a3 asm("$7") = (unsigned long) d; \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "li\t$2, %5\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "+r" (__a3) \ + : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##sname) \ + : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#if (_MIPS_SIM == _MIPS_SIM_ABI32) + +/* + * Using those means your brain needs more than an oil change ;-) + */ + +#define io_syscall5(type,fname,sname,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ +type fname(atype a, btype b, ctype c, dtype d, etype e) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a1 asm("$5") = (unsigned long) b; \ + register unsigned long __a2 asm("$6") = (unsigned long) c; \ + register unsigned long __a3 asm("$7") = (unsigned long) d; \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "lw\t$2, %6\n\t" \ + "subu\t$29, 32\n\t" \ + "sw\t$2, 16($29)\n\t" \ + "li\t$2, %5\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + "addiu\t$29, 32\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "+r" (__a3) \ + : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##sname), \ + "m" ((unsigned long)e) \ + : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#endif /* (_MIPS_SIM == _MIPS_SIM_ABI32) */ + +#if (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) + +#define io_syscall5(type,fname,sname,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ +type fname (atype a,btype b,ctype c,dtype d,etype e) \ +{ \ + register unsigned long __a0 asm("$4") = (unsigned long) a; \ + register unsigned long __a1 asm("$5") = (unsigned long) b; \ + register unsigned long __a2 asm("$6") = (unsigned long) c; \ + register unsigned long __a3 asm("$7") = (unsigned long) d; \ + register unsigned long __a4 asm("$8") = (unsigned long) e; \ + unsigned long __v0; \ + \ + __asm__ volatile ( \ + ".set\tnoreorder\n\t" \ + "li\t$2, %6\t\t\t# " #fname "\n\t" \ + "syscall\n\t" \ + "move\t%0, $2\n\t" \ + ".set\treorder" \ + : "=&r" (__v0), "+r" (__a3) \ + : "r" (__a0), "r" (__a1), "r" (__a2), "r" (__a4), "i" (__NR_##sname) \ + : "$2", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ + "memory"); \ + \ + if (__a3 == 0) \ + return (type) __v0; \ + return (type) -1; \ +} + +#endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */ +
shibajee/buildroot
package/libaio/0001-arches.patch
patch
mit
7,755
From 14dee5707716629b1bc8d06b93cdfe9ea1a3b813 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Mon, 29 Aug 2016 22:14:26 +0200 Subject: [PATCH] src/Makefile: add ENABLE_SHARED boolean to allow static-only build Currently, the libaio builds sytem builds a shared library unconditionally. In some environments, this is not possible or desirable. This commit adds a new Makefile variable, ENABLE_SHARED, which defaults to "1" (i.e shared library enabled) and that allows to override this behavior, and therefore to disable the build and installation of the shared library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- src/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index eadb336..cfab240 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,12 +8,17 @@ SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) LINK_FLAGS= LINK_FLAGS+=$(LDFLAGS) +ENABLE_SHARED ?= 1 soname=libaio.so.1 minor=0 micro=1 libname=$(soname).$(minor).$(micro) -all_targets += libaio.a $(libname) +all_targets += libaio.a + +ifeq ($(ENABLE_SHARED),1) +all_targets += $(libname) +endif all: $(all_targets) @@ -55,9 +60,11 @@ $(libname): $(libaio_sobjs) libaio.map install: $(all_targets) install -D -m 644 libaio.h $(includedir)/libaio.h install -D -m 644 libaio.a $(libdir)/libaio.a +ifeq ($(ENABLE_SHARED),1) install -D -m 755 $(libname) $(libdir)/$(libname) ln -sf $(libname) $(libdir)/$(soname) ln -sf $(libname) $(libdir)/libaio.so +endif $(libaio_objs): libaio.h -- 2.7.4
shibajee/buildroot
package/libaio/0002-src-Makefile-add-ENABLE_SHARED-boolean-to-allow-stat.patch
patch
mit
1,615
Patch borrowed from OpenEmbedded, available at recipes/libaio/libaio-0.3.106/destdir.patch in their source tree. It just adds support for the traditional DESTDIR variable to install the library in a different sysroot than the normal /. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: libaio-0.3.109/Makefile =================================================================== --- libaio-0.3.109.orig/Makefile +++ libaio-0.3.109/Makefile @@ -23,7 +23,7 @@ @$(MAKE) -C src install: - @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir) + @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) check: @$(MAKE) -C harness check
shibajee/buildroot
package/libaio/0003-destdir.patch
patch
mit
826
config BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS bool default y if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || \ BR2_m68k || BR2_mips || BR2_mipsel || BR2_powerpc || \ BR2_sparc || BR2_x86_64 config BR2_PACKAGE_LIBAIO bool "libaio" depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS help Library for doing asynchronous I/O
shibajee/buildroot
package/libaio/Config.in
in
mit
327
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/liba/libaio/libaio_0.3.110-1.dsc sha256 e019028e631725729376250e32b473012f7cb68e1f7275bfc1bbcdd0f8745f7e libaio_0.3.110.orig.tar.gz
shibajee/buildroot
package/libaio/libaio.hash
hash
mit
208
################################################################################ # # libaio # ################################################################################ LIBAIO_VERSION = 0.3.110 LIBAIO_SOURCE = libaio_$(LIBAIO_VERSION).orig.tar.gz LIBAIO_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/liba/libaio LIBAIO_INSTALL_STAGING = YES LIBAIO_LICENSE = LGPLv2.1+ LIBAIO_LICENSE_FILES = COPYING LIBAIO_CONFIGURE_OPTS = $(TARGET_CONFIGURE_OPTS) ifeq ($(BR2_STATIC_LIBS),y) LIBAIO_CONFIGURE_OPTS += ENABLE_SHARED=0 endif # On PowerPC, a weird toolchain issue causes -Os builds to produce # references to hidden symbols, so we're forcing -O2 ifeq ($(BR2_powerpc),y) LIBAIO_CONFIGURE_OPTS += CFLAGS="$(subst -Os,-O2,$(TARGET_CFLAGS))" endif define LIBAIO_BUILD_CMDS $(LIBAIO_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) endef define LIBAIO_INSTALL_STAGING_CMDS $(LIBAIO_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define LIBAIO_INSTALL_TARGET_CMDS $(LIBAIO_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))
shibajee/buildroot
package/libaio/libaio.mk
mk
mit
1,171
From ff6d4326f839321c079d60ae9301c6202942f675 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sat, 27 Aug 2016 14:31:04 +0200 Subject: [PATCH] Include <stdint.h> where needed The {u,}int{8,16,32}_t types are defined in <stdint.h>, so it should be included when such types are used. Not including <stdint.h> might work by accident with some C libraries due to it being included by other headers, but it for example causes build failures with the musl C library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Upstream-status: https://github.com/mdrjr/c2_aml_libs/pull/1 --- amadec/audio-dec.h | 1 + amavutils/include/Amvideoutils.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/amadec/audio-dec.h b/amadec/audio-dec.h index 4325fe4..ac0f36b 100644 --- a/amadec/audio-dec.h +++ b/amadec/audio-dec.h @@ -12,6 +12,7 @@ #define AUDIO_DEC_H #include<pthread.h> +#include <stdint.h> #include <audio-out.h> #include <audiodsp.h> diff --git a/amavutils/include/Amvideoutils.h b/amavutils/include/Amvideoutils.h index 6f978e4..94f10a6 100644 --- a/amavutils/include/Amvideoutils.h +++ b/amavutils/include/Amvideoutils.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include <stdint.h> + #define HDMI_HDCP_PASS (1) #define HDMI_HDCP_FAILED (0) #define HDMI_NOCONNECT (-1) -- 2.7.4
shibajee/buildroot
package/libamcodec/0001-Include-stdint.h-where-needed.patch
patch
mit
1,396
comment "libamcodec needs a toolchain w/ threads, dynamic library" depends on BR2_arm || BR2_aarch64 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS config BR2_PACKAGE_LIBAMCODEC bool "libamcodec" depends on BR2_arm || BR2_aarch64 depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib depends on !BR2_STATIC_LIBS # dlfcn.h select BR2_PACKAGE_ALSA_LIB help Interface library for Amlogic media codecs https://github.com/mdrjr/c2_aml_libs.git
shibajee/buildroot
package/libamcodec/Config.in
in
mit
463
# Locally computed hash sha256 5e4a1157e75f802585445df55182b5ef123f635b7faca95fbda3f7cdef8bad1c libamcodec-6f9b99182f94be14fce785c75aa1e9bce868e229.tar.gz
shibajee/buildroot
package/libamcodec/libamcodec.hash
hash
mit
156
################################################################################ # # libamcodec # ################################################################################ LIBAMCODEC_VERSION = 6f9b99182f94be14fce785c75aa1e9bce868e229 LIBAMCODEC_SITE = $(call github,mdrjr,c2_aml_libs,$(LIBAMCODEC_VERSION)) LIBAMCODEC_DEPENDENCIES = alsa-lib LIBAMCODEC_LICENSE = Unclear LIBAMCODEC_INSTALL_STAGING = YES # This package uses the AML_LIBS_STAGING_DIR variable to construct the # header and library paths used when compiling define LIBAMCODEC_BUILD_CMDS $(foreach d,amavutils amadec amcodec,\ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ -C $(@D)/$(d) AML_LIBS_STAGING_DIR=$(STAGING_DIR) ) endef define LIBAMCODEC_INSTALL_STAGING_CMDS $(INSTALL) -D -m 0755 $(@D)/amavutils/libamavutils.so $(STAGING_DIR)/usr/lib/libamavutils.so $(INSTALL) -D -m 0555 $(@D)/amadec/libamadec.so $(STAGING_DIR)/usr/lib/libamadec.so $(INSTALL) -D -m 0555 $(@D)/amcodec/libamcodec.so $(STAGING_DIR)/usr/lib/libamcodec.so mkdir -p $(STAGING_DIR)/usr/include/amcodec cp -rf $(@D)/amcodec/include/* $(STAGING_DIR)/usr/include/amcodec endef define LIBAMCODEC_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/amavutils/libamavutils.so $(TARGET_DIR)/usr/lib/libamavutils.so $(INSTALL) -D -m 0555 $(@D)/amadec/libamadec.so $(TARGET_DIR)/usr/lib/libamadec.so $(INSTALL) -D -m 0555 $(@D)/amcodec/libamcodec.so $(TARGET_DIR)/usr/lib/libamcodec.so endef $(eval $(generic-package))
shibajee/buildroot
package/libamcodec/libamcodec.mk
mk
mit
1,480
config BR2_PACKAGE_LIBAO bool "libao" help Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms. http://www.xiph.org/ao/
shibajee/buildroot
package/libao/Config.in
in
mit
207
# From http://downloads.xiph.org/releases/ao/SHA256SUMS.txt sha256 03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf libao-1.2.0.tar.gz
shibajee/buildroot
package/libao/libao.hash
hash
mit
151
################################################################################ # # libao # ################################################################################ LIBAO_VERSION = 1.2.0 LIBAO_SITE = http://downloads.xiph.org/releases/ao LIBAO_DEPENDENCIES = host-pkgconf LIBAO_INSTALL_STAGING = YES LIBAO_LICENSE = GPLv2+ LIBAO_LICENSE_FILES = COPYING LIBAO_CONF_OPTS = \ --disable-esd \ --disable-wmm \ --disable-arts \ --disable-nas \ --disable-pulse \ --disable-broken-oss ifeq ($(BR2_PACKAGE_ALSA_LIB),y) LIBAO_DEPENDENCIES += alsa-lib LIBAO_CONF_OPTS += --enable-alsa --enable-alsa-mmap # Remove the OSS plugin if ALSA is enabled, as libao will prefer ALSA anyway define LIBAO_REMOVE_OSS_PLUGIN rm -f $(TARGET_DIR)/usr/lib/ao/plugins-4/liboss.so endef LIBAO_POST_INSTALL_TARGET_HOOKS += LIBAO_REMOVE_OSS_PLUGIN else LIBAO_CONF_OPTS += --disable-alsa endif $(eval $(autotools-package))
shibajee/buildroot
package/libao/libao.mk
mk
mit
911
comment "libarchive needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR config BR2_PACKAGE_LIBARCHIVE bool "libarchive" depends on BR2_USE_WCHAR help Libarchive is a reusable C library for reading and writing a variety of streaming archive formats. http://www.libarchive.org/ if BR2_PACKAGE_LIBARCHIVE config BR2_PACKAGE_LIBARCHIVE_BSDTAR bool "bsdtar" help The 'bsdtar' program is a full-featured 'tar' replacement built on libarchive. config BR2_PACKAGE_LIBARCHIVE_BSDCPIO bool "bsdcpio" help The 'bsdcpio' program is a different interface to essentially the same functionality as 'bsdtar'. config BR2_PACKAGE_LIBARCHIVE_BSDCAT bool "bsdcat" help The 'bsdcat' program is a simple replacement tool for zcat, bzcat, xzcat, and such. endif
shibajee/buildroot
package/libarchive/Config.in
in
mit
785
# Locally computed: sha256 72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2 libarchive-3.2.1.tar.gz
shibajee/buildroot
package/libarchive/libarchive.hash
hash
mit
118
################################################################################ # # libarchive # ################################################################################ LIBARCHIVE_VERSION = 3.2.1 LIBARCHIVE_SITE = http://www.libarchive.org/downloads LIBARCHIVE_INSTALL_STAGING = YES LIBARCHIVE_LICENSE = BSD-2c, BSD-3c LIBARCHIVE_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y) ifeq ($(BR2_STATIC_LIBS),y) LIBARCHIVE_CONF_OPTS += --enable-bsdtar=static else LIBARCHIVE_CONF_OPTS += --enable-bsdtar=shared endif else LIBARCHIVE_CONF_OPTS += --disable-bsdtar endif ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),y) ifeq ($(BR2_STATIC_LIBS),y) LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=static else LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=shared endif else LIBARCHIVE_CONF_OPTS += --disable-bsdcpio endif ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCAT),y) ifeq ($(BR2_STATIC_LIBS),y) LIBARCHIVE_CONF_OPTS += --enable-bsdcat=static else LIBARCHIVE_CONF_OPTS += --enable-bsdcat=shared endif else LIBARCHIVE_CONF_OPTS += --disable-bsdcat endif ifeq ($(BR2_PACKAGE_ACL),y) LIBARCHIVE_DEPENDENCIES += acl else LIBARCHIVE_CONF_OPTS += --disable-acl endif ifeq ($(BR2_PACKAGE_ATTR),y) LIBARCHIVE_DEPENDENCIES += attr else LIBARCHIVE_CONF_OPTS += --disable-xattr endif ifeq ($(BR2_PACKAGE_BZIP2),y) LIBARCHIVE_CONF_OPTS += --with-bz2lib LIBARCHIVE_DEPENDENCIES += bzip2 else LIBARCHIVE_CONF_OPTS += --without-bz2lib endif ifeq ($(BR2_PACKAGE_EXPAT),y) LIBARCHIVE_DEPENDENCIES += expat else LIBARCHIVE_CONF_OPTS += --without-expat endif ifeq ($(BR2_PACKAGE_LIBICONV),y) LIBARCHIVE_DEPENDENCIES += libiconv else LIBARCHIVE_CONF_OPTS += --without-libiconv-prefix endif ifeq ($(BR2_PACKAGE_LIBXML2),y) LIBARCHIVE_DEPENDENCIES += libxml2 LIBARCHIVE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config else LIBARCHIVE_CONF_OPTS += --without-xml2 endif ifeq ($(BR2_PACKAGE_LZO),y) LIBARCHIVE_DEPENDENCIES += lzo else LIBARCHIVE_CONF_OPTS += --without-lzo2 endif ifeq ($(BR2_PACKAGE_NETTLE),y) LIBARCHIVE_DEPENDENCIES += nettle else LIBARCHIVE_CONF_OPTS += --without-nettle endif ifeq ($(BR2_PACKAGE_OPENSSL),y) LIBARCHIVE_DEPENDENCIES += openssl else LIBARCHIVE_CONF_OPTS += --without-openssl endif ifeq ($(BR2_PACKAGE_ZLIB),y) LIBARCHIVE_DEPENDENCIES += zlib else LIBARCHIVE_CONF_OPTS += --without-zlib endif # libarchive requires LZMA with thread support in the toolchain ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy) LIBARCHIVE_DEPENDENCIES += xz LIBARCHIVE_CONF_OPTS += --with-lzma else LIBARCHIVE_CONF_OPTS += --without-lzma endif # The only user of host-libarchive needs zlib support HOST_LIBARCHIVE_DEPENDENCIES = host-zlib HOST_LIBARCHIVE_CONF_OPTS = \ --disable-bsdtar \ --disable-bsdcpio \ --disable-bsdcat \ --disable-acl \ --disable-xattr \ --without-bz2lib \ --without-expat \ --without-libiconv-prefix \ --without-xml2 \ --without-lzo2 \ --without-nettle \ --without-openssl \ --without-lzma $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/libarchive/libarchive.mk
mk
mit
3,009
config BR2_PACKAGE_LIBARGTABLE2 bool "libargtable2" help A greatly simplified and yet quite robust argument parsing set of library calls. http://argtable.sourceforge.net/
shibajee/buildroot
package/libargtable2/Config.in
in
mit
183
# Locally computed: sha256 8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf argtable2-13.tar.gz
shibajee/buildroot
package/libargtable2/libargtable2.hash
hash
mit
114
################################################################################ # # libargtable2 # ################################################################################ LIBARGTABLE2_VERSION = 13 LIBARGTABLE2_SOURCE = argtable2-$(LIBARGTABLE2_VERSION).tar.gz LIBARGTABLE2_SITE = http://downloads.sourceforge.net/project/argtable/argtable/argtable-2.13 LIBARGTABLE2_INSTALL_STAGING = YES LIBARGTABLE2_CONF_OPTS = \ --disable-example \ --disable-kernel-module \ --enable-lib \ --enable-util LIBARGTABLE2_LICENSE = LGPLv2+ LIBARGTABLE2_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/libargtable2/libargtable2.mk
mk
mit
603
diff -Nura libart_lgpl-2.3.21.orig/Makefile.am libart_lgpl-2.3.21/Makefile.am --- libart_lgpl-2.3.21.orig/Makefile.am 2011-02-01 10:07:39.687545397 -0300 +++ libart_lgpl-2.3.21/Makefile.am 2011-02-01 10:08:48.320545396 -0300 @@ -5,11 +5,6 @@ noinst_SCRIPTS = gen_art_config.sh -BUILT_SOURCES = art_config.h - -art_config.h: - ./gen_art_config.sh > art_config.h - EXTRA_DIST = \ libart.def \ libart-config.in \ diff -Nura libart_lgpl-2.3.21.orig/art_config.h libart_lgpl-2.3.21/art_config.h --- libart_lgpl-2.3.21.orig/art_config.h 2011-02-01 10:07:39.688545397 -0300 +++ libart_lgpl-2.3.21/art_config.h 2011-02-01 10:08:27.315545395 -0300 @@ -1,9 +1,15 @@ /* Automatically generated by gen_art_config */ +#include <limits.h> + #define ART_SIZEOF_CHAR 1 #define ART_SIZEOF_SHORT 2 #define ART_SIZEOF_INT 4 +#if LONG_MAX == 2147483647L #define ART_SIZEOF_LONG 4 +#else +#define ART_SIZEOF_LONG 8 +#endif typedef unsigned char art_u8; typedef unsigned short art_u16;
shibajee/buildroot
package/libart/0001-art-config-cross.patch
patch
mit
990
config BR2_PACKAGE_LIBART bool "libart" help Libart is a library for high-performance 2D graphics. It supports a very powerful imaging model, basically the same as SVG and the Java 2D API. It includes all PostScript imaging operations, and adds antialiasing and alpha-transparency. It is also highly tuned for incremental rendering. It contains data structures and algorithms suited to rapid, precise computation of Region of Interest, and a two-phase rendering pipeline optimized for interactive display. http://www.levien.com/libart/
shibajee/buildroot
package/libart/Config.in
in
mit
569
# From http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.sha256sum sha256 2a10b1c884bb37c7bd5c5eba59dbd0d28bf68e64a42d7f2083c836f60f8e98fa libart_lgpl-2.3.21.tar.gz
shibajee/buildroot
package/libart/libart.hash
hash
mit
189
################################################################################ # # libart # ################################################################################ LIBART_VERSION_MAJOR = 2.3 LIBART_VERSION = $(LIBART_VERSION_MAJOR).21 LIBART_SOURCE = libart_lgpl-$(LIBART_VERSION).tar.gz LIBART_SITE = http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/$(LIBART_VERSION_MAJOR) LIBART_AUTORECONF = YES LIBART_INSTALL_STAGING = YES LIBART_CONFIG_SCRIPTS = libart2-config LIBART_LICENSE = LGPLv2+ LIBART_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/libart/libart.mk
mk
mit
567
config BR2_PACKAGE_LIBASPLIB bool "libasplib" depends on BR2_INSTALL_LIBSTDCPP help asplib (Achim's Signal Processing LIBrary), is a small and lightweight C++ library for digital signal processing. https://github.com/AchimTuran/asplib comment "asplib needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/libasplib/Config.in
in
mit
326
# Locally calculated sha256 ccc2718c79a8d684317cc1987ede88b198e1602df47d0f18f03d474eda00af9c libasplib-f7219142e790a329b002a94f3db943abcb183739.tar.gz
shibajee/buildroot
package/libasplib/libasplib.hash
hash
mit
151
################################################################################ # # libasplib # ################################################################################ LIBASPLIB_VERSION = f7219142e790a329b002a94f3db943abcb183739 LIBASPLIB_SITE = $(call github,AchimTuran,asplib,$(LIBASPLIB_VERSION)) LIBASPLIB_LICENSE = GPLv3+ LIBASPLIB_LICENSE_FILES = LICENSE LIBASPLIB_INSTALL_STAGING = YES $(eval $(cmake-package))
shibajee/buildroot
package/libasplib/libasplib.mk
mk
mit
430
config BR2_PACKAGE_LIBASS bool "libass" select BR2_PACKAGE_FREETYPE select BR2_PACKAGE_LIBFRIBIDI help libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format http://code.google.com/p/libass/
shibajee/buildroot
package/libass/Config.in
in
mit
266
# Locally computed sha256 d698d0a6adca7c36c5a86b540d67b05bfd36cebc3c351ab7646497c43fe1face libass-0.13.2.tar.xz
shibajee/buildroot
package/libass/libass.hash
hash
mit
112
################################################################################ # # libass # ################################################################################ LIBASS_VERSION = 0.13.2 LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz # Do not use the github helper here, the generated tarball is *NOT* # the same as the one uploaded by upstream for the release. LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION) LIBASS_INSTALL_STAGING = YES LIBASS_LICENSE = ISC LIBASS_LICENSE_FILES = COPYING LIBASS_DEPENDENCIES = \ host-pkgconf \ freetype \ libfribidi \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) # configure: WARNING: Install yasm for a significantly faster libass build. # only for Intel archs ifeq ($(BR2_i386)$(BR2_x86_64),y) LIBASS_DEPENDENCIES += host-yasm endif ifeq ($(BR2_PACKAGE_FONTCONFIG),y) LIBASS_DEPENDENCIES += fontconfig LIBASS_CONF_OPTS += --enable-fontconfig else LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider endif ifeq ($(BR2_PACKAGE_HARFBUZZ),y) LIBASS_DEPENDENCIES += harfbuzz LIBASS_CONF_OPTS += --enable-harfbuzz else LIBASS_CONF_OPTS += --disable-harfbuzz endif $(eval $(autotools-package))
shibajee/buildroot
package/libass/libass.mk
mk
mit
1,204
config BR2_PACKAGE_LIBASSUAN bool "libassuan" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBGPG_ERROR help Libassuan is a small library implementing the so-called Assuan protocol. This protocol is used for IPC between most newer GnuPG components. Both, server and client side functions are provided. http://www.gnupg.org/related_software/libassuan/
shibajee/buildroot
package/libassuan/Config.in
in
mit
447
# From https://www.gnupg.org/download/integrity_check.html sha1 27391cf4a820b5350ea789c30661830c9a271518 libassuan-2.4.3.tar.bz2
shibajee/buildroot
package/libassuan/libassuan.hash
hash
mit
130
################################################################################ # # libassuan # ################################################################################ LIBASSUAN_VERSION = 2.4.3 LIBASSUAN_SITE = ftp://ftp.gnupg.org/gcrypt/libassuan LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2 LIBASSUAN_LICENSE = LGPLv2.1+ (library), GPLv3 (tests, doc) LIBASSUAN_LICENSE_FILES = COPYING.LIB COPYING LIBASSUAN_INSTALL_STAGING = YES LIBASSUAN_DEPENDENCIES = libgpg-error LIBASSUAN_CONF_OPTS = \ --with-gpg-error-prefix=$(STAGING_DIR)/usr $(eval $(autotools-package))
shibajee/buildroot
package/libassuan/libassuan.mk
mk
mit
591
From 730158700ea7a554c37f24bfbf5f4985f7280f3e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard <jacmet@sunsite.dk> Date: Wed, 6 Feb 2013 14:07:02 +0100 Subject: [PATCH] strpool: don't mix up host/build flags when cross compiling Submitted upstream as https://bugs.freedesktop.org/show_bug.cgi?id=60364 Commit b71035ce89 (build-sys: modernize build system) changed the strpool (which needs to be built for the build machine) compilation to use AM_CFLAGS / AM_LDFLAGS rather than CFLAGS / LDFLAGS. This is wrong, as The AM_ version is used TOGETHER with (the user supplied) CFLAGS/LDFLAGS, causing strpool to use both CFLAGS (for host) and CCFLAGS_FOR_BUILD (for build) flags, breaking cross compilation with errors like: cc1: error: unrecognized command line option "-mabi=spe" Instead overwrite the (user supplied) CFLAGS with the (user supplied) CFLAGS_FOR_BUILD (and similar for LDFLAGS) like we used to do. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> --- strpool/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strpool/Makefile.am b/strpool/Makefile.am index b041cea..5b335a5 100644 --- a/strpool/Makefile.am +++ b/strpool/Makefile.am @@ -17,8 +17,8 @@ # <http://www.gnu.org/licenses/>. CC = @CC_FOR_BUILD@ -AM_CFLAGS = @BUILD_CFLAGS@ -AM_LDFLAGS = @BUILD_LDFLAGS@ +CFLAGS = @BUILD_CFLAGS@ +LDFLAGS = @BUILD_LDFLAGS@ noinst_PROGRAMS = \ strpool -- 1.7.10.4
shibajee/buildroot
package/libatasmart/0001-strpool-cross-flags.patch
patch
mit
1,421
config BR2_PACKAGE_LIBATASMART bool "libatasmart" depends on BR2_PACKAGE_HAS_UDEV # libudev is configure dependency help The libatasmart package is a disk reporting library. It only supports a subset of the ATA S.M.A.R.T. functionality. http://0pointer.de/blog/projects/being-smart.html comment "libatasmart requires udev to be enabled" depends on !BR2_PACKAGE_HAS_UDEV
shibajee/buildroot
package/libatasmart/Config.in
in
mit
385
# Locally calculated sha256 61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d libatasmart-0.19.tar.xz
shibajee/buildroot
package/libatasmart/libatasmart.hash
hash
mit
117
################################################################################ # # libatasmart # ################################################################################ LIBATASMART_VERSION = 0.19 LIBATASMART_SOURCE = libatasmart-$(LIBATASMART_VERSION).tar.xz LIBATASMART_SITE = http://0pointer.de/public LIBATASMART_LICENSE = LGPLv2.1 LIBATASMART_LICENSE_FILES = LGPL LIBATASMART_INSTALL_STAGING = YES # package doesn't include configure script LIBATASMART_AUTORECONF = YES LIBATASMART_DEPENDENCIES = udev $(eval $(autotools-package))
shibajee/buildroot
package/libatasmart/libatasmart.mk
mk
mit
550
config BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS bool default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_sparc64 || BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64 config BR2_PACKAGE_LIBATOMIC_OPS bool "libatomic_ops" depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS help Atomic operations library https://github.com/ivmai/libatomic_ops
shibajee/buildroot
package/libatomic_ops/Config.in
in
mit
394
# Locally calculated sha256 2616be0a2f70f7e3eb12f131a36e32723ed5a1928f17b886c3e7c62f7ed14339 libatomic_ops-libatomic_ops-7_4_2.tar.gz
shibajee/buildroot
package/libatomic_ops/libatomic_ops.hash
hash
mit
135
################################################################################ # # libatomic_ops # ################################################################################ LIBATOMIC_OPS_VERSION = libatomic_ops-7_4_2 LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,$(LIBATOMIC_OPS_VERSION)) LIBATOMIC_OPS_AUTORECONF = YES # From doc/LICENSING.txt: "Our intent is to make it easy to use # libatomic_ops, in both free and proprietary software. Hence most # code that we expect to be linked into a client application is # covered by an MIT-style license. A few library routines are covered # by the GNU General Public License. These are put into a separate # library, libatomic_ops_gpl.a." LIBATOMIC_OPS_LICENSE = MIT (main library) / GPLv2+ (gpl extension) LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING LIBATOMIC_OPS_INSTALL_STAGING = YES ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/libatomic_ops/libatomic_ops.mk
mk
mit
1,049
config BR2_PACKAGE_LIBBDPLUS bool "libbdplus" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS select BR2_PACKAGE_LIBGCRYPT help libbdplus is a research project to implement the BD+ System Specifications. This research project provides, through an open-source library, a way to understand how the BD+ works. NB: this project doesn't offer any key, configuration file or certificate that could be used to decode encrypted copyrighted material. http://www.videolan.org/developers/libbdplus.html comment "libbdplus needs a toolchain w/ threads, dynamic library" depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/libbdplus/Config.in
in
mit
778
# From http://download.videolan.org/pub/videolan/libbdplus/0.1.2/libbdplus-0.1.2.tar.bz2.sha512 sha512 e00e7bc9f52b9275646593b753ba646b052255be94a7241965f4dbe4734f8f6a072973ed4b9997957f939236b0633897c295749f79e232188430795be5b5087b libbdplus-0.1.2.tar.bz2
shibajee/buildroot
package/libbdplus/libbdplus.hash
hash
mit
256
################################################################################ # # libbdplus # ################################################################################ LIBBDPLUS_VERSION = 0.1.2 LIBBDPLUS_SITE = http://download.videolan.org/pub/videolan/libbdplus/$(LIBBDPLUS_VERSION) LIBBDPLUS_SOURCE = libbdplus-$(LIBBDPLUS_VERSION).tar.bz2 LIBBDPLUS_LICENSE = LGPLv2.1+ LIBBDPLUS_LICENSE_FILES = COPYING LIBBDPLUS_INSTALL_STAGING = YES LIBBDPLUS_DEPENDENCIES = libgcrypt LIBBDPLUS_CONF_OPTS = \ --disable-werror \ --disable-extra-warnings \ --disable-optimizations \ --disable-examples \ --disable-debug \ --with-gnu-ld \ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ --with-gpg-error-prefix=$(STAGING_DIR)/usr ifeq ($(BR2_PACKAGE_LIBAACS),y) LIBBDPLUS_DEPENDENCIES += libaacs LIBBDPLUS_CONF_OPTS += --with-libaacs else LIBBDPLUS_CONF_OPTS += --without-libaacs endif $(eval $(autotools-package))
shibajee/buildroot
package/libbdplus/libbdplus.mk
mk
mit
918
config BR2_PACKAGE_LIBBLURAY bool "libbluray" depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help libbluray is a client library for accessing bluray disks. http://www.videolan.org/developers/libbluray.html comment "libbluray needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/libbluray/Config.in
in
mit
360
# From http://get.videolan.org/libbluray/0.9.3/libbluray-0.9.3.tar.bz2.sha512 sha512 1e308b85c51d43b23b186fdd2631f963d4c25de8aff29f335e131b32a175434ee21460a7aa470c508ad13662cf9052649bb4eb974dbd709eb9e6797fb84e0823 libbluray-0.9.3.tar.bz2
shibajee/buildroot
package/libbluray/libbluray.hash
hash
mit
238
################################################################################ # # libbluray # ################################################################################ LIBBLURAY_VERSION = 0.9.3 LIBBLURAY_SITE = http://get.videolan.org/libbluray/$(LIBBLURAY_VERSION) LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2 LIBBLURAY_INSTALL_STAGING = YES LIBBLURAY_LICENSE = LGPLv2.1+ LIBBLURAY_LICENSE_FILES = COPYING LIBBLURAY_DEPENDENCIES = host-pkgconf LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava ifeq ($(BR2_PACKAGE_LIBICONV),y) LIBBLURAY_DEPENDENCIES += libiconv endif ifeq ($(BR2_PACKAGE_FREETYPE),y) LIBBLURAY_DEPENDENCIES += freetype LIBBLURAY_CONF_OPTS += --with-freetype else LIBBLURAY_CONF_OPTS += --without-freetype endif ifeq ($(BR2_PACKAGE_FONTCONFIG),y) LIBBLURAY_DEPENDENCIES += fontconfig LIBBLURAY_CONF_OPTS += --with-fontconfig else LIBBLURAY_CONF_OPTS += --without-fontconfig endif ifeq ($(BR2_PACKAGE_LIBXML2),y) LIBBLURAY_DEPENDENCIES += libxml2 LIBBLURAY_CONF_OPTS += --with-libxml2 else LIBBLURAY_CONF_OPTS += --without-libxml2 endif $(eval $(autotools-package))
shibajee/buildroot
package/libbluray/libbluray.mk
mk
mit
1,114
config BR2_PACKAGE_LIBBROADVOICE bool "libbroadvoice" # broken with gcc <= 4.8 on arc # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049 depends on !BR2_arc || BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 help broadvoice - a library for the BroadVoice 16 and 32 speech codecs https://www.broadcom.com/support/broadvoice
shibajee/buildroot
package/libbroadvoice/Config.in
in
mit
323
################################################################################ # # libbroadvoice # ################################################################################ LIBBROADVOICE_VERSION = f65b0f50c8c767229fbf1758370880abc0d78564 # we use the FreeSwitch fork because (quoting README): # "This library is based on the Broadcom reference code, but has been # heavily modified so that it builds into a proper library, with a clean # usable interface, on a range of platforms." LIBBROADVOICE_SITE = https://freeswitch.org/stash/scm/sd/libbroadvoice.git LIBBROADVOICE_SITE_METHOD = git LIBBROADVOICE_LICENSE = LGPLv2.1 LIBBROADVOICE_LICENSE_FILES = COPYING LIBBROADVOICE_AUTORECONF = YES LIBBROADVOICE_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/libbroadvoice/libbroadvoice.mk
mk
mit
767
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS bool # libbsd does not support the MicroBlaze ELF machine type (see local-elf.h) default y if !BR2_microblaze config BR2_PACKAGE_LIBBSD bool "libbsd" depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_USES_GLIBC help This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project. http://libbsd.freedesktop.org/ comment "libbsd needs a glibc toolchain w/ threads" depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_USES_GLIBC
shibajee/buildroot
package/libbsd/Config.in
in
mit
787
# Locally calculated after checking pgp signature sha256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 libbsd-0.8.3.tar.xz
shibajee/buildroot
package/libbsd/libbsd.hash
hash
mit
142
################################################################################ # # libbsd # ################################################################################ LIBBSD_VERSION = 0.8.3 LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz LIBBSD_SITE = http://libbsd.freedesktop.org/releases LIBBSD_LICENSE = BSD-3c, MIT LIBBSD_LICENSE_FILES = COPYING LIBBSD_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/libbsd/libbsd.mk
mk
mit
419
Add missing include <sys/types.h> This include is needed to get the pid_t definition, at least with the musl C library. Patch inspired from Alpine Linux patch http://git.alpinelinux.org/cgit/aports/tree/main/libcap-ng/fix-includes.patch. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/utils/proc-llist.h =================================================================== --- a/utils/proc-llist.h +++ b/utils/proc-llist.h @@ -26,6 +26,7 @@ #include "config.h" +#include <sys/types.h> /* This is the node of the linked list. Any data elements that are per * record goes here. */
shibajee/buildroot
package/libcap-ng/0001-add-missing-include.patch
patch
mit
625
config BR2_PACKAGE_LIBCAP_NG bool "libcap-ng" help The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library. It includes utilities that can analyse all currently running applications and print out any capabilities and whether or not it has an open ended bounding set. http://people.redhat.com/sgrubb/libcap-ng/
shibajee/buildroot
package/libcap-ng/Config.in
in
mit
401
# Locally calculated sha256 615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b libcap-ng-0.7.7.tar.gz
shibajee/buildroot
package/libcap-ng/libcap-ng.hash
hash
mit
117
################################################################################ # # libcap-ng # ################################################################################ LIBCAP_NG_VERSION = 0.7.7 LIBCAP_NG_SITE = http://people.redhat.com/sgrubb/libcap-ng LIBCAP_NG_LICENSE = GPLv2+ LGPLv2.1+ LIBCAP_NG_LICENSE_FILES = COPYING COPYING.LIB LIBCAP_NG_INSTALL_STAGING = YES LIBCAP_NG_CONF_ENV = ac_cv_prog_swig_found=no LIBCAP_NG_CONF_OPTS = --without-python $(eval $(autotools-package))
shibajee/buildroot
package/libcap-ng/libcap-ng.mk
mk
mit
495
From d8d70559a279706c206761dfaf665d2197934123 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Sun, 6 Mar 2016 22:52:02 +0100 Subject: [PATCH] build-system: fixes for cross-compilation Avoid the libcap buildsys forcing CC/CFLAGS/LDFLAGS/AR/RANLIB Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> [yann.morin.1998@free.fr: dont chmod +x the shared lib] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff --git a/Make.Rules b/Make.Rules index 8347b26..8a07a3f 100644 --- a/Make.Rules +++ b/Make.Rules @@ -48,26 +48,26 @@ MINOR=25 KERNEL_HEADERS := $(topdir)/libcap/include/uapi IPATH += -fPIC -I$(KERNEL_HEADERS) -I$(topdir)/libcap/include -CC := gcc -CFLAGS := -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -BUILD_CC := $(CC) -BUILD_CFLAGS := $(CFLAGS) $(IPATH) -AR := ar -RANLIB := ranlib +CC ?= gcc +CFLAGS ?= -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +BUILD_CC ?= $(CC) +BUILD_CFLAGS ?= $(CFLAGS) $(IPATH) +AR ?= ar +RANLIB ?= ranlib DEBUG = -g #-DDEBUG WARNINGS=-Wall -Wwrite-strings \ -Wpointer-arith -Wcast-qual -Wcast-align \ -Wstrict-prototypes -Wmissing-prototypes \ -Wnested-externs -Winline -Wshadow LD=$(CC) -Wl,-x -shared -LDFLAGS := #-g +LDFLAGS ?= #-g BUILD_GPERF := $(shell which gperf >/dev/null 2>/dev/null && echo yes) SYSTEM_HEADERS = /usr/include INCS=$(topdir)/libcap/include/sys/capability.h LDFLAGS += -L$(topdir)/libcap CFLAGS += -Dlinux $(WARNINGS) $(DEBUG) -PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi) +PAM_CAP = no INDENT := $(shell if [ -n "$$(which indent 2>/dev/null)" ]; then echo "| indent -kr" ; fi) DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi) -- 1.9.1
shibajee/buildroot
package/libcap/0001-build-system-fixes-for-cross-compilation.patch
patch
mit
1,778
From af21635665ab568f3333ff9fe8b474f4950e5acb Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 6 Mar 2016 22:53:24 +0100 Subject: [PATCH] libcap: split install into install-shared/install-static In order to support static only builds, split the install target into install-shared and install-static targets. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [yann.morin.1998@free.fr: install the .pc file in the common rule] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff --git a/libcap/Makefile b/libcap/Makefile index d189777..44ddb27 100644 --- a/libcap/Makefile +++ b/libcap/Makefile @@ -62,19 +62,25 @@ $(MINLIBNAME): $(OBJS) cap_text.o: cap_text.c $(USE_GPERF_OUTPUT) $(INCLS) $(CC) $(CFLAGS) $(IPATH) $(INCLUDE_GPERF_OUTPUT) -c $< -o $@ -install: all +install: install-shared install-static + +install-common: mkdir -p -m 0755 $(FAKEROOT)$(INCDIR)/sys install -m 0644 include/sys/capability.h $(FAKEROOT)$(INCDIR)/sys + mkdir -p -m 0755 $(FAKEROOT)$(PKGCONFIGDIR) + install -m 0644 libcap.pc $(FAKEROOT)$(PKGCONFIGDIR)/libcap.pc + +install-static: $(STALIBNAME) install-common mkdir -p -m 0755 $(FAKEROOT)$(LIBDIR) install -m 0644 $(STALIBNAME) $(FAKEROOT)$(LIBDIR)/$(STALIBNAME) + +install-shared: $(MINLIBNAME) install-common install -m 0644 $(MINLIBNAME) $(FAKEROOT)$(LIBDIR)/$(MINLIBNAME) ln -sf $(MINLIBNAME) $(FAKEROOT)$(LIBDIR)/$(MAJLIBNAME) ln -sf $(MAJLIBNAME) $(FAKEROOT)$(LIBDIR)/$(LIBNAME) ifeq ($(FAKEROOT),) -/sbin/ldconfig endif - mkdir -p -m 0755 $(FAKEROOT)$(PKGCONFIGDIR) - install -m 0644 libcap.pc $(FAKEROOT)$(PKGCONFIGDIR)/libcap.pc clean: $(LOCALCLEAN) -- 1.9.1
shibajee/buildroot
package/libcap/0002-libcap-split-install-into-install-shared-install-sta.patch
patch
mit
1,708
From ace694e9574eb38e07cfe0db235434eb40003f47 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Mon, 14 Mar 2016 22:39:15 +0100 Subject: [PATCH] libcap/cap_file.c: fix build with old kernel headers Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- libcap/cap_file.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/libcap/cap_file.c b/libcap/cap_file.c index 40756ea..e3d54dd 100644 --- a/libcap/cap_file.c +++ b/libcap/cap_file.c @@ -23,6 +23,33 @@ extern int fsetxattr(int, const char *, const void *, size_t, int); extern int removexattr(const char *, const char *); extern int fremovexattr(int, const char *); + +/* + * Old kernels (before 2.6.36) were defining XATTR_NAME_CAPS in + * <linux/capability.h>, but using XATTR_SECURITY_PREFIX and + * XATTR_CAPS_SUFFIX which were defined in the kernel-only part of + * <linux/xattr.h>. + * + * In kernel 2.6.36 (commit af4f136056c984b0aa67feed7d3170b958370b2f), + * the XATTR_NAME_CAPS definition was moved to the kernel-only part of + * <linux/xattr.h>. It's only in kernel 3.0 (commit + * 1dbe39424a43e56a6c9aed12661192af51dcdb9f) that <linux/xattr.h> was + * fixed to expose XATTR_NAME_CAPS and the related definitions to + * userspace. + * + * In order to cope with kernels < 3.0, we define here the appropriate + * values, which we assume haven't changed over history. + */ +#ifndef XATTR_CAPS_SUFFIX +#define XATTR_CAPS_SUFFIX "capability" +#endif +#ifndef XATTR_SECURITY_PREFIX +#define XATTR_SECURITY_PREFIX "security." +#endif +#ifndef XATTR_NAME_CAPS +#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX +#endif + #include "libcap.h" #ifdef VFS_CAP_U32 -- 2.6.4
shibajee/buildroot
package/libcap/0003-libcap-cap_file.c-fix-build-with-old-kernel-headers.patch
patch
mit
1,744
config BR2_PACKAGE_LIBCAP bool "libcap" help This library implements the user-space interfaces to the POSIX 1003.1e capabilities available in Linux kernels. These capabilities are a partitioning of the all powerful root privilege into a set of distinct privileges. http://sites.google.com/site/fullycapable/ if BR2_PACKAGE_LIBCAP config BR2_PACKAGE_LIBCAP_TOOLS bool "install tools" depends on BR2_USE_MMU help Install setcap, getcap, getpcaps and capsh tools. For these tools to run properly, you should enable, in your kernel configuration, extended file attributes/security labels support for the file system type used on target system (e.g. CONFIG_EXT2_FS_XATTR and CONFIG_EXT2_FS_SECURITY for ext2). endif
shibajee/buildroot
package/libcap/Config.in
in
mit
751
# https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc sha256 693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162 libcap-2.25.tar.xz
shibajee/buildroot
package/libcap/libcap.hash
hash
mit
176
################################################################################ # # libcap # ################################################################################ LIBCAP_VERSION = 2.25 LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz LIBCAP_LICENSE = GPLv2 or BSD-3c LIBCAP_LICENSE_FILES = License LIBCAP_DEPENDENCIES = host-libcap host-gperf LIBCAP_INSTALL_STAGING = YES HOST_LIBCAP_DEPENDENCIES = host-gperf ifeq ($(BR2_STATIC_LIBS),y) LIBCAP_MAKE_TARGET = libcap.a libcap.pc LIBCAP_MAKE_INSTALL_TARGET = install-static else LIBCAP_MAKE_TARGET = all LIBCAP_MAKE_INSTALL_TARGET = install endif LIBCAP_MAKE_FLAGS = \ BUILD_CC="$(HOSTCC)" \ BUILD_CFLAGS="$(HOST_CFLAGS)" ifeq ($(BR2_PACKAGE_LIBCAP_TOOLS),y) define LIBCAP_BUILD_TOOLS_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/progs \ $(LIBCAP_MAKE_FLAGS) endef define LIBCAP_INSTALL_TOOLS_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/progs \ RAISE_SETFCAP=no prefix=/usr \ DESTDIR=$(TARGET_DIR) $(LIBCAP_MAKE_FLAGS) install endef endif define LIBCAP_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/libcap \ $(LIBCAP_MAKE_FLAGS) $(LIBCAP_MAKE_TARGET) $(LIBCAP_BUILD_TOOLS_CMDS) endef define LIBCAP_INSTALL_STAGING_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libcap $(LIBCAP_MAKE_FLAGS) \ DESTDIR=$(STAGING_DIR) prefix=/usr lib=lib $(LIBCAP_MAKE_INSTALL_TARGET) endef define LIBCAP_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libcap $(LIBCAP_MAKE_FLAGS) \ DESTDIR=$(TARGET_DIR) prefix=/usr lib=lib $(LIBCAP_MAKE_INSTALL_TARGET) $(LIBCAP_INSTALL_TOOLS_CMDS) endef define HOST_LIBCAP_BUILD_CMDS $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)\ RAISE_SETFCAP=no endef define HOST_LIBCAP_INSTALL_CMDS $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) \ RAISE_SETFCAP=no prefix=/usr lib=lib install endef $(eval $(generic-package)) $(eval $(host-generic-package))
shibajee/buildroot
package/libcap/libcap.mk
mk
mit
2,029
config BR2_PACKAGE_LIBCDAUDIO bool "libcdaudio" # binutils assertion failure depends on !BR2_nios2 help libcdaudio is a library designed to provide functions to control operation of a CD-ROM when playing audio CDs. It also contains functions for CDDB and CD Index lookup. http://libcdaudio.sourceforge.net/
shibajee/buildroot
package/libcdaudio/Config.in
in
mit
324
# Locally computed: sha256 5fdaf9af5ac4f75c0215d000b82b128fd054a582f81cc4f039a1e7fe69335ebb libcdaudio-0.99.12p2.tar.gz
shibajee/buildroot
package/libcdaudio/libcdaudio.hash
hash
mit
122
################################################################################ # # libcdaudio # ################################################################################ LIBCDAUDIO_VERSION = 0.99.12p2 LIBCDAUDIO_SITE = http://downloads.sourceforge.net/project/libcdaudio/libcdaudio/$(LIBCDAUDIO_VERSION) LIBCDAUDIO_INSTALL_STAGING = YES LIBCDAUDIO_CONFIG_SCRIPTS = libcdaudio-config LIBCDAUDIO_LICENSE = GPLv2+ LIBCDAUDIO_LICENSE_FILES = COPYING $(eval $(autotools-package))
shibajee/buildroot
package/libcdaudio/libcdaudio.mk
mk
mit
486
config BR2_PACKAGE_LIBCDDB bool "libcddb" select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Libcddb is a C library to access data on a CDDB server (freedb.org). It allows you to: * search the database for possible CD matches; * retrieve detailed information about a specific CD; * submit new CD entries to the database. http://libcddb.sourceforge.net/index.html if BR2_PACKAGE_LIBCDDB config BR2_PACKAGE_LIBCDDB_INSTALL_CDDB_QUERY bool "install cddb_query" help cddb_query is an optionnal libcddb test program. endif
shibajee/buildroot
package/libcddb/Config.in
in
mit
558
# Locally computed: sha256 35ce0ee1741ea38def304ddfe84a958901413aa829698357f0bee5bb8f0a223b libcddb-1.3.2.tar.bz2
shibajee/buildroot
package/libcddb/libcddb.hash
hash
mit
114
################################################################################ # # libcddb # ################################################################################ LIBCDDB_VERSION = 1.3.2 LIBCDDB_SOURCE = libcddb-$(LIBCDDB_VERSION).tar.bz2 LIBCDDB_SITE = http://downloads.sourceforge.net/libcddb LIBCDDB_LICENSE = LGPLv2+ LIBCDDB_LICENSE_FILES = COPYING LIBCDDB_INSTALL_STAGING = YES ifeq ($(BR2_ENABLE_LOCALE),) LIBCDDB_DEPENDENCIES += libiconv endif define LIBCDDB_REMOVE_CDDB_QUERY rm -f $(TARGET_DIR)/usr/bin/cddb_query endef ifeq ($(BR2_PACKAGE_LIBCDDB_INSTALL_CDDB_QUERY),) LIBCDDB_POST_INSTALL_TARGET_HOOKS += LIBCDDB_REMOVE_CDDB_QUERY endif $(eval $(autotools-package))
shibajee/buildroot
package/libcddb/libcddb.mk
mk
mit
696
config BR2_PACKAGE_LIBCDIO bool "libcdio" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help The GNU Compact Disc Input and Control library. http://www.gnu.org/software/libcdio/
shibajee/buildroot
package/libcdio/Config.in
in
mit
225
# Locally calculated after checking signature sha256 4972cd22fd8d0e8bff922d35c7a645be0db0ab0e7b3dfaecc9cd8272429d6975 libcdio-0.93.tar.gz
shibajee/buildroot
package/libcdio/libcdio.hash
hash
mit
138
################################################################################ # # libcdio # ################################################################################ LIBCDIO_VERSION = 0.93 LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio LIBCDIO_INSTALL_STAGING = YES LIBCDIO_LICENSE = GPLv3+ LIBCDIO_LICENSE_FILES = COPYING LIBCDIO_CONF_OPTS = --disable-example-progs --disable-cddb ifeq ($(BR2_ENABLE_LOCALE),) LIBCDIO_DEPENDENCIES += libiconv endif ifeq ($(BR2_INSTALL_LIBSTDCPP),) LIBCDIO_CONF_OPTS += --disable-cxx endif ifeq ($(BR2_PACKAGE_NCURSES),y) LIBCDIO_DEPENDENCIES += ncurses else LIBCDIO_CONF_OPTS += --without-cdda-player endif $(eval $(autotools-package))
shibajee/buildroot
package/libcdio/libcdio.mk
mk
mit
680
config BR2_PACKAGE_LIBCEC bool "libcec" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 select BR2_PACKAGE_LIBPLATFORM help libcec allows you in combination with the right hardware to control your home theater devices with your TV remote control utilizing existing HDMI cabling. http://libcec.pulse-eight.com comment "libcec needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.7" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ BR2_STATIC_LIBS
shibajee/buildroot
package/libcec/Config.in
in
mit
688
# Locally computed sha256 0f29d5a2d155b507807ba896bc3b3e50a0ab56bf8f543a2bf5c2798c790292b5 libcec-2c675dac48387c48c7f43c5d2547ef0c4ef5c7dd.tar.gz
shibajee/buildroot
package/libcec/libcec.hash
hash
mit
148
################################################################################ # # libcec # ################################################################################ LIBCEC_VERSION = 2c675dac48387c48c7f43c5d2547ef0c4ef5c7dd LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION)) LIBCEC_LICENSE = GPLv2+ LIBCEC_LICENSE_FILES = COPYING # Autoreconf required due to being a dev tarball and not a release tarball. LIBCEC_AUTORECONF = YES LIBCEC_INSTALL_STAGING = YES LIBCEC_DEPENDENCIES = host-pkgconf libplatform ifeq ($(BR2_PACKAGE_LOCKDEV),y) LIBCEC_DEPENDENCIES += lockdev endif ifeq ($(BR2_PACKAGE_HAS_UDEV),y) LIBCEC_DEPENDENCIES += udev endif ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) LIBCEC_DEPENDENCIES += host-swig $(if $(BR2_PACKAGE_PYTHON3),python3,python) endif ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) LIBCEC_DEPENDENCIES += rpi-userland LIBCEC_CONF_OPTS += \ -DCMAKE_C_FLAGS="-lvcos -lvchiq_arm" \ -DCMAKE_CXX_FLAGS="-I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \ -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads" endif ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) LIBCEC_DEPENDENCIES += xlib_libXrandr endif $(eval $(cmake-package))
shibajee/buildroot
package/libcec/libcec.mk
mk
mit
1,192
Index: b/src/cgi.c =================================================================== --- a/src/cgi.c +++ b/src/cgi.c @@ -336,7 +336,7 @@ hextable['b'] = 11; hextable['c'] = 12; hextable['d'] = 13; - hextable['e'] = 13; + hextable['e'] = 14; hextable['f'] = 15; hextable['A'] = 10; hextable['B'] = 11; Index: b/src/string.c =================================================================== --- a/src/string.c +++ b/src/string.c @@ -584,7 +584,7 @@ va_start(ptr, s); - va_copy(bkp, str); + va_copy(bkp, ptr); len = strlen(s); while (*str) { Index: b/Makefile.in =================================================================== --- a/Makefile.in +++ b/Makefile.in @@ -5,22 +5,32 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ -SHAREDOPT = -shared +SHAREDOPT = -shared -fPIC -Wl,-soname,libcgi.so.0 LIBDIR = $(prefix)/lib -INCDIR = $(prefix)/include +INCDIR = $(prefix)/include/libcgi/ MANDIR = $(prefix)/man/man3 SHELL = /bin/sh EXTRA_LIBS = INCS = -Isrc -FLAGS = -Wall -fpic +FLAGS = -Wall -D_REENTRANT OBJS = src/error.o src/cgi.o src/session.o src/base64.o src/md5.o \ src/string.o src/general.o src/list.o src/cookie.o +SHOBJS=$(OBJS:.o=.sh.o) -.c.o: $(CC) $(FLAGS) -c $< +ALL_TARGETS = src/libcgi.a +ifeq ($(STATIC),) +ALL_TARGETS += src/libcgi.so +endif -all: $(OBJS) src/libcgi.so +%.o: %.c + $(CC) $(FLAGS) -c $*.c -o $@ + +%.sh.o: %.c + $(CC) $(FLAGS) -fPIC -c $*.c -o $@ + +all: $(ALL_TARGETS) @echo "" @echo "" @@ -48,14 +58,17 @@ src/libcgi.a: $(OBJS) $(AR) rc src/libcgi.a $(OBJS) -src/libcgi.so: src/libcgi.a - $(CC) $(SHAREDOPT) -o src/libcgi.so $(OBJS) $(EXTRA_LIBS) +src/libcgi.so: $(SHOBJS) + $(CC) $(SHAREDOPT) -o src/libcgi.so $(SHOBJS) $(EXTRA_LIBS) install: - cp src/libcgi.a $(LIBDIR) - cp src/libcgi.so $(LIBDIR) - cp src/cgi.h $(INCDIR) - cp src/session.h $(INCDIR) + cp src/libcgi.a $(DESTDIR)/$(LIBDIR) +ifeq ($(STATIC),) + cp src/libcgi.so $(DESTDIR)/$(LIBDIR) +endif + [ -d $(DESTDIR)/$(INCDIR) ] || mkdir -p $(DESTDIR)/$(INCDIR) + cp src/cgi.h $(DESTDIR)/$(INCDIR) + cp src/session.h $(DESTDIR)/$(INCDIR) src/error.o: src/error.c src/error.h @@ -69,8 +82,9 @@ src/list.o: src/list.c clean: - find src/ -name *.*o -exec rm -f {} \; + find src/ -name *.o -exec rm -f {} \; find src/ -name *.a -exec rm -f {} \; + find src/ -name *.so -exec rm -f {} \; uninstall: clean rm -f $(LIBDIR)/libcgi.* @@ -78,11 +92,11 @@ rm -f $(INCDIR)/session.h rm -f $(MANDIR)/libcgi* -install_man: - cp doc/man/man3/libcgi_base64.3 $(MANDIR) - cp doc/man/man3/libcgi_cgi.3 $(MANDIR) - cp doc/man/man3/libcgi_general.3 $(MANDIR) - cp doc/man/man3/libcgi_string.3 $(MANDIR) - cp doc/man/man3/libcgi_session.3 $(MANDIR) - cp doc/man/man3/libcgi_cookie.3 $(MANDIR) +#install_man: +# cp doc/man/man3/libcgi_base64.3 $(MANDIR) +# cp doc/man/man3/libcgi_cgi.3 $(MANDIR) +# cp doc/man/man3/libcgi_general.3 $(MANDIR) +# cp doc/man/man3/libcgi_string.3 $(MANDIR) +# cp doc/man/man3/libcgi_session.3 $(MANDIR) +# cp doc/man/man3/libcgi_cookie.3 $(MANDIR)
shibajee/buildroot
package/libcgi/0001-misc-fixes.patch
patch
mit
3,043
config BR2_PACKAGE_LIBCGI bool "libcgi" help LibCGI is a library written from scratch to easily make CGI applications in C. There are a lot of functions like string manipulation, session and cookie support, GET and POST methods manipulation etc..., to help you to quickly write powerful CGI programs. http://libcgi.sourceforge.net/
shibajee/buildroot
package/libcgi/Config.in
in
mit
354
# Locally computed: sha256 861df39cc0195d43419c4c3de8dff4f42478db66c9ba0b0c1e994c99400e130c libcgi-1.0.tar.gz
shibajee/buildroot
package/libcgi/libcgi.hash
hash
mit
112
################################################################################ # # libcgi # ################################################################################ LIBCGI_VERSION = 1.0 LIBCGI_SITE = http://downloads.sourceforge.net/project/libcgi/libcgi/$(LIBCGI_VERSION) LIBCGI_INSTALL_STAGING = YES # use cross CC/AR rather than host LIBCGI_MAKE_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS)" AR="$(TARGET_AR)" \ $(if $(BR2_STATIC_LIBS),STATIC=1) LIBCGI_LICENSE = LGPLv2.1+ $(eval $(autotools-package))
shibajee/buildroot
package/libcgi/libcgi.mk
mk
mit
513
Index: cgicc-3.2.9/Makefile.am =================================================================== --- cgicc-3.2.9.orig/Makefile.am 2010-02-25 16:34:06.000000000 +0100 +++ cgicc-3.2.9/Makefile.am 2010-02-25 16:34:14.000000000 +0100 @@ -8,9 +8,15 @@ DEMO = endif +if DOC +DOCDIR = doc +else +DOC = +endif + ACLOCAL_AMFLAGS= -SUBDIRS = cgicc doc support $(DEMO) +SUBDIRS = cgicc $(DOCDIR) support $(DEMO) CLEANFILES = *~ Index: cgicc-3.2.9/configure.ac =================================================================== --- cgicc-3.2.9.orig/configure.ac 2010-02-25 16:34:06.000000000 +0100 +++ cgicc-3.2.9/configure.ac 2010-02-25 16:45:46.000000000 +0100 @@ -17,9 +17,23 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_LIBTOOL -AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, /bin/echo) +AC_ARG_ENABLE(doc, + [ --enable-doc build doc [[default=yes]]], + [case "${enableval}" in + yes) cgicc_doc=yes ;; + no) cgicc_doc=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-doc) ;; + esac], cgicc_doc=yes) + +if test "$cgicc_doc" = yes; then + AC_CHECK_PROG(DOXYGEN, doxygen, doxygen) + if test -z "$DOXYGEN" ; then + AC_MSG_ERROR([Doxygen is required to build the documentation]) + fi +fi +AM_CONDITIONAL(DOC, test "$cgicc_doc" = yes) dnl Determine host system type
shibajee/buildroot
package/libcgicc/0001-disable-documentation-option.patch
patch
mit
1,305
config BR2_PACKAGE_LIBCGICC bool "libcgicc" depends on BR2_INSTALL_LIBSTDCPP help GNU cgicc is a C++ class library that greatly simplifies the creation of CGI applications for the World Wide Web. http://www.cgicc.com comment "libcgicc needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/libcgicc/Config.in
in
mit
310