mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/8] network packages updates
@ 2014-04-30  9:59 Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Hi,

the series updates some of network packages, adds batctl to ptxdist and updates
libjpeg as the only non-network package of the series.

Regards,

Markus


Markus Pargmann (8):
  iproute2: version bump 3.9.0 -> 3.14.0
  iw: version bump 3.3 -> 3.14
  network: Add batctl
  crda: version bump 1.1.3 -> 3.13
  dnsmasq: version bump 2.47 -> 2.69
  iperf: version bump 2.0.4 -> 2.0.5
  wireshark: version bump 1.10.5 -> 1.10.6
  libjpeg: version bump 8a -> 9a, add binaries

 .../crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch   | 73 ----------------------
 patches/crda-1.1.3/series                          |  4 --
 .../0001-key2pub-Fix-ssl-keys.c-generation.patch   | 38 +++++++++++
 .../crda-3.13/0002-Pregenerate-keys-ssl.c.patch    | 61 ++++++++++++++++++
 .../0003-udev-Fix-rule-for-initial-setup.patch     | 23 +++++++
 .../crda-3.13/0004-Makefile-Fix-libreg-build.patch | 48 ++++++++++++++
 patches/crda-3.13/series                           |  4 ++
 patches/iperf-2.0.4/fix_early_termination.diff     | 47 --------------
 patches/iperf-2.0.4/series                         |  1 -
 patches/iperf-2.0.5/fix_early_termination.diff     | 47 ++++++++++++++
 patches/iperf-2.0.5/series                         |  1 +
 .../iproute2-3.14.0/0001-build-system-fixes.patch  | 39 ++++++++++++
 patches/iproute2-3.14.0/series                     |  4 ++
 .../iproute2-3.9.0/0001-build-system-fixes.patch   | 33 ----------
 patches/iproute2-3.9.0/series                      |  4 --
 rules/batctl.in                                    |  8 +++
 rules/batctl.make                                  | 71 +++++++++++++++++++++
 rules/crda.make                                    |  9 +--
 rules/dnsmasq.make                                 |  6 +-
 rules/iperf.make                                   |  4 +-
 rules/iproute2.make                                |  4 +-
 rules/iw.make                                      |  6 +-
 rules/libjpeg.in                                   | 15 ++++-
 rules/libjpeg.make                                 |  8 ++-
 rules/wireshark.make                               |  4 +-
 25 files changed, 380 insertions(+), 182 deletions(-)
 delete mode 100644 patches/crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch
 delete mode 100644 patches/crda-1.1.3/series
 create mode 100644 patches/crda-3.13/0001-key2pub-Fix-ssl-keys.c-generation.patch
 create mode 100644 patches/crda-3.13/0002-Pregenerate-keys-ssl.c.patch
 create mode 100644 patches/crda-3.13/0003-udev-Fix-rule-for-initial-setup.patch
 create mode 100644 patches/crda-3.13/0004-Makefile-Fix-libreg-build.patch
 create mode 100644 patches/crda-3.13/series
 delete mode 100644 patches/iperf-2.0.4/fix_early_termination.diff
 delete mode 100644 patches/iperf-2.0.4/series
 create mode 100644 patches/iperf-2.0.5/fix_early_termination.diff
 create mode 100644 patches/iperf-2.0.5/series
 create mode 100644 patches/iproute2-3.14.0/0001-build-system-fixes.patch
 create mode 100644 patches/iproute2-3.14.0/series
 delete mode 100644 patches/iproute2-3.9.0/0001-build-system-fixes.patch
 delete mode 100644 patches/iproute2-3.9.0/series
 create mode 100644 rules/batctl.in
 create mode 100644 rules/batctl.make

-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 2/8] iw: version bump 3.3 -> 3.14 Markus Pargmann
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 .../iproute2-3.14.0/0001-build-system-fixes.patch  | 39 ++++++++++++++++++++++
 patches/iproute2-3.14.0/series                     |  4 +++
 .../iproute2-3.9.0/0001-build-system-fixes.patch   | 33 ------------------
 patches/iproute2-3.9.0/series                      |  4 ---
 rules/iproute2.make                                |  4 +--
 5 files changed, 45 insertions(+), 39 deletions(-)
 create mode 100644 patches/iproute2-3.14.0/0001-build-system-fixes.patch
 create mode 100644 patches/iproute2-3.14.0/series
 delete mode 100644 patches/iproute2-3.9.0/0001-build-system-fixes.patch
 delete mode 100644 patches/iproute2-3.9.0/series

