Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] lighttpd: update to 1.4.60
@ 2021-10-04 23:33 gstrauss
  2021-10-04 23:40 ` [PR PATCH] [Updated] " gstrauss
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gstrauss @ 2021-10-04 23:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

There is a new pull request by gstrauss against master on the void-packages repository

https://github.com/gstrauss/void-packages lighttpd-1.4.60
https://github.com/void-linux/void-packages/pull/33330

lighttpd: update to 1.4.60
lighttpd: update to 1.4.60

remove dependency on libev;
  lighttpd has used epoll on Linux for a long time

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

A patch file from https://github.com/void-linux/void-packages/pull/33330.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lighttpd-1.4.60-33330.patch --]
[-- Type: text/x-diff, Size: 3241 bytes --]

From ce0228b16b9b20bed11df33a4d329d114356cfa6 Mon Sep 17 00:00:00 2001
From: Glenn Strauss <gstrauss@gluelogic.com>
Date: Mon, 4 Oct 2021 19:30:03 -0400
Subject: [PATCH] lighttpd: update to 1.4.60

remove dependency on libev;
  lighttpd has used epoll on Linux for a long time
---
 srcpkgs/lighttpd/patches/020-meson-zstd.patch | 29 -------------------
 srcpkgs/lighttpd/template                     | 12 ++++----
 2 files changed, 6 insertions(+), 35 deletions(-)
 delete mode 100644 srcpkgs/lighttpd/patches/020-meson-zstd.patch

diff --git a/srcpkgs/lighttpd/patches/020-meson-zstd.patch b/srcpkgs/lighttpd/patches/020-meson-zstd.patch
deleted file mode 100644
index 647bf7f98b56..000000000000
--- a/srcpkgs/lighttpd/patches/020-meson-zstd.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From a737572aa4b7a50fd9ac3f54245e40fd5cd2609d Mon Sep 17 00:00:00 2001
-From: Glenn Strauss <gstrauss@gluelogic.com>
-Date: Wed, 3 Feb 2021 00:35:34 -0500
-Subject: [PATCH] [meson] add with_zstd to meson_options.txt
-
-Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
----
- meson_options.txt | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git meson_options.txt meson_options.txt
-index 51bea44d..f6687159 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -148,6 +148,11 @@ option('with_zlib',
- 	value: true,
- 	description: 'with deflate-support for mod_deflate [default: on]',
- )
-+option('with_zstd',
-+	type: 'boolean',
-+	value: false,
-+	description: 'with zstd-support for mod_deflate [default: off]',
-+)
- 
- option('build_extra_warnings',
- 	type: 'boolean',
--- 
-2.29.2
-
diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template
index 4891e13d3d63..18e5fced85a3 100644
--- a/srcpkgs/lighttpd/template
+++ b/srcpkgs/lighttpd/template
@@ -1,18 +1,18 @@
 # Template file for 'lighttpd'
 pkgname=lighttpd
-version=1.4.59
-revision=2
+version=1.4.60
+revision=1
 build_style=meson
 configure_args="-Dwith_brotli=false -Dwith_bzip=false
  -Dwith_fam=false -Dwith_gdbm=true
- -Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=true
+ -Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=false
  -Dwith_libunwind=false -Dwith_lua=true -Dwith_memcached=true
  -Dwith_mysql=false -Dwith_openssl=true -Dwith_pcre=true -Dwith_pgsql=false
  -Dwith_sasl=false -Dwith_webdav_props=true -Dwith_webdav_locks=true
- -Dwith_xattr=true -Dwith_zlib=true -Dwith_zstd=false
+ -Dwith_xattr=true -Dwith_zlib=true -Dwith_zstd=false -Dwith_dbi=false
  -Dmoduledir=lib/lighttpd/modules"
 hostmakedepends="pkg-config"
-makedepends="gdbm-devel libev-devel libmemcached-devel
+makedepends="gdbm-devel libmemcached-devel
  libxml2-devel lua53-devel mit-krb5-devel pcre-devel sqlite-devel"
 checkdepends="perl"
 short_desc="Secure, fast, compliant and very flexible web-server"
@@ -20,7 +20,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://lighttpd.net"
 distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
-checksum=fb953db273daef08edb6e202556cae8a3d07eed6081c96bd9903db957d1084d5
+checksum=4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0
 
 conf_files="/etc/lighttpd/lighttpd.conf"
 system_accounts="_lighttpd"

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

* Re: [PR PATCH] [Updated] lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
@ 2021-10-04 23:40 ` gstrauss
  2021-10-08 13:36 ` [PR REVIEW] " ericonr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gstrauss @ 2021-10-04 23:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

There is an updated pull request by gstrauss against master on the void-packages repository

https://github.com/gstrauss/void-packages lighttpd-1.4.60
https://github.com/void-linux/void-packages/pull/33330

lighttpd: update to 1.4.60
lighttpd: update to 1.4.60

remove dependency on libev;
  lighttpd has used epoll on Linux for a long time

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

A patch file from https://github.com/void-linux/void-packages/pull/33330.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lighttpd-1.4.60-33330.patch --]
[-- Type: text/x-diff, Size: 4349 bytes --]

From 0f4edf70c6d274d15dc2d1849b9932fd89e1e9e9 Mon Sep 17 00:00:00 2001
From: Glenn Strauss <gstrauss@gluelogic.com>
Date: Mon, 4 Oct 2021 19:30:03 -0400
Subject: [PATCH] lighttpd: update to 1.4.60

remove dependency on libev;
  lighttpd has used epoll on Linux for a long time
---
 srcpkgs/lighttpd/patches/020-decls.patch      | 34 +++++++++++++++++++
 srcpkgs/lighttpd/patches/020-meson-zstd.patch | 29 ----------------
 srcpkgs/lighttpd/template                     | 12 +++----
 3 files changed, 40 insertions(+), 35 deletions(-)
 create mode 100644 srcpkgs/lighttpd/patches/020-decls.patch
 delete mode 100644 srcpkgs/lighttpd/patches/020-meson-zstd.patch

diff --git a/srcpkgs/lighttpd/patches/020-decls.patch b/srcpkgs/lighttpd/patches/020-decls.patch
new file mode 100644
index 000000000000..c1d15cfb8737
--- /dev/null
+++ b/srcpkgs/lighttpd/patches/020-decls.patch
@@ -0,0 +1,34 @@
+From cf4dfbe15ef8ead3a7eda974af7d804d447f00db Mon Sep 17 00:00:00 2001
+From: Glenn Strauss <gstrauss@gluelogic.com>
+Date: Mon, 4 Oct 2021 09:51:22 -0400
+Subject: [PATCH] [core] define __BEGIN_DECLS, __END_DECLS if needed
+
+---
+ src/first.h | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+--- a/src/first.h
++++ b/src/first.h
+@@ -39,6 +39,22 @@
+ #include <sys/types.h>
+ #include <stddef.h>
+ 
++#ifndef __BEGIN_DECLS
++#ifdef __cplusplus
++#define __BEGIN_DECLS extern "C" {
++#else
++#define __BEGIN_DECLS
++#endif
++#endif
++
++#ifndef __END_DECLS
++#ifdef __cplusplus
++#define __END_DECLS }
++#else
++#define __END_DECLS
++#endif
++#endif
++
+ #if defined HAVE_STDINT_H
+ # include <stdint.h>
+ #elif defined HAVE_INTTYPES_H
diff --git a/srcpkgs/lighttpd/patches/020-meson-zstd.patch b/srcpkgs/lighttpd/patches/020-meson-zstd.patch
deleted file mode 100644
index 647bf7f98b56..000000000000
--- a/srcpkgs/lighttpd/patches/020-meson-zstd.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From a737572aa4b7a50fd9ac3f54245e40fd5cd2609d Mon Sep 17 00:00:00 2001
-From: Glenn Strauss <gstrauss@gluelogic.com>
-Date: Wed, 3 Feb 2021 00:35:34 -0500
-Subject: [PATCH] [meson] add with_zstd to meson_options.txt
-
-Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
----
- meson_options.txt | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git meson_options.txt meson_options.txt
-index 51bea44d..f6687159 100644
---- a/meson_options.txt
-+++ b/meson_options.txt
-@@ -148,6 +148,11 @@ option('with_zlib',
- 	value: true,
- 	description: 'with deflate-support for mod_deflate [default: on]',
- )
-+option('with_zstd',
-+	type: 'boolean',
-+	value: false,
-+	description: 'with zstd-support for mod_deflate [default: off]',
-+)
- 
- option('build_extra_warnings',
- 	type: 'boolean',
--- 
-2.29.2
-
diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template
index 4891e13d3d63..18e5fced85a3 100644
--- a/srcpkgs/lighttpd/template
+++ b/srcpkgs/lighttpd/template
@@ -1,18 +1,18 @@
 # Template file for 'lighttpd'
 pkgname=lighttpd
-version=1.4.59
-revision=2
+version=1.4.60
+revision=1
 build_style=meson
 configure_args="-Dwith_brotli=false -Dwith_bzip=false
  -Dwith_fam=false -Dwith_gdbm=true
- -Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=true
+ -Dwith_geoip=false -Dwith_krb5=true -Dwith_ldap=true -Dwith_libev=false
  -Dwith_libunwind=false -Dwith_lua=true -Dwith_memcached=true
  -Dwith_mysql=false -Dwith_openssl=true -Dwith_pcre=true -Dwith_pgsql=false
  -Dwith_sasl=false -Dwith_webdav_props=true -Dwith_webdav_locks=true
- -Dwith_xattr=true -Dwith_zlib=true -Dwith_zstd=false
+ -Dwith_xattr=true -Dwith_zlib=true -Dwith_zstd=false -Dwith_dbi=false
  -Dmoduledir=lib/lighttpd/modules"
 hostmakedepends="pkg-config"
-makedepends="gdbm-devel libev-devel libmemcached-devel
+makedepends="gdbm-devel libmemcached-devel
  libxml2-devel lua53-devel mit-krb5-devel pcre-devel sqlite-devel"
 checkdepends="perl"
 short_desc="Secure, fast, compliant and very flexible web-server"
@@ -20,7 +20,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://lighttpd.net"
 distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
-checksum=fb953db273daef08edb6e202556cae8a3d07eed6081c96bd9903db957d1084d5
+checksum=4bb1dd859e541a3131e5be101557d2e1195b4129d3a849a3a6fbd21fe1c946f0
 
 conf_files="/etc/lighttpd/lighttpd.conf"
 system_accounts="_lighttpd"

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

* Re: [PR REVIEW] lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
  2021-10-04 23:40 ` [PR PATCH] [Updated] " gstrauss
