code
string
repo_name
string
path
string
language
string
license
string
size
int64
# Locally computed sha256 cdfbf5a7e8dc8fbbe0d6c1e83cd3bd3f2472160aac65684bb01ef661c626a8e4 Pound-2.7.tgz
shibajee/buildroot
package/pound/pound.hash
hash
mit
105
################################################################################ # # pound # ################################################################################ POUND_VERSION = 2.7 POUND_SITE = http://www.apsis.ch/pound POUND_SOURCE = Pound-$(POUND_VERSION).tgz POUND_LICENSE = GPLv3+ POUND_LICENSE_FILES = GPL.txt POUND_DEPENDENCIES = openssl # Force owner/group to us, otherwise it will try proxy:proxy by # default. POUND_CONF_OPTS = \ --with-owner=$(shell id -un) \ --with-group=$(shell id -gn) ifeq ($(BR2_PACKAGE_PCRE),y) POUND_DEPENDENCIES += pcre endif $(eval $(autotools-package))
shibajee/buildroot
package/pound/pound.mk
mk
mit
609
comment "powerpc-utils tools needs a toolchain w/ dynamic library" depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le depends on BR2_STATIC_LIBS config BR2_PACKAGE_POWERPC_UTILS bool "powerpc-utils" depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le select BR2_PACKAGE_ZLIB help System utilities for PowerPC machines. https://github.com/nfont/powerpc-utils if BR2_PACKAGE_POWERPC_UTILS config BR2_PACKAGE_POWERPC_UTILS_RTAS bool "RTAS support" select BR2_PACKAGE_LIBRTAS depends on BR2_TOOLCHAIN_USES_GLIBC help Enable support for functions that require RTAS. This adds a dependency on librtas and provides the following additional features at the cost of increasing the installed package size from about 0.5MB to about 2MB: ppc64_cpu --run-mode, uesensor, set_poweron_time, drmgr, lsslot, activate_firmware, rtas_ibm_get_vpd, serv_config, rtas_event_decode, sys_ident. comment "RTAS support needs a glibc toolchain" depends on !BR2_TOOLCHAIN_USES_GLIBC endif
shibajee/buildroot
package/powerpc-utils/Config.in
in
mit
1,060
# Locally calculated sha256 657790a4aea7f3e4649a454b4c384e255145bff9b9c5e40402170603980a6736 powerpc-utils-v1.3.1.tar.gz
shibajee/buildroot
package/powerpc-utils/powerpc-utils.hash
hash
mit
121
################################################################################ # # powerpc-utils # ################################################################################ POWERPC_UTILS_VERSION = v1.3.1 POWERPC_UTILS_SITE = $(call github,nfont,powerpc-utils,$(POWERPC_UTILS_VERSION)) POWERPC_UTILS_DEPENDENCIES = zlib POWERPC_UTILS_AUTORECONF = YES POWERPC_UTILS_LICENSE = GPLv2+ POWERPC_UTILS_LICENSE_FILES = COPYING POWERPC_UTILS_CONF_ENV = \ ax_cv_check_cflags___fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) ifeq ($(BR2_PACKAGE_POWERPC_UTILS_RTAS),y) POWERPC_UTILS_DEPENDENCIES += librtas POWERPC_UTILS_CONF_OPTS = --with-librtas else POWERPC_UTILS_CONF_OPTS = --without-librtas endif $(eval $(autotools-package))
shibajee/buildroot
package/powerpc-utils/powerpc-utils.mk
mk
mit
746
Patch pulled from https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/powertop&id=37469c47b885c50365f57044e4ad72e0e3512b91 Fixes a use-after-close bug in create_all_devfreq_devices(). Signed-off-by: Steven Noonan <steven@uplinklabs.net> --- a/src/devices/devfreq.cpp +++ b/src/devices/devfreq.cpp @@ -247,6 +247,7 @@ void create_all_devfreq_devices(void) fprintf(stderr, "Devfreq not enabled\n"); is_enabled = false; closedir(dir); + dir = NULL; return; }
shibajee/buildroot
package/powertop/0001-autotune-fix-use-after-close.patch
patch
mit
493
Do not pass -fstack-protector unconditionally Using -fstack-protector only works when the toolchain has SSP support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/src/Makefile.am =================================================================== --- a/src/Makefile.am +++ b/src/Makefile.am @@ -127,7 +127,6 @@ -Wformat \ -Wshadow \ -fno-omit-frame-pointer \ - -fstack-protector \ $(GLIB2_CFLAGS) \ $(LIBNL_CFLAGS) \ $(NCURSES_CFLAGS) \
shibajee/buildroot
package/powertop/0002-dont-force-stack-smashing-protection.patch
patch
mit
485
From 283cab667a9ac3ae3a675b5e5d1a42191188699f Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@openwide.fr> Date: Sat, 8 Aug 2015 18:24:48 +0200 Subject: [PATCH] add missing sys/time.h header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit struct timeval is defined in sys/time.h with a musl toolchain. Fixes: In file included from devices/devfreq.cpp:35:0: devices/devfreq.h:35:18: error: field ‘stamp_before’ has incomplete type ‘timeval’ struct timeval stamp_before, stamp_after; Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- src/devices/devfreq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/devfreq.h b/src/devices/devfreq.h index 16a60fb..4a8983b 100644 --- a/src/devices/devfreq.h +++ b/src/devices/devfreq.h @@ -27,6 +27,7 @@ #include "device.h" #include "../parameters/parameters.h" +#include <sys/time.h> struct frequency; -- 2.4.3
shibajee/buildroot
package/powertop/0003-add-missing-sys-time.h-header.patch
patch
mit
951
From e6cfd977c81b335664db1d5d3d6b5488c245e30f Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@openwide.fr> Date: Sat, 8 Aug 2015 18:26:15 +0200 Subject: [PATCH] add missing stdio.h header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit snprinf is defined in stdio.h. Fixes: perf/perf_bundle.cpp: In function ‘void parse_event_format(const char*)’: perf/perf_bundle.cpp:141:75: error: ‘sprintf’ was not declared in this scope sprintf(file, "/sys/kernel/debug/tracing/events/%s/%s/format", sys, event); Signed-off-by: Romain Naour <romain.naour@openwide.fr> --- src/perf/perf_bundle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/perf/perf_bundle.cpp b/src/perf/perf_bundle.cpp index cf1ae11..3d216ff 100644 --- a/src/perf/perf_bundle.cpp +++ b/src/perf/perf_bundle.cpp @@ -31,6 +31,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#include <stdio.h> #include "perf_bundle.h" #include "perf_event.h" -- 2.4.3
shibajee/buildroot
package/powertop/0004-add-missing-stdio.h-header.patch
patch
mit
1,013
config BR2_PACKAGE_POWERTOP bool "powertop" depends on !BR2_bfin # pciutils depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # libnl depends on BR2_USE_WCHAR select BR2_PACKAGE_NCURSES select BR2_PACKAGE_PCIUTILS select BR2_PACKAGE_LIBNL select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT help A tool to diagnose issues with power consumption and power management https://01.org/powertop/ comment "powertop needs a toolchain w/ C++, threads, wchar" depends on !BR2_bfin depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_USE_WCHAR
shibajee/buildroot
package/powertop/Config.in
in
mit
594
# Locally-generated hash sha256 8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca powertop-2.7.tar.gz
shibajee/buildroot
package/powertop/powertop.hash
hash
mit
117
################################################################################ # # powertop # ################################################################################ POWERTOP_VERSION = 2.7 POWERTOP_SITE = https://01.org/sites/default/files/downloads/powertop POWERTOP_DEPENDENCIES = pciutils ncurses libnl host-gettext host-pkgconf POWERTOP_LICENSE = GPLv2 POWERTOP_LICENSE_FILES = COPYING # We're patching Makefile.am POWERTOP_AUTORECONF = YES POWERTOP_GETTEXTIZE = YES ifeq ($(BR2_NEEDS_GETTEXT),y) POWERTOP_DEPENDENCIES += gettext POWERTOP_CONF_ENV += LIBS='-lintl' endif # Help powertop at finding the right ncurses library depending on # which one is available. ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncursesw" else POWERTOP_CONF_ENV += ac_cv_search_delwin="-lncurses" endif $(eval $(autotools-package))
shibajee/buildroot
package/powertop/powertop.mk
mk
mit
867
config BR2_PACKAGE_HAS_POWERVR bool config BR2_PACKAGE_PROVIDES_POWERVR depends on BR2_PACKAGE_HAS_POWERVR string
shibajee/buildroot
package/powervr/Config.in
in
mit
118
################################################################################ # # powervr # ################################################################################ $(eval $(virtual-package))
shibajee/buildroot
package/powervr/powervr.mk
mk
mit
204
config BR2_PACKAGE_PPPD bool "pppd" depends on !BR2_STATIC_LIBS depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree depends on BR2_USE_MMU help An implementation of the Point-to-point protocol. http://www.samba.org/ppp/ if BR2_PACKAGE_PPPD config BR2_PACKAGE_PPPD_FILTER select BR2_PACKAGE_LIBPCAP bool "filtering" help Packet filtering abilities for pppd. If enabled, the pppd active-filter and pass-filter options are available. config BR2_PACKAGE_PPPD_RADIUS bool "radius" help Install RADIUS support for pppd endif comment "pppd needs a uClibc or glibc toolchain w/ dynamic library" depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL depends on BR2_USE_MMU
shibajee/buildroot
package/pppd/Config.in
in
mit
720
# Locally calculated after checking pgp signature sha256 02e0a3dd3e4799e33103f70ec7df75348c8540966ee7c948e4ed8a42bbccfb30 ppp-2.4.7.tar.gz
shibajee/buildroot
package/pppd/pppd.hash
hash
mit
139
################################################################################ # # pppd # ################################################################################ PPPD_VERSION = 2.4.7 PPPD_SOURCE = ppp-$(PPPD_VERSION).tar.gz PPPD_SITE = https://download.samba.org/pub/ppp PPPD_LICENSE = LGPLv2+, LGPL, BSD-4c, BSD-3c, GPLv2+ PPPD_LICENSE_FILES = \ pppd/tdb.c pppd/plugins/pppoatm/COPYING \ pppdump/bsd-comp.c pppd/ccp.c pppd/plugins/passprompt.c PPPD_MAKE_OPTS = HAVE_INET6=y PPPD_INSTALL_STAGING = YES PPPD_TARGET_BINS = chat pppd pppdump pppstats PPPD_RADIUS_CONF = \ dictionary dictionary.ascend dictionary.compat \ dictionary.merit dictionary.microsoft \ issue port-id-map realms server radiusclient.conf ifeq ($(BR2_PACKAGE_PPPD_FILTER),y) PPPD_DEPENDENCIES += libpcap PPPD_MAKE_OPTS += FILTER=y endif # pppd bundles some but not all of the needed kernel headers. The embedded # if_pppol2tp.h is unfortunately not compatible with kernel headers > 2.6.34, # and has been part of the kernel headers since 2.6.23, so drop it define PPPD_DROP_INTERNAL_IF_PPOL2TP_H $(RM) $(@D)/include/linux/if_pppol2tp.h endef PPPD_POST_EXTRACT_HOOKS += PPPD_DROP_INTERNAL_IF_PPOL2TP_H # pppd defaults to /etc/ppp/resolv.conf, which not be writable and is # definitely not useful since the C library only uses # /etc/resolv.conf. Therefore, we change pppd to use /etc/resolv.conf # instead. define PPPD_SET_RESOLV_CONF $(SED) 's,ppp/resolv.conf,resolv.conf,' $(@D)/pppd/pathnames.h endef PPPD_POST_EXTRACT_HOOKS += PPPD_SET_RESOLV_CONF define PPPD_CONFIGURE_CMDS $(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux $(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux ( cd $(@D); ./configure --prefix=/usr ) endef define PPPD_BUILD_CMDS $(MAKE) CC="$(TARGET_CC)" COPTS="$(TARGET_CFLAGS)" \ -C $(@D) $(PPPD_MAKE_OPTS) endef ifeq ($(BR2_PACKAGE_PPPD_RADIUS),y) define PPPD_INSTALL_RADIUS $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radattr.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radattr.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radius.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radius.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radrealms.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radrealms.so for m in $(PPPD_RADIUS_CONF); do \ $(INSTALL) -m 644 -D $(PPPD_DIR)/pppd/plugins/radius/etc/$$m \ $(TARGET_DIR)/etc/ppp/radius/$$m; \ done $(SED) 's:/usr/local/etc:/etc:' \ $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf $(SED) 's:/usr/local/sbin:/usr/sbin:' \ $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf $(SED) 's:/etc/radiusclient:/etc/ppp/radius:g' \ $(TARGET_DIR)/etc/ppp/radius/* endef endif define PPPD_INSTALL_TARGET_CMDS for sbin in $(PPPD_TARGET_BINS); do \ $(INSTALL) -D $(PPPD_DIR)/$$sbin/$$sbin \ $(TARGET_DIR)/usr/sbin/$$sbin; \ done $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/minconn.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/minconn.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passprompt.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passprompt.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passwordfd.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passwordfd.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoatm/pppoatm.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoatm.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/rp-pppoe.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/rp-pppoe.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/pppoe-discovery \ $(TARGET_DIR)/usr/sbin/pppoe-discovery $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/winbind.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/winbind.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/openl2tp.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/openl2tp.so $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \ $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/pon $(TARGET_DIR)/usr/bin/pon $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/poff $(TARGET_DIR)/usr/bin/poff $(PPPD_INSTALL_RADIUS) endef define PPPD_INSTALL_STAGING_CMDS $(MAKE) INSTROOT=$(STAGING_DIR)/ -C $(@D) $(PPPD_MAKE_OPTS) install-devel endef $(eval $(generic-package))
shibajee/buildroot
package/pppd/pppd.mk
mk
mit
4,241
config BR2_PACKAGE_PPS_TOOLS bool "pps-tools" help Pulse per second tools. Provides timepps.h and other PPS utilities. https://github.com/ago/pps-tools/
shibajee/buildroot
package/pps-tools/Config.in
in
mit
162
# Locally calculated sha256 28d4e5aa845f659a6ab4174bbf579e22e2d2c87dc72fd6d07306a6a249c27c76 pps-tools-0deb9c7e135e9380a6d09e9d2e938a146bb698c8.tar.gz
shibajee/buildroot
package/pps-tools/pps-tools.hash
hash
mit
152
################################################################################ # # pps-tools # ################################################################################ PPS_TOOLS_VERSION = 0deb9c7e135e9380a6d09e9d2e938a146bb698c8 PPS_TOOLS_SITE = $(call github,ago,pps-tools,$(PPS_TOOLS_VERSION)) PPS_TOOLS_INSTALL_STAGING = YES PPS_TOOLS_LICENSE = GPLv2+ PPS_TOOLS_LICENSE_FILES = COPYING define PPS_TOOLS_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all endef define PPS_TOOLS_INSTALL_STAGING_CMDS mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ DESTDIR=$(STAGING_DIR) -C $(@D) install endef define PPS_TOOLS_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ DESTDIR=$(TARGET_DIR) -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/pps-tools/pps-tools.mk
mk
mit
937
bzero is deprecated in POSIX.1-2001 and removed for POSIX.1-2008 so switch to memset instead. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura pptp-1.8.0.orig/pptp_callmgr.c pptp-1.8.0/pptp_callmgr.c --- pptp-1.8.0.orig/pptp_callmgr.c 2013-10-23 05:10:46.000000000 -0300 +++ pptp-1.8.0/pptp_callmgr.c 2014-03-31 16:47:42.617643298 -0300 @@ -340,7 +340,7 @@ } #endif if (localbind.s_addr != INADDR_NONE) { - bzero(&src, sizeof(src)); + memset(&src, 0, sizeof(src)); src.i.sin_family = AF_INET; src.i.sin_addr = localbind; if (bind(s, &src.a, sizeof(src.i)) != 0) { diff -Nura pptp-1.8.0.orig/pptp_gre.c pptp-1.8.0/pptp_gre.c --- pptp-1.8.0.orig/pptp_gre.c 2013-10-23 05:10:46.000000000 -0300 +++ pptp-1.8.0/pptp_gre.c 2014-03-31 16:47:30.745249066 -0300 @@ -103,7 +103,7 @@ } #endif if (localbind.s_addr != INADDR_NONE) { - bzero(&loc_addr, sizeof(loc_addr)); + memset(&loc_addr, 0, sizeof(loc_addr)); loc_addr.i.sin_family = AF_INET; loc_addr.i.sin_addr = localbind; if (bind(s, &loc_addr.a, sizeof(loc_addr.i)) != 0) {
shibajee/buildroot
package/pptp-linux/0001-susv3-legacy.patch
patch
mit
1,136
Fix parallel build issue The config.h header file must be created before being used to build source files that include it, especially version.c. In order for this to happen even in highly-parallel builds, we add a dependency of all object files on config.h, in order to ensure it gets generated before make attempts to build the object files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile @@ -37,6 +37,8 @@ all: config.h $(PPTP_BIN) pptpsetup.8 +$(PPTP_OBJS): config.h + $(PPTP_BIN): $(PPTP_OBJS) $(PPTP_DEPS) $(CC) -o $(PPTP_BIN) $(PPTP_OBJS) $(LDFLAGS) $(LIBS)
shibajee/buildroot
package/pptp-linux/0002-fix-parallel-build.patch
patch
mit
716
From 060ad28b9ca5e99d7c6e8010132da58a3a8a0585 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias <gustavo@zacarias.com.ar> Date: Fri, 22 Jan 2016 10:19:18 -0300 Subject: [PATCH] pqueue.h: include sys/types.h We're using u_int32_t here, this breaks on musl libc builds otherwise. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> --- Patch status: sent upstream to the devel mailing list (moderated, no archive link yet) pqueue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pqueue.h b/pqueue.h index a56590f..8c60c62 100644 --- a/pqueue.h +++ b/pqueue.h @@ -3,6 +3,7 @@ #include <time.h> #include <sys/time.h> +#include <sys/types.h> /* wait this many seconds for missing packets before forgetting about them */ #define DEFAULT_PACKET_TIMEOUT 0.3 -- 2.4.10
shibajee/buildroot
package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch
patch
mit
783
config BR2_PACKAGE_PPTP_LINUX bool "pptp-linux" depends on BR2_USE_MMU # fork() help An implementation of the Point-to-point protocol client. http://pptpclient.sourceforge.net/
shibajee/buildroot
package/pptp-linux/Config.in
in
mit
187
# From http://sourceforge.net/projects/pptpclient/files/pptp/pptp-1.8.0/ md5 4efce9f263e2c3f38d79d9df222476de pptp-1.8.0.tar.gz sha1 6289953812ac986c7234e83aefb10b5e279dc613 pptp-1.8.0.tar.gz
shibajee/buildroot
package/pptp-linux/pptp-linux.hash
hash
mit
192
################################################################################ # # pptp-linux # ################################################################################ PPTP_LINUX_VERSION = 1.8.0 PPTP_LINUX_SITE = http://downloads.sourceforge.net/project/pptpclient/pptp/pptp-$(PPTP_LINUX_VERSION) PPTP_LINUX_SOURCE = pptp-$(PPTP_LINUX_VERSION).tar.gz PPTP_LINUX_MAKE = $(MAKE1) PPTP_LINUX_LICENSE = GPLv2+ PPTP_LINUX_LICENSE_FILES = COPYING define PPTP_LINUX_BUILD_CMDS $(MAKE) -C $(@D) OPTIMIZE= DEBUG= \ CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ IP=/sbin/ip endef define PPTP_LINUX_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp endef $(eval $(generic-package))
shibajee/buildroot
package/pptp-linux/pptp-linux.mk
mk
mit
759
[PATCH] fix build with libpng 1.4.x In 1.4.x the png_*_NULL defines are gone. Replace them with a normal NULL instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> --- src/SDL/i_sshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: prboom-2.5.0/src/SDL/i_sshot.c =================================================================== --- prboom-2.5.0.orig/src/SDL/i_sshot.c +++ prboom-2.5.0/src/SDL/i_sshot.c @@ -231,7 +231,7 @@ int I_ScreenShot (const char *fname) if (fp) { png_struct *png_ptr = png_create_write_struct( - PNG_LIBPNG_VER_STRING, png_error_ptr_NULL, error_fn, warning_fn); + PNG_LIBPNG_VER_STRING, NULL, error_fn, warning_fn); if (png_ptr) { @@ -279,7 +279,7 @@ int I_ScreenShot (const char *fname) break; } } - png_destroy_write_struct(&png_ptr, png_infopp_NULL); + png_destroy_write_struct(&png_ptr, NULL); } fclose(fp); }
shibajee/buildroot
package/prboom/0001-libpng-1.4.patch
patch
mit
962
config BR2_PACKAGE_PRBOOM bool "prboom" # These result in internal compiler error depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH select BR2_PACKAGE_SDL select BR2_PACKAGE_SDL_MIXER select BR2_PACKAGE_SDL_NET help PrBoom is a Doom client which allows you to play the good old game on newer hardware. It even supports higher resolution and better rendering, while still keeping the old style alive. http://prboom.sourceforge.net/
shibajee/buildroot
package/prboom/Config.in
in
mit
452
# Locally computed: sha256 226c1c470f8cc983327536404f405a1d026cf0a5188c694a1243cc8630014bae prboom-2.5.0.tar.gz
shibajee/buildroot
package/prboom/prboom.hash
hash
mit
114
################################################################################ # # prboom # ################################################################################ PRBOOM_VERSION = 2.5.0 PRBOOM_SITE = http://downloads.sourceforge.net/project/prboom/prboom%20stable/$(PRBOOM_VERSION) PRBOOM_CONF_ENV = ac_cv_type_uid_t=yes PRBOOM_DEPENDENCIES = sdl sdl_net sdl_mixer PRBOOM_LICENSE = GPLv2+ PRBOOM_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_LIBPNG),y) PRBOOM_DEPENDENCIES += libpng endif ifeq ($(BR2_STATIC_LIBS),y) # SDL_mixer uses symbols from SDL, but ends up after it on the link # cmdline. Fix it by forcing the SDL libs at the very end PRBOOM_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/sdl-config --static-libs`" endif PRBOOM_CONF_OPTS = \ --oldincludedir=$(STAGING_DIR)/usr/include \ --with-sdl-prefix=$(STAGING_DIR)/usr \ --with-sdl-exec-prefix=$(STAGING_DIR)/usr \ --disable-cpu-opt \ --disable-sdltest \ --disable-gl # endianness detection isn't used when cross compiling define PRBOOM_BIG_ENDIAN_FIXUP $(SED) 's,.*#undef WORDS_BIGENDIAN.*,#define WORDS_BIGENDIAN 1,g' \ $(PRBOOM_DIR)/config.h endef ifeq ($(BR2_ENDIAN),"BIG") PRBOOM_POST_CONFIGURE_HOOKS += PRBOOM_BIG_ENDIAN_FIXUP endif define PRBOOM_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/src/prboom $(TARGET_DIR)/usr/games/prboom $(INSTALL) -D $(@D)/src/prboom-game-server $(TARGET_DIR)/usr/games/prboom-game-server $(INSTALL) -D $(@D)/data/prboom.wad $(TARGET_DIR)/usr/share/games/doom/prboom.wad endef $(eval $(autotools-package))
shibajee/buildroot
package/prboom/prboom.mk
mk
mit
1,527
config BR2_PACKAGE_PRIVOXY bool "privoxy" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_PCRE select BR2_PACKAGE_ZLIB help A non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. http://www.privoxy.org/
shibajee/buildroot
package/privoxy/Config.in
in
mit
370
# From http://sourceforge.net/projects/ijbswa/files/Sources/3.0.24%20%28stable%29/ md5 44a47d1a5000db8cccd61ace0e25e7f7 privoxy-3.0.24-stable-src.tar.gz sha1 343c547a9e795ff029a78310963e0c04448975ee privoxy-3.0.24-stable-src.tar.gz
shibajee/buildroot
package/privoxy/privoxy.hash
hash
mit
232
################################################################################ # # privoxy # ################################################################################ PRIVOXY_VERSION = 3.0.24 PRIVOXY_SITE = http://downloads.sourceforge.net/project/ijbswa/Sources/$(PRIVOXY_VERSION)%20%28stable%29 PRIVOXY_SOURCE = privoxy-$(PRIVOXY_VERSION)-stable-src.tar.gz # configure not shipped PRIVOXY_AUTORECONF = YES PRIVOXY_DEPENDENCIES = pcre zlib PRIVOXY_LICENSE = GPLv2+ PRIVOXY_LICENSE_FILES = LICENSE $(eval $(autotools-package))
shibajee/buildroot
package/privoxy/privoxy.mk
mk
mit
538
sysctl: remove use of legacy index() [yann.morin.1998@free.fr: adapt to procps-ng] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> diff -durN procps-v3.3.9.orig/sysctl.c procps-v3.3.9/sysctl.c --- procps-v3.3.9.orig/sysctl.c 2013-12-03 12:16:18.000000000 +0100 +++ procps-v3.3.9/sysctl.c 2014-05-31 00:45:00.869748741 +0200 @@ -794,7 +794,7 @@ program_invocation_short_name); for ( ; *argv; argv++) { - if (WriteMode || index(*argv, '=')) + if (WriteMode || strchr(*argv, '=')) ReturnCode += WriteSetting(*argv); else ReturnCode += ReadSetting(*argv);
shibajee/buildroot
package/procps-ng/0001-remove-index.patch
patch
mit
588
Don't assume ncursesw headers are in ../usr/include/ncursesw/.. On a pure build/system without legacy ncurses that may not be true. Since we're using pkg-config let it provide the correct include path. Status: contacted one of the maintainers on sf.net (ticket submission closed to the public, no other way of contacting them). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> [Bernd: Rebased for version 3.3.11] diff -Nura procps-ng-3.3.10.orig/configure.ac procps-ng-3.3.10/configure.ac --- procps-ng-3.3.10.orig/configure.ac 2015-04-07 19:21:55.729819952 -0300 +++ procps-ng-3.3.10/configure.ac 2015-04-07 19:32:09.511706653 -0300 @@ -138,7 +138,8 @@ ]) AM_CONDITIONAL(WITH_NCURSES, true) if test "$enable_watch8bit" = yes; then - PKG_CHECK_MODULES([NCURSESW], [ncursesw], [WATCH_NCURSES_LIBS="$NCURSESW_LIBS"], [ + PKG_CHECK_MODULES([NCURSESW], [ncursesw], [WATCH_NCURSES_LIBS="$NCURSESW_LIBS"] + [WATCH_NCURSES_CFLAGS="$NCURSESW_CFLAGS"], [ AC_CHECK_LIB([ncursesw], [addwstr], [WATCH_NCURSES_LIBS=-lncursesw], [AC_MSG_ERROR([Cannot find ncurses wide library ncursesw with --enable-watch8bit])]) ]) @@ -148,6 +149,7 @@ fi AC_SUBST([NCURSES_LIBS]) AC_SUBST([WATCH_NCURSES_LIBS]) +AC_SUBST([WATCH_NCURSES_CFLAGS]) AC_ARG_WITH([systemd], [AS_HELP_STRING([--with-systemd], [enable systemd support])], diff -Nura procps-ng-3.3.10.orig/Makefile.am procps-ng-3.3.10/Makefile.am --- procps-ng-3.3.10.orig/Makefile.am 2015-04-07 19:21:55.655817434 -0300 +++ procps-ng-3.3.10/Makefile.am 2015-04-07 19:32:54.516238136 -0300 @@ -97,6 +97,7 @@ slabtop_LDADD = $(LDADD) @NCURSES_LIBS@ watch_SOURCES = watch.c lib/strutils.c lib/fileutils.c watch_LDADD = $(LDADD) @WATCH_NCURSES_LIBS@ +watch_CFLAGS = @WATCH_NCURSES_CFLAGS@ top_top_SOURCES = \ top/top.h \ top/top.c \ diff -Nura procps-ng-3.3.10.orig/watch.c procps-ng-3.3.10/watch.c --- procps-ng-3.3.10.orig/watch.c 2015-04-07 19:21:55.707819203 -0300 +++ procps-ng-3.3.10/watch.c 2015-04-07 19:22:27.323895083 -0300 @@ -51,10 +51,8 @@ #ifdef WITH_WATCH8BIT # include <wchar.h> # include <wctype.h> -# include <ncursesw/ncurses.h> -#else -# include <ncurses.h> #endif /* WITH_WATCH8BIT */ +#include <ncurses.h> #ifdef FORCE_8BIT # undef isprint
shibajee/buildroot
package/procps-ng/0002-use-pkgconfig-for-ncursesw-cflags.patch
patch
mit
2,274
From 4fc9a348026a945aec8eddffc7613de9cb10b10c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 7 Aug 2016 11:08:26 +0200 Subject: [PATCH] ps/output.c: include <dlfcn.h> only when necessary dlopen() functionality is only used when SELinux support is enabled, so <dlfcn.h> only needs to be included when ENABLE_LIBSELINUX is defined. This fixes the build in configurations where <dlfcn.h> is not available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- ps/output.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ps/output.c b/ps/output.c index 42c04cf..f540832 100644 --- a/ps/output.c +++ b/ps/output.c @@ -46,7 +46,9 @@ */ #include <ctype.h> +#if ENABLE_LIBSELINUX #include <dlfcn.h> +#endif #include <fcntl.h> #include <grp.h> #include <limits.h> -- 2.7.4
shibajee/buildroot
package/procps-ng/0003-ps-output.c-include-dlfcn.h-only-when-necessary.patch
patch
mit
854
config BR2_PACKAGE_PROCPS_NG bool "procps-ng" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_NCURSES select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Standard informational utilities and process-handling tools. Provides things like kill, ps, uptime, free, top, etc... http://sourceforge.net/projects/procps-ng/
shibajee/buildroot
package/procps-ng/Config.in
in
mit
388
# From http://sourceforge.net/projects/procps-ng/files/Production/ md5 6cc5b94c1c5b8cbc89ad345a7b522f74 procps-ng-3.3.11.tar.xz sha1 1bdca65547df9ed019bd83649b0f8b8eaa017e25 procps-ng-3.3.11.tar.xz
shibajee/buildroot
package/procps-ng/procps-ng.hash
hash
mit
198
################################################################################ # # procps-ng # ################################################################################ PROCPS_NG_VERSION = 3.3.11 PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz PROCPS_NG_SITE = http://downloads.sourceforge.net/project/procps-ng/Production PROCPS_NG_LICENSE = GPLv2+, libproc and libps LGPLv2+ PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB PROCPS_NG_INSTALL_STAGING = YES PROCPS_NG_DEPENDENCIES = ncurses host-pkgconf # For 0002-use-pkgconfig-for-ncursesw-cflags.patch PROCPS_NG_AUTORECONF = YES PROCPS_NG_GETTEXTIZE = YES # If both procps-ng and busybox are selected, make certain procps-ng # wins the fight over who gets to have their utils actually installed. ifeq ($(BR2_PACKAGE_BUSYBOX),y) PROCPS_NG_DEPENDENCIES += busybox endif ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) PROCPS_NG_DEPENDENCIES += gettext PROCPS_NG_CONF_OPTS += LIBS=-lintl endif ifeq ($(BR2_PACKAGE_SYSTEMD),y) PROCPS_NG_DEPENDENCIES += systemd PROCPS_NG_CONF_OPTS += --with-systemd else PROCPS_NG_CONF_OPTS += --without-systemd endif # Make sure binaries get installed in /bin, so that they overwrite # their busybox counterparts. # Make sure libprocps.pc is installed in STAGING_DIR/usr/lib/pkgconfig/ # otherwise it's installed in STAGING_DIR/lib/pkgconfig/ breaking # pkg-config --libs libprocps. PROCPS_NG_CONF_OPTS += --exec-prefix=/ \ --libdir=/usr/lib # Allows unicode characters to show in 'watch' ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) PROCPS_NG_CONF_OPTS += \ --enable-watch8bit endif # numa support requires libdl, so explicitly disable it when # BR2_STATIC_LIBS=y ifeq ($(BR2_STATIC_LIBS),y) PROCPS_NG_CONF_OPTS += --disable-numa endif $(eval $(autotools-package))
shibajee/buildroot
package/procps-ng/procps-ng.mk
mk
mit
1,759
config BR2_PACKAGE_PROCRANK_LINUX bool "procrank_linux" help procrank is a tool commonly used by Android platform developers to find out how much memory is really being used. https://github.com/csimmonds/procrank_linux
shibajee/buildroot
package/procrank_linux/Config.in
in
mit
231
# Locally calculated sha256 1c3592b549b6793b29ab561568f493d0edbfe288ea2aed59afa689eaa26b5d9e procrank_linux-21c30ab4514a5b15ac6e813e21bee0d3d714cb08.tar.gz
shibajee/buildroot
package/procrank_linux/procrank_linux.hash
hash
mit
156
################################################################################ # # procrank_linux # ################################################################################ PROCRANK_LINUX_VERSION = 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 PROCRANK_LINUX_SITE = $(call github,csimmonds,procrank_linux,$(PROCRANK_LINUX_VERSION)) PROCRANK_LINUX_LICENSE = Apache-2.0 PROCRANK_LINUX_LICENSE_FILES = NOTICE define PROCRANK_LINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE="$(TARGET_CROSS)" endef define PROCRANK_LINUX_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/procrank \ $(TARGET_DIR)/usr/bin/procrank endef $(eval $(generic-package))
shibajee/buildroot
package/procrank_linux/procrank_linux.mk
mk
mit
671
--- a/lib/libcap/libcap.h 2008-08-22 19:49:48.000000000 -0700 +++ b/lib/libcap/libcap.h 2010-10-06 15:31:11.000000000 -0700 @@ -65,7 +65,8 @@ struct _cap_struct { */ #if !defined(_LINUX_CAPABILITY_VERSION_1) || \ - (_LINUX_CAPABILITY_VERSION_1 != 0x19980330) + ((_LINUX_CAPABILITY_VERSION_1 != 0x19980330) && \ + (_LINUX_CAPABILITY_VERSION_1 != 0x20071026)) # error "Kernel <linux/capability.h> does not match library" # error "file "libcap.h" --> fix and recompile libcap"
shibajee/buildroot
package/proftpd/0001-fix-kernel-header-capability-version.patch
patch
mit
516
[PATCH] pr_fnmatch.c: use mempcpy, not __mempcpy to fix linker issue with uClibc The standard name (as checked for by configure) for the function is mempcpy, not __mempcpy, so use that instead. The existing code happens to work on glibc, as that provides an __mempcpy alias, but other C libraries (E.G. uClibc) don't: ./host/usr/bin/arm-linux-nm -D ./staging/lib/libuClibc-0.9.33.2.so | grep mempcpy 00035d2c W mempcpy 00036cf8 W wmempcpy vs ./host/usr/bin/arm-none-linux-gnueabi-nm -D staging/lib/libc-2.18.so | grep mempcpy 0007d140 T mempcpy 0007d140 T __mempcpy 000e15f0 T __mempcpy_chk 00081828 T __mempcpy_small 00083148 W wmempcpy 000e4e3c T __wmempcpy_chk Signed-off-by: Peter Korsgaard <peter@korsgaard.com> --- lib/pr_fnmatch.c | 2 +- lib/pr_fnmatch_loop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: proftpd-1.3.4d/lib/pr_fnmatch.c =================================================================== --- proftpd-1.3.4d.orig/lib/pr_fnmatch.c +++ proftpd-1.3.4d/lib/pr_fnmatch.c @@ -250,7 +250,7 @@ # endif # define STRLEN(S) strlen (S) # define STRCAT(D, S) strcat (D, S) -# define MEMPCPY(D, S, N) __mempcpy (D, S, N) +# define MEMPCPY(D, S, N) mempcpy (D, S, N) # define MEMCHR(S, C, N) memchr (S, C, N) # define STRCOLL(S1, S2) strcoll (S1, S2) # include "pr_fnmatch_loop.c" Index: proftpd-1.3.4d/lib/pr_fnmatch_loop.c =================================================================== --- proftpd-1.3.4d.orig/lib/pr_fnmatch_loop.c +++ proftpd-1.3.4d/lib/pr_fnmatch_loop.c @@ -54,7 +54,7 @@ /* Copy N bytes of SRC to DEST, return pointer to bytes after the last written byte. */ static void * -__mempcpy (void *dest, const void *src, size_t n) +mempcpy (void *dest, const void *src, size_t n) { return (char *) memcpy (dest, src, n) + n; }
shibajee/buildroot
package/proftpd/0002-__mempcpy.patch
patch
mit
1,813
config BR2_PACKAGE_PROFTPD bool "proftpd" depends on BR2_USE_MMU # fork() help ProFTPD, a highly configurable FTP server. http://www.proftpd.org/ if BR2_PACKAGE_PROFTPD config BR2_PACKAGE_PROFTPD_MOD_REWRITE bool "mod_rewrite support" help Compile ProFTPD with mod_rewrite support endif
shibajee/buildroot
package/proftpd/Config.in
in
mit
305
#!/bin/sh DAEMON=/usr/sbin/proftpd trap "" HUP trap "" TERM test -f $DAEMON || exit 0 [ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd [ ! -f /var/log/wtmp ] && touch /var/log/wtmp start() { printf "Starting ProFTPD: " $DAEMON if [ $? != 0 ]; then echo "FAILED" exit 1 else echo "done" fi } stop() { printf "Stopping ProFTPD: " killall proftpd echo "done" } case "$1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo "Usage: /etc/init.d/S50proftpd {start|stop|restart}" exit 1 ;; esac exit 0
shibajee/buildroot
package/proftpd/S50proftpd
none
mit
573
# From ftp://ftp.proftpd.org/distrib/source/proftpd-1.3.5b.tar.gz.md5 md5 f7b8e3a383b34a894c2502db74ccccde proftpd-1.3.5b.tar.gz # Locally calculated sha256 afc1789f2478acf88dfdc7d70da90a4fa2786d628218e9574273295d044b4fc8 proftpd-1.3.5b.tar.gz
shibajee/buildroot
package/proftpd/proftpd.hash
hash
mit
244
################################################################################ # # proftpd # ################################################################################ PROFTPD_VERSION = 1.3.5b PROFTPD_SOURCE = proftpd-$(PROFTPD_VERSION).tar.gz PROFTPD_SITE = ftp://ftp.proftpd.org/distrib/source PROFTPD_LICENSE = GPLv2+ PROFTPD_LICENSE_FILES = COPYING PROFTPD_CONF_ENV = \ ac_cv_func_setpgrp_void=yes \ ac_cv_func_setgrent_void=yes PROFTPD_CONF_OPTS = \ --localstatedir=/var/run \ --disable-static \ --disable-curses \ --disable-ncurses \ --disable-facl \ --disable-dso \ --enable-shadow \ --with-gnu-ld ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y) PROFTPD_CONF_OPTS += --with-modules=mod_rewrite endif # configure script doesn't handle detection of %llu format string # support for printing the file size when cross compiling, breaking # access for large files. # We unfortunately cannot AUTORECONF the package, so instead force it # on if we know we support it define PROFTPD_USE_LLU $(SED) 's/HAVE_LU/HAVE_LLU/' $(@D)/configure endef PROFTPD_PRE_CONFIGURE_HOOKS += PROFTPD_USE_LLU define PROFTPD_MAKENAMES $(MAKE1) CC="$(HOSTCC)" CFLAGS="" LDFLAGS="" -C $(@D)/lib/libcap _makenames endef PROFTPD_POST_CONFIGURE_HOOKS = PROFTPD_MAKENAMES PROFTPD_MAKE = $(MAKE1) define PROFTPD_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd $(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf endef define PROFTPD_USERS ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User endef define PROFTPD_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd endef define PROFTPD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/proftpd/proftpd.service \ $(TARGET_DIR)/usr/lib/systemd/system/proftpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/proftpd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/proftpd.service endef $(eval $(autotools-package))
shibajee/buildroot
package/proftpd/proftpd.mk
mk
mit
2,086
[Unit] Description=FTP server After=syslog.target network.target [Service] ExecStart=/usr/sbin/proftpd -n -q Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/proftpd/proftpd.service
service
mit
163
config BR2_PACKAGE_PROTOBUF_C bool "protobuf-c" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # host-protobuf only builds on certain architectures depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" help Code generator and runtime libraries to use Protocol Buffers from pure C (not C++). http://code.google.com/p/protobuf-c/ comment "protobuf-c needs a toolchain w/ C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
shibajee/buildroot
package/protobuf-c/Config.in
in
mit
553
# Locally calculated sha256 49340784ca0f8657f38547088731fff3bfe8084adb89bf5e8dbc19ac43339aa6 protobuf-c-v1.1.1.tar.gz
shibajee/buildroot
package/protobuf-c/protobuf-c.hash
hash
mit
118
################################################################################ # # protobuf-c # ################################################################################ PROTOBUF_C_VERSION = v1.1.1 PROTOBUF_C_SITE = $(call github,protobuf-c,protobuf-c,$(PROTOBUF_C_VERSION)) PROTOBUF_C_DEPENDENCIES = host-protobuf-c HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf host-pkgconf PROTOBUF_C_MAKE = $(MAKE1) PROTOBUF_C_CONF_OPTS = --disable-protoc PROTOBUF_C_INSTALL_STAGING = YES PROTOBUF_C_LICENSE = BSD-2c PROTOBUF_C_LICENSE_FILES = LICENSE PROTOBUF_C_AUTORECONF = YES HOST_PROTOBUF_C_AUTORECONF = YES $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/protobuf-c/protobuf-c.mk
mk
mit
673
From 50982f711de6ad58f6e0bef01a75d2b9cf35f5dc Mon Sep 17 00:00:00 2001 From: George Redivo <george.redivo@datacom.ind.br> Date: Mon, 6 Jul 2015 16:56:41 -0300 Subject: [PATCH 1/2] Fix GOOGLE_PROTOBUF_ATOMICOPS_ERROR syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not possible to define "#error" inside a define. It causes 'error: stray ‘#’ in program' compilation error. Now the define GOOGLE_PROTOBUF_ATOMICOPS_ERROR is the error message and it's used along the code together "#error". --- src/google/protobuf/stubs/atomicops.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/google/protobuf/stubs/atomicops.h b/src/google/protobuf/stubs/atomicops.h index b1336e3..a130b38 100644 --- a/src/google/protobuf/stubs/atomicops.h +++ b/src/google/protobuf/stubs/atomicops.h @@ -162,7 +162,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); // Include our platform specific implementation. #define GOOGLE_PROTOBUF_ATOMICOPS_ERROR \ -#error "Atomic operations are not supported on your platform" +"Atomic operations are not supported on your platform" // ThreadSanitizer, http://clang.llvm.org/docs/ThreadSanitizer.html. #if defined(THREAD_SANITIZER) @@ -172,7 +172,7 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); #if defined(GOOGLE_PROTOBUF_ARCH_IA32) || defined(GOOGLE_PROTOBUF_ARCH_X64) #include <google/protobuf/stubs/atomicops_internals_x86_msvc.h> #else -GOOGLE_PROTOBUF_ATOMICOPS_ERROR +#error GOOGLE_PROTOBUF_ATOMICOPS_ERROR #endif // Solaris @@ -203,15 +203,15 @@ GOOGLE_PROTOBUF_ATOMICOPS_ERROR #if __has_extension(c_atomic) #include <google/protobuf/stubs/atomicops_internals_generic_gcc.h> #else -GOOGLE_PROTOBUF_ATOMICOPS_ERROR +#error GOOGLE_PROTOBUF_ATOMICOPS_ERROR #endif #else -GOOGLE_PROTOBUF_ATOMICOPS_ERROR +#error GOOGLE_PROTOBUF_ATOMICOPS_ERROR #endif // Unknown. #else -GOOGLE_PROTOBUF_ATOMICOPS_ERROR +#error GOOGLE_PROTOBUF_ATOMICOPS_ERROR #endif // On some platforms we need additional declarations to make AtomicWord -- 2.5.0
shibajee/buildroot
package/protobuf/0001-Fix-GOOGLE_PROTOBUF_ATOMICOPS_ERROR-syntax-error.patch
patch
mit
2,097
From f020fe05a20dfcd16cd7df833dcf3cdeef770538 Mon Sep 17 00:00:00 2001 From: Carlos Santos <casantos@datacom.ind.br> Date: Thu, 11 Feb 2016 10:58:35 -0200 Subject: [PATCH 2/2] configure.ac: check if libatomic is needed Compilation of protobuf for PowerPC and SPARC may fail due to missing references to __atomic_fetch_add_4 and __atomic_compare_exchange_4. The __atomic_*() intrinsics for all sizes are provided by libatomic when gcc is >= 4.8. This can be achieved by adding this to configure.ac: AC_SEARCH_LIBS([__atomic_fetch_add_4], [atomic]) Signed-off-by: Carlos Santos <casantos@datacom.ind.br> --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index c07067c..88d4a0d 100644 --- a/configure.ac +++ b/configure.ac @@ -139,6 +139,8 @@ AM_CONDITIONAL([USE_EXTERNAL_PROTOC], [test "$with_protoc" != "no"]) ACX_PTHREAD AC_CXX_STL_HASH +AC_SEARCH_LIBS([__atomic_load_4], [atomic]) + case "$target_os" in mingw* | cygwin* | win*) ;; -- 2.5.0
shibajee/buildroot
package/protobuf/0002-configure.ac-check-if-libatomic-is-needed.patch
patch
mit
1,015
# See src/google/protobuf/stubs/platform_macros.h for supported archs. # # On PowerPC, the __atomic_*() built-ins for 1-byte, 2-byte and 4-byte # types are available built-in. However, the __atomic_*() built-ins for # 8-byte types is implemented via libatomic, so only available since gcc # 4.8. # # In Buildroot, to simplify things, we've decided to simply require gcc # 4.8 as soon as the architectures has at least one __atomic_*() built-in # variant that requires libatomic. # # Since protobuf most likely only uses the 1, 2 and 4-byte variants, it # *could* technically build with gcc 4.7. This is probably not a big deal, # and we can live with requiring gcc 4.8 on PowerPC to build protobuf. # # The SPARC64 build fails due to a missing definition of Atomic64. This # has been fixed on the master branch but the build still breaks due to # undefined references to internal NoBarrier_Atomic*() functions. # # host-protobuf only builds on certain architectures config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS bool default y if BR2_arm default y if BR2_i386 default y if BR2_mipsel default y if BR2_x86_64 default y if BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_sparc64 # missing definition of Atomic64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" depends on BR2_USE_MMU # fork() config BR2_PACKAGE_PROTOBUF bool "protobuf" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS depends on !BR2_STATIC_LIBS help Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. https://developers.google.com/protocol-buffers comment "protobuf needs a toolchain w/ C++, threads, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ || BR2_STATIC_LIBS depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
shibajee/buildroot
package/protobuf/Config.in
in
mit
1,883
# Locally calculated sha256 2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1 protobuf-v2.6.1.tar.gz
shibajee/buildroot
package/protobuf/protobuf.hash
hash
mit
116
################################################################################ # # protobuf # ################################################################################ PROTOBUF_VERSION = v2.6.1 PROTOBUF_SITE = $(call github,google,protobuf,$(PROTOBUF_VERSION)) PROTOBUF_LICENSE = BSD-3c PROTOBUF_LICENSE_FILES = LICENSE # no configure script PROTOBUF_AUTORECONF = YES # N.B. Need to use host protoc during cross compilation. PROTOBUF_DEPENDENCIES = host-protobuf PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc PROTOBUF_INSTALL_STAGING = YES ifeq ($(BR2_PACKAGE_ZLIB),y) PROTOBUF_DEPENDENCIES += zlib endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/protobuf/protobuf.mk
mk
mit
698
config BR2_PACKAGE_PROXYCHAINS_NG bool "proxychains-ng" depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS help Force any tcp connections to flow through a proxy (or proxy chain) https://github.com/rofl0r/proxychains comment "proxychains-ng needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/proxychains-ng/Config.in
in
mit
372
# Locally computed: sha256 859a717e18ed88c9291078a6ed8748dfe95c61220993203890fef8a04d28dda5 proxychains-4.6.tar.bz2
shibajee/buildroot
package/proxychains-ng/proxychains-ng.hash
hash
mit
118
################################################################################ # # proxychains-ng # ################################################################################ PROXYCHAINS_NG_VERSION = 4.6 PROXYCHAINS_NG_SOURCE = proxychains-$(PROXYCHAINS_NG_VERSION).tar.bz2 PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng PROXYCHAINS_NG_LICENSE = GPLv2+ PROXYCHAINS_NG_LICENSE_FILES = COPYING define PROXYCHAINS_NG_CONFIGURE_CMDS cd $(@D) && \ $(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr --sysconfdir=/etc endef define PROXYCHAINS_NG_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) endef define PROXYCHAINS_NG_INSTALL_TARGET_CMDS $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install install-config endef $(eval $(generic-package))
shibajee/buildroot
package/proxychains-ng/proxychains-ng.mk
mk
mit
784
Link against libintl if needed When built against a C library that has locale support, but for which intl support is provided by an external libintl library, psmisc forgets to link against this library, even though the configure script properly checks that. This patch therefore ensure that we link against libintl when needed, thanks to the @INTLLIBS@ variable provided by the configure script. We do not modify the Makefile.am file, because autoreconfiguring this package doesn't work: because of its usage of gettext, it wants to run the "autopoint" program, which itself depends on CVS being installed, for some strange reasons. That's the reason why we fall back to the hacky solution of modifying the Makefile.in file. Forward-ported Thomas's patch to psmisc 22.16 from commit f066ed70cd6939838d4057f66798cbc1d972cc73 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura psmisc-22.16.orig/src/Makefile.in psmisc-22.16/src/Makefile.in --- psmisc-22.16.orig/src/Makefile.in 2012-03-28 22:27:33.106660358 -0300 +++ psmisc-22.16/src/Makefile.in 2012-03-28 22:28:55.752219349 -0300 @@ -76,7 +76,7 @@ killall_DEPENDENCIES = am_peekfd_OBJECTS = peekfd.$(OBJEXT) peekfd_OBJECTS = $(am_peekfd_OBJECTS) -peekfd_LDADD = $(LDADD) +peekfd_LDADD = $(LDADD) @LIBINTL@ am_prtstat_OBJECTS = prtstat.$(OBJEXT) prtstat_OBJECTS = $(am_prtstat_OBJECTS) prtstat_DEPENDENCIES =
shibajee/buildroot
package/psmisc/0001-link-against-libintl.patch
patch
mit
1,389
[PATCH]: pstree: don't use glibc-specific __progname uclibc (per default) doesn't implement __progname, and the pstree.x11 stuff isn't that critical, so just disable it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: psmisc-22.13/src/pstree.c =================================================================== --- psmisc-22.13.orig/src/pstree.c 2010-07-12 13:10:03.000000000 +0200 +++ psmisc-22.13/src/pstree.c 2011-05-21 16:33:37.456530775 +0200 @@ -49,8 +49,6 @@ #include <selinux/selinux.h> #endif /*WITH_SELINUX */ -extern const char *__progname; - #define PROC_BASE "/proc" /* UTF-8 defines by Johan Myreen, updated by Ben Winslow */ @@ -854,9 +852,6 @@ textdomain(PACKAGE); #endif - if (!strcmp(__progname, "pstree.x11")) - wait_end = 1; - /* * Attempt to figure out a good default symbol set. Will be overriden by * command-line options, if given. Index: psmisc-22.13/src/Makefile.in =================================================================== --- psmisc-22.13.orig/src/Makefile.in 2011-05-21 16:33:42.748530777 +0200 +++ psmisc-22.13/src/Makefile.in 2011-05-21 16:33:47.360530782 +0200 @@ -557,10 +557,6 @@ grep '^{ 1,"HUP" },$$' signames.h >/dev/null || \ { rm -f signames.h; exit 1; } -install-exec-hook: - cd $(DESTDIR)$(bindir) && \ - ( [ -h pstree.x11 ] || $(LN_S) pstree pstree.x11) - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT:
shibajee/buildroot
package/psmisc/0002-no-__progname.patch
patch
mit
1,689
config BR2_PACKAGE_PSMISC bool "psmisc" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_NCURSES select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Helpful /proc related utilities such as pstree, fuser, and killall http://psmisc.sourceforge.net/
shibajee/buildroot
package/psmisc/Config.in
in
mit
283
# Locally computed: sha256 97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a psmisc-22.21.tar.gz sha256 4f1cb11c7182ad96e682ec50a2d9a6a22079a2b11dffde3bb3cb67823b679422 e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff
shibajee/buildroot
package/psmisc/psmisc.hash
hash
mit
234
################################################################################ # # psmisc # ################################################################################ PSMISC_VERSION = 22.21 PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc PSMISC_PATCH = \ https://gitlab.com/psmisc/psmisc/commit/e7203c36a2a4dc10cd8268a5dc036fc9c2a73b6c.diff PSMISC_LICENSE = GPLv2 PSMISC_LICENSE_FILES = COPYING PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) # Don't force -fstack-protector when SSP is not available in toolchain PSMISC_CONF_OPTS = --disable-harden-flags endif # build after busybox, we prefer fat versions while we're at it ifeq ($(BR2_PACKAGE_BUSYBOX),y) PSMISC_DEPENDENCIES += busybox endif $(eval $(autotools-package))
shibajee/buildroot
package/psmisc/psmisc.mk
mk
mit
818
config BR2_PACKAGE_PSPLASH bool "psplash" depends on BR2_USE_WCHAR help PSplash is a userspace graphical boot splash screen for mainly embedded Linux devices supporting a 16bpp or 32bpp framebuffer. It has few dependencies (just libc), supports basic images and text and handles rotation. Its visual look is configurable by basic source changes. Also included is a 'client' command utility for sending information to psplash such as boot progress information. Start the drawing process with 'psplash -n&' as early as possible. Note: psplash creates a FIFO in /tmp for communication with psplash-write. Usage: * Set progress bar to 50 percent: psplash-write "PROGRESS 50" * Display message "foobar" above progress bar: psplash-write "MSG foobar" * Terminate psplash: psplash-write "QUIT" http://git.yoctoproject.org/cgit/cgit.cgi/psplash/ comment "psplash needs a toolchain w/ wchar" depends on !BR2_USE_WCHAR
shibajee/buildroot
package/psplash/Config.in
in
mit
980
[Unit] Description=Terminate Psplash Boot Screen After=psplash-start.service [Service] Type=oneshot ExecStart=/usr/bin/psplash-write QUIT TimeoutSec=20 [Install] WantedBy=multi-user.target
shibajee/buildroot
package/psplash/psplash-quit.service
service
mit
191
[Unit] Description=Starts Psplash Boot screen Wants=systemd-vconsole-setup.service After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service DefaultDependencies=no [Service] ExecStart=/usr/bin/psplash -n [Install] WantedBy=sysinit.target
shibajee/buildroot
package/psplash/psplash-start.service
service
mit
270
################################################################################ # # psplash # ################################################################################ PSPLASH_VERSION = 14c8f7b705de944beb4de3f296506d80871e410f PSPLASH_SITE = git://git.yoctoproject.org/psplash PSPLASH_LICENSE = GPLv2+ PSPLASH_AUTORECONF = YES define PSPLASH_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \ $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/ $(INSTALL) -D -m 644 package/psplash/psplash-quit.service \ $(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ endef $(eval $(autotools-package))
shibajee/buildroot
package/psplash/psplash.mk
mk
mit
1,047
config BR2_PACKAGE_PTPD bool "ptpd" help The PTP daemon (PTPd) implements the Precision Time protocol (PTP) as defined by the IEEE-1588-2002. http://ptpd.sourceforge.net/
shibajee/buildroot
package/ptpd/Config.in
in
mit
183
#!/bin/sh # # Start ptpd # case "$1" in start) printf "Starting ptpd: " start-stop-daemon -S -q -x /usr/sbin/ptpd -- -S if [ $? != 0 ]; then echo "FAILED" exit 1 else echo "OK" fi ;; stop) printf "Stopping ptpd: " start-stop-daemon -K -q -x /usr/sbin/ptpd echo "OK" ;; restart|reload) ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/ptpd/S65ptpd
none
mit
378
# Locally computed: sha256 a7c6ea83bd53da75ae04a7b7a25fe7c597b4e9ff1f93d46f4502e3fa8a2cb950 ptpd-1.1.0.tar.gz
shibajee/buildroot
package/ptpd/ptpd.hash
hash
mit
112
################################################################################ # # ptpd # ################################################################################ PTPD_VERSION = 1.1.0 PTPD_SITE = http://downloads.sourceforge.net/project/ptpd/ptpd/$(PTPD_VERSION) PTPD_LICENSE = BSD PTPD_LICENSE_FILES = COPYRIGHT define PTPD_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/src endef define PTPD_INSTALL_TARGET_CMDS $(INSTALL) -m 755 -D $(@D)/src/ptpd $(TARGET_DIR)/usr/sbin/ptpd endef define PTPD_INSTALL_INIT_SYSV $(INSTALL) -m 755 -D package/ptpd/S65ptpd \ $(TARGET_DIR)/etc/init.d/S65ptpd endef define PTPD_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/ptpd/ptpd.service \ $(TARGET_DIR)/usr/lib/systemd/system/ptpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/ptpd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd.service endef $(eval $(generic-package))
shibajee/buildroot
package/ptpd/ptpd.mk
mk
mit
989
[Unit] Description=Precision Time Protocol daemon After=syslog.target network.target [Service] ExecStart=/usr/sbin/ptpd -c Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/ptpd/ptpd.service
service
mit
177
Fix musl build Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr ptpd-ptpd-2.3.1.org/src/dep/net.c ptpd-ptpd-2.3.1/src/dep/net.c --- ptpd-ptpd-2.3.1.org/src/dep/net.c 2015-06-29 17:13:29.000000000 +0200 +++ ptpd-ptpd-2.3.1/src/dep/net.c 2016-01-24 00:35:44.509860065 +0100 @@ -82,7 +82,6 @@ #ifdef SO_TIMESTAMPING #include <linux/net_tstamp.h> #include <linux/sockios.h> -#include <linux/ethtool.h> #endif /* SO_TIMESTAMPING */ /**
shibajee/buildroot
package/ptpd2/0001-musl.patch
patch
mit
454
config BR2_PACKAGE_PTPD2 bool "ptpd2" select BR2_PACKAGE_LIBPCAP help The PTP daemon (PTPd) implements the Precision Time protocol (PTP) as defined by the IEEE-1588-2008. https://github.com/ptpd/ptpd
shibajee/buildroot
package/ptpd2/Config.in
in
mit
214
#!/bin/sh # # Start ptpd2 # case "$1" in start) printf "Starting ptpd2: " start-stop-daemon -S -q -x /usr/sbin/ptpd2 -- -g if [ $? != 0 ]; then echo "FAILED" exit 1 else echo "OK" fi ;; stop) printf "Stopping ptpd2: " start-stop-daemon -K -q -x /usr/sbin/ptpd2 echo "OK" ;; restart|reload) ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/ptpd2/S65ptpd2
none
mit
383
# Locally computed: sha256 267ad61d09d97069acec5d4878dceda20d0ddbebd27557d80230847848cee6c2 ptpd2-ptpd-2.3.1.tar.gz
shibajee/buildroot
package/ptpd2/ptpd2.hash
hash
mit
116
################################################################################ # # ptpd2 # ################################################################################ PTPD2_VERSION = ptpd-2.3.1 PTPD2_SITE = $(call github,ptpd,ptpd,$(PTPD2_VERSION)) PTPD2_DEPENDENCIES = libpcap PTPD2_CONF_OPTS = --with-pcap-config=$(STAGING_DIR)/usr/bin/pcap-config # configure not shipped PTPD2_AUTORECONF = YES PTPD2_LICENSE = BSD-2c PTPD2_LICENSE_FILES = COPYRIGHT ifeq ($(BR2_STATIC_LIBS),y) PTPD2_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" endif ifeq ($(BR2_PACKAGE_NETSNMP),y) PTPD2_CONF_ENV += ac_cv_path_PATH_NET_SNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config PTPD2_DEPENDENCIES += netsnmp else PTPD2_CONF_OPTS += --disable-snmp endif define PTPD2_INSTALL_INIT_SYSV $(INSTALL) -m 755 -D package/ptpd2/S65ptpd2 \ $(TARGET_DIR)/etc/init.d/S65ptpd2 endef define PTPD2_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/ptpd2/ptpd2.service \ $(TARGET_DIR)/usr/lib/systemd/system/ptpd2.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/ptpd2.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/ptpd2.service endef $(eval $(autotools-package))
shibajee/buildroot
package/ptpd2/ptpd2.mk
mk
mit
1,278
[Unit] Description=Precision Time Protocol daemon After=syslog.target network.target [Service] ExecStart=/usr/sbin/ptpd2 -C -g Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/ptpd2/ptpd2.service
service
mit
181
From f6ab3c3aa7a1841c8add04828029356d2a8c88e7 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 6 Apr 2015 21:56:31 -0700 Subject: [PATCH] padsp: Make it compile on musl break assumptions on glibc and there is no stat64 on non glibc C libraries See pulseaudio bug https://bugs.freedesktop.org/show_bug.cgi?id=85319 Upstream-Status: Pending Signed-off-by: Khem Raj <raj.khem@gmail.com> [Bernd: taken from http://git.alpinelinux.org/cgit/aports/tree/testing/pulseaudio/0001-padsp-Make-it-compile-on-musl.patch, adjusted paths.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- src/utils/padsp.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/utils/padsp.c b/src/utils/padsp.c index e61373c..684721a 100644 --- a/src/utils/padsp.c +++ b/src/utils/padsp.c @@ -2368,7 +2368,7 @@ fail: return ret; } -#ifdef sun +#ifndef __GLIBC__ int ioctl(int fd, int request, ...) { #else int ioctl(int fd, unsigned long request, ...) { @@ -2508,10 +2508,13 @@ int stat(const char *pathname, struct stat *buf) { return 0; } - #ifdef HAVE_OPEN64 - +#undef stat64 +#ifdef __GLIBC__ int stat64(const char *pathname, struct stat64 *buf) { +#else +int stat64(const char *pathname, struct stat *buf) { +#endif struct stat oldbuf; int ret; @@ -2544,7 +2547,7 @@ int stat64(const char *pathname, struct stat64 *buf) { return 0; } - +#undef open64 int open64(const char *filename, int flags, ...) { va_list args; mode_t mode = 0; @@ -2670,8 +2673,8 @@ FILE* fopen(const char *filename, const char *mode) { } #ifdef HAVE_OPEN64 - -FILE *fopen64(const char *filename, const char *mode) { +#undef fopen64 +FILE *fopen64(const char *__restrict filename, const char *__restrict mode) { debug(DEBUG_LEVEL_VERBOSE, __FILE__": fopen64(%s)\n", filename?filename:"NULL"); -- 2.1.4
shibajee/buildroot
package/pulseaudio/0001-padsp-Make-it-compile-on-musl.patch
patch
mit
1,886
From 7af6cbe74d48a9853b60b029d4ce38a963386138 Mon Sep 17 00:00:00 2001 From: Romain Naour <romain.naour@gmail.com> Date: Sun, 3 Jul 2016 20:19:48 +0200 Subject: [PATCH] webrtc: C++11 is only required for WebRTC support Make C++11 support optional and explicitely check for gnu++11. Stop the build only if no C++11 support has been found and WebRTC support has been resquested. Signed-off-by: Romain Naour <romain.naour@gmail.com> --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4edc8e0..fea93a9 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,7 @@ AM_PROG_CC_C_O # Only required if you want the WebRTC canceller -- no runtime dep on # libstdc++ otherwise AC_PROG_CXX -AX_CXX_COMPILE_STDCXX_11 +AX_CXX_COMPILE_STDCXX_11([ext],[optional]) AC_PROG_GCC_TRADITIONAL AC_USE_SYSTEM_EXTENSIONS @@ -1414,6 +1414,9 @@ fi AC_ARG_ENABLE([webrtc-aec], AS_HELP_STRING([--enable-webrtc-aec], [Enable the optional WebRTC-based echo canceller])) +AS_IF([test "x$enable_webrtc_aec" = "xyes" && test "$HAVE_CXX11" = "0"], + [AC_MSG_ERROR([*** webrtc-audio-processing needs C++11 support])]) + AS_IF([test "x$enable_webrtc_aec" != "xno"], [PKG_CHECK_MODULES(WEBRTC, [ webrtc-audio-processing >= 0.2 ], [HAVE_WEBRTC=1], [HAVE_WEBRTC=0])], [HAVE_WEBRTC=0]) -- 2.5.5
shibajee/buildroot
package/pulseaudio/0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch
patch
mit
1,364
config BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c select BR2_PACKAGE_LIBTOOL select BR2_PACKAGE_JSON_C select BR2_PACKAGE_LIBSNDFILE select BR2_PACKAGE_SPEEX depends on BR2_USE_MMU # fork() help PulseAudio is a sound system for POSIX OSes, meaning that it is a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware. Things like transferring the audio to a different machine, changing the sample format or channel count and mixing several sounds into one are easily achieved using a sound server. http://pulseaudio.org if BR2_PACKAGE_PULSEAUDIO config BR2_PACKAGE_PULSEAUDIO_DAEMON bool "start as a system daemon" help PulseAudio can be started as a system daemon. This is not the recommended way of using PulseAudio unless you are building a headless system. endif comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/pulseaudio/Config.in
in
mit
1,256
#!/bin/sh # # Starts pulseaudio. # start() { printf "Starting pulseaudio: " umask 077 /usr/bin/pulseaudio --system --daemonize echo "OK" } stop() { printf "Stopping pulseaudio: " pulseaudio --kill echo "OK" } restart() { stop start } case "$1" in start) start ;; stop) stop ;; restart|reload) restart ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac exit $?
shibajee/buildroot
package/pulseaudio/S50pulseaudio
none
mit
395
# From http://freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz.{md5,sha1} md5 da7162541b3a9bc20576dbd0d7d1489a pulseaudio-9.0.tar.xz sha1 d9a9d7cb667ed95ee1de4b6544d5c7444c5a0064 pulseaudio-9.0.tar.xz
shibajee/buildroot
package/pulseaudio/pulseaudio.hash
hash
mit
221
################################################################################ # # pulseaudio # ################################################################################ PULSEAUDIO_VERSION = 9.0 PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases PULSEAUDIO_INSTALL_STAGING = YES PULSEAUDIO_LICENSE = LGPLv2.1+ (specific license for modules, see LICENSE file) PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL PULSEAUDIO_CONF_OPTS = \ --disable-default-build-tests \ --disable-legacy-database-entry-format \ --disable-manpages # Make sure we don't detect libatomic_ops. Indeed, since pulseaudio # requires json-c, which needs 4 bytes __sync builtins, there should # be no need for pulseaudio to rely on libatomic_ops. PULSEAUDIO_CONF_ENV += \ ac_cv_header_atomic_ops_h=no # 0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch PULSEAUDIO_AUTORECONF = YES PULSEAUDIO_DEPENDENCIES = \ host-pkgconf libtool json-c libsndfile speex host-intltool \ $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \ $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib) \ $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \ $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \ $(if $(BR2_PACKAGE_DBUS),dbus) \ $(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils) \ $(if $(BR2_PACKAGE_OPENSSL),openssl) \ $(if $(BR2_PACKAGE_FFTW),fftw) \ $(if $(BR2_PACKAGE_SYSTEMD),systemd) ifeq ($(BR2_PACKAGE_GDBM),y) PULSEAUDIO_CONF_OPTS += --with-database=gdbm PULSEAUDIO_DEPENDENCIES += gdbm else PULSEAUDIO_CONF_OPTS += --with-database=simple endif ifeq ($(BR2_PACKAGE_JACK2),y) PULSEAUDIO_CONF_OPTS += --enable-jack PULSEAUDIO_DEPENDENCIES += jack2 else PULSEAUDIO_CONF_OPTS += --disable-jack endif ifeq ($(BR2_PACKAGE_ORC),y) PULSEAUDIO_DEPENDENCIES += orc PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/usr/bin/orcc PULSEAUDIO_CONF_OPTS += --enable-orc else PULSEAUDIO_CONF_OPTS += --disable-orc endif ifeq ($(BR2_PACKAGE_LIBCAP),y) PULSEAUDIO_DEPENDENCIES += libcap PULSEAUDIO_CONF_OPTS += --with-caps else PULSEAUDIO_CONF_OPTS += --without-caps endif # gtk3 support needs X11 backend ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) PULSEAUDIO_DEPENDENCIES += libgtk3 PULSEAUDIO_CONF_OPTS += --enable-gtk3 else PULSEAUDIO_CONF_OPTS += --disable-gtk3 endif ifeq ($(BR2_PACKAGE_LIBSOXR),y) PULSEAUDIO_CONF_OPTS += --with-soxr PULSEAUDIO_DEPENDENCIES += libsoxr else PULSEAUDIO_CONF_OPTS += --without-soxr endif ifeq ($(BR2_PACKAGE_HAS_UDEV),y) PULSEAUDIO_CONF_OPTS += --enable-udev PULSEAUDIO_DEPENDENCIES += udev else PULSEAUDIO_CONF_OPTS += --disable-udev endif ifeq ($(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),y) PULSEAUDIO_CONF_OPTS += --enable-webrtc-aec PULSEAUDIO_DEPENDENCIES += webrtc-audio-processing else PULSEAUDIO_CONF_OPTS += --disable-webrtc-aec endif # neon intrinsics not available with float-abi=soft ifeq ($(BR2_ARM_SOFT_FLOAT),) ifeq ($(BR2_ARM_CPU_HAS_NEON),y) PULSEAUDIO_USE_NEON = y endif endif ifeq ($(PULSEAUDIO_USE_NEON),y) PULSEAUDIO_CONF_OPTS += --enable-neon-opt=yes else PULSEAUDIO_CONF_OPTS += --enable-neon-opt=no endif # pulseaudio alsa backend needs pcm/mixer apis ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) PULSEAUDIO_CONF_OPTS += --disable-alsa endif ifeq ($(BR2_PACKAGE_LIBXCB)$(BR2_PACKAGE_XLIB_LIBSM)$(BR2_PACKAGE_XLIB_LIBXTST),yyy) PULSEAUDIO_DEPENDENCIES += libxcb xlib_libSM xlib_libXtst # .desktop file generation needs nls support, so fake it for !locale builds # https://bugs.freedesktop.org/show_bug.cgi?id=54658 ifneq ($(BR2_ENABLE_LOCALE),y) define PULSEAUDIO_FIXUP_DESKTOP_FILES cp $(@D)/src/daemon/pulseaudio.desktop.in \ $(@D)/src/daemon/pulseaudio.desktop cp $(@D)/src/daemon/pulseaudio-kde.desktop.in \ $(@D)/src/daemon/pulseaudio-kde.desktop endef PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FIXUP_DESKTOP_FILES endif else PULSEAUDIO_CONF_OPTS += --disable-x11 endif define PULSEAUDIO_REMOVE_VALA rm -rf $(TARGET_DIR)/usr/share/vala endef PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA ifeq ($(BR2_PACKAGE_PULSEAUDIO_DAEMON),y) define PULSEAUDIO_USERS pulse -1 pulse -1 * /var/run/pulse - audio,pulse-access endef define PULSEAUDIO_INSTALL_INIT_SYSV $(INSTALL) -D -m 755 package/pulseaudio/S50pulseaudio \ $(TARGET_DIR)/etc/init.d/S50pulseaudio endef define PULSEAUDIO_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/pulseaudio/pulseaudio.service \ $(TARGET_DIR)/usr/lib/systemd/system/pulseaudio.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/pulseaudio.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/pulseaudio.service endef endif $(eval $(autotools-package))
shibajee/buildroot
package/pulseaudio/pulseaudio.mk
mk
mit
4,692
[Unit] Description=PulseAudio Sound System After=syslog.target [Service] UMask=077 ExecStart=/usr/bin/pulseaudio --system --daemonize=no Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/pulseaudio/pulseaudio.service
service
mit
191
From dcfe0a01f72021aab961245d0ebcc9f8d4504b40 Mon Sep 17 00:00:00 2001 From: Soeren Apel <soeren@apelpie.net> Date: Sun, 31 Jan 2016 14:12:44 +0100 Subject: [PATCH] View: Honor ENABLE_DECODE compiler switch Signed-off-by: Soeren Apel <soeren@apelpie.net> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- Patch downloaded from upstream git: http://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff;h=dcfe0a01f72021aab961245d0ebcc9f8d4504b40 as suggested by upstream: http://article.gmane.org/gmane.comp.debugging.sigrok.devel/1954 pv/view/view.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pv/view/view.cpp b/pv/view/view.cpp index c9b08bf..6ad7dea 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -43,7 +43,6 @@ #include <libsigrokcxx/libsigrokcxx.hpp> #include "analogsignal.hpp" -#include "decodetrace.hpp" #include "header.hpp" #include "logicsignal.hpp" #include "ruler.hpp" @@ -59,6 +58,10 @@ #include "pv/data/logicsegment.hpp" #include "pv/util.hpp" +#ifdef ENABLE_DECODE +#include "decodetrace.hpp" +#endif + using boost::shared_lock; using boost::shared_mutex; @@ -455,9 +458,11 @@ void View::enable_coloured_bg(bool state) if (l) l->set_coloured_bg(state); +#ifdef ENABLE_DECODE shared_ptr<DecodeTrace> d = dynamic_pointer_cast<DecodeTrace>(i); if (d) d->set_coloured_bg(state); +#endif } viewport_->update(); -- 2.6.2
shibajee/buildroot
package/pulseview/0001-musl.patch
patch
mit
1,419
From 71830c804be76cf6abe913ac2fe584947b7a91ea Mon Sep 17 00:00:00 2001 From: Samuel Martin <s.martin49@gmail.com> Date: Tue, 24 May 2016 23:08:40 +0200 Subject: [PATCH] cmake: add check for explicit linking against libatomic To use atomics functions, some toolchains requires to explicitly add -latomic to the linker flags (because they are not provided by libc, but libatomic). This change adds a helper function trying to build/link a test program using atomics, then calls it to: * first check if atomics are directly available in the libc; * if not and libatomic has been found, then run the same test with "-latomic" added to the linker flags. The pulseview link library list is updated according to the results of these tests. This issue was triggered by the Buildroot farms: http://autobuild.buildroot.org/results/1e3/1e3101261252d5f30fdf842cc99604e4f4c25eef/build-end.log Notes: 1- CMAKE_REQUIRED_* variables are only used in check functions. They are not automatically forwarded to/handled by the target commands (such as target_link_library), because the check functions are implemented as macro in CMake code, whereas many target commands are native. 2- Because of note #1, CMAKE_REQUIRED_LIBRARIES (or its value) must be explicitly passed to the target_link_library command when this is needed. 3- In this implementation, LIBATOMIC_LIBRARY is only set when it is needed; so, unconditionally appending it to PULSEVIEW_LINK_LIBS will produce the expected behavior. Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- changes v1->v2: - use std::atomic_fetch_add_explicit function instead of __atomic_fetch_add_4; - rework code using cmake_*_check_state and find_library helpers; - quiet-ize checks and clean outputs - extend the commit log --- CMakeLists.txt | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dac69f..44f810e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,55 @@ endif() # This will set ${CMAKE_THREAD_LIBS_INIT} to the correct, OS-specific value. find_package(Threads REQUIRED) + +# Check for explicit link against libatomic +# +# Depending on the toolchain, linking a program using atomic functions may need +# "-latomic" explicitly passed to the linker +# +# This check first tests if atomics are available in the C-library, if not and +# libatomic exists, then it runs the same test with -latomic added to the +# linker flags. + +# Helper for checking for atomics +function(check_working_cxx_atomics varname additional_lib) + include(CheckCXXSourceCompiles) + include(CMakePushCheckState) + cmake_push_check_state() + set(CMAKE_REQUIRED_FLAGS "-std=c++11") + set(CMAKE_REQUIRED_LIBRARIES "${additional_lib}") + set(CMAKE_REQUIRED_QUIET 1) + CHECK_CXX_SOURCE_COMPILES(" +#include <atomic> +std::atomic<int> x; +int main() { + return std::atomic_fetch_add_explicit(&x, 1, std::memory_order_seq_cst); +} +" ${varname}) + cmake_pop_check_state() +endfunction(check_working_cxx_atomics) + +# First check if atomics work without the library. +# If not, check if the library exists, and atomics work with it. +check_working_cxx_atomics(HAVE_CXX_ATOMICS_WITHOUT_LIB "") +if(HAVE_CXX_ATOMICS_WITHOUT_LIB) + message(STATUS "Atomics provided by the C-library - yes") +else() + message(STATUS "Atomics provided by the C-library - no") + find_library(LIBATOMIC_LIBRARY NAMES atomic PATH_SUFFIXES lib) + if(LIBATOMIC_LIBRARY) + check_working_cxx_atomics(HAVE_CXX_ATOMICS_WITH_LIB "${LIBATOMIC_LIBRARY}") + if (HAVE_CXX_ATOMICS_WITH_LIB) + message(STATUS "Atomics provided by libatomic - yes") + else() + message(STATUS "Atomics provided by libatomic - no") + message(FATAL_ERROR "Compiler must support std::atomic!") + endif() + else() + message(FATAL_ERROR "Compiler appears to require libatomic, but cannot find it.") + endif() +endif() + #=============================================================================== #= System Introspection #------------------------------------------------------------------------------- @@ -387,6 +436,7 @@ set(PULSEVIEW_LINK_LIBS ${Boost_LIBRARIES} ${QT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} + ${LIBATOMIC_LIBRARY} ) if(STATIC_PKGDEPS_LIBS) -- 2.8.3
shibajee/buildroot
package/pulseview/0002-cmake-add-check-for-explicit-linking-against-libatom.patch
patch
mit
4,319
config BR2_PACKAGE_PULSEVIEW bool "pulseview" select BR2_PACKAGE_LIBSIGROK select BR2_PACKAGE_LIBSIGROKCXX depends on BR2_PACKAGE_QT5 select BR2_PACKAGE_QT5BASE_WIDGETS select BR2_PACKAGE_QT5BASE_PNG select BR2_PACKAGE_QT5SVG select BR2_PACKAGE_BOOST select BR2_PACKAGE_BOOST_FILESYSTEM select BR2_PACKAGE_BOOST_SYSTEM select BR2_PACKAGE_BOOST_THREAD # libsigrok->libglib2: depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU depends on BR2_INSTALL_LIBSTDCPP # libsigrok depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 help PulseView is a Qt based logic analyzer, oscilloscope and MSO GUI for sigrok. http://sigrok.org/wiki/PulseView comment "pulseview needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" depends on BR2_USE_MMU depends on BR2_PACKAGE_QT5 depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/pulseview/Config.in
in
mit
938
# Locally computed sha256 5ffe2cb7a602fcdc60933d400c77bcd66e6ce529bc4f6e97d6a5e5a86f2f530e pulseview-0.3.0.tar.gz sha256 7de425dfe3b0f76e76e266374dca8b2951510d232380901ef2abda71c7c30bb0 dcfe0a01f72021aab961245d0ebcc9f8d4504b40.patch
shibajee/buildroot
package/pulseview/pulseview.hash
hash
mit
233
################################################################################ # # pulseview # ################################################################################ # TODO Pulseview can be built and linked against Qt4 as well. PULSEVIEW_VERSION = 0.3.0 PULSEVIEW_SITE = http://sigrok.org/download/source/pulseview PULSEVIEW_LICENSE = GPLv3+ PULSEVIEW_LICENSE_FILES = COPYING PULSEVIEW_DEPENDENCIES = libsigrok qt5base qt5svg boost PULSEVIEW_CONF_OPTS = -DDISABLE_WERROR=TRUE ifeq ($(BR2_PACKAGE_BOOST_TEST),y) PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=TRUE else PULSEVIEW_CONF_OPTS += -DENABLE_TESTS=FALSE endif ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y) PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=TRUE PULSEVIEW_DEPENDENCIES += libsigrokdecode else PULSEVIEW_CONF_OPTS += -DENABLE_DECODE=FALSE endif $(eval $(cmake-package))
shibajee/buildroot
package/pulseview/pulseview.mk
mk
mit
833
Do not include host paths when cross-compiling. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> diff -uNr pure-ftpd-1.0.36.org/configure pure-ftpd-1.0.36/configure --- pure-ftpd-1.0.36.org/configure 2012-03-16 06:29:23.000000000 +0100 +++ pure-ftpd-1.0.36/configure 2014-09-28 19:55:56.650529713 +0200 @@ -6319,17 +6319,6 @@ -if test -d /usr/local/include; then - CPPFLAGS="$CPPFLAGS -I/usr/local/include" -fi - -if test -d /usr/kerberos/include; then - CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" -fi - -if test -d /usr/local/lib; then - LDFLAGS="$LDFLAGS -L/usr/local/lib" -fi if uname | fgrep SunOS > /dev/null 2> /dev/null ; then CPPFLAGS="$CPPFLAGS -D_XPG4_2=1"
shibajee/buildroot
package/pure-ftpd/0001-cross.patch
patch
mit
690
config BR2_PACKAGE_PURE_FTPD bool "pure-ftpd" select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE depends on BR2_USE_MMU # fork() help Pure-FTPd is a free (BSD), secure, production-quality and standard- conformant FTP server. It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers. http://www.pureftpd.org
shibajee/buildroot
package/pure-ftpd/Config.in
in
mit
482
# Locally calculated after checking pgp signature sha256 efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 pure-ftpd-1.0.42.tar.bz2
shibajee/buildroot
package/pure-ftpd/pure-ftpd.hash
hash
mit
147
################################################################################ # # pure-ftpd # ################################################################################ PURE_FTPD_VERSION = 1.0.42 PURE_FTPD_SITE = http://download.pureftpd.org/pub/pure-ftpd/releases PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2 PURE_FTPD_LICENSE = ISC PURE_FTPD_LICENSE_FILES = COPYING PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) PURE_FTPD_CONF_OPTS = \ --with-altlog \ --with-puredb \ --with-rfc2640 ifeq ($(BR2_PACKAGE_ELFUTILS),y) PURE_FTPD_DEPENDENCIES += elfutils endif ifeq ($(BR2_PACKAGE_LIBCAP),y) PURE_FTPD_CONF_OPTS += --with-capabilities PURE_FTPD_DEPENDENCIES += libcap else PURE_FTPD_CONF_OPTS += --without-capabilities endif ifeq ($(BR2_PACKAGE_LIBSODIUM),y) PURE_FTPD_DEPENDENCIES += libsodium endif ifeq ($(BR2_PACKAGE_OPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += openssl ifeq ($(BR2_STATIC_LIBS),y) PURE_FTPD_CONF_ENV += LIBS='-lssl -lcrypto -lz' endif else PURE_FTPD_CONF_OPTS += --without-tls endif ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no endif $(eval $(autotools-package))
shibajee/buildroot
package/pure-ftpd/pure-ftpd.mk
mk
mit
1,234
From 4ae1577b432c1859704d2763f70a764dee23bd98 Mon Sep 17 00:00:00 2001 From: Kylie McClain <somasis@exherbo.org> Date: Thu, 28 Apr 2016 22:40:32 -0400 Subject: [PATCH] uxcons: Fix on musl libc musl libc exports FD_SET and friends in sys/select.h. Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- Patch status: upstream commit 4ae1577b432c unix/uxcons.c | 1 + 1 file changed, 1 insertion(+) diff --git a/unix/uxcons.c b/unix/uxcons.c index b9fd67fe9274..f2a25f3fed70 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -12,6 +12,7 @@ #include <termios.h> #include <unistd.h> #include <fcntl.h> +#include <sys/select.h> #include "putty.h" #include "storage.h" -- 2.8.1
shibajee/buildroot
package/putty/0001-uxcons-Fix-on-musl-libc.patch
patch
mit
683
From 3377ea57f5d333d65d44a1130161396782389e88 Mon Sep 17 00:00:00 2001 From: Tim Kosse <tim.kosse@filezilla-project.org> Date: Tue, 11 Aug 2015 09:43:34 +0200 Subject: [PATCH] Fix __uint128_t compile error on MinGW. MinGW has __uint128_t, but not __uint64_t. Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- Patch status: upstream commit 3377ea57f5 sshbn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshbn.h b/sshbn.h index a043241eea67..9366f614ae4c 100644 --- a/sshbn.h +++ b/sshbn.h @@ -26,7 +26,7 @@ * using the same 'two machine registers' kind of code generation that * 32-bit targets use for 64-bit ints. If we have one of these, we can * use a 64-bit BignumInt and a 128-bit BignumDblInt. */ -typedef __uint64_t BignumInt; +typedef unsigned long long BignumInt; typedef __uint128_t BignumDblInt; #define BIGNUM_INT_MASK 0xFFFFFFFFFFFFFFFFULL #define BIGNUM_TOP_BIT 0x8000000000000000ULL -- 2.8.1
shibajee/buildroot
package/putty/0002-Fix-__uint128_t-compile-error-on-MinGW.patch
patch
mit
951
config BR2_PACKAGE_PUTTY bool "putty" depends on BR2_USE_MMU # fork() help PuTTY is a free SSH and Telnet client. Without GTK2 activated, only the commandline tools plink, pscp, psftp, and puttygen are built; enable GTK2 for the graphical client. http://www.chiark.greenend.org.uk/~sgtatham/putty/
shibajee/buildroot
package/putty/Config.in
in
mit
314
# Hashes from: http://the.earth.li/~sgtatham/putty/0.67/{sha256,sha512}sums sha256 80192458e8a46229de512afeca5c757dd8fce09606b3c992fbaeeee29b994a47 putty-0.67.tar.gz sha512 c2b17da46b8db3fe3837a10cb9cf5dd4b3ef6bfa15cadab83f3b87cf1479ed31fced90b774297ae53bdcbbdf230fc80d5c73d5ff3be6916fb591fd7ce3d35eca putty-0.67.tar.gz
shibajee/buildroot
package/putty/putty.hash
hash
mit
384