mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Various changes from my collection
@ 2016-05-24 10:48 Juergen Borleis
  2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Juergen Borleis @ 2016-05-24 10:48 UTC (permalink / raw)
  To: ptxdist

Some fixes, some updates...

jb


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 1/4] DTC: fix package description
  2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
@ 2016-05-24 10:48 ` Juergen Borleis
  2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Juergen Borleis @ 2016-05-24 10:48 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 rules/dtc.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/dtc.make b/rules/dtc.make
index 0596359..ba915dd 100644
--- a/rules/dtc.make
+++ b/rules/dtc.make
@@ -57,7 +57,7 @@ ifdef PTXCONF_DTC_INSTALL_OFTREE
 	@$(call install_fixup, dtc, PRIORITY,optional)
 	@$(call install_fixup, dtc, SECTION,base)
 	@$(call install_fixup, dtc, AUTHOR,"Carsten Schlote <c.schlote@konzeptpark.de>")
-	@$(call install_fixup, dtc, DESCRIPTION, "oftree description for machine $(PTXCONF_PROJECT_VERSION)")
+	@$(call install_fixup, dtc, DESCRIPTION, "oftree description for machine $(PTXCONF_PLATFORM)")
 
 	@$(call install_copy, dtc, 0, 0, 0755, /boot);
 	@$(foreach dtb, $(DTC_DTB), \
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/4] linuxptp: enable systemd support
  2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
  2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
@ 2016-05-24 10:48 ` Juergen Borleis
  2016-05-26  9:55   ` Michael Olbrich
  2016-05-24 10:48 ` [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1 Juergen Borleis
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: Juergen Borleis @ 2016-05-24 10:48 UTC (permalink / raw)
  To: ptxdist

The package comes with systemd support. This change makes use of it.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 rules/linuxptp.make | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rules/linuxptp.make b/rules/linuxptp.make
index 59cbb51..f4893a3 100644
--- a/rules/linuxptp.make
+++ b/rules/linuxptp.make
@@ -62,9 +62,15 @@ $(STATEDIR)/linuxptp.targetinstall:
 
 	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/ptp4l)
 	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc2sys)
+	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc_ctl)
 	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/pmc)
 	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/hwstamp_ctl)
 	@$(call install_alternative, linuxptp, 0, 0, 0644, /etc/gPTP.conf)
+# systemd support
+	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/ptp4l.service)
+	@$(call install_link, linuxptp, ../ptp4l.service, /lib/systemd/system/multi-user.target.wants/ptp4l.service)
+	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/phc2sys.service)
+	@$(call install_link, linuxptp, ../phc2sys.service, /lib/systemd/system/multi-user.target.wants/phc2sys.service)
 
 	@$(call install_finish, linuxptp)
 
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1
  2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
  2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
  2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
