Github messages for voidlinux
 help / color / mirror / Atom feed
From: bugcrazy <bugcrazy@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: delphinusdnsd-1.5.3
Date: Wed, 12 Apr 2023 09:31:42 +0200	[thread overview]
Message-ID: <20230412073142.oKI7lqlFHPa52fCEhKyvwaVYbWr-VFW_A7HILhGGuWs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38291@inbox.vuxu.org>

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

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

https://github.com/bugcrazy/void-packages patch-20
https://github.com/void-linux/void-packages/pull/38291

New package: delphinusdnsd-1.5.3
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/38291.patch is attached

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

From de4a19ea6085d34158e999b8a8e1c219d14a4929 Mon Sep 17 00:00:00 2001
From: bugcrazy <marcoaureliopc@gmail.com>
Date: Wed, 12 Apr 2023 04:26:19 -0300
Subject: [PATCH] New package: delphinusdnsd-1.7.2

---
 srcpkgs/delphinusdnsd/patches/fix_cc.patch |  7 ++++
 srcpkgs/delphinusdnsd/template             | 39 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/delphinusdnsd/patches/fix_cc.patch
 create mode 100644 srcpkgs/delphinusdnsd/template

diff --git a/srcpkgs/delphinusdnsd/patches/fix_cc.patch b/srcpkgs/delphinusdnsd/patches/fix_cc.patch
new file mode 100644
index 000000000000..a2c44a435462
--- /dev/null
+++ b/srcpkgs/delphinusdnsd/patches/fix_cc.patch
@@ -0,0 +1,7 @@
+--- Makefile.linux	2022-09-25 00:37:17.898172984 -0300
++++ Makefile.linux	2022-09-25 00:37:07.068172740 -0300
+@@ -1,4 +1,3 @@
+-CC=gcc
+ #CFLAGS=-DDEBUG
+ CFLAGS=-D_XOPEN_SOURCE -D_DEFAULT_SOURCE -Wno-shift-count-overflow
+ LDADD= -lresolv -lcrypto -lrt -lbsd
diff --git a/srcpkgs/delphinusdnsd/template b/srcpkgs/delphinusdnsd/template
new file mode 100644
index 000000000000..0ebbcc9bfe4a
--- /dev/null
+++ b/srcpkgs/delphinusdnsd/template
@@ -0,0 +1,39 @@
+# Template file for 'delphinusdnsd'
+pkgname=delphinusdnsd
+version=1.7.2
+revision=1
+_delphinusdnsVersion=1_7_2
+build_style=configure
+configure_script="./configure"
+conf_files="/etc/delphinusdns/delphinusdns.conf"
+hostmakedepends="mk-configure bison"
+makedepends="openssl-devel libbsd-devel libmd-devel libtls-devel"
+short_desc="Delphinusdns is a small authoritative nameserver"
+maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://delphinusdns.org"
+distfiles="https://github.com/delphinusdns/${pkgname}/archive/RELEASE_${_delphinusdnsVersion}.tar.gz"
+checksum=58f72b3af648b2a96ddf26022d4930eae7ff883986853a3183619ce394b57671
+patch_args="-Np0"
+
+system_accounts="_ddd"
+
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+	makedepends+=" musl-legacy-compat"
+fi
+
+do_install() {
+	vbin dddctl/dddctl
+	vbin delphinusdnsd/delphinusdnsd
+	vmkdir etc/delphinusdns/
+	vmkdir usr/share/examples/delphinusdnsd
+	mv examples/Master/* ${DESTDIR}/usr/share/examples/delphinusdnsd
+	mv examples/Replicant/* ${DESTDIR}/usr/share/examples/delphinusdnsd
+	chmod 0644 ${DESTDIR}/usr/share/examples/delphinusdnsd/*
+	vinstall delphinusdns.conf 0644 etc/delphinusdns/
+	vman delphinusdns.conf.5
+	vman delphinusdnsd.8
+	vman dddctl.8
+	sed -n '2,25p' < ddd-dns.h > LICENSE.BSD-3-Clause
+	vlicense LICENSE.BSD-3-Clause
+}

  parent reply	other threads:[~2023-04-12  7:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  0:27 [PR PATCH] " bugcrazy
2022-07-27  1:56 ` [PR PATCH] [Updated] " bugcrazy
2022-09-25  4:17 ` bugcrazy
2022-09-25 15:45 ` bugcrazy
2022-12-25  1:58 ` github-actions
2022-12-25 16:31 ` [PR PATCH] [Updated] " bugcrazy
2022-12-27 15:24 ` bugcrazy
2023-03-28  1:55 ` github-actions
2023-03-29  5:59 ` [PR PATCH] [Updated] " bugcrazy
2023-03-29  6:05 ` bugcrazy
2023-04-12  7:31 ` bugcrazy [this message]
2023-07-06  5:20 ` [PR PATCH] [Updated] New package: delphinusdnsd-1.7.2 bugcrazy
2023-10-05  1:46 ` New package: delphinusdnsd-1.7.3 github-actions
2023-10-15 23:41 ` bugcrazy
2024-01-14  1:50 ` github-actions
2024-01-29  1:45 ` [PR PATCH] [Closed]: " github-actions

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=20230412073142.oKI7lqlFHPa52fCEhKyvwaVYbWr-VFW_A7HILhGGuWs@z \
    --to=bugcrazy@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).