diff --git a/patches/iproute2-3.14.0/0001-build-system-fixes.patch b/patches/iproute2-3.14.0/0001-build-system-fixes.patch
new file mode 100644
index 0000000..1d7a8fe
--- /dev/null
+++ b/patches/iproute2-3.14.0/0001-build-system-fixes.patch
@@ -0,0 +1,39 @@
+From 21ba3bd71071e8d9062e54d52681defd1250c6a9 Mon Sep 17 00:00:00 2001
+From: Juergen Beisert <juergen@kreuzholzen.de>
+Date: Sun, 16 Jun 2013 11:17:42 +0200
+Subject: [PATCH] build system fixes
+
+Build arpd only if the user has requested it.
+Add a mechanism to feed in CPPFLAGS for cross builds.
+
+Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
+Signed-off-by: Jon Ringle <jon@ringle.org>
+[Rebased to 3.14.0]
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ misc/Makefile | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/misc/Makefile b/misc/Makefile
+index 004bcc3..34af65c 100644
+--- a/misc/Makefile
++++ b/misc/Makefile
+@@ -1,10 +1,14 @@
+ SSOBJ=ss.o ssfilter.o
+ LNSTATOBJ=lnstat.o lnstat_util.o
+ 
+-TARGETS=ss nstat ifstat rtacct arpd lnstat
++TARGETS=ss nstat ifstat rtacct lnstat
+ 
+ include ../Config
+ 
++ifdef BUILD_ARPD
++TARGETS += arpd
++endif
++
+ ifeq ($(HAVE_SELINUX),y)
+ 	LDLIBS += $(shell pkg-config --libs libselinux)
+ 	CFLAGS += $(shell pkg-config --cflags libselinux) -DHAVE_SELINUX
+-- 
+1.9.0
+
diff --git a/patches/iproute2-3.14.0/series b/patches/iproute2-3.14.0/series
new file mode 100644
index 0000000..630efcf
--- /dev/null
+++ b/patches/iproute2-3.14.0/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-build-system-fixes.patch
+# 6bd4edb4380a1163a2e685e434917e83  - git-ptx-patches magic
diff --git a/patches/iproute2-3.9.0/0001-build-system-fixes.patch b/patches/iproute2-3.9.0/0001-build-system-fixes.patch
deleted file mode 100644
index df40efa..0000000
--- a/patches/iproute2-3.9.0/0001-build-system-fixes.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: Juergen Beisert <juergen@kreuzholzen.de>
-Date: Sun, 16 Jun 2013 11:17:42 +0200
-Subject: [PATCH] build system fixes
-
-Build arpd only if the user has requested it.
-Add a mechanism to feed in CPPFLAGS for cross builds.
-
-Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
-Signed-off-by: Jon Ringle <jon@ringle.org>
----
- misc/Makefile | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/misc/Makefile b/misc/Makefile
-index a59ff87..4e65239 100644
---- a/misc/Makefile
-+++ b/misc/Makefile
-@@ -1,10 +1,14 @@
- SSOBJ=ss.o ssfilter.o
- LNSTATOBJ=lnstat.o lnstat_util.o
- 
--TARGETS=ss nstat ifstat rtacct arpd lnstat
-+TARGETS=ss nstat ifstat rtacct lnstat
- 
- include ../Config
- 
-+ifdef BUILD_ARPD
-+TARGETS += arpd
-+endif
-+
- all: $(TARGETS)
- 
- ss: $(SSOBJ)
diff --git a/patches/iproute2-3.9.0/series b/patches/iproute2-3.9.0/series
deleted file mode 100644
index 630efcf..0000000
--- a/patches/iproute2-3.9.0/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-build-system-fixes.patch
-# 6bd4edb4380a1163a2e685e434917e83  - git-ptx-patches magic
diff --git a/rules/iproute2.make b/rules/iproute2.make
index 29f3bc2..8c0c4c6 100644
--- a/rules/iproute2.make
+++ b/rules/iproute2.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_IPROUTE2) += iproute2
 #
 # Paths and names
 #
-IPROUTE2_VERSION	:= 3.9.0
-IPROUTE2_MD5		:= fd9db28e4f411a1e74de65c919ae590f
+IPROUTE2_VERSION	:= 3.14.0
+IPROUTE2_MD5		:= bd9d7567bbb987c88120669f5e1a1092
 IPROUTE2		:= iproute2-$(IPROUTE2_VERSION)
 IPROUTE2_SUFFIX		:= tar.xz
 IPROUTE2_URL		:= $(call ptx/mirror, KERNEL, utils/net/iproute2/$(IPROUTE2).$(IPROUTE2_SUFFIX))
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 2/8] iw: version bump 3.3 -> 3.14
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 3/8] network: Add batctl Markus Pargmann
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/iw.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/iw.make b/rules/iw.make
index 9472a2e..6657571 100644
--- a/rules/iw.make
+++ b/rules/iw.make
@@ -16,10 +16,10 @@ PACKAGES-$(PTXCONF_IW) += iw
 #
 # Paths and names
 #
-IW_VERSION	:= 3.3
-IW_MD5		:= 146ad14cdeb39fb88b21efdbb28787d1
+IW_VERSION	:= 3.14
+IW_MD5		:= 66e41053f6fc0781b683b5b688442de6
 IW		:= iw-$(IW_VERSION)
-IW_SUFFIX	:= tar.bz2
+IW_SUFFIX	:= tar.xz
 IW_URL		:= http://www.kernel.org/pub/software/network/iw/$(IW).$(IW_SUFFIX)
 IW_SOURCE	:= $(SRCDIR)/$(IW).$(IW_SUFFIX)
 IW_DIR		:= $(BUILDDIR)/$(IW)
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 3/8] network: Add batctl
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 2/8] iw: version bump 3.3 -> 3.14 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 4/8] crda: version bump 1.1.3 -> 3.13 Markus Pargmann
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/batctl.in   |  8 +++++++
 rules/batctl.make | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
 create mode 100644 rules/batctl.in
 create mode 100644 rules/batctl.make

