code
string
repo_name
string
path
string
language
string
license
string
size
int64
From 79a2389f590f4d16885bdd0715f3f04fd9fa6cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> Date: Sun, 28 Feb 2016 16:35:56 +0100 Subject: [PATCH] Fix static linking with GnuTLS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cups forgets to link against the libs found by pkg-config if it is build with GnuTLS support. Otherwise, static build fails with: ../cups/libcups.a(tls.o): In function `http_gnutls_create_credential': cups-2.1.2/cups/tls-gnutls.c:762: undefined reference to `gnutls_x509_crt_init' [..] Status upstream: Pending Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> --- Makedefs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makedefs.in b/Makedefs.in index 299b297..ce9d535 100644 --- a/Makedefs.in +++ b/Makedefs.in @@ -143,7 +143,7 @@ IPPFIND_MAN = @IPPFIND_MAN@ LDFLAGS = -L../cgi-bin -L../cups -L../filter -L../ppdc \ -L../scheduler @LDARCHFLAGS@ \ @LDFLAGS@ @RELROFLAGS@ $(OPTIM) -LINKCUPS = @LINKCUPS@ $(LIBGSSAPI) $(DNSSDLIBS) $(LIBZ) +LINKCUPS = @LINKCUPS@ $(SSLLIBS) $(LIBGSSAPI) $(DNSSDLIBS) $(LIBZ) LINKCUPSIMAGE = @LINKCUPSIMAGE@ LIBS = $(LINKCUPS) $(COMMONLIBS) ONDEMANDFLAGS = @ONDEMANDFLAGS@ -- 2.7.4
shibajee/buildroot
package/cups/0005-Fix-static-linking-with-GnuTLS.patch
patch
mit
1,279
config BR2_PACKAGE_CUPS bool "cups" # needs libstdcpp for ppdc depends on BR2_INSTALL_LIBSTDCPP # needs fork() depends on BR2_USE_MMU help The Common Unix Printing System http://www.cups.org comment "cups needs a toolchain w/ C++" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/cups/Config.in
in
mit
280
# Locally calculated: sha256 4b14fd833180ac529ebebea766a09094c2568bf8426e219cb3a1715304ef728d cups-2.1.4-source.tar.gz
shibajee/buildroot
package/cups/cups.hash
hash
mit
120
################################################################################ # # cups # ################################################################################ CUPS_VERSION = 2.1.4 CUPS_SOURCE = cups-$(CUPS_VERSION)-source.tar.gz CUPS_SITE = https://github.com/apple/cups/releases/download/release-$(CUPS_VERSION) CUPS_LICENSE = GPLv2 LGPLv2 CUPS_LICENSE_FILES = LICENSE.txt CUPS_INSTALL_STAGING = YES CUPS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) DSTROOT=$(STAGING_DIR) install CUPS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) DSTROOT=$(TARGET_DIR) install # Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. define CUPS_RUN_AUTOCONF cd $(@D); $(HOST_DIR)/usr/bin/autoconf -f endef CUPS_PRE_CONFIGURE_HOOKS += CUPS_RUN_AUTOCONF CUPS_CONF_OPTS = \ --without-perl \ --without-java \ --without-php \ --disable-gssapi \ --libdir=/usr/lib CUPS_CONFIG_SCRIPTS = cups-config CUPS_DEPENDENCIES = \ host-autoconf \ $(if $(BR2_PACKAGE_ZLIB),zlib) ifeq ($(BR2_PACKAGE_SYSTEMD),y) CUPS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system \ --enable-systemd CUPS_DEPENDENCIES += systemd else CUPS_CONF_OPTS += --disable-systemd endif ifeq ($(BR2_PACKAGE_DBUS),y) CUPS_CONF_OPTS += --enable-dbus CUPS_DEPENDENCIES += dbus else CUPS_CONF_OPTS += --disable-dbus endif ifeq ($(BR2_PACKAGE_GNUTLS),y) CUPS_CONF_OPTS += --enable-gnutls CUPS_DEPENDENCIES += gnutls else CUPS_CONF_OPTS += --disable-gnutls endif ifeq ($(BR2_PACKAGE_PYTHON),y) CUPS_CONF_OPTS += --with-python CUPS_DEPENDENCIES += python else CUPS_CONF_OPTS += --without-python endif ifeq ($(BR2_PACKAGE_LIBUSB),y) CUPS_CONF_OPTS += --enable-libusb CUPS_DEPENDENCIES += libusb else CUPS_CONF_OPTS += --disable-libusb endif ifeq ($(BR2_PACKAGE_LIBPAPER),y) CUPS_CONF_OPTS += --enable-libpaper CUPS_DEPENDENCIES += libpaper else CUPS_CONF_OPTS += --disable-libpaper endif ifeq ($(BR2_PACKAGE_AVAHI),y) CUPS_DEPENDENCIES += avahi CUPS_CONF_OPTS += --enable-avahi else CUPS_CONF_OPTS += --disable-avahi endif $(eval $(autotools-package))
shibajee/buildroot
package/cups/cups.mk
mk
mit
2,034
Borrowed from the curlftpfs_0.9.2-5 Debian package. CURLOPT_INFILESIZE does not support -1 arg. This fix bug #556012. --- curlftpfs-0.9.2/ftpfs.c.old 2009-12-13 14:12:25.000000000 +0100 +++ curlftpfs-0.9.2/ftpfs.c 2009-12-13 14:12:32.000000000 +0100 @@ -503,7 +503,6 @@ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1); - curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);
shibajee/buildroot
package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch
patch
mit
697
Borrowed from the curlftpfs_0.9.2-5 Debian package. Fix a memory leak. See Bug #587250. --- a/ftpfs.c 2008-04-30 01:05:47.000000000 +0200 +++ a/ftpfs.c.slesimple 2010-01-01 22:12:10.000000000 +0100 @@ -615,6 +615,8 @@ static void free_ftpfs_file(struct ftpfs sem_destroy(&fh->data_need); sem_destroy(&fh->data_written); sem_destroy(&fh->ready); + if (fh->buf.size) { buf_free(&fh->buf); } + if (fh->stream_buf.size) { buf_free(&fh->stream_buf); } free(fh); }
shibajee/buildroot
package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch
patch
mit
477
Borrowed from the curlftpfs_0.9.2-5 Debian package. Fix a memory leak when cache is disabled. Closes: #614347. diff -ur curlftpfs-0.9.2/cache.c curlftpfs-0.9.2-olexat/cache.c --- curlftpfs-0.9.2/cache.c 2008-04-30 01:03:09.000000000 +0200 +++ curlftpfs-0.9.2-olexat/cache.c 2011-02-04 16:43:05.000000000 +0100 @@ -25,7 +25,7 @@ time_t last_cleaned; }; -static struct cache cache; +struct cache cache; struct node { struct stat stat; diff -ur curlftpfs-0.9.2/ftpfs-ls.c curlftpfs-0.9.2-olexat/ftpfs-ls.c --- curlftpfs-0.9.2/ftpfs-ls.c 2008-04-23 12:55:41.000000000 +0200 +++ curlftpfs-0.9.2-olexat/ftpfs-ls.c 2011-02-07 17:23:37.000000000 +0100 @@ -25,6 +25,13 @@ #include "charset_utils.h" #include "ftpfs-ls.h" +struct cache { + int on; + char incomplete[]; +}; + +extern struct cache cache; + static int parse_dir_unix(const char *line, struct stat *sbuf, char *file, @@ -243,8 +256,10 @@ reallink = g_strdup(link); } int linksize = strlen(reallink); - cache_add_link(full_path, reallink, linksize+1); - DEBUG(1, "cache_add_link: %s %s\n", full_path, reallink); + if (cache.on) { + cache_add_link(full_path, reallink, linksize+1); + DEBUG(1, "cache_add_link: %s %s\n", full_path, reallink); + } if (linkbuf && linklen) { if (linksize > linklen) linksize = linklen - 1; strncpy(linkbuf, reallink, linksize); @@ -257,8 +272,10 @@ DEBUG(1, "filler: %s\n", file); filler(h, file, &stat_buf); } else { - DEBUG(1, "cache_add_attr: %s\n", full_path); - cache_add_attr(full_path, &stat_buf); + if (cache.on) { + DEBUG(1, "cache_add_attr: %s\n", full_path); + cache_add_attr(full_path, &stat_buf); + } } DEBUG(2, "comparing %s %s\n", name, file);
shibajee/buildroot
package/curlftpfs/0003-nocache-memleak-fix.patch
patch
mit
1,916
Use off_t instead of __off_t __off_t is an internal C library type, which shouldn't be used by applications. It is not defined by the musl C library, so use the public off_t type instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: b/ftpfs.c =================================================================== --- a/ftpfs.c +++ b/ftpfs.c @@ -687,7 +687,7 @@ return ftpfs_getattr(path, &sbuf); } -static __off_t test_size(const char* path) +static off_t test_size(const char* path) { struct stat sbuf; int err = ftpfs_getattr(path, &sbuf); @@ -950,7 +950,7 @@ /* fix openoffice problem, truncating exactly to file length */ - __off_t size = (long long int)test_size(path); + off_t size = (long long int)test_size(path); DEBUG(1, "ftpfs_truncate: %s check filesize=%lld\n", path, (long long int)size); if (offset == size) @@ -978,7 +978,7 @@ } /* fix openoffice problem, truncating exactly to file length */ - __off_t size = test_size(path); + off_t size = test_size(path); DEBUG(1, "ftpfs_ftruncate: %s check filesize=%lld\n", path, (long long int)size); if (offset == size)
shibajee/buildroot
package/curlftpfs/0004-fix-musl-build-off-t.patch
patch
mit
1,171
config BR2_PACKAGE_CURLFTPFS bool "curlftpfs (FUSE)" select BR2_PACKAGE_LIBFUSE select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_LIBCURL depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2 depends on BR2_USE_MMU # libfuse, glib2 depends on !BR2_STATIC_LIBS # libfuse help CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE and libcurl. http://curlftpfs.sourceforge.net/ comment "curlftpfs needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
shibajee/buildroot
package/curlftpfs/Config.in
in
mit
747
# Locally computed: sha256 4eb44739c7078ba0edde177bdd266c4cfb7c621075f47f64c85a06b12b3c6958 curlftpfs-0.9.2.tar.gz
shibajee/buildroot
package/curlftpfs/curlftpfs.hash
hash
mit
117
################################################################################ # # curlftpfs # ################################################################################ CURLFTPFS_VERSION = 0.9.2 CURLFTPFS_SITE = http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/$(CURLFTPFS_VERSION) CURLFTPFS_CONF_ENV = ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config CURLFTPFS_LICENSE = GPLv2 CURLFTPFS_LICENSE_FILES = COPYING CURLFTPFS_DEPENDENCIES = \ libglib2 libfuse openssl libcurl \ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ $(if $(BR2_ENABLE_LOCALE),,libiconv) $(eval $(autotools-package))
shibajee/buildroot
package/curlftpfs/curlftpfs.mk
mk
mit
626
config BR2_PACKAGE_CVS bool "cvs" depends on BR2_USE_WCHAR # needs fork() depends on BR2_USE_MMU select BR2_PACKAGE_NCURSES help Concurrent Versions System - source code revision control tools. http://www.nongnu.org/cvs/ if BR2_PACKAGE_CVS config BR2_PACKAGE_CVS_SERVER bool "server support" help Enable cvs server code endif comment "cvs needs a toolchain w/ wchar" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR
shibajee/buildroot
package/cvs/Config.in
in
mit
440
# From http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cvs/cvs_1.12.13-12%2Bsqueeze1.dsc sha256 b5961c2476b996e5758fa5e22b60af085adca41164cac0d8f68a1d3b49d4e4f1 cvs_1.12.13.orig.tar.gz sha256 d52a9232d9cf36302a150d782fc7e5b6f92f8115505ae8a7dc6acfc83e809d2f cvs_1.12.13-12+squeeze1.diff.gz
shibajee/buildroot
package/cvs/cvs.hash
hash
mit
312
################################################################################ # # cvs # ################################################################################ CVS_VERSION = 1.12.13 CVS_SOURCE = cvs_$(CVS_VERSION).orig.tar.gz CVS_PATCH = cvs_$(CVS_VERSION)-12+squeeze1.diff.gz CVS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cvs CVS_DEPENDENCIES = ncurses CVS_CONF_ENV = cvs_cv_func_printf_ptr=yes CVS_CONFIGURE_ARGS = --disable-old-info-format-support ifeq ($(BR2_PACKAGE_CVS_SERVER),y) CVS_CONFIGURE_ARGS += --enable-server else CVS_CONFIGURE_ARGS += --disable-server endif ifeq ($(BR2_PACKAGE_ZLIB),y) CVS_CONFIGURE_ARGS += --with-external-zlib endif CVS_CONF_OPTS = $(CVS_CONFIGURE_ARGS) define CVS_BZIP_UNPACK $(BZCAT) $(@D)/cvs-$(CVS_VERSION).tar.bz2 | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - rm -f $(@D)/cvs-$(CVS_VERSION).tar.bz2 endef CVS_POST_PATCH_HOOKS += CVS_BZIP_UNPACK ifneq ($(CVS_PATCH),) define CVS_DEBIAN_PATCHES if [ -d $(@D)/debian/patches ]; then \ (cd $(@D)/debian/patches && for i in *; \ do $(SED) 's,^\+\+\+ .*cvs-$(CVS_VERSION)/,+++ cvs-$(CVS_VERSION)/,' $$i; \ done; \ ); \ $(APPLY_PATCHES) $(@D) $(@D)/debian/patches \*; \ fi endef endif CVS_POST_PATCH_HOOKS += CVS_DEBIAN_PATCHES define CVS_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs endef $(eval $(autotools-package))
shibajee/buildroot
package/cvs/cvs.mk
mk
mit
1,400
From 6af678616531eb1f3d3d0a052313ef9d8125bac7 Mon Sep 17 00:00:00 2001 From: "L. Donnie Smith" <donnie.smith@gatech.edu> Date: Thu, 4 Feb 2010 22:53:41 -0500 Subject: [PATCH] fix link options for --as-needed (#90) also fix a couple of includes --- common/include/app.mak | 2 +- common/include/lib.mak.in | 4 ++-- common/include/plugin.mak | 2 +- lswm/Makefile.in | 2 +- python/Makefile.in | 2 +- python/Wiimote.c | 2 +- python/cwiidmodule.c | 2 +- wmdemo/wmdemo.c | 1 + wmgui/Makefile.in | 2 +- wminput/Makefile.in | 2 +- wminput/main.c | 1 + 11 files changed, 12 insertions(+), 10 deletions(-) diff --git a/common/include/app.mak b/common/include/app.mak index f00cf12..c26d0ff 100644 --- a/common/include/app.mak +++ b/common/include/app.mak @@ -10,7 +10,7 @@ DEST_INST_DIR = $(ROOTDIR)$(INST_DIR) all: $(APP_NAME) $(APP_NAME): $(OBJECTS) - $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS) install: $(APP_NAME) install -D $(APP_NAME) $(DEST_INST_DIR)/$(APP_NAME) diff --git a/common/include/lib.mak.in b/common/include/lib.mak.in index 5e81ff3..3afbb14 100644 --- a/common/include/lib.mak.in +++ b/common/include/lib.mak.in @@ -25,8 +25,8 @@ $(STATIC_LIB): $(OBJECTS) ar rcs $(STATIC_LIB) $(OBJECTS) $(SHARED_LIB): $(OBJECTS) - $(CC) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) $(LDLIBS) \ - -o $(SHARED_LIB) $(OBJECTS) + $(CC) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) -o $(SHARED_LIB) \ + $(OBJECTS) $(LDLIBS) install: install_header install_static install_shared diff --git a/common/include/plugin.mak b/common/include/plugin.mak index 0f61502..a2d5c85 100644 --- a/common/include/plugin.mak +++ b/common/include/plugin.mak @@ -16,7 +16,7 @@ DEST_INST_DIR = $(INST_DIR) all: $(LIB_NAME) $(LIB_NAME): $(OBJECTS) - $(CC) -shared $(LDFLAGS) $(LDLIBS) -o $(LIB_NAME) $(OBJECTS) + $(CC) -shared $(LDFLAGS) -o $(LIB_NAME) $(OBJECTS) $(LDLIBS) install: $(LIB_NAME) install -D $(LIB_NAME) $(DEST_INST_DIR)/$(LIB_NAME) diff --git a/lswm/Makefile.in b/lswm/Makefile.in index 79e8b5b..017104f 100644 --- a/lswm/Makefile.in +++ b/lswm/Makefile.in @@ -8,7 +8,7 @@ SOURCES = lswm.c CFLAGS += -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += -lcwiid +LDLIBS += -lcwiid -lbluetooth INST_DIR = @bindir@ include $(COMMON)/include/app.mak diff --git a/python/Makefile.in b/python/Makefile.in index 0d7efdf..0ca57ca 100644 --- a/python/Makefile.in +++ b/python/Makefile.in @@ -7,7 +7,7 @@ ifdef ROOTDIR endif all: - $(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid -lcwiid + $(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid -lcwiid -lbluetooth install: $(PYTHON) setup.py install --install-lib=${libdir}/python@PYTHON_VERSION@/site-packages $(SET_ROOT_DIR) diff --git a/python/Wiimote.c b/python/Wiimote.c index 794e7e2..523185e 100644 --- a/python/Wiimote.c +++ b/python/Wiimote.c @@ -24,7 +24,7 @@ #include "structmember.h" #include <errno.h> #include <bluetooth/bluetooth.h> -#include "cwiid.h" +#include <cwiid.h> #if (PY_VERSION_HEX < 0x02050000) #ifndef PY_SSIZE_T_MIN diff --git a/python/cwiidmodule.c b/python/cwiidmodule.c index f6a8f33..a01ed82 100644 --- a/python/cwiidmodule.c +++ b/python/cwiidmodule.c @@ -24,7 +24,7 @@ #include <stdlib.h> -#include "cwiid.h" +#include <cwiid.h> #include "structmember.h" /* externally defined types */ diff --git a/wmdemo/wmdemo.c b/wmdemo/wmdemo.c index 70a25a1..b7aaa7f 100644 --- a/wmdemo/wmdemo.c +++ b/wmdemo/wmdemo.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <stdlib.h> +#include <bluetooth/bluetooth.h> #include <cwiid.h> /* This is a sample program written to demonstrate basic CWiid libwiimote diff --git a/wmgui/Makefile.in b/wmgui/Makefile.in index 41b205e..14d1c1e 100644 --- a/wmgui/Makefile.in +++ b/wmgui/Makefile.in @@ -8,7 +8,7 @@ SOURCES = main.c interface.c support.c CFLAGS += @GTK_CFLAGS@ -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += @GTK_LIBS@ -lm -lcwiid +LDLIBS += @GTK_LIBS@ -lcwiid -lbluetooth -lm INST_DIR = @bindir@ include $(COMMON)/include/app.mak diff --git a/wminput/Makefile.in b/wminput/Makefile.in index 009d4d5..d3c3679 100644 --- a/wminput/Makefile.in +++ b/wminput/Makefile.in @@ -14,7 +14,7 @@ CFLAGS += -I@top_builddir@/libcwiid \ -DWMINPUT_CONFIG_DIR=\"$(WMINPUT_CONFIG_DIR)\" \ -DCWIID_PLUGINS_DIR=\"$(CWIID_PLUGINS_DIR)\" -LDLIBS += -lcwiid -ldl +LDLIBS += -lcwiid -lbluetooth -ldl -lpthread LDFLAGS += -L@top_builddir@/libcwiid -rdynamic INST_DIR = @bindir@ diff --git a/wminput/main.c b/wminput/main.c index c3a7445..bbc98d9 100644 --- a/wminput/main.c +++ b/wminput/main.c @@ -30,6 +30,7 @@ #include <signal.h> #include <sys/types.h> #include <unistd.h> +#include <bluetooth/bluetooth.h> #include <cwiid.h> -- 1.8.5.2
shibajee/buildroot
package/cwiid/0001-fix-link-options-for-as-needed-90.patch
patch
mit
4,978
From c5dd7d4a9af5a7d8ead8ad26d9e5e0f8f8292d29 Mon Sep 17 00:00:00 2001 From: "L. Donnie Smith" <donnie.smith@gatech.edu> Date: Sun, 30 Nov 2008 22:34:08 +0000 Subject: [PATCH] Update for BlueZ changes. git-svn-id: http://abstrakraft.org/cwiid/svn/trunk@183 918edb2d-ff29-0410-9de2-eb38e7f22bc7 --- libcwiid/bluetooth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcwiid/bluetooth.c b/libcwiid/bluetooth.c index 63284a8..e986f75 100644 --- a/libcwiid/bluetooth.c +++ b/libcwiid/bluetooth.c @@ -122,8 +122,8 @@ int cwiid_get_bdinfo_array(int dev_id, unsigned int timeout, int max_bdinfo, } /* timeout (10000) in milliseconds */ - if (hci_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, - (*bdinfo)[bdinfo_count].name, 10000)) { + if (hci_read_remote_name(sock, &dev_list[i].bdaddr, BT_NAME_LEN, + (*bdinfo)[bdinfo_count].name, 10000)) { cwiid_err(NULL, "Bluetooth name read error"); err = 1; goto CODA; -- 1.8.5.2
shibajee/buildroot
package/cwiid/0002-Update-for-BlueZ-changes.patch
patch
mit
1,019
From af6bffb5b8b71e99e0f9bbbd2cf1fbd695a643c2 Mon Sep 17 00:00:00 2001 From: Samuel Martin <s.martin49@gmail.com> Date: Sat, 8 Dec 2012 13:32:40 +0100 Subject: [PATCH 1/2] wmdemo: fix linking by adding the missing -lbluetooth to LDLIBS Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- wmdemo/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmdemo/Makefile.in b/wmdemo/Makefile.in index 56aed58..1eccc02 100644 --- a/wmdemo/Makefile.in +++ b/wmdemo/Makefile.in @@ -8,7 +8,7 @@ SOURCES = wmdemo.c CFLAGS += -I@top_builddir@/libcwiid LDFLAGS += -L@top_builddir@/libcwiid -LDLIBS += -lcwiid +LDLIBS += -lcwiid -lbluetooth INST_DIR = @bindir@ include $(COMMON)/include/app.mak -- 1.8.5.2
shibajee/buildroot
package/cwiid/0003-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch
patch
mit
735
From dbb578450974db5decc24560da4aeaed838849a1 Mon Sep 17 00:00:00 2001 From: Samuel Martin <s.martin49@gmail.com> Date: Thu, 2 Jan 2014 14:03:07 +0100 Subject: [PATCH 2/2] configure: make wmgui build optional So, make gtk-2 and glib2 dependencies optional (only needed by wmgui) Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- Makefile.in | 2 +- configure.ac | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 6d3ac98..3d2fb45 100644 --- a/Makefile.in +++ b/Makefile.in @@ -3,7 +3,7 @@ include @top_builddir@/defs.mak LIB_DIRS = libcwiid -BIN_DIRS = wmgui wminput lswm +BIN_DIRS = @WMGUI@ wminput lswm DOC_DIRS = man doc ifdef PYTHON BIND_DIRS = python diff --git a/configure.ac b/configure.ac index 82ca3e1..d146cb6 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,11 @@ if test "$YACC" != "bison -y"; then AC_MSG_ERROR([bison not found]) fi +AC_ARG_ENABLE( + [wmgui], + [AS_HELP_STRING([--disable-wmgui],[Do not build wmgui binary (also drop the gtk-2/glib2 dependency)])], + [ENABLE_WMGUI="$enableval"],[ENABLE_WMGUI=yes]) + AC_ARG_WITH( [python], [AS_HELP_STRING([--without-python],[compile without python support])], @@ -98,10 +103,14 @@ else fi AC_SUBST(LDCONFIG) -pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" -PKG_CHECK_MODULES([GTK], [$pkg_modules]) -AC_SUBST(GTK_CFLAGS) -AC_SUBST(GTK_LIBS) +AS_IF( + [test "x$ENABLE_WMGUI" = xyes], + [pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" ; + PKG_CHECK_MODULES([GTK], [$pkg_modules]) + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) + AC_SUBST(WMGUI, wmgui)] +) AC_OUTPUT( [Makefile] -- 1.8.5.2
shibajee/buildroot
package/cwiid/0004-configure-make-wmgui-build-optional.patch
patch
mit
1,659
config BR2_PACKAGE_CWIID bool "cwiid" depends on !BR2_STATIC_LIBS # bluez_utils depends on BR2_USE_WCHAR # bluez_utils -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus, alsa-lib, libglib2 depends on BR2_USE_MMU # bluez_utils -> dbus, libglib2 select BR2_PACKAGE_BLUEZ_UTILS help A collection of Linux tools written in C for interfacing to the Nintendo Wiimote. http://abstrakraft.org/cwiid/ if BR2_PACKAGE_CWIID config BR2_PACKAGE_CWIID_WMGUI bool "wmgui" depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3 -> pango -> harfbuzz depends on BR2_PACKAGE_XORG7 # libgtk2 depends on BR2_USE_WCHAR # libgtk2 -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2 depends on BR2_USE_MMU # libgtk2 -> libglib2 depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_LIBGTK2 endif comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar" depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_USE_MMU
shibajee/buildroot
package/cwiid/Config.in
in
mit
1,042
# Locally calculated sha256 8880378303d872ea65b037184ad6c96bc68f87764b503c152032f56344b5e81d cwiid-0.6.00.tgz
shibajee/buildroot
package/cwiid/cwiid.hash
hash
mit
110
################################################################################ # # cwiid # ################################################################################ CWIID_VERSION = 0.6.00 CWIID_SOURCE = cwiid-$(CWIID_VERSION).tgz CWIID_SITE = http://abstrakraft.org/cwiid/downloads CWIID_LICENSE = GPLv2+ CWIID_LICENSE_FILES = COPYING CWIID_AUTORECONF = YES CWIID_INSTALL_STAGING = YES CWIID_DEPENDENCIES = host-pkgconf host-bison host-flex bluez_utils # Disable python support. This disables the 2 following things: # - wminput Python plugin support # - cwiid Python module CWIID_CONF_OPTS = --without-python --disable-ldconfig ifeq ($(BR2_PACKAGE_CWIID_WMGUI),y) CWIID_DEPENDENCIES += libgtk2 libglib2 CWIID_CONF_OPTS += --enable-wmgui else CWIID_CONF_OPTS += --disable-wmgui endif $(eval $(autotools-package))
shibajee/buildroot
package/cwiid/cwiid.mk
mk
mit
832
config BR2_PACKAGE_CXXTEST bool "cxxtest" depends on BR2_INSTALL_LIBSTDCPP help CxxTest is a unit testing framework for C++ http://cxxtest.com/ comment "cxxtest needs a toolchain w/ C++ support" depends on !BR2_INSTALL_LIBSTDCPP
shibajee/buildroot
package/cxxtest/Config.in
in
mit
241
# Locally computed: sha256 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 cxxtest-4.4.tar.gz
shibajee/buildroot
package/cxxtest/cxxtest.hash
hash
mit
111
####################################################################################### # # cxxtest # ####################################################################################### CXXTEST_VERSION = 4.4 CXXTEST_SITE = https://github.com/CxxTest/cxxtest/releases/download/$(CXXTEST_VERSION) CXXTEST_LICENSE = LGPLv3 CXXTEST_LICENSE_FILES = COPYING CXXTEST_INSTALL_STAGING = YES CXXTEST_INSTALL_TARGET = NO CXXTEST_DEPENDENCIES = host-cxxtest HOST_CXXTEST_SETUP_TYPE = setuptools HOST_CXXTEST_SUBDIR = python # Copy CxxTest header files to staging directory define CXXTEST_INSTALL_STAGING_CMDS $(INSTALL) -m 755 -d $(STAGING_DIR)/usr/include/cxxtest $(INSTALL) -m 644 -t $(STAGING_DIR)/usr/include/cxxtest $(@D)/cxxtest/* endef # CxxTest uses python infrastructure as the build system. It consists of two parts: # 1. cxxtestgen tool to process tests defined in header files to generate C++ source # files. cxxtestgen is built as a host package, so that it can be used natively. # 2. A set of header files which are installed in staging directory. This will be # used in cross-compiling test harness to generate executable which will run on target. $(eval $(generic-package)) $(eval $(host-python-package))
shibajee/buildroot
package/cxxtest/cxxtest.mk
mk
mit
1,219
config BR2_PACKAGE_CZMQ bool "czmq" select BR2_PACKAGE_ZEROMQ depends on BR2_USE_MMU # fork() depends on BR2_INSTALL_LIBSTDCPP # zeromq depends on BR2_USE_WCHAR # util-linux depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq help High-level C Binding for 0MQ http://czmq.zeromq.org/ comment "czmq needs a toolchain w/ C++, wchar, threads" depends on BR2_USE_MMU depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \ BR2_TOOLCHAIN_HAS_THREADS)
shibajee/buildroot
package/czmq/Config.in
in
mit
460
# Locally calculated sha256 5c76de41f736f0c059e0b26174ef99200f2aba2fa38333683dbe4944b2f80555 czmq-5205ec201e97c3a652c17eb86b18b70350b54512.tar.gz
shibajee/buildroot
package/czmq/czmq.hash
hash
mit
146
################################################################################ # # czmq # ################################################################################ CZMQ_VERSION = 5205ec201e97c3a652c17eb86b18b70350b54512 CZMQ_SITE = $(call github,zeromq,czmq,$(CZMQ_VERSION)) # Autoreconf required as we use the git tree CZMQ_AUTORECONF = YES CZMQ_INSTALL_STAGING = YES CZMQ_DEPENDENCIES = zeromq host-pkgconf CZMQ_LICENSE = MPLv2.0 CZMQ_LICENSE_FILES = LICENSE # asciidoc is a python script that imports unicodedata, which is not in # host-python, so disable asciidoc entirely. CZMQ_CONF_ENV = ac_cv_prog_czmq_have_asciidoc=no define CZMQ_CREATE_CONFIG_DIR mkdir -p $(@D)/config endef CZMQ_POST_PATCH_HOOKS += CZMQ_CREATE_CONFIG_DIR $(eval $(autotools-package))
shibajee/buildroot
package/czmq/czmq.mk
mk
mit
778
config BR2_PACKAGE_DADO bool "dado" help Database Facilities for LuaSQL. http://www.ccpa.puc-rio.br/software/dado/
shibajee/buildroot
package/dado/Config.in
in
mit
124
# Locally calculated sha256 b7a68583c36643ad9040937d7e2b99230af7da83c7cbd13c9923881f1eb7490f dado-1.6.0-1.src.rock
shibajee/buildroot
package/dado/dado.hash
hash
mit
116
################################################################################ # # dado # ################################################################################ DADO_VERSION = 1.6.0-1 DADO_LICENSE = MIT $(eval $(luarocks-package))
shibajee/buildroot
package/dado/dado.mk
mk
mit
245
Signal handling for sparc is broken, fix it. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> --- dante-1.4.1.orig/lib/tostring.c 2014-08-21 18:21:50.000000000 +0200 +++ dante-1.4.1/lib/tostring.c 2016-07-10 10:08:39.785662622 +0200 @@ -1526,7 +1526,7 @@ signal2string(sig) return "SIGKILL"; #endif /* SIGKILL */ -#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT) +#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR) case SIGLOST: return "SIGLOST"; #endif /* SIGLOST */ @@ -1551,7 +1551,7 @@ signal2string(sig) return "SIGPROF"; #endif /* SIGPROF */ -#ifdef SIGPWR +#if (defined SIGPWR) && SIGPWR != SIGLOST case SIGPWR: return "SIGPWR"; #endif /* SIGPWR */
shibajee/buildroot
package/dante/0001-fix-sparc-compile.patch
patch
mit
775
From c00e284dd2baa5ecdb0c9586044399cd7cacce3e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Mon, 8 Aug 2016 12:31:40 +0200 Subject: [PATCH] compiler.m4: do not remove -g flag A sed expression such as 's/-g//' not only removes the -g debugging-related flag, but also turns more specific flags such as -mfloat-gprs=double into -mfloatprs=double, which is no longer a valid flag. However, it turns out that removing -g is not necessary: having -g0 after -g negates the -g, and having -ggdb after -g is enough to produce debugging information for GDB. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- compiler.m4 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/compiler.m4 b/compiler.m4 index 3a23406..621372c 100644 --- a/compiler.m4 +++ b/compiler.m4 @@ -378,15 +378,9 @@ else gcc) if test x"$aixldbug" != x; then #disable debug info - if echo $CFLAGS | grep -- "-g" >/dev/null; then - CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`" - fi CFLAGS="$CFLAGS${CFLAGS:+ }-g0" else #use -ggdb also when not debugging - if echo $CFLAGS | grep -- "-g" >/dev/null; then - CFLAGS="`echo $CFLAGS | sed -e 's/-g//g'`" - fi CFLAGS="$CFLAGS${CFLAGS:+ }-ggdb" fi ;; -- 2.7.4
shibajee/buildroot
package/dante/0002-compiler.m4-do-not-remove-g-flag.patch
patch
mit
1,298
config BR2_PACKAGE_DANTE bool "dante" depends on BR2_USE_MMU # fork() help Dante is a product developed by Inferno Nettverk A/S. It consists of a SOCKS server and a SOCKS client, implementing RFC 1928 and related standards. It is a flexible product that can be used to provide convenient and secure network connectivity. http://www.inet.no/dante/
shibajee/buildroot
package/dante/Config.in
in
mit
369
#!/bin/sh # # Starts dante # # Allow a few customizations from a config file test -r /etc/default/dante && . /etc/default/dante start() { printf "Starting dante: " start-stop-daemon -S -q -p /var/run/dante.pid \ --exec /usr/sbin/sockd -- $DAEMON_ARGS [ $? = 0 ] && echo "OK" || echo "FAIL" } stop() { printf "Stopping dante: " start-stop-daemon -K -q -p /var/run/dante.pid [ $? = 0 ] && echo "OK" || echo "FAIL" } 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/dante/S50dante
none
mit
600
# Locally computed sha256 b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53 dante-1.4.1.tar.gz
shibajee/buildroot
package/dante/dante.hash
hash
mit
110
################################################################################ # # dante # ################################################################################ DANTE_VERSION = 1.4.1 DANTE_SITE = http://www.inet.no/dante/files DANTE_LICENSE = BSD-3c DANTE_LICENSE_FILES = LICENSE # Dante uses a *VERY* old configure.ac DANTE_LIBTOOL_PATCH = NO DANTE_CONF_OPTS += --disable-client --disable-preload define DANTE_INSTALL_CONFIG_FILE $(INSTALL) -D -m 644 $(@D)/example/sockd.conf \ $(TARGET_DIR)/etc/sockd.conf endef DANTE_POST_INSTALL_TARGET_HOOKS += DANTE_INSTALL_CONFIG_FILE define DANTE_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/dante/dante.service \ $(TARGET_DIR)/usr/lib/systemd/system/dante.service endef define DANTE_INSTALL_INIT_SYSV $(INSTALL) -D -m 755 package/dante/S50dante \ $(TARGET_DIR)/etc/init.d/S50dante endef $(eval $(autotools-package))
shibajee/buildroot
package/dante/dante.mk
mk
mit
893
[Unit] Description=SOCKS v4 and v5 compatible proxy server and client Requires=network.target After=network.target [Service] Type=forking EnvironmentFile=-/etc/default/dante PIDFile=/run/dante.pid ExecStart=/usr/sbin/sockd -D -p /run/dante.pid $DAEMON_ARGS ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target
shibajee/buildroot
package/dante/dante.service
service
mit
346
[PATCH] Don't include config.h when building helpers using the native compiler config.h contains settings for the cross compiler (most importantly 32/64bit versions of functions), so don't include it when calling the native compiler to build the helpers. Otherwise we get build errors like: /usr/bin/gcc -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mkinit mkinit.c In file included from /usr/include/sys/stat.h:107, from /usr/include/fcntl.h:38, from mkinit.c:50: /usr/include/bits/stat.h:117: error: redefinition of ‘struct stat’ In file included from /usr/include/fcntl.h:38, from mkinit.c:50: /usr/include/sys/stat.h:504: error: redefinition of ‘stat’ /usr/include/sys/stat.h:455: note: previous definition of ‘stat’ was here Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> --- src/Makefile.in | 1 - 1 file changed, 1 deletion(-) Index: dash-0.5.5.1/src/Makefile.in =================================================================== --- dash-0.5.5.1.orig/src/Makefile.in +++ dash-0.5.5.1/src/Makefile.in @@ -165,7 +165,6 @@ COMMON_CPPFLAGS = \ AM_CFLAGS = $(COMMON_CFLAGS) AM_CPPFLAGS = $(COMMON_CPPFLAGS) AM_CFLAGS_FOR_BUILD = -g -O2 $(COMMON_CFLAGS) -AM_CPPFLAGS_FOR_BUILD = $(COMMON_CPPFLAGS) COMPILE_FOR_BUILD = \ $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) \ $(AM_CFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)
shibajee/buildroot
package/dash/0001-no-config.h-for-helpers.patch
patch
mit
1,441
config BR2_PACKAGE_DASH bool "dash" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help The Debian/Linux port of the NetBSD version of ash (the Almquist SHell). http://gondor.apana.org.au/~herbert/dash
shibajee/buildroot
package/dash/Config.in
in
mit
244
# From http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.8-1.dsc sha256 c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f dash_0.5.8.orig.tar.gz sha256 d751769cc1ef8b825a177e782f1cd3e35bde7c268107fa4febf8d235e12c64d9 dash_0.5.8-1.diff.gz
shibajee/buildroot
package/dash/dash.hash
hash
mit
258
################################################################################ # # dash # ################################################################################ DASH_VERSION = 0.5.8 DASH_SOURCE = dash_$(DASH_VERSION).orig.tar.gz DASH_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/d/dash DASH_PATCH = dash_$(DASH_VERSION)-1.diff.gz DASH_LICENSE = BSD-3c, GPLv2+ (mksignames.c) DASH_LICENSE_FILES = COPYING define DASH_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 $(@D)/src/dash $(TARGET_DIR)/bin/dash endef $(eval $(autotools-package))
shibajee/buildroot
package/dash/dash.mk
mk
mit
575
config BR2_PACKAGE_DAWGDIC bool "dawgdic" depends on BR2_INSTALL_LIBSTDCPP # needs std::strtoll depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 help dawgdic provides a library for building and accessing dictionaries implemented with directed acyclic word graphs (DAWG). A dawg is constructed by minimizing a trie as a deterministic finite automaton (DFA), and thus the dawg has an advantage in memory usage. In addition, dawgdic uses a double-array as a base data structure, so its retrieval speed is as fast as that of Darts, a library for building and accessing double-array tries. https://github.com/stil/dawgdic comment "dawgdic needs a toolchain w/ C++, gcc >= 4.6" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
shibajee/buildroot
package/dawgdic/Config.in
in
mit
769
# Locally calculated sha256 54622a3e79ff3ad2c01a830ec52b997b42ead468b18af5acebab3a4ff32a5ad6 dawgdic-16ac537ba9883ff01b63b6d1fdc3072150c68fee.tar.gz
shibajee/buildroot
package/dawgdic/dawgdic.hash
hash
mit
150
################################################################################ # # dawgdic # ################################################################################ DAWGDIC_VERSION = 16ac537ba9883ff01b63b6d1fdc3072150c68fee DAWGDIC_SITE = $(call github,stil,dawgdic,$(DAWGDIC_VERSION)) DAWGDIC_LICENSE = BSD-3c DAWGDIC_LICENSE_FILES = COPYING DAWGDIC_AUTORECONF = YES DAWGDIC_INSTALL_STAGING = YES $(eval $(autotools-package))
shibajee/buildroot
package/dawgdic/dawgdic.mk
mk
mit
440
Fix build failure with gcc 4.7+ From bugtracker: http://sourceforge.net/p/dbus-cplusplus/patches/13/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff --git a/include/dbus-c++/eventloop-integration.h b/include/dbus-c++/eventloop-integration.h index 1b0302e..3e44304 100644 --- a/include/dbus-c++/eventloop-integration.h +++ b/include/dbus-c++/eventloop-integration.h @@ -26,6 +26,7 @@ #define __DBUSXX_EVENTLOOP_INTEGRATION_H #include <errno.h> +#include <unistd.h> #include "api.h" #include "dispatcher.h" #include "util.h"
shibajee/buildroot
package/dbus-cpp/0001-gcc4.7.patch
patch
mit
547
Use CXXFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for the tools since expat may not be living in the default include & library path. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> diff -Nura libdbus-c++-0.9.0.orig/configure.ac libdbus-c++-0.9.0/configure.ac --- libdbus-c++-0.9.0.orig/configure.ac 2014-01-05 15:28:03.653886567 -0300 +++ libdbus-c++-0.9.0/configure.ac 2014-01-05 15:44:32.571172225 -0300 @@ -65,7 +65,11 @@ AC_PROG_CXX CXX_FOR_BUILD=${CXX_FOR_BUILD-${CXX}} +CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} +LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} AC_SUBST(CXX_FOR_BUILD) +AC_SUBST(CXXFLAGS_FOR_BUILD) +AC_SUBST(LDFLAGS_FOR_BUILD) AM_PROG_LIBTOOL diff -Nura libdbus-c++-0.9.0.orig/tools/Makefile.am libdbus-c++-0.9.0/tools/Makefile.am --- libdbus-c++-0.9.0.orig/tools/Makefile.am 2014-01-05 15:28:03.652886535 -0300 +++ libdbus-c++-0.9.0/tools/Makefile.am 2014-01-05 15:44:42.071482390 -0300 @@ -1,6 +1,8 @@ # hacky, but ... CXX = $(CXX_FOR_BUILD) +CXXFLAGS = $(CXXFLAGS_FOR_BUILD) +LDFLAGS = $(LDFLAGS_FOR_BUILD) AM_CPPFLAGS = \ $(dbus_CFLAGS) \
shibajee/buildroot
package/dbus-cpp/0002-cxxflags-ldflags-for-build.patch
patch
mit
1,105
config BR2_PACKAGE_DBUS_CPP bool "dbus-c++" depends on BR2_PACKAGE_DBUS depends on BR2_TOOLCHAIN_HAS_THREADS # dbus depends on BR2_USE_MMU # dbus depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_TOOLCHAIN_USES_MUSL # no PTHREAD_RECURSIVE_MUTEX_* select BR2_PACKAGE_EXPAT help dbus-c++ attempts to provide a C++ API for D-BUS. The library has a glib/gtk and an Ecore mainloop integration. It also offers an optional own main loop. http://sourceforge.net/projects/dbus-cplusplus/ comment "dbus-c++ needs a uClibc or glibc toolchain w/ C++, threads" depends on BR2_USE_MMU depends on BR2_PACKAGE_DBUS depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ || BR2_TOOLCHAIN_USES_MUSL
shibajee/buildroot
package/dbus-cpp/Config.in
in
mit
718
# Locally computed: sha256 bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61 libdbus-c++-0.9.0.tar.gz
shibajee/buildroot
package/dbus-cpp/dbus-cpp.hash
hash
mit
119
################################################################################ # # dbus-cpp # ################################################################################ DBUS_CPP_VERSION = 0.9.0 DBUS_CPP_SITE = http://downloads.sourceforge.net/project/dbus-cplusplus/dbus-c++/$(DBUS_CPP_VERSION) DBUS_CPP_SOURCE = libdbus-c++-$(DBUS_CPP_VERSION).tar.gz DBUS_CPP_INSTALL_STAGING = YES # expat is required for the tools irrespective of dbus xml backend DBUS_CPP_DEPENDENCIES = host-dbus-cpp host-pkgconf dbus expat HOST_DBUS_CPP_DEPENDENCIES = host-pkgconf host-dbus host-expat DBUS_CPP_CONF_OPTS = \ --disable-examples \ --disable-tests \ --disable-doxygen-docs \ --with-build-libdbus-cxx=$(HOST_DBUS_CPP_BUILDDIR) HOST_DBUS_CPP_CONF_OPTS = \ --disable-examples \ --disable-tests \ --disable-doxygen-docs \ --disable-ecore \ --disable-glib DBUS_CPP_AUTORECONF = YES DBUS_CPP_LICENSE = LGPLv2.1+ DBUS_CPP_LICENSE_FILES = COPYING ifeq ($(BR2_PACKAGE_EFL),y) DBUS_CPP_CONF_OPTS += --enable-ecore DBUS_CPP_DEPENDENCIES += efl else DBUS_CPP_CONF_OPTS += --disable-ecore endif ifeq ($(BR2_PACKAGE_LIBGLIB2),y) DBUS_CPP_CONF_OPTS += --enable-glib DBUS_CPP_DEPENDENCIES += libglib2 else DBUS_CPP_CONF_OPTS += --disable-glib endif $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/dbus-cpp/dbus-cpp.mk
mk
mit
1,304
config BR2_PACKAGE_DBUS_GLIB bool "dbus-glib" depends on BR2_PACKAGE_DBUS depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_USE_MMU # glib2 select BR2_PACKAGE_LIBGLIB2 help GLib bindings for D-Bus. http://www.freedesktop.org/software/dbus comment "dbus-glib needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on BR2_PACKAGE_DBUS depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/dbus-glib/Config.in
in
mit
463
# Locally calculated after checking pgp signature sha256 b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046 dbus-glib-0.106.tar.gz
shibajee/buildroot
package/dbus-glib/dbus-glib.hash
hash
mit
146
################################################################################ # # dbus-glib # ################################################################################ DBUS_GLIB_VERSION = 0.106 DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib DBUS_GLIB_INSTALL_STAGING = YES DBUS_GLIB_LICENSE = AFLv2.1, GPLv2+ DBUS_GLIB_LICENSE_FILES = COPYING DBUS_GLIB_CONF_ENV = \ ac_cv_have_abstract_sockets=yes \ ac_cv_func_posix_getpwnam_r=yes \ have_abstract_sockets=yes DBUS_GLIB_CONF_OPTS = \ --disable-tests \ --disable-xml-docs \ --with-introspect-xml=$(DBUS_HOST_INTROSPECT) \ --with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \ --disable-bash-completion \ --disable-doxygen-docs \ --enable-asserts=yes DBUS_GLIB_DEPENDENCIES = host-pkgconf dbus host-dbus host-dbus-glib libglib2 expat HOST_DBUS_GLIB_DEPENDENCIES = host-dbus host-expat host-libglib2 HOST_DBUS_GLIB_CONF_OPTS = \ --disable-tests \ --disable-xml-docs \ --disable-bash-completion \ --disable-doxygen-docs \ --enable-asserts=yes $(eval $(autotools-package)) $(eval $(host-autotools-package)) # dbus-glib for the host DBUS_GLIB_HOST_BINARY = $(HOST_DIR)/usr/bin/dbus-binding-tool
shibajee/buildroot
package/dbus-glib/dbus-glib.mk
mk
mit
1,187
config BR2_PACKAGE_DBUS_PYTHON bool "dbus-python" depends on BR2_USE_WCHAR # glib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 depends on BR2_PACKAGE_DBUS depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_DBUS_GLIB # pyexpat: runtime dependency only select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 help Python bindings for D-Bus http://dbus.freedesktop.org/doc/dbus-python/ comment "dbus-python needs a toolchain w/ wchar, threads" depends on BR2_PACKAGE_DBUS && (BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/dbus-python/Config.in
in
mit
672
# Locally calculated after checking pgp signature sha256 e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc dbus-python-1.2.4.tar.gz
shibajee/buildroot
package/dbus-python/dbus-python.hash
hash
mit
147
################################################################################ # # dbus-python # ################################################################################ DBUS_PYTHON_VERSION = 1.2.4 DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python DBUS_PYTHON_INSTALL_STAGING = YES DBUS_PYTHON_LICENSE = MIT DBUS_PYTHON_LICENSE_FILES = COPYING DBUS_PYTHON_DEPENDENCIES = dbus-glib DBUS_PYTHON_CONF_OPTS = --disable-html-docs --disable-api-docs ifeq ($(BR2_PACKAGE_PYTHON),y) DBUS_PYTHON_DEPENDENCIES += python host-python DBUS_PYTHON_CONF_ENV += \ PYTHON=$(HOST_DIR)/usr/bin/python2 \ PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" else DBUS_PYTHON_DEPENDENCIES += python3 host-python3 DBUS_PYTHON_CONF_ENV += \ PYTHON=$(HOST_DIR)/usr/bin/python3 \ PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" endif $(eval $(autotools-package))
shibajee/buildroot
package/dbus-python/dbus-python.mk
mk
mit
1,046
config BR2_PACKAGE_DBUS_TRIGGERD bool "dbus-triggerd" depends on BR2_USE_MMU # fork(), dbus depends on BR2_TOOLCHAIN_HAS_THREADS # dbus depends on BR2_PACKAGE_DBUS help dbus-triggerd is a tool to trigger shell-commands upon receiving a given dbus-signal. http://gareus.org/oss/dbustriggerd/start comment "dbus-triggerd needs a toolchain w/ threads" depends on BR2_USE_MMU depends on BR2_PACKAGE_DBUS depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/dbus-triggerd/Config.in
in
mit
457
################################################################################ # # dbus-triggerd # ################################################################################ DBUS_TRIGGERD_VERSION = ba3dbec805cb707c94c54de21666bf18b79bcc09 DBUS_TRIGGERD_SITE = git://rg42.org/dbustriggerd.git DBUS_TRIGGERD_LICENSE = GPLv2+ DBUS_TRIGGERD_DEPENDENCIES = host-pkgconf dbus define DBUS_TRIGGERD_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all endef define DBUS_TRIGGERD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install endef $(eval $(generic-package))
shibajee/buildroot
package/dbus-triggerd/dbus-triggerd.mk
mk
mit
629
config BR2_PACKAGE_DBUS bool "dbus" depends on BR2_TOOLCHAIN_HAS_THREADS # uses fork() depends on BR2_USE_MMU select BR2_PACKAGE_EXPAT help The D-Bus message bus system. http://www.freedesktop.org/wiki/Software/dbus comment "dbus needs a toolchain w/ threads" depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS
shibajee/buildroot
package/dbus/Config.in
in
mit
337
#!/bin/sh # # messagebus: The D-BUS systemwide message bus # # chkconfig: 345 97 03 # description: This is a daemon which broadcasts notifications of system events \ # and other messages. See http://www.freedesktop.org/software/dbus/ # # processname: dbus-daemon # pidfile: /var/run/messagebus.pid # # Sanity checks. [ -x /usr/bin/dbus-daemon ] || exit 0 # Create needed directories. [ -d /var/run/dbus ] || mkdir -p /var/run/dbus [ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys [ -d /tmp/dbus ] || mkdir -p /tmp/dbus RETVAL=0 start() { printf "Starting system message bus: " dbus-uuidgen --ensure dbus-daemon --system RETVAL=$? echo "done" [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbus-daemon } stop() { printf "Stopping system message bus: " ## we don't want to kill all the per-user $processname, we want ## to use the pid file *only*; because we use the fake nonexistent ## program name "$servicename" that should be safe-ish killall dbus-daemon RETVAL=$? echo "done" if [ $RETVAL -eq 0 ]; then rm -f /var/lock/subsys/dbus-daemon rm -f /var/run/messagebus.pid fi } # See how we were called. case "$1" in start) start ;; stop) stop ;; status) status $processname RETVAL=$? ;; restart) stop start ;; condrestart) if [ -f /var/lock/subsys/$servicename ]; then stop start fi ;; reload) echo "Message bus can't reload its configuration, you have to restart it" RETVAL=$? ;; *) echo "Usage: $0 {start|stop|status|restart|condrestart|reload}" ;; esac exit $RETVAL
shibajee/buildroot
package/dbus/S30dbus
none
mit
1,767
# Locally calculated after checking pgp signature sha256 baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014 dbus-1.10.8.tar.gz
shibajee/buildroot
package/dbus/dbus.hash
hash
mit
142
################################################################################ # # dbus # ################################################################################ DBUS_VERSION = 1.10.8 DBUS_SITE = http://dbus.freedesktop.org/releases/dbus DBUS_LICENSE = AFLv2.1 or GPLv2+ (library, tools), GPLv2+ (tools) DBUS_LICENSE_FILES = COPYING DBUS_INSTALL_STAGING = YES define DBUS_PERMISSIONS /usr/libexec/dbus-daemon-launch-helper f 4755 0 0 - - - - - endef define DBUS_USERS dbus -1 dbus -1 * /var/run/dbus - dbus DBus messagebus user endef DBUS_DEPENDENCIES = host-pkgconf expat DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes DBUS_CONF_OPTS = \ --with-dbus-user=dbus \ --disable-tests \ --disable-asserts \ --enable-abstract-sockets \ --disable-selinux \ --disable-xml-docs \ --disable-doxygen-docs \ --disable-dnotify \ --with-xml=expat \ --with-system-socket=/var/run/dbus/system_bus_socket \ --with-system-pid-file=/var/run/messagebus.pid \ --with-init-scripts=none ifeq ($(BR2_STATIC_LIBS),y) DBUS_CONF_OPTS += LIBS='-pthread' endif ifeq ($(BR2_microblaze),y) # microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h DBUS_CONF_OPTS += --disable-inotify endif ifeq ($(BR2_PACKAGE_LIBSELINUX),y) DBUS_CONF_OPTS += --enable-selinux DBUS_DEPENDENCIES += libselinux else DBUS_CONF_OPTS += --disable-selinux endif ifeq ($(BR2_PACKAGE_AUDIT)$(BR2_PACKAGE_LIBCAP_NG),yy) DBUS_CONF_OPTS += --enable-libaudit DBUS_DEPENDENCIES += audit libcap-ng else DBUS_CONF_OPTS += --disable-libaudit endif ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) DBUS_CONF_OPTS += --with-x DBUS_DEPENDENCIES += xlib_libX11 ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y) DBUS_DEPENDENCIES += xlib_libSM endif else DBUS_CONF_OPTS += --without-x endif ifeq ($(BR2_INIT_SYSTEMD),y) DBUS_CONF_OPTS += \ --enable-systemd \ --with-systemdsystemunitdir=/usr/lib/systemd/system DBUS_DEPENDENCIES += systemd else DBUS_CONF_OPTS += --disable-systemd endif # fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink) define DBUS_REMOVE_VAR_LIB_DBUS rm -rf $(TARGET_DIR)/var/lib/dbus endef DBUS_POST_BUILD_HOOKS += DBUS_REMOVE_VAR_LIB_DBUS define DBUS_REMOVE_DEVFILES rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 endef DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_REMOVE_DEVFILES define DBUS_INSTALL_INIT_SYSV $(INSTALL) -m 0755 -D package/dbus/S30dbus \ $(TARGET_DIR)/etc/init.d/S30dbus mkdir -p $(TARGET_DIR)/var/lib rm -rf $(TARGET_DIR)/var/lib/dbus ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus endef define DBUS_INSTALL_INIT_SYSTEMD mkdir -p $(TARGET_DIR)/var/lib/dbus ln -sf /etc/machine-id $(TARGET_DIR)/var/lib/dbus/machine-id endef HOST_DBUS_DEPENDENCIES = host-pkgconf host-expat HOST_DBUS_CONF_OPTS = \ --with-dbus-user=dbus \ --disable-tests \ --disable-asserts \ --enable-abstract-sockets \ --disable-selinux \ --disable-xml-docs \ --disable-doxygen-docs \ --enable-dnotify \ --without-x \ --with-xml=expat # dbus for the host DBUS_HOST_INTROSPECT = $(HOST_DBUS_DIR)/introspect.xml HOST_DBUS_GEN_INTROSPECT = \ $(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT) HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT $(eval $(autotools-package)) $(eval $(host-autotools-package))
shibajee/buildroot
package/dbus/dbus.mk
mk
mit
3,236
config BR2_PACKAGE_DCRON bool "dcron" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help dcron is a time-based job scheduler with anacron-like features. It works as a background daemon that parses individual crontab files and executes commands on behalf of the users in question. Upon installation, this package will enable a system level cron daemon with hourly, daily, weekly and monthly crontabs. However, it doesn't allow non root users to create their own crontab file. This is because /var/spool/cron/crontabs is non user writable. Typically, a crontab group is created on the system and users allowed to create crontab entries are added into this group, while crontab executable is owned by root:crontab with sgid bit enabled. http://www.jimpryor.net/linux/dcron.html
shibajee/buildroot
package/dcron/Config.in
in
mit
854
#!/bin/sh case "$1" in start) printf "Starting cron ... " start-stop-daemon -S -q -m -b -p /var/run/dcron.pid --exec /usr/sbin/crond -- -f echo "done." ;; stop) printf "Stopping cron ..." start-stop-daemon -K -q -p /var/run/dcron.pid echo "done." ;; restart) $0 stop sleep 1 $0 start ;; *) echo "usage: $0 {start|stop|restart}" ;; esac
shibajee/buildroot
package/dcron/S90dcron
none
mit
369
# Locally calculated sha256 9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824 dcron-4.5.tar.gz
shibajee/buildroot
package/dcron/dcron.hash
hash
mit
110
################################################################################ # # dcron # ################################################################################ DCRON_VERSION = 4.5 DCRON_SITE = http://www.jimpryor.net/linux/releases # The source code does not specify the version of the GPL that is used. DCRON_LICENSE = GPL # Overwrite cron-related Busybox commands if available ifeq ($(BR2_PACKAGE_BUSYBOX),y) DCRON_DEPENDENCIES = busybox endif define DCRON_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) endef define DCRON_INSTALL_TARGET_CMDS $(INSTALL) -D -m0700 $(@D)/crond $(TARGET_DIR)/usr/sbin/crond $(INSTALL) -D -m4755 $(@D)/crontab $(TARGET_DIR)/usr/bin/crontab $(INSTALL) -D -m0644 $(@D)/extra/root.crontab $(TARGET_DIR)/etc/cron.d/system # Busybox provides run-parts, so there is no need to use nor install provided run-cron $(SED) 's#/usr/sbin/run-cron#/bin/run-parts#g' $(TARGET_DIR)/etc/cron.d/system $(INSTALL) -d -m0755 $(TARGET_DIR)/var/spool/cron/crontabs \ $(TARGET_DIR)/etc/cron.daily $(TARGET_DIR)/etc/cron.hourly \ $(TARGET_DIR)/etc/cron.monthly $(TARGET_DIR)/etc/cron.weekly endef define DCRON_INSTALL_INIT_SYSV $(INSTALL) -D -m 0755 package/dcron/S90dcron $(TARGET_DIR)/etc/init.d/S90dcron endef define DCRON_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/dcron/dcron.service \ $(TARGET_DIR)/usr/lib/systemd/system/dcron.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/dcron.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dcron.service endef $(eval $(generic-package))
shibajee/buildroot
package/dcron/dcron.mk
mk
mit
1,650
[Unit] Description=Task scheduler daemon After=syslog.target [Service] ExecStart=/usr/sbin/crond -S Type=forking [Install] WantedBy=multi-user.target
shibajee/buildroot
package/dcron/dcron.service
service
mit
152
config BR2_PACKAGE_DEBIANUTILS bool "debianutils" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help Miscellaneous utilities specific to Debian. The specific utilities included are: add-shell installkernel ischroot remove-shell run-parts savelog tempfile which. https://tracker.debian.org/pkg/debianutils
shibajee/buildroot
package/debianutils/Config.in
in
mit
352
# From http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.7.dsc sha256 a269cacd40f52f2fa5d5636357714a49e8538459c16d77772efaa23711fe53d9 debianutils_4.7.tar.xz
shibajee/buildroot
package/debianutils/debianutils.hash
hash
mit
178
################################################################################ # # debianutils # ################################################################################ DEBIANUTILS_VERSION = 4.7 DEBIANUTILS_SOURCE = debianutils_$(DEBIANUTILS_VERSION).tar.xz DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20160126T220153Z/pool/main/d/debianutils DEBIANUTILS_CONF_OPTS = --exec-prefix=/ # Make sure we override the busybox tools, such as which DEBIANUTILS_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox) DEBIANUTILS_LICENSE = GPLv2+, SMAIL (savelog) DEBIANUTILS_LICENSE_FILES = debian/copyright $(eval $(autotools-package))
shibajee/buildroot
package/debianutils/debianutils.mk
mk
mit
654
config BR2_PACKAGE_DEJAVU bool "DejaVu fonts" help The DejaVu fonts are a font family based on the Vera Fonts. Its purpose is to provide a wider range of characters while maintaining the original look and feel through the process of collaborative development, under a Free license. http://dejavu-fonts.org if BR2_PACKAGE_DEJAVU config BR2_PACKAGE_DEJAVU_MONO bool "mono fonts" default y config BR2_PACKAGE_DEJAVU_SANS bool "sans fonts" default y config BR2_PACKAGE_DEJAVU_SERIF bool "serif fonts" default y config BR2_PACKAGE_DEJAVU_SANS_CONDENSED bool "sans condensed fonts" default y config BR2_PACKAGE_DEJAVU_SERIF_CONDENSED bool "serif condensed fonts" default y endif
shibajee/buildroot
package/dejavu/Config.in
in
mit
708
# From http://dejavu-fonts.org/wiki/Download sha256 f6d7965586101ff3a8a5c3ec503e082bb6a9604ff53413e10702e5917c194d88 dejavu-fonts-ttf-2.35.tar.bz2
shibajee/buildroot
package/dejavu/dejavu.hash
hash
mit
147
################################################################################ # # dejavu # ################################################################################ DEJAVU_VERSION = 2.35 DEJAVU_SITE = http://sourceforge.net/projects/dejavu/files/dejavu/$(DEJAVU_VERSION) DEJAVU_SOURCE = dejavu-fonts-ttf-$(DEJAVU_VERSION).tar.bz2 DEJAVU_LICENSE_FILES = LICENSE DEJAVU_FONTS_INSTALL = DEJAVU_FONTCONFIG_CONF_INSTALL = ifeq ($(BR2_PACKAGE_DEJAVU_MONO),y) DEJAVU_FONTS_INSTALL += DejaVuSansMono*.ttf DEJAVU_FONTCONFIG_CONF_INSTALL += \ 20-unhint-small-dejavu-sans-mono.conf \ 57-dejavu-sans-mono.conf endif ifeq ($(BR2_PACKAGE_DEJAVU_SANS),y) DEJAVU_FONTS_INSTALL += DejaVuSans.ttf DejaVuSans-*.ttf DEJAVU_FONTCONFIG_CONF_INSTALL += \ 20-unhint-small-dejavu-sans.conf \ 57-dejavu-sans.conf endif ifeq ($(BR2_PACKAGE_DEJAVU_SERIF),y) DEJAVU_FONTS_INSTALL += DejaVuSerif.ttf DejaVuSerif-*.ttf DEJAVU_FONTCONFIG_CONF_INSTALL += \ 20-unhint-small-dejavu-serif.conf \ 57-dejavu-serif.conf endif ifeq ($(BR2_PACKAGE_DEJAVU_SANS_CONDENSED),y) DEJAVU_FONTS_INSTALL += DejaVuSansCondensed*.ttf endif ifeq ($(BR2_PACKAGE_DEJAVU_SERIF_CONDENSED),y) DEJAVU_FONTS_INSTALL += DejaVuSerifCondensed*.ttf endif ifeq ($(BR2_PACKAGE_FONTCONFIG),y) define DEJAVU_FONTCONFIG_CONF_INSTALL_CMDS for i in $(DEJAVU_FONTCONFIG_CONF_INSTALL) ; do \ $(INSTALL) -D -m 0644 $(@D)/fontconfig/$$i \ $(TARGET_DIR)/usr/share/fontconfig/conf.avail/$$i || exit 1 ; \ done endef endif define DEJAVU_INSTALL_TARGET_CMDS mkdir -p $(TARGET_DIR)/usr/share/fonts/dejavu/ for i in $(DEJAVU_FONTS_INSTALL) ; do \ $(INSTALL) -m 0644 $(@D)/ttf/$$i \ $(TARGET_DIR)/usr/share/fonts/dejavu/ || exit 1 ; \ done $(DEJAVU_FONTCONFIG_CONF_INSTALL_CMDS) endef $(eval $(generic-package))
shibajee/buildroot
package/dejavu/dejavu.mk
mk
mit
1,772
From 6570e7afe1eebd64022b871b9ebd9a76be267f57 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Sun, 29 Jun 2014 16:27:49 +0200 Subject: [PATCH] Be coherent in type usage - no need to use off_t because it is read from strtoul() - print unsigned int type correctly When built with _FILE_OFFSET_BITS=64, off_t becomes an long long int and was printed as an unsigned int which lead to a garbled output. Signed-off-by: Colin Didier <colin.didier@devialet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- devmem2.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/devmem2.c b/devmem2.c index 7732ecb..7aa5c79 100644 --- a/devmem2.c +++ b/devmem2.c @@ -58,8 +58,7 @@ int main(int argc, char **argv) { int fd; void *map_base, *virt_addr; - unsigned long read_result, writeval; - off_t target; + unsigned long target, read_result, writeval; int access_type = 'w'; if(argc < 2) { @@ -101,7 +100,7 @@ int main(int argc, char **argv) { fprintf(stderr, "Illegal data type '%c'.\n", access_type); exit(2); } - printf("Value at address 0x%X (%p): 0x%X\n", target, virt_addr, read_result); + printf("Value at address 0x%lX (%p): 0x%X\n", target, virt_addr, read_result); fflush(stdout); if(argc > 3) { @@ -120,7 +119,7 @@ int main(int argc, char **argv) { read_result = *((unsigned long *) virt_addr); break; } - printf("Written 0x%X; readback 0x%X\n", writeval, read_result); + printf("Written 0x%lX; readback 0x%X\n", writeval, read_result); fflush(stdout); } -- 2.0.0
shibajee/buildroot
package/devmem2/0001-be-coherent-in-type-usage.patch
patch
mit
1,631
config BR2_PACKAGE_DEVMEM2 bool "devmem2" depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help Simple program to read/write from/to any location in memory. http://free-electrons.com/pub/mirror/devmem2.c
shibajee/buildroot
package/devmem2/Config.in
in
mit
208
# Locally calculated sha256 3b15515693bae1ebd14d914e46d388edfec2175829ea1576a7a0c8606ebbe639 devmem2.c
shibajee/buildroot
package/devmem2/devmem2.hash
hash
mit
104
################################################################################ # # devmem2 # ################################################################################ DEVMEM2_SITE = http://free-electrons.com/pub/mirror DEVMEM2_SOURCE = devmem2.c DEVMEM2_VERSION = 1 DEVMEM2_LICENSE = GPLv2+ DEVMEM2_LICENSE_FILES = devmem2.c define DEVMEM2_EXTRACT_CMDS cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/ endef define DEVMEM2_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) devmem2 endef define DEVMEM2_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/devmem2 $(TARGET_DIR)/sbin/devmem2 endef $(eval $(generic-package))
shibajee/buildroot
package/devmem2/devmem2.mk
mk
mit
618
config BR2_PACKAGE_HOST_DFU_UTIL bool "host dfu-util" help Dfu-util is the host side implementation of the DFU 1.0 specification of the USB forum. DFU is intended to download and upload firmware to devices connected over USB. http://dfu-util.sourceforge.net/
shibajee/buildroot
package/dfu-util/Config.in.host
host
mit
274
# From http://dfu-util.sourceforge.net/releases/dfu-util-0.9.tar.gz.md5 md5 233bb1e08ef4b405062445d84e28fde6 dfu-util-0.9.tar.gz # Locally computed sha256 36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833 dfu-util-0.9.tar.gz
shibajee/buildroot
package/dfu-util/dfu-util.hash
hash
mit
241
################################################################################ # # dfu-util # ################################################################################ DFU_UTIL_VERSION = 0.9 DFU_UTIL_SITE = http://dfu-util.sourceforge.net/releases DFU_UTIL_LICENSE = GPLv2+ DFU_UTIL_LICENSE_FILES = COPYING HOST_DFU_UTIL_DEPENDENCIES = host-libusb $(eval $(host-autotools-package))
shibajee/buildroot
package/dfu-util/dfu-util.mk
mk
mit
394
dhcp cross compile support integration Allow BINDCONFIG to be initialized in environment passed to configure. Allow archiver to be determined during configure. This patch is submitted upstream as part of a cross compiling enhancement suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Index: dhcp-4.3.3-P1/configure.ac =================================================================== --- dhcp-4.3.3-P1.orig/configure.ac +++ dhcp-4.3.3-P1/configure.ac @@ -33,7 +33,7 @@ if test "$GCC" = "yes"; then fi # We can have some flags to pass to bind configure -BINDCONFIG= +BINDCONFIG="$BINDCONFIG" AC_SUBST(BINDCONFIG) # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides @@ -43,6 +43,9 @@ AC_SUBST(BINDCONFIG) # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API. AC_USE_SYSTEM_EXTENSIONS +AC_CHECK_TOOL(AR,ar) +AC_SUBST(AR) + AC_PROG_RANLIB AC_CONFIG_HEADERS([includes/config.h])
shibajee/buildroot
package/dhcp/0001-dhcp-cross-compile.patch
patch
mit
991
bind cross compile support integration Pass system types from dhcp configure to bind configure. This patch is submitted upstream as part of a cross compiling enhancement suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Index: dhcp-4.3.3-P1/bind/Makefile.in =================================================================== --- dhcp-4.3.3-P1.orig/bind/Makefile.in +++ dhcp-4.3.3-P1/bind/Makefile.in @@ -30,7 +30,9 @@ bindconfig = --disable-kqueue --disable- --without-openssl --without-libxml2 --enable-exportlib \ --with-gssapi=no --enable-threads=no @BINDCONFIG@ \ --with-export-includedir=${binddir}/include \ - --with-export-libdir=${binddir}/lib + --with-export-libdir=${binddir}/lib \ + --target=@target_alias@ --host=@host_alias@ \ + --build=@build_alias@ @BIND_ATF_FALSE@cleandirs = ./lib ./include @BIND_ATF_TRUE@cleandirs = ./lib ./include ./atf
shibajee/buildroot
package/dhcp/0002-bind-cross-compile.patch
patch
mit
929
ensure host compiler is used dns/Makefile.in patch is derived from: http://wiki.beyondlogic.org/patches/dhcp-4.3.0b1.bind_arm-linux-gnueabi.patch This patch is already accepted upstream and will be included in the next release: --[snip]-- From Francis Dupont via RT <dhcp-suggest@isc.org> To rdkehn@yahoo.com Message body It was fixed on the master branch sometimes ago. Quoting master RELNOTES: - Made the embedded bind libraries able to be cross compiled (please refer to the bind9 documentation to learn how to cross compile DHCP and its bind library dependency). [ISC-Bugs #38836] This is in the Changes since 4.3.3 so for the next release. --[snip]-- Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Index: dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in =================================================================== --- dhcp-4.3.3-P1.orig/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in +++ dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in @@ -168,7 +168,9 @@ code.h: gen ./gen -s ${srcdir} > code.h gen: ${srcdir}/gen.c - ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} + ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ + ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \ + ${BUILD_LIBS} #We don't need rbtdb64 for this library #rbtdb64.@O@: rbtdb.c
shibajee/buildroot
package/dhcp/0003-bind-host-cc.patch
patch
mit
1,342
config BR2_PACKAGE_DHCP bool "dhcp (ISC)" # fork() depends on BR2_USE_MMU depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS help DHCP relay agent from the ISC DHCP distribution. http://www.isc.org/products/DHCP if BR2_PACKAGE_DHCP config BR2_PACKAGE_DHCP_SERVER bool "dhcp server" help DHCP server from the ISC DHCP distribution. config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK bool "Enable delayed ACK feature" depends on BR2_PACKAGE_DHCP_SERVER help Enable delayed ACK feature in the ISC DHCP server. config BR2_PACKAGE_DHCP_RELAY bool "dhcp relay" help DHCP relay agent from the ISC DHCP distribution. config BR2_PACKAGE_DHCP_CLIENT bool "dhcp client" help DHCP client from the ISC DHCP distribution. endif
shibajee/buildroot
package/dhcp/Config.in
in
mit
738
#!/bin/sh # # $Id: dhcp3-relay,v 1.1 2004/04/16 15:41:08 ml Exp $ # # What servers should the DHCP relay forward requests to? # e.g: SERVERS="192.168.0.1" SERVERS="" # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? INTERFACES="" # Additional options that are passed to the DHCP relay daemon? OPTIONS="" # Read configuration variable file if it is present CFG_FILE="/etc/default/dhcrelay" [ -r "${CFG_FILE}" ] && . "${CFG_FILE}" # Sanity checks test -f /usr/sbin/dhcrelay || exit 0 test -n "$INTERFACES" || exit 0 test -n "$SERVERS" || exit 0 # Build command line for interfaces (will be passed to dhrelay below.) IFCMD="" for I in $INTERFACES; do IFCMD=${IFCMD}"-i "${I}" " done DHCRELAYPID=/var/run/dhcrelay.pid case "$1" in start) printf "Starting DHCP relay: " start-stop-daemon -S -q -x /usr/sbin/dhcrelay -- -q $OPTIONS $IFCMD $SERVERS [ $? = 0 ] && echo "OK" || echo "FAIL" ;; stop) printf "Stopping DHCP relay: " start-stop-daemon -K -q -x /usr/sbin/dhcrelay [ $? = 0 ] && echo "OK" || echo "FAIL" ;; restart | force-reload) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart|force-reload}" exit 1 esac exit 0
shibajee/buildroot
package/dhcp/S80dhcp-relay
none
mit
1,190
#!/bin/sh # # $Id: dhcp3-server.init.d,v 1.4 2003/07/13 19:12:41 mdz Exp $ # # On what interfaces should the DHCP server (dhcpd) serve DHCP requests? # Separate multiple interfaces with spaces, e.g. "eth0 eth1". INTERFACES="" # Additional options that are passed to the DHCP server daemon? OPTIONS="" NAME="dhcpd" DAEMON="/usr/sbin/${NAME}" CFG_FILE="/etc/default/${NAME}" # Read configuration variable file if it is present [ -r "${CFG_FILE}" ] && . "${CFG_FILE}" # Sanity checks test -f /usr/sbin/dhcpd || exit 0 test -f /etc/dhcp/dhcpd.conf || exit 0 case "$1" in start) printf "Starting DHCP server: " test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/ test -f /var/lib/dhcp/dhcpd.leases || touch /var/lib/dhcp/dhcpd.leases start-stop-daemon -S -q -x ${DAEMON} -- -q $OPTIONS $INTERFACES [ $? = 0 ] && echo "OK" || echo "FAIL" ;; stop) printf "Stopping DHCP server: " start-stop-daemon -K -q -x ${DAEMON} [ $? = 0 ] && echo "OK" || echo "FAIL" ;; restart | force-reload) $0 stop $0 start if [ "$?" != "0" ]; then exit 1 fi ;; *) echo "Usage: $0 {start|stop|restart|force-reload}" exit 1 esac exit 0
shibajee/buildroot
package/dhcp/S80dhcp-server
none
mit
1,156
#!/bin/sh # dhclient-script from OpenWRT project # http://git.openwrt.org/?p=packages.git;a=blob;f=net/isc-dhcp/files/dhclient-script;h=4afebc0ad20ebac51c5baae5ed01c6713e3a0fd0;hb=HEAD make_resolv_conf() { if [ x"$new_domain_name_servers" != x ]; then cat /dev/null > /etc/resolv.conf.dhclient chmod 644 /etc/resolv.conf.dhclient if [ x"$new_domain_search" != x ]; then echo search $new_domain_search >> /etc/resolv.conf.dhclient elif [ x"$new_domain_name" != x ]; then # Note that the DHCP 'Domain Name Option' is really just a domain # name, and that this practice of using the domain name option as # a search path is both nonstandard and deprecated. echo search $new_domain_name >> /etc/resolv.conf.dhclient fi for nameserver in $new_domain_name_servers; do echo nameserver $nameserver >>/etc/resolv.conf.dhclient done elif [ "x${new_dhcp6_name_servers}" != x ] ; then cat /dev/null > /etc/resolv.conf.dhclient6 chmod 644 /etc/resolv.conf.dhclient6 if [ "x${new_dhcp6_domain_search}" != x ] ; then echo search ${new_dhcp6_domain_search} >> /etc/resolv.conf.dhclient6 fi for nameserver in ${new_dhcp6_name_servers} ; do echo nameserver ${nameserver} >> /etc/resolv.conf.dhclient6 done fi # if both v4 and v6 clients are running, concatenate results cat /etc/resolv.conf.* > /etc/resolv.conf } # Must be used on exit. Invokes the local dhcp client exit hooks, if any. exit_with_hooks() { exit_status=$1 if [ -f /etc/dhclient-exit-hooks ]; then . /etc/dhclient-exit-hooks fi # probably should do something with exit status of the local script exit $exit_status } # Invoke the local dhcp client enter hooks, if they exist. if [ -f /etc/dhclient-enter-hooks ]; then exit_status=0 . /etc/dhclient-enter-hooks # allow the local script to abort processing of this state # local script must set exit_status variable to nonzero. if [ $exit_status -ne 0 ]; then exit $exit_status fi fi ### ### DHCPv4 Handlers ### if [ x$new_broadcast_address != x ]; then new_broadcast_arg="broadcast $new_broadcast_address" fi if [ x$new_subnet_mask != x ]; then new_subnet_arg="netmask $new_subnet_mask" fi if [ x$alias_subnet_mask != x ]; then alias_subnet_arg="netmask $alias_subnet_mask" fi if [ x$reason = xMEDIUM ]; then # Linux doesn't do mediums (ok, ok, media). exit_with_hooks 0 fi if [ x$reason = xPREINIT ]; then if [ x$alias_ip_address != x ]; then # Bring down alias interface. Its routes will disappear too. ifconfig $interface:0- 0.0.0.0 fi ifconfig $interface 0.0.0.0 up # We need to give the kernel some time to get the interface up. sleep 1 exit_with_hooks 0 fi if [ x$reason = xARPCHECK ] || [ x$reason = xARPSEND ]; then exit_with_hooks 0 fi if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ [ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then current_hostname=`hostname` if [ x$current_hostname = x ] || \ [ x$current_hostname = x$old_host_name ]; then if [ x$current_hostname = x ] || \ [ x$new_host_name != x$old_host_name ]; then hostname $new_host_name fi fi if [ x$old_ip_address != x ] && [ x$alias_ip_address != x ] && \ [ x$alias_ip_address != x$old_ip_address ]; then # Possible new alias. Remove old alias. ifconfig $interface:0- 0.0.0.0 fi if [ x$old_ip_address != x ] && [ x$old_ip_address != x$new_ip_address ]; then # IP address changed. Bringing down the interface will delete all routes, # and clear the ARP cache. ifconfig $interface 0.0.0.0 down fi if [ x$old_ip_address = x ] || [ x$old_ip_address != x$new_ip_address ] || \ [ x$reason = xBOUND ] || [ x$reason = xREBOOT ]; then ifconfig $interface $new_ip_address $new_subnet_arg \ $new_broadcast_arg for router in $new_routers; do if [ "x$new_subnet_mask" = "x255.255.255.255" ] ; then route add -host $router dev $interface fi route add default gw $router done fi if [ x$new_ip_address != x$alias_ip_address ] && [ x$alias_ip_address != x ]; then ifconfig $interface:0- 0.0.0.0 ifconfig $interface:0 $alias_ip_address $alias_subnet_arg route add -host $alias_ip_address $interface:0 fi make_resolv_conf exit_with_hooks 0 fi if [ x$reason = xEXPIRE ] || [ x$reason = xFAIL ] || [ x$reason = xRELEASE ] \ || [ x$reason = xSTOP ]; then if [ x$alias_ip_address != x ]; then # Turn off alias interface. ifconfig $interface:0- 0.0.0.0 fi if [ x$old_ip_address != x ]; then # Shut down interface, which will delete routes and clear arp cache. ifconfig $interface 0.0.0.0 down fi if [ x$alias_ip_address != x ]; then ifconfig $interface:0 $alias_ip_address $alias_subnet_arg route add -host $alias_ip_address $interface:0 fi # remove v4 dns configuration for this interface rm /etc/resolv.conf.dhclient cat /etc/resolv.conf.* > /etc/resolv.conf exit_with_hooks 0 fi if [ x$reason = xTIMEOUT ]; then if [ x$alias_ip_address != x ]; then ifconfig $interface:0- 0.0.0.0 fi ifconfig $interface $new_ip_address $new_subnet_arg \ $new_broadcast_arg set $new_routers if ping -q -c 1 $1; then if [ x$new_ip_address != x$alias_ip_address ] && \ [ x$alias_ip_address != x ]; then ifconfig $interface:0 $alias_ip_address $alias_subnet_arg route add -host $alias_ip_address dev $interface:0 fi for router in $new_routers; do if [ "x$new_subnet_mask" = "x255.255.255.255" ] ; then route add -host $router dev $interface fi route add default gw $router done make_resolv_conf exit_with_hooks 0 fi ifconfig $interface 0.0.0.0 down exit_with_hooks 1 fi ### ### DHCPv6 Handlers ### if [ x$reason = xPREINIT6 ]; then # Ensure interface is up. ifconfig ${interface} up # Remove any stale addresses from aborted clients. ip -f inet6 addr flush dev ${interface} scope global exit_with_hooks 0 fi if [ x${old_ip6_prefix} != x ] || [ x${new_ip6_prefix} != x ] ; then echo Prefix ${reason} old=${old_ip6_prefix} new=${new_ip6_prefix} exit_with_hooks 0 fi if [ x$reason = xBOUND6 ]; then if [ x${new_ip6_address} = x ] || [ x${new_ip6_prefixlen} = x ] ; then exit_with_hooks 2; fi ifconfig ${interface} add ${new_ip6_address}/${new_ip6_prefixlen} # Check for nameserver options. make_resolv_conf ### << # Set up softwire tunnel if [ x${new_dhcp6_softwire} != x ] ; then /etc/init.d/dhclient stop ifconfig ${interface} 0.0.0.0 ip -6 tunnel add tun0 mode ipip6 \ remote ${new_dhcp6_softwire} \ local ${new_ip6_address} \ dev ${interface} encaplimit none ip link set tun0 up ip route add default dev tun0 fi ### >> exit_with_hooks 0 fi if [ x$reason = xRENEW6 ] || [ x$reason = xREBIND6 ]; then if [ x${new_ip6_address} = x ] || [ x${new_ip6_prefixlen} = x ] ; then exit_with_hooks 2; fi ifconfig ${interface} add ${new_ip6_address}/${new_ip6_prefixlen} # Make sure nothing has moved around on us. # Nameservers/domains/etc. if [ "x${new_dhcp6_name_servers}" != "x${old_dhcp6_name_servers}" ] || [ "x${new_dhcp6_domain_search}" != "x${old_dhcp6_domain_search}" ] ; then make_resolv_conf fi exit_with_hooks 0 fi if [ x$reason = xDEPREF6 ]; then if [ x${new_ip6_address} = x ] ; then exit_with_hooks 2; fi # Busybox ifconfig has no way to communicate this to the kernel, so ignore it exit_with_hooks 0 fi if [ x$reason = xEXPIRE6 -o x$reason = xRELEASE6 -o x$reason = xSTOP6 ]; then if [ x${old_ip6_address} = x ] || [ x${old_ip6_prefixlen} = x ] ; then exit_with_hooks 2; fi ifconfig ${interface} del ${old_ip6_address}/${old_ip6_prefixlen} # remove v6 dns configuration for this interface rm /etc/resolv.conf.dhclient6 cat /etc/resolv.conf.* > /etc/resolv.conf ### << # Tear down softwire tunnel if [ x${old_dhcp6_softwire} != x ] ; then ip link set tun0 down ip tunnel del tun0 fi ### >> exit_with_hooks 0 fi exit_with_hooks 0
shibajee/buildroot
package/dhcp/dhclient-script
none
mit
8,097
# Configuration file for /sbin/dhclient, which is included in Debian's # dhcp3-client package. # # This is a sample configuration file for dhclient. See dhclient.conf's # man page for more information about the syntax of this file # and a more comprehensive list of the parameters understood by # dhclient. # # Normally, if the DHCP server provides reasonable information and does # not leave anything out (like the domain name, for example), then # few changes must be made to this file, if any. # #send host-name "andare.fugue.com"; #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; #send dhcp-lease-time 3600; #supersede domain-name "fugue.com home.vix.com"; #prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope; #require subnet-mask, domain-name-servers; #timeout 60; #retry 60; #reboot 10; #select-timeout 5; #initial-interval 2; #script "/etc/dhcp3/dhclient-script"; #media "-link0 -link1 -link2", "link0 link1"; #reject 192.33.137.209; #alias { # interface "eth0"; # fixed-address 192.5.5.213; # option subnet-mask 255.255.255.255; #} #lease { # interface "eth0"; # fixed-address 192.33.137.200; # medium "link0 link1"; # option host-name "andare.swiftmedia.com"; # option subnet-mask 255.255.255.0; # option broadcast-address 192.33.137.255; # option routers 192.33.137.250; # option domain-name-servers 127.0.0.1; # renew 2 2000/1/12 00:00:01; # rebind 2 2000/1/12 00:00:01; # expire 2 2000/1/12 00:00:01; #}
shibajee/buildroot
package/dhcp/dhclient.conf
INI
mit
1,566
# Verified from https://ftp.isc.org/isc/dhcp/4.3.3-P1/dhcp-4.3.3-P1.tar.gz.sha256.asc sha256 c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921 dhcp-4.3.3-P1.tar.gz
shibajee/buildroot
package/dhcp/dhcp.hash
hash
mit
179
################################################################################ # # dhcp # ################################################################################ DHCP_VERSION = 4.3.3-P1 DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) DHCP_INSTALL_STAGING = YES DHCP_LICENSE = ISC DHCP_LICENSE_FILES = LICENSE DHCP_CONF_ENV = \ CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ ac_cv_file__dev_random=yes \ BINDCONFIG='--with-randomdev=/dev/random' DHCP_CONF_OPTS = \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ --with-cli-lease-file=/var/lib/dhcp/dhclient.leases \ --with-cli6-lease-file=/var/lib/dhcp/dhclient6.leases \ --with-srv-pid-file=/var/run/dhcpd.pid \ --with-srv6-pid-file=/var/run/dhcpd6.pid \ --with-cli-pid-file=/var/run/dhclient.pid \ --with-cli6-pid-file=/var/run/dhclient6.pid \ --with-relay-pid-file=/var/run/dhcrelay.pid \ --with-relay6-pid-file=/var/run/dhcrelay6.pid # The source for the bind libraries used by dhcp are embedded in the dhcp source # as a tar-ball. Extract the bind source to allow any patches to be applied # during the patch phase. define DHCP_EXTRACT_BIND cd $(@D)/bind; tar -xvf bind.tar.gz endef DHCP_POST_EXTRACT_HOOKS += DHCP_EXTRACT_BIND # The patchset requires configure et.al. to be regenerated. DHCP_AUTORECONF = YES # bind does not support parallel builds. DHCP_MAKE = $(MAKE1) # bind configure is called via dhcp make instead of dhcp configure. The make env # needs extra values for bind configure. DHCP_MAKE_ENV = \ $(TARGET_CONFIGURE_OPTS) \ BUILD_CC="$(HOSTCC)" \ BUILD_CFLAGS="$(HOST_CFLAGS)" \ BUILD_CPPFLAGS="$(HOST_CPPFLAGS)" \ BUILD_LDFLAGS="$(HOST_LDFLAGS)" ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) DHCP_CONF_OPTS += --enable-delayed-ack endif ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) define DHCP_INSTALL_SERVER mkdir -p $(TARGET_DIR)/var/lib (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) $(INSTALL) -m 0755 -D $(@D)/server/dhcpd $(TARGET_DIR)/usr/sbin/dhcpd $(INSTALL) -m 0644 -D package/dhcp/dhcpd.conf \ $(TARGET_DIR)/etc/dhcp/dhcpd.conf endef endif ifeq ($(BR2_PACKAGE_DHCP_RELAY),y) define DHCP_INSTALL_RELAY mkdir -p $(TARGET_DIR)/var/lib (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) $(INSTALL) -m 0755 -D $(DHCP_DIR)/relay/dhcrelay \ $(TARGET_DIR)/usr/sbin/dhcrelay endef endif ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) define DHCP_INSTALL_CLIENT mkdir -p $(TARGET_DIR)/var/lib (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) $(INSTALL) -m 0755 -D $(DHCP_DIR)/client/dhclient \ $(TARGET_DIR)/sbin/dhclient $(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \ $(TARGET_DIR)/etc/dhcp/dhclient.conf $(INSTALL) -m 0755 -D package/dhcp/dhclient-script \ $(TARGET_DIR)/sbin/dhclient-script endef endif # Options don't matter, scripts won't start if binaries aren't there define DHCP_INSTALL_INIT_SYSV $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-server \ $(TARGET_DIR)/etc/init.d/S80dhcp-server $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-relay \ $(TARGET_DIR)/etc/init.d/S80dhcp-relay endef ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) define DHCP_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/dhcp/dhcpd.service \ $(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/dhcpd.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dhcpd.service echo "d /var/lib/dhcp 0755 - - - -" > \ $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf echo "f /var/lib/dhcp/dhcpd.leases - - - - -" >> \ $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf endef endif define DHCP_INSTALL_TARGET_CMDS $(DHCP_INSTALL_RELAY) $(DHCP_INSTALL_SERVER) $(DHCP_INSTALL_CLIENT) endef $(eval $(autotools-package))
shibajee/buildroot
package/dhcp/dhcp.mk
mk
mit
3,851
# # Sample configuration file for ISC dhcpd for Debian # # $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $ # # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-update-style none; # option definitions common to all supported networks... option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. #subnet 10.152.187.0 netmask 255.255.255.0 { #} # This is a very basic subnet declaration. #subnet 10.254.239.0 netmask 255.255.255.224 { # range 10.254.239.10 10.254.239.20; # option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org; #} # This declaration allows BOOTP clients to get dynamic addresses, # which we don't really recommend. #subnet 10.254.239.32 netmask 255.255.255.224 { # range dynamic-bootp 10.254.239.40 10.254.239.60; # option broadcast-address 10.254.239.31; # option routers rtr-239-32-1.example.org; #} # A slightly different configuration for an internal subnet. #subnet 10.5.5.0 netmask 255.255.255.224 { # range 10.5.5.26 10.5.5.30; # option domain-name-servers ns1.internal.example.org; # option domain-name "internal.example.org"; # option routers 10.5.5.1; # option broadcast-address 10.5.5.31; # default-lease-time 600; # max-lease-time 7200; #} # Hosts which require special configuration options can be listed in # host statements. If no address is specified, the address will be # allocated dynamically (if possible), but the host-specific information # will still come from the host declaration. #host passacaglia { # hardware ethernet 0:0:c0:5d:bd:95; # filename "vmunix.passacaglia"; # server-name "toccata.fugue.com"; #} # Fixed IP addresses can also be specified for hosts. These addresses # should not also be listed as being available for dynamic assignment. # Hosts for which fixed IP addresses have been specified can boot using # BOOTP or DHCP. Hosts for which no fixed address is specified can only # be booted with DHCP, unless there is an address range on the subnet # to which a BOOTP client is connected which has the dynamic-bootp flag # set. #host fantasia { # hardware ethernet 08:00:07:26:c0:a5; # fixed-address fantasia.fugue.com; #} # You can declare a class of clients and then do address allocation # based on that. The example below shows a case where all clients # in a certain class get addresses on the 10.17.224/24 subnet, and all # other clients get addresses on the 10.0.29/24 subnet. #class "foo" { # match if substring (option vendor-class-identifier, 0, 4) = "SUNW"; #} #shared-network 224-29 { # subnet 10.17.224.0 netmask 255.255.255.0 { # option routers rtr-224.example.org; # } # subnet 10.0.29.0 netmask 255.255.255.0 { # option routers rtr-29.example.org; # } # pool { # allow members of "foo"; # range 10.17.224.10 10.17.224.250; # } # pool { # deny members of "foo"; # range 10.0.29.10 10.0.29.230; # } #}
shibajee/buildroot
package/dhcp/dhcpd.conf
INI
mit
3,551
[Unit] Description=DHCP server After=network.target [Service] Type=forking PIDFile=/run/dhcpd.pid ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES KillSignal=SIGINT EnvironmentFile=-/etc/default/dhcpd [Install] WantedBy=multi-user.target
shibajee/buildroot
package/dhcp/dhcpd.service
service
mit
260
comment "dhcpcd needs a toolchain w/ headers >= 3.1" depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 config BR2_PACKAGE_DHCPCD bool "dhcpcd" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h help An RFC2131 compliant DHCP client http://roy.marples.name/projects/dhcpcd/
shibajee/buildroot
package/dhcpcd/Config.in
in
mit
309
# Locally calculated from download (no sig, hash) sha256 5c823d607ed1d7513d16ec51c54e21657f1324899e0ba333a497682d88a8c6ee dhcpcd-6.11.1.tar.xz
shibajee/buildroot
package/dhcpcd/dhcpcd.hash
hash
mit
143
################################################################################ # # dhcpcd # ################################################################################ DHCPCD_VERSION = 6.11.1 DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd DHCPCD_DEPENDENCIES = host-pkgconf DHCPCD_LICENSE = BSD-2c DHCPCD_LICENSE_FILES = dhcpcd.c ifeq ($(BR2_STATIC_LIBS),y) DHCPCD_CONFIG_OPTS += --enable-static endif ifeq ($(BR2_USE_MMU),) DHCPCD_CONFIG_OPTS += --disable-fork endif define DHCPCD_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) ./configure \ --os=linux \ --libexecdir=/lib/dhcpcd \ $(DHCPCD_CONFIG_OPTS) ) endef define DHCPCD_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) \ -C $(@D) all endef define DHCPCD_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) endef # NOTE: Even though this package has a configure script, it is not generated # using the autotools, so we have to use the generic package infrastructure. $(eval $(generic-package))
shibajee/buildroot
package/dhcpcd/dhcpcd.mk
mk
mit
1,062
The udphdr structure has uh_* fields when _FAVOR_BSD is defined. Otherwise, the fields are just named source, dest, len and check. See <netinet/udp.h>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Index: dhcpdump-1.8/dhcpdump.c =================================================================== --- dhcpdump-1.8.orig/dhcpdump.c 2011-05-17 20:20:46.506980003 +0200 +++ dhcpdump-1.8/dhcpdump.c 2011-05-17 20:20:59.338979999 +0200 @@ -163,10 +163,10 @@ strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); - if (hmask && check_ch((u_char *)(sp + offset), ntohs(udp->uh_ulen))) + if (hmask && check_ch((u_char *)(sp + offset), ntohs(udp->len))) return; - printdata((u_char *)(sp + offset), ntohs(udp->uh_ulen)); + printdata((u_char *)(sp + offset), ntohs(udp->len)); } // check for matching CHADDR (Peter Apian-Bennewitz <apian@ise.fhg.de>)
shibajee/buildroot
package/dhcpdump/0001-use-non-bsd-structures.patch
patch
mit
936
Use the official _BSD_SOURCE feature test macro instead of the meaningless HAVE_STRSEP macro in order to detect the availability of strsep(). This allows toolchains supporting strsep() to use it instead of the custom implementation from dhcpdump, which also avoids the following error with some toolchains: In file included from dhcpdump.c:30:0: dhcpdump.c: At top level: strsep.c:65:23: error: register name not specified for ‘delim’ register const char *delim; ^ Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> diff -Nrdup dhcpdump-1.8.orig/dhcpdump.c dhcpdump-1.8/dhcpdump.c --- dhcpdump-1.8.orig/dhcpdump.c 2008-06-24 05:26:52.000000000 +0200 +++ dhcpdump-1.8/dhcpdump.c 2011-05-31 19:22:15.987388498 +0200 @@ -26,7 +26,7 @@ #include <regex.h> #include "dhcp_options.h" -#ifndef HAVE_STRSEP +#ifndef _BSD_SOURCE #include "strsep.c" #endif
shibajee/buildroot
package/dhcpdump/0002-fix-strsep-feature-test.patch
patch
mit
909
config BR2_PACKAGE_DHCPDUMP bool "dhcpdump" select BR2_PACKAGE_LIBPCAP help A tool for monitoring dhcp requests using tcpdump. http://www.mavetju.org/unix/general.php
shibajee/buildroot
package/dhcpdump/Config.in
in
mit
177
# Locally calculated sha256 6d5eb9418162fb738bc56e4c1682ce7f7392dd96e568cc996e44c28de7f77190 dhcpdump-1.8.tar.gz
shibajee/buildroot
package/dhcpdump/dhcpdump.hash
hash
mit
114
################################################################################ # # dhcpdump # ################################################################################ DHCPDUMP_VERSION = 1.8 DHCPDUMP_SITE = http://www.mavetju.org/download DHCPDUMP_DEPENDENCIES = libpcap DHCPDUMP_LICENSE = BSD-2c DHCPDUMP_LICENSE_FILES = LICENSE DHCPDUMP_LIBS = -lpcap ifeq ($(BR2_STATIC_LIBS),y) DHCPDUMP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` endif define DHCPDUMP_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) \ -D_GNU_SOURCE" LIBS="$(DHCPDUMP_LIBS)" endef define DHCPDUMP_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump endef $(eval $(generic-package))
shibajee/buildroot
package/dhcpdump/dhcpdump.mk
mk
mit
767
let people specify the number of runs on the command line Patch by Vivi Li <vivi.li@analog.com> --- a/dhry_1.c +++ b/dhry_1.c @@ -66,7 +70,7 @@ /* end of variables for time measurement */ -main () +main(int argc, char *argv[]) /*****/ /* main program, corresponds to procedures */ @@ -101,6 +105,13 @@ /* Warning: With 16-Bit processors and Number_Of_Runs > 32000, */ /* overflow may occur for this array element. */ + Number_Of_Runs = 0; + if ( argc == 2 ) { + if (atoi(argv[1]) > 0) { + Number_Of_Runs = atoi(argv[1]); + } + } + printf ("\n"); printf ("Dhrystone Benchmark, Version 2.1 (Language: C)\n"); printf ("\n"); @@ -114,13 +125,17 @@ printf ("Program compiled without 'register' attribute\n"); printf ("\n"); } - printf ("Please give the number of runs through the benchmark: "); - { - int n; - scanf ("%d", &n); - Number_Of_Runs = n; + + if (!Number_Of_Runs) { + printf ("Please give the number of runs through the benchmark: "); + fflush (stdout); + { + int n; + scanf ("%d", &n); + Number_Of_Runs = n; + } + printf ("\n"); } - printf ("\n"); printf ("Execution starts, %d runs through Dhrystone\n", Number_Of_Runs);
shibajee/buildroot
package/dhrystone/0001-cmdline-nruns.patch
patch
mit
1,307