From: bsdelf <bsdelf@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: netatalk-3.1.15
Date: Sun, 23 Jul 2023 10:56:13 +0200 [thread overview]
Message-ID: <20230723085613.5LcWMNWBZ5ZTTHi6XdmUJnwxw9qxHtMY7VLET27tVZQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45011@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]
There is an updated pull request by bsdelf against master on the void-packages repository
https://github.com/bsdelf/void-packages netatalk
https://github.com/void-linux/void-packages/pull/45011
New package: netatalk-3.1.15
<!-- 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**
<!-- 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, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/45011.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-netatalk-45011.patch --]
[-- Type: text/x-diff, Size: 2550 bytes --]
From f574ace7b1a8421075806a6987cb1d9d91bca976 Mon Sep 17 00:00:00 2001
From: Yanhui Shen <shen.elf@gmail.com>
Date: Thu, 13 Jul 2023 15:30:27 +0800
Subject: [PATCH] New package: netatalk-3.1.15
---
srcpkgs/netatalk-devel | 1 +
srcpkgs/netatalk/files/netatalk/run | 3 ++
srcpkgs/netatalk/template | 44 +++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)
create mode 120000 srcpkgs/netatalk-devel
create mode 100755 srcpkgs/netatalk/files/netatalk/run
create mode 100644 srcpkgs/netatalk/template
diff --git a/srcpkgs/netatalk-devel b/srcpkgs/netatalk-devel
new file mode 120000
index 000000000000..83481f371fe7
--- /dev/null
+++ b/srcpkgs/netatalk-devel
@@ -0,0 +1 @@
+netatalk
\ No newline at end of file
diff --git a/srcpkgs/netatalk/files/netatalk/run b/srcpkgs/netatalk/files/netatalk/run
new file mode 100755
index 000000000000..47e1f4cd7d10
--- /dev/null
+++ b/srcpkgs/netatalk/files/netatalk/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -b netatalk pause
diff --git a/srcpkgs/netatalk/template b/srcpkgs/netatalk/template
new file mode 100644
index 000000000000..8b46b8ba0131
--- /dev/null
+++ b/srcpkgs/netatalk/template
@@ -0,0 +1,44 @@
+# Template file for 'netatalk'
+pkgname=netatalk
+version=3.1.15
+revision=1
+build_style=gnu-configure
+hostmakedepends="autoconf pkg-config"
+makedepends="acl-devel pam-devel libgcrypt-devel db-devel libevent-devel avahi-libs-devel openssl-devel dbus-glib-devel"
+depends="python3"
+short_desc="Open Source fileserver that implements the Apple Filing Protocol (AFP)"
+maintainer="Yanhui Shen <shen.elf@gmail.com>"
+license="GPL-2.0-only"
+homepage="https://github.com/Netatalk/netatalk"
+distfiles="https://github.com/Netatalk/netatalk/releases/download/netatalk-${version//./-}/netatalk-${version}.tar.bz2"
+checksum=d8d4a5cc0fd86b0d90e017d64c1f4623e8cdbfbda570fc423ade1151a93d19f5
+python_version=3
+
+conf_files="
+ /etc/dbus-1/system.d/netatalk-dbus.conf
+ /etc/extmap.conf
+ /etc/afp.conf"
+
+if [ "$CROSS_BUILD" ]; then
+ configure_args+=" --with-bdb=${XBPS_CROSS_BASE}"
+fi
+
+post_install() {
+ vsv netatalk
+ vsconf ${DESTDIR}/etc/dbus-session.conf
+ rm ${DESTDIR}/etc/dbus-session.conf
+}
+
+netatalk-devel_package() {
+ depends="${sourcepkg}>=${version}_${reversion}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/bin/netatalk-config
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove "usr/lib/netatalk/*.a"
+ vmove usr/share/aclocal
+ vmove usr/share/man/man1/netatalk-config.1
+ }
+}
next prev parent reply other threads:[~2023-07-23 8:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 8:54 [PR PATCH] " bsdelf
2023-07-13 13:59 ` [PR REVIEW] " Duncaen
2023-07-14 6:22 ` bsdelf
2023-07-14 6:47 ` bsdelf
2023-07-14 17:46 ` Duncaen
2023-07-14 17:59 ` [PR REVIEW] " Chocimier
2023-07-15 3:30 ` bsdelf
2023-07-15 5:34 ` [PR PATCH] [Updated] " bsdelf
2023-07-15 5:58 ` bsdelf
2023-07-15 6:27 ` bsdelf
2023-07-15 8:53 ` [PR REVIEW] " Chocimier
2023-07-15 9:03 ` bsdelf
2023-07-15 9:09 ` Chocimier
2023-07-15 9:17 ` [PR PATCH] [Updated] " bsdelf
2023-07-15 9:24 ` bsdelf
2023-07-23 8:56 ` bsdelf [this message]
2023-07-23 9:05 ` bsdelf
2023-07-23 9:30 ` bsdelf
2023-08-09 10:05 ` [PR PATCH] [Updated] " bsdelf
2023-08-09 10:18 ` bsdelf
2023-11-08 1:45 ` github-actions
2023-11-18 6:36 ` [PR PATCH] [Updated] " bsdelf
2024-02-18 1:46 ` github-actions
2024-03-04 1:47 ` [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=20230723085613.5LcWMNWBZ5ZTTHi6XdmUJnwxw9qxHtMY7VLET27tVZQ@z \
--to=bsdelf@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).