* [PR PATCH] darkhttpd: update to 1.14.
@ 2023-02-05 7:36 kruceter
2023-02-05 9:22 ` [PR REVIEW] " classabbyamp
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: kruceter @ 2023-02-05 7:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
There is a new pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages darkhttpd
https://github.com/void-linux/void-packages/pull/42087
darkhttpd: update to 1.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42087.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkhttpd-42087.patch --]
[-- Type: text/x-diff, Size: 2446 bytes --]
From 962b969eeb96c4b7a7475fef6e421fd49cce55a0 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 10:33:31 +0300
Subject: [PATCH] darkhttpd: update to 1.14.
---
srcpkgs/darkhttpd/files/darkhttpd/run | 1 +
srcpkgs/darkhttpd/template | 18 ++++++++----------
srcpkgs/darkhttpd/update | 1 -
3 files changed, 9 insertions(+), 11 deletions(-)
delete mode 100644 srcpkgs/darkhttpd/update
diff --git a/srcpkgs/darkhttpd/files/darkhttpd/run b/srcpkgs/darkhttpd/files/darkhttpd/run
index 465456978b30..5ca2a114e7f2 100755
--- a/srcpkgs/darkhttpd/files/darkhttpd/run
+++ b/srcpkgs/darkhttpd/files/darkhttpd/run
@@ -1,4 +1,5 @@
#!/bin/sh
[ -r conf ] && . ./conf
+[ -d "/var/log/darkhttpd" ] || mkdir /var/log/darkhttpd
: ${WWWDIR:=/srv/www/darkhttpd}
exec darkhttpd "${WWWDIR}" --chroot --uid _darkhttpd --gid _darkhttpd $OPTS 2>&1 >>/var/log/darkhttpd/darkhttpd.log
diff --git a/srcpkgs/darkhttpd/template b/srcpkgs/darkhttpd/template
index 4a07f0c0ae51..a29ea6e93e50 100644
--- a/srcpkgs/darkhttpd/template
+++ b/srcpkgs/darkhttpd/template
@@ -1,27 +1,25 @@
# Template file for 'darkhttpd'
pkgname=darkhttpd
-version=1.13
+version=1.14
revision=1
short_desc="Small and secure static webserver"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="ISC"
homepage="https://unix4lyfe.org/darkhttpd/"
distfiles="https://github.com/emikulic/darkhttpd/archive/v${version}.tar.gz"
-checksum=1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2
-CFLAGS="$CFLAGS $LDFLAGS"
+checksum=e063de9efa5635260c8def00a4d41ec6145226a492d53fa1dac436967670d195
# Create darkhttpd system user/group
system_accounts="_darkhttpd"
-make_dirs="/srv/www/${pkgname} 0755 _${pkgname} _${pkgname}
- /var/log/${pkgname} 0755 _${pkgname} _${pkgname}"
+make_dirs="/srv/www/darkhttpd 0755 _darkhttpd _darkhttpd
+ /var/log/darkhttpd 0755 _darkhttpd _darkhttpd"
do_build() {
- ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
+ ${CC} ${CFLAGS} ${LDFLAGS} darkhttpd.c -o darkhttpd
}
do_install() {
- vsv ${pkgname}
- vbin ${pkgname}
- sed -n '0,/^$/p' darkhttpd.c > LICENSE
- vlicense LICENSE
+ vsv darkhttpd
+ vbin darkhttpd
+ vlicense COPYING LICENSE
}
diff --git a/srcpkgs/darkhttpd/update b/srcpkgs/darkhttpd/update
deleted file mode 100644
index 2c906cdbfdeb..000000000000
--- a/srcpkgs/darkhttpd/update
+++ /dev/null
@@ -1 +0,0 @@
-site=https://unix4lyfe.org/darkhttpd/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
@ 2023-02-05 9:22 ` classabbyamp
2023-02-05 9:26 ` kruceter
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-02-05 9:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/42087#discussion_r1096650357
Comment:
why is this needed if it's already in make_dirs?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR REVIEW] darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
2023-02-05 9:22 ` [PR REVIEW] " classabbyamp
@ 2023-02-05 9:26 ` kruceter
2023-02-05 9:27 ` [PR PATCH] [Updated] " kruceter
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-02-05 9:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
New review comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/42087#discussion_r1096651107
Comment:
Good grief you mentioned make_dirs because I have not noticed it there.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
2023-02-05 9:22 ` [PR REVIEW] " classabbyamp
2023-02-05 9:26 ` kruceter
@ 2023-02-05 9:27 ` kruceter
2023-02-07 10:04 ` icp1994
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-02-05 9:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages darkhttpd
https://github.com/void-linux/void-packages/pull/42087
darkhttpd: update to 1.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42087.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkhttpd-42087.patch --]
[-- Type: text/x-diff, Size: 1900 bytes --]
From 1bd219706ce3d78bcb00d4b6e5e234c1a55be14f Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 10:33:31 +0300
Subject: [PATCH] darkhttpd: update to 1.14.
---
srcpkgs/darkhttpd/template | 18 ++++++++----------
srcpkgs/darkhttpd/update | 1 -
2 files changed, 8 insertions(+), 11 deletions(-)
delete mode 100644 srcpkgs/darkhttpd/update
diff --git a/srcpkgs/darkhttpd/template b/srcpkgs/darkhttpd/template
index 4a07f0c0ae51..a29ea6e93e50 100644
--- a/srcpkgs/darkhttpd/template
+++ b/srcpkgs/darkhttpd/template
@@ -1,27 +1,25 @@
# Template file for 'darkhttpd'
pkgname=darkhttpd
-version=1.13
+version=1.14
revision=1
short_desc="Small and secure static webserver"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="ISC"
homepage="https://unix4lyfe.org/darkhttpd/"
distfiles="https://github.com/emikulic/darkhttpd/archive/v${version}.tar.gz"
-checksum=1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2
-CFLAGS="$CFLAGS $LDFLAGS"
+checksum=e063de9efa5635260c8def00a4d41ec6145226a492d53fa1dac436967670d195
# Create darkhttpd system user/group
system_accounts="_darkhttpd"
-make_dirs="/srv/www/${pkgname} 0755 _${pkgname} _${pkgname}
- /var/log/${pkgname} 0755 _${pkgname} _${pkgname}"
+make_dirs="/srv/www/darkhttpd 0755 _darkhttpd _darkhttpd
+ /var/log/darkhttpd 0755 _darkhttpd _darkhttpd"
do_build() {
- ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
+ ${CC} ${CFLAGS} ${LDFLAGS} darkhttpd.c -o darkhttpd
}
do_install() {
- vsv ${pkgname}
- vbin ${pkgname}
- sed -n '0,/^$/p' darkhttpd.c > LICENSE
- vlicense LICENSE
+ vsv darkhttpd
+ vbin darkhttpd
+ vlicense COPYING LICENSE
}
diff --git a/srcpkgs/darkhttpd/update b/srcpkgs/darkhttpd/update
deleted file mode 100644
index 2c906cdbfdeb..000000000000
--- a/srcpkgs/darkhttpd/update
+++ /dev/null
@@ -1 +0,0 @@
-site=https://unix4lyfe.org/darkhttpd/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
` (2 preceding siblings ...)
2023-02-05 9:27 ` [PR PATCH] [Updated] " kruceter
@ 2023-02-07 10:04 ` icp1994
2023-02-07 10:07 ` [PR PATCH] [Updated] " kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
5 siblings, 0 replies; 7+ messages in thread
From: icp1994 @ 2023-02-07 10:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
New comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/42087#issuecomment-1420506224
Comment:
/archive/refs/tags
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
` (3 preceding siblings ...)
2023-02-07 10:04 ` icp1994
@ 2023-02-07 10:07 ` kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-02-07 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
There is an updated pull request by kruceter against master on the void-packages repository
https://github.com/kruceter/void-packages darkhttpd
https://github.com/void-linux/void-packages/pull/42087
darkhttpd: update to 1.14.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/42087.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-darkhttpd-42087.patch --]
[-- Type: text/x-diff, Size: 1990 bytes --]
From ab006a1c3118e226a27c11c8ef72e4f8a37eb721 Mon Sep 17 00:00:00 2001
From: Krul Ceter <kruceter@proton.me>
Date: Sun, 5 Feb 2023 10:33:31 +0300
Subject: [PATCH] darkhttpd: update to 1.14.
---
srcpkgs/darkhttpd/template | 20 +++++++++-----------
srcpkgs/darkhttpd/update | 1 -
2 files changed, 9 insertions(+), 12 deletions(-)
delete mode 100644 srcpkgs/darkhttpd/update
diff --git a/srcpkgs/darkhttpd/template b/srcpkgs/darkhttpd/template
index 4a07f0c0ae51..9168438d17c7 100644
--- a/srcpkgs/darkhttpd/template
+++ b/srcpkgs/darkhttpd/template
@@ -1,27 +1,25 @@
# Template file for 'darkhttpd'
pkgname=darkhttpd
-version=1.13
+version=1.14
revision=1
short_desc="Small and secure static webserver"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="ISC"
homepage="https://unix4lyfe.org/darkhttpd/"
-distfiles="https://github.com/emikulic/darkhttpd/archive/v${version}.tar.gz"
-checksum=1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2
-CFLAGS="$CFLAGS $LDFLAGS"
+distfiles="https://github.com/emikulic/darkhttpd/archive/refs/tags/v${version}.tar.gz"
+checksum=e063de9efa5635260c8def00a4d41ec6145226a492d53fa1dac436967670d195
# Create darkhttpd system user/group
system_accounts="_darkhttpd"
-make_dirs="/srv/www/${pkgname} 0755 _${pkgname} _${pkgname}
- /var/log/${pkgname} 0755 _${pkgname} _${pkgname}"
+make_dirs="/srv/www/darkhttpd 0755 _darkhttpd _darkhttpd
+ /var/log/darkhttpd 0755 _darkhttpd _darkhttpd"
do_build() {
- ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${pkgname}.c -o ${pkgname}
+ ${CC} ${CFLAGS} ${LDFLAGS} darkhttpd.c -o darkhttpd
}
do_install() {
- vsv ${pkgname}
- vbin ${pkgname}
- sed -n '0,/^$/p' darkhttpd.c > LICENSE
- vlicense LICENSE
+ vsv darkhttpd
+ vbin darkhttpd
+ vlicense COPYING LICENSE
}
diff --git a/srcpkgs/darkhttpd/update b/srcpkgs/darkhttpd/update
deleted file mode 100644
index 2c906cdbfdeb..000000000000
--- a/srcpkgs/darkhttpd/update
+++ /dev/null
@@ -1 +0,0 @@
-site=https://unix4lyfe.org/darkhttpd/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: darkhttpd: update to 1.14.
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
` (4 preceding siblings ...)
2023-02-07 10:07 ` [PR PATCH] [Updated] " kruceter
@ 2023-02-08 23:53 ` kruceter
5 siblings, 0 replies; 7+ messages in thread
From: kruceter @ 2023-02-08 23:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]
There's a closed pull request on the void-packages repository
darkhttpd: update to 1.14.
https://github.com/void-linux/void-packages/pull/42087
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-02-08 23:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-05 7:36 [PR PATCH] darkhttpd: update to 1.14 kruceter
2023-02-05 9:22 ` [PR REVIEW] " classabbyamp
2023-02-05 9:26 ` kruceter
2023-02-05 9:27 ` [PR PATCH] [Updated] " kruceter
2023-02-07 10:04 ` icp1994
2023-02-07 10:07 ` [PR PATCH] [Updated] " kruceter
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter
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).