Skip to contentSkip to conversation

package/haproxy: install only binary

PATCH New Fabrice Fontaine 3 participants 7 messages Feb 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/haproxy: install only binary

Use install-bin instead of install target to avoid installing doc and man pages

---
 package/haproxy/haproxy.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/haproxy/haproxy.mk +1 -1
index 9f6f2818ae..88247d8e63 100644
@@ -82,7 +82,7 @@ endef
 
 define HAPROXY_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
-		$(HAPROXY_MAKE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install
+		$(HAPROXY_MAKE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install-bin
 endef
 
 $(eval $(generic-package))
Signature · 1 line
2.24.1
#1 lore raw

PATCH 2/2 package/haproxy: bump to version 2.1.2

---
 package/haproxy/haproxy.hash | 4 ++--
 package/haproxy/haproxy.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/haproxy/haproxy.hash +2 -2
index 87a29eeba1..7f03e88d43 100644
@@ -1,5 +1,5 @@
-# From: http://www.haproxy.org/download/2.0/src/haproxy-2.0.10.tar.gz.sha256
-sha256 1d38ab3dd45e930b209e922a360ee8c636103e21e5b5a2656d3795401316a4ea haproxy-2.0.10.tar.gz
+# From: http://www.haproxy.org/download/2.1/src/haproxy-2.1.2.tar.gz.sha256
+sha256	6079b08a8905ade5a9a2835ead8963ee10a855d8508a85efb7181eea2d310b77	haproxy-2.1.2.tar.gz
 # Locally computed:
 sha256	0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28	LICENSE
 sha256	5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a	doc/lgpl.txt
package/haproxy/haproxy.mk +2 -2
index 88247d8e63..5485954a1f 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-HAPROXY_VERSION_MAJOR = 2.0
-HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).10
+HAPROXY_VERSION_MAJOR = 2.1
+HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).2
 HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src
 HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions
 HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt
Signature · 1 line
2.24.1
#2 lore raw

PATCH 2/2 package/haproxy: bump to version 2.1.2

Quoted 5 lines · On Mon, 3 Feb 2020 21:52:56 +0100 Fabrice Fontaine…
---
 package/haproxy/haproxy.hash | 4 ++--
 package/haproxy/haproxy.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 2/2 package/haproxy: bump to version 2.1.2

In reply to Fabrice Fontaine
Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

---
 package/haproxy/haproxy.hash | 4 ++--
 package/haproxy/haproxy.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/haproxy/haproxy.hash +2 -2
index 87a29eeba1..7f03e88d43 100644
@@ -1,5 +1,5 @@
-# From: http://www.haproxy.org/download/2.0/src/haproxy-2.0.10.tar.gz.sha256
-sha256 1d38ab3dd45e930b209e922a360ee8c636103e21e5b5a2656d3795401316a4ea haproxy-2.0.10.tar.gz
+# From: http://www.haproxy.org/download/2.1/src/haproxy-2.1.2.tar.gz.sha256
+sha256	6079b08a8905ade5a9a2835ead8963ee10a855d8508a85efb7181eea2d310b77	haproxy-2.1.2.tar.gz
 # Locally computed:
 sha256	0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28	LICENSE
 sha256	5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a	doc/lgpl.txt
package/haproxy/haproxy.mk +0 -0
index 88247d8e63..5485954a1f 100644

package/haproxy/haproxy.mk line 8

Quoted 7 lines
package/haproxy/haproxy.mk +2 -2
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-HAPROXY_VERSION_MAJOR = 2.0
-HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).10
+HAPROXY_VERSION_MAJOR = 2.1
+HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).2

Sorry, I wasn't fast enough to reply to this before it was merged - But according to the website, the 2.0.x series is a LTS series, and 2.1.x isn't - So moving away from 2.0.x just before our new LTS series is perhaps not such a great idea?

See the table on https://www.haproxy.org/

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 2/2 package/haproxy: bump to version 2.1.2

Dear Peter,

Le lun. 3 f?vr. 2020 ? 23:27, Peter Korsgaard <[email protected]> a ?crit :

Quoted 29 lines
Quoted 28 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

---
 package/haproxy/haproxy.hash | 4 ++--
 package/haproxy/haproxy.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/haproxy/haproxy.hash +2 -2
index 87a29eeba1..7f03e88d43 100644
@@ -1,5 +1,5 @@
-# From: http://www.haproxy.org/download/2.0/src/haproxy-2.0.10.tar.gz.sha256
-sha256 1d38ab3dd45e930b209e922a360ee8c636103e21e5b5a2656d3795401316a4ea haproxy-2.0.10.tar.gz
+# From: http://www.haproxy.org/download/2.1/src/haproxy-2.1.2.tar.gz.sha256
+sha256      6079b08a8905ade5a9a2835ead8963ee10a855d8508a85efb7181eea2d310b77        haproxy-2.1.2.tar.gz
 # Locally computed:
 sha256      0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28        LICENSE
 sha256      5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a        doc/lgpl.txt
package/haproxy/haproxy.mk +0 -0
index 88247d8e63..5485954a1f 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
Quoted 9 lines

package/haproxy/haproxy.mk line 8

Quoted 4 lines
package/haproxy/haproxy.mk +2 -2
-HAPROXY_VERSION_MAJOR = 2.0
-HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).10
+HAPROXY_VERSION_MAJOR = 2.1
+HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).2

Sorry, I wasn't fast enough to reply to this before it was merged - But according to the website, the 2.0.x series is a LTS series, and 2.1.x isn't - So moving away from 2.0.x just before our new LTS series is perhaps not such a great idea?

Nope, indeed, we can revert and postpone this bump.

Quoted 5 lines

See the table on https://www.haproxy.org/

--
Bye, Peter Korsgaard

Best Regards,

Fabrice

#5 lore raw

PATCH 2/2 package/haproxy: bump to version 2.1.2

In reply to Peter Korsgaard
Quoted 12 lines

package/haproxy/haproxy.mk line 8

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

package/haproxy/haproxy.mk +2 -2
-HAPROXY_VERSION_MAJOR = 2.0
-HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).10
+HAPROXY_VERSION_MAJOR = 2.1
+HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).2

Sorry, I wasn't fast enough to reply to this before it was merged - But according to the website, the 2.0.x series is a LTS series, and 2.1.x isn't - So moving away from 2.0.x just before our new LTS series is perhaps not such a great idea?

Quoted 1 line

See the table on https://www.haproxy.org/

On the other hand, 2.1 is supposed to be supported until Q1 2021, so that might be good enough:

https://www.mail-archive.com/haproxy at formilux.org/msg35491.html

Signature · 1 line
Bye, Peter Korsgaard
#6 lore raw

PATCH 1/2 package/haproxy: install only binary

In reply to Fabrice Fontaine
Quoted 7 lines · On Mon, 3 Feb 2020 21:52:55 +0100 Fabrice Fontaine…

Use install-bin instead of install target to avoid installing doc and man pages

---
 package/haproxy/haproxy.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

doc and man pages get removed by target-finalize, so we're not really interested in doing "special" things to avoid their installation, even if admittedly in this case the "special" thing is pretty basic.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com