diff --git a/rules/batctl.in b/rules/batctl.in
new file mode 100644
index 0000000..a41af49
--- /dev/null
+++ b/rules/batctl.in
@@ -0,0 +1,8 @@
+## SECTION=networking
+
+config BATCTL
+	tristate
+	prompt "B.A.T.M.A.N. - batctl"
+	select LIBNL3
+	help
+	  B.A.T.M.A.N batclt program to control/monitor batman interfaces
diff --git a/rules/batctl.make b/rules/batctl.make
new file mode 100644
index 0000000..e2a4d34
--- /dev/null
+++ b/rules/batctl.make
@@ -0,0 +1,71 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Markus Pargmann <mpa@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BATCTL) += batctl
+
+#
+# Paths and names
+#
+BATCTL_VERSION	:= 2014.1.0
+BATCTL_MD5		:= 92fd4cb60e38ec952fb5fdda4b2e6933
+BATCTL		:= batctl-$(BATCTL_VERSION)
+BATCTL_SUFFIX	:= tar.gz
+BATCTL_URL		:= http://downloads.open-mesh.org/batman/stable/sources/batctl/$(BATCTL).$(BATCTL_SUFFIX)
+BATCTL_SOURCE	:= $(SRCDIR)/$(BATCTL).$(BATCTL_SUFFIX)
+BATCTL_DIR		:= $(BUILDDIR)/$(BATCTL)
+BATCTL_LICENSE	:= unknown
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#BATCTL_PATH	:= PATH=$(CROSS_PATH)
+BATCTL_CONF_TOOL	:= NO
+BATCTL_MAKE_ENV	:= $(CROSS_ENV)
+
+#$(STATEDIR)/batctl.prepare:
+#	@$(call targetinfo)
+#	@$(call world/prepare, BATCTL)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/batctl.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, batctl)
+	@$(call install_fixup, batctl,PRIORITY,optional)
+	@$(call install_fixup, batctl,SECTION,base)
+	@$(call install_fixup, batctl,AUTHOR,"Markus Pargmann <mpa@pengutronix.de>")
+	@$(call install_fixup, batctl,DESCRIPTION,missing)
+
+	@$(call install_copy, batctl, 0, 0, 0755, $(BATCTL_DIR)/batctl, /usr/bin/batctl)
+
+	@$(call install_finish, batctl)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/batctl.clean:
+	@$(call targetinfo)
+	@-cd $(BATCTL_DIR) && \
+		$(BATCTL_ENV) $(BATCTL_PATH) $(MAKE) clean
+	@$(call clean_pkg, BATCTL)
+
+# vim: syntax=make
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 4/8] crda: version bump 1.1.3 -> 3.13
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
                   ` (2 preceding siblings ...)
  2014-04-30  9:59 ` [ptxdist] [PATCH 3/8] network: Add batctl Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 5/8] dnsmasq: version bump 2.47 -> 2.69 Markus Pargmann
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

There are some problems in the new version which get fixed by the
additional patches.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 .../crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch   | 73 ----------------------
 patches/crda-1.1.3/series                          |  4 --
 .../0001-key2pub-Fix-ssl-keys.c-generation.patch   | 38 +++++++++++
 .../crda-3.13/0002-Pregenerate-keys-ssl.c.patch    | 61 ++++++++++++++++++
 .../0003-udev-Fix-rule-for-initial-setup.patch     | 23 +++++++
 .../crda-3.13/0004-Makefile-Fix-libreg-build.patch | 48 ++++++++++++++
 patches/crda-3.13/series                           |  4 ++
 rules/crda.make                                    |  9 +--
 8 files changed, 179 insertions(+), 81 deletions(-)
 delete mode 100644 patches/crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch
 delete mode 100644 patches/crda-1.1.3/series
 create mode 100644 patches/crda-3.13/0001-key2pub-Fix-ssl-keys.c-generation.patch
 create mode 100644 patches/crda-3.13/0002-Pregenerate-keys-ssl.c.patch
 create mode 100644 patches/crda-3.13/0003-udev-Fix-rule-for-initial-setup.patch
 create mode 100644 patches/crda-3.13/0004-Makefile-Fix-libreg-build.patch
 create mode 100644 patches/crda-3.13/series

