From 9240163ef7e1f10cdbecfc5a6936d5624f823565 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Thu, 2 Aug 2012 09:09:53 +0100 Subject: sam-ba: bump version to 2.12 Signed-off-by: Simon Dawson Signed-off-by: Thomas Petazzoni --- package/sam-ba/sam-ba.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/sam-ba/sam-ba.mk b/package/sam-ba/sam-ba.mk index 9f3934725..067bdf183 100644 --- a/package/sam-ba/sam-ba.mk +++ b/package/sam-ba/sam-ba.mk @@ -1,5 +1,5 @@ SAM_BA_SITE = http://www.atmel.com/dyn/resources/prod_documents/ -SAM_BA_VERSION = 2.11 +SAM_BA_VERSION = 2.12 SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION).zip define HOST_SAM_BA_EXTRACT_CMDS -- cgit v1.2.3 From d30aaf3e0c5f90306a1c931794d9096d549405cf Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Fri, 3 Aug 2012 12:48:28 +0100 Subject: sudo: bump version to 1.8.5p2 Signed-off-by: Simon Dawson Signed-off-by: Thomas Petazzoni --- ...rt-commit-8209:0c4e3f68b2f5-from-upstream.patch | 263 --------------------- ...rt-commit-8209:0c4e3f68b2f5-from-upstream.patch | 263 +++++++++++++++++++++ package/sudo/sudo.mk | 2 +- 3 files changed, 264 insertions(+), 264 deletions(-) delete mode 100644 package/sudo/sudo-1.8.5p1-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch create mode 100644 package/sudo/sudo-1.8.5p2-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch (limited to 'package') diff --git a/package/sudo/sudo-1.8.5p1-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch b/package/sudo/sudo-1.8.5p1-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch deleted file mode 100644 index 69512b037..000000000 --- a/package/sudo/sudo-1.8.5p1-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch +++ /dev/null @@ -1,263 +0,0 @@ -The installation of the sudoers plugin fails when cross compiling, because it -tries to run the cross-compiled visudo, rather than that of the host. - -The visudo invocation is only required in order to sanity check any existing -sudoers file in the target directory; this can safely be dispensed with. - -This is a backport of commit 8209:0c4e3f68b2f5 from upstream. - -N.B. The upstream fix will appear in sudo 1.8.6; when the Buildroot package -is bumped to version 1.8.6 (or higher), then this patch will no longer be -required. - -Signed-off-by: Simon Dawson -diff -Nurp a/common/Makefile.in b/common/Makefile.in ---- a/common/Makefile.in 2012-05-15 17:22:01.000000000 +0100 -+++ b/common/Makefile.in 2012-06-21 08:55:57.345169676 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Where to install things... - prefix = @prefix@ -diff -Nurp a/compat/Makefile.in b/compat/Makefile.in ---- a/compat/Makefile.in 2012-05-15 17:22:01.000000000 +0100 -+++ b/compat/Makefile.in 2012-06-21 08:57:09.097166477 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Where to install things... - prefix = @prefix@ -@@ -111,19 +112,21 @@ install-plugin: - uninstall: - - check: $(TEST_PROGS) -- @if [ -f fnm_test ]; then \ -- ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in; \ -- fi -- @if [ -f globtest ]; then \ -- mkdir -p `sed 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \ -- touch `cat $(srcdir)/regress/glob/files`; \ -- chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \ -- chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \ -- chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \ -- ./globtest $(srcdir)/regress/glob/globtest.in; \ -- rval=$$?; \ -- rm -rf fake; \ -- exit $$rval; \ -+ @if test X"$(cross_compiling)" != X"yes"; then \ -+ if test -f fnm_test; then \ -+ ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in; \ -+ fi; \ -+ if test -f globtest; then \ -+ mkdir -p `sed 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \ -+ touch `cat $(srcdir)/regress/glob/files`; \ -+ chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \ -+ chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \ -+ chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \ -+ ./globtest $(srcdir)/regress/glob/globtest.in; \ -+ rval=$$?; \ -+ rm -rf fake; \ -+ exit $$rval; \ -+ fi; \ - fi - - clean: -diff -Nurp a/configure b/configure ---- a/configure 2012-05-17 20:53:53.000000000 +0100 -+++ b/configure 2012-06-21 08:58:08.769163817 +0100 -@@ -691,6 +691,7 @@ password_timeout - timeout - timedir - iolog_dir -+CROSS_COMPILING - COMPAT_TEST_PROGS - SUDO_NLS - LIBINTL -@@ -2874,6 +2875,7 @@ $as_echo "$as_me: Configuring Sudo versi - - - -+ - # - # Begin initial values for man page substitution - # -@@ -20094,6 +20096,8 @@ if test -n "$GCC"; then - fi - fi - -+CROSS_COMPILING="$cross_compiling" -+ - test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' - - if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then -diff -Nurp a/configure.in b/configure.in ---- a/configure.in 2012-05-17 20:53:54.000000000 +0100 -+++ b/configure.in 2012-06-21 08:58:51.017161934 +0100 -@@ -67,6 +67,7 @@ AC_SUBST([LT_STATIC]) - AC_SUBST([LIBINTL]) - AC_SUBST([SUDO_NLS]) - AC_SUBST([COMPAT_TEST_PROGS]) -+AC_SUBST([CROSS_COMPILING]) - dnl - dnl Variables that get substituted in docs (not overridden by environment) - dnl -@@ -3198,6 +3199,11 @@ if test -n "$GCC"; then - fi - - dnl -+dnl Skip regress tests and sudoers sanity check if cross compiling. -+dnl -+CROSS_COMPILING="$cross_compiling" -+ -+dnl - dnl Set exec_prefix - dnl - test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' -diff -Nurp a/doc/Makefile.in b/doc/Makefile.in ---- a/doc/Makefile.in 2012-03-12 18:02:07.000000000 +0000 -+++ b/doc/Makefile.in 2012-06-21 08:59:06.537161242 +0100 -@@ -23,6 +23,7 @@ srcdir = @srcdir@ - docdir = @docdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ -+cross_compiling = @CROSS_COMPILING@ - - # Tools to use - NROFF = @NROFFPROG@ -diff -Nurp a/plugins/sample/Makefile.in b/plugins/sample/Makefile.in ---- a/plugins/sample/Makefile.in 2012-03-12 18:02:09.000000000 +0000 -+++ b/plugins/sample/Makefile.in 2012-06-21 08:59:24.397160445 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ -diff -Nurp a/plugins/sample_group/Makefile.in b/plugins/sample_group/Makefile.in ---- a/plugins/sample_group/Makefile.in 2012-05-15 17:22:02.000000000 +0100 -+++ b/plugins/sample_group/Makefile.in 2012-06-21 08:59:38.641159810 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ -diff -Nurp a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in ---- a/plugins/sudoers/Makefile.in 2012-05-15 17:22:02.000000000 +0100 -+++ b/plugins/sudoers/Makefile.in 2012-06-21 09:32:26.165072089 +0100 -@@ -32,6 +32,7 @@ top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include - docdir = @docdir@ - timedir = @timedir@ -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ -@@ -237,7 +238,7 @@ sudoers: $(srcdir)/sudoers.in - (cd $(top_builddir) && $(SHELL) config.status --file=plugins/sudoers/$@) - - pre-install: -- @if test -r $(DESTDIR)$(sudoersdir)/sudoers; then \ -+ @if test X"$(cross_compiling)" != X"yes" -a -r $(DESTDIR)$(sudoersdir)/sudoers; then \ - echo "Checking existing sudoers file for syntax errors."; \ - ./visudo -c -f $(DESTDIR)$(sudoersdir)/sudoers; \ - fi -@@ -280,17 +281,23 @@ uninstall: - rm -f $(DESTDIR)$(sudoersdir)/sudoers - - check: $(TEST_PROGS) visudo testsudoers -- @-rval=0; \ -- ./check_addr $(srcdir)/regress/parser/check_addr.in; \ -+ @-if test X"$(cross_compiling)" != X"yes"; then \ -+ rval=0; \ -+ PWD=`pwd`; \ -+ ./check_addr $(srcdir)/regress/parser/check_addr.in; \ - rval=`expr $$rval + $$?`; \ -- ./check_fill; \ -- rval=`expr $$rval + $$?`; \ -- ./check_iolog_path $(srcdir)/regress/iolog_path/data; \ -- rval=`expr $$rval + $$?`; \ -- ./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \ -- diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \ -- rval=`expr $$rval + $$?`; \ -- passed=0; failed=0; total=0; \ -+ ./check_fill; \ -+ rval=`expr $$rval + $$?`; \ -+ ./check_iolog_path $(srcdir)/regress/iolog_path/data; \ -+ rval=`expr $$rval + $$?`; \ -+ if [ X"$(soext)" != X"" ]; then \ -+ ./check_symbols .libs/sudoers$(soext) $(shlib_exp); \ -+ rval=`expr $$rval + $$?`; \ -+ fi; \ -+ ./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \ -+ diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \ -+ rval=`expr $$rval + $$?`; \ -+ passed=0; failed=0; total=0; \ - for t in $(srcdir)/regress/sudoers/*.in; do \ - dir=`dirname $$t`; \ - dirbase=`basename $$dir`; \ -@@ -318,8 +325,8 @@ check: $(TEST_PROGS) visudo testsudoers - total=`expr $$total + 1`; \ - done; \ - echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \ -- rval=`expr $$rval + $$failed`; \ -- passed=0; failed=0; total=0; \ -+ rval=`expr $$rval + $$failed`; \ -+ passed=0; failed=0; total=0; \ - for t in $(srcdir)/regress/*/*.sh; do \ - dir=`dirname $$t`; \ - dirbase=`basename $$dir`; \ -@@ -351,7 +358,9 @@ check: $(TEST_PROGS) visudo testsudoers - fi; \ - done; \ - echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \ -- rval=`expr $$rval + $$failed`; exit $$rval -+ rval=`expr $$rval + $$failed`; \ -+ exit $$rval; \ -+ fi - - clean: - -$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* *.out *.toke *.err -diff -Nurp a/plugins/system_group/Makefile.in b/plugins/system_group/Makefile.in ---- a/plugins/system_group/Makefile.in 2012-05-15 17:22:03.000000000 +0100 -+++ b/plugins/system_group/Makefile.in 2012-06-21 09:32:38.361071545 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ -diff -Nurp a/src/Makefile.in b/src/Makefile.in ---- a/src/Makefile.in 2012-05-08 21:56:43.000000000 +0100 -+++ b/src/Makefile.in 2012-06-21 09:32:53.233070882 +0100 -@@ -24,6 +24,7 @@ devdir = @devdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - incdir = $(top_srcdir)/include -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ -diff -Nurp a/zlib/Makefile.in b/zlib/Makefile.in ---- a/zlib/Makefile.in 2012-03-12 18:02:17.000000000 +0000 -+++ b/zlib/Makefile.in 2012-06-21 09:33:03.417070428 +0100 -@@ -22,6 +22,7 @@ - srcdir = @srcdir@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ -+cross_compiling = @CROSS_COMPILING@ - - # Compiler & tools to use - CC = @CC@ diff --git a/package/sudo/sudo-1.8.5p2-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch b/package/sudo/sudo-1.8.5p2-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch new file mode 100644 index 000000000..69512b037 --- /dev/null +++ b/package/sudo/sudo-1.8.5p2-backport-commit-8209:0c4e3f68b2f5-from-upstream.patch @@ -0,0 +1,263 @@ +The installation of the sudoers plugin fails when cross compiling, because it +tries to run the cross-compiled visudo, rather than that of the host. + +The visudo invocation is only required in order to sanity check any existing +sudoers file in the target directory; this can safely be dispensed with. + +This is a backport of commit 8209:0c4e3f68b2f5 from upstream. + +N.B. The upstream fix will appear in sudo 1.8.6; when the Buildroot package +is bumped to version 1.8.6 (or higher), then this patch will no longer be +required. + +Signed-off-by: Simon Dawson +diff -Nurp a/common/Makefile.in b/common/Makefile.in +--- a/common/Makefile.in 2012-05-15 17:22:01.000000000 +0100 ++++ b/common/Makefile.in 2012-06-21 08:55:57.345169676 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Where to install things... + prefix = @prefix@ +diff -Nurp a/compat/Makefile.in b/compat/Makefile.in +--- a/compat/Makefile.in 2012-05-15 17:22:01.000000000 +0100 ++++ b/compat/Makefile.in 2012-06-21 08:57:09.097166477 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Where to install things... + prefix = @prefix@ +@@ -111,19 +112,21 @@ install-plugin: + uninstall: + + check: $(TEST_PROGS) +- @if [ -f fnm_test ]; then \ +- ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in; \ +- fi +- @if [ -f globtest ]; then \ +- mkdir -p `sed 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \ +- touch `cat $(srcdir)/regress/glob/files`; \ +- chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \ +- chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \ +- chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \ +- ./globtest $(srcdir)/regress/glob/globtest.in; \ +- rval=$$?; \ +- rm -rf fake; \ +- exit $$rval; \ ++ @if test X"$(cross_compiling)" != X"yes"; then \ ++ if test -f fnm_test; then \ ++ ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in; \ ++ fi; \ ++ if test -f globtest; then \ ++ mkdir -p `sed 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \ ++ touch `cat $(srcdir)/regress/glob/files`; \ ++ chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \ ++ chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \ ++ chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \ ++ ./globtest $(srcdir)/regress/glob/globtest.in; \ ++ rval=$$?; \ ++ rm -rf fake; \ ++ exit $$rval; \ ++ fi; \ + fi + + clean: +diff -Nurp a/configure b/configure +--- a/configure 2012-05-17 20:53:53.000000000 +0100 ++++ b/configure 2012-06-21 08:58:08.769163817 +0100 +@@ -691,6 +691,7 @@ password_timeout + timeout + timedir + iolog_dir ++CROSS_COMPILING + COMPAT_TEST_PROGS + SUDO_NLS + LIBINTL +@@ -2874,6 +2875,7 @@ $as_echo "$as_me: Configuring Sudo versi + + + ++ + # + # Begin initial values for man page substitution + # +@@ -20094,6 +20096,8 @@ if test -n "$GCC"; then + fi + fi + ++CROSS_COMPILING="$cross_compiling" ++ + test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' + + if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then +diff -Nurp a/configure.in b/configure.in +--- a/configure.in 2012-05-17 20:53:54.000000000 +0100 ++++ b/configure.in 2012-06-21 08:58:51.017161934 +0100 +@@ -67,6 +67,7 @@ AC_SUBST([LT_STATIC]) + AC_SUBST([LIBINTL]) + AC_SUBST([SUDO_NLS]) + AC_SUBST([COMPAT_TEST_PROGS]) ++AC_SUBST([CROSS_COMPILING]) + dnl + dnl Variables that get substituted in docs (not overridden by environment) + dnl +@@ -3198,6 +3199,11 @@ if test -n "$GCC"; then + fi + + dnl ++dnl Skip regress tests and sudoers sanity check if cross compiling. ++dnl ++CROSS_COMPILING="$cross_compiling" ++ ++dnl + dnl Set exec_prefix + dnl + test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' +diff -Nurp a/doc/Makefile.in b/doc/Makefile.in +--- a/doc/Makefile.in 2012-03-12 18:02:07.000000000 +0000 ++++ b/doc/Makefile.in 2012-06-21 08:59:06.537161242 +0100 +@@ -23,6 +23,7 @@ srcdir = @srcdir@ + docdir = @docdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ ++cross_compiling = @CROSS_COMPILING@ + + # Tools to use + NROFF = @NROFFPROG@ +diff -Nurp a/plugins/sample/Makefile.in b/plugins/sample/Makefile.in +--- a/plugins/sample/Makefile.in 2012-03-12 18:02:09.000000000 +0000 ++++ b/plugins/sample/Makefile.in 2012-06-21 08:59:24.397160445 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ +diff -Nurp a/plugins/sample_group/Makefile.in b/plugins/sample_group/Makefile.in +--- a/plugins/sample_group/Makefile.in 2012-05-15 17:22:02.000000000 +0100 ++++ b/plugins/sample_group/Makefile.in 2012-06-21 08:59:38.641159810 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ +diff -Nurp a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in +--- a/plugins/sudoers/Makefile.in 2012-05-15 17:22:02.000000000 +0100 ++++ b/plugins/sudoers/Makefile.in 2012-06-21 09:32:26.165072089 +0100 +@@ -32,6 +32,7 @@ top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include + docdir = @docdir@ + timedir = @timedir@ ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ +@@ -237,7 +238,7 @@ sudoers: $(srcdir)/sudoers.in + (cd $(top_builddir) && $(SHELL) config.status --file=plugins/sudoers/$@) + + pre-install: +- @if test -r $(DESTDIR)$(sudoersdir)/sudoers; then \ ++ @if test X"$(cross_compiling)" != X"yes" -a -r $(DESTDIR)$(sudoersdir)/sudoers; then \ + echo "Checking existing sudoers file for syntax errors."; \ + ./visudo -c -f $(DESTDIR)$(sudoersdir)/sudoers; \ + fi +@@ -280,17 +281,23 @@ uninstall: + rm -f $(DESTDIR)$(sudoersdir)/sudoers + + check: $(TEST_PROGS) visudo testsudoers +- @-rval=0; \ +- ./check_addr $(srcdir)/regress/parser/check_addr.in; \ ++ @-if test X"$(cross_compiling)" != X"yes"; then \ ++ rval=0; \ ++ PWD=`pwd`; \ ++ ./check_addr $(srcdir)/regress/parser/check_addr.in; \ + rval=`expr $$rval + $$?`; \ +- ./check_fill; \ +- rval=`expr $$rval + $$?`; \ +- ./check_iolog_path $(srcdir)/regress/iolog_path/data; \ +- rval=`expr $$rval + $$?`; \ +- ./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \ +- diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \ +- rval=`expr $$rval + $$?`; \ +- passed=0; failed=0; total=0; \ ++ ./check_fill; \ ++ rval=`expr $$rval + $$?`; \ ++ ./check_iolog_path $(srcdir)/regress/iolog_path/data; \ ++ rval=`expr $$rval + $$?`; \ ++ if [ X"$(soext)" != X"" ]; then \ ++ ./check_symbols .libs/sudoers$(soext) $(shlib_exp); \ ++ rval=`expr $$rval + $$?`; \ ++ fi; \ ++ ./check_wrap $(srcdir)/regress/logging/check_wrap.in > check_wrap.out; \ ++ diff check_wrap.out $(srcdir)/regress/logging/check_wrap.out.ok; \ ++ rval=`expr $$rval + $$?`; \ ++ passed=0; failed=0; total=0; \ + for t in $(srcdir)/regress/sudoers/*.in; do \ + dir=`dirname $$t`; \ + dirbase=`basename $$dir`; \ +@@ -318,8 +325,8 @@ check: $(TEST_PROGS) visudo testsudoers + total=`expr $$total + 1`; \ + done; \ + echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \ +- rval=`expr $$rval + $$failed`; \ +- passed=0; failed=0; total=0; \ ++ rval=`expr $$rval + $$failed`; \ ++ passed=0; failed=0; total=0; \ + for t in $(srcdir)/regress/*/*.sh; do \ + dir=`dirname $$t`; \ + dirbase=`basename $$dir`; \ +@@ -351,7 +358,9 @@ check: $(TEST_PROGS) visudo testsudoers + fi; \ + done; \ + echo "$$dirbase: $$passed/$$total tests passed; $$failed/$$total tests failed"; \ +- rval=`expr $$rval + $$failed`; exit $$rval ++ rval=`expr $$rval + $$failed`; \ ++ exit $$rval; \ ++ fi + + clean: + -$(LIBTOOL) --mode=clean rm -f $(PROGS) $(TEST_PROGS) *.lo *.o *.la *.a stamp-* core *.core core.* *.out *.toke *.err +diff -Nurp a/plugins/system_group/Makefile.in b/plugins/system_group/Makefile.in +--- a/plugins/system_group/Makefile.in 2012-05-15 17:22:03.000000000 +0100 ++++ b/plugins/system_group/Makefile.in 2012-06-21 09:32:38.361071545 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ +diff -Nurp a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in 2012-05-08 21:56:43.000000000 +0100 ++++ b/src/Makefile.in 2012-06-21 09:32:53.233070882 +0100 +@@ -24,6 +24,7 @@ devdir = @devdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + incdir = $(top_srcdir)/include ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ +diff -Nurp a/zlib/Makefile.in b/zlib/Makefile.in +--- a/zlib/Makefile.in 2012-03-12 18:02:17.000000000 +0000 ++++ b/zlib/Makefile.in 2012-06-21 09:33:03.417070428 +0100 +@@ -22,6 +22,7 @@ + srcdir = @srcdir@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ ++cross_compiling = @CROSS_COMPILING@ + + # Compiler & tools to use + CC = @CC@ diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 9b0ebed57..00d08f0f4 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -4,7 +4,7 @@ # ############################################################# -SUDO_VERSION = 1.8.5p1 +SUDO_VERSION = 1.8.5p2 SUDO_SITE = http://www.sudo.ws/sudo/dist SUDO_CONF_OPT = \ --without-lecture \ -- cgit v1.2.3 From 663a1b6241b2dcae87427eff72fba9ae3fbf8d80 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Mon, 6 Aug 2012 10:26:26 +0800 Subject: Add new package: cpuload cpuload is a simple tool to obtain intuitive vision of CPU load (including total, user, system, irq and softirq) within a certain time, which is especially useful for embedded system without GUI. Signed-off-by: Kelvin Cheung Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/cpuload/Config.in | 8 ++++++++ package/cpuload/cpuload.mk | 13 +++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/cpuload/Config.in create mode 100644 package/cpuload/cpuload.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index f308de793..c9ad06a7c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -663,6 +663,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/bootutils/Config.in" endif source "package/bwm-ng/Config.in" +source "package/cpuload/Config.in" source "package/htop/Config.in" source "package/kmod/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS diff --git a/package/cpuload/Config.in b/package/cpuload/Config.in new file mode 100644 index 000000000..82bc450af --- /dev/null +++ b/package/cpuload/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_CPULOAD + bool "cpuload" + help + cpuload is a simple tool to obtain intuitive vision of CPU load + (including total, user, system, irq and softirq) within a certain + time, which is especially useful for embedded system without GUI. + + https://github.com/kelvincheung/cpuload diff --git a/package/cpuload/cpuload.mk b/package/cpuload/cpuload.mk new file mode 100644 index 000000000..d25c50463 --- /dev/null +++ b/package/cpuload/cpuload.mk @@ -0,0 +1,13 @@ +############################################################# +# +# cpuload +# +############################################################# + +CPULOAD_VERSION = v0.3 +CPULOAD_SITE = git://github.com/kelvincheung/cpuload.git +CPULOAD_LICENSE = GPLv2 +CPULOAD_LICENSE_FILES = COPYING + + +$(eval $(autotools-package)) -- cgit v1.2.3 From d27d40b0de526b4d395210067ae36a0513a29a77 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Thu, 9 Aug 2012 12:00:09 +0100 Subject: gdk-pixbuf: build x11 support, if appropriate If libX11 is available, then gdk-pixbuf can be built with X11 support. Signed-off-by: Simon Dawson Signed-off-by: Thomas Petazzoni --- package/gdk-pixbuf/gdk-pixbuf.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package') diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk index 751f499fe..0d9e20600 100644 --- a/package/gdk-pixbuf/gdk-pixbuf.mk +++ b/package/gdk-pixbuf/gdk-pixbuf.mk @@ -34,6 +34,11 @@ else GDK_PIXBUF_DEPENDENCIES += tiff endif +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +GDK_PIXBUF_CONF_OPT += --with-x11 +GDK_PIXBUF_DEPENDENCIES += xlib_libX11 +endif + GDK_PIXBUF_DEPENDENCIES += \ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) \ $(if $(BR2_ENABLE_LOCALE),,libiconv) \ -- cgit v1.2.3 From 04be7f0f8ca100afaf06b264332bc2cd61fbb3d0 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 10 Aug 2012 22:50:26 -0400 Subject: Add package linux-pam Signed-off-by: Dmitry Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/linux-pam/Config.in | 15 +++++++++++ package/linux-pam/linux-pam-configure.patch | 20 ++++++++++++++ package/linux-pam/linux-pam-doc-makefile-am.patch | 33 +++++++++++++++++++++++ package/linux-pam/linux-pam-group.patch | 26 ++++++++++++++++++ package/linux-pam/linux-pam-rhosts.patch | 24 +++++++++++++++++ package/linux-pam/linux-pam-succeed.patch | 31 +++++++++++++++++++++ package/linux-pam/linux-pam-time.patch | 26 ++++++++++++++++++ package/linux-pam/linux-pam.mk | 27 +++++++++++++++++++ 9 files changed, 203 insertions(+) create mode 100644 package/linux-pam/Config.in create mode 100644 package/linux-pam/linux-pam-configure.patch create mode 100644 package/linux-pam/linux-pam-doc-makefile-am.patch create mode 100644 package/linux-pam/linux-pam-group.patch create mode 100644 package/linux-pam/linux-pam-rhosts.patch create mode 100644 package/linux-pam/linux-pam-succeed.patch create mode 100644 package/linux-pam/linux-pam-time.patch create mode 100644 package/linux-pam/linux-pam.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index c9ad06a7c..89cb40f5e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -460,6 +460,7 @@ source "package/libnspr/Config.in" source "package/libsigc/Config.in" source "package/libtpl/Config.in" source "package/liburcu/Config.in" +source "package/linux-pam/Config.in" source "package/lttng-libust/Config.in" source "package/orc/Config.in" source "package/poco/Config.in" diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in new file mode 100644 index 000000000..722b87576 --- /dev/null +++ b/package/linux-pam/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LINUX_PAM + bool "linux-pam" + select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE + select BR2_PACKAGE_FLEX + select BR2_PACKAGE_FLEX_LIBFL + depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) + help + A Security Framework that Provides Authentication for Applications + + http://linux-pam.org + +comment "linux-pam requires a toolchain with WCHAR and locale support" + depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) + diff --git a/package/linux-pam/linux-pam-configure.patch b/package/linux-pam/linux-pam-configure.patch new file mode 100644 index 000000000..0b2326b1d --- /dev/null +++ b/package/linux-pam/linux-pam-configure.patch @@ -0,0 +1,20 @@ +Add check for ruserok + +ruserok is not available/functional in uclibc, provide conditions for compilation +where needed. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/configure.in +============================================================================ +--- linux-pam-1.1.4/configure.in 2011-06-24 06:46:33.000000000 -0400 ++++ linux-pam-1.1.4/configure.in 2012-08-09 21:14:11.000000000 -0400 +@@ -522,7 +522,7 @@ + AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname) + AC_CHECK_FUNCS(getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r) + AC_CHECK_FUNCS(getgrouplist getline getdelim) +-AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af) ++AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af ruserok) + + AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no]) + AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes]) diff --git a/package/linux-pam/linux-pam-doc-makefile-am.patch b/package/linux-pam/linux-pam-doc-makefile-am.patch new file mode 100644 index 000000000..f08d34916 --- /dev/null +++ b/package/linux-pam/linux-pam-doc-makefile-am.patch @@ -0,0 +1,33 @@ +Disable generation of documentation + +Generation of documentation is not necessary in Buildroot, disable it completely. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/doc/Makefile.am +============================================================================ +--- linux-pam-1.1.4/doc/Makefile.am 2011-06-21 05:04:56.000000000 -0400 ++++ linux-pam-1.1.4/doc/Makefile.am 2012-08-09 05:59:23.000000000 -0400 +@@ -2,8 +2,6 @@ + # Copyright (c) 2005, 2006 Thorsten Kukuk + # + +-SUBDIRS = man specs sag adg mwg +- + CLEANFILES = *~ + + dist_html_DATA = index.html +@@ -11,12 +9,4 @@ + ####################################################### + + releasedocs: all +- $(mkinstalldirs) $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs +- cp -av specs/draft-morgan-pam-current.txt \ +- $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs/ +- cp -av $(srcdir)/specs/rfc86.0.txt \ +- $(top_builddir)/Linux-PAM-$(VERSION)/doc/specs/ +- make -C sag releasedocs +- make -C adg releasedocs +- make -C mwg releasedocs +- ++ /bin/true diff --git a/package/linux-pam/linux-pam-group.patch b/package/linux-pam/linux-pam-group.patch new file mode 100644 index 000000000..a94cf9e3d --- /dev/null +++ b/package/linux-pam/linux-pam-group.patch @@ -0,0 +1,26 @@ +Conditionally compile per innetgr availability + +innetgr is not available/functional in uclibc, provide conditions for compilation. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/modules/pam_group/pam_group.c +============================================================================ +--- linux-pam-1.1.4/modules/pam_group/pam_group.c 2011-06-21 05:04:56.000000000 -0400 ++++ linux-pam-1.1.4/modules/pam_group/pam_group.c 2012-08-09 21:35:06.000000000 -0400 +@@ -655,8 +655,14 @@ + continue; + } + /* If buffer starts with @, we are using netgroups */ +- if (buffer[0] == '@') ++ if (buffer[0] == '@') { ++#ifdef HAVE_INNETGR + good &= innetgr (&buffer[1], NULL, user, NULL); ++#else ++ good = 0; ++ pam_syslog (pamh, LOG_ERR, "pam_group does not have netgroup support"); ++#endif /* HAVE_INNETGR */ ++ } + /* otherwise, if the buffer starts with %, it's a UNIX group */ + else if (buffer[0] == '%') + good &= pam_modutil_user_in_group_nam_nam(pamh, user, &buffer[1]); diff --git a/package/linux-pam/linux-pam-rhosts.patch b/package/linux-pam/linux-pam-rhosts.patch new file mode 100644 index 000000000..58f9adbb1 --- /dev/null +++ b/package/linux-pam/linux-pam-rhosts.patch @@ -0,0 +1,24 @@ +Conditionally compile per ruserok availability + +ruserok is not available/functional in uclibc, provide conditions for compilation. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/modules/pam_rhosts/pam_rhosts.c +============================================================================ +--- linux-pam-1.1.4/modules/pam_rhosts/pam_rhosts.c 2011-06-21 05:04:56.000000000 -0400 ++++ linux-pam-1.1.4/modules/pam_rhosts/pam_rhosts.c 2012-08-09 21:19:34.000000000 -0400 +@@ -114,8 +114,12 @@ + #ifdef HAVE_RUSEROK_AF + retval = ruserok_af (rhost, as_root, ruser, luser, PF_UNSPEC); + #else ++ #ifdef HAVE_RUSEROK + retval = ruserok (rhost, as_root, ruser, luser); +-#endif ++ #else ++ retval = -1; ++ #endif /* HAVE_RUSEROK */ ++#endif /*HAVE_RUSEROK_AF */ + if (retval != 0) { + if (!opt_silent || opt_debug) + pam_syslog(pamh, LOG_WARNING, "denied access to %s@%s as %s", diff --git a/package/linux-pam/linux-pam-succeed.patch b/package/linux-pam/linux-pam-succeed.patch new file mode 100644 index 000000000..8a675efa2 --- /dev/null +++ b/package/linux-pam/linux-pam-succeed.patch @@ -0,0 +1,31 @@ +Conditionally compile per innetgr availability + +innetgr is not available/functional in uclibc, provide conditions for compilation. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/modules/pam_succeed_if/pam_succeed_if.c +============================================================================ +--- linux-pam-1.1.4/modules/pam_succeed_if/pam_succeed_if.c 2011-06-21 05:04:56.000000000 -0400 ++++ linux-pam-1.1.4/modules/pam_succeed_if/pam_succeed_if.c 2012-08-09 21:05:02.000000000 -0400 +@@ -233,16 +233,20 @@ + static int + evaluate_innetgr(const char *host, const char *user, const char *group) + { ++#ifdef HAVE_INNETGR + if (innetgr(group, host, user, NULL) == 1) + return PAM_SUCCESS; ++#endif /* HAVE_INNETGR */ + return PAM_AUTH_ERR; + } + /* Return PAM_SUCCESS if the (host,user) is NOT in the netgroup. */ + static int + evaluate_notinnetgr(const char *host, const char *user, const char *group) + { ++#ifdef HAVE_INNETGR + if (innetgr(group, host, user, NULL) == 0) + return PAM_SUCCESS; ++#endif /* HAVE_INNETGR */ + return PAM_AUTH_ERR; + } + diff --git a/package/linux-pam/linux-pam-time.patch b/package/linux-pam/linux-pam-time.patch new file mode 100644 index 000000000..58d7c9f02 --- /dev/null +++ b/package/linux-pam/linux-pam-time.patch @@ -0,0 +1,26 @@ +Conditionally compile per innetgr availability + +innetgr is not available/functional in uclibc, provide conditions for compilation. + +Signed-off-by: Dmitry Golubovsky + +Index: linux-pam-1.1.4/modules/pam_time/pam_time.c +============================================================================ +--- linux-pam-1.1.4/modules/pam_time/pam_time.c 2011-06-21 05:04:56.000000000 -0400 ++++ linux-pam-1.1.4/modules/pam_time/pam_time.c 2012-08-09 21:02:29.000000000 -0400 +@@ -554,8 +554,14 @@ + continue; + } + /* If buffer starts with @, we are using netgroups */ +- if (buffer[0] == '@') ++ if (buffer[0] == '@') { ++#ifdef HAVE_INNETGR + good &= innetgr (&buffer[1], NULL, user, NULL); ++#else ++ good = 0; ++ pam_syslog (pamh, LOG_ERR, "pam_time does not have netgroup support"); ++#endif /* HAVE_INNETGR */ ++ } + else + good &= logic_field(pamh, user, buffer, count, is_same); + D(("with user: %s", good ? "passes":"fails" )); diff --git a/package/linux-pam/linux-pam.mk b/package/linux-pam/linux-pam.mk new file mode 100644 index 000000000..48cb07394 --- /dev/null +++ b/package/linux-pam/linux-pam.mk @@ -0,0 +1,27 @@ +############################################ +# +# linux-pam +# +############################################ + +LINUX_PAM_VERSION = 1.1.4 +LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.bz2 +LINUX_PAM_SITE = http://linux-pam.org/library/ +LINUX_PAM_INSTALL_STAGING = YES +LINUX_PAM_CONF_OPT = \ + --disable-prelude \ + --disable-isadir \ + --disable-nis \ + --disable-regenerate-docu \ + --enable-securedir=/lib/security \ + --libdir=/lib +LINUX_PAM_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) flex +LINUX_PAM_AUTORECONF = YES +LINUX_PAM_LICENSE = BSD-3c +LINUX_PAM_LICENSE_FILES = Copyright + +ifeq ($(BR2_PACKAGE_LIBINTL),y) + LINUX_PAM_MAKE_OPT += LIBS=-lintl +endif + +$(eval $(autotools-package)) -- cgit v1.2.3 From 6a81db89eb036216c87b3036251adbeea2013b0e Mon Sep 17 00:00:00 2001 From: Stefan Froberg Date: Fri, 10 Aug 2012 22:30:11 +0300 Subject: yasm: New package [thomas.petazzoni@free-electrons.com: drop the --disable-static from configuration options, the default behavior should work without problem. make sure the pre configure hook is also executed for the host variant of the package. add the project upstream URL in the package help text ] Signed-off-by: Stefan Froberg Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/yasm/Config.in | 9 +++++++++ package/yasm/yasm.mk | 20 ++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 package/yasm/Config.in create mode 100644 package/yasm/yasm.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 89cb40f5e..45f079953 100644 --- a/package/Config.in +++ b/package/Config.in @@ -91,6 +91,7 @@ source "package/sstrip/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS source "package/tar/Config.in" endif +source "package/yasm/Config.in" endmenu menu "Games" diff --git a/package/yasm/Config.in b/package/yasm/Config.in new file mode 100644 index 000000000..bb1d41722 --- /dev/null +++ b/package/yasm/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_YASM + bool "yasm" + depends on BR2_i386 || BR2_x86_64 + help + Yasm is a complete rewrite of the NASM-2.10.01 assembler. + It supports the x86 and AMD64 instruction sets, accepts NASM + and GAS assembler syntaxes and outputs binary, ELF32 and ELF64 + object formats. + diff --git a/package/yasm/yasm.mk b/package/yasm/yasm.mk new file mode 100644 index 000000000..ac75d2b6a --- /dev/null +++ b/package/yasm/yasm.mk @@ -0,0 +1,20 @@ +############################################################# +# +# yasm +# +############################################################# +YASM_VERSION = 1.2.0 +YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz +YASM_SITE = http://www.tortall.net/projects/yasm/releases/ +YASM_CONF_OPT = --disable-static + +define YASM_PRE_CONFIGURE_FIXUP +# This sed prevents it compiling 2 programs (vsyasm and ytasm) +# that are only of use on Microsoft Windows. + sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in +endef + +YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) -- cgit v1.2.3 From 956caf62480f2cb0adada6a5a9f1e5ca3dd2b262 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 11 Aug 2012 17:18:32 +1000 Subject: acpid: add init.d script Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/acpid/S02acpid | 22 ++++++++++++++++++++++ package/acpid/acpid.mk | 1 + 2 files changed, 23 insertions(+) create mode 100755 package/acpid/S02acpid (limited to 'package') diff --git a/package/acpid/S02acpid b/package/acpid/S02acpid new file mode 100755 index 000000000..ec686d8f5 --- /dev/null +++ b/package/acpid/S02acpid @@ -0,0 +1,22 @@ +#!/bin/sh + +case "$1" in + start) + echo -n "Starting acpid: " + start-stop-daemon -S -q -m -b -p /var/run/acpid.pid --exec /usr/sbin/acpid -- -n + echo "done" + ;; + stop) + echo -n "Stopping acpid: " + start-stop-daemon -K -q -p /var/run/acpid.pid + echo "done" + ;; + restart) + "$0" stop + sleep 1 + "$0" start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + ;; +esac diff --git a/package/acpid/acpid.mk b/package/acpid/acpid.mk index cacfb27e7..56f671d99 100644 --- a/package/acpid/acpid.mk +++ b/package/acpid/acpid.mk @@ -18,6 +18,7 @@ define ACPID_INSTALL_TARGET_CMDS install -D -m 644 $(@D)/acpi_listen.8 $(TARGET_DIR)/usr/share/man/man8/acpi_listen.8 mkdir -p $(TARGET_DIR)/etc/acpi/events /bin/echo -e "event=button[ /]power\naction=/sbin/poweroff" > $(TARGET_DIR)/etc/acpi/events/powerbtn + $(INSTALL) -D -m 0755 package/acpid/S02acpid $(TARGET_DIR)/etc/init.d/S02acpid endef define ACPID_UNINSTALL_TARGET_CMDS -- cgit v1.2.3 From 54fe81fbb49d29a15945bdcf8e2c281bcb1969fd Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 11 Aug 2012 22:33:40 +0200 Subject: yasm: minor fixes that should have been part the commit adding the package Signed-off-by: Thomas Petazzoni --- package/yasm/Config.in | 1 + package/yasm/yasm.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/yasm/Config.in b/package/yasm/Config.in index bb1d41722..2dc25aadb 100644 --- a/package/yasm/Config.in +++ b/package/yasm/Config.in @@ -7,3 +7,4 @@ config BR2_PACKAGE_YASM and GAS assembler syntaxes and outputs binary, ELF32 and ELF64 object formats. + http://www.tortall.net/projects/yasm/ diff --git a/package/yasm/yasm.mk b/package/yasm/yasm.mk index ac75d2b6a..fafd1ec6d 100644 --- a/package/yasm/yasm.mk +++ b/package/yasm/yasm.mk @@ -6,7 +6,6 @@ YASM_VERSION = 1.2.0 YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz YASM_SITE = http://www.tortall.net/projects/yasm/releases/ -YASM_CONF_OPT = --disable-static define YASM_PRE_CONFIGURE_FIXUP # This sed prevents it compiling 2 programs (vsyasm and ytasm) @@ -15,6 +14,7 @@ define YASM_PRE_CONFIGURE_FIXUP endef YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP +HOST_YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP $(eval $(autotools-package)) $(eval $(host-autotools-package)) -- cgit v1.2.3 From 1ff74a535d9c5e7e7f996eb9b8d8f83f8af44f1e Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 11 Aug 2012 17:12:05 +1000 Subject: python-meld3: new package [thomas.petazzoni@free-electrons.com: Fixup indentation in the Config.in file. Add 'select BR2_PACKAGE_PYTHON_PYEXPAT' which is needed to get XML support in Python. Add license information.] Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-meld3/Config.in | 8 ++++++++ package/python-meld3/python-meld3.mk | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/python-meld3/Config.in create mode 100644 package/python-meld3/python-meld3.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 45f079953..a9101b205 100644 --- a/package/Config.in +++ b/package/Config.in @@ -271,6 +271,7 @@ menu "external python modules" source "package/python-dpkt/Config.in" source "package/python-id3/Config.in" source "package/python-mad/Config.in" +source "package/python-meld3/Config.in" source "package/python-netifaces/Config.in" source "package/python-nfc/Config.in" source "package/python-pygame/Config.in" diff --git a/package/python-meld3/Config.in b/package/python-meld3/Config.in new file mode 100644 index 000000000..8dee723e0 --- /dev/null +++ b/package/python-meld3/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MELD3 + bool "python-meld3" + depends on BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_PYEXPAT + help + A HTML/XML templating system. + + https://github.com/supervisor/meld3 diff --git a/package/python-meld3/python-meld3.mk b/package/python-meld3/python-meld3.mk new file mode 100644 index 000000000..de83b2850 --- /dev/null +++ b/package/python-meld3/python-meld3.mk @@ -0,0 +1,22 @@ +############################################################# +# +# python-meld3 +# +############################################################# + +PYTHON_MELD3_VERSION = 0.6.8 +PYTHON_MELD3_SOURCE = meld3-$(PYTHON_MELD3_VERSION).tar.gz +PYTHON_MELD3_SITE = http://pypi.python.org/packages/source/m/meld3/ +PYTHON_MELD3_DEPENDENCIES = python +PYTHON_MELD3_LICENSE = ZPLv2.1 +PYTHON_MELD3_LICENSE_FILES = COPYRIGHT.txt LICENSE.txt + +define PYTHON_MELD3_BUILD_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) +endef + +define PYTHON_MELD3_INSTALL_TARGET_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) +endef + +$(eval $(generic-package)) -- cgit v1.2.3 From 380ff787d95f9fa36a73503fd3ac6d5c40a5e6bc Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 11 Aug 2012 17:12:06 +1000 Subject: supervisor: new package [thomas.petazzoni@free-electrons.com: Fixup indentation of Config.in file. Add 'depends on BR2_PACKAGE_PYTHON' so that the package does not appear when the Python interpreter is not enabled. Add license files information, but not the license tag: the package includes software under multiple licenses.] Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/supervisor/Config.in | 13 +++++++++++++ package/supervisor/S99supervisord | 29 +++++++++++++++++++++++++++++ package/supervisor/supervisor.mk | 26 ++++++++++++++++++++++++++ package/supervisor/supervisord.conf | 18 ++++++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 package/supervisor/Config.in create mode 100755 package/supervisor/S99supervisord create mode 100644 package/supervisor/supervisor.mk create mode 100644 package/supervisor/supervisord.conf (limited to 'package') diff --git a/package/Config.in b/package/Config.in index a9101b205..3a059173f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -683,6 +683,7 @@ source "package/rsyslog/Config.in" source "package/sysklogd/Config.in" source "package/sysvinit/Config.in" endif +source "package/supervisor/Config.in" source "package/systemd/Config.in" source "package/util-linux/Config.in" source "package/dsp-tools/Config.in" diff --git a/package/supervisor/Config.in b/package/supervisor/Config.in new file mode 100644 index 000000000..53401810f --- /dev/null +++ b/package/supervisor/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_SUPERVISOR + bool "supervisor" + depends on BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_SETUPTOOLS + select BR2_PACKAGE_PYTHON_MELD3 + help + A client/server system that allows its users to control a + number of processes on UNIX-like operating systems. + + http://supervisord.org/ + +comment "supervisor needs the python interpreter" + depends on !BR2_PACKAGE_PYTHON diff --git a/package/supervisor/S99supervisord b/package/supervisor/S99supervisord new file mode 100755 index 000000000..0856d65a5 --- /dev/null +++ b/package/supervisor/S99supervisord @@ -0,0 +1,29 @@ +#!/bin/sh + +mkdir -p /var/log/supervisor + +case "$1" in + start) + echo -n "Starting supervisord: " + start-stop-daemon -S -q -p /var/run/supervisord.pid --exec /usr/bin/supervisord + echo "done" + ;; + stop) + echo -n "Stopping supervisord: " + start-stop-daemon -K -q -p /var/run/supervisord.pid + echo "done" + ;; + restart) + "$0" stop + sleep 5 + "$0" start + ;; + reload) + start-stop-daemon -K -q -p /var/run/supervisord.pid -s HUP + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac + +exit $? diff --git a/package/supervisor/supervisor.mk b/package/supervisor/supervisor.mk new file mode 100644 index 000000000..26afff35f --- /dev/null +++ b/package/supervisor/supervisor.mk @@ -0,0 +1,26 @@ +############################################################# +# +# python-supervisor +# +############################################################# + +SUPERVISOR_VERSION = 3.0a12 +SUPERVISOR_SOURCE = supervisor-$(SUPERVISOR_VERSION).tar.gz +SUPERVISOR_SITE = http://pypi.python.org/packages/source/s/supervisor/ +SUPERVISOR_LICENSE_FILES = LICENSES.txt + +SUPERVISOR_DEPENDENCIES = python host-python-setuptools + +define SUPERVISOR_BUILD_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) +endef + +define SUPERVISOR_INSTALL_TARGET_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=/usr --root=$(TARGET_DIR)) + sed -i '1s|#!.*python.*|#!/usr/bin/env python|' $(TARGET_DIR)/usr/bin/{echo_supervisord_conf,pidproxy,supervisorctl,supervisord} + $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d + $(INSTALL) -D -m 644 package/supervisor/supervisord.conf $(TARGET_DIR)/etc/supervisord.conf + $(INSTALL) -m 755 package/supervisor/S99supervisord $(TARGET_DIR)/etc/init.d/S99supervisord +endef + +$(eval $(generic-package)) diff --git a/package/supervisor/supervisord.conf b/package/supervisor/supervisord.conf new file mode 100644 index 000000000..1372a688a --- /dev/null +++ b/package/supervisor/supervisord.conf @@ -0,0 +1,18 @@ +[unix_http_server] +file = /var/run/supervisor.sock + +[supervisord] +logfile = /var/log/supervisor/supervisord.log +logfile_maxbytes = 200KB +logfile_backups = 1 +pidfile = /var/run/supervisord.pid +childlogdir = /var/log/supervisor + +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[supervisorctl] +serverurl = unix:///var/run/supervisor.sock + +[include] +files = /etc/supervisor.d/*.conf -- cgit v1.2.3 From 42136fea75b123377df99189fc8c8871cd568584 Mon Sep 17 00:00:00 2001 From: Stefan Froberg Date: Sun, 12 Aug 2012 00:57:11 +0300 Subject: cairo: Add tee surface backend option (required by firefox) Signed-off-by: Stefan Froberg Signed-off-by: Thomas Petazzoni --- package/cairo/Config.in | 3 +++ package/cairo/cairo.mk | 6 ++++++ 2 files changed, 9 insertions(+) (limited to 'package') diff --git a/package/cairo/Config.in b/package/cairo/Config.in index 19c47231d..398e47fb6 100644 --- a/package/cairo/Config.in +++ b/package/cairo/Config.in @@ -32,4 +32,7 @@ config BR2_PACKAGE_CAIRO_SVG select BR2_PACKAGE_CAIRO_PNG select BR2_PACKAGE_CAIRO_PDF +config BR2_PACKAGE_CAIRO_TEE + bool "tee support" endif + diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk index 6b456dd89..eedb28d0e 100644 --- a/package/cairo/cairo.mk +++ b/package/cairo/cairo.mk @@ -77,4 +77,10 @@ else CAIRO_CONF_OPT += --disable-svg endif +ifeq ($(BR2_PACKAGE_CAIRO_TEE),y) + CAIRO_CONF_OPT += --enable-tee +else + CAIRO_CONF_OPT += --disable-tee +endif + $(eval $(autotools-package)) -- cgit v1.2.3 From b96e11f0a1cd91256c6fede83030aa1369b4794a Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:26 -0300 Subject: iptables: bump to version 1.4.15 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/iptables/iptables.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk index a5ec6a777..bdef57588 100644 --- a/package/iptables/iptables.mk +++ b/package/iptables/iptables.mk @@ -4,11 +4,13 @@ # ############################################################# -IPTABLES_VERSION = 1.4.14 +IPTABLES_VERSION = 1.4.15 IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2 IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables IPTABLES_INSTALL_STAGING = YES IPTABLES_DEPENDENCIES = host-pkg-config +IPTABLES_LICENSE = GPLv2 +IPTABLES_LICENSE_FILES = COPYING IPTABLES_CONF_OPT = --libexecdir=/usr/lib --with-kernel=$(LINUX_HEADERS_DIR) -- cgit v1.2.3 From 5de5a65807de9ce230c6516eef00cf26876a1ee6 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:27 -0300 Subject: conntrack-tools: bump to version 1.2.2 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/conntrack-tools/conntrack-tools.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/conntrack-tools/conntrack-tools.mk b/package/conntrack-tools/conntrack-tools.mk index 8f1159bdb..6f438fc94 100644 --- a/package/conntrack-tools/conntrack-tools.mk +++ b/package/conntrack-tools/conntrack-tools.mk @@ -4,10 +4,12 @@ # ############################################################# -CONNTRACK_TOOLS_VERSION = 1.2.1 +CONNTRACK_TOOLS_VERSION = 1.2.2 CONNTRACK_TOOLS_SOURCE = conntrack-tools-$(CONNTRACK_TOOLS_VERSION).tar.bz2 CONNTRACK_TOOLS_SITE = http://www.netfilter.org/projects/conntrack-tools/files CONNTRACK_TOOLS_DEPENDENCIES = host-pkg-config \ libnetfilter_conntrack libnetfilter_cttimeout +CONNTRACK_TOOLS_LICENSE = GPLv2 +CONNTRACK_TOOLS_LICENSE_FILES = COPYING $(eval $(autotools-package)) -- cgit v1.2.3 From 1bf148d6c7ac6c45e954a3b3c941903a5683df56 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:28 -0300 Subject: mpg123: bump to version 1.14.4 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/multimedia/mpg123/mpg123.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/multimedia/mpg123/mpg123.mk b/package/multimedia/mpg123/mpg123.mk index c3d2c9cce..3576cb725 100644 --- a/package/multimedia/mpg123/mpg123.mk +++ b/package/multimedia/mpg123/mpg123.mk @@ -4,11 +4,13 @@ # ############################################################# -MPG123_VERSION = 1.14.2 +MPG123_VERSION = 1.14.4 MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 MPG123_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) MPG123_CONF_OPT = --with-optimization=0 --disable-lfs-alias MPG123_INSTALL_STAGING = YES +MPG123_LICENSE = LGPLv2.1 +MPG123_LICENSE_FILES = COPYING MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu) -- cgit v1.2.3 From 9de6de21c2ea7b9ac4a135771ec6f85ee254ddb1 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:29 -0300 Subject: mpd: bump to version 0.17 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/multimedia/mpd/mpd.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk index 28bc4cbfd..54a5ba7a7 100644 --- a/package/multimedia/mpd/mpd.mk +++ b/package/multimedia/mpd/mpd.mk @@ -4,9 +4,11 @@ # ############################################################# -MPD_VERSION = 0.16.8 +MPD_VERSION = 0.17 MPD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/musicpd/mpd/$(MPD_VERSION) MPD_DEPENDENCIES = host-pkg-config libglib2 +MPD_LICENSE = GPLv2 +MPD_LICENSE_FILES = COPYING # Some options need an explicit --disable or --enable -- cgit v1.2.3 From 03e3cd9572665c8332c2ace0cbc8b251983108ac Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:31 -0300 Subject: samba: bump to version 3.6.7 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/samba/samba.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 6b9a08260..301a39fc0 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -4,7 +4,7 @@ # ############################################################# -SAMBA_VERSION = 3.6.6 +SAMBA_VERSION = 3.6.7 SAMBA_SITE = http://ftp.samba.org/pub/samba/stable SAMBA_SUBDIR = source3 SAMBA_INSTALL_STAGING = YES -- cgit v1.2.3 From a3a698de727b9747f4fd4b1495426b7fe4918af3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:32 -0300 Subject: ethtool: bump to version 3.5 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/ethtool/ethtool.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 63a8d5481..30d0a4764 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -4,7 +4,9 @@ # ############################################################# -ETHTOOL_VERSION = 3.4.1 +ETHTOOL_VERSION = 3.5 ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_LICENSE = GPLv2 +ETHTOOL_LICENSE_FILE = COPYING $(eval $(autotools-package)) -- cgit v1.2.3 From 53824c97d3c4345912a99aa5a1227fce102868b7 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sat, 11 Aug 2012 19:27:33 -0300 Subject: e2fsprogs: bump to version 1.42.5 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/e2fsprogs/e2fsprogs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index 16725ac21..16085210d 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -4,7 +4,7 @@ # ############################################################# -E2FSPROGS_VERSION = 1.42.4 +E2FSPROGS_VERSION = 1.42.5 E2FSPROGS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs E2FSPROGS_CONF_OPT = \ -- cgit v1.2.3 From 80cde682b1f3a794e173efd82a347d5bab658730 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 12 Aug 2012 11:36:31 +1000 Subject: opkg: bump version to svn r635 It is recommended to use the most recent revision from subversion as it contains various fixes. Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/opkg/opkg.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk index be67f8ebc..3ba61aea4 100644 --- a/package/opkg/opkg.mk +++ b/package/opkg/opkg.mk @@ -4,11 +4,13 @@ # ############################################################# -OPKG_VERSION = 0.1.8 +OPKG_VERSION = 635 OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz -OPKG_SITE = http://opkg.googlecode.com/files +OPKG_SITE = http://opkg.googlecode.com/svn/trunk/ +OPKG_SITE_METHOD = svn OPKG_INSTALL_STAGING = YES OPKG_CONF_OPT = --disable-curl --disable-gpg +OPKG_AUTORECONF = YES # Ensure directory for lockfile exists define OPKG_CREATE_LOCKDIR -- cgit v1.2.3 From 1fc66acff88caf18e0649e5482a5a55eae633eee Mon Sep 17 00:00:00 2001 From: "J.C. Woltz" Date: Sat, 17 Mar 2012 21:30:34 -0400 Subject: usb_modeswitch: update to 1.2.4 This patch updates usb_modeswitch to version 1.2.4. The usb_modeswitch.mk needed to be modified for usb_modeswitch to compile. Also added extra remove section for the added help scripts and files. [thomas.petazzoni@free-electrons.com: bumped further to 1.2.4 instead of 1.2.3, adjusted the patch accordingly use TARGET_CONFIGURE_OPTS instead of passing CC, LD manually add license information.] Signed-off-by: J.C. Woltz Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- .../usb_modeswitch/usb_modeswitch-makefile.patch | 50 +++++++++++++--------- package/usb_modeswitch/usb_modeswitch.mk | 23 ++++++---- 2 files changed, 44 insertions(+), 29 deletions(-) (limited to 'package') diff --git a/package/usb_modeswitch/usb_modeswitch-makefile.patch b/package/usb_modeswitch/usb_modeswitch-makefile.patch index 918200b61..b79274179 100644 --- a/package/usb_modeswitch/usb_modeswitch-makefile.patch +++ b/package/usb_modeswitch/usb_modeswitch-makefile.patch @@ -1,23 +1,31 @@ -diff -Nura usb-modeswitch-1.1.2.orig/Makefile usb-modeswitch-1.1.2/Makefile ---- usb-modeswitch-1.1.2.orig/Makefile 2010-04-17 15:27:11.000000000 -0300 -+++ usb-modeswitch-1.1.2/Makefile 2010-04-22 15:05:32.363471807 -0300 -@@ -1,6 +1,6 @@ - PROG = usb_modeswitch - VERS = 1.1.2 --CC = gcc -+CC ?= gcc - CFLAGS += -Wall -l usb - RM = /bin/rm -f - OBJS = usb_modeswitch.c -@@ -23,8 +23,9 @@ - install: all - install -d $(SBINDIR) - install --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch -- install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch -- install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf -+ #install --mode=755 usb_modeswitch.tcl $(UDEVDIR)/usb_modeswitch -+ #install --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf -+ install -d $(MANDIR) - install --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1 +Removed the -s from the install command. Without this, usb_modeswitch would +fail to install. + +Signed-off-by: J.C. Woltz + +Index: b/Makefile +=================================================================== +--- a/Makefile ++++ b/Makefile +@@ -46,7 +46,7 @@ + cd jim && $(MAKE) distclean + install-common: all +- install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch ++ install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch + install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch + install -D --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf + install -D --mode=644 usb_modeswitch.1 $(MANDIR)/usb_modeswitch.1 +@@ -67,10 +67,10 @@ + install: install-common install-script + install-shared: dispatcher-dynamic install-common +- install -D -s --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher ++ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher + + install-static: dispatcher-static install-common +- install -D -s --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher ++ install -D --mode=755 usb_modeswitch_dispatcher $(SBINDIR)/usb_modeswitch_dispatcher + + uninstall: + $(RM) $(SBINDIR)/usb_modeswitch diff --git a/package/usb_modeswitch/usb_modeswitch.mk b/package/usb_modeswitch/usb_modeswitch.mk index 5f20f30d8..c517991c3 100644 --- a/package/usb_modeswitch/usb_modeswitch.mk +++ b/package/usb_modeswitch/usb_modeswitch.mk @@ -4,26 +4,33 @@ # ############################################################# -USB_MODESWITCH_VERSION = 1.1.2 +USB_MODESWITCH_VERSION = 1.2.4 USB_MODESWITCH_SOURCE = usb-modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2 USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch USB_MODESWITCH_DEPENDENCIES = libusb-compat +USB_MODESWITCH_LICENSE = GPLv2+ +USB_MODESWITCH_LICENSE_FILES = COPYING define USB_MODESWITCH_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define USB_MODESWITCH_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - $(INSTALL) -D $(@D)/usb_modeswitch.setup -m 0644 \ - $(TARGET_DIR)/etc/usb_modeswitch.setup endef + define USB_MODESWITCH_CLEAN_CMDS - rm -f $(TARGET_DIR)/usr/sbin/usb_modeswitch - rm -f $(TARGET_DIR)/etc/usb_modeswitch.setup - rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1 + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean endef -$(eval $(generic-package)) +define USB_MODESWITCH_UNINSTALL_CMDS + $(RM) -f $(TARGET_DIR)/usr/sbin/usb_modeswitch + $(RM) -f $(TARGET_DIR)/lib/udev/usb_modeswitch + $(RM) -f $(TARGET_DIR)/etc/usb_modeswitch.setup + $(RM) -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1 + $(RM) -rf $(TARGET_DIR)/var/lib/usb_modeswitch + $(RM) -f $(TARGET_DIR)/usr/sbin/usb_modeswitch_dispatcher +endef +$(eval $(generic-package)) -- cgit v1.2.3 From 572ba0692c7a41b4e4b86009b9964e5045939fef Mon Sep 17 00:00:00 2001 From: "J.C. Woltz" Date: Sat, 17 Mar 2012 21:30:35 -0400 Subject: new package: usb_modeswitch_data usb_modeswitch_data provides udev rules for usb VID/PID combinations to switch usb deices from their default mode into a more useable mode. The default mode usually is a cdrom with installation software that is of little use in an embedded linux situation Signed-off-by: J.C. Woltz Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/usb_modeswitch_data/Config.in | 12 ++++++++++ .../usb_modeswitch_data-makefile.patch | 27 ++++++++++++++++++++++ package/usb_modeswitch_data/usb_modeswitch_data.mk | 24 +++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 package/usb_modeswitch_data/Config.in create mode 100644 package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch create mode 100644 package/usb_modeswitch_data/usb_modeswitch_data.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 3a059173f..3f46d3af0 100644 --- a/package/Config.in +++ b/package/Config.in @@ -239,6 +239,7 @@ source "package/uboot-tools/Config.in" source "package/udev/Config.in" source "package/unionfs/Config.in" source "package/usb_modeswitch/Config.in" +source "package/usb_modeswitch_data/Config.in" source "package/usbmount/Config.in" source "package/usbutils/Config.in" source "package/wipe/Config.in" diff --git a/package/usb_modeswitch_data/Config.in b/package/usb_modeswitch_data/Config.in new file mode 100644 index 000000000..8698bb606 --- /dev/null +++ b/package/usb_modeswitch_data/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_USB_MODESWITCH_DATA + bool "usb_modeswitch_data" + select BR2_PACKAGE_USB_MODESWITCH + # tcl is a runtime dependency + select BR2_PACKAGE_TCL + select BR2_PACKAGE_TCL_TCLSH + help + USB mode switch data + Contains udev rules and events to allow usb_modeswitch to + function automatically + + http://www.draisberghof.de/usb_modeswitch/ diff --git a/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch b/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch new file mode 100644 index 000000000..769e51453 --- /dev/null +++ b/package/usb_modeswitch_data/usb_modeswitch_data-makefile.patch @@ -0,0 +1,27 @@ +Fixed Makefile install sections to not reload udev rules. In a +cross-compiler environment, it is not wanted to reload the host udev rules. + +Signed-off-by: J.C. Woltz +--- usb_modeswitch_data-20120120.orig/Makefile 2012-01-20 17:25:32.000000000 -0500 ++++ usb_modeswitch_data-20120120/Makefile 2012-02-06 14:20:47.000000000 -0500 +@@ -12,9 +12,9 @@ + + clean: + +-install: files-install db-install rules-reload ++install: files-install db-install + +-install-packed: files-install db-install-packed rules-reload ++install-packed: files-install db-install-packed + + files-install: + install -d $(PREFIX)/share/usb_modeswitch +@@ -50,7 +50,7 @@ + fi \ + fi + +-uninstall: files-uninstall rules-reload ++uninstall: files-uninstall + + files-uninstall: + $(RM) $(RULESDIR)/40-usb_modeswitch.rules diff --git a/package/usb_modeswitch_data/usb_modeswitch_data.mk b/package/usb_modeswitch_data/usb_modeswitch_data.mk new file mode 100644 index 000000000..d493144ae --- /dev/null +++ b/package/usb_modeswitch_data/usb_modeswitch_data.mk @@ -0,0 +1,24 @@ +############################################################# +# +# usb_modeswitch_data +# +############################################################# + +USB_MODESWITCH_DATA_VERSION = 20120812 +USB_MODESWITCH_DATA_SOURCE = usb-modeswitch-data-$(USB_MODESWITCH_DATA_VERSION).tar.bz2 +USB_MODESWITCH_DATA_SITE = http://www.draisberghof.de/usb_modeswitch +USB_MODESWITCH_DATA_DEPENDENCIES = usb_modeswitch +USB_MODESWITCH_DATA_LICENSE = GPLv2+ +USB_MODESWITCH_DATA_LICENSE_FILES = COPYING + +# Nothing to build, it is a pure data package + +define USB_MODESWITCH_DATA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +define USB_MODESWITCH_DATA_CLEAN_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean +endef + +$(eval $(generic-package)) -- cgit v1.2.3 From cbe5b5b7cbb9e6acb6c4984bb5d9a5fe14b73032 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 12 Aug 2012 19:25:08 +0200 Subject: usb_modeswitch_data: add patch to fix parallel installation Signed-off-by: Thomas Petazzoni --- .../usb_modeswitch_data-fix-parallel-install.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/usb_modeswitch_data/usb_modeswitch_data-fix-parallel-install.patch (limited to 'package') diff --git a/package/usb_modeswitch_data/usb_modeswitch_data-fix-parallel-install.patch b/package/usb_modeswitch_data/usb_modeswitch_data-fix-parallel-install.patch new file mode 100644 index 000000000..ba3049956 --- /dev/null +++ b/package/usb_modeswitch_data/usb_modeswitch_data-fix-parallel-install.patch @@ -0,0 +1,17 @@ +Properly create the directory before creating it so that parallel +install work fine. + +Signed-off-by: Thomas Petazzoni + +Index: b/Makefile +=================================================================== +--- a/Makefile ++++ b/Makefile +@@ -22,6 +22,7 @@ + install -D --mode=644 40-usb_modeswitch.rules $(RULESDIR)/40-usb_modeswitch.rules + + db-install: ++ install -d $(PREFIX)/share/usb_modeswitch + install --mode=644 -t $(PREFIX)/share/usb_modeswitch ./usb_modeswitch.d/* + + db-install-packed: -- cgit v1.2.3 From 9d9f7feba4ffbfeb54479f1ad90d47acca1a6f0b Mon Sep 17 00:00:00 2001 From: Sagaert Johan Date: Wed, 21 Mar 2012 00:16:57 +0100 Subject: new package: gsl the GNU Scientific Library. [thomas.petazzoni@free-electrons.com: renamed package to 'gsl' to match upstream name. added license information.] Signed-off-by: Sagaert Johan Signed-off-by: Thomas Petazzoni Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/gsl/Config.in | 10 ++++++++++ package/gsl/gsl.mk | 13 +++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 package/gsl/Config.in create mode 100644 package/gsl/gsl.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 3f46d3af0..d6a66fd31 100644 --- a/package/Config.in +++ b/package/Config.in @@ -457,6 +457,7 @@ source "package/libelf/Config.in" source "package/libevent/Config.in" source "package/libev/Config.in" source "package/libffi/Config.in" +source "package/gsl/Config.in" source "package/libglib2/Config.in" source "package/libical/Config.in" source "package/libnspr/Config.in" diff --git a/package/gsl/Config.in b/package/gsl/Config.in new file mode 100644 index 000000000..92541da71 --- /dev/null +++ b/package/gsl/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_GSL + bool "gsl" + help + The GNU Scientific Library (GSL) is a numerical library for + C and C++ programmers. The library provides a wide range of + mathematical routines such as random number generators, + special functions and least-squares fitting. There are over + 1000 functions in total with an extensive test suite. + + http://www.gnu.org/software/gsl diff --git a/package/gsl/gsl.mk b/package/gsl/gsl.mk new file mode 100644 index 000000000..71968590a --- /dev/null +++ b/package/gsl/gsl.mk @@ -0,0 +1,13 @@ +############################################################# +# +# gnu gsl +# +############################################################# +GSL_VERSION = 1.15 +GSL_SOURCE = gsl-$(GSL_VERSION).tar.gz +GSL_SITE = $(BR2_GNU_MIRROR)/gsl +GSL_INSTALL_STAGING = YES +GSL_LICENSE = GPLv3 +GSL_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) -- cgit v1.2.3 From 0c801c99dcf2f84f642a27a11b9d2458106d4afc Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Wed, 15 Aug 2012 16:38:23 +0200 Subject: microperl: add license info Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/microperl/microperl.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') diff --git a/package/microperl/microperl.mk b/package/microperl/microperl.mk index fbf319c56..b2a912a09 100644 --- a/package/microperl/microperl.mk +++ b/package/microperl/microperl.mk @@ -7,6 +7,8 @@ MICROPERL_VERSION = 5.12.4 MICROPERL_SITE = http://www.cpan.org/src/5.0 MICROPERL_SOURCE = perl-$(MICROPERL_VERSION).tar.bz2 +MICROPERL_LICENSE = Artistic +MICROPERL_LICENSE_FILES = Artistic MICROPERL_DEPENDENCIES = host-microperl MICROPERL_MODS_DIR = /usr/lib/perl5/$(MICROPERL_VERSION) MICROPERL_ARCH_DIR = $(MICROPERL_MODS_DIR)/$(GNU_TARGET_NAME) -- cgit v1.2.3 From fa9d3d758353f558dbc4f983f62ebbfb9728656e Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:35 -0300 Subject: samba: add license info and smbta-util option Add license info and the smbta-util config knob. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/samba/Config.in | 7 +++++++ package/samba/samba.mk | 3 +++ 2 files changed, 10 insertions(+) (limited to 'package') diff --git a/package/samba/Config.in b/package/samba/Config.in index e88b3609f..928b40bd3 100644 --- a/package/samba/Config.in +++ b/package/samba/Config.in @@ -168,6 +168,13 @@ config BR2_PACKAGE_SAMBA_SWAT help Samba Web Administration Tool +config BR2_PACKAGE_SAMBA_SMBTA_UTIL + bool "smbta-util" + default y + help + Tool to ease the configuration of the vfs_smb_traffic_analyzer + module regarding data encryption. + config BR2_PACKAGE_SAMBA_SMBTAR bool "smbtar" default y diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 301a39fc0..75e31735b 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -8,6 +8,8 @@ SAMBA_VERSION = 3.6.7 SAMBA_SITE = http://ftp.samba.org/pub/samba/stable SAMBA_SUBDIR = source3 SAMBA_INSTALL_STAGING = YES +SAMBA_LICENSE = GPLv3+ +SAMBA_LICENSE_FILES = COPYING SAMBA_DEPENDENCIES = popt \ $(if $(BR2_PACKAGE_SAMBA_RPCCLIENT),readline) \ @@ -104,6 +106,7 @@ SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBPASSWD) += usr/bin/smbpasswd SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBSHARESEC) += usr/bin/sharesec SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBSPOOL) += usr/bin/smbspool SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBSTATUS) += usr/bin/smbstatus +SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBTA_UTIL) += usr/bin/smbta-util SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBTREE) += usr/bin/smbtree SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SWAT) += usr/sbin/swat SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_TDB) += usr/bin/tdbbackup -- cgit v1.2.3 From 839546dd3aaff56f26536ea7373978e32563c473 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:36 -0300 Subject: cifs-utils: bump to version 5.6 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/cifs-utils/cifs-utils.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/cifs-utils/cifs-utils.mk b/package/cifs-utils/cifs-utils.mk index e2530c0a0..cfa2b910b 100644 --- a/package/cifs-utils/cifs-utils.mk +++ b/package/cifs-utils/cifs-utils.mk @@ -1,6 +1,8 @@ -CIFS_UTILS_VERSION = 5.5 +CIFS_UTILS_VERSION = 5.6 CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2 CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils +CIFS_UTILS_LICENSE = GPLv3 +CIFS_UTILS_LICENSE_FILES = COPYING define CIFS_UTILS_NO_WERROR $(SED) 's/-Werror//' $(@D)/Makefile.in -- cgit v1.2.3 From 4d74cff9b88509bb11c5ad44bd2b3f870c821273 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 17 Aug 2012 17:47:40 +0200 Subject: gsl: fix space instead of tab in Config.in Signed-off-by: Thomas Petazzoni --- package/gsl/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/gsl/Config.in b/package/gsl/Config.in index 92541da71..aa431d1f2 100644 --- a/package/gsl/Config.in +++ b/package/gsl/Config.in @@ -7,4 +7,4 @@ config BR2_PACKAGE_GSL special functions and least-squares fitting. There are over 1000 functions in total with an extensive test suite. - http://www.gnu.org/software/gsl + http://www.gnu.org/software/gsl -- cgit v1.2.3 From 4848a32e374496e6404b82420b0db232c208b2e3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:37 -0300 Subject: iw: bump to version 3.6 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/iw/iw.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/iw/iw.mk b/package/iw/iw.mk index bf235205b..9c680936c 100644 --- a/package/iw/iw.mk +++ b/package/iw/iw.mk @@ -4,7 +4,7 @@ # ############################################################# -IW_VERSION = 3.5 +IW_VERSION = 3.6 IW_SOURCE = iw-$(IW_VERSION).tar.bz2 IW_SITE = http://wireless.kernel.org/download/iw IW_DEPENDENCIES = host-pkg-config libnl -- cgit v1.2.3 From 47a3fa7b593adb77c2f9f1a4b1608ac2ce2af6d8 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:38 -0300 Subject: smartmontools: bump to version 5.43 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/smartmontools/smartmontools.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/smartmontools/smartmontools.mk b/package/smartmontools/smartmontools.mk index a6873f020..3c573f84e 100644 --- a/package/smartmontools/smartmontools.mk +++ b/package/smartmontools/smartmontools.mk @@ -4,7 +4,9 @@ # ############################################################# -SMARTMONTOOLS_VERSION = 5.42 +SMARTMONTOOLS_VERSION = 5.43 SMARTMONTOOLS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/smartmontools +SMARTMONTOOLS_LICENSE = GPLv2+ +SMARTMONTOOLS_LICENSE_FILES = COPYING $(eval $(autotools-package)) -- cgit v1.2.3 From 7a3d7601fb96997ffe507f0f81ec0581a2f010ef Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:39 -0300 Subject: iproute2: bump to version 3.5.0 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/iproute2/iproute2.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 27bc56f30..c671e44c9 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -4,9 +4,11 @@ # ############################################################# -IPROUTE2_VERSION = 3.4.0 +IPROUTE2_VERSION = 3.5.0 IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2 IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc +IPROUTE2_LICENSE = GPLv2 +IPROUTE2_LICENSE_FILES = COPYING # If both iproute2 and busybox are selected, make certain we win # the fight over who gets to have their utils actually installed. -- cgit v1.2.3 From 4365fb7f31d6d7901a908667f1ea64ee1d0e67d1 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:40 -0300 Subject: libfuse: bump to version 2.9.1 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/libfuse/libfuse.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/libfuse/libfuse.mk b/package/libfuse/libfuse.mk index 5f748b4d5..8be345677 100644 --- a/package/libfuse/libfuse.mk +++ b/package/libfuse/libfuse.mk @@ -4,9 +4,11 @@ # ############################################################# -LIBFUSE_VERSION = 2.9.0 +LIBFUSE_VERSION = 2.9.1 LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz LIBFUSE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/fuse/fuse-2.X/$(LIBFUSE_VERSION) +LIBFUSE_LICENSE = GPLv2 LGPLv2.1 +LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB LIBFUSE_INSTALL_STAGING = YES LIBFUSE_CONF_OPT= --disable-nls \ -- cgit v1.2.3 From e2701041d69608629631231da6f88e0e662a4272 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 17:02:41 -0300 Subject: mpd: bump to version 0.17.1 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/multimedia/mpd/mpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/multimedia/mpd/mpd.mk b/package/multimedia/mpd/mpd.mk index 54a5ba7a7..bf4610e1c 100644 --- a/package/multimedia/mpd/mpd.mk +++ b/package/multimedia/mpd/mpd.mk @@ -4,7 +4,7 @@ # ############################################################# -MPD_VERSION = 0.17 +MPD_VERSION = 0.17.1 MPD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/musicpd/mpd/$(MPD_VERSION) MPD_DEPENDENCIES = host-pkg-config libglib2 MPD_LICENSE = GPLv2 -- cgit v1.2.3 From 9e5ab3317578ebc8feb95ecffc94253d7de2e204 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 17 Aug 2012 12:10:07 +0200 Subject: flashrom: bump to version 0.9.6.1 Signed-off-by: Sven Neumann Signed-off-by: Thomas Petazzoni --- package/flashrom/flashrom.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index 4b310ef9d..675cc6ed0 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -3,7 +3,7 @@ # flashrom # ############################################################# -FLASHROM_VERSION = 0.9.3 +FLASHROM_VERSION = 0.9.6.1 FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = http://download.flashrom.org/releases -- cgit v1.2.3 From 96f64475b1e9b70eae6e57d3dd1fcf43c097e548 Mon Sep 17 00:00:00 2001 From: Kelvin Cheung Date: Tue, 21 Aug 2012 18:13:48 +0800 Subject: mplayer: Update to version 1.1. Update to version 1.1 (r34994). remove --enable-largefiles configure option which was deleted in r33321. Discard mplayer-theora-fix.patch which is a backport of r34498 and r34503. Signed-off-by: Kelvin Cheung Signed-off-by: Thomas Petazzoni --- .../mplayer-1.0rc3-disable-install-strip.patch | 24 -- .../mplayer/mplayer-1.0rc3-fix-cc-parsing.patch | 22 -- .../mplayer-1.1-disable-install-strip.patch | 24 ++ .../mplayer/mplayer-1.1-fix-cc-parsing.patch | 22 ++ .../multimedia/mplayer/mplayer-theora-fix.patch | 374 --------------------- package/multimedia/mplayer/mplayer.mk | 19 +- 6 files changed, 49 insertions(+), 436 deletions(-) delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch delete mode 100644 package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch create mode 100644 package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch create mode 100644 package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch delete mode 100644 package/multimedia/mplayer/mplayer-theora-fix.patch (limited to 'package') diff --git a/package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch b/package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch deleted file mode 100644 index 644d292eb..000000000 --- a/package/multimedia/mplayer/mplayer-1.0rc3-disable-install-strip.patch +++ /dev/null @@ -1,24 +0,0 @@ -Disable stripping on installation - -Using the -s option of install does not work, as it uses the host -strip instead of the cross strip. So, get rid of it, and let Buildroot -handle the stripping. - -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: mplayer-32710/configure -=================================================================== ---- mplayer-32710.orig/configure -+++ mplayer-32710/configure -@@ -2519,7 +2519,7 @@ - - - # Checking for CFLAGS --_install_strip="-s" -+_install_strip= - if test "$_profile" != "" || test "$_debug" != "" ; then - CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile" - WARNFLAGS="-W -Wall" diff --git a/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch b/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch deleted file mode 100644 index a3ba03ff2..000000000 --- a/package/multimedia/mplayer/mplayer-1.0rc3-fix-cc-parsing.patch +++ /dev/null @@ -1,22 +0,0 @@ -[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=) - -E.G. if -cc="$CROSS-gcc --sysroot=" is passed. - -Signed-off-by: Peter Korsgaard ---- - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: mplayer-32710/configure -=================================================================== ---- mplayer-32710.orig/configure -+++ mplayer-32710/configure -@@ -870,7 +870,7 @@ - _target=$(echo $ac_option | cut -d '=' -f 2) - ;; - --cc=*) -- _cc=$(echo $ac_option | cut -d '=' -f 2) -+ _cc=$(echo $ac_option | cut -d '=' -f 2-) - ;; - --host-cc=*) - _host_cc=$(echo $ac_option | cut -d '=' -f 2) diff --git a/package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch b/package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch new file mode 100644 index 000000000..644d292eb --- /dev/null +++ b/package/multimedia/mplayer/mplayer-1.1-disable-install-strip.patch @@ -0,0 +1,24 @@ +Disable stripping on installation + +Using the -s option of install does not work, as it uses the host +strip instead of the cross strip. So, get rid of it, and let Buildroot +handle the stripping. + +Signed-off-by: Thomas Petazzoni +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mplayer-32710/configure +=================================================================== +--- mplayer-32710.orig/configure ++++ mplayer-32710/configure +@@ -2519,7 +2519,7 @@ + + + # Checking for CFLAGS +-_install_strip="-s" ++_install_strip= + if test "$_profile" != "" || test "$_debug" != "" ; then + CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile" + WARNFLAGS="-W -Wall" diff --git a/package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch b/package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch new file mode 100644 index 000000000..a3ba03ff2 --- /dev/null +++ b/package/multimedia/mplayer/mplayer-1.1-fix-cc-parsing.patch @@ -0,0 +1,22 @@ +[PATCH] mplayer: fix --cc= parsing if the value contains equal signs (=) + +E.G. if -cc="$CROSS-gcc --sysroot=" is passed. + +Signed-off-by: Peter Korsgaard +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: mplayer-32710/configure +=================================================================== +--- mplayer-32710.orig/configure ++++ mplayer-32710/configure +@@ -870,7 +870,7 @@ + _target=$(echo $ac_option | cut -d '=' -f 2) + ;; + --cc=*) +- _cc=$(echo $ac_option | cut -d '=' -f 2) ++ _cc=$(echo $ac_option | cut -d '=' -f 2-) + ;; + --host-cc=*) + _host_cc=$(echo $ac_option | cut -d '=' -f 2) diff --git a/package/multimedia/mplayer/mplayer-theora-fix.patch b/package/multimedia/mplayer/mplayer-theora-fix.patch deleted file mode 100644 index 08bb29b44..000000000 --- a/package/multimedia/mplayer/mplayer-theora-fix.patch +++ /dev/null @@ -1,374 +0,0 @@ -[PATCH] fix libtheora linking issue with modern theora versions - -This is a squash/backport of upstream r34498 (configure: Simplify -Theora check) and r34503 (Port libtheora glue code to Theora 1.0 API). - -Signed-off-by: Peter Korsgaard ---- - configure | 56 ++++-------------------------------- - libmpcodecs/vd_theora.c | 74 +++++++++++++++++++++++++----------------------- - libmpdemux/demux_ogg.c | 54 ++++++++++++++++++----------------- - 3 files changed, 74 insertions(+), 110 deletions(-) - -Index: mplayer-32726/configure -=================================================================== ---- mplayer-32726.orig/configure -+++ mplayer-32726/configure -@@ -6404,57 +6404,15 @@ - echocheck "OggTheora support" - if test "$_theora" = auto ; then - _theora=no -- cat > $TMPC << EOF --#include --#include --int main(void) { -- /* Theora is in flux, make sure that all interface routines and datatypes -- * exist and work the way we expect it, so we don't break MPlayer. */ -- ogg_packet op; -- theora_comment tc; -- theora_info inf; -- theora_state st; -- yuv_buffer yuv; -- int r; -- double t; -- -- theora_info_init(&inf); -- theora_comment_init(&tc); -- -- return 0; -- -- /* we don't want to execute this kind of nonsense; just for making sure -- * that compilation works... */ -- memset(&op, 0, sizeof(op)); -- r = theora_decode_header(&inf, &tc, &op); -- r = theora_decode_init(&st, &inf); -- t = theora_granule_time(&st, op.granulepos); -- r = theora_decode_packetin(&st, &op); -- r = theora_decode_YUVout(&st, &yuv); -- theora_clear(&st); -- -- return 0; --} --EOF -- _ld_theora=$($_pkg_config --silence-errors --libs theora) -- _inc_theora=$($_pkg_config --silence-errors --cflags theora) -- cc_check $_inc_theora $_ld_theora && extra_ldflags="$extra_ldflags $_ld_theora" && -- extra_cflags="$extra_cflags $_inc_theora" && _theora=yes -+ ld_theora="-ltheoradec -logg" -+ statement_check theora/theoradec.h 'theora_info_init(NULL)' $ld_theora && -+ extra_ldflags="$extra_ldflags $ld_theora" && _theora=yes - if test _theora = no; then -- _ld_theora="-ltheora -logg" -- cc_check $_ld_theora && extra_ldflags="$extra_ldflags $_ld_theora" && _theora=yes -- fi -- if test "$_theora" = no && test "$_tremor_internal" = yes; then -- _ld_theora=$($_pkg_config --silence-errors --libs theora) -- _inc_theora=$($_pkg_config --silence-errors --cflags theora) -- cc_check tremor/bitwise.c $_inc_theora $_ld_theora && -+ _ld_theora=$($_pkg_config --silence-errors --libs theoradec) -+ _inc_theora=$($_pkg_config --silence-errors --cflags theoradec) -+ statement_check theora/theoradec.h 'theora_info_init(NULL)' $inc_theora $ld_theora && - extra_ldflags="$extra_ldflags $_ld_theora" && - extra_cflags="$extra_cflags $_inc_theora" && _theora=yes -- if test _theora = no; then -- _ld_theora="-ltheora -logg" -- cc_check tremor/bitwise.c $_ld_theora && -- extra_ldflags="$extra_ldflags $_ld_theora" && _theora=yes -- fi - fi - fi - if test "$_theora" = yes ; then -@@ -6462,7 +6420,7 @@ - codecmodules="libtheora $codecmodules" - # when --enable-theora is forced, we'd better provide a probably sane - # $_ld_theora than nothing -- test -z "$_ld_theora" && extra_ldflags="$extra_ldflags -ltheora -logg" -+ test -z "$_ld_theora" && extra_ldflags="$extra_ldflags -ltheoradec -logg" - else - def_theora='#undef CONFIG_OGGTHEORA' - nocodecmodules="libtheora $nocodecmodules" -Index: mplayer-32726/libmpcodecs/vd_theora.c -=================================================================== ---- mplayer-32726.orig/libmpcodecs/vd_theora.c -+++ mplayer-32726/libmpcodecs/vd_theora.c -@@ -39,22 +39,23 @@ - - LIBVD_EXTERN(theora) - --#include -+#include - - #define THEORA_NUM_HEADER_PACKETS 3 - - typedef struct theora_struct_st { -- theora_state st; -- theora_comment cc; -- theora_info inf; -+ th_setup_info *tsi; -+ th_dec_ctx *tctx; -+ th_comment tc; -+ th_info ti; - } theora_struct_t; - - /** Convert Theora pixelformat to the corresponding IMGFMT_ */ --static uint32_t theora_pixelformat2imgfmt(theora_pixelformat fmt){ -+static uint32_t theora_pixelformat2imgfmt(th_pixel_fmt fmt){ - switch(fmt) { -- case OC_PF_420: return IMGFMT_YV12; -- case OC_PF_422: return IMGFMT_422P; -- case OC_PF_444: return IMGFMT_444P; -+ case TH_PF_420: return IMGFMT_YV12; -+ case TH_PF_422: return IMGFMT_422P; -+ case TH_PF_444: return IMGFMT_444P; - } - return 0; - } -@@ -64,7 +65,7 @@ - theora_struct_t *context = sh->context; - switch(cmd) { - case VDCTRL_QUERY_FORMAT: -- if (*(int*)arg == theora_pixelformat2imgfmt(context->inf.pixelformat)) -+ if (*(int*)arg == theora_pixelformat2imgfmt(context->ti.pixel_fmt)) - return CONTROL_TRUE; - return CONTROL_FALSE; - } -@@ -88,8 +89,9 @@ - if (!context) - goto err_out; - -- theora_info_init(&context->inf); -- theora_comment_init(&context->cc); -+ th_info_init(&context->ti); -+ th_comment_init(&context->tc); -+ context->tsi = NULL; - - /* Read all header packets, pass them to theora_decode_header. */ - for (i = 0; i < THEORA_NUM_HEADER_PACKETS; i++) -@@ -109,7 +111,7 @@ - op.b_o_s = 1; - } - -- if ( (errorCode = theora_decode_header (&context->inf, &context->cc, &op)) ) -+ if ( (errorCode = th_decode_headerin (&context->ti, &context->tc, &context->tsi, &op)) < 0) - { - mp_msg(MSGT_DECVIDEO, MSGL_ERR, "Broken Theora header; errorCode=%i!\n", errorCode); - goto err_out; -@@ -117,23 +119,25 @@ - } - - /* now init codec */ -- errorCode = theora_decode_init (&context->st, &context->inf); -- if (errorCode) -+ context->tctx = th_decode_alloc (&context->ti, context->tsi); -+ if (!context->tctx) - { -- mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Theora decode init failed: %i \n", errorCode); -+ mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Theora decode init failed\n"); - goto err_out; - } -+ /* free memory used for decoder setup information */ -+ th_setup_free(context->tsi); - -- if(sh->aspect==0.0 && context->inf.aspect_denominator!=0) -+ if(sh->aspect==0.0 && context->ti.aspect_denominator!=0) - { -- sh->aspect = ((double)context->inf.aspect_numerator * context->inf.width)/ -- ((double)context->inf.aspect_denominator * context->inf.height); -+ sh->aspect = ((double)context->ti.aspect_numerator * context->ti.frame_width)/ -+ ((double)context->ti.aspect_denominator * context->ti.frame_height); - } - - mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: Theora video init ok!\n"); -- mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Frame: %dx%d, Picture %dx%d, Offset [%d,%d]\n", context->inf.width, context->inf.height, context->inf.frame_width, context->inf.frame_height, context->inf.offset_x, context->inf.offset_y); -+ mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Frame: %dx%d, Picture %dx%d, Offset [%d,%d]\n", context->ti.frame_width, context->ti.frame_height, context->ti.pic_width, context->ti.pic_height, context->ti.pic_x, context->ti.pic_y); - -- return mpcodecs_config_vo (sh,context->inf.width,context->inf.height,theora_pixelformat2imgfmt(context->inf.pixelformat)); -+ return mpcodecs_config_vo (sh,context->ti.frame_width,context->ti.frame_height,theora_pixelformat2imgfmt(context->ti.pixel_fmt)); - - err_out: - free(context); -@@ -150,9 +154,9 @@ - - if (context) - { -- theora_info_clear(&context->inf); -- theora_comment_clear(&context->cc); -- theora_clear (&context->st); -+ th_info_clear(&context->ti); -+ th_comment_clear(&context->tc); -+ th_decode_free (context->tctx); - free (context); - } - } -@@ -165,7 +169,7 @@ - theora_struct_t *context = sh->context; - int errorCode = 0; - ogg_packet op; -- yuv_buffer yuv; -+ th_ycbcr_buffer ycbcrbuf; - mp_image_t* mpi; - - // no delayed frames -@@ -177,31 +181,31 @@ - op.packet = data; - op.granulepos = -1; - -- errorCode = theora_decode_packetin (&context->st, &op); -- if (errorCode) -+ errorCode = th_decode_packetin (context->tctx, &op, NULL); -+ if (errorCode < 0) - { - mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Theora decode packetin failed: %i \n", - errorCode); - return NULL; - } - -- errorCode = theora_decode_YUVout (&context->st, &yuv); -- if (errorCode) -+ errorCode = th_decode_ycbcr_out (context->tctx, ycbcrbuf); -+ if (errorCode < 0) - { - mp_msg(MSGT_DECVIDEO,MSGL_ERR,"Theora decode YUVout failed: %i \n", - errorCode); - return NULL; - } - -- mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, yuv.y_width, yuv.y_height); -+ mpi = mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, 0, ycbcrbuf[0].width, ycbcrbuf[0].height); - if(!mpi) return NULL; - -- mpi->planes[0]=yuv.y; -- mpi->stride[0]=yuv.y_stride; -- mpi->planes[1]=yuv.u; -- mpi->stride[1]=yuv.uv_stride; -- mpi->planes[2]=yuv.v; -- mpi->stride[2]=yuv.uv_stride; -+ mpi->planes[0]=ycbcrbuf[0].data; -+ mpi->stride[0]=ycbcrbuf[0].stride; -+ mpi->planes[1]=ycbcrbuf[1].data; -+ mpi->stride[1]=ycbcrbuf[1].stride; -+ mpi->planes[2]=ycbcrbuf[2].data; -+ mpi->stride[2]=ycbcrbuf[2].stride; - - return mpi; - } -Index: mplayer-32726/libmpdemux/demux_ogg.c -=================================================================== ---- mplayer-32726.orig/libmpdemux/demux_ogg.c -+++ mplayer-32726/libmpdemux/demux_ogg.c -@@ -49,21 +49,21 @@ - #endif - - #ifdef CONFIG_OGGTHEORA --#include --int _ilog (unsigned int); /* defined in many places in theora/lib/ */ -+#include - #endif - - #define BLOCK_SIZE 4096 - - /* Theora decoder context : we won't be able to interpret granule positions -- * without using theora_granule_time with the theora_state of the stream. -+ * without using th_granule_time with the th_dec_ctx of the stream. - * This is duplicated in `vd_theora.c'; put this in a common header? - */ - #ifdef CONFIG_OGGTHEORA - typedef struct theora_struct_st { -- theora_state st; -- theora_comment cc; -- theora_info inf; -+ th_setup_info *tsi; -+ th_dec_ctx *tctx; -+ th_comment tc; -+ th_info ti; - } theora_struct_t; - #endif - -@@ -116,7 +116,7 @@ - float samplerate; /// granulpos 2 time - int64_t lastpos; - int32_t lastsize; -- int keyframe_frequency_force; -+ int keyframe_granule_shift; - - // Logical stream state - ogg_stream_state stream; -@@ -299,11 +299,10 @@ - have theora_state st, until all header packets were passed to the - decoder. */ - if (!pack->bytes || !(*data&0x80)) { -- int keyframe_granule_shift = _ilog(os->keyframe_frequency_force - 1); -- int64_t iframemask = (1 << keyframe_granule_shift) - 1; -+ int64_t iframemask = (1 << os->keyframe_granule_shift) - 1; - - if (pack->granulepos >= 0) { -- os->lastpos = pack->granulepos >> keyframe_granule_shift; -+ os->lastpos = pack->granulepos >> os->keyframe_granule_shift; - os->lastpos += pack->granulepos & iframemask; - *flags = (pack->granulepos & iframemask) == 0; - } else { -@@ -892,14 +891,15 @@ - #ifdef CONFIG_OGGTHEORA - } else if (pack.bytes >= 7 && !strncmp (&pack.packet[1], "theora", 6)) { - int errorCode = 0; -- theora_info inf; -- theora_comment cc; -+ th_info ti; -+ th_comment tc; -+ th_setup_info *tsi = NULL; - -- theora_info_init (&inf); -- theora_comment_init (&cc); -+ th_info_init (&ti); -+ th_comment_init (&tc); - -- errorCode = theora_decode_header (&inf, &cc, &pack); -- if (errorCode) { -+ errorCode = th_decode_headerin(&ti, &tc, &tsi, &pack); -+ if (errorCode < 0) { - mp_msg(MSGT_DEMUX, MSGL_ERR, - "Theora header parsing failed: %i \n", errorCode); - } else { -@@ -908,30 +908,32 @@ - sh_v->bih = calloc(1, sizeof(*sh_v->bih)); - sh_v->bih->biSize = sizeof(*sh_v->bih); - sh_v->bih->biCompression = sh_v->format = FOURCC_THEORA; -- sh_v->fps = ((double)inf.fps_numerator) / (double)inf.fps_denominator; -- sh_v->frametime = ((double)inf.fps_denominator) / (double)inf.fps_numerator; -- sh_v->disp_w = sh_v->bih->biWidth = inf.frame_width; -- sh_v->disp_h = sh_v->bih->biHeight = inf.frame_height; -+ sh_v->fps = ((double)ti.fps_numerator) / (double)ti.fps_denominator; -+ sh_v->frametime = ((double)ti.fps_denominator) / (double)ti.fps_numerator; -+ sh_v->i_bps = ti.target_bitrate / 8; -+ sh_v->disp_w = sh_v->bih->biWidth = ti.frame_width; -+ sh_v->disp_h = sh_v->bih->biHeight = ti.frame_height; - sh_v->bih->biBitCount = 24; - sh_v->bih->biPlanes = 3; - sh_v->bih->biSizeImage = ((sh_v->bih->biBitCount / 8) * sh_v->bih->biWidth * sh_v->bih->biHeight); - ogg_d->subs[ogg_d->num_sub].samplerate = sh_v->fps; - ogg_d->subs[ogg_d->num_sub].theora = 1; -- ogg_d->subs[ogg_d->num_sub].keyframe_frequency_force = inf.keyframe_frequency_force; -+ ogg_d->subs[ogg_d->num_sub].keyframe_granule_shift = ti.keyframe_granule_shift; - ogg_d->subs[ogg_d->num_sub].id = n_video; - n_video++; - mp_msg(MSGT_DEMUX, MSGL_INFO, - "[Ogg] stream %d: video (Theora v%d.%d.%d), -vid %d\n", - ogg_d->num_sub, -- (int)inf.version_major, -- (int)inf.version_minor, -- (int)inf.version_subminor, -+ (int)ti.version_major, -+ (int)ti.version_minor, -+ (int)ti.version_subminor, - n_video - 1); - if (mp_msg_test(MSGT_HEADER, MSGL_V)) - print_video_header(sh_v->bih, MSGL_V); - } -- theora_comment_clear(&cc); -- theora_info_clear(&inf); -+ th_comment_clear(&tc); -+ th_info_clear(&ti); -+ th_setup_free(tsi); - #endif /* CONFIG_OGGTHEORA */ - } else if (pack.bytes >= 4 && !strncmp (&pack.packet[0], "fLaC", 4)) { - sh_a = new_sh_audio_aid(demuxer, ogg_d->num_sub, n_audio, NULL); diff --git a/package/multimedia/mplayer/mplayer.mk b/package/multimedia/mplayer/mplayer.mk index f4fedf4c4..05120bf78 100644 --- a/package/multimedia/mplayer/mplayer.mk +++ b/package/multimedia/mplayer/mplayer.mk @@ -3,10 +3,9 @@ # mplayer # ############################################################# -MPLAYER_VERSION = 32726 -# MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.bz2 -# MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases -MPLAYER_SITE = svn://svn.mplayerhq.hu/mplayer/trunk +MPLAYER_VERSION = 1.1 +MPLAYER_SOURCE = MPlayer-$(MPLAYER_VERSION).tar.xz +MPLAYER_SITE = http://www.mplayerhq.hu/MPlayer/releases MPLAYER_CFLAGS = $(TARGET_CFLAGS) MPLAYER_LDFLAGS = $(TARGET_LDFLAGS) @@ -25,18 +24,6 @@ else MPLAYER_CONF_OPTS += --disable-big-endian endif -# mplayer unfortunately uses --disable-largefiles, so we cannot use -# DISABLE_LARGEFILE -ifeq ($(BR2_LARGEFILE),y) -MPLAYER_CONF_OPTS += --enable-largefiles -else -# dvdread/dvdcss requires largefile support -MPLAYER_CONF_OPTS += \ - --disable-largefiles \ - --disable-dvdread-internal \ - --disable-libdvdcss-internal -endif - ifeq ($(BR2_PACKAGE_SDL),y) MPLAYER_CONF_OPTS += \ --enable-sdl \ -- cgit v1.2.3 From f3c33a354b74697dd792c4f5c03f348e974782b2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 22 Aug 2012 19:50:49 -0300 Subject: openssl: bump to version 1.0.1c Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/openssl/openssl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk index f9816afaf..16d13946b 100644 --- a/package/openssl/openssl.mk +++ b/package/openssl/openssl.mk @@ -4,7 +4,7 @@ # ############################################################# -OPENSSL_VERSION = 1.0.0j +OPENSSL_VERSION = 1.0.1c OPENSSL_SITE = http://www.openssl.org/source OPENSSL_INSTALL_STAGING = YES OPENSSL_DEPENDENCIES = zlib -- cgit v1.2.3 From 5886b6f15cefa308c78b575069c560df78bf1050 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Fri, 24 Aug 2012 23:39:26 +0200 Subject: erlang: new package Signed-off-by: Will Newton Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/erlang/Config.in | 17 +++++++++++ package/erlang/erlang-build-fix.patch | 13 ++++++++ package/erlang/erlang.mk | 57 +++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 package/erlang/Config.in create mode 100644 package/erlang/erlang-build-fix.patch create mode 100644 package/erlang/erlang.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index d6a66fd31..d1b214cf5 100644 --- a/package/Config.in +++ b/package/Config.in @@ -247,6 +247,7 @@ source "package/xfsprogs/Config.in" endmenu menu "Interpreter languages and scripting" +source "package/erlang/Config.in" source "package/haserl/Config.in" source "package/lua/Config.in" source "package/luajit/Config.in" diff --git a/package/erlang/Config.in b/package/erlang/Config.in new file mode 100644 index 000000000..6dd5a39c3 --- /dev/null +++ b/package/erlang/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_ERLANG + bool "erlang" + help + Erlang is a programming language used to build massively scalable + soft real-time systems with requirements on high availability. + Some of its uses are in telecoms, banking, e-commerce, computer + telephony and instant messaging. Erlang's runtime system has + built-in support for concurrency, distribution and fault tolerance. + +config BR2_PACKAGE_ERLANG_MEGACO + bool "install megaco application" + depends on BR2_PACKAGE_ERLANG + help + The Megaco application is a framework for building applications + on top of the Megaco/H.248 protocol. It is approximately 14MB in + size so if you do not need it then it is recommended not to + enable it. diff --git a/package/erlang/erlang-build-fix.patch b/package/erlang/erlang-build-fix.patch new file mode 100644 index 000000000..ff821c9fc --- /dev/null +++ b/package/erlang/erlang-build-fix.patch @@ -0,0 +1,13 @@ +apply-patches.sh deletes this file from the source directory. + +--- erlang-R15B01.old/lib/tools/emacs/Makefile 2012-04-04 ++++ erlang-R15B01/lib/tools/emacs/Makefile 2012-04-04 15:55:16.978957307 +0100 +@@ -51,7 +51,7 @@ + + ELC_FILES = $(EMACS_FILES:%=%.elc) + +-TEST_FILES = test.erl.indented test.erl.orig ++TEST_FILES = test.erl.indented + + # ---------------------------------------------------- + # Targets diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk new file mode 100644 index 000000000..6b906270d --- /dev/null +++ b/package/erlang/erlang.mk @@ -0,0 +1,57 @@ +############################################################# +# +# erlang +# +############################################################# + +ERLANG_VERSION = R15B01 +ERLANG_SITE = http://www.erlang.org/download +ERLANG_SOURCE = otp_src_$(ERLANG_VERSION).tar.gz +ERLANG_DEPENDENCIES = host-erlang + +ERLANG_LICENSE = EPL +ERLANG_LICENSE_FILES = EPLICENCE + +# The configure checks for these functions fail incorrectly +ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes + +ERLANG_CONF_OPT = --without-javac + +ifeq ($(BR2_PACKAGE_NCURSES),y) +ERLANG_CONF_OPT += --with-termcap +ERLANG_DEPENDENCIES += ncurses +else +ERLANG_CONF_OPT += --without-termcap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ERLANG_CONF_OPT += --with-ssl +ERLANG_DEPENDENCIES += openssl +else +ERLANG_CONF_OPT += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +ERLANG_CONF_OPT += --enable-shared-zlib +ERLANG_DEPENDENCIES += zlib +endif + +# Remove source, example, gs and wx files from the target +ERLANG_REMOVE_PACKAGES = gs wx + +ifneq ($(BR2_PACKAGE_ERLANG_MEGACO),y) +ERLANG_REMOVE_PACKAGES += megaco +endif + +define ERLANG_REMOVE_UNUSED + find $(TARGET_DIR)/usr/lib/erlang -type d -name src -prune -exec rm -rf {} \; + find $(TARGET_DIR)/usr/lib/erlang -type d -name examples -prune -exec rm -rf {} \; + for package in $(ERLANG_REMOVE_PACKAGES); do \ + rm -rf $(TARGET_DIR)/usr/lib/erlang/lib/$${package}-*; \ + done +endef + +ERLANG_POST_INSTALL_TARGET_HOOKS += ERLANG_REMOVE_UNUSED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) -- cgit v1.2.3 From 22afea3002e5357382704c8e15d8a03d54a6b869 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 21 Aug 2012 19:07:03 +0200 Subject: package/libnspr: add pkg-config file Some packages use pkg-config to check for libnspr. Add our own .pc file (vampirised from Debian). Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/libnspr/libnspr.mk | 16 ++++++++++++++++ package/libnspr/nspr.pc.in | 10 ++++++++++ 2 files changed, 26 insertions(+) create mode 100644 package/libnspr/nspr.pc.in (limited to 'package') diff --git a/package/libnspr/libnspr.mk b/package/libnspr/libnspr.mk index 689caa424..736984d09 100644 --- a/package/libnspr/libnspr.mk +++ b/package/libnspr/libnspr.mk @@ -16,4 +16,20 @@ LIBNSPR_CONF_OPT = --host=$(GNU_HOST_NAME) LIBNSPR_CONF_OPT += --$(if $(BR2_ARCH_IS_64),en,dis)able-64bit LIBNSPR_CONF_OPT += --$(if $(BR2_INET_IPV6),en,dis)able-ipv6 +define LIBNSPR_INSTALL_STAGING_PC + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnspr/nspr.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/nspr.pc + $(SED) 's/@VERSION@/$(LIBNSPR_VERSION)/g;' \ + $(STAGING_DIR)/usr/lib/pkgconfig/nspr.pc +endef +LIBNSPR_POST_INSTALL_STAGING_HOOKS += LIBNSPR_INSTALL_STAGING_PC + +define LIBNSPR_INSTALL_TARGET_PC + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnspr/nspr.pc.in \ + $(TARGET_DIR)/usr/lib/pkgconfig/nspr.pc + $(SED) 's/@VERSION@/$(LIBNSPR_VERSION)/g;' \ + $(TARGET_DIR)/usr/lib/pkgconfig/nspr.pc +endef +LIBNSPR_POST_INSTALL_TARGET_HOOKS += LIBNSPR_INSTALL_TARGET_PC + $(eval $(autotools-package)) diff --git a/package/libnspr/nspr.pc.in b/package/libnspr/nspr.pc.in new file mode 100644 index 000000000..44873d248 --- /dev/null +++ b/package/libnspr/nspr.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/nspr + +Name: NSPR +Description: The Netscape Portable Runtime +Version: @VERSION@ +Libs: -L${exec_prefix}/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl +Cflags: -I${prefix}/include/nspr -- cgit v1.2.3 From d59cd114d6e33cc6dd358c3708d70a1a5483dc56 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 21 Aug 2012 19:07:04 +0200 Subject: package/libnss: also install a pkg-config file Some packages use pkg-config to check for libnss. Add our own .pc file (vampirised from Debian). Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/libnss/libnss.mk | 8 ++++++++ package/libnss/nss.pc.in | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 package/libnss/nss.pc.in (limited to 'package') diff --git a/package/libnss/libnss.mk b/package/libnss/libnss.mk index f7fd6820c..84fc14996 100644 --- a/package/libnss/libnss.mk +++ b/package/libnss/libnss.mk @@ -49,6 +49,10 @@ define LIBNSS_INSTALL_STAGING_CMDS $(@D)/$(LIBNSS_DISTDIR)/public/nss/* $(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib/ \ $(@D)/$(LIBNSS_DISTDIR)/lib/*.a + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc + $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ + $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc endef define LIBNSS_INSTALL_TARGET_CMDS @@ -59,6 +63,10 @@ define LIBNSS_INSTALL_TARGET_CMDS $(@D)/$(LIBNSS_DISTDIR)/public/nss/* $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/lib/ \ $(@D)/$(LIBNSS_DISTDIR)/lib/*.a + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ + $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc + $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ + $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc endef define LIBNSS_CLEAN_CMDS diff --git a/package/libnss/nss.pc.in b/package/libnss/nss.pc.in new file mode 100644 index 000000000..e27783f64 --- /dev/null +++ b/package/libnss/nss.pc.in @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/nss + +Name: NSS +Description: Mozilla Network Security Services +Version: @VERSION@ +Requires: nspr +Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3 +Cflags: -I${includedir} -- cgit v1.2.3 From 61d1f013d9217633a0f992a5a12d3c6092fefdee Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 10:14:29 -0300 Subject: wget: bump to version 1.14 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/wget/wget.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/wget/wget.mk b/package/wget/wget.mk index a15111c50..01ebcb625 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -4,8 +4,10 @@ # ############################################################# -WGET_VERSION = 1.13.4 +WGET_VERSION = 1.14 WGET_SITE = $(BR2_GNU_MIRROR)/wget +WGET_LICENSE = GPLv3+ +WGET_LICENSE_FILES = COPYING # Prefer full-blown wget over busybox ifeq ($(BR2_PACKAGE_BUSYBOX),y) -- cgit v1.2.3 From 2dfe72045192e7ffee36dc4561b981c178d43d4c Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 13 Aug 2012 10:14:30 -0300 Subject: coreutils: bump to version 8.18 Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/coreutils/coreutils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index e64dd5af1..d7d077998 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -4,7 +4,7 @@ # ############################################################# -COREUTILS_VERSION = 8.16 +COREUTILS_VERSION = 8.18 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz -- cgit v1.2.3 From a5cefe8a7edd38c06aedf2fe403e087d4061a180 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 25 Aug 2012 20:26:11 +1000 Subject: connman: bump to version 1.6 Signed-off-by: Jonathan Liu Signed-off-by: Thomas Petazzoni --- package/connman/connman.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 726cb7352..ed83ebc71 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -4,7 +4,7 @@ # ####################################################### -CONNMAN_VERSION = 1.4 +CONNMAN_VERSION = 1.6 CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/ CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls CONNMAN_INSTALL_STAGING = YES -- cgit v1.2.3 From c72e4bc01ca5855c475896c2cd73a15ee25e0363 Mon Sep 17 00:00:00 2001 From: Stephan Hoffmann Date: Wed, 29 Aug 2012 11:01:06 +0200 Subject: mtdev: new package The mtdev is a stand-alone library which transforms all variants of kernel multitouch events to the slotted type B protocol. http://bitmath.org/code/mtdev/ Signed-off-by: Stephan Hoffmann Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/mtdev/Config.in | 8 ++++++++ package/mtdev/mtdev.mk | 14 ++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 package/mtdev/Config.in create mode 100644 package/mtdev/mtdev.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index d1b214cf5..f0fe0a681 100644 --- a/package/Config.in +++ b/package/Config.in @@ -387,6 +387,7 @@ source "package/libnfc-llcp/Config.in" source "package/libusb/Config.in" source "package/libusb-compat/Config.in" source "package/libv4l/Config.in" +source "package/mtdev/Config.in" endmenu menu "Javascript" diff --git a/package/mtdev/Config.in b/package/mtdev/Config.in new file mode 100644 index 000000000..34199038b --- /dev/null +++ b/package/mtdev/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_MTDEV + bool "mtdev" + help + The mtdev is a stand-alone library which transforms all + variants of kernel MT events to the slotted type B protocol. + + http://bitmath.org/code/mtdev/ + diff --git a/package/mtdev/mtdev.mk b/package/mtdev/mtdev.mk new file mode 100644 index 000000000..09f76f24e --- /dev/null +++ b/package/mtdev/mtdev.mk @@ -0,0 +1,14 @@ +############################################################# +# +# mtdev +# +############################################################# +MTDEV_VERSION = 1.1.3 +MTDEV_SOURCE = mtdev-$(MTDEV_VERSION).tar.bz2 +MTDEV_SITE = http://bitmath.org/code/mtdev/ + +MTDEV_LICENSE = MIT +MTDEV_LICENSE_FILES = COPYING +MTDEV_INSTALL_STAGING = YES + +$(eval $(autotools-package)) -- cgit v1.2.3 From fa6e224e589be3386b9b6b7a9bf25fc26325efa5 Mon Sep 17 00:00:00 2001 From: Stephan Hoffmann Date: Wed, 29 Aug 2012 11:01:07 +0200 Subject: liblo: new pachage liblo is an implementation of the Open Sound Control protocol for POSIX systems. http://liblo.sourceforge.net/ [thomas.petazzoni@free-electrons.com: add dependency on thread support in toolchain] Signed-off-by: Stephan Hoffmann Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/liblo/Config.in | 11 +++++++++++ package/liblo/liblo.mk | 14 ++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 package/liblo/Config.in create mode 100644 package/liblo/liblo.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index f0fe0a681..5b4788fbf 100644 --- a/package/Config.in +++ b/package/Config.in @@ -295,6 +295,7 @@ source "package/libcdaudio/Config.in" source "package/libcue/Config.in" source "package/libcuefile/Config.in" source "package/libid3tag/Config.in" +source "package/liblo/Config.in" source "package/libmad/Config.in" source "package/libmpd/Config.in" source "package/libreplaygain/Config.in" diff --git a/package/liblo/Config.in b/package/liblo/Config.in new file mode 100644 index 000000000..4c2d71944 --- /dev/null +++ b/package/liblo/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBLO + bool "liblo" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + liblo is an implementation of the Open Sound Control + protocol for POSIX systems + + http://liblo.sourceforge.net/ + +comment "liblo requires thread support in toolchain" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/liblo/liblo.mk b/package/liblo/liblo.mk new file mode 100644 index 000000000..924c3a7e6 --- /dev/null +++ b/package/liblo/liblo.mk @@ -0,0 +1,14 @@ +############################################################# +# +# liblo +# +############################################################# +LIBLO_VERSION = 0.26 +LIBLO_SOURCE = liblo-$(LIBLO_VERSION).tar.gz +LIBLO_SITE = http://downloads.sourceforge.net/project/liblo/liblo/$(LIBLO_VERSION) + +LIBLO_LICENSE = LGPLv2.1+ +LIBLO_LICENSE_FILES = COPYING +LIBLO_INSTALL_STAGING = YES + +$(eval $(autotools-package)) -- cgit v1.2.3 From dafa32b3bd75e9d155d075c796fa5b0ecbb9b11b Mon Sep 17 00:00:00 2001 From: Stephan Hoffmann Date: Thu, 30 Aug 2012 04:56:38 +0200 Subject: mtdev2tuio: new package mtdev2tuio is a simple application for converting touch events to the standart TUIO 1.1 protocol. https://github.com/olivopaolo/mtdev2tuio [thomas.petazzoni@free-electrons.com: use TARGET_CONFIGURE_OPTS, fix indentation, add dependency on thread support in toolchain] Signed-off-by: Stephan Hoffmann Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/mtdev2tuio/Config.in | 13 +++++++++++++ package/mtdev2tuio/mtdev2tuio.mk | 29 +++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 package/mtdev2tuio/Config.in create mode 100644 package/mtdev2tuio/mtdev2tuio.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index 5b4788fbf..e12952208 100644 --- a/package/Config.in +++ b/package/Config.in @@ -469,6 +469,7 @@ source "package/libtpl/Config.in" source "package/liburcu/Config.in" source "package/linux-pam/Config.in" source "package/lttng-libust/Config.in" +source "package/mtdev2tuio/Config.in" source "package/orc/Config.in" source "package/poco/Config.in" source "package/protobuf/Config.in" diff --git a/package/mtdev2tuio/Config.in b/package/mtdev2tuio/Config.in new file mode 100644 index 000000000..74453c486 --- /dev/null +++ b/package/mtdev2tuio/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_MTDEV2TUIO + bool "mtdev2tuio" + select BR2_PACKAGE_LIBLO + select BR2_PACKAGE_MTDEV + depends on BR2_TOOLCHAIN_HAS_THREADS # liblo + help + mtdev2tuio is a simple application for converting touch + events captured from libmtdev to TUIO 1.1 + + https://github.com/olivopaolo/mtdev2tuio + +comment "mtdev2tuio requires thread support in toolchain" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/mtdev2tuio/mtdev2tuio.mk b/package/mtdev2tuio/mtdev2tuio.mk new file mode 100644 index 000000000..a86c0bf70 --- /dev/null +++ b/package/mtdev2tuio/mtdev2tuio.mk @@ -0,0 +1,29 @@ +############################################################# +# +# mtdev2tuio +# +############################################################# +MTDEV2TUIO_VERSION = e1e7378d86 +MTDEV2TUIO_SITE = git://github.com/olivopaolo/mtdev2tuio.git +MTDEV2TUIO_DEPENDENCIES = mtdev liblo +MTDEV2TUIO_LICENSE = GPLv3+ +MTDEV2TUIO_LICENSE_FILES = COPYING + +# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD +# here. +define MTDEV2TUIO_BUILD_CMDS + $(MAKE) \ + $(TARGET_CONFIGURE_OPTS) \ + LD="$(TARGET_CC)" \ + -C $(@D) +endef + +define MTDEV2TUIO_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio +endef + +define MTDEV2TUIO_CLEAN_CMDS + $(MAKE) -C $(@D) clean +endef + +$(eval $(generic-package)) -- cgit v1.2.3