Github messages for voidlinux
 help / color / mirror / Atom feed
From: kruceter <kruceter@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] darkhttpd: update to 1.14.
Date: Tue, 07 Feb 2023 11:07:07 +0100	[thread overview]
Message-ID: <20230207100707.81jychYyAbhd9PqNnl3hfca4JHk9lthwUCQFYH5uZZw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42087@inbox.vuxu.org>

[-- 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/

  parent reply	other threads:[~2023-02-07 10:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05  7:36 [PR PATCH] " 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 ` kruceter [this message]
2023-02-08 23:53 ` [PR PATCH] [Closed]: " kruceter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230207100707.81jychYyAbhd9PqNnl3hfca4JHk9lthwUCQFYH5uZZw@z \
    --to=kruceter@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).