@ 2021-10-08 13:36 ` ericonr
  2021-10-08 14:23 ` gstrauss
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-10-08 13:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33330#discussion_r725018499

Comment:
The package depends on `musl-legacy-compat`, so `#include <sys/cdefs.h>` would also work.

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

* Re: [PR REVIEW] lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
  2021-10-04 23:40 ` [PR PATCH] [Updated] " gstrauss
  2021-10-08 13:36 ` [PR REVIEW] " ericonr
@ 2021-10-08 14:23 ` gstrauss
  2021-10-08 14:27 ` ericonr
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gstrauss @ 2021-10-08 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

New review comment by gstrauss on void-packages repository

https://github.com/void-linux/void-packages/pull/33330#discussion_r725056938

Comment:
Interesting. `sys/cdefs.h` should already by included from `sys/types.h` or `stddef.h`.  `sys/types.h` includes `features.h` which includes `sys/defs.h`.  In any case, I am including this in lighttpd for portability since Void is not the only distro using musl

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

* Re: [PR REVIEW] lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
                   ` (2 preceding siblings ...)
  2021-10-08 14:23 ` gstrauss
@ 2021-10-08 14:27 ` ericonr
  2021-10-08 16:47 ` gstrauss
  2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-10-08 14:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/33330#discussion_r725060227