diff --git a/patches/crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch b/patches/crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch
deleted file mode 100644
index 0fda5d1..0000000
--- a/patches/crda-1.1.3/0001-Pregenerate-keys-ssl.c.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-From: Jan Luebbe <jlu@pengutronix.de>
-Date: Thu, 26 Jan 2012 15:33:36 +0100
-Subject: [PATCH] Pregenerate keys-ssl.c
-
----
- Makefile   |    8 ++++----
- keys-ssl.c |   38 ++++++++++++++++++++++++++++++++++++++
- 2 files changed, 42 insertions(+), 4 deletions(-)
- create mode 100644 keys-ssl.c
-
-diff --git a/Makefile b/Makefile
-index 084d8e5..80e3539 100644
---- a/Makefile
-+++ b/Makefile
-@@ -93,10 +93,10 @@ $(REG_BIN):
- 	$(NQ)
- 	$(Q) exit 1
- 
--keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
--	$(NQ) '  GEN ' $@
--	$(NQ) '  Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
--	$(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
-+#keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
-+#	$(NQ) '  GEN ' $@
-+#	$(NQ) '  Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
-+#	$(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
- 
- %.o: %.c regdb.h
- 	$(NQ) '  CC  ' $@
-diff --git a/keys-ssl.c b/keys-ssl.c
-new file mode 100644
-index 0000000..a8c1b7e
---- /dev/null
-+++ b/keys-ssl.c
-@@ -0,0 +1,38 @@
-+static BN_ULONG e_0[1] = {
-+	0x00010001, 
-+};
-+
-+static BN_ULONG n_0[64] = {
-+	0x16a0d8e1, 0x63a27054, 0xc8ba757b, 0xdc9fca11, 
-+	0xcbcb35e3, 0xb9c06510, 0xba941433, 0x39e3dfeb, 
-+	0x6c1fce9d, 0x7bbae38a, 0xfefabba7, 0x205a5a73, 
-+	0x97839a2e, 0x53ea3e5a, 0x61dc0170, 0xfec8f5b6, 
-+	0xd29a1004, 0xefe311d8, 0xa5156bb8, 0x8c6a92d0, 
-+	0x7a6eb5cc, 0x9067cc76, 0x0bd5b1ff, 0xd103580b, 
-+	0x8f3a2daf, 0x4a563e84, 0x46b0943e, 0xacd7cadb, 
-+	0xebd1e198, 0x5fabb688, 0x5916f173, 0x7e70c1d3, 
-+	0x5d6ca84e, 0xaaa8acc8, 0xe20fd4dc, 0x1685c157, 
-+	0xad933f64, 0xf9e9c9c7, 0xc5f59824, 0xbe6272ed, 
-+	0x53447bd1, 0x585d9a7d, 0x5b3bc30d, 0x011a5b3f, 
-+	0xffbbf0e9, 0xf312b966, 0x482c131b, 0x2203fb37, 
-+	0x0dc38eab, 0x3e7c157d, 0xb39fcc8d, 0xb04de1d6, 
-+	0x07fc0d84, 0x4d9f0137, 0xe13b5ac5, 0xb075a241, 
-+	0x8e56e153, 0x0a9a9d48, 0xf97054eb, 0xf2cff393, 
-+	0x376024f2, 0x2a2ead68, 0x88d35dce, 0xd6579971, 
-+};
-+
-+
-+struct pubkey {
-+	struct bignum_st e, n;
-+};
-+
-+#define KEY(data) {				\
-+	.d = data,				\
-+	.top = sizeof(data)/sizeof(data[0]),	\
-+}
-+
-+#define KEYS(e,n)	{ KEY(e), KEY(n), }
-+
-+static struct pubkey keys[] = {
-+	KEYS(e_0, n_0),
-+};
diff --git a/patches/crda-1.1.3/series b/patches/crda-1.1.3/series
deleted file mode 100644
index 348caf1..0000000
--- a/patches/crda-1.1.3/series
+++ /dev/null
@@ -1,4 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-Pregenerate-keys-ssl.c.patch
-# aa6be6d26b37ec911763a7e1eefe3128  - git-ptx-patches magic
diff --git a/patches/crda-3.13/0001-key2pub-Fix-ssl-keys.c-generation.patch b/patches/crda-3.13/0001-key2pub-Fix-ssl-keys.c-generation.patch
new file mode 100644
index 0000000..b67e801
--- /dev/null
+++ b/patches/crda-3.13/0001-key2pub-Fix-ssl-keys.c-generation.patch
@@ -0,0 +1,38 @@
+From 7394c6f238fccd893f0927ef4e768165e561c3d2 Mon Sep 17 00:00:00 2001
+From: Markus Pargmann <mpa@pengutronix.de>
+Date: Thu, 17 Apr 2014 14:40:49 +0200
+Subject: [PATCH 1/4] key2pub: Fix ssl-keys.c generation
+
+This patch fixes the generated ssl-keys.c file. Without these fixes,
+crda does not compile with ssl.
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ utils/key2pub.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/utils/key2pub.py b/utils/key2pub.py
+index 3e84cd2..7de45f7 100755
+--- a/utils/key2pub.py
++++ b/utils/key2pub.py
+@@ -59,7 +59,7 @@ def print_ssl_32(output, name, val):
+ 
+ def print_ssl(output, name, val):
+     import struct
+-    output.write('#include <stdint.h>\n')
++    output.write('#include <stdint.h>\n#include <openssl/bn.h>\n')
+     if len(struct.pack('@L', 0)) == 8:
+         return print_ssl_64(output, name, val)
+     else:
+@@ -78,7 +78,7 @@ struct pubkey {
+ 
+ #define KEYS(e,n)	{ KEY(e), KEY(n), }
+ 
+-static struct pubkey keys[] = {
++__attribute__((unused)) static struct pubkey keys[] = {
+ ''')
+     for n in xrange(n + 1):
+         output.write('	KEYS(e_%d, n_%d),\n' % (n, n))
+-- 
+1.9.0
+
diff --git a/patches/crda-3.13/0002-Pregenerate-keys-ssl.c.patch b/patches/crda-3.13/0002-Pregenerate-keys-ssl.c.patch
new file mode 100644
index 0000000..10c19a2
--- /dev/null
+++ b/patches/crda-3.13/0002-Pregenerate-keys-ssl.c.patch
@@ -0,0 +1,61 @@
+From a314b1075e456268abe3f571fd00fd63e9a59c9b Mon Sep 17 00:00:00 2001
+From: Jan Luebbe <jlu@pengutronix.de>
+Date: Thu, 26 Jan 2012 15:33:36 +0100
+Subject: [PATCH 2/4] Pregenerate keys-ssl.c
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ keys-ssl.c | 41 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 41 insertions(+)
+ create mode 100644 keys-ssl.c
+
+diff --git a/keys-ssl.c b/keys-ssl.c
+new file mode 100644
+index 0000000..7318c03
+--- /dev/null
++++ b/keys-ssl.c
+@@ -0,0 +1,41 @@
++#include <stdint.h>
++#include <openssl/bn.h>
++
++static BN_ULONG e_0[1] = {
++	0x00010001, 
++};
++
++static BN_ULONG n_0[64] = {
++	0x16a0d8e1, 0x63a27054, 0xc8ba757b, 0xdc9fca11, 
++	0xcbcb35e3, 0xb9c06510, 0xba941433, 0x39e3dfeb, 
++	0x6c1fce9d, 0x7bbae38a, 0xfefabba7, 0x205a5a73, 
++	0x97839a2e, 0x53ea3e5a, 0x61dc0170, 0xfec8f5b6, 
++	0xd29a1004, 0xefe311d8, 0xa5156bb8, 0x8c6a92d0, 
++	0x7a6eb5cc, 0x9067cc76, 0x0bd5b1ff, 0xd103580b, 
++	0x8f3a2daf, 0x4a563e84, 0x46b0943e, 0xacd7cadb, 
++	0xebd1e198, 0x5fabb688, 0x5916f173, 0x7e70c1d3, 
++	0x5d6ca84e, 0xaaa8acc8, 0xe20fd4dc, 0x1685c157, 
++	0xad933f64, 0xf9e9c9c7, 0xc5f59824, 0xbe6272ed, 
++	0x53447bd1, 0x585d9a7d, 0x5b3bc30d, 0x011a5b3f, 
++	0xffbbf0e9, 0xf312b966, 0x482c131b, 0x2203fb37, 
++	0x0dc38eab, 0x3e7c157d, 0xb39fcc8d, 0xb04de1d6, 
++	0x07fc0d84, 0x4d9f0137, 0xe13b5ac5, 0xb075a241, 
++	0x8e56e153, 0x0a9a9d48, 0xf97054eb, 0xf2cff393, 
++	0x376024f2, 0x2a2ead68, 0x88d35dce, 0xd6579971, 
++};
++
++
++struct pubkey {
++	struct bignum_st e, n;
++};
++
++#define KEY(data) {				\
++	.d = data,				\
++	.top = sizeof(data)/sizeof(data[0]),	\
++}
++
++#define KEYS(e,n)	{ KEY(e), KEY(n), }
++
++__attribute__((unused)) static struct pubkey keys[] = {
++	KEYS(e_0, n_0),
++};
+-- 
+1.9.0
+
diff --git a/patches/crda-3.13/0003-udev-Fix-rule-for-initial-setup.patch b/patches/crda-3.13/0003-udev-Fix-rule-for-initial-setup.patch
new file mode 100644
index 0000000..e91b154
--- /dev/null
+++ b/patches/crda-3.13/0003-udev-Fix-rule-for-initial-setup.patch
@@ -0,0 +1,23 @@
+From 2634bae34b4cb0870ee1f4f1cea228897307fe4c Mon Sep 17 00:00:00 2001
+From: Markus Pargmann <mpa@pengutronix.de>
+Date: Thu, 17 Apr 2014 11:59:59 +0200
+Subject: [PATCH 3/4] udev: Fix rule for initial setup
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ udev/regulatory.rules | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/udev/regulatory.rules b/udev/regulatory.rules
+index 3d6add8..90ac539 100644
+--- a/udev/regulatory.rules
++++ b/udev/regulatory.rules
+@@ -2,4 +2,4 @@
+ # For more information see:
+ # http://wireless.kernel.org/en/developers/Regulatory/CRDA
+ 
+-KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)crda"
++KERNEL=="regulatory*", ACTION=="add|change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)crda"
+-- 
+1.9.0
+
diff --git a/patches/crda-3.13/0004-Makefile-Fix-libreg-build.patch b/patches/crda-3.13/0004-Makefile-Fix-libreg-build.patch
new file mode 100644
index 0000000..3ca3ae7
--- /dev/null
+++ b/patches/crda-3.13/0004-Makefile-Fix-libreg-build.patch
@@ -0,0 +1,48 @@
+From c0074b4554322f16f3547e647cf2b15613e6f7bb Mon Sep 17 00:00:00 2001
+From: Markus Pargmann <mpa@pengutronix.de>
+Date: Thu, 17 Apr 2014 15:34:35 +0200
+Subject: [PATCH 4/4] Makefile: Fix libreg build
+
+Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
+---
+ Makefile | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 4a351c6..b07d8ad 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5,8 +5,8 @@ REG_GIT?=git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.g
+ 
+ PREFIX ?= /usr/
+ MANDIR ?= $(PREFIX)/share/man/
+-INCLUDE_DIR ?= $(PREFIX)/include/reglib/
+-LIBDIR ?= $(PREFIX)/lib
++INCLUDE_DIR ?= /include/reglib/
++LIBDIR ?= /lib/
+ 
+ SBINDIR ?= /sbin/
+ 
+@@ -119,14 +119,14 @@ $(LIBREG): regdb.h reglib.h reglib.c
+ 
+ install-libreg-headers:
+ 	$(NQ) '  INSTALL  libreg-headers'
+-	$(Q)mkdir -p $(INCLUDE_DIR)
+-	$(Q)cp *.h $(INCLUDE_DIR)/
++	$(Q)$(MKDIR) $(DESTDIR)/$(INCLUDE_DIR)
++	$(Q)$(INSTALL) -m 644 -t $(DESTDIR)/$(INCLUDE_DIR) *.h
+ 
+ install-libreg:
+ 	$(NQ) '  INSTALL  libreg'
+-	$(Q)mkdir -p $(LIBDIR)
+-	$(Q)cp $(LIBREG) $(LIBDIR)/
+-	$(Q)ldconfig
++	$(Q)$(MKDIR) $(LIBDIR)
++	$(Q)$(INSTALL) -m 644 -t $(DESTDIR)/$(LIBDIR) $(LIBREG)
++#	$(Q)ldconfig
+ 
+ %.o: %.c regdb.h $(LIBREG)
+ 	$(NQ) '  CC  ' $@
+-- 
+1.9.0
+
diff --git a/patches/crda-3.13/series b/patches/crda-3.13/series
new file mode 100644
index 0000000..ae68329
--- /dev/null
+++ b/patches/crda-3.13/series
@@ -0,0 +1,4 @@
+0001-key2pub-Fix-ssl-keys.c-generation.patch
+0002-Pregenerate-keys-ssl.c.patch
+0003-udev-Fix-rule-for-initial-setup.patch
+0004-Makefile-Fix-libreg-build.patch
diff --git a/rules/crda.make b/rules/crda.make
index 18069e1..e9b8db9 100644
--- a/rules/crda.make
+++ b/rules/crda.make
@@ -16,11 +16,11 @@ PACKAGES-$(PTXCONF_CRDA) += crda
 #
 # Paths and names
 #
-CRDA_VERSION	:= 1.1.3
-CRDA_MD5	:= 29579185e06a75675507527243d28e5c
+CRDA_VERSION	:= 3.13
+CRDA_MD5	:= 66b1b0417c1ad19f0009a5c0c0c1aebc
 CRDA		:= crda-$(CRDA_VERSION)
-CRDA_SUFFIX	:= tar.bz2
-CRDA_URL	:= http://linuxwireless.org/download/crda/$(CRDA).$(CRDA_SUFFIX)
+CRDA_SUFFIX	:= tar.xz
+CRDA_URL	:= $(call ptx/mirror, KERNEL, ../software/network/crda/$(CRDA).$(CRDA_SUFFIX))
 CRDA_SOURCE	:= $(SRCDIR)/$(CRDA).$(CRDA_SUFFIX)
 CRDA_DIR	:= $(BUILDDIR)/$(CRDA)
 CRDA_LICENSE	:= unknown
@@ -58,6 +58,7 @@ $(STATEDIR)/crda.targetinstall:
 	@$(call install_copy, crda, 0, 0, 0755, -, /sbin/regdbdump)
 	@$(call install_copy, crda, 0, 0, 0644, -, \
 		/lib/udev/rules.d/85-regulatory.rules)
+	@$(call install_lib, crda, 0, 0, 0644, libreg)
 
 	# regulatory.bin was downloaded from:
 	# git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 5/8] dnsmasq: version bump 2.47 -> 2.69
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
                   ` (3 preceding siblings ...)
  2014-04-30  9:59 ` [ptxdist] [PATCH 4/8] crda: version bump 1.1.3 -> 3.13 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 6/8] iperf: version bump 2.0.4 -> 2.0.5 Markus Pargmann
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

The newer version of dnsmasq now includes IPv6 router advertisement
support. This patch also changes to tar.xz.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/dnsmasq.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/dnsmasq.make b/rules/dnsmasq.make
index 675bf5c..955bff0 100644
--- a/rules/dnsmasq.make
+++ b/rules/dnsmasq.make
@@ -17,10 +17,10 @@ PACKAGES-$(PTXCONF_DNSMASQ) += dnsmasq
 #
 # Paths and names
 #
-DNSMASQ_VERSION		:= 2.47
-DNSMASQ_MD5		:= 4524081e56d0b935717d493e8e8d3e11
+DNSMASQ_VERSION		:= 2.69
+DNSMASQ_MD5		:= c5a1152e646eb54db4f33f8e0deee180
 DNSMASQ			:= dnsmasq-$(DNSMASQ_VERSION)
-DNSMASQ_SUFFIX		:= tar.gz
+DNSMASQ_SUFFIX		:= tar.xz
 DNSMASQ_URL		:= http://www.thekelleys.org.uk/dnsmasq/$(DNSMASQ).$(DNSMASQ_SUFFIX)
 DNSMASQ_SOURCE		:= $(SRCDIR)/$(DNSMASQ).$(DNSMASQ_SUFFIX)
 DNSMASQ_DIR		:= $(BUILDDIR)/$(DNSMASQ)
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 6/8] iperf: version bump 2.0.4 -> 2.0.5
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
                   ` (4 preceding siblings ...)
  2014-04-30  9:59 ` [ptxdist] [PATCH 5/8] dnsmasq: version bump 2.47 -> 2.69 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 7/8] wireshark: version bump 1.10.5 -> 1.10.6 Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 8/8] libjpeg: version bump 8a -> 9a, add binaries Markus Pargmann
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 patches/iperf-2.0.4/fix_early_termination.diff | 47 --------------------------
 patches/iperf-2.0.4/series                     |  1 -
 patches/iperf-2.0.5/fix_early_termination.diff | 47 ++++++++++++++++++++++++++
 patches/iperf-2.0.5/series                     |  1 +
 rules/iperf.make                               |  4 +--
 5 files changed, 50 insertions(+), 50 deletions(-)
 delete mode 100644 patches/iperf-2.0.4/fix_early_termination.diff
 delete mode 100644 patches/iperf-2.0.4/series
 create mode 100644 patches/iperf-2.0.5/fix_early_termination.diff
 create mode 100644 patches/iperf-2.0.5/series

diff --git a/patches/iperf-2.0.4/fix_early_termination.diff b/patches/iperf-2.0.4/fix_early_termination.diff
deleted file mode 100644
index f24dec7..0000000
--- a/patches/iperf-2.0.4/fix_early_termination.diff
+++ /dev/null
@@ -1,47 +0,0 @@
-iperf version 2.0.4 running in server mode exits when a client connects
-using the -d (duplex) flag.
-
-To reproduce: On machine foo, run server:
-
-[somlo@foo]$ iperf -s
-
-on machine bar, run client in duplex mode:
-
-[somlo@bar]$ iperf -c foo -d
-
-
-What happens: At the end of the test, the iperf process on machine foo exits.
-
-What *should* happen: At the end of the test, the iperf process on machine
-should keep running, listening for new connections.
-
-===
-
-Patch form L. Gabriel Somlo on the iperf maillist 2009-01-21
-More precisely: http://sourceforge.net/tracker/index.php?func=detail&aid=1983829&group_id=128336&atid=711371
-
-Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
-
----
- src/Client.cpp |    8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-Index: src/Client.cpp
-===================================================================
---- src/Client.cpp.orig
-+++ src/Client.cpp
-@@ -207,10 +207,10 @@ void Client::Run( void ) {
-     char* readAt = mBuf;
- 
- #if HAVE_THREAD
--    if ( !isUDP( mSettings ) ) {
--	RunTCP();
--	return;
--    }
-+//     if ( !isUDP( mSettings ) ) {
-+// 	RunTCP();
-+// 	return;
-+//     }
- #endif
-     
-     // Indicates if the stream is readable 
diff --git a/patches/iperf-2.0.4/series b/patches/iperf-2.0.4/series
deleted file mode 100644
index c490ac0..0000000
--- a/patches/iperf-2.0.4/series
+++ /dev/null
@@ -1 +0,0 @@
-fix_early_termination.diff -p0
diff --git a/patches/iperf-2.0.5/fix_early_termination.diff b/patches/iperf-2.0.5/fix_early_termination.diff
new file mode 100644
index 0000000..f24dec7
--- /dev/null
+++ b/patches/iperf-2.0.5/fix_early_termination.diff
@@ -0,0 +1,47 @@
+iperf version 2.0.4 running in server mode exits when a client connects
+using the -d (duplex) flag.
+
+To reproduce: On machine foo, run server:
+
+[somlo@foo]$ iperf -s
+
+on machine bar, run client in duplex mode:
+
+[somlo@bar]$ iperf -c foo -d
+
+
+What happens: At the end of the test, the iperf process on machine foo exits.
+
+What *should* happen: At the end of the test, the iperf process on machine
+should keep running, listening for new connections.
+
+===
+
+Patch form L. Gabriel Somlo on the iperf maillist 2009-01-21
+More precisely: http://sourceforge.net/tracker/index.php?func=detail&aid=1983829&group_id=128336&atid=711371
+
+Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
+
+---
+ src/Client.cpp |    8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+Index: src/Client.cpp
+===================================================================
+--- src/Client.cpp.orig
++++ src/Client.cpp
+@@ -207,10 +207,10 @@ void Client::Run( void ) {
+     char* readAt = mBuf;
+ 
+ #if HAVE_THREAD
+-    if ( !isUDP( mSettings ) ) {
+-	RunTCP();
+-	return;
+-    }
++//     if ( !isUDP( mSettings ) ) {
++// 	RunTCP();
++// 	return;
++//     }
+ #endif
+     
+     // Indicates if the stream is readable 
diff --git a/patches/iperf-2.0.5/series b/patches/iperf-2.0.5/series
new file mode 100644
index 0000000..c490ac0
--- /dev/null
+++ b/patches/iperf-2.0.5/series
@@ -0,0 +1 @@
+fix_early_termination.diff -p0
diff --git a/rules/iperf.make b/rules/iperf.make
index c5e08e9..8f73dfc 100644
--- a/rules/iperf.make
+++ b/rules/iperf.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_IPERF) += iperf
 #
 # Paths and names
 #
-IPERF_VERSION	:= 2.0.4
-IPERF_MD5	:= 8c5bc14cc2ea55f18f22afe3c23e3dcb
+IPERF_VERSION	:= 2.0.5
+IPERF_MD5	:= 44b5536b67719f4250faed632a3cd016
 IPERF		:= iperf-$(IPERF_VERSION)
 IPERF_SUFFIX	:= tar.gz
 IPERF_URL	:= $(call ptx/mirror, SF, iperf/$(IPERF).$(IPERF_SUFFIX))
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 7/8] wireshark: version bump 1.10.5 -> 1.10.6
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
                   ` (5 preceding siblings ...)
  2014-04-30  9:59 ` [ptxdist] [PATCH 6/8] iperf: version bump 2.0.4 -> 2.0.5 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  2014-04-30  9:59 ` [ptxdist] [PATCH 8/8] libjpeg: version bump 8a -> 9a, add binaries Markus Pargmann
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/wireshark.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/wireshark.make b/rules/wireshark.make
index 517dbbb..b3fcb93 100644
--- a/rules/wireshark.make
+++ b/rules/wireshark.make
@@ -18,8 +18,8 @@ PACKAGES-$(PTXCONF_WIRESHARK) += wireshark
 #
 # Paths and names
 #
-WIRESHARK_VERSION	:= 1.10.5
-WIRESHARK_MD5		:= a66894a62f05e1e7a3156a807f3296ea
+WIRESHARK_VERSION	:= 1.10.6
+WIRESHARK_MD5		:= c67435039d67ef1757bfff0ab88824ab
 WIRESHARK		:= wireshark-$(WIRESHARK_VERSION)
 WIRESHARK_SUFFIX	:= tar.bz2
 WIRESHARK_URL		:= http://www.wireshark.org/download/src/all-versions/$(WIRESHARK).$(WIRESHARK_SUFFIX)
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ptxdist] [PATCH 8/8] libjpeg: version bump 8a -> 9a, add binaries
  2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
                   ` (6 preceding siblings ...)
  2014-04-30  9:59 ` [ptxdist] [PATCH 7/8] wireshark: version bump 1.10.5 -> 1.10.6 Markus Pargmann
@ 2014-04-30  9:59 ` Markus Pargmann
  7 siblings, 0 replies; 9+ messages in thread
From: Markus Pargmann @ 2014-04-30  9:59 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Pargmann

cjpeg and djpeg are simple programs that use libjpeg to
compress/decompress jpeg images.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/libjpeg.in   | 15 +++++++++++++--
 rules/libjpeg.make |  8 ++++++--
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/rules/libjpeg.in b/rules/libjpeg.in
index 30cea58..e9f1b66 100644
--- a/rules/libjpeg.in
+++ b/rules/libjpeg.in
@@ -1,7 +1,18 @@
 ## SECTION=system_libraries
 
-config LIBJPEG
+menuconfig LIBJPEG
 	tristate
-	prompt "libjpeg"
+	prompt "libjpeg                       "
 	help
 	  libjpeg is a library for handling the JPEG (JFIF) image format.
+
+if LIBJPEG
+
+config LIBJPEG_BIN
+	bool
+	prompt "Install libjpeg binaries cjpeg and djpeg"
+	help
+	  cjpeg and djpeg are simple bineries to convert some basic image
+	  formats to jpeg (cjpeg) or convert them back from jpeg (djpeg)
+
+endif
diff --git a/rules/libjpeg.make b/rules/libjpeg.make
index c86d408..3ca715e 100644
--- a/rules/libjpeg.make
+++ b/rules/libjpeg.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBJPEG) += libjpeg
 #
 # Paths and names
 #
-LIBJPEG_VERSION	:= 8a
-LIBJPEG_MD5	:= 5146e68be3633c597b0d14d3ed8fa2ea
+LIBJPEG_VERSION	:= 9a
+LIBJPEG_MD5	:= 3353992aecaee1805ef4109aadd433e7
 LIBJPEG_SUFFIX	:= tar.gz
 LIBJPEG		:= jpeg-$(LIBJPEG_VERSION)
 LIBJPEG_TARBALL	:= jpegsrc.v$(LIBJPEG_VERSION).$(LIBJPEG_SUFFIX)
@@ -47,6 +47,10 @@ $(STATEDIR)/libjpeg.targetinstall:
 	@$(call install_fixup, libjpeg,DESCRIPTION,missing)
 
 	@$(call install_lib, libjpeg, 0, 0, 0644, libjpeg)
+ifdef PTXCONF_LIBJPEG_BIN
+	@$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/cjpeg)
+	@$(call install_copy, libjpeg, 0, 0, 0755, -, /usr/bin/djpeg)
+endif
 
 	@$(call install_finish, libjpeg)
 
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-30  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 2/8] iw: version bump 3.3 -> 3.14 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 3/8] network: Add batctl Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 4/8] crda: version bump 1.1.3 -> 3.13 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 5/8] dnsmasq: version bump 2.47 -> 2.69 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 6/8] iperf: version bump 2.0.4 -> 2.0.5 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 7/8] wireshark: version bump 1.10.5 -> 1.10.6 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 8/8] libjpeg: version bump 8a -> 9a, add binaries Markus Pargmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox