Commit Graph

163 Commits

Author SHA1 Message Date
Christian Lachner 4e3e37d072 haproxy: update to v2.6.8
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2023-01-28 09:47:56 +02:00
Toke Høiland-Jørgensen 17691a5a52 acme-acmesh: Provide a 'combined' certificate bundle as well
The haproxy hotplug script creates a 'combined' certificate bundle that
contains both the certificate chain and the private key. However, having a
daemon hotplug script write into CERT_DIR is not great; so let's provide
the bundle as part of the main acme framework, keeping it in $domain_dir
and just linking it into CERT_DIR. That way we can keep CERT_DIR as just a
collection of links for everything, that no consumers should need to write
into.

Also make sure to set the umask correctly so the combined file is not
world-readable (since it contains the private key).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-12-14 16:43:45 +01:00
Glen Huang 1890f35cfd haproxy: use .crt as extension for certificates
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-11-28 22:50:46 +08:00
Christian Lachner 398c403ae2 haproxy: Update HAProxy to v2.6.6
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-09-26 09:52:17 +03:00
Christian Lachner 2840abb0c0 haproxy: Update HAProxy to v2.6.4
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-08-31 13:34:37 -07:00
Christian Lachner 7e4ca70914 haproxy: Update HAProxy to v2.6.2
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-08-16 13:09:10 -07:00
Glen Huang e84f651453 acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-08-16 00:32:04 +02:00
Christian Lachner c571a146b4 haproxy: Update HAProxy to v2.6.1
- New major LTS release (https://www.mail-archive.com/haproxy@formilux.org/msg42371.html)
- Sadly, no QUIC/H3 support for now because the QuicTLS library - which is a fork of OpenSSL - would be needed. However, we do not have a package for that and I currently do not want to build and statically link it into the haproxy package
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-06-22 16:47:20 +03:00
Christian Lachner e69fe1f211 haproxy: Update HAProxy to v2.4.17
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-05-25 17:05:02 -07:00
Christian Lachner f906a32cc2 haproxy: Update HAProxy to v2.4.16
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-05-13 13:15:02 +03:00
Christian Lachner ff90e4d479 haproxy: Update HAProxy to v2.4.15
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-03-16 19:45:52 -07:00
Josef Schlehofer 487cc8fb26
haproxy: add conflict to packages with SSL or without SSL support
Both packages provide the same packages and should conflict to each
other.

Fixes:
```
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /usr/sbin/haproxy
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /etc/haproxy.cfg
Packages 'haproxy' and 'haproxy-nossl' do not conflict while providing same file: /etc/init.d/haproxy
```

They should not be installed side by side.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-06 13:06:44 +01:00
Josef Schlehofer cedc95c862
haproxy: Makefile polishing
- There should be shorter TITLE in Package/haproxy/Default
otherwise it is not shown
- No need to call Build/Prepare/Default
- Remove twice TITLE in non-SSL variant
- Make conffiles more clear
- Remove empty menu for halog

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-06 13:06:39 +01:00
Christian Lachner ff56783b1c haproxy: Update HAProxy to v2.4.14
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-03-02 16:35:24 -08:00
Christian Lachner c48a375d9e haproxy: Update HAProxy to v2.4.13
- Update haproxy download URL and hash
- Updated upstream patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-02-17 19:29:30 -08:00
Christian Lachner 8891db4a91 haproxy: Update HAProxy to v2.4.10
- Update haproxy download URL and hash
- Updated upstream patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2022-01-09 13:50:49 -08:00
Christian Lachner 7b7366b1d9 haproxy: Update HAProxy to v2.4.9
- Update haproxy download URL and hash
- Switched over to using USE_LIBATOMIC in favor of -latomic
- Added a patch which fixes nossl builds

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-11-26 16:07:09 +02:00
Christian Lachner 7b422274fa haproxy: Update HAProxy to v2.4.7
- Update haproxy download URL and hash
- Make build-target and parameters dependant on configured c-library
- Removed duplicate build-parameters

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-10-08 09:48:19 -07:00
Christian Lachner 76cb3f09fd haproxy: Update HAProxy to v2.4.4
- This update fixes CVE-2021-40346; see: https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/
- Update haproxy download URL and hash
- Make use of $(AUTORELEASE) for PKG_RELEASE

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-09-08 07:32:53 -07:00
Christian Lachner 59d2e519e6 haproxy: Update HAProxy to v2.4.3
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-08-31 09:08:08 +02:00
Christian Lachner efaa94bfb4 haproxy: Update HAProxy to v2.4.1
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-06-19 09:08:11 +02:00
Christian Lachner 5212a890c6 haproxy: Update HAProxy to v2.4.0
- New upstream major release with tons of new features and LTS (see: https://www.haproxy.com/blog/announcing-haproxy-2-4/)
- Update haproxy download URL and hash
- Activate promtheus exporter support the new way (using USE_PROMEX=1)
- Cleaned up haproxy-specific CFLAGS
- Changed the halog build to make use of the new Makefile target (admin/halog/halog)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-05-18 12:28:23 +03:00
Christian Lachner 8beaf35e85 haproxy: Update HAProxy to v2.2.14
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-05-01 17:23:56 +03:00
Christian Lachner b94645c68a haproxy: Update HAProxy to v2.2.13
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-04-06 12:56:05 +03:00
Christian Lachner 7bfa4aaa66 haproxy: Update HAProxy to v2.2.11
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-03-19 18:13:39 +01:00
Christian Lachner 1e09bbba68 haproxy: Update HAProxy to v2.2.10
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-03-13 09:37:49 +01:00
Christian Lachner f4dd722c3f haproxy: Update HAProxy to v2.2.9
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-02-07 12:38:57 +02:00
Christian Lachner 066f2049ba haproxy: Update HAProxy to v2.2.8
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-01-17 22:50:41 +02:00
Christian Lachner f7982b7e99 haproxy: Update HAProxy to v2.2.7
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2021-01-10 22:48:21 +02:00
Christian Lachner 5e7a9a32bd haproxy: Update HAProxy to v2.2.6
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-12-02 13:07:50 +02:00
Christian Lachner 92ffa4bf32 haproxy: Update HAProxy to v2.2.5
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-11-07 15:37:49 +01:00
Florian Eckert f2820aa328 haproxy: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Christian Lachner 974100031d haproxy: Update HAProxy to v2.2.4
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-10-02 11:50:19 +02:00
Christian Lachner 790c18e379 haproxy: Update HAProxy to v2.2.3
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-09-09 08:52:21 +02:00
Christian Lachner 4c2edf71c2 haproxy: Update HAProxy to v2.2.2
- Update haproxy download URL and hash
- This new version also adds LUA 5.4 support

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-07-31 18:49:35 +02:00
Christian Lachner 78d99efb9b haproxy: Update HAProxy to v2.2.1
- New major version (LTS release)
- Update haproxy download URL and hash
- Remove obsolete dladdr1-dependency-patch as it has been upstreamed
- USE_REGPARM is obsolete and therefore removed from our Makefile

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-07-27 21:32:08 +02:00
Christian Lachner 7aac79e041 haproxy: Update HAProxy to v2.1.7
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-06-10 15:02:16 +02:00
Christian Lachner 169a431273 haproxy: Update HAProxy to v2.1.5
- Update haproxy download URL and hash
- This version introduces backtrace-support via backtrace(), however, it must be disabled because neither MUSL nor UCLIBC support it (build fails because of missing execinfo.h)
- Our previous UCLIBC patch is now obsolete and has been removed. We now only disable libcrypt support.
- A new patch was backported from the haproxy dev-branch which fixes an IFDEF which should only allow GLIBC to use dladdr1 and make builds fall back to dladdr when using other c-libs. The previous logic was bogus and broke the build on UCLIBC.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-05-31 20:32:24 +02:00
Christian Lachner b5bfef4e3a haproxy: Update HAProxy to v2.1.4
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.1.4.html)
- This fixes CVE-2020-11100 (http://git.haproxy.org/?p=haproxy-2.1.git;a=commit;h=f17f86304f187b0f10ca6a8d46346afd9851a543)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-04-03 08:02:50 +02:00
Christian Lachner 4824685d08 haproxy: Update HAProxy to v2.1.3
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.1.3.html)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-02-13 10:05:17 +01:00
Christian Lachner fdaa55a918 haproxy: Update HAProxy to v2.1.2
- Major version jump from v2.0 to v2.1
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.1.2.html)
- Stop building LUA 5.3 in the haproxy build-process and use liblua5.3 as a dependency instead

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-02-03 07:54:31 +01:00
Christian Lachner 3d7b8647dc haproxy: Update HAProxy to v2.0.12
- Update haproxy download URL and hash
- Remove @neheb's obsolete-ssl patch as it was upstreamed, see:
  (http://git.haproxy.org/?p=haproxy-2.0.git;a=commit;h=6445d988ec8def9d0f80de0eda9c5763d39facc1)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-12-22 10:18:07 +01:00
Christian Lachner b5a3b7ca86 haproxy: Update HAProxy to v2.0.11
- Update haproxy download URL and hash
- Remove obsolete patches

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-12-15 13:47:37 +01:00
Christian Lachner 19623a4ef9 haproxy: Update HAProxy to v2.0.10
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.10.html)
- This fixes CVE-2019-19330 (See: https://nvd.nist.gov/vuln/detail/CVE-2019-19330)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-29 12:25:21 +01:00
Christian Lachner 03a7a01f4e haproxy: Update HAProxy to v2.0.9
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-17 10:24:27 +01:00
Christian Lachner 9630b04433 haproxy: Rework hotplug script for HAProxy
- Migrated init-script to procd.
- Removed the old hotplug script as it is unnecessary and
  caused long boot-times for r7800 and possibly others.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-08 14:38:31 +01:00
Christian Lachner d1a86e9f53 haproxy: Update patches for HAProxy v2.0.8
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.8.html)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-02 12:11:07 +01:00
Christian Lachner 38a4100d04 haproxy: Update HAProxy to v2.0.8
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-10-23 14:48:09 +02:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Christian Lachner 5d59ddd923 haproxy: Update HAProxy to v2.0.7
- Update haproxy download URL and hash
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.7.html)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-10-05 13:59:57 +02:00