Comment:
The musl headers themselves don't include `<sys/cdefs.h>`, because it isn't part of musl. It's just something we use to make our lives easier. As long as the patch goes upstream, I'm ok with this solution then.

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

* Re: [PR REVIEW] lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
                   ` (3 preceding siblings ...)
  2021-10-08 14:27 ` ericonr
@ 2021-10-08 16:47 ` gstrauss
  2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox
  5 siblings, 0 replies; 7+ messages in thread
From: gstrauss @ 2021-10-08 16:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

New review comment by gstrauss on void-packages repository

https://github.com/void-linux/void-packages/pull/33330#discussion_r725163113

Comment:
upstream is from where this patch came: https://git.lighttpd.net/lighttpd/lighttpd1.4/commit/cf4dfbe15ef8ead3a7eda974af7d804d447f00db

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

* Re: [PR PATCH] [Merged]: lighttpd: update to 1.4.60
  2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
                   ` (4 preceding siblings ...)
  2021-10-08 16:47 ` gstrauss
@ 2021-10-08 17:50 ` Gottox
  5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2021-10-08 17:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

There's a merged pull request on the void-packages repository

lighttpd: update to 1.4.60
https://github.com/void-linux/void-packages/pull/33330

Description:
lighttpd: update to 1.4.60

remove dependency on libev;
  lighttpd has used epoll on Linux for a long time

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

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

end of thread, other threads:[~2021-10-08 17:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 23:33 [PR PATCH] lighttpd: update to 1.4.60 gstrauss
2021-10-04 23:40 ` [PR PATCH] [Updated] " gstrauss
2021-10-08 13:36 ` [PR REVIEW] " ericonr
2021-10-08 14:23 ` gstrauss
2021-10-08 14:27 ` ericonr
2021-10-08 16:47 ` gstrauss
2021-10-08 17:50 ` [PR PATCH] [Merged]: " Gottox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).