@ 2016-05-24 10:48 ` Juergen Borleis
  2016-05-24 10:49 ` [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release Juergen Borleis
  2016-05-26  9:56 ` [ptxdist] Various changes from my collection Michael Olbrich
  4 siblings, 0 replies; 7+ messages in thread
From: Juergen Borleis @ 2016-05-24 10:48 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 rules/tcpdump.in   |  7 +++++++
 rules/tcpdump.make | 11 +++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/rules/tcpdump.in b/rules/tcpdump.in
index d9328be..74d6072 100644
--- a/rules/tcpdump.in
+++ b/rules/tcpdump.in
@@ -3,6 +3,7 @@ menuconfig TCPDUMP
 	tristate
 	prompt "tcpdump                       "
 	select LIBPCAP
+	select LIBCAP_NG if TCPDUMP_ENABLE_LIBCAP_NG
 	select OPENSSL if TCPDUMP_ENABLE_CRYPTO
 	help
 	  Tcpdump  prints out the headers of packets on a network interface
@@ -15,6 +16,12 @@ menuconfig TCPDUMP
 
 if TCPDUMP
 
+config TCPDUMP_ENABLE_LIBCAP_NG
+	bool
+	prompt "use libcap-ng as well"
+	help
+	  Use libpcap and libcap-ng
+
 config TCPDUMP_ENABLE_CRYPTO
 	bool
 	prompt "enable crypto support"
diff --git a/rules/tcpdump.make b/rules/tcpdump.make
index 897e6da..afdbc31 100644
--- a/rules/tcpdump.make
+++ b/rules/tcpdump.make
@@ -1,6 +1,7 @@
 # -*-makefile-*-
 #
 # Copyright (C) 2004-2009 by Robert Schwebel
+# Copyright (C) 2016 Juergen Borleis
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_TCPDUMP) += tcpdump
 #
 # Paths and names
 #
-TCPDUMP_VERSION	:= 4.5.1
-TCPDUMP_MD5	:= 973a2513d0076e34aa9da7e15ed98e1b
+TCPDUMP_VERSION	:= 4.7.4
+TCPDUMP_MD5	:= 58af728de36f499341918fc4b8e827c3
 TCPDUMP		:= tcpdump-$(TCPDUMP_VERSION)
 TCPDUMP_SUFFIX	:= tar.gz
 TCPDUMP_URL	:= http://www.tcpdump.org/release/$(TCPDUMP).$(TCPDUMP_SUFFIX)
@@ -43,7 +44,9 @@ TCPDUMP_CONF_OPT	:= \
 	--$(call ptx/endis,PTXCONF_TCPDUMP_SMB)-smb \
 	$(GLOBAL_IPV6_OPTION) \
 	--without-smi \
-	--$(call ptx/wwo,PTXCONF_TCPDUMP_ENABLE_CRYPTO)-crypto
+	--with-system-libpcap \
+	--$(call ptx/wwo,PTXCONF_TCPDUMP_ENABLE_CRYPTO)-crypto \
+	--$(call ptx/wwo,PTXCONF_TCPDUMP_ENABLE_LIBCAP_NG)-cap-ng
 
 # FIXME: Unsupported switches yet
 #  --with-user=USERNAME    drop privileges by default to USERNAME
@@ -60,7 +63,7 @@ $(STATEDIR)/tcpdump.targetinstall:
 	@$(call install_fixup, tcpdump,PRIORITY,optional)
 	@$(call install_fixup, tcpdump,SECTION,base)
 	@$(call install_fixup, tcpdump,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
-	@$(call install_fixup, tcpdump,DESCRIPTION,missing)
+	@$(call install_fixup, tcpdump,DESCRIPTION,"TCP analyze tool")
 
 	@$(call install_copy, tcpdump, 0, 0, 0755, -, /usr/sbin/tcpdump)
 
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release
  2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
                   ` (2 preceding siblings ...)
  2016-05-24 10:48 ` [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1 Juergen Borleis
@ 2016-05-24 10:49 ` Juergen Borleis
  2016-05-26  9:56 ` [ptxdist] Various changes from my collection Michael Olbrich
  4 siblings, 0 replies; 7+ messages in thread
From: Juergen Borleis @ 2016-05-24 10:49 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
---
 ...o-not-compile-tests-for-disabled-features.patch | 37 ++++++++++++++++++++++
 patches/libmicrohttpd-0.9.49/autogen.sh            |  1 +
 patches/libmicrohttpd-0.9.49/series                |  4 +++
 rules/libmicrohttpd.in                             | 17 ++--------
 rules/libmicrohttpd.make                           | 14 ++++----
 5 files changed, 53 insertions(+), 20 deletions(-)
 create mode 100644 patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
 create mode 120000 patches/libmicrohttpd-0.9.49/autogen.sh
 create mode 100644 patches/libmicrohttpd-0.9.49/series

diff --git a/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch b/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
new file mode 100644
index 0000000..358c23c
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/0001-Do-not-compile-tests-for-disabled-features.patch
@@ -0,0 +1,37 @@
+From: Juergen Borleis <jbe@pengutronix.de>
+Date: Mon, 18 Apr 2016 15:58:59 +0200
+Subject: [PATCH] Do not compile tests for disabled features
+
+Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
+---
+ doc/examples/Makefile.am | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
+index 7bb02daccda0..1866188f61b5 100644
+--- a/doc/examples/Makefile.am
++++ b/doc/examples/Makefile.am
+@@ -12,7 +12,6 @@ endif
+ 
+ # example programs
+ noinst_PROGRAMS = \
+-  basicauthentication \
+   hellobrowser \
+   logging \
+   responseheaders 
+@@ -29,10 +28,15 @@ if HAVE_W32
+ AM_CPPFLAGS += -DWINDOWS
+ endif
+ 
++if ENABLE_BAUTH
++noinst_PROGRAMS += \
++  basicauthentication
++
+ basicauthentication_SOURCES = \
+  basicauthentication.c 
+ basicauthentication_LDADD = \
+  $(top_builddir)/src/microhttpd/libmicrohttpd.la 
++endif
+ 
+ hellobrowser_SOURCES = \
+  hellobrowser.c 
diff --git a/patches/libmicrohttpd-0.9.49/autogen.sh b/patches/libmicrohttpd-0.9.49/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/patches/libmicrohttpd-0.9.49/series b/patches/libmicrohttpd-0.9.49/series
new file mode 100644
index 0000000..f8bfab5
--- /dev/null
+++ b/patches/libmicrohttpd-0.9.49/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Do-not-compile-tests-for-disabled-features.patch
+# 502fecbd4d242ba6649ff061c5e9ac48  - git-ptx-patches magic
diff --git a/rules/libmicrohttpd.in b/rules/libmicrohttpd.in
index dc4deb6..ea65015 100644
--- a/rules/libmicrohttpd.in
+++ b/rules/libmicrohttpd.in
@@ -1,10 +1,9 @@
-## SECTION=staging
-## old section:
-### SECTION=networking
+## SECTION=networking
 
 menuconfig LIBMICROHTTPD
 	tristate
-	select LIBC_PTHREAD
+	select LIBC_PTHREAD if RUNTIME
+	select GNUTLS if LIBMICROHTTPD_HTTPS
 	select LIBGCRYPT if LIBMICROHTTPD_HTTPS
 	prompt "libmicrohttpd                 "
 	help
@@ -14,10 +13,6 @@ menuconfig LIBMICROHTTPD
 	  functionality into applications. It will be used in future
 	  GNUnet versions as part of the HTTP transport.
 
-	  STAGING: remove in ptxdist-2016.08.0
-	  Upstream is at revision 0.9 and the archives for 0.4.4 seems no longer
-	  available.
-
 if LIBMICROHTTPD
 
 config LIBMICROHTTPD_HTTPS
@@ -29,12 +24,6 @@ config LIBMICROHTTPD_HTTPS
 	  If you disable HTTPS/SSL support, you can also choose the
 	  eCos License.
 
-config LIBMICROHTTPD_CLIENT_SIDE
-	bool
-	prompt "Client side support"
-	help
-	  FIXME
-
 config LIBMICROHTTPD_MESSAGES
 	bool
 	prompt "Messages"
diff --git a/rules/libmicrohttpd.make b/rules/libmicrohttpd.make
index 72f7733..c73658d 100644
--- a/rules/libmicrohttpd.make
+++ b/rules/libmicrohttpd.make
@@ -1,6 +1,7 @@
 # -*-makefile-*-
 #
 # Copyright (C) 2008, 2009 by Erwin Rol
+# Copyright (C) 2016 by Juergen Borleis
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBMICROHTTPD) += libmicrohttpd
 #
 # Paths and names
 #
-LIBMICROHTTPD_VERSION	:= 0.4.4
-LIBMICROHTTPD_MD5	:= bcd61ebb10286379f55c7db9c79e0465
+LIBMICROHTTPD_VERSION	:= 0.9.49
+LIBMICROHTTPD_MD5	:= 3209aa2ac6199b874a6325342b86edbc
 LIBMICROHTTPD		:= libmicrohttpd-$(LIBMICROHTTPD_VERSION)
 LIBMICROHTTPD_SUFFIX	:= tar.gz
 LIBMICROHTTPD_URL	:= $(call ptx/mirror, GNU, libmicrohttpd/$(LIBMICROHTTPD).$(LIBMICROHTTPD_SUFFIX))
@@ -38,10 +39,11 @@ LIBMICROHTTPD_AUTOCONF := \
 	$(CROSS_AUTOCONF_USR) \
 	$(GLOBAL_LARGE_FILE_OPTION) \
 	--disable-curl \
-	--disable-coverage \
+	--$(call ptx/endis, PTXCONF_LIBMICROHTTPD_MESSAGES)-messages \
 	--$(call ptx/endis, PTXCONF_LIBMICROHTTPD_HTTPS)-https \
-	--$(call ptx/endis, PTXCONF_LIBMICROHTTPD_CLIENT_SIDE)-client-side \
-	--$(call ptx/endis, PTXCONF_LIBMICROHTTPD_MESSAGES)-messages
+	--disable-bauth \
+	--disable-dauth \
+	--disable-coverage
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -54,7 +56,7 @@ $(STATEDIR)/libmicrohttpd.targetinstall:
 	@$(call install_fixup, libmicrohttpd,PRIORITY,optional)
 	@$(call install_fixup, libmicrohttpd,SECTION,base)
 	@$(call install_fixup, libmicrohttpd,AUTHOR,"Erwin Rol <erwin@erwinrol.com>")
-	@$(call install_fixup, libmicrohttpd,DESCRIPTION,missing)
+	@$(call install_fixup, libmicrohttpd,DESCRIPTION,"embedded HTTP server functionality")
 
 	@$(call install_lib, libmicrohttpd, 0, 0, 0644, libmicrohttpd)
 
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 2/4] linuxptp: enable systemd support
  2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
@ 2016-05-26  9:55   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2016-05-26  9:55 UTC (permalink / raw)
  To: ptxdist

On Tue, May 24, 2016 at 12:48:58PM +0200, Juergen Borleis wrote:
> The package comes with systemd support. This change makes use of it.

Please add an option for this.

Michael

> Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
> ---
>  rules/linuxptp.make | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/rules/linuxptp.make b/rules/linuxptp.make
> index 59cbb51..f4893a3 100644
> --- a/rules/linuxptp.make
> +++ b/rules/linuxptp.make
> @@ -62,9 +62,15 @@ $(STATEDIR)/linuxptp.targetinstall:
>  
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/ptp4l)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc2sys)
> +	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc_ctl)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/pmc)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/hwstamp_ctl)
>  	@$(call install_alternative, linuxptp, 0, 0, 0644, /etc/gPTP.conf)
> +# systemd support
> +	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/ptp4l.service)
> +	@$(call install_link, linuxptp, ../ptp4l.service, /lib/systemd/system/multi-user.target.wants/ptp4l.service)
> +	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/phc2sys.service)
> +	@$(call install_link, linuxptp, ../phc2sys.service, /lib/systemd/system/multi-user.target.wants/phc2sys.service)
>  
>  	@$(call install_finish, linuxptp)
>  
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Various changes from my collection
  2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
                   ` (3 preceding siblings ...)
  2016-05-24 10:49 ` [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release Juergen Borleis
@ 2016-05-26  9:56 ` Michael Olbrich
  4 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2016-05-26  9:56 UTC (permalink / raw)
  To: ptxdist

On Tue, May 24, 2016 at 12:48:56PM +0200, Juergen Borleis wrote:
> Some fixes, some updates...

I've sent a comment for one and applied the other three.

Thanks,
Michael

> 
> jb
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2016-05-26  9:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
2016-05-26  9:55   ` Michael Olbrich
2016-05-24 10:48 ` [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1 Juergen Borleis
2016-05-24 10:49 ` [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release Juergen Borleis
2016-05-26  9:56 ` [ptxdist] Various changes from my collection Michael Olbrich

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